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