OSDN Git Service

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