OSDN Git Service

2004-07-21 Frank Ch. Eigler <fche@redhat.com>
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
1 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2
3         * encoding.c: Rename target_flags with a #define to avoid
4         conflict with a prior declaration.
5
6 2004-06-24  Andrew Pinski  <apinski@apple.com>
7
8         * objc/encoding.h: Wrap the functions with extern "C" for C++
9         mode.
10         * objc/hash.h: Likewise.
11         * objc/objc-api.h: Likewise.
12         * objc/objc-list.h: Likewise.
13         * objc/runtime.h: Likewise.
14         * objc/sarray.h: Likewise.
15         * objc/thr.h: Likewise.
16         * objc/typedstream.h: Likewise.
17
18
19 2004-06-21  Nick Clifton  <nickc@redhat.com>
20
21         * encoding.c (BITS_PER_UNIT): Define if a definition is not
22         provided.
23
24 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
25
26         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
27         (exception_gc.lo): New.
28         (OBJS_GC): Add exception_gc.lo.
29
30 2004-06-17  Richard Henderson  <rth@redhat.com>
31
32         * exception.c: New file.
33         * Makefile.in (exception.lo): New.
34         (OBJS): Add it.
35
36 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
37
38         * linking.m (_objcInit): New empty function
39         for Darwin only.
40
41 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
42
43         * configure.ac: Support --enable-shared=libobjc.
44         * configure: Regenerate.
45
46         PR libobjc/15901
47         * configure.ac: Do not disable shared by default.
48         * configure: Regenerate.
49
50 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
51
52         * Protocol.m ([-isEqual:]): Small optimizations returning
53         immediately if the argument is equal to self, and accessing
54         the argument's name directly if it's a protocol.
55
56 2004-06-03  David Ayers  <d.ayers@inode.at>
57
58         * Protocol.m ([-isEqual:]): Test the class of the argument.
59
60 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
61
62         * configure.ac (includedir): Rename to ...
63         (includedirname).
64         * Makefile.in: s/includedir/includedirname/.
65
66         PR target/11572
67         * configure.ac (includedir): Set to "include"
68         except for Darwin.
69         (libext) Set to empty except for Darwin.
70         * configure: Regenerate
71         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
72         s/include/$(includedir)/g.
73
74 2004-05-25  Daniel Jacobowitz  <drow@false.org>
75
76         * Makefile.in: Add .NOEXPORT.
77
78 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
79
80         Merge from the libobjc-branch
81         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
82
83                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
84
85         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
86
87                 * Makefile.in (OBJC_H): Add objc-deps.h.
88
89         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
90
91                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
92                 ([-hash], [-isEqual:]): New methods.
93
94         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
95
96                 * sarray.c (sarray_free): Add a better comment.
97
98         2004-01-27  Adam Fedor  <fedor@gnu.org>
99
100                 * hash.c (hash_add): Cast cachep to int.
101                 * selector.c (__sel_register_typed_name): Cast
102                 soffset_decode to int.
103
104         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
105
106                 * selector.c: Rename register_selectors_from_list to
107                 __objc_register_selectors_from_list. Update caller.
108                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
109                 while registering selectors. Use __sel_register_typed_name instead
110                 of sel_register_typed_name. Check for NULL method_name:s.
111                 (pool_alloc_selector): New function.
112                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
113                 selector structures.
114                 * sendmsg.c (class_add_method_list): Use
115                 __objc_register_selectors_from_list.
116                 * objc/runtime.h: Add __objc_register_selectors_from_list.
117
118         2004-01-25  Adam Fedor  <fedor@gnu.org>
119                     Nicola Pero  <n.pero@mi.flashnet.it>
120                     Andrew Pinski  <pinskia@physics.uc.edu>
121
122                 * objc/objc-decls.h: New file.
123                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
124                 (_objc_load_callback): Likewise.
125                 (_objc_object_alloc): Likewise.
126                 (_objc_object_copy): Likewise.
127                 (_objc_object_dispose): Likewise.
128
129         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
130
131                 * archive.c: s/__inline__/inline
132                 * sendmsg.c: Likewise.
133
134                 * encoding.c: Remove FIXME about the warning
135                 about unused variable.
136                 * sendmsg.c: Add a FIXME comment saying that
137                 this should be using libffi.
138
139                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
140
141
142 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
143
144         * archive.c (objc_read_class): Initialize class_name.
145         (objc_read_selector): Initialize selector_name.
146
147 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
148
149         * Makefile.in (toolexecdir): Remove trailing space.
150
151 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
152
153         PR libobjc/14948
154         * configure.ac: De-precious CC so multilibs work.
155         * configure: Regenerate.
156
157 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
158
159         * configure.ac: Restore toolexecdir.
160         * Makefile.in: Restore toolexecdir.
161         * configure: Regenerate.
162
163 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
164
165         * configure.ac: Remove (unused) glibcpp_prefixdir.
166         * configure: Regenerate.
167
168         * configure.in: Rename to configure.ac.
169         * Makefile.in: Update to match.
170
171         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
172         Replace glibcpp_toolexeclibdir with toolexeclibdir.
173         * configure.in: Remove glibcpp_toolexecdir (unused).
174         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
175         config.h or stamp-h (unused).  Move one comment to the right place.
176         * configure: Regenerate.
177         * config.h.in: Remove (unused).
178
179         * config.h.in: Regenerate with autoheader.
180
181         * Makefile.in: Remove (unused) gcc_version_trigger.
182         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
183         gcc_version_trigger.
184         * configure: Regenerate.
185
186         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
187         Sort file into sections.  Remove dnl where appropriate.  Fix
188         other style issues.
189         * configure: Regenerate.
190
191         * configure.in: Replace old AC_PROG_CC hack with new one.
192         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
193         are no subdirectory output files, so this is fine).  Change prereq
194         to autoconf 2.59.
195         * aclocal.m4: Include ../config/no-executables.m4.
196         * configure: Regenerate with autoconf 2.59.
197
198         * configure.in: Improve comments on gthread_cflags.  Improve m4
199         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
200         * configure: Regenerate.
201
202         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
203         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
204         redundant checks for values of RANLIB, AR, INSTALL.
205         * configure: Regenerate.
206
207         * configure.in: Clean up handling of
208         --enable-version-specific-runtime-libs and related variables;
209         replace 'if test' with 'case' where reasonable.  Fix comments.
210         Remove useless libstdcxx_interface.
211         * configure: Regenerate.
212
213         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
214         Replace uses of target_alias with target_noncanonical.
215         * aclocal.m4: Include ../config/acx.m4.
216         * configure: Regenerate.
217         * Makefile.in: Replace uses of target_alias with target_noncanonical.
218         Fix copyright statement.
219
220         * configure.in: Hand-inline bulky, confusing macros from
221         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
222         Update copyright notice.  Remove stuff for automake, which isn't
223         used in this directory.  Remove emacs local variables.
224         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
225         * configure: Regenerate.
226
227 2004-03-16  Manfred Hollstein  <mh@suse.com>
228
229         * Makefile.in, configure.in, configure: Update copyright years.
230
231 2004-03-15  Manfred Hollstein  <mh@suse.com>
232
233         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
234         definition from configure.in.
235         * configure.in (PACKAGE): Add definition.
236         (VERSION): Add definition; substitute it in output files.
237         * configure: Re-generate.
238
239 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
240
241         * objc/hash.h (hash_string, compare_strings):
242         Add type-casts to make Objective-C++ happy.
243         * objc/typedstream.h (objc_get_stream_class_version):
244         Rename parameter from 'class' to 'class_name' to make
245         Objective-C++ happy.
246
247 2004-03-01  Michael Matz  <matz@suse.de>
248
249         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
250
251 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
252
253         * objc/objc-api.h (objc_super): The 'class' field shall
254         be named 'super_class' #ifdef __cplusplus.
255
256 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
257
258         PR target/10781
259         * encoding.c (rs6000_special_round_type_align): Define.
260
261 2004-01-14  Adam Fedor  <fedor@gnu.org>
262
263         PR libobjc/12155
264         * selector.c (__objc_register_instance_methods_to_class): Free
265         new_list if not used.
266
267 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
268
269         PR libobjc/11904
270         * sarray.c (sarray_free): Free array->is_copy_of latter.
271
272 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
273
274         PR 11433
275         * Protocol.m (descriptionForInstanceMethod): Don't dereference
276         instance_methods if it's NULL.
277         (descriptionForClassMethod): Likewise for class_methods.
278
279 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
280
281         * Makefile.in (runtime-info.h): Remove -Wp.
282
283 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
284
285         * Makefile.in (CC1OBJ): Remove.
286         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
287         correctly.
288         Use .m extension for temporary file.
289         Remove assembler temp file.
290
291 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
292
293         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
294
295 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
296
297         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
298
299 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
300
301         * configure: Regenerate.
302
303 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
304
305         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
306         (libdir)/gcc-lib/ when installing.
307         * configure: Regenerate.
308
309 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
310
311         libobjc/9969
312         * sendmsg.c (get_imp): Fixed rare threading problem.
313         (__objc_responds_to): Similar fixes.
314         (objc_msg_lookup): Similar fixes.
315         (__objc_init_install_dtable): Lock the runtime before checking if the
316         table is installed.
317
318 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
319
320         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
321         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
322         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
323         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
324         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
325         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
326         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
327         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
328         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
329         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
330         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
331
332 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
333                           Nicola Pero  <n.pero@mi.flashnet.it>
334
335         libobjc/10742
336         * init.c (class_superclass_of_class): New function.
337         (create_tree_of_subclasses_inherited_from): Use it.
338         (__objc_tree_insert_class): Likewise.
339         (class_is_subclass_of_class): Likewise.
340
341 2003-04-11  David Chad  <davidc@freebsd.org>
342             Loren J. Rittle  <ljrittle@acm.org>
343
344         libobjc/8562
345         * objc/hash.h (hash_string): Constify correctly.
346         (compare_ptrs): Use direct compare.
347         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
348         * objc/sarray.h: Global rename index to indx to avoid shadow.
349
350 2003-03-12  Andreas Schwab  <schwab@suse.de>
351
352         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
353         glibcpp_toolexeclibdir.
354         * configure: Rebuilt.
355
356 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
357
358         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
359         config.status.
360         * configure: Rebuilt.
361
362 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
363
364         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
365         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
366         version_specific_libs is enabled.
367         * configure: Rebuilt.
368
369 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
370
371         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
372         (install-libs, install-headers): Prepend $(DESTDIR) to
373         destination paths in all (un)installation commands.
374
375 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
376
377         * thr-objc.c: Include coretypes.h and tm.h.
378
379 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
380
381         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
382
383 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
384
385         * configure.in: Remove skip-this-dir support.
386         * configure: Regenerate.
387
388 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
389
390         * Makefile.in (all): Fix multilib parallel build.
391
392 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
393
394         * sendmsg.c (nil_method): Declare not to take a variable number of
395         args.
396         (objc_msg_lookup): Cast nil_method to IMP before returning it.
397         (objc_msg_lookup_super): The same.
398
399 2002-09-10  Jan Hubicka  <jh@suse.cz>
400
401         * nil_method.c (nil_method): No longer defined with variable
402         arguments.
403
404 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
405
406         * objc/encoding.h: Fix formatting.
407         * objc/hash.h: Likewise.
408         * objc/objc-api.h: Likewise.
409         * objc/runtime.h: Likewise.
410         * objc/thr.h: Likewise.
411         * archive.c: Likewise.
412         * class.c: Likewise.
413         * encoding.c: Likewise.
414         * gc.c: Likewise.
415         * hash.c: Likewise.
416         * init.c: Likewise.
417         * misc.c: Likewise.
418         * nil_method.c: Likewise.
419         * objects.c: Likewise.
420         * sarray.c: Likewise.
421         * selector.c: Likewise.
422         * sendmsg.c: Likewise.
423         * thr-mach.c: Likewise.
424         * thr.c: Likewise.
425
426 2002-06-25  DJ Delorie  <dj@redhat.com>
427
428         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
429         GLIBCPP_TOPREL_CONFIGURE.
430         * configure.in: Call it before AC_CANONICAL_SYSTEM.
431         * configure: Regenerate.
432
433 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
434
435         * Object.m (forward, read, write): Fix unused parameter warnings.
436         * encoding.c: Include <stdlib.h>.
437         (target_flags): Mark with attribute unused.
438         (atoi): Delete.
439         * runtime.h (__objc_selector_max_index): Change to unsigned int.
440         (__objc_generate_gc_type_description): Prototype.
441         * selector.c (__objc_selector_max_index): Change to unsigned int.
442
443 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
444
445         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
446         we always have a return value: if __objc_msg_forward does not
447         supply a forwarding implementation, return the default
448         __builtin_apply based one.
449
450 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
451
452         * Object.m: Fix signed/unsigned warning.
453         * Protocol.m: Likewise.
454         * archive.c: Always include stdlib.h.
455         (objc_read_short, objc_read_unsigned_short, objc_read_int,
456         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
457         Fix signed/unsigned warning.
458         (objc_write_type, objc_read_type, objc_write_types,
459         objc_read_types): Ensure ctype 8-bit safety.
460         (__objc_no_write, __objc_no_read): Mark unused parameters.
461         * class.c (class_table_setup): Specify void arg.
462         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
463         objc_skip_typespec, objc_skip_offset,
464         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
465         (objc_layout_structure_next_member): Ensure variables are
466         initialized.
467         * gc.c (__objc_generate_gc_type_description,
468         class_ivar_set_gcinvisible): Mark unused parameters.
469         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
470         unused parameters.
471         (__objc_init_protocols) Fix signed/unsigned warning.
472         * nil_method.c (nil_method): Mark unused parameters.
473         * thr.h (objc_thread_callback): Specify void arg.
474         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
475         signed/unsigned warning.
476         (sarray_free): Fix formatting.
477         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
478         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
479
480 2002-06-09  Andreas Jaeger  <aj@suse.de>
481
482         * encoding.c (objc_layout_structure_next_member): Remove unused
483         variable.
484
485 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
486
487         * Makefile.in (SHELL): Set to @SHELL@.
488         (WARN_CFLAGS): New.
489         (ALL_CFLAGS): Add $(WARN_CFLAGS).
490
491 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
492
493         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
494         * configure: Regenerate.
495
496 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
497
498         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
499         script entry, and set LD to it when configuring multilibs.
500         * configure: Rebuilt.
501
502 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
503
504         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
505
506 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
507
508         PR objc/6107
509         * objc/objc-api.h (struct objc_protocol_list): Change type of
510         member count from int to size_t.
511
512 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
513
514         PR libobjc/4039
515         * aclocal.m4: Replace with version copied from libstdc++-v3.
516         * configure.in: Update for changes to aclocal and Makefile.
517         * configure: Regenerate.
518         * Makefile.in: Correct install of multilibs and shared libs, use
519         INSTALL_DATA for include files.
520
521 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
522
523         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
524         categories - when an unclaimed category was found, the loop was
525         doing two steps forward instead of one, so that in certain cases
526         it was failing to properly load all the categories.  (Reported
527         with fix by Alexander Malmberg <alexander@malmberg.org>).
528
529 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
530
531         * encoding.c: Add target_flags.
532
533 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
534
535          * objc/objc-api.h (_C_VECTOR): New.
536
537          * encoding.c (VECTOR_TYPE): New.
538
539 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
540
541         * class.c: Rewritten the class table to use optimized, lock-free
542         lookup.  This more than doubles the speed of class method
543         invocations.  (class_table_setup), (class_table_insert),
544         (class_table_replace), (class_table_get_safe),
545         (class_table_next), (class_table_print),
546         (class_table_print_histogram): New functions.
547         (__objc_init_class_tables): Use class_table_setup.
548         (__objc_add_class_to_hash): Use class_table_get_safe and
549         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
550         assert the existence of the table; do not lock the runtime; use
551         class_table_get_safe.  (objc_next_class): Use class_table_next.
552         (__objc_resolve_class_links): Use class_table_next.
553         (class_pose_as): Use class_table_replace.
554
555 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
556
557         * gc.c: Removed the DEBUG declaration.
558
559 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
560
561         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
562         rather than through objc_thread_id, to save a function call.
563         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
564         Ditto.
565
566 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
567
568         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
569         to cast an id to a Class, which can not be done.  Make the check
570         by using CLS_ISMETA on the class pointer instead.
571         (object_is_meta_class): Similar fix.
572
573 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
574
575         * configure.in (AC_EXEEXT): Work around in case it expands to
576         nothing, as in autoconf 2.50.
577         * acinclude.m4: Likewise.
578         * configure: Rebuilt.
579
580 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
581
582         * THREADS: Explain that when we compile libobjc inside GCC, we
583         always use thr-objc.c as a backend, which uses GCC's thread code.
584
585 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
586
587         * init.c (__objc_send_message_in_list): When setting a new entry
588         in __objc_load_methods use the method IMP as key, but check to see
589         if the method is in the hashtable by looking at the IMP also.
590         Also ... call the method after adding it to the hashtable rather
591         than before ... thus preventing an obscure possibility of infinite
592         recursion if a +load method itself loads a subclass.
593
594 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
595
596         * init.c (__objc_send_message_in_list): When setting a new entry
597         in __objc_load_methods use the method name as key, not the method
598         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
599
600 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
601
602         * objc-features.texi: Move to ../gcc/objc.texi.
603         * fdl.texi: Remove.
604         * Makefile.in: Don't generate documentation from
605         objc-features.texi.
606
607 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
608
609         * fdl.texi: New file.
610         * objc-features.texi: Simplify.
611         * Makefile.in: Adjust accordingly.
612
613 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
614
615         * objc-features.texi: Use the GFDL.
616
617 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
618
619         * encoding.c (REAL_TYPE): Define.
620
621 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
622
623         * encoding.c (TYPE_MODE): Define.
624
625 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
626
627         * thr.c (objc_thread_add): New function.
628         (objc_thread_remove): Ditto.
629         * objc/thr.h: Declare them.
630         * libobjc.def: Mention them.
631
632 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
633
634         * objc-features.texi: Document the @compatibility_alias compiler
635         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
636
637 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
638
639         * sendmsg.c (__objc_forward): Delete strlen() declaration.
640
641 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
642
643         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
644         we're not interested in the result and they might fail.
645         * configure: Regenerated.
646
647 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
648
649         * objc-features.texi: Use @email.
650
651 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
652
653         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
654         printf.
655
656 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
657
658         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
659         determines the value dynamically.
660
661 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
662
663         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
664         libraries to provide a function that returns the real forwarding
665         function. This can alleviate problems __builtin_apply() and
666         friends have on various platforms. (Solution suggested by Helge
667         Hess.)
668
669         * objc/objc-api.h: Define __objc_msg_forward.
670
671         * sendmsg.c: Define gen_rtx_REG.
672
673 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
674
675         * thr-rtems.c: New file. Stub to compile.
676
677 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
678
679         * configure: Rebuilt with new libtool.m4.
680
681 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
682
683         * configure.in: Create a config.h file. Check for <sched.h>.
684         * configure: Regenerate.
685
686         * config.h.in: Check for <sched.h>.
687
688 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
689
690         * configure: Regenerate after change to ../libtool.m4.
691
692 2000-08-14  Andreas Schwab  <schwab@suse.de>
693
694         * objc-features.texi (Top): Move @menu at end of node.
695
696 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
697
698         * objc-features.texi: Move @node Top before @menu.
699
700 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
701
702         * objc-features.texi: Documented the new -fconstant-string-class
703         option.
704
705 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
706
707         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
708         improve the Posix thread support for Objective-C.
709
710 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
711
712         * aclocal.m4: Replace copy of ../libtool.m4 with
713         sinclude(../libtool.m4).
714
715 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
716
717         * configure.in: Added libtool support; build shared libraries
718         if --enable-shared was passed on command line.
719         * Makefile.in: Modified most compilation commands to use libtool.
720         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
721         libtool distribution.
722
723 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
724
725         * sarray.c, Object.m: Removed the explicit prototypes for strlen
726         and memcpy on 64-bit platforms (Suggested by Rodney Brown
727         <rdb@cup.hp.com>).
728
729 2000-05-12  H.J. Lu  (hjl@gnu.org)
730
731         * Makefile.in (GTHREAD_FLAGS): New.
732         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
733         (OBJC_THREAD_FILE): Changed to thr-objc.
734
735         * configure.in (GTHREAD_FLAGS): New, check and replace it for
736         Makefile.
737         (OBJC_THREAD_FILE): Removed.
738
739         * thr-objc.c: New.
740
741 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
742
743         * objc/hash.h: Include string.h.
744
745 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
746
747         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
748
749 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
750
751         * Object.m (strlen): Provide prototype on all 64bit platforms,
752         not only alpha.
753         * sarray.c (memcpy): Likewise.
754         * encoding.c (objc_layout_finish_structure): Don't use
755         ROUND_TYPE_ALIGN on sparc.
756
757         * encoding.c (objc_layout_structure_next_member): Do the whole
758         procedure even for the first member, so that we get correct
759         alignment.
760
761 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
762
763         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
764         comments.
765
766 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
767
768         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
769
770 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
771
772         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
773
774 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
775
776         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
777         the compiler when building C code.
778
779 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
780
781         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
782         libdir, libsubdir and tooldir.
783
784 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
785
786         * init.c (__objc_force_linking): Make global.
787
788 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
789
790         * configure.in (AC_EXEEXT): Remove call.
791         (compiler_name): Explicitly check with no extension and .exe
792         extension.
793         * configure: Regenerate.
794
795 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
796
797         * Makefile.in (CC1OBJ): Define in terms of CC.
798         (runtime-info.h): Use.
799
800 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
801
802         * objc-features.texi: Updated the URL to Boehm's GC page.
803
804 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
805
806         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
807         the char as being signed (patch from Daniel Jacobowitz
808         <drow@false.org>).
809
810 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
811
812         * configure.in (AC_PREREQ): Update to 2.13.
813         (AC_EXEEXT): Call to find possible file extension.
814         (compiler_name): Use.
815         * configure: Regenerate.
816
817 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
818
819         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
820
821 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
822
823         * configure.in (thread_file): Correct and simplify code to find
824         the thread file.
825         * configure: Rebuilt.
826
827 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
828
829         * configure.in (compiler_name): Add check to detect if this
830         language's compiler has been built.
831         * configure: Regenerate.
832
833 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
834
835         *  configure.in: Use AC_PREREQ(2.12.1).
836
837 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
838
839         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
840
841 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
842
843         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
844
845 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
846
847         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
848
849 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
850
851         * objc-features.texi (Top): Changed the email address.
852         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
853
854 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
855
856         * encoding.c: Redefine get_inner_array_type to get the first entry
857         in the structure.
858
859 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
860
861         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
862         (objc_get_type_qualifiers): Similarly.
863         * objc/encoding.h (_C_BYREF): Define.
864         (_F_BYREF): Define.
865
866 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
867
868         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
869         works out on 64-bit systems.
870
871 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
872
873         * Makefile.in (INCLUDES): Make it multilib-friendly.
874
875 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
876
877         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
878
879 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
880                          Jeffrey A Law  (law@cygnus.com)
881
882         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
883         (FLAGS_TO_PASS): Added.
884         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
885
886         * archive.c: Change config.h to tconfig.h.
887
888         * configure.in: Find gcc's object directory even for multilibs.
889
890 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
891
892         * configure.in: Escape ^ in grep string.
893         * configure: Rebuilt.
894
895 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
896
897         * All .h files pushed down into the objc/ subdirectory.
898         * Makefile.in (copy_headers): Corresponding changes.
899         * configure.in (AC_INIT): Corresponding changes.
900         * configure: Rebuilt.
901
902 1998-09-30  Ben Elliston  <bje@cygnus.com>
903             Jeff Law      <law@cygnus.com>
904
905         * Makefile.in: Rewrite.
906
907         * configure.in: Likewise.
908
909         * configure: Regenerate.
910
911         * All .c files.  Remove "objc" prefix when including objc header
912         files.  Include tconfig.h, not ../tconfig.h.
913
914 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
915
916         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
917         (get_inner_array_type): Define.
918
919 1998-09-21  Ben Elliston  <bje@cygnus.com>
920
921         * New directory.  Moved files from ../gcc/objc.