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