OSDN Git Service

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