Debian Codegraph @

libobjc/ChangeLog

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