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