OSDN Git Service

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