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