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