Update ChangeLog and version files for release
[official-gcc.git] / libobjc / ChangeLog
blob88edc0d86db4f683c6a4f22d2ab9657df0855ff5
1 2016-12-21  Release Manager
3         * GCC 6.3.0 released.
5 2016-08-22  Release Manager
7         * GCC 6.2.0 released.
9 2016-04-27  Release Manager
11         * GCC 6.1.0 released.
13 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
15         Update copyright years.
17 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
19         PR libobjc/24775
20         * encoding.c (_darwin_rs6000_special_round_type_align): Use
21         __CHAR_BIT__ instead of BITS_PER_UNIT.
22         (objc_sizeof_type): Likewise.
23         (objc_layout_structure): Likewise.
24         (objc_layout_structure_next_member): Likewise.
25         (objc_layout_finish_structure): Likewise.
26         (objc_layout_structure_get_info): Likewise.
28 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
30         PR libobjc/24775
31         * encoding.c (objc_layout_finish_structure): Remove usage of
32         ROUND_TYPE_SIZE.
34 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
36         PR libobjc/24775
37         * sendmsg.c (tm.h): Remove include.
39 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
41         PR libobjc/24775
42         * sendmsg.c (gen_rtx): Remove macro.
43         (gen_rtx_MEM): Likewise.
44         (gen_rtx_REG): Likewise.
45         (rtx): Likewise.
47 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
49         PR libobjc/24775
50         * sendmsg.c: Remove check of STRUCT_VALUE macro.
52 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
54         * configure.ac: Remove manual SJLJ check.
55         * config.h.in: Regenerate.
56         * configure: Likewise.
57         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
59 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
61         * aclocal.m4: Regenerated with automake-1.11.6.
63 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
65         * configure: Regenerate.
67 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
69         * acinclude.m4: Include bitfields.m4.
70         * config.h.in: Regenerate.
71         * configure: Likewise.
72         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
73         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
75 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
77         * encoding.c (objc_layout_structure_next_member): Check the value of
78         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
80 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
82         PR libobjc/63765
83         * thr.c (_XOPEN_SOURCE): Remove.
85 2015-01-27  Matthias Klose  <doko@ubuntu.com>
87         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
89 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
91         PR libobjc/51891
92         * ivars.c: Add a check for classes without instance
93         variables, which have a NULL ivar list pointer.
95 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
97         Update copyright years.
99 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
101         PR bootstrap/63784
102         * configure: Regenerated.
104 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
106         PR target/63610
107         * configure: Regenerate.
109 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
111         * thr.c (_XOPEN_SOURCE): Define as 600.
113 2014-07-27  Alan Modra  <amodra@gmail.com>
114             Matthias Klose  <doko@ubuntu.com>
116         PR libobjc/61920
118         * encoding.c: Define rs6000_special_adjust_field_align_p.
120 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
122         Update copyright years
124 2013-09-20  Alan Modra  <amodra@gmail.com>
126         * configure: Regenerate.
128 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
130         * class.c: Fix typos.
131         * encoding.c: Likewise.
132         * init.c: Likewise.
133         * objc-private/runtime.h: Likewise.
134         * objc/runtime.h: Likewise.
135         * objc-sync.c: Likewise.
137 2013-07-04  Kai Tietz  <ktietz@redhat.com>
139         * exception.c: Add check for SjLj to SEH blocks.
141 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
143         Update copyright years.
145 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
147         * encoding.c (TARGET_VSX): Provide definitions based on the
148         current compilation options, and not based off the target options
149         structure.
150         (TARGET_ALTIVEC): Likewise.
151         (TARGET_64BIT): Likewise.
153 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
155         * configure: Regenerated.
157 2012-07-19  Tristan Gingold  <gingold@adacore.com>
158             Richard Henderson  <rth@redhat.com>
160         * exception.c (__gnu_objc_personality_seh0): New function.
162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
164         * configure: Regenerated.
166 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
168         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
169         * configure: Regenerate.
171         * thr.c (_XOPEN_SOURCE): Define unconditionally.
173 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
175         * configure: Regenerate.
177 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
179         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
180         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
181         * configure: Regenerate.
182         * config.h.in: Regenerate.
184 2011-10-17  Paul Brook  <paul@codesourcery.com>
185             Matthias Klose  <doko@ubuntu.com>
187         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
188         ARM EABI toolchains.
189         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
191 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
193         PR libobjc/49883
194         * init.c (__objc_exec_class): Work around a bug in clang's code
195         generation.  Clang sets the class->info field to values different
196         from 0x1 or 0x2 (the only allowed values in the traditional GNU
197         Objective-C runtime ABI) to store some additional information, but
198         this breaks backwards compatibility.  Wipe out all the bits in the
199         fields other than the first two upon loading a class.
201 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
203         * class.c (objc_lookup_class): Added back for compatibility with
204         clang which seems to emit calls to it.
206 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
207             Nicola Pero  <nicola.pero@meta-innovation.com>
209         PR libobjc/50428
210         * sendmsg.c (__objc_send_initialize): If a class does not have an
211         +initialize method, search for an +initialize method in the
212         superclass and in the ancestor classes and execute the first one
213         that is found.  This makes the GNU runtime behave in the same way
214         as the Apple/NeXT runtime with respect to +initialize methods and
215         subclassing.
217 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
219         PR libobjc/50002
220         * class.c (__objc_update_classes_with_methods): Iterate over meta
221         classes as well as normal classes when refreshing the method
222         implementations.  This fixes replacing class methods.
224 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
226         * class.c (class_getSuperclass): Fixed to work with meta classes
227         still in construction too.
229 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
231         * class.c (class_getSuperclass): Fixed typo in comment.
232         
233 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
235         PR libobjc/49882
236         * class.c (class_getSuperclass): Return the superclass if the
237         class is in construction.
238         * objc/runtime.h (class_getSuperclass): Updated documentation.
240 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
242         * Makefile.in (INCLUDES): Search
243         $(srcdir)/$(MULTISRCTOP)../libgcc.
245 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
247         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
249 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
251         * configure.ac (VERSION): Bumped to 4:0:0.
252         * configure (VERSION): Likewise.
254 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
256         * objc/README: Updated.
257         * objc-private/selector.h: Updated comments.
258         
259 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
261         * sendmsg.c (class_get_instance_method): Removed.
262         (class_get_class_method): Removed.
263         (objc_get_uninstalled_dtable): Removed.
265 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
267         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
268         * objects.c (class_create_instance): Removed.
269         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
270         * gc.c (__objc_generate_gc_type_description): Use
271         class_getInstanceSize() instead of class_get_instance_size().
272         * selector.c (sel_types_match): Made static.
273         (sel_get_typed_uid): Removed.
274         (sel_get_any_typed_uid): Removed.
275         (sel_get_name): Removed.
276         (sel_get_type): Removed.
277         (sel_register_name): Removed.
278         (sel_register_typed_name): Removed.
279         (sel_get_uid): Removed.
281 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
283         * encoding.c (method_get_number_of_arguments): Removed.
284         (method_get_sizeof_arguments): Removed.
286 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
288         * class.c (objc_next_class): Removed.
289         (class_pose_as): Removed.
290         (CLASSOF): Removed.
291         (class_table_replace): Removed.
292         (objc_lookup_class): Removed.
294 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
296         Removed the Traditional Objective-C runtime public API.
297         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
298         (install-headers): Do not create the objc/deprecated directory and
299         do not install the deprecated headers.
300         (OBJC_H): Removed encoding.h and objc-api.h.
301         * Object.m: Removed all methods with the exception of -class and
302         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
303         * objc/Object.h: Do not include deprecated/Object.h.
304         * objc/deprecated/Object.h: Removed.
305         * linking.m (__objc_linking): Call [Object class] instead of
306         [Object name].
307         * Protocol.m: Removed all methods with the exception of -isEqual:.
308         Updated includes.
309         * objc/Protocol.h: Do not include deprecated/Protocol.h.
310         * objc/deprecated/Protocol.h: Removed.
311         * objc/deprecated/struct_objc_symtab.h: Removed.
312         * objc/deprecated/struct_objc_module.h: Removed.
313         * objc/deprecated/struct_objc_ivar.h: Removed.
314         * objc/deprecated/struct_objc_ivar_list.h: Removed.
315         * objc/deprecated/struct_objc_method.h: Removed.
316         * objc/deprecated/struct_objc_method_list.h: Removed.
317         * objc/deprecated/struct_objc_protocol_list.h: Removed.
318         * objc/deprecated/struct_objc_category.h: Removed.
319         * objc/deprecated/MetaClass.h: Removed.
320         * objc/deprecated/objc_msg_sendv.h: Removed.  
321         * objc/deprecated/README: Removed.
322         * objc/deprecated/struct_objc_class.h: Removed.
323         * objc/deprecated/struct_objc_protocol.h: Removed.
324         * objc/deprecated/struct_objc_selector.h: Removed.
325         * objc/encoding.h: Removed.
326         * objc/message.h (struct objc_super): Removed the definition for
327         the Traditional Objective-C runtime API.
328         * objc/objc.h: Do not include objc/objc-decls.h.
329         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
330         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
331         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
332         Protocol *.
333         * objc/objc-api.h: Removed.
334         * objc/runtime.h: Updated comments.  Removed check to detect
335         concurrent usage of Traditional and Modern APIs.
336         * objc-private/module-abi-8.h: Always define struct objc_class and
337         struct objc_protocol.  (struct objc_protocol_list): Changed type
338         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
339         (class_get_instance_size): Added.
340         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
341         'struct objc_protocol *' as argument, not a 'Protocol *'.
342         * objc-private/runtime.h: Updated comments.
343         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
344         * class.c: Include objc-private/selector.h.
345         (objc_get_meta_class): Return a Class instead of a MetaClass.
346         * encoding.c (method_get_next_argument): Removed.
347         (method_get_first_argument): Removed.
348         (method_get_nth_argument): Removed.
349         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
350         Include objc-private/module-abi-8.h and ctype.h.
351         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
352         objc_protocl *' as argument, not a 'Protocol *'.
353         (class_addProtocol): Added casts to 'struct objc_protocol *' and
354         'Protocol *'.
355         (class_copyProtocolList): Likewise.
356         (protocol_conformsToProtocol): Likewise.
357         (protocol_copyProtocolList): Likewise.
358         * sarray.c: Include objc-private/module-abi-8.h.
359         * sendmsg.c (method_get_next_argument): Removed.
360         (method_get_first_argument): Removed.
361         (method_get_nth_argument): Removed.
362         (objc_msg_sendv): Removed.
363         (arglist_t, retval_t): New.  (class_get_class_method): Take a
364         'Class', not 'MetaClass', argument.
365         * thr.c: Include module-abi-8.h.
366         
367 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
369         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
370         and objc_get_uninstalled_dtable.h.
371         * objc/deprecated/struct_objc_static_instances.h: Removed.
372         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
373         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
374         and deprecated/objc_get_uninstalled_dtable.h.
375         
376 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
378         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
379         * objc/deprecated/objc_object_alloc.h: Removed.
380         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
381         * objects.c (_objc_object_alloc, _objc_object_dispose,
382         _objc_object_copy): Removed.
383         * libobjc.def (__objc_object_alloc, __objc_object_copy,
384         __objc_object_dispose): Removed.
385         
386 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
388         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
389         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
390         * objc/deprecated/METHOD_NULL.h: Removed.
391         
392 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
394         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
395         objc_malloc.h and objc_unexpected_exception.h.
396         (exception.lo): Do not use -Wno-deprecated-declarations.
397         (exception_gc.lo): Likewise.
398         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
399         deprecated/objc_malloc.h and
400         deprecated/objc_unexpected_exception.h.
401         * objc/deprecated/objc_valloc.h: Removed.
402         * objc/deprecated/objc_malloc.h: Removed.
403         * objc/deprecated/objc_unexpected_exception.h: Removed.
404         * exception.c (_objc_unexpected_exception): Removed.
405         (objc_exception_throw): Do not check for
406         _objc_unexpected_exception.
407         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
408         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
409         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
410         
411 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
413         * objc/objc.h: Do not include deprecated/STR.h.
414         * objc/deprecated/STR.h: Removed.
415         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
416         
417 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
419         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
420         (OBJC_DEPRECATED_H): Likewise.
421         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
422         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
423         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
424         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
425         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
426         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
427         * objc/sarray.h: Removed.
428         * objc/hash.h: Removed.
429         * objc/deprecated/sarray.h: Removed.
430         * objc/deprecated/hash.h: Removed.
431         * objc/Object.h: Do not include objc/deprecated/hash.h
432         * Object.m: Include string.h.
433         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
434         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
435         Removed.
437 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
439         * Object.m ([-forward::]): Removed.
440         * objc/deprecated/Object.h ([-forward::]): Removed.
441         * sendmsg.c (__objc_forward): Updated comments.
442         
443 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
445         * Makefile.in (OBJC_H): Removed objc-list.h.
446         (OBJC_DEPRECATED_H): Removed objc-list.h.
447         * objc/objc-list.h: File removed.
448         * objc/deprecated/objc-list.h: File removed.
450 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
452         * Makefile.in (OBJC_H): Removed typedstream.h.
453         (OBJC_DEPRECATED_H): Removed typedstream.h.
454         (C_SOURCE_FILES): Removed archive.c.
455         (Object.lo): Rule removed.
456         (Object_gc.lo): Likewise.
457         (archive.lo): Likewise.
458         (archive_gc.lo): Likewise.
459         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
460         [-awake]): Removed.
461         Do not include deprecated/typedstream.h.
462         * Object.m: Removed the same methods.
463         * archive.c: File removed.
464         * objc/typedstream.h: File removed.
465         * objc/deprecated/typedstream.h: File removed.
466         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
467         __objc_write_class, __objc_write_object, __objc_write_selector,
468         objc_close_typed_stream, objc_end_of_typed_stream,
469         objc_flush_typed_stream, objc_get_stream_class_version,
470         objc_open_typed_stream, objc_open_typed_stream_for_file,
471         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
472         objc_read_object, objc_read_selector, objc_read_short,
473         objc_read_string, objc_read_type, objc_read_types,
474         objc_read_unsigned_char, objc_read_unsigned_int,
475         objc_read_unsigned_long, objc_read_unsigned_short,
476         objc_write_array, objc_write_char, objc_write_int,
477         objc_write_long, objc_write_object, objc_write_object_reference,
478         objc_write_root_object, objc_write_selector, objc_write_short,
479         objc_write_string, objc_write_string_atomic, objc_write_type,
480         objc_write_types, objc_write_unsigned_char,
481         objc_write_unsigned_int, objc_write_unsigned_long,
482         objc_write_unsigned_short): Removed.
483         
484 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
486         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
487         * objc/deprecated/objc_error.h: Removed.
488         * objc/objc-api.h: Do not include deprecated/objc_error.h.
489         * libobjc.def (objc_error, objc_verror): Removed.
490         * error.c (_objc_error_handler, objc_error, objc_verror,
491         objc_set_error_handler): Removed.
492         * Object.m ([-error:], [-perform:], [-perform:with:],
493         [-perform:with:with], [-subclassResponsibility:],
494         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
495         Removed.
496         * objc/deprecated/Object.h: Removed the same methods.
497         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
498         method after trying to invoke the "doesNotRecognize:" method.
499         
500 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
502         * sendmsg.c: Reindented part of the file.  No non-trivial changes
503         in code.
505 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
507         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
508         not objc_lookup_class.
510 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
511             David Ayers  <ayers@fsfe.org>
513         PR libobjc/38307
514         * sendmsg.c: Include objc/hash.h.
515         (get_implementation): New function, mostly with code from get_imp
516         updated to support the new +initialize dispatch table logic.
517         (get_imp): Use get_implementation.
518         (__objc_responds_to): Updated to support the new +initialize
519         dispatch table logic.
520         (class_respondsToSelector): Likewise.
521         (objc_msg_lookup): Use get_implementation.
522         (__objc_init_install_dtable): Removed.
523         (__objc_install_methods_in_dtable): Updated arguments.
524         (__objc_install_dispatch_table_for_class): Renamed to
525         __objc_install_dtable_for_class and updated to support the new
526         +initialize dispatch table logic.
527         (__objc_update_dispatch_table_for_class): Updated to support the
528         new +initialize dispatch table logic.
529         (__objc_forward): Call get_implementation instead of get_imp.
530         (prepared_dtable_table): New.
531         (__objc_prepare_dtable_for_class): New. 
532         (__objc_prepared_dtable_for_class): New.
533         (__objc_get_prepared_imp): New.
534         (__objc_install_prepared_dtable_for_class): New.
535         
536 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
538         PR libobjc/48177
539         * selector.c (__sel_register_typed_name): Use sel_types_match()
540         instead of strcmp() to compare selector types (Suggestion by
541         Richard Frith-Macdonald <rfm@gnu.org>).
543 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
545         PR libobjc/32037
546         * Makefile.in (OBJC_GCFLAGS): Move ...
547         * configure.ac (enable_objc_gc): ... here.
548         Add $(libsuffix) to OBJC_BOEHM_GC.
549         * configure: Regenerate.
551 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
552         
553         * selector.c (sel_getTypedSelector): Return NULL if there are
554         multiple selectors with conflicting types.
555         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
556         
557 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
559         PR libobjc/47922
560         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
561         a hardcoded "!".
563 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
565         * configure: Regenerate.
567 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
569         * init.c (create_tree_of_subclasses_inherited_from): Use
570         class_superclass_of_class instead of assuming a class is
571         unresolved when it could be resolved.  Tidied up assignment and
572         check.
573         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
574         (objc_tree_insert_class): Tidied up loop; return immediately upon
575         inserting a class.
576         (__objc_exec_class): Do not set __objc_class_tree_list.
577         
578 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
580         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
581         argument.
582         (sel_registerTypedName): Same.
583         (sel_registerName): Same.
584         * objc/runtime.h: Updated documentation.
585         
586 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
588         * objc/runtime.h (class_addIvar): Updated documentation.  The
589         alignment is actually the log_2 of the alignment in bytes.
590         * ivars.c (class_addIvar): Corresponding change to the
591         implementation.
592         
593 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
595         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
596         be consistent with method_getTypeEncoding and
597         ivar_getTypeEncoding.
598         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
599         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
600         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
601         (sel_get_type): Updated call to sel_getType.
602         
603 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
605         * objc/runtime.h (class_conformsToProtocol,
606         class_copyProtocolList): Updated documentation.
608 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
610         * init.c (create_tree_of_subclasses_inherited_from): Updated
611         DEBUG_PRINTF messages.
612         (__objc_tree_insert_class): Same.
613         (__objc_send_load_using_method_list): Same.
614         (__objc_send_load): Same.
615         (__objc_exec_class): Same.  In particular, do not print the module
616         name since it is no longer used.
617         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
618         tracking +initialize calls.
619         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
620         tracking updates of dispatch tables.
621         (__objc_install_dispatch_table_for_class): Same.
622         
623 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
625         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
626         (libobjc_gc$(libsuffix).la): Likewise.
628 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
630         * sendmsg.c (class_addMethod): Return NO if the method already
631         exists in the class.
633 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
635         * init.c (duplicate_classes): New.
636         (__objc_exec_class): Initialize duplicate_classes.
637         (__objc_create_classes_tree): Ignore classes in the
638         duplicate_classes table.
639         (__objc_call_load_callback): Same.
640         (__objc_init_class): If a duplicate class is found, add it to
641         duplicate_classes instead of aborting.  Return YES if the class is
642         not a duplicate, and NO if it is.
643         * objc-private/runtime.h (__objc_init_class): Updated prototype.
645 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
647         * objc-private/objc-list.h: Reindented file.  No code changes.
648         * objc-private/sarray.h: Same change.
650 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
652         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
653         file is never compiled with C++.
654         * objc-private/hash.h: Same change.
655         * objc-private/objc-list.h: Same change.
656         * objc-private/objc-sync.h: Same change.
657         * objc-private/protocols.h: Same change.
658         * objc-private/runtime.h: Same change.
659         * objc-private/sarray.h: Same change.
660         * objc-private/selector.h: Same change.
662 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
664         PR libobjc/18764
665         * class.c (__objc_add_class_to_hash): Return YES if the class was
666         added, and NO if it already existed.
667         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
668         NO, then abort the program with an error message.
669         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
670         declaration.
672 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
674         * init.c (_objc_load_callback): Initialize with 0.
675         (__objc_call_callback): Renamed to __objc_call_load_callback.
676         Check _objc_load_callback only once, and if it is not set, return
677         immediately.
678         (objc_send_load): Updated call to __objc_call_callback.
679         
680 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
682         PR libobjc/16110
683         * init.c (__objc_send_message_in_list): Renamed to
684         __objc_send_load_using_method_list.  Do not take an 'op' argument.
685         Register the 'load' selector if needed.
686         (__objc_send_load): Do not register the 'load' selector.  Updated
687         call to __objc_send_message_in_list.
688         (__objc_create_classes_tree): Add the class of any claimed
689         category that was loaded in the module to the list of classes for
690         which we try to execute +load.
691         
692 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
694         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
695         Updated comments.
696         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
697         a pointer using DEBUG_PRINTF.
698         
699 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
701         PR libobjc/45953
702         * selector.c (__sel_register_typed_name): When registering a new
703         selector with the same name as an existing one, reuse the existing
704         name string.  Also updated types, casts and comments in the whole
705         function.
707 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
709         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
710         to be 'struct objc_selector *' and not 'SEL'.
711         * init.c (__objc_exec_class): Call
712         __objc_register_selectors_from_module instead of iterating over
713         each selector and calling __sel_register_typed_name for each.
714         * objc-private/selector.h: Declare
715         __objc_register_selectors_from_module instead of
716         __sel_register_typed_name.
717         * selector.c (__objc_register_selectors_from_module): New.
718         (__sel_register_typed_name): Made static.
719         
720 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
722         * linking.m: Do not include objc/NXConstStr.h.
724 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
725         
726         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
727         * objc-private/common.h (DEBUG_PRINTF): To here.
728         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
729         
730 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
732         * hash.c: Tidied up comments and indentation.  No code changes.
734 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
736         PR libobjc/47012
737         * accessors.m (objc_getProperty): If not atomic, do not
738         retain/autorelease the returned value.
740 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
742         * objc-private/runtime.h (__objc_selector_max_index,
743         __objc_init_selector_tables, __objc_register_selectors_from_class,
744         __objc_register_selectors_from_list,
745         __objc_register_selectors_from_description_list): Moved to ...
746         * objc-private/selector.h: ... here.
748 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
750         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
751         (__objc_print_dtable_stats): Removed.
752         (__sel_register_typed_name): Removed.
753         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
754         
755 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
757         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
758         if appropriate, after loading the module.
760 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
762         * sendmsg.c (method_setImplementation): Do not declare.
764 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
766         * objc/message.h: Updated comments.
767         * objc/runtime.h: Updated comments.
768         
769 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
771         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
772         * protocols.c: Updated all calls to objc_lookupClass to call
773         objc_lookUpClass instead.
774         * sendmsg.c (objc_lookupClass): Do not declare.
775         (get_imp): Update call to objc_lookupClass to call
776         objc_lookUpClass instead.
777         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
779 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
781         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
782         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
783         define.  Updated comments.
784         
785 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
787         * objc/encoding.h: Updated comments.
788         * objc/runtime.h: Updated comments.
789         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
790         (objc_sizeof_type): Same.
791         (objc_alignof_type): Same.
792         (objc_aligned_size): Same.
793         (objc_promoted_size): Same.
794         (objc_skip_type_qualifiers): Same.
795         (objc_skip_typespec): Same.
796         (objc_skip_offset): Same.
797         (objc_skip_argspec): Same.
798         (objc_get_type_qualifiers): Same.
799         (objc_layout_structure): Same.
800         (objc_layout_structure_next_member): Same.
801         (objc_layout_finish_structure): Same.
802         (objc_layout_structure_get_info): Same.
803         
804 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
806         * init.c: Updated comments.
807         * objc/objc-api.h: Updated comments.
808         * objc/runtime.h (_objc_load_callback): Declare.
809         
810 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
812         * objc/Object.h: Include deprecated/typedstream.h and
813         deprecated/hash.h instead of typedstream.h.  Updated comments.
815 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
817         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
818         * objc/deprecated/objc_msg_sendv.h: New.
819         * objc/message.h: Do not define retval_t, apply_t, arglist,
820         arglist_t, objc_msg_sendv, now in
821         objc/deprecated/objc_msg_sendv.h.
822         * objc/objc.h: Do not include message.h; include
823         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
824         * sendmsg.c: Include objc/message.h.
825         * thr.c: Include objc/message.h.
826         
827 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
829         * objc/objc-exception.h: Include objc-decls.h.  Mark all
830         functions with objc_EXPORT.
831         * objc/objc-sync.h: Same change.
833 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
835         * Protocol.m: Moved all methods, with the exception of -isEqual:,
836         into the 'Deprecated' category.
837         * objc/Protocol.h: Removed all methods, moved to
838         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
839         * objc/deprecated/Protocol.h: New.
840         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
841         
842 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
844         * init.c: Include objc-private/selector.h.  Do not declare
845         __sel_register_typed_name.
846         * objc-private/selector.h (__sel_register_typed_name): Declare.
847         * selector.c: Include objc-private/selector.h.
848         
849 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
851         * class.c: Tidied up comments and indentation.  No code changes.
852         * error.c: Same.
853         * exception.c: Same.
854         * init.c: Same.
855         * ivars.c: Same.
856         * memory.c: Same.
857         * objc-foreach.c: Same.
858         * objc-sync.c: Same.
859         * objects.c: Same.
860         * protocols.c: Same.
861         * sarray.c: Same.
862         * thr.c: Same.
864 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
866         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
867         instead of objc/objc-api.h.
868         (init_check_module_version): Take a 'struct objc_module *'
869         argument instead of 'Module_t'.  Use 'struct objc_module *'
870         instead of 'Module_t'.
871         (__objc_created_classes_tree): Take a 'struct objc_module *'
872         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
873         of 'Symtab_t'.
874         (__objc_call_callback): Take a 'struct objc_module *' argument
875         instead of 'Module_t'; use 'struct objc_symtab *' instead of
876         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
877         (_objc_load_callback): Take a 'struct objc_category *' argument
878         instead of 'Category *'.
879         (class_superclass_of_class): Use objc_getClass() instead of
880         objc_lookup_class().
881         (create_tree_of_subclasses_inherited_from): Same change (also, use
882         an explicit 'if' instead of '?').
883         (objc_init_statics): Same change.
884         (objc_send_load): Same change.
885         (__objc_init_protocol): same change.
886         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
887         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
888         instead of 'Method_t'.
889         (__objc_send_load): Use 'struct objc_method_list *' instead of
890         'MethodList_t'.  Use sel_registerName() instead of
891         sel_register_name().
892         (__objc_exec_class): Take a 'struct objc_module *' argument
893         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
894         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
895         Use 'struct objc_category *' instead of 'Category_t'.
896         
897 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
899         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
900         Include objc-private/module-abi-8.h and objc-private/selector.h
901         instead of objc/encoding.h.
902         (objc_msg_lookup_super): Use super->super_class instead of
903         super->class.
904         (method_get_first_argument, method_get_next_argument): Declare
905         locally.
906         (class_get_instance_method): Declare before using.
907         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
908         (__objc_init_dispatch_tables, __objc_send_initialize): Use
909         sel_registerName() instead of sel_register_name().
910         (__objc_forward): Use sel_getName() instead of sel_get_name().
911         (objc_get_uninstalled_dtable): Use 'void' as argument.
912         * objc-private/selector.h: New.
914 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
916         * objc/message.h (objc_super): When using the modern API, do not
917         define Super and Super_t, and always use 'super_class' for the
918         super class field.      
919         (objc_msg_lookup_super): Updated prototype to use 'struct
920         objc_super *' instead of 'Super_t'.
921         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
922         'struct objc_super *' instead of 'Super_t'.
924 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
926         * objc/message.h: Update comments, reindented code and moved
927         deprecated types and functions at the end of the file.  No code
928         changes.
930 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
932         * ivars.c (class_addIvar): Use the 'size' argument instead of
933         trying to calculate it using objc_sizeof_type().
934         * objc/runtime.h (class_addIvar): Updated comments.
935         
936 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
938         * sendmsg.c: Reindented some code and tidied up comments.  No
939         actual code changes.
940         
941 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
943         * objc/Object.h: Moved all the methods, with the exception of
944         -class and -isEqual:, into ...
945         * objc/deprecated/Object.h: here.
946         * Object.m: Moved all the methods, with the exception of -class
947         and -isEqual: into the 'Deprecated' category.
949 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
951         * objects.c (object_copy): Do not #undef as we are no longer
952         including objc/objc-api.h.
953         * selector.c: Include objc/runtime.h and
954         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
955         objc/encoding.h.  Updated
956         (__objc_register_selectors_from_class): Use struct
957         objc_method_list * instead of MethodList_t.
958         (__objc_register_selectors_from_list): Use Method instead of
959         Method_t.
960         (struct objc_method_description_list): Do not define here.
961         (__objc_register_instance_methods_to_class): Use struct
962         objc_method_list * instead of MethodList_t and Method instead of
963         Method_t.
964         
965 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
967         * selector.c: Reindented some code and tidied up comments.  No
968         actual code changes.
970 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
972         * encoding.c (_darwin_rs6000_special_round_type_align): New.
973         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
975 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
977         * sendmsg.c (selector_resolveClassMethod): New.
978         (selector_resolveInstanceMethod): New.
979         (__objc_resolve_class_method): New.
980         (__objc_resolve_instance_method): New.
981         (get_imp): Call __objc_resolve_class_method or
982         __objc_resolve_instance_method at the appropriate time.
983         (objc_msg_lookup): Same.
984         (class_getClassMethod): Same.   
985         (class_getInstanceMethod): Same.
986         (__objc_init_dispatch_tables): Initialize
987         selector_resolveClassMethod and selector_resolveInstanceMethod.
988         * objc/runtime.h: Updated documentation of class_getClassMethod,
989         class_getInstanceMethod and class_getMethodImplementation.
990         
991 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
993         * objc-private/module-abi-8.h (struct objc_symtab): Updated
994         description of sel_ref_cnt and refs.
995         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
996         
997 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
999         PR target/40125
1000         PR lto/46695
1001         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1002         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1003         * aclocal.m4: Regenerate.
1004         * configure: Regenerate.
1006 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
1008         * configure.ac (VERSION): Bump the version to 3:0:0.
1009         * configure: Regenerate.
1011 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1013         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1014         pass nil as the receiver since we don't know the receiver at this
1015         point.
1016         
1017 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1019         * ivars.c: Include stdlib.h.
1020         * protocols.c: Same change.
1022 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1024         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1025         * accessors.m: New.
1026         * init.c: Include objc-private/accessors.h.
1027         (__objc_exec_class): Call __objc_accessors_init.
1028         * objc-private/accessors.h: New.
1030 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1032         * objc/message.h: Moved initial includes outside of extern "C".
1033         * objc/runtime.h: Add extern "C" for Objective-C++.
1035 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1037         * init.c (objc_send_load): Do not wait for NXConstantString to be
1038         registered before executing +load.  There is no point if
1039         -fconstant-string-class=xxx is used when compiling all modules,
1040         as is the case for almost all users.
1041         * linking.m (__objc_linking): Do not try to forcefully link in
1042         NXConstantString.
1044 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1046         * objc/runtime.h: Updated comments.
1047         (class_addMethod): New.
1048         (class_addIvar): New.
1049         (class_replaceMethod): New.
1050         (objc_allocateClassPair): New.
1051         (objc_registerClassPair): New.
1052         (objc_disposeClassPair): New.
1053         * class.c (objc_allocateClassPair): New.
1054         (objc_registerClassPair): New.
1055         (objc_disposeClassPair): New.
1056         (class_getSuperclass): Return Nil if a class is in construction.
1057         * init.c (__objc_exec_class): Call __objc_init_class.
1058         (__objc_init_class): New.
1059         * ivars.c (class_copyIvarList): Return NULL if class is in
1060         construction.  Do not lock the runtime mutex.
1061         (class_getInstanceVariable): Return NULL if class is in
1062         construction.  Do not lock the runtime mutex.
1063         (class_addIvar): New.
1064         * sendmsg.c (class_addMethod): New.
1065         (class_replaceMethod): New.
1066         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1067         (_CLS_IN_CONSTRUCTION): New.
1068         (CLS_IS_IN_CONSTRUCTION): New.
1069         (CLS_SET_IN_CONSTRUCTION): New.
1070         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1071         * objc-private/runtime.h (__objc_init_class): New.
1073 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1075         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1076         if the class is not resolved yet.
1077         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1078         
1079 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1081         * objc/runtime.h (class_getIvarLayout): New.
1082         (class_getWeakIvarLayout): New.
1083         (class_setIvarLayout): New.
1084         (class_setWeakIvarLayout): New.
1085         * ivars.c (class_getIvarLayout): New.
1086         (class_getWeakIvarLayout): New.
1087         (class_setIvarLayout): New.
1088         (class_setWeakIvarLayout): New. 
1090 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1091         
1092         * objc/runtime.h (class_copyPropertyList): New.
1093         (class_getProperty): New.
1094         (property_getAttributes): New.
1095         (property_getName): New.
1096         * ivars.c (class_copyPropertyList): New.
1097         (class_getProperty): New.
1098         (property_getAttributes): New.
1099         (property_getName): New.
1100         
1101 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1103         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1104         * class.c (__objc_update_classes_with_methods): New.
1105         (objc_getClassList): Do not lock the class lock.
1106         * methods.c (method_exchangeImplementations): New.
1107         (method_setImplementation): New.
1108         * objc/runtime.h (method_setImplementation): New.
1109         (method_exchangeImplementations): New.
1110         
1111 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1113         * Protocol.m: Include objc/runtime.h and
1114         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1115         repeat Protocol's instance variables.
1116         (struct objc_method_description_list): Do not define here.
1117         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1118         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1119         selectors directly instead of getting names and then using strcmp.
1120         ([descriptionForClassMethod:]): Same change.
1121         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1122         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1123         to compare selectors directly instead of getting names and then
1124         using strcmp.
1125         * objc/Protocol.h: Updated comments.
1126         
1127 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1129         * init.c (__objc_init_protocol): New function which fixes up a
1130         protocol's class pointer, registers it with the runtime, register
1131         all protocol selectors and registers associated protocols too.
1132         (objc_init_statics): Detect if we are initializing protocols, and
1133         if so, use __objc_init_protocol instead of only fixing up the
1134         class pointer.
1135         (__objc_init_protocls): Use __objc_init_protocol.
1136         * objc-private/module-abi-8.h: Updated comments.
1137         * objc-private/runtime.h
1138         (__objc_register_selectors_from_description_list): New.
1139         * selector.c (__objc_register_selectors_from_description_list):
1140         New.  (struct objc_method_description_list): Declare.
1141         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1142         when accessing the name of a method, which is now correctly a SEL.
1143         ([-descriptionForClassMethod:]): Same change.
1144         * protocols.c (protocol_getMethodDescription): Same change.
1145         * objc/runtime.h: Updated comments.
1146         (sel_registerTypedName): Fixed typo in function name.
1147         
1148 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1150         PR libobjc/23214
1151         * init.c (objc_init_statics): Do not skip the initialization of a
1152         statics list if the first object has already been initialized; in
1153         the case of Protocols, while the first one may have been
1154         initialized, some others may not have been initialized yet.
1156 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1158         * Makefile.in (OBJC_DEPRECATED_H): Added
1159         objc_get_uninstalled_dtable, objc_object_alloc.h and
1160         struct_objc_static_instances.h.
1162 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1164         * encoding.c (method_copyReturnType): New.
1165         (method_copyArgumentType): New.
1166         (method_getReturnType): New.
1167         (method_getArgumentType): New.
1168         * methods.c (method_getDescription): New.
1169         * objc/runtime.h (method_copyReturnType): New.
1170         (method_copyArgumentType): New.
1171         (method_getReturnType): New.
1172         (method_getArgumentType): New.
1173         (method_getDescription): New.
1174         
1175 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1177         * encoding.c: Tidied up comments.
1178         (objc_skip_variable_name): New static inline function.
1179         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1180         the same code over and over.
1181         (objc_alignof_type): Same.
1182         (objc_aligned_size): Same.
1183         (objc_promoted_size): Same.
1184         (objc_skip_typespec): Same.
1185         (objc_layout_structure_next_member): Same.
1186         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1187         historical bug where objc_skip_offset would skip one byte even if
1188         there is no offset: check that the first offset digit is actually
1189         a digit before skipping it.
1190         (objc_skip_type_qualifiers): Mark as inline.
1191         (objc_skip_typespec): Mark as inline.   
1192         
1193 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1195         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1196         * encoding.c (method_getNumberOfArguments): New.
1197         (method_get_number_of_arguments): Call
1198         method_getNumberOfArguments.
1199         * ivars.c (ivar_getName): Check for NULL variable argument.
1200         (ivar_getOffset): Check for NULL variable argument.
1201         (ivar_getTypeEncoding): Check for NULL variable argument.
1202         (class_copyIvarList): New.
1203         * methods.c: New.
1204         * protocols.c (class_copyProtocolList): Check for Nil class_
1205         argument.
1206         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1207         'struct objc_method_list *' instead of MethodList_t.
1208         (class_getMethodImplementation): New.
1209         (class_respondsToSelector): New.
1210         (class_getInstanceMethod): New.
1211         (class_getClassMethod): New.
1212         * objc/runtime.h: Updated comments.
1213         (class_copyIvarList): New.
1214         (class_getInstanceMethod): New.
1215         (class_getClassMethod): New.
1216         (class_getMethodImplementation): New.
1217         (class_respondsToSelector): New.
1218         (method_getName): New.
1219         (method_getImplementation): New.
1220         (method_getTypeEncoding): New.
1221         (class_copyMethodList): New.
1222         (method_getNumberOfArguments): New.
1223         
1224 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1226         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1227         instead of objc/objc-api.h.
1228         (objc_get_unknown_class_handler): Do not define.
1229         (class_isMetaClass): New.
1230         (class_getSuperclass): New.
1231         (class_getVersion): New.
1232         (class_setVersion): New.
1233         (class_getInstanceSize): New.
1234         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1235         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1236         objc_get_super_class.
1237         (get_ttype_entry): Use objc_getRequiredClass instead of
1238         objc_get_class.
1239         * ivars.c (class_getClassVariable): New.
1240         * objects.c: Include objc/runtime.h, objc/thr.h and
1241         objc-private/module-abi-8.h instead of objc/objc-api.h
1242         * objc/runtime.h (class_getClassVariable): New.
1243         (class_isMetaClass): New.
1244         (class_getSuperclass): New.
1245         (class_getVersion): New.
1246         (class_setVersion): New.
1247         (class_getInstanceSize): New.
1248         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1249         objc/objc-api.h)
1250         (__CLS_INFO): Same.
1251         (__CLS_ISINFO): Same.
1252         (__CLS_SETINFO): Same.
1253         (CLS_ISMETA): Same.
1254         (CLS_ISCLASS): Same.
1255         (CLS_ISRESOLV): Same.
1256         (CLS_SETRESOLV): Same.
1257         (CLS_ISINITIALIZED): Same.
1258         (CLS_SETINITIALIZED): Same.
1259         (CLS_GETNUMBER): Same.
1260         (CLS_SETNUMBER): Same.
1262 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1264         * archive.c: Do not include objc/objc.h.
1265         * class.c: Do not include objc/objc.h.
1266         * encoding.c: Include objc/runtime.h, ctype.h and
1267         objc-private/module-abi-8.h instead of objc/objc-api.h and
1268         objc/encoding.h.
1269         * error.c: Do not include objc/objc.h.
1270         * gc.c: Include tconfig.h and objc/encoding.h only if
1271         OBJC_WITH_GC.
1272         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1273         objc/objc-api.h.  Do not include objc/objc.h.
1274         * init.c: Do not include objc/objc.h.
1275         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1276         objc/thr.h instead of objc/objc-api.h.  Do not include
1277         objc/objc.h.
1278         * linking.m: Tidied comment.
1279         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1280         Do not include objc/objc.h.
1281         * objects.c: Do not include objc/objc.h.
1282         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1283         * protocols.c: Do not include objc/objc.h.
1284         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1285         not include objc/objc.h.
1286         * selector.c: Do not include objc/objc.h.
1287         * sendmsg.c: Do not include objc/objc.h.        
1288         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1289         Do not include objc/objc.h.
1290         * objc/objc-decls.h: Reindented code.
1291         * objc/runtime.h Include objc-decls.h.  Updated comments.
1292         (objc_malloc): New.
1293         (objc_atomic_malloc): New.
1294         (objc_calloc): New.
1295         (objc_realloc): New.
1296         (objc_free): New.
1297         * objc-private/runtime.h: Updated comments.
1298         
1299 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1301         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1302         * objc-private/protocols.h: New.
1303         * protocols.c: New.
1304         * init.c: Include objc-private/protocols.h.
1305         (__objc_exec_class): Call __objc_protocols_init on startup.
1306         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1307         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1308         of MethodList_t, and (struct objc_method *) instead of Method_t.
1309         * objc/deprecated/struct_objc_class.h: Define
1310         __objc_STRUCT_OBJC_CLASS_defined.
1311         * objc-private/module-abi-8.h (struct
1312         objc_method_description_list): New.
1313         (struct objc_class): Only define if
1314         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1315         * objc/runtime.h (class_getName): New.
1316         (objc_getProtocol): New.
1317         (objc_copyProtocolList): New.
1318         (class_addProtocol): New.
1319         (class_conformsToProtocol): New.
1320         (class_copyProtocolList): New.
1321         (protocol_conformsToProtocol): New.
1322         (protocol_isEqual): New.
1323         (protocol_getName): New.
1324         (protocol_getMethodDescription): New.
1325         (protocol_copyMethodDescriptionList): New.
1326         (protocol_getProperty): New.
1327         (protocol_copyPropertyList): New.
1328         (protocol_copyProtocolList): New.
1329         * class.c (class_getName): New.
1330         * selector.c (sel_isEqual): New.
1331         
1332 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1334         * selector.c (sel_getName): Return "<null selector>" for a NULL
1335         argument.
1336         (sel_get_name): Return 0 for a NULL argument.
1337         * objc/runtime.h (sel_getName): Updated documentation.
1339         * objc-private/hash.h (class_hash_table): Unused declaration
1340         removed.
1341         (module_hash_table): Same.
1342         * objc/deprecated/hash.h: Same changes.
1343         
1344 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1346         * class.c (objc_getClassList): New.
1347         (objc_getRequiredClass): New.
1348         (objc_getMetaClass): New.
1349         (objc_lookupClass): New.
1350         (objc_getClass): New.
1351         (__objc_get_unknown_class_handler): New.
1352         (objc_setGetUnknownClassHandler): New.
1353         (objc_get_class): Use __objc_get_unknown_class_handler.
1354         (objc_lookup_class): Call objc_getClass.
1355         * objc/objc-api.h: Updated comment and copyright notice.
1356         * objc/runtime.h: Updated comments.
1357         (objc_getClass): New.
1358         (objc_lookupClass): New.
1359         (objc_getMetaClass): New.
1360         (objc_getRequiredClass): New.
1361         (objc_getClassList): New.
1362         (objc_setGetUnknownClassHandler): New.
1363         (objc_get_unknown_class_handler): New.
1364         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1365         instead of __objc_runtime_INCLUDE_GNU as include guard.
1366         * objc-private/error.h (_objc_abort): Mark as noreturn.
1367         
1368 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1370         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1371         * ivars.c: New.
1372         * objc/objc.h: Updated comments.
1373         * objc/runtime.h (object_getClass): New.
1374         (object_getClassName): New.
1375         (object_setClass): New.
1376         (class_getInstanceVariable): New.
1377         (object_getIndexedIvars): New.
1378         (object_getInstanceVariable): New.
1379         (object_setInstanceVariable): New.
1380         (object_getIvar): New.
1381         (object_setIvar): New.  
1382         (ivar_getName): New.
1383         (ivar_getOffset): New.
1384         (ivar_getTypeEncoding): New.
1385         * objc-private/module-abi-8.h (struct objc_class): Added.
1386         * objects.c (object_getClassName): New.
1387         (object_setClass): New.
1388         
1389 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1391         * objc/objc.h: Updated comments.
1392         * objc/objc-api.h: (object_copy): Added one argument; use a
1393         #define to maintain backwards-compatibility.  Moved
1394         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1395         objc_get_uninstalled_dtable into
1396         objc/deprecated/objc_get_uninstalled_dtable.h and
1397         objc/deprecated/objc_object_alloc.h.  Include these files.
1398         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1399         * objc/deprecated/objc_object_alloc.h: New.
1400         * objc/runtime.h (set_getName): New.
1401         (sel_getType): New.
1402         (sel_getUid): New.
1403         (sel_registerName): New.
1404         (sel_registerTypedName): New.
1405         (sel_isEqual): New.
1406         (class_createInstance): New.
1407         (object_copy): New.
1408         (object_dispose): New.
1409         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1410         building the garbage collection version.
1411         (__objc_object_alloc): Removed.
1412         (__objc_object_copy): Removed.
1413         (__objc_object_dispose): Removed.
1414         (class_createInstance): New from code in class_create_instance.
1415         Cast second argument of GC_malloc_explicitly_typed.  Use
1416         objc_calloc.  Do not call _objc_object_alloc.
1417         (class_create_instance): Call class_createInstance.
1418         (object_copy): Added extraBytes argument.  Do not call
1419         _objc_object_copy.
1420         (object_dispose): Do not call _objc_object_dispose.
1421         * memory.c (objc_free): When using garbage collection, mark the
1422         argument as unused.
1423         * selector.c (sel_getName): New.
1424         (sel_get_name): Call sel_getName.
1425         (sel_getType): New.
1426         (sel_get_type): Call sel_getType.
1427         (sel_registerName): New.
1428         (sel_register_name): Call sel_registerName.
1429         (sel_registerTypedName): New.
1430         (sel_register_typed_name): Call sel_registerTypedName.
1431         (sel_getUid): New.
1432         (sel_get_uid): Call sel_getUid.
1433         
1434 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1436         * objc/objc-api.h: Define Method, Method_t, Category and
1437         Category_t.  Prevent including this file at the same time as
1438         objc/runtime.h.  Updated comments.
1439         * objc/deprecated/struct_objc_method.h: Do not define Method,
1440         Method_t.
1441         * objc/deprecated/struct_objc_category.h: Do not define Category,
1442         Category_t.
1443         * objc-private/module-abi-8.h: New file containing a copy of all
1444         the structure definitions.  Not used yet.
1445         * objc/encoding.h (objc_aligned_size): Removed duplicate
1446         declaration.  Updated comments.
1447         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1448         Category, struct objc_method_description, _C_ID and similar,
1449         _C_CONST and similar and _F_CONST and similar.  Added
1450         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1451         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1452         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1453         struct objc_struct_layout, objc_layout_structure,
1454         objc_layout_structure_next_member, objc_layout_finish_structure,
1455         objc_layout_structure_get_info.  Prevent including this file at
1456         the same time as objc/objc-api.h.
1457         
1458 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1460         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1461         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1462         struct_objc_method_list.h, struct_objc_module.h,
1463         struct_objc_protocol_list.h, struct_objc_symtab.h.
1464         * objc/deprecated/struct_objc_category.h: New.
1465         * objc/deprecated/struct_objc_ivar.h: New.
1466         * objc/deprecated/struct_objc_ivar_list.h: New.
1467         * objc/deprecated/struct_objc_method.h: New.
1468         * objc/deprecated/struct_objc_method_list.h: New.
1469         * objc/deprecated/struct_objc_module.h: New.
1470         * objc/deprecated/struct_objc_protocol_list.h: New.
1471         * objc/deprecated/struct_objc_symtab.h: New.
1472         * objc/deprecated/struct_objc_static_instances.h: New.
1473         * objc/objc-api.h: Definitions of deprecated structures moved into
1474         the above header fragment files in objc/deprecated/.  Include the
1475         files instead of definition the structures here.  Updated
1476         comments.
1477         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1478         (objc_set_enumeration_mutation_handler): Renamed to
1479         objc_setEnumerationMutationHandler.
1480         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1481         to objc_setEnumerationMutationHandler.
1482         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1483         objc_setExceptionMatcher.
1484         (objc_set_uncaught_exception_handler): Renamed to
1485         objc_setUncaughtExceptionHandler.
1486         * exception.c: Same changes.
1488 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1490         * objc-sync.c: Include objc-private/common.h.
1492 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1494         * objc-foreach.c: Include objc-private/common.h.
1495         * objc/deprecated/METHOD_NULL.h: New file.
1496         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1497         defining METHOD_NULL here.
1498         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1499         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1500         METHOD_NULL.
1501         ([-respondsTo:]): Same change.
1502         * objc/objc-api.h (method_get_imp): Converted it into a normal
1503         function so that we can hide the internals of struct objc_method.
1504         * sendmsg.c (method_get_imp): Implemented.
1506 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1508         * objc/objc-api.h (struct objc_super, Super, Super_t,
1509         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1510         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1511         message.h here.
1512         * objc/message.h: Added such declarations; updated comments.
1514 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1516         Implemented fast enumeration for Objective-C.
1517         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1518         (OBJC_H): Added runtime.h
1519         * objc-foreach.c: New file.
1520         * objc/runtime.h: New file.
1521         
1522 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1524         * objc/deprecated/struct_objc_class.h: Add padding
1525         to avoid warning with -Wpadded.
1527 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1529         * encoding.c (objc_sizeof_type): Added support for vector type and
1530         for double long types.  
1531         (objc_alignof_type): Same change.
1532         (objc_skip_typespec): Same change.
1533         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1534         instead of '!' since '!' is already used for _C_VECTOR.
1535         * objc/objc-api.h (_C_LNG_DBL): Added.
1536         
1537 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1539         * libobjc_entry.c: File removed.
1541 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1543         * sendmsg.c (objc_msg_lookup): Remove inline.
1544         (objc_get_uninstalled_dtable): Likewise.
1545         * encoding.c (objc_skip_type_qualifiers): Likewise.
1546         (objc_skip_offset): Likewise.
1547         * archive.c (__objc_write_object): Likewise
1548         (__objc_write_class):
1549         (__objc_write_selector):
1550         (objc_read_char):
1551         (objc_read_unsigned_char):
1552         (objc_read_short):
1553         (objc_read_unsigned_short):
1554         (objc_read_int):
1555         (objc_read_long):
1556         (__objc_read_nbyte_uint):
1557         (objc_read_unsigned_int):
1558         (objc_read_unsigned_long):
1559         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1560         (objc_EXPORT): Likewise.
1561         * objc/message.h (objc-decls.h): Add include.
1562         * objc/objc-api.h: Mark API by objc_EXPORT.
1563         * libobjc.def (__objc_responds_to): Removed.
1565 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1567         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1569         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1570         objc/sarray.h replaced with a placeholder including the file from
1571         the deprecated/ directory.
1572         * objc-private/sarray.h: New file (private copy of sarray.h).
1573         * hash.c: Include <assert.h> instead of "assert.h"
1574         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1575         objc-private/sarray.h instead of objc/sarray.h.
1576         * selector.c: Include objc-private/sarray.h instead of
1577         objc/sarray.h.
1578         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1579         instead of objc/sarray.h.
1580         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1582 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1584         * objc-private/objc-list.h (list_remove_elem): Unused function
1585         removed.  (list_nth): Unused function removed.  (list_find):
1586         Unused function removed.  (list_lenght): Unused function removed.
1587         
1588 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1590         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1591         replaced with a placeholder including the file from the
1592         deprecated/ directory.
1593         * objc/objc-api.h: Updated includes.
1594         * objc/typedstream.h: Updated includes.
1595         * objc-private/hash.h: New file (private copy of hash.h).
1596         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1597         objc/objc-list.h replaced with a placeholder including the file
1598         from the deprecated/ directory.
1599         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1600         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1601         instead of objc/hash.h and objc/objc-list.h.
1602         * selector.c: Same change.
1603         * class.c: Added include <string.h>, which used to be implicitly included
1604         when hash.h was included.
1605         * exception.c: Same change.
1606         * objects.c: Same change.
1607         * sarray.c: Same change.
1608         * sendmsg.c: Same change.
1609         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1611 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1613         Implemented objc_sync_enter() and objc_sync_exit(), which are
1614         required by @synchronized() to work.
1615         * objc-sync.c: New file.
1616         * objc/objc-sync.h: New file.
1617         * objc-private/objc-sync.h: New file.
1618         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1619         Objective-C runtime startup.
1620         * Makefile.in: Added objc-sync.c and objc-sync.h.
1621         * configure.ac: Added GCC_CHECK_TLS.
1622         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1623         * configure: Regenerated.
1624         * config.h.in: Regenerated.
1625         
1626 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1628         * Makefile.in (%_gc.lo): New pattern rules to build the
1629         garbage-collected version of the library.  Removed rules for
1630         specific files that are no longer needed.  Standardized all rules.
1631         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1632         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1633         OBJC_SOURCE_FILES.
1634         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1636 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1637         
1638         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1639         with Garbage Colletion.
1640         
1641 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1643         * memory.c: Do not include objc-private/runtime.h.
1645 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1646         
1647         * objc/deprecated/objc_malloc.h: New file.
1648         * objc/deprecated/objc_valloc.h: New file.
1649         * objc/objc-api.h: Include the files instead of defining
1650         objc_valloc, _objc_malloc() and similar.
1651         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1652         objc_malloc.h.
1653         * memory.c: Removed the extra layer of indirection of _objc_malloc
1654         and similar.
1655         (objc_calloc): Use GC_malloc in the garbage-collected
1656         implementation as GC_malloc returns memory that is already freed.
1657         (objc_valloc): Deprecated.      
1658         
1659 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1661         * objc/deprecated/objc_error.h: New file.
1662         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1663         defining objc_error and related.
1664         * error.c: New file.  Added _objc_abort function which replaces
1665         objc_error.  No change in functionality as they both print an
1666         error and abort.
1667         * misc.c: File removed.  Code moved into memory.c and error.c.
1668         * memory.c: New file.
1669         * objc-private/error.h: New file.
1670         * archive.c: Include objc-private/error.h and use _objc_abort
1671         instead of objc_error everywhere.
1672         * class.c: Same change.
1673         * encoding.c: Same change.
1674         * init.c: Same change, and simplified init_check_module_version.
1675         * memory.c: Same change.
1676         * sendmsg.c:  Same change.
1677         * thr.c: Same change.
1678         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1679         (OBJ_H): Reordered list.
1680         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1681         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1682         (misc_gc.lo): Rule removed.
1683         (error_gc.lo): Rule added.
1684         (memory_gc.lo): Rule added.
1685         
1686 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1688         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1689         to check the API version.  Added some comments.
1691         * objc-private/common.h: New file.
1692         * NXConstStr.m: Include objc-private/common.h.
1693         * Object.m: Same change.
1694         * Protocol.m: Same change.
1695         * archive.c: Same change.
1696         * class.c: Same change.
1697         * encoding.c: Same change.
1698         * exception.c: Same change.
1699         * gc.c: Same change.
1700         * hash.c: Same change.
1701         * init.c: Same change.
1702         * libobjc_entry.c: Same change.
1703         * linking.m: Same change.
1704         * misc.c: Same change (and added a comment).
1705         * nil_method.c: Same change.
1706         * objects.c: Same change.
1707         * sarray.c: Same change.
1708         * selector.c: Same change.
1709         * sendmsg.c: Same change.
1710         * thr.c: Same change.
1712 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1714         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1716 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1718         * archive.c: Removed not needed includes.
1719         * class.c: Same change.
1720         * hash.c: Same change.
1721         * misc.c: Same change.
1722         * nil_method.c: Same change.
1723         * objects.c: Same change.
1724         * sarray.c: Same change.
1725         * sendmsg.c: Same change.
1726         * thr.c: Same change.
1728 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1730         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1731         all the objc/*.h files.
1732         * objc-private/runtime.h: New file.
1733         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1734         files) instead of objc/runtime.h.
1735         * class.c: Same change.
1736         * hash.c: Same change.
1737         * init.c: Same change.
1738         * misc.c: Same change.
1739         * nil_method.c: Same change.
1740         * objects.c: Same change.
1741         * sarray.c: Same change.
1742         * selector.c: Same change.
1743         * sendmsg.c: Same change.
1744         * thr.c: Same change.
1745         
1746 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1748         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1749         'struct objc_selector' and 'sel_eq' moved here.
1750         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1751         'struct objc_procotol' moved here.
1752         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1753         'struct objc_class' moved here.
1754         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1755         moved here.
1756         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1757         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1758         arglist, arglist_t and objc_msg_lookup were moved here.
1759         * objc/objc.h: Include the above files instead of defining the
1760         corresponding structs, types and functions here.  Added new opaque
1761         definitions for SEL and Class.  Use Class and not 'struct
1762         objc_class *' in the definition of 'struct objc_object'.
1763         Commented all types defined in the file.  Removed special
1764         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1765         there as well.
1766         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1767         objc_unexpected_exception.h.
1768         * objc/objc-api.h: Updated include of
1769         objc-unexpetected-exception.h
1770         * objc/objc-exception.h: Updated comments.
1771         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1772         files.  Reindented list of files.
1773         
1774 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1776         * objc/objc-api.h (objc_trace): Unused variable removed.
1778 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1780         * objc/deprecated: New directory.
1781         * objc/deprecated/README: New file.
1782         * objc/README: New file.
1783         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1784         objc/typedstream.h replaced with a placeholder including the file
1785         from the deprecated/ directory.
1786         * objc/deprecated/objc-unexpected-exception.h: New file with the
1787         definition of _objc_unexpected_exception.       
1788         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1789         instead of defining _objc_unexpected_exception.
1790         * objc/deprecated/Object.h: New file with the deprecated Object
1791         methods in a 'Deprecated' category.
1792         * objc/Object.h Include deprecated/Object.h instead of defining
1793         the deprecated methods.
1794         * Object.m: Moved deprecated methods into 'Deprecated' category.
1795         * objc-private: New directory.
1796         * objc-private/README: New file.
1797         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1798         (install-headers): Create installation directory for
1799         OBJC_DEPRECATED_H headers, and install them.
1801 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1803         * objc/objc-exception.h: Fixed include of objc.h.
1804         
1805 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1807         * objc/objc-exception.h: New file.
1808         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1809         (objc_set_exception_matcher): Implemented.
1810         (objc_exception_throw): Use the uncaught exception handler if set.
1811         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1812         hardcoded isKindOf.
1813         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1814         up.  Removed segmentation fault when value is 'nil'.
1815         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1816         deprecated.
1817         * Makefile.in (exception.lo, exception_gc.lo): Use
1818         -Wno-deprecated-declarations when compiling.
1819         (OBJC_H): Added objc-exception.h
1821 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1823         * objc/typedstream.h: Deprecate all functions in the file.  This
1824         file is obsolete.
1825         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1826         [-awake]): Documented that these methods are deprecated.  Added a
1827         brief description of the Object class and its relationship to the
1828         NSObject class.
1829         * Makefile.in: Compile archive.c and Object.m with
1830         -Wno-deprecated-declarations.
1832 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1834         Removed obsolete intermediate threading layer.
1835         * thr.c: Use __gthread_objc_xxx functions directly instead of
1836         __objc_thread_xxx ones.
1837         * objc/thr.h: Removed prototypes of no longer existing
1838         __objc_thread_xxx functions.
1839         * Makefile.in: Removed thr-objc.lo.
1840         * thr-dce.c: File removed.
1841         * thr-decosf1.c: File removed.
1842         * thr-irix.c: File removed.
1843         * thr-mach.c: File removed.
1844         * thr-objc.c: File removed.
1845         * thr-os2.c: File removed.
1846         * thr-posix.c: File removed.
1847         * thr-pthreads.c: File removed.
1848         * thr-rtems.c: File removed.
1849         * thr-single.c: File removed.
1850         * thr-solaris.c: File removed.
1851         * thr-vxworks.c: File removed.
1852         * thr-win32.c: File removed.
1853         * README.threads: File removed.
1854         * THREADS.MACH: File removed.
1855         * THREADS: Updated.
1857 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1859         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1861 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1863         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1864         Add a comment as to why, update FIXME comments.
1866 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1868         * makefile.dos: Obsolete file removed.
1869         
1870 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1872         * aclocal.m4: Regenerate.
1874 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1876         PR libobjc/30445
1877         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1878         Cygwin and MinGW hosts.
1879         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1880         (libobjc.dll): Likewise.
1881         * configure: Regenerate.
1883 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1885         * configure: Regenerate.
1887 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1889         * sarray.c (sarray_free): Use old_buckets variable.
1890         * encoding.c (objc_layout_structure_next_member): Remove unused
1891         bfld_type_size variable.
1893 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1895         * configure.ac (AC_PREREQ): Bump to 2.64.
1897 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1899         * aclocal.m4: Regenerate.
1900         * configure: Regenerate.
1901         * config.h.in: Regenerate.
1903 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1905         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1907 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1909         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1910         New variables.
1911         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1913 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1915         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1917 2009-04-09  Nick Clifton  <nickc@redhat.com>
1919         * sendmsg.c: Change copyright header to refer to version 3 of
1920         the GNU General Public License with version 3.1 of the GCC
1921         Runtime Library Exception and to point readers at the COPYING3
1922         and COPYING3.RUNTIME files and the FSF's license web page.
1923         * NXConstStr.m: Likewise.
1924         * Object.m: Likewise.
1925         * Protocol.m: Likewise.
1926         * archive.c: Likewise.
1927         * class.c: Likewise.
1928         * encoding.c: Likewise.
1929         * exception.c: Likewise.
1930         * gc.c: Likewise.
1931         * hash.c: Likewise.
1932         * init.c: Likewise.
1933         * libobjc_entry.c: Likewise.
1934         * linking.m: Likewise.
1935         * misc.c: Likewise.
1936         * nil_method.c: Likewise.
1937         * objc/NXConstStr.h: Likewise.
1938         * objc/Object.h: Likewise.
1939         * objc/Protocol.h: Likewise.
1940         * objc/encoding.h: Likewise.
1941         * objc/hash.h: Likewise.
1942         * objc/objc-api.h: Likewise.
1943         * objc/objc-decls.h: Likewise.
1944         * objc/objc-list.h: Likewise.
1945         * objc/objc.h: Likewise.
1946         * objc/runtime.h: Likewise.
1947         * objc/sarray.h: Likewise.
1948         * objc/thr.h: Likewise.
1949         * objc/typedstream.h: Likewise.
1950         * objects.c: Likewise.
1951         * sarray.c: Likewise.
1952         * selector.c: Likewise.
1953         * thr-dce.c: Likewise.
1954         * thr-decosf1.c: Likewise.
1955         * thr-irix.c: Likewise.
1956         * thr-mach.c: Likewise.
1957         * thr-objc.c: Likewise.
1958         * thr-os2.c: Likewise.
1959         * thr-posix.c: Likewise.
1960         * thr-pthreads.c: Likewise.
1961         * thr-rtems.c: Likewise.
1962         * thr-single.c: Likewise.
1963         * thr-solaris.c: Likewise.
1964         * thr-vxworks.c: Likewise.
1965         * thr-win32.c: Likewise.
1966         * thr.c: Likewise.
1967         * libobjc.def: Change copyright header to refer to version 3 of
1968         the GNU General Public License and to point readers at the COPYING3
1969         file and the FSF's license web page.
1970         * makefile.dos: Likewise.
1972 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
1974         * Makefile.in: Change copyright header to refer to version
1975         3 of the GNU General Public License and to point readers at the
1976         COPYING3 file and the FSF's license web page.
1977         * configure.ac: Likewise.
1979 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1980             David Ayers  <ayers@fsfe.org>
1982         PR libobjc/27466
1983         * objc/objc-api.h (_objc_unexpected_exception): Declare
1984         new hook.  Update copyright dates.
1985         * exception.c (objc_exception_throw): Use hook.  Update
1986         copyright dates.
1987         * libobjc.def (_objc_unexpected_exception): Export hook.
1988         Update copyright dates.
1989         
1990 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1992         * configure: Regenerate.
1994 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1996         * configure: Regenerate.
1998 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2000         *  Object.m (errno): Replaced by errno.h include.
2001         (compare): Cast self to id to prevent warning on comparison.
2002         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2003         already there.
2004         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2005         * thr-win32.c (__objc_thread_detach): Remove type warning.
2006         (__objc_thread_id): Likewise.
2007         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2008         for noreturn.
2010 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2011             Steve Ellcey  <sje@cup.hp.com>
2013         * configure: Regenerate for new libtool.
2014         * config.h.in: Regenerate for new libtool.
2016 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2018         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
2020 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2022         * Makefile.in: Include ../boehm-gc/threads.mk. 
2023         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2025 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2027         * Makefile.in (install-info): New stub target.
2029 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2031         * configure: Regenerate.
2033 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2035         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2036         if HAVE_GETIPINFO is not defined.
2038 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2040         * Object.m (compare): Add type id.
2041         * objc/Object.h: Likewise.
2042         * archive.c (objc_read_class): Use size_t to extend version to be
2043         size of pointer scalar width.
2044         * sendmsg.c (rtx): Undefine it before redefinition.
2045         (__objc_print_dtable_stats): Cast arguments to long as intended.
2047 2008-05-30  Julian Brown  <julian@codesourcery.com>
2049         * exception.c (__objc_exception_class): Initialise as constant
2050         array for ARM EABI. Change macro to static const for non-ARM EABI.
2051         (ObjcException): Add note about structure layout. Remove landingPad
2052         and handlerSwitchValue for ARM EABI.
2053         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2054         of function.
2055         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2056         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2057         ARM EABI unwinding support.
2058         (objc_exception_throw): Use memcpy to initialise exception class.
2060 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2062         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2063         (rs6000_special_round_type_align): Update.
2065 2008-05-09  Julian Brown  <julian@codesourcery.com>
2067         * Makefile.in (LTLDFLAGS): New.
2068         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2070 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2072         PR bootstrap/35457
2073         * aclocal.m4: Regenerate.
2074         * configure: Regenerate.
2076 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2078         * configure: Regenerate.
2080 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2082         * configure.ac: Don't run config-ml.in directly.
2083         (multilib_arg): New.
2084         * configure: Regenerated.
2086 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2088         PR libobjc/30731
2089         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2090         of _Unwind_Word for variables which are used in
2091         read_uleb128/read_sleb128.
2092         (PERSONALITY_FUNCTION): Likewise.
2094 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2096         * aclocal.m4: Regenerated.
2098 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2100         * configure.ac: Fix a typo in *-*-darwin clause.
2101         * configure: Regenerated.
2103 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2105         * configure.ac: Fix a typo.
2106         * configure: Regenerated.
2108 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2110         * configure: Regenerate.
2112 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2114         * Makefile.in: Replace all uses of libext with libsuffix.
2115         * configure.ac: Likewise.
2116         * configure: Regenerate.
2118         Revert:
2119         * Makefile.in: Remove all uses of $(libext).
2121 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2123         * Makefile.in: Remove all uses of $(libext).
2125 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2127         * configure: Regenerate.
2128         * aclocal.m4: Regenerate.
2130 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2132         * sendmsg.c (__objc_get_forward_imp): Call
2133         __objc_msg_forward2 for real.
2135 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2137         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2138         external libraries to provide a function that returns the real
2139         forwarding function based on both the selector and the receiver.
2140         * objc/objc-api.h: Define __objc_msg_forward2.
2142 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2144         * Makefile.in: Add dummy install-pdf target.
2146 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2148         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2149         unused warning.
2150         
2151 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2153         * encoding.c (darwin_rs6000_special_round_type_align): New.
2155 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2157         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2158         * configure.ac: Use multi.m4 from aclocal rather than custom
2159         code.  Use multi_basedir instead of toplevel_srcdir.
2160         * aclocal.m4: Regenerate.
2161         * configure: Regenerate.
2163 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2165         * Makefile.in: Added empty "pdf" target.
2167 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2169         * configure: Regenerate.
2171 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2173         * Makefile.in: Add install-html target. Add install-html to .PHONY
2175 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2177         PR libobjc/26309
2178         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2180 2006-01-24  David Ayers  <d.ayers@inode.at>
2182         PR libobjc/9751
2183         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2184         and insure the new strings are '\0' termintated.
2186 2006-01-24  David Ayers  <d.ayers@inode.at>
2188         PR libobjc/13946
2189         * configure.ac: Add include directives for --enable-objc-gc.
2190         * Makefile.in: Ditto.
2191         * configure: Regenerate.
2193         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2194         instead of the local pointer to them.
2196 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2198         PR objc/25360
2199         * objc/objc-api.c (_C_COMPLEX): New define.
2200         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2201         (objc_alignof_type): Likewise.
2202         (objc_skip_typespec): Likewise.
2204 2005-12-15  David Ayers  <d.ayers@inode.at>
2206         PR libobjc/14382
2207         * README (+load,+initialize): Fix documentation to reflect
2208         intended and implemented semantics for +load and +initialize.
2209         
2210 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2212         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2213         the name.
2214         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2215         (rs6000_special_round_type_align): Update for the ABI fix.
2216         (objc_layout_finish_structure): Correct the encoding which is passed to
2217         ROUND_TYPE_ALIGN.
2219 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2221         PR libobjc/25347
2222         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2223         but use the struct layout functions.
2224         (objc_alignof_type): Likewise.
2225         (objc_layout_structure): Handle _C_UNION_B also.
2226         (objc_layout_structure_next_member): Likewise.
2227         (objc_layout_finish_structure): Likewise.
2229 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2231         PR libobjc/25346
2232         * objc/objc-api.h (_C_BOOL): New define.
2233         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2234         (objc_alignof_type): Likewise.
2235         (objc_skip_typespec): Likewise.
2237 2005-11-20  David Ayers  <d.ayers@inode.at>
2239         PR libobjc/19024
2240         * objc/hash.h: Remove deprecated hash API.
2241         * hash_compat.c: Remove.
2242         * Makefile.in: Remove reference to hash_compat.c.
2244         * configure.ac (VERSION): Bump library version to 2:0:0.
2245         * configure: Regenerate.
2247 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2249         PR other/4372
2250         * thr-objc.c (_XOPEN_SOURCE): Define.
2252 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2254         PR libobjc/23612
2255         * objc/objc-api.h (struct objc_ivar): Move definition to
2256         global scope.
2258 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2259             Rasmus Hahn  <rassahah@neofonie.de>
2261         PR libobjc/23108
2262         * archive.c (objc_write_type): Correct the element offset.
2263         (objc_read_type): Likewise.
2265 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2267         * All files: Update FSF address.
2269 2005-08-13  Marcin Koziej  <creep@desk.pl>
2270             Andrew Pinski  <pinskia@physics.uc.edu>
2272         PR libobjc/22492
2273         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2275 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2277         * Makefile.in (extra_ldflags_libobjc): New.
2278         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2279         (libobjc_gc$(libext).la): Likewise.
2280         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2281         "-Wl,-single_module".
2282         * configure: Regenerate.
2283         * linking.m (_objcInit): Remove.
2285 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2287         PR libobjc/22606
2288         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2290 2005-06-08  David Ayers  <d.ayers@inode.at>
2292         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2293         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2294         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2295         objc/typedstream.h: Do not include Objective-C headers as
2296         system headers.
2298 2005-06-07  David Ayers  <d.ayers@inode.at>
2300         * archive.c, init.c, selector.c: Include hash.h.
2301         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2302         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2303         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2304         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2305         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2306         Include Objective-C headers with quotes and objc/ directory
2307         prefix.
2309 2005-05-19  Richard Henderson  <rth@redhat.com>
2311         * exception.c: Revert last change.
2313 2005-05-19  David Ayers  <d.ayers@inode.at>
2315         * exception.c: Include tsystem.h for unwind.h.
2317 2005-05-09  Mike Stump  <mrs@apple.com>
2319         * configure: Regenerate.
2321 2005-04-12  Mike Stump  <mrs@apple.com>
2323         * configure: Regenerate.
2325 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2327         * Makefile.in: Set gcc_version here.
2328         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2329         in definition of toolexeclibdir so that $(gcc_version) is expanded
2330         by the Makefile.
2331         * aclocal.m4, configure: Regenerate.
2333 2005-03-03  David Ayers  <d.ayers@inode.at>
2335         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2336         version reference.  Correct typo.
2338 2005-03-02  David Ayers  <d.ayers@inode.at>
2340         PR libobjc/19024
2341         * Makefile.in (OBJS): Add hash_compat.lo.
2342         (OBJS_GC): Add hash_compat_gc.lo.
2343         (hash_compat_gc.lo): New target and rule.
2344         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2345         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2346         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2347         with objc_.  Add deprecated non prefixed inlined versions.
2348         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2349         declarations.
2350         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2351         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2352         update callers.
2353         * hash_compat.c: New file.
2354         * archive.c: Update callers.
2355         * init.c: Likewise.
2356         * selector.c: Likewise.
2357         * libobjc.def: Add objc_ versions of hash functions.
2359 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2361         PR libobjc/20252
2362         * Makefile.in (GTHREAD_FLAGS): Remove.
2363         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2364         * thr-objc.c: Include config.h.
2365         * configure.ac: Instead of looking at GCC's makefile, figure out if
2366         GTHREAD_FLAGS should be defined by looking at the `thread model'
2367         of the current gcc.
2368         * configure: Regenerate.
2369         * config.h.in: Regenerate.
2371 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2373         PR bootstrap/17383
2374         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2375         (Determine CFLAGS for gthread): Use $host_subdir.
2376         * configure: Regenerate.
2377         * Makefile.in (host_subdir): New.
2378         (INCLUDES): Use it.
2380 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2382         PR libobjc/12035
2383         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2384         they are not used.
2385         Include limits.h and stdlib.h.
2386         Define BITS_PER_WORD.
2388 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2390         * selector.c (__objc_init_selector_tables): Add missing void to
2391         definition.
2393 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2395         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2396         * configure, aclocal.m4: Regenerate.
2398 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2400         * configure: Regenerate for libtool change.
2402 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2404         * configure: Regenerate for libtool reversion.
2406 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2408         * configure: Regenerate for libtool change.
2410 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2412         * aclocal.m4, config.h.in: Regenerate.
2414 2004-10-08  Mike Stump  <mrs@apple.com>
2415             Andrew Pinski  <pinskia@physics.uc.edu>
2417         * aclocal.m4: Rename to ...
2418         * acinclude.m4: here and also use m4_include instead of sinclude.
2419         * aclocal.m4: Regenerate.
2420         * configure: Regenerate.
2421         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2422         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2424 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2426         * archive.c: Fix all the warnings about passing unsigned char*
2427         to char* and the other way too.
2429 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2431         PR libobjc/16448
2432         * exception.c: Include config.h
2433         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2434         SJLJ_EXCEPTIONS.
2435         * configure.ac: Find out what exception handling code we use.
2436         * configure: Regenerate.
2437         * config.h.in: New file, regenerate.
2439 2004-09-16  Andrew Pinski  <apinski@apple.com>
2441         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2443 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2445         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2446         ACX_NONCANONICAL_TARGET.
2447         * configure: Regenerate.
2449 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2451         * objc/sarray.h: Hoist include of assert.h near the top of file,
2452         and mark the remainder of the file 'extern "C"'.
2454 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2456         * objc/Object.h: Move includes out of extern "C" blocks.
2457         * objc/encoding.h: Likewise.
2458         * objc/hash.h: Likewise.
2459         * objc/objc-api.h: Likewise.
2460         * objc/runtime.h: Likewise.
2461         * objc/sarray.h: Likewise.
2462         * objc/typedstream.h: Likewise.
2464 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2466         * objc/NXConstStr.h: Update copyright date; bracket with
2467         'extern "C"' for C++ use; make include syntax consistent
2468         by using <...> instead of "..."; hoist <objc/...> includes
2469         above the 'extern "C"' block.
2470         * objc/Object.h: Likewise.
2471         * objc/Protocol.h: Likewise.
2472         * objc/encoding.h: Likewise.
2473         * objc/hash.h: Likewise.
2474         * objc/runtime.h: Likewise.
2475         * objc/sarray.h: Likewise.
2476         * objc/thr.h: Likewise.
2477         * objc/typedstream.h: Likewise.
2478         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2479         (objc_static_instances): For C++ case, do away with
2480         zero-sized array.
2481         (objc_method): Hoist definition to file scope.
2482         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2483         class_get_instance_method, class_create_instance,
2484         class_get_class_name, class_get_instance_size,
2485         class_get_meta_class, class_get_super_class, class_get_version,
2486         class_is_class, class_is_meta_class, class_set_version,
2487         class_get_gc_object_type, class_ivar_set_gcinvisible,
2488         get_imp): Rename 'class' parameter to '_class'.
2489         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2490         * objc/objc.h: Update copyright date.
2491         (arglist_t): Provide a union tag.
2493 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2495         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2496         but instead use the attribute noreturn.
2498 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2500         * encoding.c: Rename target_flags with a #define to avoid
2501         conflict with a prior declaration.
2503 2004-06-24  Andrew Pinski  <apinski@apple.com>
2505         * objc/encoding.h: Wrap the functions with extern "C" for C++
2506         mode.
2507         * objc/hash.h: Likewise.
2508         * objc/objc-api.h: Likewise.
2509         * objc/objc-list.h: Likewise.
2510         * objc/runtime.h: Likewise.
2511         * objc/sarray.h: Likewise.
2512         * objc/thr.h: Likewise.
2513         * objc/typedstream.h: Likewise.
2516 2004-06-21  Nick Clifton  <nickc@redhat.com>
2518         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2519         provided.
2521 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2523         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2524         (exception_gc.lo): New.
2525         (OBJS_GC): Add exception_gc.lo.
2527 2004-06-17  Richard Henderson  <rth@redhat.com>
2529         * exception.c: New file.
2530         * Makefile.in (exception.lo): New.
2531         (OBJS): Add it.
2533 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2535         * linking.m (_objcInit): New empty function
2536         for Darwin only.
2538 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2540         * configure.ac: Support --enable-shared=libobjc.
2541         * configure: Regenerate.
2543         PR libobjc/15901
2544         * configure.ac: Do not disable shared by default.
2545         * configure: Regenerate.
2547 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2549         * Protocol.m ([-isEqual:]): Small optimizations returning
2550         immediately if the argument is equal to self, and accessing
2551         the argument's name directly if it's a protocol.
2553 2004-06-03  David Ayers  <d.ayers@inode.at>
2555         * Protocol.m ([-isEqual:]): Test the class of the argument.
2557 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2559         * configure.ac (includedir): Rename to ...
2560         (includedirname).
2561         * Makefile.in: s/includedir/includedirname/.
2563         PR target/11572
2564         * configure.ac (includedir): Set to "include"
2565         except for Darwin.
2566         (libext) Set to empty except for Darwin.
2567         * configure: Regenerate
2568         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2569         s/include/$(includedir)/g.
2571 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2573         * Makefile.in: Add .NOEXPORT.
2575 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2577         Merge from the libobjc-branch
2578         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2580                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2582         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2584                 * Makefile.in (OBJC_H): Add objc-deps.h.
2586         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2588                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2589                 ([-hash], [-isEqual:]): New methods.
2591         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2593                 * sarray.c (sarray_free): Add a better comment.
2595         2004-01-27  Adam Fedor  <fedor@gnu.org>
2597                 * hash.c (hash_add): Cast cachep to int.
2598                 * selector.c (__sel_register_typed_name): Cast
2599                 soffset_decode to int.
2601         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2603                 * selector.c: Rename register_selectors_from_list to
2604                 __objc_register_selectors_from_list. Update caller.
2605                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2606                 while registering selectors. Use __sel_register_typed_name instead
2607                 of sel_register_typed_name. Check for NULL method_name:s.
2608                 (pool_alloc_selector): New function.
2609                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2610                 selector structures.
2611                 * sendmsg.c (class_add_method_list): Use
2612                 __objc_register_selectors_from_list.
2613                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2615         2004-01-25  Adam Fedor  <fedor@gnu.org>
2616                     Nicola Pero  <n.pero@mi.flashnet.it>
2617                     Andrew Pinski  <pinskia@physics.uc.edu>
2619                 * objc/objc-decls.h: New file.
2620                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2621                 (_objc_load_callback): Likewise.
2622                 (_objc_object_alloc): Likewise.
2623                 (_objc_object_copy): Likewise.
2624                 (_objc_object_dispose): Likewise.
2626         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2628                 * archive.c: s/__inline__/inline
2629                 * sendmsg.c: Likewise.
2631                 * encoding.c: Remove FIXME about the warning
2632                 about unused variable.
2633                 * sendmsg.c: Add a FIXME comment saying that
2634                 this should be using libffi.
2636                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2639 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2641         * archive.c (objc_read_class): Initialize class_name.
2642         (objc_read_selector): Initialize selector_name.
2644 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2646         * Makefile.in (toolexecdir): Remove trailing space.
2648 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2650         PR libobjc/14948
2651         * configure.ac: De-precious CC so multilibs work.
2652         * configure: Regenerate.
2654 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2656         * configure.ac: Restore toolexecdir.
2657         * Makefile.in: Restore toolexecdir.
2658         * configure: Regenerate.
2660 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2662         * configure.ac: Remove (unused) glibcpp_prefixdir.
2663         * configure: Regenerate.
2665         * configure.in: Rename to configure.ac.
2666         * Makefile.in: Update to match.
2668         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2669         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2670         * configure.in: Remove glibcpp_toolexecdir (unused).
2671         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2672         config.h or stamp-h (unused).  Move one comment to the right place.
2673         * configure: Regenerate.
2674         * config.h.in: Remove (unused).
2676         * config.h.in: Regenerate with autoheader.
2678         * Makefile.in: Remove (unused) gcc_version_trigger.
2679         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2680         gcc_version_trigger.
2681         * configure: Regenerate.
2683         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2684         Sort file into sections.  Remove dnl where appropriate.  Fix
2685         other style issues.
2686         * configure: Regenerate.
2688         * configure.in: Replace old AC_PROG_CC hack with new one.
2689         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2690         are no subdirectory output files, so this is fine).  Change prereq
2691         to autoconf 2.59.
2692         * aclocal.m4: Include ../config/no-executables.m4.
2693         * configure: Regenerate with autoconf 2.59.
2695         * configure.in: Improve comments on gthread_cflags.  Improve m4
2696         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2697         * configure: Regenerate.
2699         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2700         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2701         redundant checks for values of RANLIB, AR, INSTALL.
2702         * configure: Regenerate.
2704         * configure.in: Clean up handling of
2705         --enable-version-specific-runtime-libs and related variables;
2706         replace 'if test' with 'case' where reasonable.  Fix comments.
2707         Remove useless libstdcxx_interface.
2708         * configure: Regenerate.
2710         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2711         Replace uses of target_alias with target_noncanonical.
2712         * aclocal.m4: Include ../config/acx.m4.
2713         * configure: Regenerate.
2714         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2715         Fix copyright statement.
2717         * configure.in: Hand-inline bulky, confusing macros from
2718         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2719         Update copyright notice.  Remove stuff for automake, which isn't
2720         used in this directory.  Remove emacs local variables.
2721         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2722         * configure: Regenerate.
2724 2004-03-16  Manfred Hollstein  <mh@suse.com>
2726         * Makefile.in, configure.in, configure: Update copyright years.
2728 2004-03-15  Manfred Hollstein  <mh@suse.com>
2730         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2731         definition from configure.in.
2732         * configure.in (PACKAGE): Add definition.
2733         (VERSION): Add definition; substitute it in output files.
2734         * configure: Re-generate.
2736 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2738         * objc/hash.h (hash_string, compare_strings):
2739         Add type-casts to make Objective-C++ happy.
2740         * objc/typedstream.h (objc_get_stream_class_version):
2741         Rename parameter from 'class' to 'class_name' to make
2742         Objective-C++ happy.
2744 2004-03-01  Michael Matz  <matz@suse.de>
2746         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2748 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2750         * objc/objc-api.h (objc_super): The 'class' field shall
2751         be named 'super_class' #ifdef __cplusplus.
2753 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2755         PR target/10781
2756         * encoding.c (rs6000_special_round_type_align): Define.
2758 2004-01-14  Adam Fedor  <fedor@gnu.org>
2760         PR libobjc/12155
2761         * selector.c (__objc_register_instance_methods_to_class): Free
2762         new_list if not used.
2764 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2766         PR libobjc/11904
2767         * sarray.c (sarray_free): Free array->is_copy_of latter.
2769 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2771         PR 11433
2772         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2773         instance_methods if it's NULL.
2774         (descriptionForClassMethod): Likewise for class_methods.
2776 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2778         * Makefile.in (runtime-info.h): Remove -Wp.
2780 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2782         * Makefile.in (CC1OBJ): Remove.
2783         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2784         correctly.
2785         Use .m extension for temporary file.
2786         Remove assembler temp file.
2788 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2790         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2792 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2794         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2796 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2798         * configure: Regenerate.
2800 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2802         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2803         (libdir)/gcc-lib/ when installing.
2804         * configure: Regenerate.
2806 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2808         libobjc/9969
2809         * sendmsg.c (get_imp): Fixed rare threading problem.
2810         (__objc_responds_to): Similar fixes.
2811         (objc_msg_lookup): Similar fixes.
2812         (__objc_init_install_dtable): Lock the runtime before checking if the
2813         table is installed.
2815 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2817         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2818         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2819         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2820         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2821         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2822         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2823         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2824         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2825         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2826         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2827         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2829 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2830                           Nicola Pero  <n.pero@mi.flashnet.it>
2832         libobjc/10742
2833         * init.c (class_superclass_of_class): New function.
2834         (create_tree_of_subclasses_inherited_from): Use it.
2835         (__objc_tree_insert_class): Likewise.
2836         (class_is_subclass_of_class): Likewise.
2838 2003-04-11  David Chad  <davidc@freebsd.org>
2839             Loren J. Rittle  <ljrittle@acm.org>
2841         libobjc/8562
2842         * objc/hash.h (hash_string): Constify correctly.
2843         (compare_ptrs): Use direct compare.
2844         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2845         * objc/sarray.h: Global rename index to indx to avoid shadow.
2847 2003-03-12  Andreas Schwab  <schwab@suse.de>
2849         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2850         glibcpp_toolexeclibdir.
2851         * configure: Rebuilt.
2853 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2855         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2856         config.status.
2857         * configure: Rebuilt.
2859 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2861         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2862         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2863         version_specific_libs is enabled.
2864         * configure: Rebuilt.
2866 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2868         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2869         (install-libs, install-headers): Prepend $(DESTDIR) to
2870         destination paths in all (un)installation commands.
2872 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2874         * thr-objc.c: Include coretypes.h and tm.h.
2876 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2878         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2880 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2882         * configure.in: Remove skip-this-dir support.
2883         * configure: Regenerate.
2885 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2887         * Makefile.in (all): Fix multilib parallel build.
2889 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2891         * sendmsg.c (nil_method): Declare not to take a variable number of
2892         args.
2893         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2894         (objc_msg_lookup_super): The same.
2896 2002-09-10  Jan Hubicka  <jh@suse.cz>
2898         * nil_method.c (nil_method): No longer defined with variable
2899         arguments.
2901 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2903         * objc/encoding.h: Fix formatting.
2904         * objc/hash.h: Likewise.
2905         * objc/objc-api.h: Likewise.
2906         * objc/runtime.h: Likewise.
2907         * objc/thr.h: Likewise.
2908         * archive.c: Likewise.
2909         * class.c: Likewise.
2910         * encoding.c: Likewise.
2911         * gc.c: Likewise.
2912         * hash.c: Likewise.
2913         * init.c: Likewise.
2914         * misc.c: Likewise.
2915         * nil_method.c: Likewise.
2916         * objects.c: Likewise.
2917         * sarray.c: Likewise.
2918         * selector.c: Likewise.
2919         * sendmsg.c: Likewise.
2920         * thr-mach.c: Likewise.
2921         * thr.c: Likewise.
2923 2002-06-25  DJ Delorie  <dj@redhat.com>
2925         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2926         GLIBCPP_TOPREL_CONFIGURE.
2927         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2928         * configure: Regenerate.
2930 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2932         * Object.m (forward, read, write): Fix unused parameter warnings.
2933         * encoding.c: Include <stdlib.h>.
2934         (target_flags): Mark with attribute unused.
2935         (atoi): Delete.
2936         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2937         (__objc_generate_gc_type_description): Prototype.
2938         * selector.c (__objc_selector_max_index): Change to unsigned int.
2940 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2942         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2943         we always have a return value: if __objc_msg_forward does not
2944         supply a forwarding implementation, return the default
2945         __builtin_apply based one.
2947 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2949         * Object.m: Fix signed/unsigned warning.
2950         * Protocol.m: Likewise.
2951         * archive.c: Always include stdlib.h.
2952         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2953         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2954         Fix signed/unsigned warning.
2955         (objc_write_type, objc_read_type, objc_write_types,
2956         objc_read_types): Ensure ctype 8-bit safety.
2957         (__objc_no_write, __objc_no_read): Mark unused parameters.
2958         * class.c (class_table_setup): Specify void arg.
2959         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2960         objc_skip_typespec, objc_skip_offset,
2961         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2962         (objc_layout_structure_next_member): Ensure variables are
2963         initialized.
2964         * gc.c (__objc_generate_gc_type_description,
2965         class_ivar_set_gcinvisible): Mark unused parameters.
2966         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2967         unused parameters.
2968         (__objc_init_protocols) Fix signed/unsigned warning.
2969         * nil_method.c (nil_method): Mark unused parameters.
2970         * thr.h (objc_thread_callback): Specify void arg.
2971         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2972         signed/unsigned warning.
2973         (sarray_free): Fix formatting.
2974         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2975         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2977 2002-06-09  Andreas Jaeger  <aj@suse.de>
2979         * encoding.c (objc_layout_structure_next_member): Remove unused
2980         variable.
2982 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2984         * Makefile.in (SHELL): Set to @SHELL@.
2985         (WARN_CFLAGS): New.
2986         (ALL_CFLAGS): Add $(WARN_CFLAGS).
2988 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2990         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2991         * configure: Regenerate.
2993 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2995         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2996         script entry, and set LD to it when configuring multilibs.
2997         * configure: Rebuilt.
2999 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3001         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3003 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3005         PR objc/6107
3006         * objc/objc-api.h (struct objc_protocol_list): Change type of
3007         member count from int to size_t.
3009 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3011         PR libobjc/4039
3012         * aclocal.m4: Replace with version copied from libstdc++-v3.
3013         * configure.in: Update for changes to aclocal and Makefile.
3014         * configure: Regenerate.
3015         * Makefile.in: Correct install of multilibs and shared libs, use
3016         INSTALL_DATA for include files.
3018 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3020         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3021         categories - when an unclaimed category was found, the loop was
3022         doing two steps forward instead of one, so that in certain cases
3023         it was failing to properly load all the categories.  (Reported
3024         with fix by Alexander Malmberg <alexander@malmberg.org>).
3026 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3028         * encoding.c: Add target_flags.
3030 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3032          * objc/objc-api.h (_C_VECTOR): New.
3034          * encoding.c (VECTOR_TYPE): New.
3036 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3038         * class.c: Rewritten the class table to use optimized, lock-free
3039         lookup.  This more than doubles the speed of class method
3040         invocations.  (class_table_setup), (class_table_insert),
3041         (class_table_replace), (class_table_get_safe),
3042         (class_table_next), (class_table_print),
3043         (class_table_print_histogram): New functions.
3044         (__objc_init_class_tables): Use class_table_setup.
3045         (__objc_add_class_to_hash): Use class_table_get_safe and
3046         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3047         assert the existence of the table; do not lock the runtime; use
3048         class_table_get_safe.  (objc_next_class): Use class_table_next.
3049         (__objc_resolve_class_links): Use class_table_next.
3050         (class_pose_as): Use class_table_replace.
3052 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3054         * gc.c: Removed the DEBUG declaration.
3056 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3058         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3059         rather than through objc_thread_id, to save a function call.
3060         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3061         Ditto.
3063 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3065         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3066         to cast an id to a Class, which can not be done.  Make the check
3067         by using CLS_ISMETA on the class pointer instead.
3068         (object_is_meta_class): Similar fix.
3070 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3072         * configure.in (AC_EXEEXT): Work around in case it expands to
3073         nothing, as in autoconf 2.50.
3074         * acinclude.m4: Likewise.
3075         * configure: Rebuilt.
3077 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3079         * THREADS: Explain that when we compile libobjc inside GCC, we
3080         always use thr-objc.c as a backend, which uses GCC's thread code.
3082 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3084         * init.c (__objc_send_message_in_list): When setting a new entry
3085         in __objc_load_methods use the method IMP as key, but check to see
3086         if the method is in the hashtable by looking at the IMP also.
3087         Also ... call the method after adding it to the hashtable rather
3088         than before ... thus preventing an obscure possibility of infinite
3089         recursion if a +load method itself loads a subclass.
3091 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3093         * init.c (__objc_send_message_in_list): When setting a new entry
3094         in __objc_load_methods use the method name as key, not the method
3095         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3097 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3099         * objc-features.texi: Move to ../gcc/objc.texi.
3100         * fdl.texi: Remove.
3101         * Makefile.in: Don't generate documentation from
3102         objc-features.texi.
3104 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3106         * fdl.texi: New file.
3107         * objc-features.texi: Simplify.
3108         * Makefile.in: Adjust accordingly.
3110 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3112         * objc-features.texi: Use the GFDL.
3114 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3116         * encoding.c (REAL_TYPE): Define.
3118 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3120         * encoding.c (TYPE_MODE): Define.
3122 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3124         * thr.c (objc_thread_add): New function.
3125         (objc_thread_remove): Ditto.
3126         * objc/thr.h: Declare them.
3127         * libobjc.def: Mention them.
3129 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3131         * objc-features.texi: Document the @compatibility_alias compiler
3132         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3134 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3136         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3138 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3140         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3141         we're not interested in the result and they might fail.
3142         * configure: Regenerated.
3144 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3146         * objc-features.texi: Use @email.
3148 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3150         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3151         printf.
3153 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3155         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3156         determines the value dynamically.
3158 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3160         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3161         libraries to provide a function that returns the real forwarding
3162         function. This can alleviate problems __builtin_apply() and
3163         friends have on various platforms. (Solution suggested by Helge
3164         Hess.)
3166         * objc/objc-api.h: Define __objc_msg_forward.
3168         * sendmsg.c: Define gen_rtx_REG.
3170 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3172         * thr-rtems.c: New file. Stub to compile.
3174 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3176         * configure: Rebuilt with new libtool.m4.
3178 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3180         * configure.in: Create a config.h file. Check for <sched.h>.
3181         * configure: Regenerate.
3183         * config.h.in: Check for <sched.h>.
3185 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3187         * configure: Regenerate after change to ../libtool.m4.
3189 2000-08-14  Andreas Schwab  <schwab@suse.de>
3191         * objc-features.texi (Top): Move @menu at end of node.
3193 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3195         * objc-features.texi: Move @node Top before @menu.
3197 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3199         * objc-features.texi: Documented the new -fconstant-string-class
3200         option.
3202 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3204         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3205         improve the Posix thread support for Objective-C.
3207 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3209         * aclocal.m4: Replace copy of ../libtool.m4 with
3210         sinclude(../libtool.m4).
3212 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3214         * configure.in: Added libtool support; build shared libraries
3215         if --enable-shared was passed on command line.
3216         * Makefile.in: Modified most compilation commands to use libtool.
3217         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3218         libtool distribution.
3220 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3222         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3223         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3224         <rdb@cup.hp.com>).
3226 2000-05-12  H.J. Lu  (hjl@gnu.org)
3228         * Makefile.in (GTHREAD_FLAGS): New.
3229         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3230         (OBJC_THREAD_FILE): Changed to thr-objc.
3232         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3233         Makefile.
3234         (OBJC_THREAD_FILE): Removed.
3236         * thr-objc.c: New.
3238 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3240         * objc/hash.h: Include string.h.
3242 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3244         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3246 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3248         * Object.m (strlen): Provide prototype on all 64bit platforms,
3249         not only alpha.
3250         * sarray.c (memcpy): Likewise.
3251         * encoding.c (objc_layout_finish_structure): Don't use
3252         ROUND_TYPE_ALIGN on sparc.
3254         * encoding.c (objc_layout_structure_next_member): Do the whole
3255         procedure even for the first member, so that we get correct
3256         alignment.
3258 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3260         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3261         comments.
3263 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3265         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3267 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3269         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3271 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3273         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3274         the compiler when building C code.
3276 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3278         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3279         libdir, libsubdir and tooldir.
3281 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3283         * init.c (__objc_force_linking): Make global.
3285 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3287         * configure.in (AC_EXEEXT): Remove call.
3288         (compiler_name): Explicitly check with no extension and .exe
3289         extension.
3290         * configure: Regenerate.
3292 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3294         * Makefile.in (CC1OBJ): Define in terms of CC.
3295         (runtime-info.h): Use.
3297 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3299         * objc-features.texi: Updated the URL to Boehm's GC page.
3301 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3303         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3304         the char as being signed (patch from Daniel Jacobowitz
3305         <drow@false.org>).
3307 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3309         * configure.in (AC_PREREQ): Update to 2.13.
3310         (AC_EXEEXT): Call to find possible file extension.
3311         (compiler_name): Use.
3312         * configure: Regenerate.
3314 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3316         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3318 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3320         * configure.in (thread_file): Correct and simplify code to find
3321         the thread file.
3322         * configure: Rebuilt.
3324 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3326         * configure.in (compiler_name): Add check to detect if this
3327         language's compiler has been built.
3328         * configure: Regenerate.
3330 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3332         *  configure.in: Use AC_PREREQ(2.12.1).
3334 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3336         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3338 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3340         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3342 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3344         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3346 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3348         * objc-features.texi (Top): Changed the email address.
3349         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3351 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3353         * encoding.c: Redefine get_inner_array_type to get the first entry
3354         in the structure.
3356 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3358         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3359         (objc_get_type_qualifiers): Similarly.
3360         * objc/encoding.h (_C_BYREF): Define.
3361         (_F_BYREF): Define.
3363 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3365         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3366         works out on 64-bit systems.
3368 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3370         * Makefile.in (INCLUDES): Make it multilib-friendly.
3372 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3374         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3376 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3377                          Jeffrey A Law  (law@cygnus.com)
3379         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3380         (FLAGS_TO_PASS): Added.
3381         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3383         * archive.c: Change config.h to tconfig.h.
3385         * configure.in: Find gcc's object directory even for multilibs.
3387 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3389         * configure.in: Escape ^ in grep string.
3390         * configure: Rebuilt.
3392 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3394         * All .h files pushed down into the objc/ subdirectory.
3395         * Makefile.in (copy_headers): Corresponding changes.
3396         * configure.in (AC_INIT): Corresponding changes.
3397         * configure: Rebuilt.
3399 1998-09-30  Ben Elliston  <bje@cygnus.com>
3400             Jeff Law      <law@cygnus.com>
3402         * Makefile.in: Rewrite.
3404         * configure.in: Likewise.
3406         * configure: Regenerate.
3408         * All .c files.  Remove "objc" prefix when including objc header
3409         files.  Include tconfig.h, not ../tconfig.h.
3411 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3413         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3414         (get_inner_array_type): Define.
3416 1998-09-21  Ben Elliston  <bje@cygnus.com>
3418         * New directory.  Moved files from ../gcc/objc.
3420 Copyright (C) 1998-2016 Free Software Foundation, Inc.
3422 Copying and distribution of this file, with or without modification,
3423 are permitted in any medium without royalty provided the copyright
3424 notice and this notice are preserved.