forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3553 lines (2674 loc) · 118 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2019-09-27 Maciej W. Rozycki <[email protected]>
* configure: Regenerate.
2019-04-23 Ramana Radhakrishnan <[email protected]>
Bernd Edlinger <[email protected]>
Jakub Jelinek <[email protected]>
PR target/89093
* exception.c (PERSONALITY_FUNCTION): Add general-regs-only target
attribute for ARM.
2019-03-06 Uroš Bizjak <[email protected]>
* encoding.c (DFmode): #undef before #define.
2019-01-09 Sandra Loosemore <[email protected]>
PR other/16615
* objc/runtime.h: Change "can not" to "cannot".
2019-01-09 Sandra Loosemore <[email protected]>
PR other/16615
* class.c: Mechanically replace "can not" with "cannot".
* objc/runtime.h: Likewise.
* sendmsg.c: Likewise.
2019-01-01 Jakub Jelinek <[email protected]>
Update copyright years.
2018-10-31 Joseph Myers <[email protected]>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, config.h.in, configure: Regenerate.
2018-04-24 H.J. Lu <[email protected]>
* configure: Regenerated.
2018-04-19 Jakub Jelinek <[email protected]>
* configure: Regenerated.
2018-04-18 David Malcolm <[email protected]>
PR jit/85384
* configure: Regenerate.
2018-02-14 Igor Tsimbalist <[email protected]>
PR target/84148
* configure: Regenerate.
2018-01-03 Jakub Jelinek <[email protected]>
Update copyright years.
2017-11-23 Tom de Vries <[email protected]>
* class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
2017-11-17 Igor Tsimbalist <[email protected]>
* Makefile.in: Regenerate.
* aclocal.m4: Likeiwse.
* configure: Likewise.
* configure.ac: Set CET_FLAGS. Update XCFLAGS.
2017-08-30 Richard Sandiford <[email protected]>
Alan Hayward <[email protected]>
David Sherwood <[email protected]>
* encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
names with E_ in case statements.
2017-02-07 Richard Biener <[email protected]>
PR tree-optimization/79256
PR middle-end/79278
* encoding.c (objc_layout_structure_next_member): Adjust
ADJUST_FIELD_ALIGN usage.
2017-01-18 Matthias Klose <[email protected]>
PR libobjc/78697
* configure.ac: Allow default for --with-target-bdw-gc-include.
* configure: Regenerate.
PR libobjc/78698
* configure.ac: Use the libgc.la file when available.
* configure: Regenerate.
2017-01-17 Jakub Jelinek <[email protected]>
PR other/79046
* configure: Regenerated.
* configure.ac: Add GCC_BASE_VER.
* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
get version from BASE-VER file.
* configure: Regenerated.
2017-01-01 Jakub Jelinek <[email protected]>
Update copyright years.
2016-12-01 Matthias Klose <[email protected]>
* configure.ac: Don't use pkg-config to check for bdw-gc.
* configure: Regenerate.
2016-11-30 Matthias Klose <[email protected]>
* configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
for the existence of the pkg-config modules.
* Regenerate.
2016-11-30 Jakub Jelinek <[email protected]>
* configure.ac (--enable-objc-gc): If not given, default to
enable_objc_gc=no.
* configure: Regenerated.
2016-11-30 Matthias Klose <[email protected]>
* configure.ac (--enable-objc-gc): Allow to configure with a
system provided boehm-gc.
* configure: Regenerate.
* Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
* gc.c: Include system bdw-gc headers.
* memory.c: Likewise.
* objects.c: Likewise.
2016-11-15 Matthias Klose <[email protected]>
* aclocal.m4: Regenerate.
* configure: Likewise.
2016-01-04 Jakub Jelinek <[email protected]>
Update copyright years.
2015-11-07 Trevor Saunders <[email protected]>
PR libobjc/24775
* encoding.c (_darwin_rs6000_special_round_type_align): Use
__CHAR_BIT__ instead of BITS_PER_UNIT.
(objc_sizeof_type): Likewise.
(objc_layout_structure): Likewise.
(objc_layout_structure_next_member): Likewise.
(objc_layout_finish_structure): Likewise.
(objc_layout_structure_get_info): Likewise.
2015-11-03 Trevor Saunders <[email protected]>
PR libobjc/24775
* encoding.c (objc_layout_finish_structure): Remove usage of
ROUND_TYPE_SIZE.
2015-09-12 Trevor Saunders <[email protected]>
PR libobjc/24775
* sendmsg.c (tm.h): Remove include.
2015-09-12 Trevor Saunders <[email protected]>
PR libobjc/24775
* sendmsg.c (gen_rtx): Remove macro.
(gen_rtx_MEM): Likewise.
(gen_rtx_REG): Likewise.
(rtx): Likewise.
2015-09-12 Trevor Saunders <[email protected]>
PR libobjc/24775
* sendmsg.c: Remove check of STRUCT_VALUE macro.
2015-05-13 Eric Botcazou <[email protected]>
* configure.ac: Remove manual SJLJ check.
* config.h.in: Regenerate.
* configure: Likewise.
* exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
2015-05-13 Michael Haubenwallner <[email protected]>
* aclocal.m4: Regenerated with automake-1.11.6.
2015-05-04 Trevor Saunders <[email protected]>
* configure: Regenerate.
2015-05-01 Trevor Saunders <[email protected]>
* acinclude.m4: Include bitfields.m4.
* config.h.in: Regenerate.
* configure: Likewise.
* configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
* encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
2015-04-29 Trevor Saunders <[email protected]>
* encoding.c (objc_layout_structure_next_member): Check the value of
PCC_BITFIELD_TYPE_MATTERS not if it is defined.
2015-02-05 Rainer Orth <[email protected]>
PR libobjc/63765
* thr.c (_XOPEN_SOURCE): Remove.
2015-01-27 Matthias Klose <[email protected]>
* sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
2015-01-09 Dimitris Papavasiliou <[email protected]>
PR libobjc/51891
* ivars.c: Add a check for classes without instance
variables, which have a NULL ivar list pointer.
2015-01-05 Jakub Jelinek <[email protected]>
Update copyright years.
2014-11-21 H.J. Lu <[email protected]>
PR bootstrap/63784
* configure: Regenerated.
2014-11-11 Francois-Xavier Coudert <[email protected]>
PR target/63610
* configure: Regenerate.
2014-11-05 Rainer Orth <[email protected]>
* thr.c (_XOPEN_SOURCE): Define as 600.
2014-07-27 Alan Modra <[email protected]>
Matthias Klose <[email protected]>
PR libobjc/61920
* encoding.c: Define rs6000_special_adjust_field_align_p.
2014-01-02 Richard Sandiford <[email protected]>
Update copyright years
2013-09-20 Alan Modra <[email protected]>
* configure: Regenerate.
2013-07-21 OndÅej BÃlka <[email protected]>
* class.c: Fix typos.
* encoding.c: Likewise.
* init.c: Likewise.
* objc-private/runtime.h: Likewise.
* objc/runtime.h: Likewise.
* objc-sync.c: Likewise.
2013-07-04 Kai Tietz <[email protected]>
* exception.c: Add check for SjLj to SEH blocks.
2013-02-03 Richard Sandiford <[email protected]>
Update copyright years.
2012-10-19 Michael Meissner <[email protected]>
* encoding.c (TARGET_VSX): Provide definitions based on the
current compilation options, and not based off the target options
structure.
(TARGET_ALTIVEC): Likewise.
(TARGET_64BIT): Likewise.
2012-09-14 David Edelsohn <[email protected]>
* configure: Regenerated.
2012-07-19 Tristan Gingold <[email protected]>
Richard Henderson <[email protected]>
* exception.c (__gnu_objc_personality_seh0): New function.
2012-05-16 H.J. Lu <[email protected]>
* configure: Regenerated.
2012-03-12 Rainer Orth <[email protected]>
* configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
* configure: Regenerate.
* thr.c (_XOPEN_SOURCE): Define unconditionally.
2011-11-21 Andreas Tobler <[email protected]>
* configure: Regenerate.
2011-11-02 Rainer Orth <[email protected]>
* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
* configure: Regenerate.
* config.h.in: Regenerate.
2011-10-17 Paul Brook <[email protected]>
Matthias Klose <[email protected]>
* exception.c (parse_lsda_header): hardcode ttype_encoding for older
ARM EABI toolchains.
(get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
2011-10-09 Nicola Pero <[email protected]>
PR libobjc/49883
* init.c (__objc_exec_class): Work around a bug in clang's code
generation. Clang sets the class->info field to values different
from 0x1 or 0x2 (the only allowed values in the traditional GNU
Objective-C runtime ABI) to store some additional information, but
this breaks backwards compatibility. Wipe out all the bits in the
fields other than the first two upon loading a class.
2011-10-09 Nicola Pero <[email protected]>
* class.c (objc_lookup_class): Added back for compatibility with
clang which seems to emit calls to it.
2011-10-08 Richard Frith-Macdonald <[email protected]>
Nicola Pero <[email protected]>
PR libobjc/50428
* sendmsg.c (__objc_send_initialize): If a class does not have an
+initialize method, search for an +initialize method in the
superclass and in the ancestor classes and execute the first one
that is found. This makes the GNU runtime behave in the same way
as the Apple/NeXT runtime with respect to +initialize methods and
subclassing.
2011-08-06 Nicola Pero <[email protected]>
PR libobjc/50002
* class.c (__objc_update_classes_with_methods): Iterate over meta
classes as well as normal classes when refreshing the method
implementations. This fixes replacing class methods.
2011-08-06 Nicola Pero <[email protected]>
* class.c (class_getSuperclass): Fixed to work with meta classes
still in construction too.
2011-08-06 Nicola Pero <[email protected]>
* class.c (class_getSuperclass): Fixed typo in comment.
2011-08-06 Nicola Pero <[email protected]>
PR libobjc/49882
* class.c (class_getSuperclass): Return the superclass if the
class is in construction.
* objc/runtime.h (class_getSuperclass): Updated documentation.
2011-08-05 Rainer Orth <[email protected]>
* Makefile.in (INCLUDES): Search
$(srcdir)/$(MULTISRCTOP)../libgcc.
2011-06-08 Nicola Pero <[email protected]>
* objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
2011-06-08 Nicola Pero <[email protected]>
* configure.ac (VERSION): Bumped to 4:0:0.
* configure (VERSION): Likewise.
2011-06-08 Nicola Pero <[email protected]>
* objc/README: Updated.
* objc-private/selector.h: Updated comments.
2011-06-07 Nicola Pero <[email protected]>
* sendmsg.c (class_get_instance_method): Removed.
(class_get_class_method): Removed.
(objc_get_uninstalled_dtable): Removed.
2011-06-07 Nicola Pero <[email protected]>
* objc-private/module-abi-8.h (class_get_instance_size): Removed.
* objects.c (class_create_instance): Removed.
* error.c (__USE_FIXED_PROTOTYPES__): Removed.
* gc.c (__objc_generate_gc_type_description): Use
class_getInstanceSize() instead of class_get_instance_size().
* selector.c (sel_types_match): Made static.
(sel_get_typed_uid): Removed.
(sel_get_any_typed_uid): Removed.
(sel_get_name): Removed.
(sel_get_type): Removed.
(sel_register_name): Removed.
(sel_register_typed_name): Removed.
(sel_get_uid): Removed.
2011-06-07 Nicola Pero <[email protected]>
* encoding.c (method_get_number_of_arguments): Removed.
(method_get_sizeof_arguments): Removed.
2011-06-07 Nicola Pero <[email protected]>
* class.c (objc_next_class): Removed.
(class_pose_as): Removed.
(CLASSOF): Removed.
(class_table_replace): Removed.
(objc_lookup_class): Removed.
2011-06-07 Nicola Pero <[email protected]>
Removed the Traditional Objective-C runtime public API.
* Makefile.in (OBJC_DEPRECATED_H): Variable removed.
(install-headers): Do not create the objc/deprecated directory and
do not install the deprecated headers.
(OBJC_H): Removed encoding.h and objc-api.h.
* Object.m: Removed all methods with the exception of -class and
-isEqual:. Updated includes. ([-class]): Use Modern API.
* objc/Object.h: Do not include deprecated/Object.h.
* objc/deprecated/Object.h: Removed.
* linking.m (__objc_linking): Call [Object class] instead of
[Object name].
* Protocol.m: Removed all methods with the exception of -isEqual:.
Updated includes.
* objc/Protocol.h: Do not include deprecated/Protocol.h.
* objc/deprecated/Protocol.h: Removed.
* objc/deprecated/struct_objc_symtab.h: Removed.
* objc/deprecated/struct_objc_module.h: Removed.
* objc/deprecated/struct_objc_ivar.h: Removed.
* objc/deprecated/struct_objc_ivar_list.h: Removed.
* objc/deprecated/struct_objc_method.h: Removed.
* objc/deprecated/struct_objc_method_list.h: Removed.
* objc/deprecated/struct_objc_protocol_list.h: Removed.
* objc/deprecated/struct_objc_category.h: Removed.
* objc/deprecated/MetaClass.h: Removed.
* objc/deprecated/objc_msg_sendv.h: Removed.
* objc/deprecated/README: Removed.
* objc/deprecated/struct_objc_class.h: Removed.
* objc/deprecated/struct_objc_protocol.h: Removed.
* objc/deprecated/struct_objc_selector.h: Removed.
* objc/encoding.h: Removed.
* objc/message.h (struct objc_super): Removed the definition for
the Traditional Objective-C runtime API.
* objc/objc.h: Do not include objc/objc-decls.h.
deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
and deprecated/objc_msg_sendv.h. Uncommented new definition of
Protocol *.
* objc/objc-api.h: Removed.
* objc/runtime.h: Updated comments. Removed check to detect
concurrent usage of Traditional and Modern APIs.
* objc-private/module-abi-8.h: Always define struct objc_class and
struct objc_protocol. (struct objc_protocol_list): Changed type
of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
(class_get_instance_size): Added.
* objc-private/protocols.h (__objc_protocols_add_protocol): Take a
'struct objc_protocol *' as argument, not a 'Protocol *'.
* objc-private/runtime.h: Updated comments.
* objc-private/selector.h (struct objc_selector, sel_eq): Added.
* class.c: Include objc-private/selector.h.
(objc_get_meta_class): Return a Class instead of a MetaClass.
* encoding.c (method_get_next_argument): Removed.
(method_get_first_argument): Removed.
(method_get_nth_argument): Removed.
* gc.c: Include objc/runtime.h instead of objc/encoding.h.
Include objc-private/module-abi-8.h and ctype.h.
* protocols.c (__objc_protocols_add_protocol): Take a 'struct
objc_protocl *' as argument, not a 'Protocol *'.
(class_addProtocol): Added casts to 'struct objc_protocol *' and
'Protocol *'.
(class_copyProtocolList): Likewise.
(protocol_conformsToProtocol): Likewise.
(protocol_copyProtocolList): Likewise.
* sarray.c: Include objc-private/module-abi-8.h.
* sendmsg.c (method_get_next_argument): Removed.
(method_get_first_argument): Removed.
(method_get_nth_argument): Removed.
(objc_msg_sendv): Removed.
(arglist_t, retval_t): New. (class_get_class_method): Take a
'Class', not 'MetaClass', argument.
* thr.c: Include module-abi-8.h.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
and objc_get_uninstalled_dtable.h.
* objc/deprecated/struct_objc_static_instances.h: Removed.
* objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
* objc/objc-api.h: Do not include deprecated/objc_static_instances.h
and deprecated/objc_get_uninstalled_dtable.h.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
* objc/deprecated/objc_object_alloc.h: Removed.
* objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
* objects.c (_objc_object_alloc, _objc_object_dispose,
_objc_object_copy): Removed.
* libobjc.def (__objc_object_alloc, __objc_object_copy,
__objc_object_dispose): Removed.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
* objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
* objc/deprecated/METHOD_NULL.h: Removed.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
objc_malloc.h and objc_unexpected_exception.h.
(exception.lo): Do not use -Wno-deprecated-declarations.
(exception_gc.lo): Likewise.
* objc/objc-api.h: Do not include deprecated/objc_valloc.h,
deprecated/objc_malloc.h and
deprecated/objc_unexpected_exception.h.
* objc/deprecated/objc_valloc.h: Removed.
* objc/deprecated/objc_malloc.h: Removed.
* objc/deprecated/objc_unexpected_exception.h: Removed.
* exception.c (_objc_unexpected_exception): Removed.
(objc_exception_throw): Do not check for
_objc_unexpected_exception.
* memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
_objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
* libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
2011-06-03 Nicola Pero <[email protected]>
* objc/objc.h: Do not include deprecated/STR.h.
* objc/deprecated/STR.h: Removed.
* Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_H): Removed hash.h and sarray.h.
(OBJC_DEPRECATED_H): Likewise.
* libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
* objc/sarray.h: Removed.
* objc/hash.h: Removed.
* objc/deprecated/sarray.h: Removed.
* objc/deprecated/hash.h: Removed.
* objc/Object.h: Do not include objc/deprecated/hash.h
* Object.m: Include string.h.
* objc/objc-api.h: Do not include objc/deprecated/hash.h.
* objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
Removed.
2011-06-03 Nicola Pero <[email protected]>
* Object.m ([-forward::]): Removed.
* objc/deprecated/Object.h ([-forward::]): Removed.
* sendmsg.c (__objc_forward): Updated comments.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_H): Removed objc-list.h.
(OBJC_DEPRECATED_H): Removed objc-list.h.
* objc/objc-list.h: File removed.
* objc/deprecated/objc-list.h: File removed.
2011-06-03 Nicola Pero <[email protected]>
* Makefile.in (OBJC_H): Removed typedstream.h.
(OBJC_DEPRECATED_H): Removed typedstream.h.
(C_SOURCE_FILES): Removed archive.c.
(Object.lo): Rule removed.
(Object_gc.lo): Likewise.
(archive.lo): Likewise.
(archive_gc.lo): Likewise.
* objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
[-awake]): Removed.
Do not include deprecated/typedstream.h.
* Object.m: Removed the same methods.
* archive.c: File removed.
* objc/typedstream.h: File removed.
* objc/deprecated/typedstream.h: File removed.
* libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
__objc_write_class, __objc_write_object, __objc_write_selector,
objc_close_typed_stream, objc_end_of_typed_stream,
objc_flush_typed_stream, objc_get_stream_class_version,
objc_open_typed_stream, objc_open_typed_stream_for_file,
objc_read_array, objc_read_char, objc_read_int, objc_read_long,
objc_read_object, objc_read_selector, objc_read_short,
objc_read_string, objc_read_type, objc_read_types,
objc_read_unsigned_char, objc_read_unsigned_int,
objc_read_unsigned_long, objc_read_unsigned_short,
objc_write_array, objc_write_char, objc_write_int,
objc_write_long, objc_write_object, objc_write_object_reference,
objc_write_root_object, objc_write_selector, objc_write_short,
objc_write_string, objc_write_string_atomic, objc_write_type,
objc_write_types, objc_write_unsigned_char,
objc_write_unsigned_int, objc_write_unsigned_long,
objc_write_unsigned_short): Removed.
2011-06-02 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
* objc/deprecated/objc_error.h: Removed.
* objc/objc-api.h: Do not include deprecated/objc_error.h.
* libobjc.def (objc_error, objc_verror): Removed.
* error.c (_objc_error_handler, objc_error, objc_verror,
objc_set_error_handler): Removed.
* Object.m ([-error:], [-perform:], [-perform:with:],
[-perform:with:with], [-subclassResponsibility:],
[-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
Removed.
* objc/deprecated/Object.h: Removed the same methods.
* sendmsg.c (__objc_forward): Do not try to invoke the "error:"
method after trying to invoke the "doesNotRecognize:" method.
2011-05-26 Nicola Pero <[email protected]>
* sendmsg.c: Reindented part of the file. No non-trivial changes
in code.
2011-05-26 Nicola Pero <[email protected]>
* sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
not objc_lookup_class.
2011-05-25 Richard Frith-Macdonald <[email protected]>
David Ayers <[email protected]>
PR libobjc/38307
* sendmsg.c: Include objc/hash.h.
(get_implementation): New function, mostly with code from get_imp
updated to support the new +initialize dispatch table logic.
(get_imp): Use get_implementation.
(__objc_responds_to): Updated to support the new +initialize
dispatch table logic.
(class_respondsToSelector): Likewise.
(objc_msg_lookup): Use get_implementation.
(__objc_init_install_dtable): Removed.
(__objc_install_methods_in_dtable): Updated arguments.
(__objc_install_dispatch_table_for_class): Renamed to
__objc_install_dtable_for_class and updated to support the new
+initialize dispatch table logic.
(__objc_update_dispatch_table_for_class): Updated to support the
new +initialize dispatch table logic.
(__objc_forward): Call get_implementation instead of get_imp.
(prepared_dtable_table): New.
(__objc_prepare_dtable_for_class): New.
(__objc_prepared_dtable_for_class): New.
(__objc_get_prepared_imp): New.
(__objc_install_prepared_dtable_for_class): New.
2011-05-24 Nicola Pero <[email protected]>
PR libobjc/48177
* selector.c (__sel_register_typed_name): Use sel_types_match()
instead of strcmp() to compare selector types (Suggestion by
Richard Frith-Macdonald <[email protected]>).
2011-04-15 Rainer Orth <[email protected]>
PR libobjc/32037
* Makefile.in (OBJC_GCFLAGS): Move ...
* configure.ac (enable_objc_gc): ... here.
Add $(libsuffix) to OBJC_BOEHM_GC.
* configure: Regenerate.
2011-02-28 Nicola Pero <[email protected]>
* selector.c (sel_getTypedSelector): Return NULL if there are
multiple selectors with conflicting types.
* objc/runtime.h (sel_getTypedSelector): Updated documentation.
2011-02-28 Richard Frith-Macdonald <[email protected]>
PR libobjc/47922
* gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
a hardcoded "!".
2011-02-13 Ralf Wildenhues <[email protected]>
* configure: Regenerate.
2010-12-26 Nicola Pero <[email protected]>
* init.c (create_tree_of_subclasses_inherited_from): Use
class_superclass_of_class instead of assuming a class is
unresolved when it could be resolved. Tidied up assignment and
check.
(__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
(objc_tree_insert_class): Tidied up loop; return immediately upon
inserting a class.
(__objc_exec_class): Do not set __objc_class_tree_list.
2010-12-24 Nicola Pero <[email protected]>
* selector.c (sel_getTypedSelector): Return NULL if given a NULL
argument.
(sel_registerTypedName): Same.
(sel_registerName): Same.
* objc/runtime.h: Updated documentation.
2010-12-24 Nicola Pero <[email protected]>
* objc/runtime.h (class_addIvar): Updated documentation. The
alignment is actually the log_2 of the alignment in bytes.
* ivars.c (class_addIvar): Corresponding change to the
implementation.
2010-12-24 Nicola Pero <[email protected]>
* objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
be consistent with method_getTypeEncoding and
ivar_getTypeEncoding.
(sel_copyTypedSelectorList, sel_getTypedSelector): New.
* selector.c (sel_getType): Renamed to sel_getTypeEncoding.
(sel_copyTypedSelectorList, sel_getTypedSelector): New.
(sel_get_type): Updated call to sel_getType.
2010-12-24 Nicola Pero <[email protected]>
* objc/runtime.h (class_conformsToProtocol,
class_copyProtocolList): Updated documentation.
2010-12-23 Nicola Pero <[email protected]>
* init.c (create_tree_of_subclasses_inherited_from): Updated
DEBUG_PRINTF messages.
(__objc_tree_insert_class): Same.
(__objc_send_load_using_method_list): Same.
(__objc_send_load): Same.
(__objc_exec_class): Same. In particular, do not print the module
name since it is no longer used.
* sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
tracking +initialize calls.
(__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
tracking updates of dispatch tables.
(__objc_install_dispatch_table_for_class): Same.
2010-12-23 Rainer Orth <[email protected]>
* Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
(libobjc_gc$(libsuffix).la): Likewise.
2010-12-23 Nicola Pero <[email protected]>
* sendmsg.c (class_addMethod): Return NO if the method already
exists in the class.
2010-12-22 Nicola Pero <[email protected]>
* init.c (duplicate_classes): New.
(__objc_exec_class): Initialize duplicate_classes.
(__objc_create_classes_tree): Ignore classes in the
duplicate_classes table.
(__objc_call_load_callback): Same.
(__objc_init_class): If a duplicate class is found, add it to
duplicate_classes instead of aborting. Return YES if the class is
not a duplicate, and NO if it is.
* objc-private/runtime.h (__objc_init_class): Updated prototype.
2010-12-22 Nicola Pero <[email protected]>
* objc-private/objc-list.h: Reindented file. No code changes.
* objc-private/sarray.h: Same change.
2010-12-22 Nicola Pero <[email protected]>
* objc-private/accessors.h: Removed 'extern "C"' guards. This
file is never compiled with C++.
* objc-private/hash.h: Same change.
* objc-private/objc-list.h: Same change.
* objc-private/objc-sync.h: Same change.
* objc-private/protocols.h: Same change.
* objc-private/runtime.h: Same change.
* objc-private/sarray.h: Same change.
* objc-private/selector.h: Same change.
2010-12-21 Nicola Pero <[email protected]>
PR libobjc/18764
* class.c (__objc_add_class_to_hash): Return YES if the class was
added, and NO if it already existed.
* init.c (__objc_init_class): If __objc_add_class_to_hash returns
NO, then abort the program with an error message.
* objc-private/runtime.h (__objc_add_class_to_hash): Updated
declaration.
2010-12-21 Nicola Pero <[email protected]>
* init.c (_objc_load_callback): Initialize with 0.
(__objc_call_callback): Renamed to __objc_call_load_callback.
Check _objc_load_callback only once, and if it is not set, return
immediately.
(objc_send_load): Updated call to __objc_call_callback.
2010-12-21 Nicola Pero <[email protected]>
PR libobjc/16110
* init.c (__objc_send_message_in_list): Renamed to
__objc_send_load_using_method_list. Do not take an 'op' argument.
Register the 'load' selector if needed.
(__objc_send_load): Do not register the 'load' selector. Updated
call to __objc_send_message_in_list.
(__objc_create_classes_tree): Add the class of any claimed
category that was loaded in the module to the list of classes for
which we try to execute +load.
2010-12-21 Nicola Pero <[email protected]>
* objc-private/common.h: When DEBUG is defined, include <stdio.h>.
Updated comments.
* init.c (__objc_tree_insert_class): Use %p, not %x, when printing
a pointer using DEBUG_PRINTF.
2010-12-21 Nicola Pero <[email protected]>
PR libobjc/45953
* selector.c (__sel_register_typed_name): When registering a new
selector with the same name as an existing one, reuse the existing
name string. Also updated types, casts and comments in the whole
function.
2010-12-21 Nicola Pero <[email protected]>
* objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
to be 'struct objc_selector *' and not 'SEL'.
* init.c (__objc_exec_class): Call
__objc_register_selectors_from_module instead of iterating over
each selector and calling __sel_register_typed_name for each.
* objc-private/selector.h: Declare
__objc_register_selectors_from_module instead of
__sel_register_typed_name.
* selector.c (__objc_register_selectors_from_module): New.
(__sel_register_typed_name): Made static.
2010-12-21 Nicola Pero <[email protected]>
* linking.m: Do not include objc/NXConstStr.h.
2010-12-21 Nicola Pero <[email protected]>
* objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
* objc-private/common.h (DEBUG_PRINTF): To here.
* hash.c: Do not include objc-private/runtime.h and objc/thr.h.
2010-12-21 Nicola Pero <[email protected]>
* hash.c: Tidied up comments and indentation. No code changes.
2010-12-19 Nicola Pero <[email protected]>
PR libobjc/47012
* accessors.m (objc_getProperty): If not atomic, do not
retain/autorelease the returned value.
2010-12-19 Nicola Pero <[email protected]>
* objc-private/runtime.h (__objc_selector_max_index,
__objc_init_selector_tables, __objc_register_selectors_from_class,
__objc_register_selectors_from_list,
__objc_register_selectors_from_description_list): Moved to ...
* objc-private/selector.h: ... here.
2010-12-19 Nicola Pero <[email protected]>
* objc-private/runtime.h (__objc_class_links_resolved): Removed.
(__objc_print_dtable_stats): Removed.
(__sel_register_typed_name): Removed.
* sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
2010-12-19 Nicola Pero <[email protected]>
* init.c (__objc_exec_class): Call __objc_resolve_class_links (),
if appropriate, after loading the module.
2010-12-19 Nicola Pero <[email protected]>
* sendmsg.c (method_setImplementation): Do not declare.
2010-12-19 Nicola Pero <[email protected]>
* objc/message.h: Updated comments.
* objc/runtime.h: Updated comments.
2010-12-19 Nicola Pero <[email protected]>
* class.c (objc_lookupClass): Renamed to objc_lookUpClass.
* protocols.c: Updated all calls to objc_lookupClass to call
objc_lookUpClass instead.
* sendmsg.c (objc_lookupClass): Do not declare.
(get_imp): Update call to objc_lookupClass to call
objc_lookUpClass instead.
* objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
2010-12-19 Nicola Pero <[email protected]>
* objc/runtime.h (class_ivar_set_gcinvisible): Declare.
* sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
define. Updated comments.
2010-12-19 Nicola Pero <[email protected]>
* objc/encoding.h: Updated comments.
* objc/runtime.h: Updated comments.
(objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
(objc_sizeof_type): Same.
(objc_alignof_type): Same.
(objc_aligned_size): Same.
(objc_promoted_size): Same.
(objc_skip_type_qualifiers): Same.
(objc_skip_typespec): Same.
(objc_skip_offset): Same.
(objc_skip_argspec): Same.
(objc_get_type_qualifiers): Same.
(objc_layout_structure): Same.
(objc_layout_structure_next_member): Same.
(objc_layout_finish_structure): Same.
(objc_layout_structure_get_info): Same.
2010-12-19 Nicola Pero <[email protected]>
* init.c: Updated comments.
* objc/objc-api.h: Updated comments.
* objc/runtime.h (_objc_load_callback): Declare.
2010-12-19 Nicola Pero <[email protected]>
* objc/Object.h: Include deprecated/typedstream.h and
deprecated/hash.h instead of typedstream.h. Updated comments.
2010-12-19 Nicola Pero <[email protected]>
* Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
* objc/deprecated/objc_msg_sendv.h: New.
* objc/message.h: Do not define retval_t, apply_t, arglist,
arglist_t, objc_msg_sendv, now in
objc/deprecated/objc_msg_sendv.h.
* objc/objc.h: Do not include message.h; include
objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
* sendmsg.c: Include objc/message.h.
* thr.c: Include objc/message.h.
2010-12-19 Nicola Pero <[email protected]>
* objc/objc-exception.h: Include objc-decls.h. Mark all
functions with objc_EXPORT.
* objc/objc-sync.h: Same change.
2010-12-19 Nicola Pero <[email protected]>
* Protocol.m: Moved all methods, with the exception of -isEqual:,
into the 'Deprecated' category.
* objc/Protocol.h: Removed all methods, moved to
objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
* objc/deprecated/Protocol.h: New.
* Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
2010-12-19 Nicola Pero <[email protected]>
* init.c: Include objc-private/selector.h. Do not declare
__sel_register_typed_name.
* objc-private/selector.h (__sel_register_typed_name): Declare.
* selector.c: Include objc-private/selector.h.
2010-12-18 Nicola Pero <[email protected]>
* class.c: Tidied up comments and indentation. No code changes.
* error.c: Same.
* exception.c: Same.
* init.c: Same.
* ivars.c: Same.
* memory.c: Same.
* objc-foreach.c: Same.
* objc-sync.c: Same.
* objects.c: Same.
* protocols.c: Same.
* sarray.c: Same.
* thr.c: Same.
2010-12-17 Nicola Pero <[email protected]>
* init.c: Include objc/runtime.h and objc-private/module-abi-8.h
instead of objc/objc-api.h.
(init_check_module_version): Take a 'struct objc_module *'
argument instead of 'Module_t'. Use 'struct objc_module *'
instead of 'Module_t'.
(__objc_created_classes_tree): Take a 'struct objc_module *'