1 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
3 * archive.c: Do not include objc/objc.h.
4 * class.c: Do not include objc/objc.h.
5 * encoding.c: Include objc/runtime.h, ctype.h and
6 objc-private/module-abi-8.h instead of objc/objc-api.h and
8 * error.c: Do not include objc/objc.h.
9 * gc.c: Include tconfig.h and objc/encoding.h only if
11 * hash.c: Include objc/runtime.h and objc/thr.h instead of
12 objc/objc-api.h. Do not include objc/objc.h.
13 * init.c: Do not include objc/objc.h.
14 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
15 objc/thr.h instead of objc/objc-api.h. Do not include
17 * linking.m: Tidied comment.
18 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
19 Do not include objc/objc.h.
20 * objects.c: Do not include objc/objc.h.
21 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
22 * protocols.c: Do not include objc/objc.h.
23 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
24 not include objc/objc.h.
25 * selector.c: Do not include objc/objc.h.
26 * sendmsg.c: Do not include objc/objc.h.
27 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
28 Do not include objc/objc.h.
29 * objc/objc-decls.h: Reindented code.
30 * objc/runtime.h Include objc-decls.h. Updated comments.
32 (objc_atomic_malloc): New.
36 * objc-private/runtime.h: Updated comments.
38 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
40 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
41 * objc-private/protocols.h: New.
43 * init.c: Include objc-private/protocols.h.
44 (__objc_exec_class): Call __objc_protocols_init on startup.
45 (__objc_init_protocols): Call __objc_protocols_add_protocol.
46 * objc-private/runtime.h: Use (struct objc_method_list *) instead
47 of MethodList_t, and (struct objc_method *) instead of Method_t.
48 * objc/deprecated/struct_objc_class.h: Define
49 __objc_STRUCT_OBJC_CLASS_defined.
50 * objc-private/module-abi-8.h (struct
51 objc_method_description_list): New.
52 (struct objc_class): Only define if
53 __objc_STRUCT_OBJC_CLASS_defined is undefined.
54 * objc/runtime.h (class_getName): New.
55 (objc_getProtocol): New.
56 (objc_copyProtocolList): New.
57 (class_addProtocol): New.
58 (class_conformsToProtocol): New.
59 (class_copyProtocolList): New.
60 (protocol_conformsToProtocol): New.
61 (protocol_isEqual): New.
62 (protocol_getName): New.
63 (protocol_getMethodDescription): New.
64 (protocol_copyMethodDescriptionList): New.
65 (protocol_getProperty): New.
66 (protocol_copyPropertyList): New.
67 (protocol_copyProtocolList): New.
68 * class.c (class_getName): New.
69 * selector.c (sel_isEqual): New.
71 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
73 * selector.c (sel_getName): Return "<null selector>" for a NULL
75 (sel_get_name): Return 0 for a NULL argument.
76 * objc/runtime.h (sel_getName): Updated documentation.
78 * objc-private/hash.h (class_hash_table): Unused declaration
80 (module_hash_table): Same.
81 * objc/deprecated/hash.h: Same changes.
83 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
85 * class.c (objc_getClassList): New.
86 (objc_getRequiredClass): New.
87 (objc_getMetaClass): New.
88 (objc_lookupClass): New.
90 (__objc_get_unknown_class_handler): New.
91 (objc_setGetUnknownClassHandler): New.
92 (objc_get_class): Use __objc_get_unknown_class_handler.
93 (objc_lookup_class): Call objc_getClass.
94 * objc/objc-api.h: Updated comment and copyright notice.
95 * objc/runtime.h: Updated comments.
97 (objc_lookupClass): New.
98 (objc_getMetaClass): New.
99 (objc_getRequiredClass): New.
100 (objc_getClassList): New.
101 (objc_setGetUnknownClassHandler): New.
102 (objc_get_unknown_class_handler): New.
103 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
104 instead of __objc_runtime_INCLUDE_GNU as include guard.
105 * objc-private/error.h (_objc_abort): Mark as noreturn.
107 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
109 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
111 * objc/objc.h: Updated comments.
112 * objc/runtime.h (object_getClass): New.
113 (object_getClassName): New.
114 (object_setClass): New.
115 (class_getInstanceVariable): New.
116 (object_getIndexedIvars): New.
117 (object_getInstanceVariable): New.
118 (object_setInstanceVariable): New.
119 (object_getIvar): New.
120 (object_setIvar): New.
122 (ivar_getOffset): New.
123 (ivar_getTypeEncoding): New.
124 * objc-private/module-abi-8.h (struct objc_class): Added.
125 * objects.c (object_getClassName): New.
126 (object_setClass): New.
128 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
130 * objc/objc.h: Updated comments.
131 * objc/objc-api.h: (object_copy): Added one argument; use a
132 #define to maintain backwards-compatibility. Moved
133 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
134 objc_get_uninstalled_dtable into
135 objc/deprecated/objc_get_uninstalled_dtable.h and
136 objc/deprecated/objc_object_alloc.h. Include these files.
137 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
138 * objc/deprecated/objc_object_alloc.h: New.
139 * objc/runtime.h (set_getName): New.
142 (sel_registerName): New.
143 (sel_registerTypedName): New.
145 (class_createInstance): New.
147 (object_dispose): New.
148 * objects.c: Do not include tconfig.h. Include gc_typed.h if
149 building the garbage collection version.
150 (__objc_object_alloc): Removed.
151 (__objc_object_copy): Removed.
152 (__objc_object_dispose): Removed.
153 (class_createInstance): New from code in class_create_instance.
154 Cast second argument of GC_malloc_explicitly_typed. Use
155 objc_calloc. Do not call _objc_object_alloc.
156 (class_create_instance): Call class_createInstance.
157 (object_copy): Added extraBytes argument. Do not call
159 (object_dispose): Do not call _objc_object_dispose.
160 * memory.c (objc_free): When using garbage collection, mark the
162 * selector.c (sel_getName): New.
163 (sel_get_name): Call sel_getName.
165 (sel_get_type): Call sel_getType.
166 (sel_registerName): New.
167 (sel_register_name): Call sel_registerName.
168 (sel_registerTypedName): New.
169 (sel_register_typed_name): Call sel_registerTypedName.
171 (sel_get_uid): Call sel_getUid.
173 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
175 * objc/objc-api.h: Define Method, Method_t, Category and
176 Category_t. Prevent including this file at the same time as
177 objc/runtime.h. Updated comments.
178 * objc/deprecated/struct_objc_method.h: Do not define Method,
180 * objc/deprecated/struct_objc_category.h: Do not define Category,
182 * objc-private/module-abi-8.h: New file containing a copy of all
183 the structure definitions. Not used yet.
184 * objc/encoding.h (objc_aligned_size): Removed duplicate
185 declaration. Updated comments.
186 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
187 Category, struct objc_method_description, _C_ID and similar,
188 _C_CONST and similar and _F_CONST and similar. Added
189 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
190 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
191 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
192 struct objc_struct_layout, objc_layout_structure,
193 objc_layout_structure_next_member, objc_layout_finish_structure,
194 objc_layout_structure_get_info. Prevent including this file at
195 the same time as objc/objc-api.h.
197 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
199 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
200 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
201 struct_objc_method_list.h, struct_objc_module.h,
202 struct_objc_protocol_list.h, struct_objc_symtab.h.
203 * objc/deprecated/struct_objc_category.h: New.
204 * objc/deprecated/struct_objc_ivar.h: New.
205 * objc/deprecated/struct_objc_ivar_list.h: New.
206 * objc/deprecated/struct_objc_method.h: New.
207 * objc/deprecated/struct_objc_method_list.h: New.
208 * objc/deprecated/struct_objc_module.h: New.
209 * objc/deprecated/struct_objc_protocol_list.h: New.
210 * objc/deprecated/struct_objc_symtab.h: New.
211 * objc/deprecated/struct_objc_static_instances.h: New.
212 * objc/objc-api.h: Definitions of deprecated structures moved into
213 the above header fragment files in objc/deprecated/. Include the
214 files instead of definition the structures here. Updated
216 * objc/runtime.h: Updated comments. Do not include objc-api.h.
217 (objc_set_enumeration_mutation_handler): Renamed to
218 objc_setEnumerationMutationHandler.
219 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
220 to objc_setEnumerationMutationHandler.
221 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
222 objc_setExceptionMatcher.
223 (objc_set_uncaught_exception_handler): Renamed to
224 objc_setUncaughtExceptionHandler.
225 * exception.c: Same changes.
227 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
229 * objc-sync.c: Include objc-private/common.h.
231 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
233 * objc-foreach.c: Include objc-private/common.h.
234 * objc/deprecated/METHOD_NULL.h: New file.
235 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
236 defining METHOD_NULL here.
237 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
238 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
240 ([-respondsTo:]): Same change.
241 * objc/objc-api.h (method_get_imp): Converted it into a normal
242 function so that we can hide the internals of struct objc_method.
243 * sendmsg.c (method_get_imp): Implemented.
245 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
247 * objc/objc-api.h (struct objc_super, Super, Super_t,
248 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
249 objc_msg_forward2): Declarations moved to objc/message.h. Include
251 * objc/message.h: Added such declarations; updated comments.
253 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
255 Implemented fast enumeration for Objective-C.
256 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
257 (OBJC_H): Added runtime.h
258 * objc-foreach.c: New file.
259 * objc/runtime.h: New file.
261 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
263 * objc/deprecated/struct_objc_class.h: Add padding
264 to avoid warning with -Wpadded.
266 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
268 * encoding.c (objc_sizeof_type): Added support for vector type and
269 for double long types.
270 (objc_alignof_type): Same change.
271 (objc_skip_typespec): Same change.
272 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
273 instead of '!' since '!' is already used for _C_VECTOR.
274 * objc/objc-api.h (_C_LNG_DBL): Added.
276 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
278 * libobjc_entry.c: File removed.
280 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
282 * sendmsg.c (objc_msg_lookup): Remove inline.
283 (objc_get_uninstalled_dtable): Likewise.
284 * encoding.c (objc_skip_type_qualifiers): Likewise.
285 (objc_skip_offset): Likewise.
286 * archive.c (__objc_write_object): Likewise
287 (__objc_write_class):
288 (__objc_write_selector):
290 (objc_read_unsigned_char):
292 (objc_read_unsigned_short):
295 (__objc_read_nbyte_uint):
296 (objc_read_unsigned_int):
297 (objc_read_unsigned_long):
298 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
299 (objc_EXPORT): Likewise.
300 * objc/message.h (objc-decls.h): Add include.
301 * objc/objc-api.h: Mark API by objc_EXPORT.
302 * libobjc.def (__objc_responds_to): Removed.
304 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
306 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
308 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
309 objc/sarray.h replaced with a placeholder including the file from
310 the deprecated/ directory.
311 * objc-private/sarray.h: New file (private copy of sarray.h).
312 * hash.c: Include <assert.h> instead of "assert.h"
313 * sarray.c: Include <assert.h> instead of "assert.h". Include
314 objc-private/sarray.h instead of objc/sarray.h.
315 * selector.c: Include objc-private/sarray.h instead of
317 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
318 instead of objc/sarray.h.
319 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
321 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
323 * objc-private/objc-list.h (list_remove_elem): Unused function
324 removed. (list_nth): Unused function removed. (list_find):
325 Unused function removed. (list_lenght): Unused function removed.
327 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
329 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
330 replaced with a placeholder including the file from the
331 deprecated/ directory.
332 * objc/objc-api.h: Updated includes.
333 * objc/typedstream.h: Updated includes.
334 * objc-private/hash.h: New file (private copy of hash.h).
335 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
336 objc/objc-list.h replaced with a placeholder including the file
337 from the deprecated/ directory.
338 * objc-private/objc-list.h: New file (private copy of objc-list.h).
339 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
340 instead of objc/hash.h and objc/objc-list.h.
341 * selector.c: Same change.
342 * class.c: Added include <string.h>, which used to be implicitly included
343 when hash.h was included.
344 * exception.c: Same change.
345 * objects.c: Same change.
346 * sarray.c: Same change.
347 * sendmsg.c: Same change.
348 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
350 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
352 Implemented objc_sync_enter() and objc_sync_exit(), which are
353 required by @synchronized() to work.
354 * objc-sync.c: New file.
355 * objc/objc-sync.h: New file.
356 * objc-private/objc-sync.h: New file.
357 * init.c (__objc_exec_class): Call __objc_sync_init() during the
358 Objective-C runtime startup.
359 * Makefile.in: Added objc-sync.c and objc-sync.h.
360 * configure.ac: Added GCC_CHECK_TLS.
361 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
362 * configure: Regenerated.
363 * config.h.in: Regenerated.
365 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
367 * Makefile.in (%_gc.lo): New pattern rules to build the
368 garbage-collected version of the library. Removed rules for
369 specific files that are no longer needed. Standardized all rules.
370 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
371 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
373 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
375 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
377 * memory.c (objc_calloc): Fixed call to GC_malloc when building
378 with Garbage Colletion.
380 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
382 * memory.c: Do not include objc-private/runtime.h.
384 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
386 * objc/deprecated/objc_malloc.h: New file.
387 * objc/deprecated/objc_valloc.h: New file.
388 * objc/objc-api.h: Include the files instead of defining
389 objc_valloc, _objc_malloc() and similar.
390 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
392 * memory.c: Removed the extra layer of indirection of _objc_malloc
394 (objc_calloc): Use GC_malloc in the garbage-collected
395 implementation as GC_malloc returns memory that is already freed.
396 (objc_valloc): Deprecated.
398 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
400 * objc/deprecated/objc_error.h: New file.
401 * objc/objc-api.h: Include deprecated/objc_error.h instead of
402 defining objc_error and related.
403 * error.c: New file. Added _objc_abort function which replaces
404 objc_error. No change in functionality as they both print an
406 * misc.c: File removed. Code moved into memory.c and error.c.
407 * memory.c: New file.
408 * objc-private/error.h: New file.
409 * archive.c: Include objc-private/error.h and use _objc_abort
410 instead of objc_error everywhere.
411 * class.c: Same change.
412 * encoding.c: Same change.
413 * init.c: Same change, and simplified init_check_module_version.
414 * memory.c: Same change.
415 * sendmsg.c: Same change.
416 * thr.c: Same change.
417 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
418 (OBJ_H): Reordered list.
419 (OBJS): Removed misc.lo, added memory.lo and error.lo.
420 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
421 (misc_gc.lo): Rule removed.
422 (error_gc.lo): Rule added.
423 (memory_gc.lo): Rule added.
425 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
427 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
428 to check the API version. Added some comments.
430 * objc-private/common.h: New file.
431 * NXConstStr.m: Include objc-private/common.h.
432 * Object.m: Same change.
433 * Protocol.m: Same change.
434 * archive.c: Same change.
435 * class.c: Same change.
436 * encoding.c: Same change.
437 * exception.c: Same change.
439 * hash.c: Same change.
440 * init.c: Same change.
441 * libobjc_entry.c: Same change.
442 * linking.m: Same change.
443 * misc.c: Same change (and added a comment).
444 * nil_method.c: Same change.
445 * objects.c: Same change.
446 * sarray.c: Same change.
447 * selector.c: Same change.
448 * sendmsg.c: Same change.
449 * thr.c: Same change.
451 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
453 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
455 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
457 * archive.c: Removed not needed includes.
458 * class.c: Same change.
459 * hash.c: Same change.
460 * misc.c: Same change.
461 * nil_method.c: Same change.
462 * objects.c: Same change.
463 * sarray.c: Same change.
464 * sendmsg.c: Same change.
465 * thr.c: Same change.
467 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
469 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
470 all the objc/*.h files.
471 * objc-private/runtime.h: New file.
472 * archive.c: Include objc-private/runtime.h (and required objc/*.h
473 files) instead of objc/runtime.h.
474 * class.c: Same change.
475 * hash.c: Same change.
476 * init.c: Same change.
477 * misc.c: Same change.
478 * nil_method.c: Same change.
479 * objects.c: Same change.
480 * sarray.c: Same change.
481 * selector.c: Same change.
482 * sendmsg.c: Same change.
483 * thr.c: Same change.
485 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
487 * objc/deprecated/struct_objc_selector.h: New file. Definition of
488 'struct objc_selector' and 'sel_eq' moved here.
489 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
490 'struct objc_procotol' moved here.
491 * objc/deprecated/struct_objc_class.h: New file. Definition of
492 'struct objc_class' moved here.
493 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
495 * objc/deprecated/STR.h: New file. Definition of STR moved here.
496 * objc/message.h: New file. Definitions for relval_t, apply_t,
497 arglist, arglist_t and objc_msg_lookup were moved here.
498 * objc/objc.h: Include the above files instead of defining the
499 corresponding structs, types and functions here. Added new opaque
500 definitions for SEL and Class. Use Class and not 'struct
501 objc_class *' in the definition of 'struct objc_object'.
502 Commented all types defined in the file. Removed special
503 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
505 * objc/deprecated/objc-unexpected-exception.h: Renamed to
506 objc_unexpected_exception.h.
507 * objc/objc-api.h: Updated include of
508 objc-unexpetected-exception.h
509 * objc/objc-exception.h: Updated comments.
510 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
511 files. Reindented list of files.
513 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
515 * objc/objc-api.h (objc_trace): Unused variable removed.
517 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
519 * objc/deprecated: New directory.
520 * objc/deprecated/README: New file.
521 * objc/README: New file.
522 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
523 objc/typedstream.h replaced with a placeholder including the file
524 from the deprecated/ directory.
525 * objc/deprecated/objc-unexpected-exception.h: New file with the
526 definition of _objc_unexpected_exception.
527 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
528 instead of defining _objc_unexpected_exception.
529 * objc/deprecated/Object.h: New file with the deprecated Object
530 methods in a 'Deprecated' category.
531 * objc/Object.h Include deprecated/Object.h instead of defining
532 the deprecated methods.
533 * Object.m: Moved deprecated methods into 'Deprecated' category.
534 * objc-private: New directory.
535 * objc-private/README: New file.
536 * Makefile.in (OBJC_DEPRECATED_H): New variable.
537 (install-headers): Create installation directory for
538 OBJC_DEPRECATED_H headers, and install them.
540 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
542 * objc/objc-exception.h: Fixed include of objc.h.
544 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
546 * objc/objc-exception.h: New file.
547 * exception.c (objc_set_uncaught_exception_handler): Implemented.
548 (objc_set_exception_matcher): Implemented.
549 (objc_exception_throw): Use the uncaught exception handler if set.
550 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
552 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
553 up. Removed segmentation fault when value is 'nil'.
554 * objc/objc-api.h (_objc_unexpected_exception): Mark as
556 * Makefile.in (exception.lo, exception_gc.lo): Use
557 -Wno-deprecated-declarations when compiling.
558 (OBJC_H): Added objc-exception.h
560 2010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
562 * objc/typedstream.h: Deprecate all functions in the file. This
564 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
565 [-awake]): Documented that these methods are deprecated. Added a
566 brief description of the Object class and its relationship to the
568 * Makefile.in: Compile archive.c and Object.m with
569 -Wno-deprecated-declarations.
571 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
573 Removed obsolete intermediate threading layer.
574 * thr.c: Use __gthread_objc_xxx functions directly instead of
575 __objc_thread_xxx ones.
576 * objc/thr.h: Removed prototypes of no longer existing
577 __objc_thread_xxx functions.
578 * Makefile.in: Removed thr-objc.lo.
579 * thr-dce.c: File removed.
580 * thr-decosf1.c: File removed.
581 * thr-irix.c: File removed.
582 * thr-mach.c: File removed.
583 * thr-objc.c: File removed.
584 * thr-os2.c: File removed.
585 * thr-posix.c: File removed.
586 * thr-pthreads.c: File removed.
587 * thr-rtems.c: File removed.
588 * thr-single.c: File removed.
589 * thr-solaris.c: File removed.
590 * thr-vxworks.c: File removed.
591 * thr-win32.c: File removed.
592 * README.threads: File removed.
593 * THREADS.MACH: File removed.
596 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
598 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
600 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
602 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
603 Add a comment as to why, update FIXME comments.
605 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
607 * makefile.dos: Obsolete file removed.
609 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
611 * aclocal.m4: Regenerate.
613 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
616 * configure.ac (extra_ldflags_libobjc): Define appropriately for
617 Cygwin and MinGW hosts.
618 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
619 (libobjc.dll): Likewise.
620 * configure: Regenerate.
622 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
624 * configure: Regenerate.
626 2009-11-28 Jakub Jelinek <jakub@redhat.com>
628 * sarray.c (sarray_free): Use old_buckets variable.
629 * encoding.c (objc_layout_structure_next_member): Remove unused
630 bfld_type_size variable.
632 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
634 * configure.ac (AC_PREREQ): Bump to 2.64.
636 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
638 * aclocal.m4: Regenerate.
639 * configure: Regenerate.
640 * config.h.in: Regenerate.
642 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
646 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
648 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
650 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
652 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
654 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
656 2009-04-09 Nick Clifton <nickc@redhat.com>
658 * sendmsg.c: Change copyright header to refer to version 3 of
659 the GNU General Public License with version 3.1 of the GCC
660 Runtime Library Exception and to point readers at the COPYING3
661 and COPYING3.RUNTIME files and the FSF's license web page.
662 * NXConstStr.m: Likewise.
663 * Object.m: Likewise.
664 * Protocol.m: Likewise.
665 * archive.c: Likewise.
667 * encoding.c: Likewise.
668 * exception.c: Likewise.
672 * libobjc_entry.c: Likewise.
673 * linking.m: Likewise.
675 * nil_method.c: Likewise.
676 * objc/NXConstStr.h: Likewise.
677 * objc/Object.h: Likewise.
678 * objc/Protocol.h: Likewise.
679 * objc/encoding.h: Likewise.
680 * objc/hash.h: Likewise.
681 * objc/objc-api.h: Likewise.
682 * objc/objc-decls.h: Likewise.
683 * objc/objc-list.h: Likewise.
684 * objc/objc.h: Likewise.
685 * objc/runtime.h: Likewise.
686 * objc/sarray.h: Likewise.
687 * objc/thr.h: Likewise.
688 * objc/typedstream.h: Likewise.
689 * objects.c: Likewise.
690 * sarray.c: Likewise.
691 * selector.c: Likewise.
692 * thr-dce.c: Likewise.
693 * thr-decosf1.c: Likewise.
694 * thr-irix.c: Likewise.
695 * thr-mach.c: Likewise.
696 * thr-objc.c: Likewise.
697 * thr-os2.c: Likewise.
698 * thr-posix.c: Likewise.
699 * thr-pthreads.c: Likewise.
700 * thr-rtems.c: Likewise.
701 * thr-single.c: Likewise.
702 * thr-solaris.c: Likewise.
703 * thr-vxworks.c: Likewise.
704 * thr-win32.c: Likewise.
706 * libobjc.def: Change copyright header to refer to version 3 of
707 the GNU General Public License and to point readers at the COPYING3
708 file and the FSF's license web page.
709 * makefile.dos: Likewise.
711 2009-04-09 Jakub Jelinek <jakub@redhat.com>
713 * Makefile.in: Change copyright header to refer to version
714 3 of the GNU General Public License and to point readers at the
715 COPYING3 file and the FSF's license web page.
716 * configure.ac: Likewise.
718 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
719 David Ayers <ayers@fsfe.org>
722 * objc/objc-api.h (_objc_unexpected_exception): Declare
723 new hook. Update copyright dates.
724 * exception.c (objc_exception_throw): Use hook. Update
726 * libobjc.def (_objc_unexpected_exception): Export hook.
727 Update copyright dates.
729 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
731 * configure: Regenerate.
733 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
735 * configure: Regenerate.
737 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
739 * Object.m (errno): Replaced by errno.h include.
740 (compare): Cast self to id to prevent warning on comparison.
741 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
743 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
744 * thr-win32.c (__objc_thread_detach): Remove type warning.
745 (__objc_thread_id): Likewise.
746 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
749 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
750 Steve Ellcey <sje@cup.hp.com>
752 * configure: Regenerate for new libtool.
753 * config.h.in: Regenerate for new libtool.
755 2008-07-18 Matthias Klose <doko@ubuntu.com>
757 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
759 2008-07-18 Matthias Klose <doko@ubuntu.com>
761 * Makefile.in: Include ../boehm-gc/threads.mk.
762 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
764 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
766 * Makefile.in (install-info): New stub target.
768 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
770 * configure: Regenerate.
772 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
774 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
775 if HAVE_GETIPINFO is not defined.
777 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
779 * Object.m (compare): Add type id.
780 * objc/Object.h: Likewise.
781 * archive.c (objc_read_class): Use size_t to extend version to be
782 size of pointer scalar width.
783 * sendmsg.c (rtx): Undefine it before redefinition.
784 (__objc_print_dtable_stats): Cast arguments to long as intended.
786 2008-05-30 Julian Brown <julian@codesourcery.com>
788 * exception.c (__objc_exception_class): Initialise as constant
789 array for ARM EABI. Change macro to static const for non-ARM EABI.
790 (ObjcException): Add note about structure layout. Remove landingPad
791 and handlerSwitchValue for ARM EABI.
792 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
794 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
795 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
796 ARM EABI unwinding support.
797 (objc_exception_throw): Use memcpy to initialise exception class.
799 2008-05-25 Alan Modra <amodra@bigpond.net.au>
801 * encoding.c (strip_array_types): Rename from get_inner_array_type.
802 (rs6000_special_round_type_align): Update.
804 2008-05-09 Julian Brown <julian@codesourcery.com>
806 * Makefile.in (LTLDFLAGS): New.
807 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
809 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
812 * aclocal.m4: Regenerate.
813 * configure: Regenerate.
815 2008-01-24 David Edelsohn <edelsohn@gnu.org>
817 * configure: Regenerate.
819 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
821 * configure.ac: Don't run config-ml.in directly.
823 * configure: Regenerated.
825 2007-08-06 Andrew Pinski <pinskia@gmail.com>
828 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
829 of _Unwind_Word for variables which are used in
830 read_uleb128/read_sleb128.
831 (PERSONALITY_FUNCTION): Likewise.
833 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
835 * aclocal.m4: Regenerated.
837 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
839 * configure.ac: Fix a typo in *-*-darwin clause.
840 * configure: Regenerated.
842 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
844 * configure.ac: Fix a typo.
845 * configure: Regenerated.
847 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
849 * configure: Regenerate.
851 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
853 * Makefile.in: Replace all uses of libext with libsuffix.
854 * configure.ac: Likewise.
855 * configure: Regenerate.
858 * Makefile.in: Remove all uses of $(libext).
860 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
862 * Makefile.in: Remove all uses of $(libext).
864 2007-05-23 Steve Ellcey <sje@cup.hp.com>
866 * configure: Regenerate.
867 * aclocal.m4: Regenerate.
869 2007-04-21 Andrew Ruder <andy@aeruder.net>
871 * sendmsg.c (__objc_get_forward_imp): Call
872 __objc_msg_forward2 for real.
874 2007-04-09 Andrew Ruder <andy@aeruder.net>
876 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
877 external libraries to provide a function that returns the real
878 forwarding function based on both the selector and the receiver.
879 * objc/objc-api.h: Define __objc_msg_forward2.
881 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
883 * Makefile.in: Add dummy install-pdf target.
885 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
887 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
890 2006-10-31 Geoffrey Keating <geoffk@apple.com>
892 * encoding.c (darwin_rs6000_special_round_type_align): New.
894 2006-10-14 Geoffrey Keating <geoffk@apple.com>
896 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
897 * configure.ac: Use multi.m4 from aclocal rather than custom
898 code. Use multi_basedir instead of toplevel_srcdir.
899 * aclocal.m4: Regenerate.
900 * configure: Regenerate.
902 2006-10-10 Brooks Moses <bmoses@stanford.edu>
904 * Makefile.in: Added empty "pdf" target.
906 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
908 * configure: Regenerate.
910 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
912 * Makefile.in: Add install-html target. Add install-html to .PHONY
914 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
917 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
919 2006-01-24 David Ayers <d.ayers@inode.at>
922 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
923 and insure the new strings are '\0' termintated.
925 2006-01-24 David Ayers <d.ayers@inode.at>
928 * configure.ac: Add include directives for --enable-objc-gc.
929 * Makefile.in: Ditto.
930 * configure: Regenerate.
932 * gc.c (__objc_class_structure_encoding): Increment the used bytes
933 instead of the local pointer to them.
935 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
938 * objc/objc-api.c (_C_COMPLEX): New define.
939 * encoding.c (objc_sizeof_type): Handle _C_Complex.
940 (objc_alignof_type): Likewise.
941 (objc_skip_typespec): Likewise.
943 2005-12-15 David Ayers <d.ayers@inode.at>
946 * README (+load,+initialize): Fix documentation to reflect
947 intended and implemented semantics for +load and +initialize.
949 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
951 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
953 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
954 (rs6000_special_round_type_align): Update for the ABI fix.
955 (objc_layout_finish_structure): Correct the encoding which is passed to
958 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
961 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
962 but use the struct layout functions.
963 (objc_alignof_type): Likewise.
964 (objc_layout_structure): Handle _C_UNION_B also.
965 (objc_layout_structure_next_member): Likewise.
966 (objc_layout_finish_structure): Likewise.
968 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
971 * objc/objc-api.h (_C_BOOL): New define.
972 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
973 (objc_alignof_type): Likewise.
974 (objc_skip_typespec): Likewise.
976 2005-11-20 David Ayers <d.ayers@inode.at>
979 * objc/hash.h: Remove deprecated hash API.
980 * hash_compat.c: Remove.
981 * Makefile.in: Remove reference to hash_compat.c.
983 * configure.ac (VERSION): Bump library version to 2:0:0.
984 * configure: Regenerate.
986 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
989 * thr-objc.c (_XOPEN_SOURCE): Define.
991 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
994 * objc/objc-api.h (struct objc_ivar): Move definition to
997 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
998 Rasmus Hahn <rassahah@neofonie.de>
1001 * archive.c (objc_write_type): Correct the element offset.
1002 (objc_read_type): Likewise.
1004 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1006 * All files: Update FSF address.
1008 2005-08-13 Marcin Koziej <creep@desk.pl>
1009 Andrew Pinski <pinskia@physics.uc.edu>
1012 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
1014 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1016 * Makefile.in (extra_ldflags_libobjc): New.
1017 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
1018 (libobjc_gc$(libext).la): Likewise.
1019 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
1020 "-Wl,-single_module".
1021 * configure: Regenerate.
1022 * linking.m (_objcInit): Remove.
1024 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
1027 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
1029 2005-06-08 David Ayers <d.ayers@inode.at>
1031 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
1032 objc/encoding.h, objc/hash.h, objc/objc-api.h,
1033 objc/runtime.h, objc/sarray.h, objc/thr.h,
1034 objc/typedstream.h: Do not include Objective-C headers as
1037 2005-06-07 David Ayers <d.ayers@inode.at>
1039 * archive.c, init.c, selector.c: Include hash.h.
1040 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
1041 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
1042 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
1043 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
1044 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
1045 Include Objective-C headers with quotes and objc/ directory
1048 2005-05-19 Richard Henderson <rth@redhat.com>
1050 * exception.c: Revert last change.
1052 2005-05-19 David Ayers <d.ayers@inode.at>
1054 * exception.c: Include tsystem.h for unwind.h.
1056 2005-05-09 Mike Stump <mrs@apple.com>
1058 * configure: Regenerate.
1060 2005-04-12 Mike Stump <mrs@apple.com>
1062 * configure: Regenerate.
1064 2005-03-21 Zack Weinberg <zack@codesourcery.com>
1066 * Makefile.in: Set gcc_version here.
1067 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
1068 in definition of toolexeclibdir so that $(gcc_version) is expanded
1070 * aclocal.m4, configure: Regenerate.
1072 2005-03-03 David Ayers <d.ayers@inode.at>
1074 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
1075 version reference. Correct typo.
1077 2005-03-02 David Ayers <d.ayers@inode.at>
1080 * Makefile.in (OBJS): Add hash_compat.lo.
1081 (OBJS_GC): Add hash_compat_gc.lo.
1082 (hash_compat_gc.lo): New target and rule.
1083 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
1084 (hash_next, hash_value_for_key, hash_is_key_in_hash)
1085 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
1086 with objc_. Add deprecated non prefixed inlined versions.
1087 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
1089 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
1090 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
1092 * hash_compat.c: New file.
1093 * archive.c: Update callers.
1095 * selector.c: Likewise.
1096 * libobjc.def: Add objc_ versions of hash functions.
1098 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1101 * Makefile.in (GTHREAD_FLAGS): Remove.
1102 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
1103 * thr-objc.c: Include config.h.
1104 * configure.ac: Instead of looking at GCC's makefile, figure out if
1105 GTHREAD_FLAGS should be defined by looking at the `thread model'
1107 * configure: Regenerate.
1108 * config.h.in: Regenerate.
1110 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
1113 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
1114 (Determine CFLAGS for gthread): Use $host_subdir.
1115 * configure: Regenerate.
1116 * Makefile.in (host_subdir): New.
1119 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
1122 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
1124 Include limits.h and stdlib.h.
1125 Define BITS_PER_WORD.
1127 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
1129 * selector.c (__objc_init_selector_tables): Add missing void to
1132 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
1134 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1135 * configure, aclocal.m4: Regenerate.
1137 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1139 * configure: Regenerate for libtool change.
1141 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1143 * configure: Regenerate for libtool reversion.
1145 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1147 * configure: Regenerate for libtool change.
1149 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1151 * aclocal.m4, config.h.in: Regenerate.
1153 2004-10-08 Mike Stump <mrs@apple.com>
1154 Andrew Pinski <pinskia@physics.uc.edu>
1156 * aclocal.m4: Rename to ...
1157 * acinclude.m4: here and also use m4_include instead of sinclude.
1158 * aclocal.m4: Regenerate.
1159 * configure: Regenerate.
1160 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
1161 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
1163 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
1165 * archive.c: Fix all the warnings about passing unsigned char*
1166 to char* and the other way too.
1168 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
1171 * exception.c: Include config.h
1172 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
1174 * configure.ac: Find out what exception handling code we use.
1175 * configure: Regenerate.
1176 * config.h.in: New file, regenerate.
1178 2004-09-16 Andrew Pinski <apinski@apple.com>
1180 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
1182 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1184 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
1185 ACX_NONCANONICAL_TARGET.
1186 * configure: Regenerate.
1188 2004-08-13 Ziemowit Laski <zlaski@apple.com>
1190 * objc/sarray.h: Hoist include of assert.h near the top of file,
1191 and mark the remainder of the file 'extern "C"'.
1193 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1195 * objc/Object.h: Move includes out of extern "C" blocks.
1196 * objc/encoding.h: Likewise.
1197 * objc/hash.h: Likewise.
1198 * objc/objc-api.h: Likewise.
1199 * objc/runtime.h: Likewise.
1200 * objc/sarray.h: Likewise.
1201 * objc/typedstream.h: Likewise.
1203 2004-08-12 Ziemowit Laski <zlaski@apple.com>
1205 * objc/NXConstStr.h: Update copyright date; bracket with
1206 'extern "C"' for C++ use; make include syntax consistent
1207 by using <...> instead of "..."; hoist <objc/...> includes
1208 above the 'extern "C"' block.
1209 * objc/Object.h: Likewise.
1210 * objc/Protocol.h: Likewise.
1211 * objc/encoding.h: Likewise.
1212 * objc/hash.h: Likewise.
1213 * objc/runtime.h: Likewise.
1214 * objc/sarray.h: Likewise.
1215 * objc/thr.h: Likewise.
1216 * objc/typedstream.h: Likewise.
1217 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
1218 (objc_static_instances): For C++ case, do away with
1220 (objc_method): Hoist definition to file scope.
1221 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
1222 class_get_instance_method, class_create_instance,
1223 class_get_class_name, class_get_instance_size,
1224 class_get_meta_class, class_get_super_class, class_get_version,
1225 class_is_class, class_is_meta_class, class_set_version,
1226 class_get_gc_object_type, class_ivar_set_gcinvisible,
1227 get_imp): Rename 'class' parameter to '_class'.
1228 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
1229 * objc/objc.h: Update copyright date.
1230 (arglist_t): Provide a union tag.
1232 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
1234 * thr.c (__objc_thread_detach_function): Do not mark as volatile
1235 but instead use the attribute noreturn.
1237 2004-06-28 Zack Weinberg <zack@codesourcery.com>
1239 * encoding.c: Rename target_flags with a #define to avoid
1240 conflict with a prior declaration.
1242 2004-06-24 Andrew Pinski <apinski@apple.com>
1244 * objc/encoding.h: Wrap the functions with extern "C" for C++
1246 * objc/hash.h: Likewise.
1247 * objc/objc-api.h: Likewise.
1248 * objc/objc-list.h: Likewise.
1249 * objc/runtime.h: Likewise.
1250 * objc/sarray.h: Likewise.
1251 * objc/thr.h: Likewise.
1252 * objc/typedstream.h: Likewise.
1255 2004-06-21 Nick Clifton <nickc@redhat.com>
1257 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1260 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
1262 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1263 (exception_gc.lo): New.
1264 (OBJS_GC): Add exception_gc.lo.
1266 2004-06-17 Richard Henderson <rth@redhat.com>
1268 * exception.c: New file.
1269 * Makefile.in (exception.lo): New.
1272 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1274 * linking.m (_objcInit): New empty function
1277 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1279 * configure.ac: Support --enable-shared=libobjc.
1280 * configure: Regenerate.
1283 * configure.ac: Do not disable shared by default.
1284 * configure: Regenerate.
1286 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1288 * Protocol.m ([-isEqual:]): Small optimizations returning
1289 immediately if the argument is equal to self, and accessing
1290 the argument's name directly if it's a protocol.
1292 2004-06-03 David Ayers <d.ayers@inode.at>
1294 * Protocol.m ([-isEqual:]): Test the class of the argument.
1296 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1298 * configure.ac (includedir): Rename to ...
1300 * Makefile.in: s/includedir/includedirname/.
1303 * configure.ac (includedir): Set to "include"
1305 (libext) Set to empty except for Darwin.
1306 * configure: Regenerate
1307 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1308 s/include/$(includedir)/g.
1310 2004-05-25 Daniel Jacobowitz <drow@false.org>
1312 * Makefile.in: Add .NOEXPORT.
1314 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1316 Merge from the libobjc-branch
1317 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
1319 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
1321 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
1323 * Makefile.in (OBJC_H): Add objc-deps.h.
1325 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
1327 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1328 ([-hash], [-isEqual:]): New methods.
1330 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1332 * sarray.c (sarray_free): Add a better comment.
1334 2004-01-27 Adam Fedor <fedor@gnu.org>
1336 * hash.c (hash_add): Cast cachep to int.
1337 * selector.c (__sel_register_typed_name): Cast
1338 soffset_decode to int.
1340 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
1342 * selector.c: Rename register_selectors_from_list to
1343 __objc_register_selectors_from_list. Update caller.
1344 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1345 while registering selectors. Use __sel_register_typed_name instead
1346 of sel_register_typed_name. Check for NULL method_name:s.
1347 (pool_alloc_selector): New function.
1348 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1349 selector structures.
1350 * sendmsg.c (class_add_method_list): Use
1351 __objc_register_selectors_from_list.
1352 * objc/runtime.h: Add __objc_register_selectors_from_list.
1354 2004-01-25 Adam Fedor <fedor@gnu.org>
1355 Nicola Pero <n.pero@mi.flashnet.it>
1356 Andrew Pinski <pinskia@physics.uc.edu>
1358 * objc/objc-decls.h: New file.
1359 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1360 (_objc_load_callback): Likewise.
1361 (_objc_object_alloc): Likewise.
1362 (_objc_object_copy): Likewise.
1363 (_objc_object_dispose): Likewise.
1365 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
1367 * archive.c: s/__inline__/inline
1368 * sendmsg.c: Likewise.
1370 * encoding.c: Remove FIXME about the warning
1371 about unused variable.
1372 * sendmsg.c: Add a FIXME comment saying that
1373 this should be using libffi.
1375 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
1378 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1380 * archive.c (objc_read_class): Initialize class_name.
1381 (objc_read_selector): Initialize selector_name.
1383 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
1385 * Makefile.in (toolexecdir): Remove trailing space.
1387 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1390 * configure.ac: De-precious CC so multilibs work.
1391 * configure: Regenerate.
1393 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1395 * configure.ac: Restore toolexecdir.
1396 * Makefile.in: Restore toolexecdir.
1397 * configure: Regenerate.
1399 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1401 * configure.ac: Remove (unused) glibcpp_prefixdir.
1402 * configure: Regenerate.
1404 * configure.in: Rename to configure.ac.
1405 * Makefile.in: Update to match.
1407 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1408 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1409 * configure.in: Remove glibcpp_toolexecdir (unused).
1410 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1411 config.h or stamp-h (unused). Move one comment to the right place.
1412 * configure: Regenerate.
1413 * config.h.in: Remove (unused).
1415 * config.h.in: Regenerate with autoheader.
1417 * Makefile.in: Remove (unused) gcc_version_trigger.
1418 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1419 gcc_version_trigger.
1420 * configure: Regenerate.
1422 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1423 Sort file into sections. Remove dnl where appropriate. Fix
1425 * configure: Regenerate.
1427 * configure.in: Replace old AC_PROG_CC hack with new one.
1428 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1429 are no subdirectory output files, so this is fine). Change prereq
1431 * aclocal.m4: Include ../config/no-executables.m4.
1432 * configure: Regenerate with autoconf 2.59.
1434 * configure.in: Improve comments on gthread_cflags. Improve m4
1435 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1436 * configure: Regenerate.
1438 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1439 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1440 redundant checks for values of RANLIB, AR, INSTALL.
1441 * configure: Regenerate.
1443 * configure.in: Clean up handling of
1444 --enable-version-specific-runtime-libs and related variables;
1445 replace 'if test' with 'case' where reasonable. Fix comments.
1446 Remove useless libstdcxx_interface.
1447 * configure: Regenerate.
1449 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1450 Replace uses of target_alias with target_noncanonical.
1451 * aclocal.m4: Include ../config/acx.m4.
1452 * configure: Regenerate.
1453 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1454 Fix copyright statement.
1456 * configure.in: Hand-inline bulky, confusing macros from
1457 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1458 Update copyright notice. Remove stuff for automake, which isn't
1459 used in this directory. Remove emacs local variables.
1460 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1461 * configure: Regenerate.
1463 2004-03-16 Manfred Hollstein <mh@suse.com>
1465 * Makefile.in, configure.in, configure: Update copyright years.
1467 2004-03-15 Manfred Hollstein <mh@suse.com>
1469 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1470 definition from configure.in.
1471 * configure.in (PACKAGE): Add definition.
1472 (VERSION): Add definition; substitute it in output files.
1473 * configure: Re-generate.
1475 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1477 * objc/hash.h (hash_string, compare_strings):
1478 Add type-casts to make Objective-C++ happy.
1479 * objc/typedstream.h (objc_get_stream_class_version):
1480 Rename parameter from 'class' to 'class_name' to make
1481 Objective-C++ happy.
1483 2004-03-01 Michael Matz <matz@suse.de>
1485 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1487 2004-02-06 Ziemowit Laski <zlaski@apple.com>
1489 * objc/objc-api.h (objc_super): The 'class' field shall
1490 be named 'super_class' #ifdef __cplusplus.
1492 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1495 * encoding.c (rs6000_special_round_type_align): Define.
1497 2004-01-14 Adam Fedor <fedor@gnu.org>
1500 * selector.c (__objc_register_instance_methods_to_class): Free
1501 new_list if not used.
1503 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
1506 * sarray.c (sarray_free): Free array->is_copy_of latter.
1508 2003-12-01 Zack Weinberg <zack@codesourcery.com>
1511 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1512 instance_methods if it's NULL.
1513 (descriptionForClassMethod): Likewise for class_methods.
1515 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1517 * Makefile.in (runtime-info.h): Remove -Wp.
1519 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1521 * Makefile.in (CC1OBJ): Remove.
1522 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1524 Use .m extension for temporary file.
1525 Remove assembler temp file.
1527 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1529 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1531 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1533 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1535 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1537 * configure: Regenerate.
1539 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
1541 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1542 (libdir)/gcc-lib/ when installing.
1543 * configure: Regenerate.
1545 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1548 * sendmsg.c (get_imp): Fixed rare threading problem.
1549 (__objc_responds_to): Similar fixes.
1550 (objc_msg_lookup): Similar fixes.
1551 (__objc_init_install_dtable): Lock the runtime before checking if the
1554 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1556 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1557 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1558 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1559 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1560 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1561 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1562 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1563 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1564 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1565 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1566 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1568 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1569 Nicola Pero <n.pero@mi.flashnet.it>
1572 * init.c (class_superclass_of_class): New function.
1573 (create_tree_of_subclasses_inherited_from): Use it.
1574 (__objc_tree_insert_class): Likewise.
1575 (class_is_subclass_of_class): Likewise.
1577 2003-04-11 David Chad <davidc@freebsd.org>
1578 Loren J. Rittle <ljrittle@acm.org>
1581 * objc/hash.h (hash_string): Constify correctly.
1582 (compare_ptrs): Use direct compare.
1583 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1584 * objc/sarray.h: Global rename index to indx to avoid shadow.
1586 2003-03-12 Andreas Schwab <schwab@suse.de>
1588 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1589 glibcpp_toolexeclibdir.
1590 * configure: Rebuilt.
1592 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1594 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1596 * configure: Rebuilt.
1598 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1600 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1601 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1602 version_specific_libs is enabled.
1603 * configure: Rebuilt.
1605 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1607 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1608 (install-libs, install-headers): Prepend $(DESTDIR) to
1609 destination paths in all (un)installation commands.
1611 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1613 * thr-objc.c: Include coretypes.h and tm.h.
1615 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1617 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1619 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1621 * configure.in: Remove skip-this-dir support.
1622 * configure: Regenerate.
1624 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1626 * Makefile.in (all): Fix multilib parallel build.
1628 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1630 * sendmsg.c (nil_method): Declare not to take a variable number of
1632 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1633 (objc_msg_lookup_super): The same.
1635 2002-09-10 Jan Hubicka <jh@suse.cz>
1637 * nil_method.c (nil_method): No longer defined with variable
1640 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1642 * objc/encoding.h: Fix formatting.
1643 * objc/hash.h: Likewise.
1644 * objc/objc-api.h: Likewise.
1645 * objc/runtime.h: Likewise.
1646 * objc/thr.h: Likewise.
1647 * archive.c: Likewise.
1648 * class.c: Likewise.
1649 * encoding.c: Likewise.
1654 * nil_method.c: Likewise.
1655 * objects.c: Likewise.
1656 * sarray.c: Likewise.
1657 * selector.c: Likewise.
1658 * sendmsg.c: Likewise.
1659 * thr-mach.c: Likewise.
1662 2002-06-25 DJ Delorie <dj@redhat.com>
1664 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1665 GLIBCPP_TOPREL_CONFIGURE.
1666 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1667 * configure: Regenerate.
1669 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1671 * Object.m (forward, read, write): Fix unused parameter warnings.
1672 * encoding.c: Include <stdlib.h>.
1673 (target_flags): Mark with attribute unused.
1675 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1676 (__objc_generate_gc_type_description): Prototype.
1677 * selector.c (__objc_selector_max_index): Change to unsigned int.
1679 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1681 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1682 we always have a return value: if __objc_msg_forward does not
1683 supply a forwarding implementation, return the default
1684 __builtin_apply based one.
1686 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1688 * Object.m: Fix signed/unsigned warning.
1689 * Protocol.m: Likewise.
1690 * archive.c: Always include stdlib.h.
1691 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1692 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1693 Fix signed/unsigned warning.
1694 (objc_write_type, objc_read_type, objc_write_types,
1695 objc_read_types): Ensure ctype 8-bit safety.
1696 (__objc_no_write, __objc_no_read): Mark unused parameters.
1697 * class.c (class_table_setup): Specify void arg.
1698 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1699 objc_skip_typespec, objc_skip_offset,
1700 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1701 (objc_layout_structure_next_member): Ensure variables are
1703 * gc.c (__objc_generate_gc_type_description,
1704 class_ivar_set_gcinvisible): Mark unused parameters.
1705 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1707 (__objc_init_protocols) Fix signed/unsigned warning.
1708 * nil_method.c (nil_method): Mark unused parameters.
1709 * thr.h (objc_thread_callback): Specify void arg.
1710 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1711 signed/unsigned warning.
1712 (sarray_free): Fix formatting.
1713 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1714 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1716 2002-06-09 Andreas Jaeger <aj@suse.de>
1718 * encoding.c (objc_layout_structure_next_member): Remove unused
1721 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1723 * Makefile.in (SHELL): Set to @SHELL@.
1725 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1727 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1729 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1730 * configure: Regenerate.
1732 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1734 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1735 script entry, and set LD to it when configuring multilibs.
1736 * configure: Rebuilt.
1738 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1740 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1742 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1745 * objc/objc-api.h (struct objc_protocol_list): Change type of
1746 member count from int to size_t.
1748 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1751 * aclocal.m4: Replace with version copied from libstdc++-v3.
1752 * configure.in: Update for changes to aclocal and Makefile.
1753 * configure: Regenerate.
1754 * Makefile.in: Correct install of multilibs and shared libs, use
1755 INSTALL_DATA for include files.
1757 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1759 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1760 categories - when an unclaimed category was found, the loop was
1761 doing two steps forward instead of one, so that in certain cases
1762 it was failing to properly load all the categories. (Reported
1763 with fix by Alexander Malmberg <alexander@malmberg.org>).
1765 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
1767 * encoding.c: Add target_flags.
1769 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
1771 * objc/objc-api.h (_C_VECTOR): New.
1773 * encoding.c (VECTOR_TYPE): New.
1775 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1777 * class.c: Rewritten the class table to use optimized, lock-free
1778 lookup. This more than doubles the speed of class method
1779 invocations. (class_table_setup), (class_table_insert),
1780 (class_table_replace), (class_table_get_safe),
1781 (class_table_next), (class_table_print),
1782 (class_table_print_histogram): New functions.
1783 (__objc_init_class_tables): Use class_table_setup.
1784 (__objc_add_class_to_hash): Use class_table_get_safe and
1785 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1786 assert the existence of the table; do not lock the runtime; use
1787 class_table_get_safe. (objc_next_class): Use class_table_next.
1788 (__objc_resolve_class_links): Use class_table_next.
1789 (class_pose_as): Use class_table_replace.
1791 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1793 * gc.c: Removed the DEBUG declaration.
1795 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1797 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1798 rather than through objc_thread_id, to save a function call.
1799 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1802 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1804 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1805 to cast an id to a Class, which can not be done. Make the check
1806 by using CLS_ISMETA on the class pointer instead.
1807 (object_is_meta_class): Similar fix.
1809 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1811 * configure.in (AC_EXEEXT): Work around in case it expands to
1812 nothing, as in autoconf 2.50.
1813 * acinclude.m4: Likewise.
1814 * configure: Rebuilt.
1816 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1818 * THREADS: Explain that when we compile libobjc inside GCC, we
1819 always use thr-objc.c as a backend, which uses GCC's thread code.
1821 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1823 * init.c (__objc_send_message_in_list): When setting a new entry
1824 in __objc_load_methods use the method IMP as key, but check to see
1825 if the method is in the hashtable by looking at the IMP also.
1826 Also ... call the method after adding it to the hashtable rather
1827 than before ... thus preventing an obscure possibility of infinite
1828 recursion if a +load method itself loads a subclass.
1830 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1832 * init.c (__objc_send_message_in_list): When setting a new entry
1833 in __objc_load_methods use the method name as key, not the method
1834 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1836 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1838 * objc-features.texi: Move to ../gcc/objc.texi.
1840 * Makefile.in: Don't generate documentation from
1843 2001-05-01 Mark Mitchell <mark@codesourcery.com>
1845 * fdl.texi: New file.
1846 * objc-features.texi: Simplify.
1847 * Makefile.in: Adjust accordingly.
1849 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1851 * objc-features.texi: Use the GFDL.
1853 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1855 * encoding.c (REAL_TYPE): Define.
1857 2001-03-19 David Edelsohn <edelsohn@gnu.org>
1859 * encoding.c (TYPE_MODE): Define.
1861 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1863 * thr.c (objc_thread_add): New function.
1864 (objc_thread_remove): Ditto.
1865 * objc/thr.h: Declare them.
1866 * libobjc.def: Mention them.
1868 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1870 * objc-features.texi: Document the @compatibility_alias compiler
1871 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1873 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1875 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1877 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
1879 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1880 we're not interested in the result and they might fail.
1881 * configure: Regenerated.
1883 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1885 * objc-features.texi: Use @email.
1887 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1889 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1892 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
1894 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1895 determines the value dynamically.
1897 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1899 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1900 libraries to provide a function that returns the real forwarding
1901 function. This can alleviate problems __builtin_apply() and
1902 friends have on various platforms. (Solution suggested by Helge
1905 * objc/objc-api.h: Define __objc_msg_forward.
1907 * sendmsg.c: Define gen_rtx_REG.
1909 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1911 * thr-rtems.c: New file. Stub to compile.
1913 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1915 * configure: Rebuilt with new libtool.m4.
1917 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1919 * configure.in: Create a config.h file. Check for <sched.h>.
1920 * configure: Regenerate.
1922 * config.h.in: Check for <sched.h>.
1924 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1926 * configure: Regenerate after change to ../libtool.m4.
1928 2000-08-14 Andreas Schwab <schwab@suse.de>
1930 * objc-features.texi (Top): Move @menu at end of node.
1932 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
1934 * objc-features.texi: Move @node Top before @menu.
1936 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1938 * objc-features.texi: Documented the new -fconstant-string-class
1941 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1943 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1944 improve the Posix thread support for Objective-C.
1946 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1948 * aclocal.m4: Replace copy of ../libtool.m4 with
1949 sinclude(../libtool.m4).
1951 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1953 * configure.in: Added libtool support; build shared libraries
1954 if --enable-shared was passed on command line.
1955 * Makefile.in: Modified most compilation commands to use libtool.
1956 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1957 libtool distribution.
1959 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1961 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1962 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1965 2000-05-12 H.J. Lu (hjl@gnu.org)
1967 * Makefile.in (GTHREAD_FLAGS): New.
1968 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1969 (OBJC_THREAD_FILE): Changed to thr-objc.
1971 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1973 (OBJC_THREAD_FILE): Removed.
1977 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1979 * objc/hash.h: Include string.h.
1981 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1983 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1985 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1987 * Object.m (strlen): Provide prototype on all 64bit platforms,
1989 * sarray.c (memcpy): Likewise.
1990 * encoding.c (objc_layout_finish_structure): Don't use
1991 ROUND_TYPE_ALIGN on sparc.
1993 * encoding.c (objc_layout_structure_next_member): Do the whole
1994 procedure even for the first member, so that we get correct
1997 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1999 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
2002 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2004 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
2006 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
2008 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
2010 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
2012 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
2013 the compiler when building C code.
2015 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2017 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2018 libdir, libsubdir and tooldir.
2020 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
2022 * init.c (__objc_force_linking): Make global.
2024 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
2026 * configure.in (AC_EXEEXT): Remove call.
2027 (compiler_name): Explicitly check with no extension and .exe
2029 * configure: Regenerate.
2031 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2033 * Makefile.in (CC1OBJ): Define in terms of CC.
2034 (runtime-info.h): Use.
2036 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2038 * objc-features.texi: Updated the URL to Boehm's GC page.
2040 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2042 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
2043 the char as being signed (patch from Daniel Jacobowitz
2046 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
2048 * configure.in (AC_PREREQ): Update to 2.13.
2049 (AC_EXEEXT): Call to find possible file extension.
2050 (compiler_name): Use.
2051 * configure: Regenerate.
2053 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
2055 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
2057 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
2059 * configure.in (thread_file): Correct and simplify code to find
2061 * configure: Rebuilt.
2063 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
2065 * configure.in (compiler_name): Add check to detect if this
2066 language's compiler has been built.
2067 * configure: Regenerate.
2069 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2071 * configure.in: Use AC_PREREQ(2.12.1).
2073 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
2075 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
2077 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2079 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
2081 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2083 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
2085 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
2087 * objc-features.texi (Top): Changed the email address.
2088 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
2090 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
2092 * encoding.c: Redefine get_inner_array_type to get the first entry
2095 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
2097 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
2098 (objc_get_type_qualifiers): Similarly.
2099 * objc/encoding.h (_C_BYREF): Define.
2102 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
2104 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
2105 works out on 64-bit systems.
2107 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2109 * Makefile.in (INCLUDES): Make it multilib-friendly.
2111 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
2113 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
2115 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
2116 Jeffrey A Law (law@cygnus.com)
2118 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
2119 (FLAGS_TO_PASS): Added.
2120 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
2122 * archive.c: Change config.h to tconfig.h.
2124 * configure.in: Find gcc's object directory even for multilibs.
2126 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
2128 * configure.in: Escape ^ in grep string.
2129 * configure: Rebuilt.
2131 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
2133 * All .h files pushed down into the objc/ subdirectory.
2134 * Makefile.in (copy_headers): Corresponding changes.
2135 * configure.in (AC_INIT): Corresponding changes.
2136 * configure: Rebuilt.
2138 1998-09-30 Ben Elliston <bje@cygnus.com>
2139 Jeff Law <law@cygnus.com>
2141 * Makefile.in: Rewrite.
2143 * configure.in: Likewise.
2145 * configure: Regenerate.
2147 * All .c files. Remove "objc" prefix when including objc header
2148 files. Include tconfig.h, not ../tconfig.h.
2150 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
2152 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
2153 (get_inner_array_type): Define.
2155 1998-09-21 Ben Elliston <bje@cygnus.com>
2157 * New directory. Moved files from ../gcc/objc.