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