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