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