* system.h: Include algorithm and utility.
[official-gcc.git] / libobjc / ChangeLog
blob1d0814dd3189f21d2e766f1fe0488a457431deaf
1 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3         * thr.c (_XOPEN_SOURCE): Define as 600.
5 2014-07-27  Alan Modra  <amodra@gmail.com>
6             Matthias Klose  <doko@ubuntu.com>
8         PR libobjc/61920
10         * encoding.c: Define rs6000_special_adjust_field_align_p.
12 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
14         Update copyright years
16 2013-09-20  Alan Modra  <amodra@gmail.com>
18         * configure: Regenerate.
20 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
22         * class.c: Fix typos.
23         * encoding.c: Likewise.
24         * init.c: Likewise.
25         * objc-private/runtime.h: Likewise.
26         * objc/runtime.h: Likewise.
27         * objc-sync.c: Likewise.
29 2013-07-04  Kai Tietz  <ktietz@redhat.com>
31         * exception.c: Add check for SjLj to SEH blocks.
33 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
35         Update copyright years.
37 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
39         * encoding.c (TARGET_VSX): Provide definitions based on the
40         current compilation options, and not based off the target options
41         structure.
42         (TARGET_ALTIVEC): Likewise.
43         (TARGET_64BIT): Likewise.
45 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
47         * configure: Regenerated.
49 2012-07-19  Tristan Gingold  <gingold@adacore.com>
50             Richard Henderson  <rth@redhat.com>
52         * exception.c (__gnu_objc_personality_seh0): New function.
54 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56         * configure: Regenerated.
58 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
60         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
61         * configure: Regenerate.
63         * thr.c (_XOPEN_SOURCE): Define unconditionally.
65 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
67         * configure: Regenerate.
69 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
71         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
72         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
73         * configure: Regenerate.
74         * config.h.in: Regenerate.
76 2011-10-17  Paul Brook  <paul@codesourcery.com>
77             Matthias Klose  <doko@ubuntu.com>
79         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
80         ARM EABI toolchains.
81         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
83 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
85         PR libobjc/49883
86         * init.c (__objc_exec_class): Work around a bug in clang's code
87         generation.  Clang sets the class->info field to values different
88         from 0x1 or 0x2 (the only allowed values in the traditional GNU
89         Objective-C runtime ABI) to store some additional information, but
90         this breaks backwards compatibility.  Wipe out all the bits in the
91         fields other than the first two upon loading a class.
93 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
95         * class.c (objc_lookup_class): Added back for compatibility with
96         clang which seems to emit calls to it.
98 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
99             Nicola Pero  <nicola.pero@meta-innovation.com>
101         PR libobjc/50428
102         * sendmsg.c (__objc_send_initialize): If a class does not have an
103         +initialize method, search for an +initialize method in the
104         superclass and in the ancestor classes and execute the first one
105         that is found.  This makes the GNU runtime behave in the same way
106         as the Apple/NeXT runtime with respect to +initialize methods and
107         subclassing.
109 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
111         PR libobjc/50002
112         * class.c (__objc_update_classes_with_methods): Iterate over meta
113         classes as well as normal classes when refreshing the method
114         implementations.  This fixes replacing class methods.
116 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
118         * class.c (class_getSuperclass): Fixed to work with meta classes
119         still in construction too.
121 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
123         * class.c (class_getSuperclass): Fixed typo in comment.
124         
125 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
127         PR libobjc/49882
128         * class.c (class_getSuperclass): Return the superclass if the
129         class is in construction.
130         * objc/runtime.h (class_getSuperclass): Updated documentation.
132 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
134         * Makefile.in (INCLUDES): Search
135         $(srcdir)/$(MULTISRCTOP)../libgcc.
137 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
139         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
141 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
143         * configure.ac (VERSION): Bumped to 4:0:0.
144         * configure (VERSION): Likewise.
146 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
148         * objc/README: Updated.
149         * objc-private/selector.h: Updated comments.
150         
151 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
153         * sendmsg.c (class_get_instance_method): Removed.
154         (class_get_class_method): Removed.
155         (objc_get_uninstalled_dtable): Removed.
157 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
159         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
160         * objects.c (class_create_instance): Removed.
161         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
162         * gc.c (__objc_generate_gc_type_description): Use
163         class_getInstanceSize() instead of class_get_instance_size().
164         * selector.c (sel_types_match): Made static.
165         (sel_get_typed_uid): Removed.
166         (sel_get_any_typed_uid): Removed.
167         (sel_get_name): Removed.
168         (sel_get_type): Removed.
169         (sel_register_name): Removed.
170         (sel_register_typed_name): Removed.
171         (sel_get_uid): Removed.
173 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
175         * encoding.c (method_get_number_of_arguments): Removed.
176         (method_get_sizeof_arguments): Removed.
178 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
180         * class.c (objc_next_class): Removed.
181         (class_pose_as): Removed.
182         (CLASSOF): Removed.
183         (class_table_replace): Removed.
184         (objc_lookup_class): Removed.
186 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
188         Removed the Traditional Objective-C runtime public API.
189         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
190         (install-headers): Do not create the objc/deprecated directory and
191         do not install the deprecated headers.
192         (OBJC_H): Removed encoding.h and objc-api.h.
193         * Object.m: Removed all methods with the exception of -class and
194         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
195         * objc/Object.h: Do not include deprecated/Object.h.
196         * objc/deprecated/Object.h: Removed.
197         * linking.m (__objc_linking): Call [Object class] instead of
198         [Object name].
199         * Protocol.m: Removed all methods with the exception of -isEqual:.
200         Updated includes.
201         * objc/Protocol.h: Do not include deprecated/Protocol.h.
202         * objc/deprecated/Protocol.h: Removed.
203         * objc/deprecated/struct_objc_symtab.h: Removed.
204         * objc/deprecated/struct_objc_module.h: Removed.
205         * objc/deprecated/struct_objc_ivar.h: Removed.
206         * objc/deprecated/struct_objc_ivar_list.h: Removed.
207         * objc/deprecated/struct_objc_method.h: Removed.
208         * objc/deprecated/struct_objc_method_list.h: Removed.
209         * objc/deprecated/struct_objc_protocol_list.h: Removed.
210         * objc/deprecated/struct_objc_category.h: Removed.
211         * objc/deprecated/MetaClass.h: Removed.
212         * objc/deprecated/objc_msg_sendv.h: Removed.  
213         * objc/deprecated/README: Removed.
214         * objc/deprecated/struct_objc_class.h: Removed.
215         * objc/deprecated/struct_objc_protocol.h: Removed.
216         * objc/deprecated/struct_objc_selector.h: Removed.
217         * objc/encoding.h: Removed.
218         * objc/message.h (struct objc_super): Removed the definition for
219         the Traditional Objective-C runtime API.
220         * objc/objc.h: Do not include objc/objc-decls.h.
221         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
222         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
223         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
224         Protocol *.
225         * objc/objc-api.h: Removed.
226         * objc/runtime.h: Updated comments.  Removed check to detect
227         concurrent usage of Traditional and Modern APIs.
228         * objc-private/module-abi-8.h: Always define struct objc_class and
229         struct objc_protocol.  (struct objc_protocol_list): Changed type
230         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
231         (class_get_instance_size): Added.
232         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
233         'struct objc_protocol *' as argument, not a 'Protocol *'.
234         * objc-private/runtime.h: Updated comments.
235         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
236         * class.c: Include objc-private/selector.h.
237         (objc_get_meta_class): Return a Class instead of a MetaClass.
238         * encoding.c (method_get_next_argument): Removed.
239         (method_get_first_argument): Removed.
240         (method_get_nth_argument): Removed.
241         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
242         Include objc-private/module-abi-8.h and ctype.h.
243         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
244         objc_protocl *' as argument, not a 'Protocol *'.
245         (class_addProtocol): Added casts to 'struct objc_protocol *' and
246         'Protocol *'.
247         (class_copyProtocolList): Likewise.
248         (protocol_conformsToProtocol): Likewise.
249         (protocol_copyProtocolList): Likewise.
250         * sarray.c: Include objc-private/module-abi-8.h.
251         * sendmsg.c (method_get_next_argument): Removed.
252         (method_get_first_argument): Removed.
253         (method_get_nth_argument): Removed.
254         (objc_msg_sendv): Removed.
255         (arglist_t, retval_t): New.  (class_get_class_method): Take a
256         'Class', not 'MetaClass', argument.
257         * thr.c: Include module-abi-8.h.
258         
259 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
261         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
262         and objc_get_uninstalled_dtable.h.
263         * objc/deprecated/struct_objc_static_instances.h: Removed.
264         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
265         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
266         and deprecated/objc_get_uninstalled_dtable.h.
267         
268 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
270         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
271         * objc/deprecated/objc_object_alloc.h: Removed.
272         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
273         * objects.c (_objc_object_alloc, _objc_object_dispose,
274         _objc_object_copy): Removed.
275         * libobjc.def (__objc_object_alloc, __objc_object_copy,
276         __objc_object_dispose): Removed.
277         
278 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
280         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
281         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
282         * objc/deprecated/METHOD_NULL.h: Removed.
283         
284 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
286         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
287         objc_malloc.h and objc_unexpected_exception.h.
288         (exception.lo): Do not use -Wno-deprecated-declarations.
289         (exception_gc.lo): Likewise.
290         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
291         deprecated/objc_malloc.h and
292         deprecated/objc_unexpected_exception.h.
293         * objc/deprecated/objc_valloc.h: Removed.
294         * objc/deprecated/objc_malloc.h: Removed.
295         * objc/deprecated/objc_unexpected_exception.h: Removed.
296         * exception.c (_objc_unexpected_exception): Removed.
297         (objc_exception_throw): Do not check for
298         _objc_unexpected_exception.
299         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
300         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
301         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
302         
303 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
305         * objc/objc.h: Do not include deprecated/STR.h.
306         * objc/deprecated/STR.h: Removed.
307         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
308         
309 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
311         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
312         (OBJC_DEPRECATED_H): Likewise.
313         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
314         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
315         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
316         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
317         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
318         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
319         * objc/sarray.h: Removed.
320         * objc/hash.h: Removed.
321         * objc/deprecated/sarray.h: Removed.
322         * objc/deprecated/hash.h: Removed.
323         * objc/Object.h: Do not include objc/deprecated/hash.h
324         * Object.m: Include string.h.
325         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
326         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
327         Removed.
329 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
331         * Object.m ([-forward::]): Removed.
332         * objc/deprecated/Object.h ([-forward::]): Removed.
333         * sendmsg.c (__objc_forward): Updated comments.
334         
335 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
337         * Makefile.in (OBJC_H): Removed objc-list.h.
338         (OBJC_DEPRECATED_H): Removed objc-list.h.
339         * objc/objc-list.h: File removed.
340         * objc/deprecated/objc-list.h: File removed.
342 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
344         * Makefile.in (OBJC_H): Removed typedstream.h.
345         (OBJC_DEPRECATED_H): Removed typedstream.h.
346         (C_SOURCE_FILES): Removed archive.c.
347         (Object.lo): Rule removed.
348         (Object_gc.lo): Likewise.
349         (archive.lo): Likewise.
350         (archive_gc.lo): Likewise.
351         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
352         [-awake]): Removed.
353         Do not include deprecated/typedstream.h.
354         * Object.m: Removed the same methods.
355         * archive.c: File removed.
356         * objc/typedstream.h: File removed.
357         * objc/deprecated/typedstream.h: File removed.
358         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
359         __objc_write_class, __objc_write_object, __objc_write_selector,
360         objc_close_typed_stream, objc_end_of_typed_stream,
361         objc_flush_typed_stream, objc_get_stream_class_version,
362         objc_open_typed_stream, objc_open_typed_stream_for_file,
363         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
364         objc_read_object, objc_read_selector, objc_read_short,
365         objc_read_string, objc_read_type, objc_read_types,
366         objc_read_unsigned_char, objc_read_unsigned_int,
367         objc_read_unsigned_long, objc_read_unsigned_short,
368         objc_write_array, objc_write_char, objc_write_int,
369         objc_write_long, objc_write_object, objc_write_object_reference,
370         objc_write_root_object, objc_write_selector, objc_write_short,
371         objc_write_string, objc_write_string_atomic, objc_write_type,
372         objc_write_types, objc_write_unsigned_char,
373         objc_write_unsigned_int, objc_write_unsigned_long,
374         objc_write_unsigned_short): Removed.
375         
376 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
378         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
379         * objc/deprecated/objc_error.h: Removed.
380         * objc/objc-api.h: Do not include deprecated/objc_error.h.
381         * libobjc.def (objc_error, objc_verror): Removed.
382         * error.c (_objc_error_handler, objc_error, objc_verror,
383         objc_set_error_handler): Removed.
384         * Object.m ([-error:], [-perform:], [-perform:with:],
385         [-perform:with:with], [-subclassResponsibility:],
386         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
387         Removed.
388         * objc/deprecated/Object.h: Removed the same methods.
389         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
390         method after trying to invoke the "doesNotRecognize:" method.
391         
392 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
394         * sendmsg.c: Reindented part of the file.  No non-trivial changes
395         in code.
397 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
399         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
400         not objc_lookup_class.
402 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
403             David Ayers  <ayers@fsfe.org>
405         PR libobjc/38307
406         * sendmsg.c: Include objc/hash.h.
407         (get_implementation): New function, mostly with code from get_imp
408         updated to support the new +initialize dispatch table logic.
409         (get_imp): Use get_implementation.
410         (__objc_responds_to): Updated to support the new +initialize
411         dispatch table logic.
412         (class_respondsToSelector): Likewise.
413         (objc_msg_lookup): Use get_implementation.
414         (__objc_init_install_dtable): Removed.
415         (__objc_install_methods_in_dtable): Updated arguments.
416         (__objc_install_dispatch_table_for_class): Renamed to
417         __objc_install_dtable_for_class and updated to support the new
418         +initialize dispatch table logic.
419         (__objc_update_dispatch_table_for_class): Updated to support the
420         new +initialize dispatch table logic.
421         (__objc_forward): Call get_implementation instead of get_imp.
422         (prepared_dtable_table): New.
423         (__objc_prepare_dtable_for_class): New. 
424         (__objc_prepared_dtable_for_class): New.
425         (__objc_get_prepared_imp): New.
426         (__objc_install_prepared_dtable_for_class): New.
427         
428 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
430         PR libobjc/48177
431         * selector.c (__sel_register_typed_name): Use sel_types_match()
432         instead of strcmp() to compare selector types (Suggestion by
433         Richard Frith-Macdonald <rfm@gnu.org>).
435 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
437         PR libobjc/32037
438         * Makefile.in (OBJC_GCFLAGS): Move ...
439         * configure.ac (enable_objc_gc): ... here.
440         Add $(libsuffix) to OBJC_BOEHM_GC.
441         * configure: Regenerate.
443 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
444         
445         * selector.c (sel_getTypedSelector): Return NULL if there are
446         multiple selectors with conflicting types.
447         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
448         
449 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
451         PR libobjc/47922
452         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
453         a hardcoded "!".
455 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
457         * configure: Regenerate.
459 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
461         * init.c (create_tree_of_subclasses_inherited_from): Use
462         class_superclass_of_class instead of assuming a class is
463         unresolved when it could be resolved.  Tidied up assignment and
464         check.
465         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
466         (objc_tree_insert_class): Tidied up loop; return immediately upon
467         inserting a class.
468         (__objc_exec_class): Do not set __objc_class_tree_list.
469         
470 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
472         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
473         argument.
474         (sel_registerTypedName): Same.
475         (sel_registerName): Same.
476         * objc/runtime.h: Updated documentation.
477         
478 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
480         * objc/runtime.h (class_addIvar): Updated documentation.  The
481         alignment is actually the log_2 of the alignment in bytes.
482         * ivars.c (class_addIvar): Corresponding change to the
483         implementation.
484         
485 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
487         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
488         be consistent with method_getTypeEncoding and
489         ivar_getTypeEncoding.
490         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
491         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
492         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
493         (sel_get_type): Updated call to sel_getType.
494         
495 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
497         * objc/runtime.h (class_conformsToProtocol,
498         class_copyProtocolList): Updated documentation.
500 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
502         * init.c (create_tree_of_subclasses_inherited_from): Updated
503         DEBUG_PRINTF messages.
504         (__objc_tree_insert_class): Same.
505         (__objc_send_load_using_method_list): Same.
506         (__objc_send_load): Same.
507         (__objc_exec_class): Same.  In particular, do not print the module
508         name since it is no longer used.
509         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
510         tracking +initialize calls.
511         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
512         tracking updates of dispatch tables.
513         (__objc_install_dispatch_table_for_class): Same.
514         
515 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
517         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
518         (libobjc_gc$(libsuffix).la): Likewise.
520 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
522         * sendmsg.c (class_addMethod): Return NO if the method already
523         exists in the class.
525 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
527         * init.c (duplicate_classes): New.
528         (__objc_exec_class): Initialize duplicate_classes.
529         (__objc_create_classes_tree): Ignore classes in the
530         duplicate_classes table.
531         (__objc_call_load_callback): Same.
532         (__objc_init_class): If a duplicate class is found, add it to
533         duplicate_classes instead of aborting.  Return YES if the class is
534         not a duplicate, and NO if it is.
535         * objc-private/runtime.h (__objc_init_class): Updated prototype.
537 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
539         * objc-private/objc-list.h: Reindented file.  No code changes.
540         * objc-private/sarray.h: Same change.
542 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
544         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
545         file is never compiled with C++.
546         * objc-private/hash.h: Same change.
547         * objc-private/objc-list.h: Same change.
548         * objc-private/objc-sync.h: Same change.
549         * objc-private/protocols.h: Same change.
550         * objc-private/runtime.h: Same change.
551         * objc-private/sarray.h: Same change.
552         * objc-private/selector.h: Same change.
554 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
556         PR libobjc/18764
557         * class.c (__objc_add_class_to_hash): Return YES if the class was
558         added, and NO if it already existed.
559         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
560         NO, then abort the program with an error message.
561         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
562         declaration.
564 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
566         * init.c (_objc_load_callback): Initialize with 0.
567         (__objc_call_callback): Renamed to __objc_call_load_callback.
568         Check _objc_load_callback only once, and if it is not set, return
569         immediately.
570         (objc_send_load): Updated call to __objc_call_callback.
571         
572 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
574         PR libobjc/16110
575         * init.c (__objc_send_message_in_list): Renamed to
576         __objc_send_load_using_method_list.  Do not take an 'op' argument.
577         Register the 'load' selector if needed.
578         (__objc_send_load): Do not register the 'load' selector.  Updated
579         call to __objc_send_message_in_list.
580         (__objc_create_classes_tree): Add the class of any claimed
581         category that was loaded in the module to the list of classes for
582         which we try to execute +load.
583         
584 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
586         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
587         Updated comments.
588         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
589         a pointer using DEBUG_PRINTF.
590         
591 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
593         PR libobjc/45953
594         * selector.c (__sel_register_typed_name): When registering a new
595         selector with the same name as an existing one, reuse the existing
596         name string.  Also updated types, casts and comments in the whole
597         function.
599 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
601         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
602         to be 'struct objc_selector *' and not 'SEL'.
603         * init.c (__objc_exec_class): Call
604         __objc_register_selectors_from_module instead of iterating over
605         each selector and calling __sel_register_typed_name for each.
606         * objc-private/selector.h: Declare
607         __objc_register_selectors_from_module instead of
608         __sel_register_typed_name.
609         * selector.c (__objc_register_selectors_from_module): New.
610         (__sel_register_typed_name): Made static.
611         
612 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
614         * linking.m: Do not include objc/NXConstStr.h.
616 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
617         
618         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
619         * objc-private/common.h (DEBUG_PRINTF): To here.
620         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
621         
622 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
624         * hash.c: Tidied up comments and indentation.  No code changes.
626 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
628         PR libobjc/47012
629         * accessors.m (objc_getProperty): If not atomic, do not
630         retain/autorelease the returned value.
632 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
634         * objc-private/runtime.h (__objc_selector_max_index,
635         __objc_init_selector_tables, __objc_register_selectors_from_class,
636         __objc_register_selectors_from_list,
637         __objc_register_selectors_from_description_list): Moved to ...
638         * objc-private/selector.h: ... here.
640 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
642         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
643         (__objc_print_dtable_stats): Removed.
644         (__sel_register_typed_name): Removed.
645         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
646         
647 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
649         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
650         if appropriate, after loading the module.
652 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
654         * sendmsg.c (method_setImplementation): Do not declare.
656 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
658         * objc/message.h: Updated comments.
659         * objc/runtime.h: Updated comments.
660         
661 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
663         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
664         * protocols.c: Updated all calls to objc_lookupClass to call
665         objc_lookUpClass instead.
666         * sendmsg.c (objc_lookupClass): Do not declare.
667         (get_imp): Update call to objc_lookupClass to call
668         objc_lookUpClass instead.
669         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
671 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
673         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
674         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
675         define.  Updated comments.
676         
677 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
679         * objc/encoding.h: Updated comments.
680         * objc/runtime.h: Updated comments.
681         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
682         (objc_sizeof_type): Same.
683         (objc_alignof_type): Same.
684         (objc_aligned_size): Same.
685         (objc_promoted_size): Same.
686         (objc_skip_type_qualifiers): Same.
687         (objc_skip_typespec): Same.
688         (objc_skip_offset): Same.
689         (objc_skip_argspec): Same.
690         (objc_get_type_qualifiers): Same.
691         (objc_layout_structure): Same.
692         (objc_layout_structure_next_member): Same.
693         (objc_layout_finish_structure): Same.
694         (objc_layout_structure_get_info): Same.
695         
696 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
698         * init.c: Updated comments.
699         * objc/objc-api.h: Updated comments.
700         * objc/runtime.h (_objc_load_callback): Declare.
701         
702 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
704         * objc/Object.h: Include deprecated/typedstream.h and
705         deprecated/hash.h instead of typedstream.h.  Updated comments.
707 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
709         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
710         * objc/deprecated/objc_msg_sendv.h: New.
711         * objc/message.h: Do not define retval_t, apply_t, arglist,
712         arglist_t, objc_msg_sendv, now in
713         objc/deprecated/objc_msg_sendv.h.
714         * objc/objc.h: Do not include message.h; include
715         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
716         * sendmsg.c: Include objc/message.h.
717         * thr.c: Include objc/message.h.
718         
719 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
721         * objc/objc-exception.h: Include objc-decls.h.  Mark all
722         functions with objc_EXPORT.
723         * objc/objc-sync.h: Same change.
725 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
727         * Protocol.m: Moved all methods, with the exception of -isEqual:,
728         into the 'Deprecated' category.
729         * objc/Protocol.h: Removed all methods, moved to
730         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
731         * objc/deprecated/Protocol.h: New.
732         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
733         
734 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
736         * init.c: Include objc-private/selector.h.  Do not declare
737         __sel_register_typed_name.
738         * objc-private/selector.h (__sel_register_typed_name): Declare.
739         * selector.c: Include objc-private/selector.h.
740         
741 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
743         * class.c: Tidied up comments and indentation.  No code changes.
744         * error.c: Same.
745         * exception.c: Same.
746         * init.c: Same.
747         * ivars.c: Same.
748         * memory.c: Same.
749         * objc-foreach.c: Same.
750         * objc-sync.c: Same.
751         * objects.c: Same.
752         * protocols.c: Same.
753         * sarray.c: Same.
754         * thr.c: Same.
756 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
758         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
759         instead of objc/objc-api.h.
760         (init_check_module_version): Take a 'struct objc_module *'
761         argument instead of 'Module_t'.  Use 'struct objc_module *'
762         instead of 'Module_t'.
763         (__objc_created_classes_tree): Take a 'struct objc_module *'
764         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
765         of 'Symtab_t'.
766         (__objc_call_callback): Take a 'struct objc_module *' argument
767         instead of 'Module_t'; use 'struct objc_symtab *' instead of
768         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
769         (_objc_load_callback): Take a 'struct objc_category *' argument
770         instead of 'Category *'.
771         (class_superclass_of_class): Use objc_getClass() instead of
772         objc_lookup_class().
773         (create_tree_of_subclasses_inherited_from): Same change (also, use
774         an explicit 'if' instead of '?').
775         (objc_init_statics): Same change.
776         (objc_send_load): Same change.
777         (__objc_init_protocol): same change.
778         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
779         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
780         instead of 'Method_t'.
781         (__objc_send_load): Use 'struct objc_method_list *' instead of
782         'MethodList_t'.  Use sel_registerName() instead of
783         sel_register_name().
784         (__objc_exec_class): Take a 'struct objc_module *' argument
785         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
786         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
787         Use 'struct objc_category *' instead of 'Category_t'.
788         
789 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
791         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
792         Include objc-private/module-abi-8.h and objc-private/selector.h
793         instead of objc/encoding.h.
794         (objc_msg_lookup_super): Use super->super_class instead of
795         super->class.
796         (method_get_first_argument, method_get_next_argument): Declare
797         locally.
798         (class_get_instance_method): Declare before using.
799         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
800         (__objc_init_dispatch_tables, __objc_send_initialize): Use
801         sel_registerName() instead of sel_register_name().
802         (__objc_forward): Use sel_getName() instead of sel_get_name().
803         (objc_get_uninstalled_dtable): Use 'void' as argument.
804         * objc-private/selector.h: New.
806 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
808         * objc/message.h (objc_super): When using the modern API, do not
809         define Super and Super_t, and always use 'super_class' for the
810         super class field.      
811         (objc_msg_lookup_super): Updated prototype to use 'struct
812         objc_super *' instead of 'Super_t'.
813         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
814         'struct objc_super *' instead of 'Super_t'.
816 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
818         * objc/message.h: Update comments, reindented code and moved
819         deprecated types and functions at the end of the file.  No code
820         changes.
822 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
824         * ivars.c (class_addIvar): Use the 'size' argument instead of
825         trying to calculate it using objc_sizeof_type().
826         * objc/runtime.h (class_addIvar): Updated comments.
827         
828 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
830         * sendmsg.c: Reindented some code and tidied up comments.  No
831         actual code changes.
832         
833 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
835         * objc/Object.h: Moved all the methods, with the exception of
836         -class and -isEqual:, into ...
837         * objc/deprecated/Object.h: here.
838         * Object.m: Moved all the methods, with the exception of -class
839         and -isEqual: into the 'Deprecated' category.
841 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
843         * objects.c (object_copy): Do not #undef as we are no longer
844         including objc/objc-api.h.
845         * selector.c: Include objc/runtime.h and
846         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
847         objc/encoding.h.  Updated
848         (__objc_register_selectors_from_class): Use struct
849         objc_method_list * instead of MethodList_t.
850         (__objc_register_selectors_from_list): Use Method instead of
851         Method_t.
852         (struct objc_method_description_list): Do not define here.
853         (__objc_register_instance_methods_to_class): Use struct
854         objc_method_list * instead of MethodList_t and Method instead of
855         Method_t.
856         
857 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
859         * selector.c: Reindented some code and tidied up comments.  No
860         actual code changes.
862 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
864         * encoding.c (_darwin_rs6000_special_round_type_align): New.
865         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
867 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
869         * sendmsg.c (selector_resolveClassMethod): New.
870         (selector_resolveInstanceMethod): New.
871         (__objc_resolve_class_method): New.
872         (__objc_resolve_instance_method): New.
873         (get_imp): Call __objc_resolve_class_method or
874         __objc_resolve_instance_method at the appropriate time.
875         (objc_msg_lookup): Same.
876         (class_getClassMethod): Same.   
877         (class_getInstanceMethod): Same.
878         (__objc_init_dispatch_tables): Initialize
879         selector_resolveClassMethod and selector_resolveInstanceMethod.
880         * objc/runtime.h: Updated documentation of class_getClassMethod,
881         class_getInstanceMethod and class_getMethodImplementation.
882         
883 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
885         * objc-private/module-abi-8.h (struct objc_symtab): Updated
886         description of sel_ref_cnt and refs.
887         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
888         
889 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
891         PR target/40125
892         PR lto/46695
893         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
894         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
895         * aclocal.m4: Regenerate.
896         * configure: Regenerate.
898 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
900         * configure.ac (VERSION): Bump the version to 3:0:0.
901         * configure: Regenerate.
903 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
905         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
906         pass nil as the receiver since we don't know the receiver at this
907         point.
908         
909 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
911         * ivars.c: Include stdlib.h.
912         * protocols.c: Same change.
914 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
916         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
917         * accessors.m: New.
918         * init.c: Include objc-private/accessors.h.
919         (__objc_exec_class): Call __objc_accessors_init.
920         * objc-private/accessors.h: New.
922 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
924         * objc/message.h: Moved initial includes outside of extern "C".
925         * objc/runtime.h: Add extern "C" for Objective-C++.
927 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
929         * init.c (objc_send_load): Do not wait for NXConstantString to be
930         registered before executing +load.  There is no point if
931         -fconstant-string-class=xxx is used when compiling all modules,
932         as is the case for almost all users.
933         * linking.m (__objc_linking): Do not try to forcefully link in
934         NXConstantString.
936 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
938         * objc/runtime.h: Updated comments.
939         (class_addMethod): New.
940         (class_addIvar): New.
941         (class_replaceMethod): New.
942         (objc_allocateClassPair): New.
943         (objc_registerClassPair): New.
944         (objc_disposeClassPair): New.
945         * class.c (objc_allocateClassPair): New.
946         (objc_registerClassPair): New.
947         (objc_disposeClassPair): New.
948         (class_getSuperclass): Return Nil if a class is in construction.
949         * init.c (__objc_exec_class): Call __objc_init_class.
950         (__objc_init_class): New.
951         * ivars.c (class_copyIvarList): Return NULL if class is in
952         construction.  Do not lock the runtime mutex.
953         (class_getInstanceVariable): Return NULL if class is in
954         construction.  Do not lock the runtime mutex.
955         (class_addIvar): New.
956         * sendmsg.c (class_addMethod): New.
957         (class_replaceMethod): New.
958         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
959         (_CLS_IN_CONSTRUCTION): New.
960         (CLS_IS_IN_CONSTRUCTION): New.
961         (CLS_SET_IN_CONSTRUCTION): New.
962         (CLS_SET_NOT_IN_CONSTRUCTION): New.
963         * objc-private/runtime.h (__objc_init_class): New.
965 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
967         * class.c (class_getSuperclass): Call __objc_resolve_class_links
968         if the class is not resolved yet.
969         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
970         
971 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
973         * objc/runtime.h (class_getIvarLayout): New.
974         (class_getWeakIvarLayout): New.
975         (class_setIvarLayout): New.
976         (class_setWeakIvarLayout): New.
977         * ivars.c (class_getIvarLayout): New.
978         (class_getWeakIvarLayout): New.
979         (class_setIvarLayout): New.
980         (class_setWeakIvarLayout): New. 
982 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
983         
984         * objc/runtime.h (class_copyPropertyList): New.
985         (class_getProperty): New.
986         (property_getAttributes): New.
987         (property_getName): New.
988         * ivars.c (class_copyPropertyList): New.
989         (class_getProperty): New.
990         (property_getAttributes): New.
991         (property_getName): New.
992         
993 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
995         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
996         * class.c (__objc_update_classes_with_methods): New.
997         (objc_getClassList): Do not lock the class lock.
998         * methods.c (method_exchangeImplementations): New.
999         (method_setImplementation): New.
1000         * objc/runtime.h (method_setImplementation): New.
1001         (method_exchangeImplementations): New.
1002         
1003 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1005         * Protocol.m: Include objc/runtime.h and
1006         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1007         repeat Protocol's instance variables.
1008         (struct objc_method_description_list): Do not define here.
1009         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1010         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1011         selectors directly instead of getting names and then using strcmp.
1012         ([descriptionForClassMethod:]): Same change.
1013         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1014         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1015         to compare selectors directly instead of getting names and then
1016         using strcmp.
1017         * objc/Protocol.h: Updated comments.
1018         
1019 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1021         * init.c (__objc_init_protocol): New function which fixes up a
1022         protocol's class pointer, registers it with the runtime, register
1023         all protocol selectors and registers associated protocols too.
1024         (objc_init_statics): Detect if we are initializing protocols, and
1025         if so, use __objc_init_protocol instead of only fixing up the
1026         class pointer.
1027         (__objc_init_protocls): Use __objc_init_protocol.
1028         * objc-private/module-abi-8.h: Updated comments.
1029         * objc-private/runtime.h
1030         (__objc_register_selectors_from_description_list): New.
1031         * selector.c (__objc_register_selectors_from_description_list):
1032         New.  (struct objc_method_description_list): Declare.
1033         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1034         when accessing the name of a method, which is now correctly a SEL.
1035         ([-descriptionForClassMethod:]): Same change.
1036         * protocols.c (protocol_getMethodDescription): Same change.
1037         * objc/runtime.h: Updated comments.
1038         (sel_registerTypedName): Fixed typo in function name.
1039         
1040 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1042         PR libobjc/23214
1043         * init.c (objc_init_statics): Do not skip the initialization of a
1044         statics list if the first object has already been initialized; in
1045         the case of Protocols, while the first one may have been
1046         initialized, some others may not have been initialized yet.
1048 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1050         * Makefile.in (OBJC_DEPRECATED_H): Added
1051         objc_get_uninstalled_dtable, objc_object_alloc.h and
1052         struct_objc_static_instances.h.
1054 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1056         * encoding.c (method_copyReturnType): New.
1057         (method_copyArgumentType): New.
1058         (method_getReturnType): New.
1059         (method_getArgumentType): New.
1060         * methods.c (method_getDescription): New.
1061         * objc/runtime.h (method_copyReturnType): New.
1062         (method_copyArgumentType): New.
1063         (method_getReturnType): New.
1064         (method_getArgumentType): New.
1065         (method_getDescription): New.
1066         
1067 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1069         * encoding.c: Tidied up comments.
1070         (objc_skip_variable_name): New static inline function.
1071         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1072         the same code over and over.
1073         (objc_alignof_type): Same.
1074         (objc_aligned_size): Same.
1075         (objc_promoted_size): Same.
1076         (objc_skip_typespec): Same.
1077         (objc_layout_structure_next_member): Same.
1078         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1079         historical bug where objc_skip_offset would skip one byte even if
1080         there is no offset: check that the first offset digit is actually
1081         a digit before skipping it.
1082         (objc_skip_type_qualifiers): Mark as inline.
1083         (objc_skip_typespec): Mark as inline.   
1084         
1085 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1087         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1088         * encoding.c (method_getNumberOfArguments): New.
1089         (method_get_number_of_arguments): Call
1090         method_getNumberOfArguments.
1091         * ivars.c (ivar_getName): Check for NULL variable argument.
1092         (ivar_getOffset): Check for NULL variable argument.
1093         (ivar_getTypeEncoding): Check for NULL variable argument.
1094         (class_copyIvarList): New.
1095         * methods.c: New.
1096         * protocols.c (class_copyProtocolList): Check for Nil class_
1097         argument.
1098         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1099         'struct objc_method_list *' instead of MethodList_t.
1100         (class_getMethodImplementation): New.
1101         (class_respondsToSelector): New.
1102         (class_getInstanceMethod): New.
1103         (class_getClassMethod): New.
1104         * objc/runtime.h: Updated comments.
1105         (class_copyIvarList): New.
1106         (class_getInstanceMethod): New.
1107         (class_getClassMethod): New.
1108         (class_getMethodImplementation): New.
1109         (class_respondsToSelector): New.
1110         (method_getName): New.
1111         (method_getImplementation): New.
1112         (method_getTypeEncoding): New.
1113         (class_copyMethodList): New.
1114         (method_getNumberOfArguments): New.
1115         
1116 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1118         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1119         instead of objc/objc-api.h.
1120         (objc_get_unknown_class_handler): Do not define.
1121         (class_isMetaClass): New.
1122         (class_getSuperclass): New.
1123         (class_getVersion): New.
1124         (class_setVersion): New.
1125         (class_getInstanceSize): New.
1126         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1127         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1128         objc_get_super_class.
1129         (get_ttype_entry): Use objc_getRequiredClass instead of
1130         objc_get_class.
1131         * ivars.c (class_getClassVariable): New.
1132         * objects.c: Include objc/runtime.h, objc/thr.h and
1133         objc-private/module-abi-8.h instead of objc/objc-api.h
1134         * objc/runtime.h (class_getClassVariable): New.
1135         (class_isMetaClass): New.
1136         (class_getSuperclass): New.
1137         (class_getVersion): New.
1138         (class_setVersion): New.
1139         (class_getInstanceSize): New.
1140         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1141         objc/objc-api.h)
1142         (__CLS_INFO): Same.
1143         (__CLS_ISINFO): Same.
1144         (__CLS_SETINFO): Same.
1145         (CLS_ISMETA): Same.
1146         (CLS_ISCLASS): Same.
1147         (CLS_ISRESOLV): Same.
1148         (CLS_SETRESOLV): Same.
1149         (CLS_ISINITIALIZED): Same.
1150         (CLS_SETINITIALIZED): Same.
1151         (CLS_GETNUMBER): Same.
1152         (CLS_SETNUMBER): Same.
1154 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1156         * archive.c: Do not include objc/objc.h.
1157         * class.c: Do not include objc/objc.h.
1158         * encoding.c: Include objc/runtime.h, ctype.h and
1159         objc-private/module-abi-8.h instead of objc/objc-api.h and
1160         objc/encoding.h.
1161         * error.c: Do not include objc/objc.h.
1162         * gc.c: Include tconfig.h and objc/encoding.h only if
1163         OBJC_WITH_GC.
1164         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1165         objc/objc-api.h.  Do not include objc/objc.h.
1166         * init.c: Do not include objc/objc.h.
1167         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1168         objc/thr.h instead of objc/objc-api.h.  Do not include
1169         objc/objc.h.
1170         * linking.m: Tidied comment.
1171         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1172         Do not include objc/objc.h.
1173         * objects.c: Do not include objc/objc.h.
1174         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1175         * protocols.c: Do not include objc/objc.h.
1176         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1177         not include objc/objc.h.
1178         * selector.c: Do not include objc/objc.h.
1179         * sendmsg.c: Do not include objc/objc.h.        
1180         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1181         Do not include objc/objc.h.
1182         * objc/objc-decls.h: Reindented code.
1183         * objc/runtime.h Include objc-decls.h.  Updated comments.
1184         (objc_malloc): New.
1185         (objc_atomic_malloc): New.
1186         (objc_calloc): New.
1187         (objc_realloc): New.
1188         (objc_free): New.
1189         * objc-private/runtime.h: Updated comments.
1190         
1191 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1193         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1194         * objc-private/protocols.h: New.
1195         * protocols.c: New.
1196         * init.c: Include objc-private/protocols.h.
1197         (__objc_exec_class): Call __objc_protocols_init on startup.
1198         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1199         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1200         of MethodList_t, and (struct objc_method *) instead of Method_t.
1201         * objc/deprecated/struct_objc_class.h: Define
1202         __objc_STRUCT_OBJC_CLASS_defined.
1203         * objc-private/module-abi-8.h (struct
1204         objc_method_description_list): New.
1205         (struct objc_class): Only define if
1206         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1207         * objc/runtime.h (class_getName): New.
1208         (objc_getProtocol): New.
1209         (objc_copyProtocolList): New.
1210         (class_addProtocol): New.
1211         (class_conformsToProtocol): New.
1212         (class_copyProtocolList): New.
1213         (protocol_conformsToProtocol): New.
1214         (protocol_isEqual): New.
1215         (protocol_getName): New.
1216         (protocol_getMethodDescription): New.
1217         (protocol_copyMethodDescriptionList): New.
1218         (protocol_getProperty): New.
1219         (protocol_copyPropertyList): New.
1220         (protocol_copyProtocolList): New.
1221         * class.c (class_getName): New.
1222         * selector.c (sel_isEqual): New.
1223         
1224 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1226         * selector.c (sel_getName): Return "<null selector>" for a NULL
1227         argument.
1228         (sel_get_name): Return 0 for a NULL argument.
1229         * objc/runtime.h (sel_getName): Updated documentation.
1231         * objc-private/hash.h (class_hash_table): Unused declaration
1232         removed.
1233         (module_hash_table): Same.
1234         * objc/deprecated/hash.h: Same changes.
1235         
1236 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1238         * class.c (objc_getClassList): New.
1239         (objc_getRequiredClass): New.
1240         (objc_getMetaClass): New.
1241         (objc_lookupClass): New.
1242         (objc_getClass): New.
1243         (__objc_get_unknown_class_handler): New.
1244         (objc_setGetUnknownClassHandler): New.
1245         (objc_get_class): Use __objc_get_unknown_class_handler.
1246         (objc_lookup_class): Call objc_getClass.
1247         * objc/objc-api.h: Updated comment and copyright notice.
1248         * objc/runtime.h: Updated comments.
1249         (objc_getClass): New.
1250         (objc_lookupClass): New.
1251         (objc_getMetaClass): New.
1252         (objc_getRequiredClass): New.
1253         (objc_getClassList): New.
1254         (objc_setGetUnknownClassHandler): New.
1255         (objc_get_unknown_class_handler): New.
1256         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1257         instead of __objc_runtime_INCLUDE_GNU as include guard.
1258         * objc-private/error.h (_objc_abort): Mark as noreturn.
1259         
1260 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1262         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1263         * ivars.c: New.
1264         * objc/objc.h: Updated comments.
1265         * objc/runtime.h (object_getClass): New.
1266         (object_getClassName): New.
1267         (object_setClass): New.
1268         (class_getInstanceVariable): New.
1269         (object_getIndexedIvars): New.
1270         (object_getInstanceVariable): New.
1271         (object_setInstanceVariable): New.
1272         (object_getIvar): New.
1273         (object_setIvar): New.  
1274         (ivar_getName): New.
1275         (ivar_getOffset): New.
1276         (ivar_getTypeEncoding): New.
1277         * objc-private/module-abi-8.h (struct objc_class): Added.
1278         * objects.c (object_getClassName): New.
1279         (object_setClass): New.
1280         
1281 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1283         * objc/objc.h: Updated comments.
1284         * objc/objc-api.h: (object_copy): Added one argument; use a
1285         #define to maintain backwards-compatibility.  Moved
1286         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1287         objc_get_uninstalled_dtable into
1288         objc/deprecated/objc_get_uninstalled_dtable.h and
1289         objc/deprecated/objc_object_alloc.h.  Include these files.
1290         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1291         * objc/deprecated/objc_object_alloc.h: New.
1292         * objc/runtime.h (set_getName): New.
1293         (sel_getType): New.
1294         (sel_getUid): New.
1295         (sel_registerName): New.
1296         (sel_registerTypedName): New.
1297         (sel_isEqual): New.
1298         (class_createInstance): New.
1299         (object_copy): New.
1300         (object_dispose): New.
1301         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1302         building the garbage collection version.
1303         (__objc_object_alloc): Removed.
1304         (__objc_object_copy): Removed.
1305         (__objc_object_dispose): Removed.
1306         (class_createInstance): New from code in class_create_instance.
1307         Cast second argument of GC_malloc_explicitly_typed.  Use
1308         objc_calloc.  Do not call _objc_object_alloc.
1309         (class_create_instance): Call class_createInstance.
1310         (object_copy): Added extraBytes argument.  Do not call
1311         _objc_object_copy.
1312         (object_dispose): Do not call _objc_object_dispose.
1313         * memory.c (objc_free): When using garbage collection, mark the
1314         argument as unused.
1315         * selector.c (sel_getName): New.
1316         (sel_get_name): Call sel_getName.
1317         (sel_getType): New.
1318         (sel_get_type): Call sel_getType.
1319         (sel_registerName): New.
1320         (sel_register_name): Call sel_registerName.
1321         (sel_registerTypedName): New.
1322         (sel_register_typed_name): Call sel_registerTypedName.
1323         (sel_getUid): New.
1324         (sel_get_uid): Call sel_getUid.
1325         
1326 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1328         * objc/objc-api.h: Define Method, Method_t, Category and
1329         Category_t.  Prevent including this file at the same time as
1330         objc/runtime.h.  Updated comments.
1331         * objc/deprecated/struct_objc_method.h: Do not define Method,
1332         Method_t.
1333         * objc/deprecated/struct_objc_category.h: Do not define Category,
1334         Category_t.
1335         * objc-private/module-abi-8.h: New file containing a copy of all
1336         the structure definitions.  Not used yet.
1337         * objc/encoding.h (objc_aligned_size): Removed duplicate
1338         declaration.  Updated comments.
1339         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1340         Category, struct objc_method_description, _C_ID and similar,
1341         _C_CONST and similar and _F_CONST and similar.  Added
1342         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1343         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1344         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1345         struct objc_struct_layout, objc_layout_structure,
1346         objc_layout_structure_next_member, objc_layout_finish_structure,
1347         objc_layout_structure_get_info.  Prevent including this file at
1348         the same time as objc/objc-api.h.
1349         
1350 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1352         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1353         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1354         struct_objc_method_list.h, struct_objc_module.h,
1355         struct_objc_protocol_list.h, struct_objc_symtab.h.
1356         * objc/deprecated/struct_objc_category.h: New.
1357         * objc/deprecated/struct_objc_ivar.h: New.
1358         * objc/deprecated/struct_objc_ivar_list.h: New.
1359         * objc/deprecated/struct_objc_method.h: New.
1360         * objc/deprecated/struct_objc_method_list.h: New.
1361         * objc/deprecated/struct_objc_module.h: New.
1362         * objc/deprecated/struct_objc_protocol_list.h: New.
1363         * objc/deprecated/struct_objc_symtab.h: New.
1364         * objc/deprecated/struct_objc_static_instances.h: New.
1365         * objc/objc-api.h: Definitions of deprecated structures moved into
1366         the above header fragment files in objc/deprecated/.  Include the
1367         files instead of definition the structures here.  Updated
1368         comments.
1369         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1370         (objc_set_enumeration_mutation_handler): Renamed to
1371         objc_setEnumerationMutationHandler.
1372         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1373         to objc_setEnumerationMutationHandler.
1374         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1375         objc_setExceptionMatcher.
1376         (objc_set_uncaught_exception_handler): Renamed to
1377         objc_setUncaughtExceptionHandler.
1378         * exception.c: Same changes.
1380 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1382         * objc-sync.c: Include objc-private/common.h.
1384 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1386         * objc-foreach.c: Include objc-private/common.h.
1387         * objc/deprecated/METHOD_NULL.h: New file.
1388         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1389         defining METHOD_NULL here.
1390         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1391         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1392         METHOD_NULL.
1393         ([-respondsTo:]): Same change.
1394         * objc/objc-api.h (method_get_imp): Converted it into a normal
1395         function so that we can hide the internals of struct objc_method.
1396         * sendmsg.c (method_get_imp): Implemented.
1398 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1400         * objc/objc-api.h (struct objc_super, Super, Super_t,
1401         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1402         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1403         message.h here.
1404         * objc/message.h: Added such declarations; updated comments.
1406 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1408         Implemented fast enumeration for Objective-C.
1409         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1410         (OBJC_H): Added runtime.h
1411         * objc-foreach.c: New file.
1412         * objc/runtime.h: New file.
1413         
1414 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1416         * objc/deprecated/struct_objc_class.h: Add padding
1417         to avoid warning with -Wpadded.
1419 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1421         * encoding.c (objc_sizeof_type): Added support for vector type and
1422         for double long types.  
1423         (objc_alignof_type): Same change.
1424         (objc_skip_typespec): Same change.
1425         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1426         instead of '!' since '!' is already used for _C_VECTOR.
1427         * objc/objc-api.h (_C_LNG_DBL): Added.
1428         
1429 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1431         * libobjc_entry.c: File removed.
1433 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1435         * sendmsg.c (objc_msg_lookup): Remove inline.
1436         (objc_get_uninstalled_dtable): Likewise.
1437         * encoding.c (objc_skip_type_qualifiers): Likewise.
1438         (objc_skip_offset): Likewise.
1439         * archive.c (__objc_write_object): Likewise
1440         (__objc_write_class):
1441         (__objc_write_selector):
1442         (objc_read_char):
1443         (objc_read_unsigned_char):
1444         (objc_read_short):
1445         (objc_read_unsigned_short):
1446         (objc_read_int):
1447         (objc_read_long):
1448         (__objc_read_nbyte_uint):
1449         (objc_read_unsigned_int):
1450         (objc_read_unsigned_long):
1451         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1452         (objc_EXPORT): Likewise.
1453         * objc/message.h (objc-decls.h): Add include.
1454         * objc/objc-api.h: Mark API by objc_EXPORT.
1455         * libobjc.def (__objc_responds_to): Removed.
1457 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1459         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1461         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1462         objc/sarray.h replaced with a placeholder including the file from
1463         the deprecated/ directory.
1464         * objc-private/sarray.h: New file (private copy of sarray.h).
1465         * hash.c: Include <assert.h> instead of "assert.h"
1466         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1467         objc-private/sarray.h instead of objc/sarray.h.
1468         * selector.c: Include objc-private/sarray.h instead of
1469         objc/sarray.h.
1470         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1471         instead of objc/sarray.h.
1472         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1474 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1476         * objc-private/objc-list.h (list_remove_elem): Unused function
1477         removed.  (list_nth): Unused function removed.  (list_find):
1478         Unused function removed.  (list_lenght): Unused function removed.
1479         
1480 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1482         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1483         replaced with a placeholder including the file from the
1484         deprecated/ directory.
1485         * objc/objc-api.h: Updated includes.
1486         * objc/typedstream.h: Updated includes.
1487         * objc-private/hash.h: New file (private copy of hash.h).
1488         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1489         objc/objc-list.h replaced with a placeholder including the file
1490         from the deprecated/ directory.
1491         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1492         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1493         instead of objc/hash.h and objc/objc-list.h.
1494         * selector.c: Same change.
1495         * class.c: Added include <string.h>, which used to be implicitly included
1496         when hash.h was included.
1497         * exception.c: Same change.
1498         * objects.c: Same change.
1499         * sarray.c: Same change.
1500         * sendmsg.c: Same change.
1501         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1503 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1505         Implemented objc_sync_enter() and objc_sync_exit(), which are
1506         required by @synchronized() to work.
1507         * objc-sync.c: New file.
1508         * objc/objc-sync.h: New file.
1509         * objc-private/objc-sync.h: New file.
1510         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1511         Objective-C runtime startup.
1512         * Makefile.in: Added objc-sync.c and objc-sync.h.
1513         * configure.ac: Added GCC_CHECK_TLS.
1514         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1515         * configure: Regenerated.
1516         * config.h.in: Regenerated.
1517         
1518 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1520         * Makefile.in (%_gc.lo): New pattern rules to build the
1521         garbage-collected version of the library.  Removed rules for
1522         specific files that are no longer needed.  Standardized all rules.
1523         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1524         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1525         OBJC_SOURCE_FILES.
1526         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1528 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1529         
1530         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1531         with Garbage Colletion.
1532         
1533 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1535         * memory.c: Do not include objc-private/runtime.h.
1537 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1538         
1539         * objc/deprecated/objc_malloc.h: New file.
1540         * objc/deprecated/objc_valloc.h: New file.
1541         * objc/objc-api.h: Include the files instead of defining
1542         objc_valloc, _objc_malloc() and similar.
1543         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1544         objc_malloc.h.
1545         * memory.c: Removed the extra layer of indirection of _objc_malloc
1546         and similar.
1547         (objc_calloc): Use GC_malloc in the garbage-collected
1548         implementation as GC_malloc returns memory that is already freed.
1549         (objc_valloc): Deprecated.      
1550         
1551 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1553         * objc/deprecated/objc_error.h: New file.
1554         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1555         defining objc_error and related.
1556         * error.c: New file.  Added _objc_abort function which replaces
1557         objc_error.  No change in functionality as they both print an
1558         error and abort.
1559         * misc.c: File removed.  Code moved into memory.c and error.c.
1560         * memory.c: New file.
1561         * objc-private/error.h: New file.
1562         * archive.c: Include objc-private/error.h and use _objc_abort
1563         instead of objc_error everywhere.
1564         * class.c: Same change.
1565         * encoding.c: Same change.
1566         * init.c: Same change, and simplified init_check_module_version.
1567         * memory.c: Same change.
1568         * sendmsg.c:  Same change.
1569         * thr.c: Same change.
1570         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1571         (OBJ_H): Reordered list.
1572         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1573         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1574         (misc_gc.lo): Rule removed.
1575         (error_gc.lo): Rule added.
1576         (memory_gc.lo): Rule added.
1577         
1578 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1580         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1581         to check the API version.  Added some comments.
1583         * objc-private/common.h: New file.
1584         * NXConstStr.m: Include objc-private/common.h.
1585         * Object.m: Same change.
1586         * Protocol.m: Same change.
1587         * archive.c: Same change.
1588         * class.c: Same change.
1589         * encoding.c: Same change.
1590         * exception.c: Same change.
1591         * gc.c: Same change.
1592         * hash.c: Same change.
1593         * init.c: Same change.
1594         * libobjc_entry.c: Same change.
1595         * linking.m: Same change.
1596         * misc.c: Same change (and added a comment).
1597         * nil_method.c: Same change.
1598         * objects.c: Same change.
1599         * sarray.c: Same change.
1600         * selector.c: Same change.
1601         * sendmsg.c: Same change.
1602         * thr.c: Same change.
1604 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1606         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1608 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1610         * archive.c: Removed not needed includes.
1611         * class.c: Same change.
1612         * hash.c: Same change.
1613         * misc.c: Same change.
1614         * nil_method.c: Same change.
1615         * objects.c: Same change.
1616         * sarray.c: Same change.
1617         * sendmsg.c: Same change.
1618         * thr.c: Same change.
1620 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1622         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1623         all the objc/*.h files.
1624         * objc-private/runtime.h: New file.
1625         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1626         files) instead of objc/runtime.h.
1627         * class.c: Same change.
1628         * hash.c: Same change.
1629         * init.c: Same change.
1630         * misc.c: Same change.
1631         * nil_method.c: Same change.
1632         * objects.c: Same change.
1633         * sarray.c: Same change.
1634         * selector.c: Same change.
1635         * sendmsg.c: Same change.
1636         * thr.c: Same change.
1637         
1638 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1640         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1641         'struct objc_selector' and 'sel_eq' moved here.
1642         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1643         'struct objc_procotol' moved here.
1644         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1645         'struct objc_class' moved here.
1646         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1647         moved here.
1648         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1649         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1650         arglist, arglist_t and objc_msg_lookup were moved here.
1651         * objc/objc.h: Include the above files instead of defining the
1652         corresponding structs, types and functions here.  Added new opaque
1653         definitions for SEL and Class.  Use Class and not 'struct
1654         objc_class *' in the definition of 'struct objc_object'.
1655         Commented all types defined in the file.  Removed special
1656         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1657         there as well.
1658         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1659         objc_unexpected_exception.h.
1660         * objc/objc-api.h: Updated include of
1661         objc-unexpetected-exception.h
1662         * objc/objc-exception.h: Updated comments.
1663         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1664         files.  Reindented list of files.
1665         
1666 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1668         * objc/objc-api.h (objc_trace): Unused variable removed.
1670 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1672         * objc/deprecated: New directory.
1673         * objc/deprecated/README: New file.
1674         * objc/README: New file.
1675         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1676         objc/typedstream.h replaced with a placeholder including the file
1677         from the deprecated/ directory.
1678         * objc/deprecated/objc-unexpected-exception.h: New file with the
1679         definition of _objc_unexpected_exception.       
1680         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1681         instead of defining _objc_unexpected_exception.
1682         * objc/deprecated/Object.h: New file with the deprecated Object
1683         methods in a 'Deprecated' category.
1684         * objc/Object.h Include deprecated/Object.h instead of defining
1685         the deprecated methods.
1686         * Object.m: Moved deprecated methods into 'Deprecated' category.
1687         * objc-private: New directory.
1688         * objc-private/README: New file.
1689         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1690         (install-headers): Create installation directory for
1691         OBJC_DEPRECATED_H headers, and install them.
1693 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1695         * objc/objc-exception.h: Fixed include of objc.h.
1696         
1697 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1699         * objc/objc-exception.h: New file.
1700         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1701         (objc_set_exception_matcher): Implemented.
1702         (objc_exception_throw): Use the uncaught exception handler if set.
1703         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1704         hardcoded isKindOf.
1705         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1706         up.  Removed segmentation fault when value is 'nil'.
1707         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1708         deprecated.
1709         * Makefile.in (exception.lo, exception_gc.lo): Use
1710         -Wno-deprecated-declarations when compiling.
1711         (OBJC_H): Added objc-exception.h
1713 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1715         * objc/typedstream.h: Deprecate all functions in the file.  This
1716         file is obsolete.
1717         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1718         [-awake]): Documented that these methods are deprecated.  Added a
1719         brief description of the Object class and its relationship to the
1720         NSObject class.
1721         * Makefile.in: Compile archive.c and Object.m with
1722         -Wno-deprecated-declarations.
1724 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1726         Removed obsolete intermediate threading layer.
1727         * thr.c: Use __gthread_objc_xxx functions directly instead of
1728         __objc_thread_xxx ones.
1729         * objc/thr.h: Removed prototypes of no longer existing
1730         __objc_thread_xxx functions.
1731         * Makefile.in: Removed thr-objc.lo.
1732         * thr-dce.c: File removed.
1733         * thr-decosf1.c: File removed.
1734         * thr-irix.c: File removed.
1735         * thr-mach.c: File removed.
1736         * thr-objc.c: File removed.
1737         * thr-os2.c: File removed.
1738         * thr-posix.c: File removed.
1739         * thr-pthreads.c: File removed.
1740         * thr-rtems.c: File removed.
1741         * thr-single.c: File removed.
1742         * thr-solaris.c: File removed.
1743         * thr-vxworks.c: File removed.
1744         * thr-win32.c: File removed.
1745         * README.threads: File removed.
1746         * THREADS.MACH: File removed.
1747         * THREADS: Updated.
1749 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1751         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1753 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1755         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1756         Add a comment as to why, update FIXME comments.
1758 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1760         * makefile.dos: Obsolete file removed.
1761         
1762 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1764         * aclocal.m4: Regenerate.
1766 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1768         PR libobjc/30445
1769         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1770         Cygwin and MinGW hosts.
1771         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1772         (libobjc.dll): Likewise.
1773         * configure: Regenerate.
1775 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1777         * configure: Regenerate.
1779 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1781         * sarray.c (sarray_free): Use old_buckets variable.
1782         * encoding.c (objc_layout_structure_next_member): Remove unused
1783         bfld_type_size variable.
1785 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1787         * configure.ac (AC_PREREQ): Bump to 2.64.
1789 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1791         * aclocal.m4: Regenerate.
1792         * configure: Regenerate.
1793         * config.h.in: Regenerate.
1795 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1797         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1799 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1801         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1802         New variables.
1803         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1805 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1807         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1809 2009-04-09  Nick Clifton  <nickc@redhat.com>
1811         * sendmsg.c: Change copyright header to refer to version 3 of
1812         the GNU General Public License with version 3.1 of the GCC
1813         Runtime Library Exception and to point readers at the COPYING3
1814         and COPYING3.RUNTIME files and the FSF's license web page.
1815         * NXConstStr.m: Likewise.
1816         * Object.m: Likewise.
1817         * Protocol.m: Likewise.
1818         * archive.c: Likewise.
1819         * class.c: Likewise.
1820         * encoding.c: Likewise.
1821         * exception.c: Likewise.
1822         * gc.c: Likewise.
1823         * hash.c: Likewise.
1824         * init.c: Likewise.
1825         * libobjc_entry.c: Likewise.
1826         * linking.m: Likewise.
1827         * misc.c: Likewise.
1828         * nil_method.c: Likewise.
1829         * objc/NXConstStr.h: Likewise.
1830         * objc/Object.h: Likewise.
1831         * objc/Protocol.h: Likewise.
1832         * objc/encoding.h: Likewise.
1833         * objc/hash.h: Likewise.
1834         * objc/objc-api.h: Likewise.
1835         * objc/objc-decls.h: Likewise.
1836         * objc/objc-list.h: Likewise.
1837         * objc/objc.h: Likewise.
1838         * objc/runtime.h: Likewise.
1839         * objc/sarray.h: Likewise.
1840         * objc/thr.h: Likewise.
1841         * objc/typedstream.h: Likewise.
1842         * objects.c: Likewise.
1843         * sarray.c: Likewise.
1844         * selector.c: Likewise.
1845         * thr-dce.c: Likewise.
1846         * thr-decosf1.c: Likewise.
1847         * thr-irix.c: Likewise.
1848         * thr-mach.c: Likewise.
1849         * thr-objc.c: Likewise.
1850         * thr-os2.c: Likewise.
1851         * thr-posix.c: Likewise.
1852         * thr-pthreads.c: Likewise.
1853         * thr-rtems.c: Likewise.
1854         * thr-single.c: Likewise.
1855         * thr-solaris.c: Likewise.
1856         * thr-vxworks.c: Likewise.
1857         * thr-win32.c: Likewise.
1858         * thr.c: Likewise.
1859         * libobjc.def: Change copyright header to refer to version 3 of
1860         the GNU General Public License and to point readers at the COPYING3
1861         file and the FSF's license web page.
1862         * makefile.dos: Likewise.
1864 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
1866         * Makefile.in: Change copyright header to refer to version
1867         3 of the GNU General Public License and to point readers at the
1868         COPYING3 file and the FSF's license web page.
1869         * configure.ac: Likewise.
1871 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1872             David Ayers  <ayers@fsfe.org>
1874         PR libobjc/27466
1875         * objc/objc-api.h (_objc_unexpected_exception): Declare
1876         new hook.  Update copyright dates.
1877         * exception.c (objc_exception_throw): Use hook.  Update
1878         copyright dates.
1879         * libobjc.def (_objc_unexpected_exception): Export hook.
1880         Update copyright dates.
1881         
1882 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1884         * configure: Regenerate.
1886 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1888         * configure: Regenerate.
1890 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
1892         *  Object.m (errno): Replaced by errno.h include.
1893         (compare): Cast self to id to prevent warning on comparison.
1894         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
1895         already there.
1896         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
1897         * thr-win32.c (__objc_thread_detach): Remove type warning.
1898         (__objc_thread_id): Likewise.
1899         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
1900         for noreturn.
1902 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
1903             Steve Ellcey  <sje@cup.hp.com>
1905         * configure: Regenerate for new libtool.
1906         * config.h.in: Regenerate for new libtool.
1908 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1910         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
1912 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1914         * Makefile.in: Include ../boehm-gc/threads.mk. 
1915         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1917 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1919         * Makefile.in (install-info): New stub target.
1921 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1923         * configure: Regenerate.
1925 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
1927         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1928         if HAVE_GETIPINFO is not defined.
1930 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
1932         * Object.m (compare): Add type id.
1933         * objc/Object.h: Likewise.
1934         * archive.c (objc_read_class): Use size_t to extend version to be
1935         size of pointer scalar width.
1936         * sendmsg.c (rtx): Undefine it before redefinition.
1937         (__objc_print_dtable_stats): Cast arguments to long as intended.
1939 2008-05-30  Julian Brown  <julian@codesourcery.com>
1941         * exception.c (__objc_exception_class): Initialise as constant
1942         array for ARM EABI. Change macro to static const for non-ARM EABI.
1943         (ObjcException): Add note about structure layout. Remove landingPad
1944         and handlerSwitchValue for ARM EABI.
1945         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1946         of function.
1947         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1948         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1949         ARM EABI unwinding support.
1950         (objc_exception_throw): Use memcpy to initialise exception class.
1952 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
1954         * encoding.c (strip_array_types): Rename from get_inner_array_type.
1955         (rs6000_special_round_type_align): Update.
1957 2008-05-09  Julian Brown  <julian@codesourcery.com>
1959         * Makefile.in (LTLDFLAGS): New.
1960         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1962 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1964         PR bootstrap/35457
1965         * aclocal.m4: Regenerate.
1966         * configure: Regenerate.
1968 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
1970         * configure: Regenerate.
1972 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1974         * configure.ac: Don't run config-ml.in directly.
1975         (multilib_arg): New.
1976         * configure: Regenerated.
1978 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
1980         PR libobjc/30731
1981         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1982         of _Unwind_Word for variables which are used in
1983         read_uleb128/read_sleb128.
1984         (PERSONALITY_FUNCTION): Likewise.
1986 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1988         * aclocal.m4: Regenerated.
1990 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1992         * configure.ac: Fix a typo in *-*-darwin clause.
1993         * configure: Regenerated.
1995 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1997         * configure.ac: Fix a typo.
1998         * configure: Regenerated.
2000 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2002         * configure: Regenerate.
2004 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2006         * Makefile.in: Replace all uses of libext with libsuffix.
2007         * configure.ac: Likewise.
2008         * configure: Regenerate.
2010         Revert:
2011         * Makefile.in: Remove all uses of $(libext).
2013 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2015         * Makefile.in: Remove all uses of $(libext).
2017 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2019         * configure: Regenerate.
2020         * aclocal.m4: Regenerate.
2022 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2024         * sendmsg.c (__objc_get_forward_imp): Call
2025         __objc_msg_forward2 for real.
2027 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2029         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2030         external libraries to provide a function that returns the real
2031         forwarding function based on both the selector and the receiver.
2032         * objc/objc-api.h: Define __objc_msg_forward2.
2034 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2036         * Makefile.in: Add dummy install-pdf target.
2038 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2040         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2041         unused warning.
2042         
2043 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2045         * encoding.c (darwin_rs6000_special_round_type_align): New.
2047 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2049         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2050         * configure.ac: Use multi.m4 from aclocal rather than custom
2051         code.  Use multi_basedir instead of toplevel_srcdir.
2052         * aclocal.m4: Regenerate.
2053         * configure: Regenerate.
2055 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2057         * Makefile.in: Added empty "pdf" target.
2059 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2061         * configure: Regenerate.
2063 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2065         * Makefile.in: Add install-html target. Add install-html to .PHONY
2067 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2069         PR libobjc/26309
2070         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2072 2006-01-24  David Ayers  <d.ayers@inode.at>
2074         PR libobjc/9751
2075         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2076         and insure the new strings are '\0' termintated.
2078 2006-01-24  David Ayers  <d.ayers@inode.at>
2080         PR libobjc/13946
2081         * configure.ac: Add include directives for --enable-objc-gc.
2082         * Makefile.in: Ditto.
2083         * configure: Regenerate.
2085         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2086         instead of the local pointer to them.
2088 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2090         PR objc/25360
2091         * objc/objc-api.c (_C_COMPLEX): New define.
2092         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2093         (objc_alignof_type): Likewise.
2094         (objc_skip_typespec): Likewise.
2096 2005-12-15  David Ayers  <d.ayers@inode.at>
2098         PR libobjc/14382
2099         * README (+load,+initialize): Fix documentation to reflect
2100         intended and implemented semantics for +load and +initialize.
2101         
2102 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2104         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2105         the name.
2106         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2107         (rs6000_special_round_type_align): Update for the ABI fix.
2108         (objc_layout_finish_structure): Correct the encoding which is passed to
2109         ROUND_TYPE_ALIGN.
2111 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2113         PR libobjc/25347
2114         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2115         but use the struct layout functions.
2116         (objc_alignof_type): Likewise.
2117         (objc_layout_structure): Handle _C_UNION_B also.
2118         (objc_layout_structure_next_member): Likewise.
2119         (objc_layout_finish_structure): Likewise.
2121 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2123         PR libobjc/25346
2124         * objc/objc-api.h (_C_BOOL): New define.
2125         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2126         (objc_alignof_type): Likewise.
2127         (objc_skip_typespec): Likewise.
2129 2005-11-20  David Ayers  <d.ayers@inode.at>
2131         PR libobjc/19024
2132         * objc/hash.h: Remove deprecated hash API.
2133         * hash_compat.c: Remove.
2134         * Makefile.in: Remove reference to hash_compat.c.
2136         * configure.ac (VERSION): Bump library version to 2:0:0.
2137         * configure: Regenerate.
2139 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2141         PR other/4372
2142         * thr-objc.c (_XOPEN_SOURCE): Define.
2144 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2146         PR libobjc/23612
2147         * objc/objc-api.h (struct objc_ivar): Move definition to
2148         global scope.
2150 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2151             Rasmus Hahn  <rassahah@neofonie.de>
2153         PR libobjc/23108
2154         * archive.c (objc_write_type): Correct the element offset.
2155         (objc_read_type): Likewise.
2157 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2159         * All files: Update FSF address.
2161 2005-08-13  Marcin Koziej  <creep@desk.pl>
2162             Andrew Pinski  <pinskia@physics.uc.edu>
2164         PR libobjc/22492
2165         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2167 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2169         * Makefile.in (extra_ldflags_libobjc): New.
2170         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2171         (libobjc_gc$(libext).la): Likewise.
2172         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2173         "-Wl,-single_module".
2174         * configure: Regenerate.
2175         * linking.m (_objcInit): Remove.
2177 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2179         PR libobjc/22606
2180         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2182 2005-06-08  David Ayers  <d.ayers@inode.at>
2184         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2185         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2186         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2187         objc/typedstream.h: Do not include Objective-C headers as
2188         system headers.
2190 2005-06-07  David Ayers  <d.ayers@inode.at>
2192         * archive.c, init.c, selector.c: Include hash.h.
2193         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2194         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2195         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2196         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2197         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2198         Include Objective-C headers with quotes and objc/ directory
2199         prefix.
2201 2005-05-19  Richard Henderson  <rth@redhat.com>
2203         * exception.c: Revert last change.
2205 2005-05-19  David Ayers  <d.ayers@inode.at>
2207         * exception.c: Include tsystem.h for unwind.h.
2209 2005-05-09  Mike Stump  <mrs@apple.com>
2211         * configure: Regenerate.
2213 2005-04-12  Mike Stump  <mrs@apple.com>
2215         * configure: Regenerate.
2217 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2219         * Makefile.in: Set gcc_version here.
2220         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2221         in definition of toolexeclibdir so that $(gcc_version) is expanded
2222         by the Makefile.
2223         * aclocal.m4, configure: Regenerate.
2225 2005-03-03  David Ayers  <d.ayers@inode.at>
2227         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2228         version reference.  Correct typo.
2230 2005-03-02  David Ayers  <d.ayers@inode.at>
2232         PR libobjc/19024
2233         * Makefile.in (OBJS): Add hash_compat.lo.
2234         (OBJS_GC): Add hash_compat_gc.lo.
2235         (hash_compat_gc.lo): New target and rule.
2236         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2237         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2238         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2239         with objc_.  Add deprecated non prefixed inlined versions.
2240         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2241         declarations.
2242         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2243         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2244         update callers.
2245         * hash_compat.c: New file.
2246         * archive.c: Update callers.
2247         * init.c: Likewise.
2248         * selector.c: Likewise.
2249         * libobjc.def: Add objc_ versions of hash functions.
2251 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2253         PR libobjc/20252
2254         * Makefile.in (GTHREAD_FLAGS): Remove.
2255         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2256         * thr-objc.c: Include config.h.
2257         * configure.ac: Instead of looking at GCC's makefile, figure out if
2258         GTHREAD_FLAGS should be defined by looking at the `thread model'
2259         of the current gcc.
2260         * configure: Regenerate.
2261         * config.h.in: Regenerate.
2263 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2265         PR bootstrap/17383
2266         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2267         (Determine CFLAGS for gthread): Use $host_subdir.
2268         * configure: Regenerate.
2269         * Makefile.in (host_subdir): New.
2270         (INCLUDES): Use it.
2272 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2274         PR libobjc/12035
2275         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2276         they are not used.
2277         Include limits.h and stdlib.h.
2278         Define BITS_PER_WORD.
2280 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2282         * selector.c (__objc_init_selector_tables): Add missing void to
2283         definition.
2285 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2287         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2288         * configure, aclocal.m4: Regenerate.
2290 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2292         * configure: Regenerate for libtool change.
2294 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2296         * configure: Regenerate for libtool reversion.
2298 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2300         * configure: Regenerate for libtool change.
2302 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2304         * aclocal.m4, config.h.in: Regenerate.
2306 2004-10-08  Mike Stump  <mrs@apple.com>
2307             Andrew Pinski  <pinskia@physics.uc.edu>
2309         * aclocal.m4: Rename to ...
2310         * acinclude.m4: here and also use m4_include instead of sinclude.
2311         * aclocal.m4: Regenerate.
2312         * configure: Regenerate.
2313         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2314         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2316 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2318         * archive.c: Fix all the warnings about passing unsigned char*
2319         to char* and the other way too.
2321 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2323         PR libobjc/16448
2324         * exception.c: Include config.h
2325         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2326         SJLJ_EXCEPTIONS.
2327         * configure.ac: Find out what exception handling code we use.
2328         * configure: Regenerate.
2329         * config.h.in: New file, regenerate.
2331 2004-09-16  Andrew Pinski  <apinski@apple.com>
2333         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2335 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2337         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2338         ACX_NONCANONICAL_TARGET.
2339         * configure: Regenerate.
2341 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2343         * objc/sarray.h: Hoist include of assert.h near the top of file,
2344         and mark the remainder of the file 'extern "C"'.
2346 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2348         * objc/Object.h: Move includes out of extern "C" blocks.
2349         * objc/encoding.h: Likewise.
2350         * objc/hash.h: Likewise.
2351         * objc/objc-api.h: Likewise.
2352         * objc/runtime.h: Likewise.
2353         * objc/sarray.h: Likewise.
2354         * objc/typedstream.h: Likewise.
2356 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2358         * objc/NXConstStr.h: Update copyright date; bracket with
2359         'extern "C"' for C++ use; make include syntax consistent
2360         by using <...> instead of "..."; hoist <objc/...> includes
2361         above the 'extern "C"' block.
2362         * objc/Object.h: Likewise.
2363         * objc/Protocol.h: Likewise.
2364         * objc/encoding.h: Likewise.
2365         * objc/hash.h: Likewise.
2366         * objc/runtime.h: Likewise.
2367         * objc/sarray.h: Likewise.
2368         * objc/thr.h: Likewise.
2369         * objc/typedstream.h: Likewise.
2370         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2371         (objc_static_instances): For C++ case, do away with
2372         zero-sized array.
2373         (objc_method): Hoist definition to file scope.
2374         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2375         class_get_instance_method, class_create_instance,
2376         class_get_class_name, class_get_instance_size,
2377         class_get_meta_class, class_get_super_class, class_get_version,
2378         class_is_class, class_is_meta_class, class_set_version,
2379         class_get_gc_object_type, class_ivar_set_gcinvisible,
2380         get_imp): Rename 'class' parameter to '_class'.
2381         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2382         * objc/objc.h: Update copyright date.
2383         (arglist_t): Provide a union tag.
2385 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2387         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2388         but instead use the attribute noreturn.
2390 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2392         * encoding.c: Rename target_flags with a #define to avoid
2393         conflict with a prior declaration.
2395 2004-06-24  Andrew Pinski  <apinski@apple.com>
2397         * objc/encoding.h: Wrap the functions with extern "C" for C++
2398         mode.
2399         * objc/hash.h: Likewise.
2400         * objc/objc-api.h: Likewise.
2401         * objc/objc-list.h: Likewise.
2402         * objc/runtime.h: Likewise.
2403         * objc/sarray.h: Likewise.
2404         * objc/thr.h: Likewise.
2405         * objc/typedstream.h: Likewise.
2408 2004-06-21  Nick Clifton  <nickc@redhat.com>
2410         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2411         provided.
2413 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2415         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2416         (exception_gc.lo): New.
2417         (OBJS_GC): Add exception_gc.lo.
2419 2004-06-17  Richard Henderson  <rth@redhat.com>
2421         * exception.c: New file.
2422         * Makefile.in (exception.lo): New.
2423         (OBJS): Add it.
2425 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2427         * linking.m (_objcInit): New empty function
2428         for Darwin only.
2430 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2432         * configure.ac: Support --enable-shared=libobjc.
2433         * configure: Regenerate.
2435         PR libobjc/15901
2436         * configure.ac: Do not disable shared by default.
2437         * configure: Regenerate.
2439 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2441         * Protocol.m ([-isEqual:]): Small optimizations returning
2442         immediately if the argument is equal to self, and accessing
2443         the argument's name directly if it's a protocol.
2445 2004-06-03  David Ayers  <d.ayers@inode.at>
2447         * Protocol.m ([-isEqual:]): Test the class of the argument.
2449 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2451         * configure.ac (includedir): Rename to ...
2452         (includedirname).
2453         * Makefile.in: s/includedir/includedirname/.
2455         PR target/11572
2456         * configure.ac (includedir): Set to "include"
2457         except for Darwin.
2458         (libext) Set to empty except for Darwin.
2459         * configure: Regenerate
2460         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2461         s/include/$(includedir)/g.
2463 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2465         * Makefile.in: Add .NOEXPORT.
2467 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2469         Merge from the libobjc-branch
2470         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2472                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2474         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2476                 * Makefile.in (OBJC_H): Add objc-deps.h.
2478         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2480                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2481                 ([-hash], [-isEqual:]): New methods.
2483         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2485                 * sarray.c (sarray_free): Add a better comment.
2487         2004-01-27  Adam Fedor  <fedor@gnu.org>
2489                 * hash.c (hash_add): Cast cachep to int.
2490                 * selector.c (__sel_register_typed_name): Cast
2491                 soffset_decode to int.
2493         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2495                 * selector.c: Rename register_selectors_from_list to
2496                 __objc_register_selectors_from_list. Update caller.
2497                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2498                 while registering selectors. Use __sel_register_typed_name instead
2499                 of sel_register_typed_name. Check for NULL method_name:s.
2500                 (pool_alloc_selector): New function.
2501                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2502                 selector structures.
2503                 * sendmsg.c (class_add_method_list): Use
2504                 __objc_register_selectors_from_list.
2505                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2507         2004-01-25  Adam Fedor  <fedor@gnu.org>
2508                     Nicola Pero  <n.pero@mi.flashnet.it>
2509                     Andrew Pinski  <pinskia@physics.uc.edu>
2511                 * objc/objc-decls.h: New file.
2512                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2513                 (_objc_load_callback): Likewise.
2514                 (_objc_object_alloc): Likewise.
2515                 (_objc_object_copy): Likewise.
2516                 (_objc_object_dispose): Likewise.
2518         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2520                 * archive.c: s/__inline__/inline
2521                 * sendmsg.c: Likewise.
2523                 * encoding.c: Remove FIXME about the warning
2524                 about unused variable.
2525                 * sendmsg.c: Add a FIXME comment saying that
2526                 this should be using libffi.
2528                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2531 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2533         * archive.c (objc_read_class): Initialize class_name.
2534         (objc_read_selector): Initialize selector_name.
2536 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2538         * Makefile.in (toolexecdir): Remove trailing space.
2540 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2542         PR libobjc/14948
2543         * configure.ac: De-precious CC so multilibs work.
2544         * configure: Regenerate.
2546 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2548         * configure.ac: Restore toolexecdir.
2549         * Makefile.in: Restore toolexecdir.
2550         * configure: Regenerate.
2552 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2554         * configure.ac: Remove (unused) glibcpp_prefixdir.
2555         * configure: Regenerate.
2557         * configure.in: Rename to configure.ac.
2558         * Makefile.in: Update to match.
2560         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2561         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2562         * configure.in: Remove glibcpp_toolexecdir (unused).
2563         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2564         config.h or stamp-h (unused).  Move one comment to the right place.
2565         * configure: Regenerate.
2566         * config.h.in: Remove (unused).
2568         * config.h.in: Regenerate with autoheader.
2570         * Makefile.in: Remove (unused) gcc_version_trigger.
2571         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2572         gcc_version_trigger.
2573         * configure: Regenerate.
2575         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2576         Sort file into sections.  Remove dnl where appropriate.  Fix
2577         other style issues.
2578         * configure: Regenerate.
2580         * configure.in: Replace old AC_PROG_CC hack with new one.
2581         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2582         are no subdirectory output files, so this is fine).  Change prereq
2583         to autoconf 2.59.
2584         * aclocal.m4: Include ../config/no-executables.m4.
2585         * configure: Regenerate with autoconf 2.59.
2587         * configure.in: Improve comments on gthread_cflags.  Improve m4
2588         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2589         * configure: Regenerate.
2591         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2592         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2593         redundant checks for values of RANLIB, AR, INSTALL.
2594         * configure: Regenerate.
2596         * configure.in: Clean up handling of
2597         --enable-version-specific-runtime-libs and related variables;
2598         replace 'if test' with 'case' where reasonable.  Fix comments.
2599         Remove useless libstdcxx_interface.
2600         * configure: Regenerate.
2602         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2603         Replace uses of target_alias with target_noncanonical.
2604         * aclocal.m4: Include ../config/acx.m4.
2605         * configure: Regenerate.
2606         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2607         Fix copyright statement.
2609         * configure.in: Hand-inline bulky, confusing macros from
2610         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2611         Update copyright notice.  Remove stuff for automake, which isn't
2612         used in this directory.  Remove emacs local variables.
2613         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2614         * configure: Regenerate.
2616 2004-03-16  Manfred Hollstein  <mh@suse.com>
2618         * Makefile.in, configure.in, configure: Update copyright years.
2620 2004-03-15  Manfred Hollstein  <mh@suse.com>
2622         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2623         definition from configure.in.
2624         * configure.in (PACKAGE): Add definition.
2625         (VERSION): Add definition; substitute it in output files.
2626         * configure: Re-generate.
2628 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2630         * objc/hash.h (hash_string, compare_strings):
2631         Add type-casts to make Objective-C++ happy.
2632         * objc/typedstream.h (objc_get_stream_class_version):
2633         Rename parameter from 'class' to 'class_name' to make
2634         Objective-C++ happy.
2636 2004-03-01  Michael Matz  <matz@suse.de>
2638         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2640 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2642         * objc/objc-api.h (objc_super): The 'class' field shall
2643         be named 'super_class' #ifdef __cplusplus.
2645 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2647         PR target/10781
2648         * encoding.c (rs6000_special_round_type_align): Define.
2650 2004-01-14  Adam Fedor  <fedor@gnu.org>
2652         PR libobjc/12155
2653         * selector.c (__objc_register_instance_methods_to_class): Free
2654         new_list if not used.
2656 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2658         PR libobjc/11904
2659         * sarray.c (sarray_free): Free array->is_copy_of latter.
2661 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2663         PR 11433
2664         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2665         instance_methods if it's NULL.
2666         (descriptionForClassMethod): Likewise for class_methods.
2668 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2670         * Makefile.in (runtime-info.h): Remove -Wp.
2672 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2674         * Makefile.in (CC1OBJ): Remove.
2675         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2676         correctly.
2677         Use .m extension for temporary file.
2678         Remove assembler temp file.
2680 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2682         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2684 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2686         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2688 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2690         * configure: Regenerate.
2692 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2694         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2695         (libdir)/gcc-lib/ when installing.
2696         * configure: Regenerate.
2698 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2700         libobjc/9969
2701         * sendmsg.c (get_imp): Fixed rare threading problem.
2702         (__objc_responds_to): Similar fixes.
2703         (objc_msg_lookup): Similar fixes.
2704         (__objc_init_install_dtable): Lock the runtime before checking if the
2705         table is installed.
2707 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2709         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2710         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2711         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2712         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2713         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2714         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2715         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2716         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2717         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2718         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2719         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2721 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2722                           Nicola Pero  <n.pero@mi.flashnet.it>
2724         libobjc/10742
2725         * init.c (class_superclass_of_class): New function.
2726         (create_tree_of_subclasses_inherited_from): Use it.
2727         (__objc_tree_insert_class): Likewise.
2728         (class_is_subclass_of_class): Likewise.
2730 2003-04-11  David Chad  <davidc@freebsd.org>
2731             Loren J. Rittle  <ljrittle@acm.org>
2733         libobjc/8562
2734         * objc/hash.h (hash_string): Constify correctly.
2735         (compare_ptrs): Use direct compare.
2736         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2737         * objc/sarray.h: Global rename index to indx to avoid shadow.
2739 2003-03-12  Andreas Schwab  <schwab@suse.de>
2741         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2742         glibcpp_toolexeclibdir.
2743         * configure: Rebuilt.
2745 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2747         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2748         config.status.
2749         * configure: Rebuilt.
2751 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2753         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2754         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2755         version_specific_libs is enabled.
2756         * configure: Rebuilt.
2758 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2760         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2761         (install-libs, install-headers): Prepend $(DESTDIR) to
2762         destination paths in all (un)installation commands.
2764 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2766         * thr-objc.c: Include coretypes.h and tm.h.
2768 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2770         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2772 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2774         * configure.in: Remove skip-this-dir support.
2775         * configure: Regenerate.
2777 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2779         * Makefile.in (all): Fix multilib parallel build.
2781 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2783         * sendmsg.c (nil_method): Declare not to take a variable number of
2784         args.
2785         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2786         (objc_msg_lookup_super): The same.
2788 2002-09-10  Jan Hubicka  <jh@suse.cz>
2790         * nil_method.c (nil_method): No longer defined with variable
2791         arguments.
2793 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2795         * objc/encoding.h: Fix formatting.
2796         * objc/hash.h: Likewise.
2797         * objc/objc-api.h: Likewise.
2798         * objc/runtime.h: Likewise.
2799         * objc/thr.h: Likewise.
2800         * archive.c: Likewise.
2801         * class.c: Likewise.
2802         * encoding.c: Likewise.
2803         * gc.c: Likewise.
2804         * hash.c: Likewise.
2805         * init.c: Likewise.
2806         * misc.c: Likewise.
2807         * nil_method.c: Likewise.
2808         * objects.c: Likewise.
2809         * sarray.c: Likewise.
2810         * selector.c: Likewise.
2811         * sendmsg.c: Likewise.
2812         * thr-mach.c: Likewise.
2813         * thr.c: Likewise.
2815 2002-06-25  DJ Delorie  <dj@redhat.com>
2817         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2818         GLIBCPP_TOPREL_CONFIGURE.
2819         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2820         * configure: Regenerate.
2822 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2824         * Object.m (forward, read, write): Fix unused parameter warnings.
2825         * encoding.c: Include <stdlib.h>.
2826         (target_flags): Mark with attribute unused.
2827         (atoi): Delete.
2828         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2829         (__objc_generate_gc_type_description): Prototype.
2830         * selector.c (__objc_selector_max_index): Change to unsigned int.
2832 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2834         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2835         we always have a return value: if __objc_msg_forward does not
2836         supply a forwarding implementation, return the default
2837         __builtin_apply based one.
2839 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2841         * Object.m: Fix signed/unsigned warning.
2842         * Protocol.m: Likewise.
2843         * archive.c: Always include stdlib.h.
2844         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2845         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2846         Fix signed/unsigned warning.
2847         (objc_write_type, objc_read_type, objc_write_types,
2848         objc_read_types): Ensure ctype 8-bit safety.
2849         (__objc_no_write, __objc_no_read): Mark unused parameters.
2850         * class.c (class_table_setup): Specify void arg.
2851         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2852         objc_skip_typespec, objc_skip_offset,
2853         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2854         (objc_layout_structure_next_member): Ensure variables are
2855         initialized.
2856         * gc.c (__objc_generate_gc_type_description,
2857         class_ivar_set_gcinvisible): Mark unused parameters.
2858         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2859         unused parameters.
2860         (__objc_init_protocols) Fix signed/unsigned warning.
2861         * nil_method.c (nil_method): Mark unused parameters.
2862         * thr.h (objc_thread_callback): Specify void arg.
2863         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2864         signed/unsigned warning.
2865         (sarray_free): Fix formatting.
2866         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2867         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2869 2002-06-09  Andreas Jaeger  <aj@suse.de>
2871         * encoding.c (objc_layout_structure_next_member): Remove unused
2872         variable.
2874 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2876         * Makefile.in (SHELL): Set to @SHELL@.
2877         (WARN_CFLAGS): New.
2878         (ALL_CFLAGS): Add $(WARN_CFLAGS).
2880 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2882         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2883         * configure: Regenerate.
2885 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2887         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2888         script entry, and set LD to it when configuring multilibs.
2889         * configure: Rebuilt.
2891 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
2893         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
2895 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
2897         PR objc/6107
2898         * objc/objc-api.h (struct objc_protocol_list): Change type of
2899         member count from int to size_t.
2901 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2903         PR libobjc/4039
2904         * aclocal.m4: Replace with version copied from libstdc++-v3.
2905         * configure.in: Update for changes to aclocal and Makefile.
2906         * configure: Regenerate.
2907         * Makefile.in: Correct install of multilibs and shared libs, use
2908         INSTALL_DATA for include files.
2910 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
2912         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2913         categories - when an unclaimed category was found, the loop was
2914         doing two steps forward instead of one, so that in certain cases
2915         it was failing to properly load all the categories.  (Reported
2916         with fix by Alexander Malmberg <alexander@malmberg.org>).
2918 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
2920         * encoding.c: Add target_flags.
2922 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
2924          * objc/objc-api.h (_C_VECTOR): New.
2926          * encoding.c (VECTOR_TYPE): New.
2928 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2930         * class.c: Rewritten the class table to use optimized, lock-free
2931         lookup.  This more than doubles the speed of class method
2932         invocations.  (class_table_setup), (class_table_insert),
2933         (class_table_replace), (class_table_get_safe),
2934         (class_table_next), (class_table_print),
2935         (class_table_print_histogram): New functions.
2936         (__objc_init_class_tables): Use class_table_setup.
2937         (__objc_add_class_to_hash): Use class_table_get_safe and
2938         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
2939         assert the existence of the table; do not lock the runtime; use
2940         class_table_get_safe.  (objc_next_class): Use class_table_next.
2941         (__objc_resolve_class_links): Use class_table_next.
2942         (class_pose_as): Use class_table_replace.
2944 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
2946         * gc.c: Removed the DEBUG declaration.
2948 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2950         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2951         rather than through objc_thread_id, to save a function call.
2952         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2953         Ditto.
2955 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2957         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2958         to cast an id to a Class, which can not be done.  Make the check
2959         by using CLS_ISMETA on the class pointer instead.
2960         (object_is_meta_class): Similar fix.
2962 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
2964         * configure.in (AC_EXEEXT): Work around in case it expands to
2965         nothing, as in autoconf 2.50.
2966         * acinclude.m4: Likewise.
2967         * configure: Rebuilt.
2969 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
2971         * THREADS: Explain that when we compile libobjc inside GCC, we
2972         always use thr-objc.c as a backend, which uses GCC's thread code.
2974 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
2976         * init.c (__objc_send_message_in_list): When setting a new entry
2977         in __objc_load_methods use the method IMP as key, but check to see
2978         if the method is in the hashtable by looking at the IMP also.
2979         Also ... call the method after adding it to the hashtable rather
2980         than before ... thus preventing an obscure possibility of infinite
2981         recursion if a +load method itself loads a subclass.
2983 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
2985         * init.c (__objc_send_message_in_list): When setting a new entry
2986         in __objc_load_methods use the method name as key, not the method
2987         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2989 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2991         * objc-features.texi: Move to ../gcc/objc.texi.
2992         * fdl.texi: Remove.
2993         * Makefile.in: Don't generate documentation from
2994         objc-features.texi.
2996 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2998         * fdl.texi: New file.
2999         * objc-features.texi: Simplify.
3000         * Makefile.in: Adjust accordingly.
3002 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3004         * objc-features.texi: Use the GFDL.
3006 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3008         * encoding.c (REAL_TYPE): Define.
3010 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3012         * encoding.c (TYPE_MODE): Define.
3014 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3016         * thr.c (objc_thread_add): New function.
3017         (objc_thread_remove): Ditto.
3018         * objc/thr.h: Declare them.
3019         * libobjc.def: Mention them.
3021 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3023         * objc-features.texi: Document the @compatibility_alias compiler
3024         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3026 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3028         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3030 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3032         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3033         we're not interested in the result and they might fail.
3034         * configure: Regenerated.
3036 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3038         * objc-features.texi: Use @email.
3040 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3042         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3043         printf.
3045 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3047         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3048         determines the value dynamically.
3050 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3052         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3053         libraries to provide a function that returns the real forwarding
3054         function. This can alleviate problems __builtin_apply() and
3055         friends have on various platforms. (Solution suggested by Helge
3056         Hess.)
3058         * objc/objc-api.h: Define __objc_msg_forward.
3060         * sendmsg.c: Define gen_rtx_REG.
3062 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3064         * thr-rtems.c: New file. Stub to compile.
3066 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3068         * configure: Rebuilt with new libtool.m4.
3070 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3072         * configure.in: Create a config.h file. Check for <sched.h>.
3073         * configure: Regenerate.
3075         * config.h.in: Check for <sched.h>.
3077 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3079         * configure: Regenerate after change to ../libtool.m4.
3081 2000-08-14  Andreas Schwab  <schwab@suse.de>
3083         * objc-features.texi (Top): Move @menu at end of node.
3085 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3087         * objc-features.texi: Move @node Top before @menu.
3089 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3091         * objc-features.texi: Documented the new -fconstant-string-class
3092         option.
3094 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3096         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3097         improve the Posix thread support for Objective-C.
3099 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3101         * aclocal.m4: Replace copy of ../libtool.m4 with
3102         sinclude(../libtool.m4).
3104 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3106         * configure.in: Added libtool support; build shared libraries
3107         if --enable-shared was passed on command line.
3108         * Makefile.in: Modified most compilation commands to use libtool.
3109         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3110         libtool distribution.
3112 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3114         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3115         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3116         <rdb@cup.hp.com>).
3118 2000-05-12  H.J. Lu  (hjl@gnu.org)
3120         * Makefile.in (GTHREAD_FLAGS): New.
3121         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3122         (OBJC_THREAD_FILE): Changed to thr-objc.
3124         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3125         Makefile.
3126         (OBJC_THREAD_FILE): Removed.
3128         * thr-objc.c: New.
3130 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3132         * objc/hash.h: Include string.h.
3134 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3136         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3138 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3140         * Object.m (strlen): Provide prototype on all 64bit platforms,
3141         not only alpha.
3142         * sarray.c (memcpy): Likewise.
3143         * encoding.c (objc_layout_finish_structure): Don't use
3144         ROUND_TYPE_ALIGN on sparc.
3146         * encoding.c (objc_layout_structure_next_member): Do the whole
3147         procedure even for the first member, so that we get correct
3148         alignment.
3150 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3152         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3153         comments.
3155 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3157         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3159 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3161         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3163 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3165         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3166         the compiler when building C code.
3168 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3170         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3171         libdir, libsubdir and tooldir.
3173 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3175         * init.c (__objc_force_linking): Make global.
3177 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3179         * configure.in (AC_EXEEXT): Remove call.
3180         (compiler_name): Explicitly check with no extension and .exe
3181         extension.
3182         * configure: Regenerate.
3184 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3186         * Makefile.in (CC1OBJ): Define in terms of CC.
3187         (runtime-info.h): Use.
3189 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3191         * objc-features.texi: Updated the URL to Boehm's GC page.
3193 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3195         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3196         the char as being signed (patch from Daniel Jacobowitz
3197         <drow@false.org>).
3199 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3201         * configure.in (AC_PREREQ): Update to 2.13.
3202         (AC_EXEEXT): Call to find possible file extension.
3203         (compiler_name): Use.
3204         * configure: Regenerate.
3206 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3208         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3210 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3212         * configure.in (thread_file): Correct and simplify code to find
3213         the thread file.
3214         * configure: Rebuilt.
3216 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3218         * configure.in (compiler_name): Add check to detect if this
3219         language's compiler has been built.
3220         * configure: Regenerate.
3222 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3224         *  configure.in: Use AC_PREREQ(2.12.1).
3226 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3228         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3230 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3232         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3234 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3236         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3238 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3240         * objc-features.texi (Top): Changed the email address.
3241         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3243 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3245         * encoding.c: Redefine get_inner_array_type to get the first entry
3246         in the structure.
3248 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3250         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3251         (objc_get_type_qualifiers): Similarly.
3252         * objc/encoding.h (_C_BYREF): Define.
3253         (_F_BYREF): Define.
3255 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3257         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3258         works out on 64-bit systems.
3260 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3262         * Makefile.in (INCLUDES): Make it multilib-friendly.
3264 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3266         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3268 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3269                          Jeffrey A Law  (law@cygnus.com)
3271         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3272         (FLAGS_TO_PASS): Added.
3273         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3275         * archive.c: Change config.h to tconfig.h.
3277         * configure.in: Find gcc's object directory even for multilibs.
3279 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3281         * configure.in: Escape ^ in grep string.
3282         * configure: Rebuilt.
3284 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3286         * All .h files pushed down into the objc/ subdirectory.
3287         * Makefile.in (copy_headers): Corresponding changes.
3288         * configure.in (AC_INIT): Corresponding changes.
3289         * configure: Rebuilt.
3291 1998-09-30  Ben Elliston  <bje@cygnus.com>
3292             Jeff Law      <law@cygnus.com>
3294         * Makefile.in: Rewrite.
3296         * configure.in: Likewise.
3298         * configure: Regenerate.
3300         * All .c files.  Remove "objc" prefix when including objc header
3301         files.  Include tconfig.h, not ../tconfig.h.
3303 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3305         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3306         (get_inner_array_type): Define.
3308 1998-09-21  Ben Elliston  <bje@cygnus.com>
3310         * New directory.  Moved files from ../gcc/objc.