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