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