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