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