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