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