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