]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/ChangeLog
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
[thirdparty/gcc.git] / libobjc / ChangeLog
CommitLineData
6e45b376
NP
12010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
2
3 * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
4 * protocols.c: Updated all calls to objc_lookupClass to call
5 objc_lookUpClass instead.
6 * sendmsg.c (objc_lookupClass): Do not declare.
7 (get_imp): Update call to objc_lookupClass to call
8 objc_lookUpClass instead.
9 * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
10
fea78205
NP
112010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
12
13 * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
14 * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
15 define. Updated comments.
16
2899534b
NP
172010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
18
19 * objc/encoding.h: Updated comments.
20 * objc/runtime.h: Updated comments.
21 (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
22 (objc_sizeof_type): Same.
23 (objc_alignof_type): Same.
24 (objc_aligned_size): Same.
25 (objc_promoted_size): Same.
26 (objc_skip_type_qualifiers): Same.
27 (objc_skip_typespec): Same.
28 (objc_skip_offset): Same.
29 (objc_skip_argspec): Same.
30 (objc_get_type_qualifiers): Same.
31 (objc_layout_structure): Same.
32 (objc_layout_structure_next_member): Same.
33 (objc_layout_finish_structure): Same.
34 (objc_layout_structure_get_info): Same.
35
120d5f8e
NP
362010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
37
38 * init.c: Updated comments.
39 * objc/objc-api.h: Updated comments.
40 * objc/runtime.h (_objc_load_callback): Declare.
41
c34fc988
NP
422010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
43
44 * objc/Object.h: Include deprecated/typedstream.h and
45 deprecated/hash.h instead of typedstream.h. Updated comments.
46
5ec582f9
NP
472010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
48
49 * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
50 * objc/deprecated/objc_msg_sendv.h: New.
51 * objc/message.h: Do not define retval_t, apply_t, arglist,
52 arglist_t, objc_msg_sendv, now in
53 objc/deprecated/objc_msg_sendv.h.
54 * objc/objc.h: Do not include message.h; include
55 objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
56 * sendmsg.c: Include objc/message.h.
57 * thr.c: Include objc/message.h.
58
805a07f1
NP
592010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
60
61 * objc/objc-exception.h: Include objc-decls.h. Mark all
62 functions with objc_EXPORT.
63 * objc/objc-sync.h: Same change.
64
c06a8664
NP
652010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
66
67 * Protocol.m: Moved all methods, with the exception of -isEqual:,
68 into the 'Deprecated' category.
69 * objc/Protocol.h: Removed all methods, moved to
70 objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
71 * objc/deprecated/Protocol.h: New.
72 * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
73
1af5b8f5
NP
742010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
75
76 * init.c: Include objc-private/selector.h. Do not declare
77 __sel_register_typed_name.
78 * objc-private/selector.h (__sel_register_typed_name): Declare.
79 * selector.c: Include objc-private/selector.h.
80
575584a9
NP
812010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
82
83 * class.c: Tidied up comments and indentation. No code changes.
84 * error.c: Same.
85 * exception.c: Same.
86 * init.c: Same.
87 * ivars.c: Same.
88 * memory.c: Same.
89 * objc-foreach.c: Same.
90 * objc-sync.c: Same.
91 * objects.c: Same.
92 * protocols.c: Same.
93 * sarray.c: Same.
94 * thr.c: Same.
95
fed2b101
NP
962010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
97
98 * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
99 instead of objc/objc-api.h.
100 (init_check_module_version): Take a 'struct objc_module *'
101 argument instead of 'Module_t'. Use 'struct objc_module *'
102 instead of 'Module_t'.
103 (__objc_created_classes_tree): Take a 'struct objc_module *'
104 argument instead of 'Module_t'; use 'struct objc_symtab *' instead
105 of 'Symtab_t'.
106 (__objc_call_callback): Take a 'struct objc_module *' argument
107 instead of 'Module_t'; use 'struct objc_symtab *' instead of
108 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
109 (_objc_load_callback): Take a 'struct objc_category *' argument
110 instead of 'Category *'.
111 (class_superclass_of_class): Use objc_getClass() instead of
112 objc_lookup_class().
113 (create_tree_of_subclasses_inherited_from): Same change (also, use
114 an explicit 'if' instead of '?').
115 (objc_init_statics): Same change.
116 (objc_send_load): Same change.
117 (__objc_init_protocol): same change.
118 (__objc_send_message_in_list): Take a 'struct objc_method_list *'
119 argument instead of 'MethodList_t'. Use 'struct objc_method *'
120 instead of 'Method_t'.
121 (__objc_send_load): Use 'struct objc_method_list *' instead of
122 'MethodList_t'. Use sel_registerName() instead of
123 sel_register_name().
124 (__objc_exec_class): Take a 'struct objc_module *' argument
125 instead of 'Module_t'. Use 'struct objc_symtab *' instead of
126 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
127 Use 'struct objc_category *' instead of 'Category_t'.
128
114dae43
NP
1292010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
130
131 * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
132 Include objc-private/module-abi-8.h and objc-private/selector.h
133 instead of objc/encoding.h.
134 (objc_msg_lookup_super): Use super->super_class instead of
135 super->class.
136 (method_get_first_argument, method_get_next_argument): Declare
137 locally.
138 (class_get_instance_method): Declare before using.
139 (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
140 (__objc_init_dispatch_tables, __objc_send_initialize): Use
141 sel_registerName() instead of sel_register_name().
142 (__objc_forward): Use sel_getName() instead of sel_get_name().
143 (objc_get_uninstalled_dtable): Use 'void' as argument.
144 * objc-private/selector.h: New.
145
53f672ca
NP
1462010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
147
148 * objc/message.h (objc_super): When using the modern API, do not
149 define Super and Super_t, and always use 'super_class' for the
150 super class field.
151 (objc_msg_lookup_super): Updated prototype to use 'struct
152 objc_super *' instead of 'Super_t'.
153 * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
154 'struct objc_super *' instead of 'Super_t'.
155
db1792ee
NP
1562010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
157
158 * objc/message.h: Update comments, reindented code and moved
159 deprecated types and functions at the end of the file. No code
160 changes.
161
3db1a28c
NP
1622010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
163
164 * ivars.c (class_addIvar): Use the 'size' argument instead of
165 trying to calculate it using objc_sizeof_type().
166 * objc/runtime.h (class_addIvar): Updated comments.
167
b427203d
NP
1682010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
169
170 * sendmsg.c: Reindented some code and tidied up comments. No
171 actual code changes.
172
002d4675
NP
1732010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
174
175 * objc/Object.h: Moved all the methods, with the exception of
176 -class and -isEqual:, into ...
177 * objc/deprecated/Object.h: here.
178 * Object.m: Moved all the methods, with the exception of -class
179 and -isEqual: into the 'Deprecated' category.
180
9ecfa8de
NP
1812010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
182
183 * objects.c (object_copy): Do not #undef as we are no longer
184 including objc/objc-api.h.
185 * selector.c: Include objc/runtime.h and
186 objc-private/module-abi-8.h. Do not include objc/objc-api.h and
187 objc/encoding.h. Updated
188 (__objc_register_selectors_from_class): Use struct
189 objc_method_list * instead of MethodList_t.
190 (__objc_register_selectors_from_list): Use Method instead of
191 Method_t.
192 (struct objc_method_description_list): Do not define here.
193 (__objc_register_instance_methods_to_class): Use struct
194 objc_method_list * instead of MethodList_t and Method instead of
195 Method_t.
196
d4645ada
NP
1972010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
198
199 * selector.c: Reindented some code and tidied up comments. No
200 actual code changes.
201
f436d2ff
IS
2022010-12-13 Iain Sandoe <iains@gcc.gnu.org>
203
204 * encoding.c (_darwin_rs6000_special_round_type_align): New.
205 (darwin_rs6000_special_round_type_align): Adjust to use new routine.
206
e97cfd97
NP
2072010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
208
209 * sendmsg.c (selector_resolveClassMethod): New.
210 (selector_resolveInstanceMethod): New.
211 (__objc_resolve_class_method): New.
212 (__objc_resolve_instance_method): New.
213 (get_imp): Call __objc_resolve_class_method or
214 __objc_resolve_instance_method at the appropriate time.
215 (objc_msg_lookup): Same.
216 (class_getClassMethod): Same.
217 (class_getInstanceMethod): Same.
218 (__objc_init_dispatch_tables): Initialize
219 selector_resolveClassMethod and selector_resolveInstanceMethod.
220 * objc/runtime.h: Updated documentation of class_getClassMethod,
221 class_getInstanceMethod and class_getMethodImplementation.
222
375d1239
NP
2232010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
224
225 * objc-private/module-abi-8.h (struct objc_symtab): Updated
226 description of sel_ref_cnt and refs.
227 * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
228
7de6ba7a
DK
2292010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
230
231 PR target/40125
232 PR lto/46695
233 * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
234 * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
235 * aclocal.m4: Regenerate.
236 * configure: Regenerate.
237
196891b5
MK
2382010-12-03 Matthias Klose <doko@ubuntu.com>
239
240 * configure.ac (VERSION): Bump the version to 3:0:0.
241 * configure: Regenerate.
242
d81e30b8
RFM
2432010-11-23 Richard Frith-Macdonald <rfm@gnu.org>
244
245 * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
246 pass nil as the receiver since we don't know the receiver at this
247 point.
248
49a35931
NP
2492010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
250
251 * ivars.c: Include stdlib.h.
252 * protocols.c: Same change.
253
682e805a
NP
2542010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
255
256 * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
257 * accessors.m: New.
258 * init.c: Include objc-private/accessors.h.
259 (__objc_exec_class): Call __objc_accessors_init.
260 * objc-private/accessors.h: New.
261
5b8b526e
NP
2622010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
263
264 * objc/message.h: Moved initial includes outside of extern "C".
265 * objc/runtime.h: Add extern "C" for Objective-C++.
266
1501d094
NP
2672010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
268
269 * init.c (objc_send_load): Do not wait for NXConstantString to be
270 registered before executing +load. There is no point if
271 -fconstant-string-class=xxx is used when compiling all modules,
272 as is the case for almost all users.
273 * linking.m (__objc_linking): Do not try to forcefully link in
274 NXConstantString.
5b8b526e 275
6c5c7efd
NP
2762010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
277
278 * objc/runtime.h: Updated comments.
279 (class_addMethod): New.
280 (class_addIvar): New.
281 (class_replaceMethod): New.
282 (objc_allocateClassPair): New.
283 (objc_registerClassPair): New.
284 (objc_disposeClassPair): New.
285 * class.c (objc_allocateClassPair): New.
286 (objc_registerClassPair): New.
287 (objc_disposeClassPair): New.
288 (class_getSuperclass): Return Nil if a class is in construction.
289 * init.c (__objc_exec_class): Call __objc_init_class.
290 (__objc_init_class): New.
291 * ivars.c (class_copyIvarList): Return NULL if class is in
292 construction. Do not lock the runtime mutex.
293 (class_getInstanceVariable): Return NULL if class is in
294 construction. Do not lock the runtime mutex.
295 (class_addIvar): New.
296 * sendmsg.c (class_addMethod): New.
297 (class_replaceMethod): New.
298 * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
299 (_CLS_IN_CONSTRUCTION): New.
300 (CLS_IS_IN_CONSTRUCTION): New.
301 (CLS_SET_IN_CONSTRUCTION): New.
302 (CLS_SET_NOT_IN_CONSTRUCTION): New.
303 * objc-private/runtime.h (__objc_init_class): New.
304
1cde73d7
NP
3052010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
306
307 * class.c (class_getSuperclass): Call __objc_resolve_class_links
308 if the class is not resolved yet.
309 * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
310
3c44c190
NP
3112010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
312
313 * objc/runtime.h (class_getIvarLayout): New.
314 (class_getWeakIvarLayout): New.
315 (class_setIvarLayout): New.
316 (class_setWeakIvarLayout): New.
317 * ivars.c (class_getIvarLayout): New.
318 (class_getWeakIvarLayout): New.
319 (class_setIvarLayout): New.
320 (class_setWeakIvarLayout): New.
321
8437e063
NP
3222010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
323
324 * objc/runtime.h (class_copyPropertyList): New.
325 (class_getProperty): New.
326 (property_getAttributes): New.
327 (property_getName): New.
328 * ivars.c (class_copyPropertyList): New.
329 (class_getProperty): New.
330 (property_getAttributes): New.
331 (property_getName): New.
332
51194e8e
NP
3332010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
334
335 * objc-private/runtime.h (__objc_update_classes_with_methods): New.
336 * class.c (__objc_update_classes_with_methods): New.
337 (objc_getClassList): Do not lock the class lock.
338 * methods.c (method_exchangeImplementations): New.
339 (method_setImplementation): New.
340 * objc/runtime.h (method_setImplementation): New.
341 (method_exchangeImplementations): New.
342
ae422ccd
NP
3432010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
344
345 * Protocol.m: Include objc/runtime.h and
346 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
347 repeat Protocol's instance variables.
348 (struct objc_method_description_list): Do not define here.
349 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
350 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
351 selectors directly instead of getting names and then using strcmp.
352 ([descriptionForClassMethod:]): Same change.
353 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
354 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
355 to compare selectors directly instead of getting names and then
356 using strcmp.
357 * objc/Protocol.h: Updated comments.
358
97764753 3592010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
f7185d47
NP
360
361 * init.c (__objc_init_protocol): New function which fixes up a
362 protocol's class pointer, registers it with the runtime, register
363 all protocol selectors and registers associated protocols too.
364 (objc_init_statics): Detect if we are initializing protocols, and
365 if so, use __objc_init_protocol instead of only fixing up the
366 class pointer.
367 (__objc_init_protocls): Use __objc_init_protocol.
368 * objc-private/module-abi-8.h: Updated comments.
369 * objc-private/runtime.h
370 (__objc_register_selectors_from_description_list): New.
371 * selector.c (__objc_register_selectors_from_description_list):
372 New. (struct objc_method_description_list): Declare.
373 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
374 when accessing the name of a method, which is now correctly a SEL.
375 ([-descriptionForClassMethod:]): Same change.
376 * protocols.c (protocol_getMethodDescription): Same change.
377 * objc/runtime.h: Updated comments.
378 (sel_registerTypedName): Fixed typo in function name.
379
5254c66b
NP
3802010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
381
382 PR libobjc/23214
383 * init.c (objc_init_statics): Do not skip the initialization of a
384 statics list if the first object has already been initialized; in
385 the case of Protocols, while the first one may have been
386 initialized, some others may not have been initialized yet.
387
b0453850
NP
3882010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
389
390 * Makefile.in (OBJC_DEPRECATED_H): Added
391 objc_get_uninstalled_dtable, objc_object_alloc.h and
392 struct_objc_static_instances.h.
393
ad49efbd
NP
3942010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
395
396 * encoding.c (method_copyReturnType): New.
397 (method_copyArgumentType): New.
398 (method_getReturnType): New.
399 (method_getArgumentType): New.
400 * methods.c (method_getDescription): New.
401 * objc/runtime.h (method_copyReturnType): New.
402 (method_copyArgumentType): New.
403 (method_getReturnType): New.
404 (method_getArgumentType): New.
405 (method_getDescription): New.
406
c994cc85
NP
4072010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
408
409 * encoding.c: Tidied up comments.
410 (objc_skip_variable_name): New static inline function.
411 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
412 the same code over and over.
413 (objc_alignof_type): Same.
414 (objc_aligned_size): Same.
415 (objc_promoted_size): Same.
416 (objc_skip_typespec): Same.
417 (objc_layout_structure_next_member): Same.
418 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
419 historical bug where objc_skip_offset would skip one byte even if
420 there is no offset: check that the first offset digit is actually
421 a digit before skipping it.
422 (objc_skip_type_qualifiers): Mark as inline.
423 (objc_skip_typespec): Mark as inline.
424
ad9eef11
NP
4252010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
426
427 * Makefile.in (C_SOURCE_FILES): Added methods.c.
428 * encoding.c (method_getNumberOfArguments): New.
429 (method_get_number_of_arguments): Call
430 method_getNumberOfArguments.
431 * ivars.c (ivar_getName): Check for NULL variable argument.
432 (ivar_getOffset): Check for NULL variable argument.
433 (ivar_getTypeEncoding): Check for NULL variable argument.
434 (class_copyIvarList): New.
435 * methods.c: New.
436 * protocols.c (class_copyProtocolList): Check for Nil class_
437 argument.
438 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
439 'struct objc_method_list *' instead of MethodList_t.
440 (class_getMethodImplementation): New.
441 (class_respondsToSelector): New.
442 (class_getInstanceMethod): New.
443 (class_getClassMethod): New.
444 * objc/runtime.h: Updated comments.
445 (class_copyIvarList): New.
446 (class_getInstanceMethod): New.
447 (class_getClassMethod): New.
448 (class_getMethodImplementation): New.
449 (class_respondsToSelector): New.
450 (method_getName): New.
451 (method_getImplementation): New.
452 (method_getTypeEncoding): New.
453 (class_copyMethodList): New.
454 (method_getNumberOfArguments): New.
455
be05b0f5
NP
4562010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
457
458 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
459 instead of objc/objc-api.h.
460 (objc_get_unknown_class_handler): Do not define.
461 (class_isMetaClass): New.
462 (class_getSuperclass): New.
463 (class_getVersion): New.
464 (class_setVersion): New.
465 (class_getInstanceSize): New.
466 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
467 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
468 objc_get_super_class.
469 (get_ttype_entry): Use objc_getRequiredClass instead of
470 objc_get_class.
471 * ivars.c (class_getClassVariable): New.
472 * objects.c: Include objc/runtime.h, objc/thr.h and
473 objc-private/module-abi-8.h instead of objc/objc-api.h
474 * objc/runtime.h (class_getClassVariable): New.
475 (class_isMetaClass): New.
476 (class_getSuperclass): New.
477 (class_getVersion): New.
478 (class_setVersion): New.
479 (class_getInstanceSize): New.
480 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
481 objc/objc-api.h)
482 (__CLS_INFO): Same.
483 (__CLS_ISINFO): Same.
484 (__CLS_SETINFO): Same.
485 (CLS_ISMETA): Same.
486 (CLS_ISCLASS): Same.
487 (CLS_ISRESOLV): Same.
488 (CLS_SETRESOLV): Same.
489 (CLS_ISINITIALIZED): Same.
490 (CLS_SETINITIALIZED): Same.
491 (CLS_GETNUMBER): Same.
492 (CLS_SETNUMBER): Same.
493
718a8e53
NP
4942010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
495
496 * archive.c: Do not include objc/objc.h.
497 * class.c: Do not include objc/objc.h.
498 * encoding.c: Include objc/runtime.h, ctype.h and
499 objc-private/module-abi-8.h instead of objc/objc-api.h and
500 objc/encoding.h.
501 * error.c: Do not include objc/objc.h.
502 * gc.c: Include tconfig.h and objc/encoding.h only if
503 OBJC_WITH_GC.
504 * hash.c: Include objc/runtime.h and objc/thr.h instead of
505 objc/objc-api.h. Do not include objc/objc.h.
506 * init.c: Do not include objc/objc.h.
507 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
508 objc/thr.h instead of objc/objc-api.h. Do not include
509 objc/objc.h.
510 * linking.m: Tidied comment.
511 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
512 Do not include objc/objc.h.
513 * objects.c: Do not include objc/objc.h.
514 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
515 * protocols.c: Do not include objc/objc.h.
516 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
517 not include objc/objc.h.
518 * selector.c: Do not include objc/objc.h.
519 * sendmsg.c: Do not include objc/objc.h.
520 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
521 Do not include objc/objc.h.
522 * objc/objc-decls.h: Reindented code.
523 * objc/runtime.h Include objc-decls.h. Updated comments.
524 (objc_malloc): New.
525 (objc_atomic_malloc): New.
526 (objc_calloc): New.
527 (objc_realloc): New.
528 (objc_free): New.
529 * objc-private/runtime.h: Updated comments.
530
debfbfee
NP
5312010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
532
533 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
534 * objc-private/protocols.h: New.
535 * protocols.c: New.
536 * init.c: Include objc-private/protocols.h.
537 (__objc_exec_class): Call __objc_protocols_init on startup.
538 (__objc_init_protocols): Call __objc_protocols_add_protocol.
539 * objc-private/runtime.h: Use (struct objc_method_list *) instead
540 of MethodList_t, and (struct objc_method *) instead of Method_t.
541 * objc/deprecated/struct_objc_class.h: Define
542 __objc_STRUCT_OBJC_CLASS_defined.
543 * objc-private/module-abi-8.h (struct
544 objc_method_description_list): New.
545 (struct objc_class): Only define if
546 __objc_STRUCT_OBJC_CLASS_defined is undefined.
547 * objc/runtime.h (class_getName): New.
548 (objc_getProtocol): New.
549 (objc_copyProtocolList): New.
550 (class_addProtocol): New.
551 (class_conformsToProtocol): New.
552 (class_copyProtocolList): New.
553 (protocol_conformsToProtocol): New.
554 (protocol_isEqual): New.
555 (protocol_getName): New.
556 (protocol_getMethodDescription): New.
557 (protocol_copyMethodDescriptionList): New.
558 (protocol_getProperty): New.
559 (protocol_copyPropertyList): New.
560 (protocol_copyProtocolList): New.
561 * class.c (class_getName): New.
562 * selector.c (sel_isEqual): New.
563
524660d2
NP
5642010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
565
566 * selector.c (sel_getName): Return "<null selector>" for a NULL
567 argument.
568 (sel_get_name): Return 0 for a NULL argument.
569 * objc/runtime.h (sel_getName): Updated documentation.
570
571 * objc-private/hash.h (class_hash_table): Unused declaration
572 removed.
573 (module_hash_table): Same.
574 * objc/deprecated/hash.h: Same changes.
575
90a2689f
NP
5762010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
577
578 * class.c (objc_getClassList): New.
579 (objc_getRequiredClass): New.
580 (objc_getMetaClass): New.
581 (objc_lookupClass): New.
582 (objc_getClass): New.
583 (__objc_get_unknown_class_handler): New.
584 (objc_setGetUnknownClassHandler): New.
585 (objc_get_class): Use __objc_get_unknown_class_handler.
586 (objc_lookup_class): Call objc_getClass.
587 * objc/objc-api.h: Updated comment and copyright notice.
588 * objc/runtime.h: Updated comments.
589 (objc_getClass): New.
590 (objc_lookupClass): New.
591 (objc_getMetaClass): New.
592 (objc_getRequiredClass): New.
593 (objc_getClassList): New.
594 (objc_setGetUnknownClassHandler): New.
595 (objc_get_unknown_class_handler): New.
596 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
597 instead of __objc_runtime_INCLUDE_GNU as include guard.
598 * objc-private/error.h (_objc_abort): Mark as noreturn.
599
fdcbbfe7
NP
6002010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
601
602 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
603 * ivars.c: New.
604 * objc/objc.h: Updated comments.
605 * objc/runtime.h (object_getClass): New.
606 (object_getClassName): New.
607 (object_setClass): New.
608 (class_getInstanceVariable): New.
609 (object_getIndexedIvars): New.
610 (object_getInstanceVariable): New.
611 (object_setInstanceVariable): New.
612 (object_getIvar): New.
613 (object_setIvar): New.
614 (ivar_getName): New.
615 (ivar_getOffset): New.
616 (ivar_getTypeEncoding): New.
617 * objc-private/module-abi-8.h (struct objc_class): Added.
618 * objects.c (object_getClassName): New.
619 (object_setClass): New.
620
bc18535a
NP
6212010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
622
623 * objc/objc.h: Updated comments.
624 * objc/objc-api.h: (object_copy): Added one argument; use a
625 #define to maintain backwards-compatibility. Moved
626 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
627 objc_get_uninstalled_dtable into
628 objc/deprecated/objc_get_uninstalled_dtable.h and
629 objc/deprecated/objc_object_alloc.h. Include these files.
630 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
631 * objc/deprecated/objc_object_alloc.h: New.
632 * objc/runtime.h (set_getName): New.
633 (sel_getType): New.
634 (sel_getUid): New.
635 (sel_registerName): New.
636 (sel_registerTypedName): New.
637 (sel_isEqual): New.
638 (class_createInstance): New.
639 (object_copy): New.
640 (object_dispose): New.
641 * objects.c: Do not include tconfig.h. Include gc_typed.h if
642 building the garbage collection version.
643 (__objc_object_alloc): Removed.
644 (__objc_object_copy): Removed.
645 (__objc_object_dispose): Removed.
646 (class_createInstance): New from code in class_create_instance.
647 Cast second argument of GC_malloc_explicitly_typed. Use
648 objc_calloc. Do not call _objc_object_alloc.
649 (class_create_instance): Call class_createInstance.
650 (object_copy): Added extraBytes argument. Do not call
651 _objc_object_copy.
652 (object_dispose): Do not call _objc_object_dispose.
653 * memory.c (objc_free): When using garbage collection, mark the
654 argument as unused.
655 * selector.c (sel_getName): New.
656 (sel_get_name): Call sel_getName.
657 (sel_getType): New.
658 (sel_get_type): Call sel_getType.
659 (sel_registerName): New.
660 (sel_register_name): Call sel_registerName.
661 (sel_registerTypedName): New.
662 (sel_register_typed_name): Call sel_registerTypedName.
663 (sel_getUid): New.
664 (sel_get_uid): Call sel_getUid.
665
e4d50866
NP
6662010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
667
668 * objc/objc-api.h: Define Method, Method_t, Category and
669 Category_t. Prevent including this file at the same time as
670 objc/runtime.h. Updated comments.
671 * objc/deprecated/struct_objc_method.h: Do not define Method,
672 Method_t.
673 * objc/deprecated/struct_objc_category.h: Do not define Category,
674 Category_t.
675 * objc-private/module-abi-8.h: New file containing a copy of all
676 the structure definitions. Not used yet.
677 * objc/encoding.h (objc_aligned_size): Removed duplicate
678 declaration. Updated comments.
679 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
680 Category, struct objc_method_description, _C_ID and similar,
681 _C_CONST and similar and _F_CONST and similar. Added
682 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
683 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
684 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
685 struct objc_struct_layout, objc_layout_structure,
686 objc_layout_structure_next_member, objc_layout_finish_structure,
687 objc_layout_structure_get_info. Prevent including this file at
688 the same time as objc/objc-api.h.
689
2461ab4b
NP
6902010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
691
692 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
693 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
694 struct_objc_method_list.h, struct_objc_module.h,
695 struct_objc_protocol_list.h, struct_objc_symtab.h.
696 * objc/deprecated/struct_objc_category.h: New.
697 * objc/deprecated/struct_objc_ivar.h: New.
698 * objc/deprecated/struct_objc_ivar_list.h: New.
699 * objc/deprecated/struct_objc_method.h: New.
700 * objc/deprecated/struct_objc_method_list.h: New.
701 * objc/deprecated/struct_objc_module.h: New.
702 * objc/deprecated/struct_objc_protocol_list.h: New.
703 * objc/deprecated/struct_objc_symtab.h: New.
704 * objc/deprecated/struct_objc_static_instances.h: New.
705 * objc/objc-api.h: Definitions of deprecated structures moved into
706 the above header fragment files in objc/deprecated/. Include the
707 files instead of definition the structures here. Updated
708 comments.
709 * objc/runtime.h: Updated comments. Do not include objc-api.h.
710 (objc_set_enumeration_mutation_handler): Renamed to
711 objc_setEnumerationMutationHandler.
712 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
713 to objc_setEnumerationMutationHandler.
714 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
715 objc_setExceptionMatcher.
716 (objc_set_uncaught_exception_handler): Renamed to
717 objc_setUncaughtExceptionHandler.
718 * exception.c: Same changes.
719
e2633f25
NP
7202010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
721
722 * objc-sync.c: Include objc-private/common.h.
723
cf3822f1
NP
7242010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
725
726 * objc-foreach.c: Include objc-private/common.h.
727 * objc/deprecated/METHOD_NULL.h: New file.
728 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
729 defining METHOD_NULL here.
730 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
731 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
732 METHOD_NULL.
733 ([-respondsTo:]): Same change.
734 * objc/objc-api.h (method_get_imp): Converted it into a normal
735 function so that we can hide the internals of struct objc_method.
736 * sendmsg.c (method_get_imp): Implemented.
737
6176c2a9
NP
7382010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
739
740 * objc/objc-api.h (struct objc_super, Super, Super_t,
741 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
742 objc_msg_forward2): Declarations moved to objc/message.h. Include
743 message.h here.
744 * objc/message.h: Added such declarations; updated comments.
745
f05b9d93
NP
7462010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
747
748 Implemented fast enumeration for Objective-C.
749 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
750 (OBJC_H): Added runtime.h
751 * objc-foreach.c: New file.
752 * objc/runtime.h: New file.
753
2de87f04
KT
7542010-09-30 Kai Tietz <kai.tietz@onevision.com>
755
756 * objc/deprecated/struct_objc_class.h: Add padding
757 to avoid warning with -Wpadded.
758
177b48f9
NP
7592010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
760
761 * encoding.c (objc_sizeof_type): Added support for vector type and
762 for double long types.
763 (objc_alignof_type): Same change.
764 (objc_skip_typespec): Same change.
765 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
766 instead of '!' since '!' is already used for _C_VECTOR.
767 * objc/objc-api.h (_C_LNG_DBL): Added.
768
d284c684
NP
7692010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
770
771 * libobjc_entry.c: File removed.
772
7116b6ea
KT
7732010-09-26 Kai Tietz <kai.tietz@onevision.com>
774
bd74d88b 775 * sendmsg.c (objc_msg_lookup): Remove inline.
7116b6ea
KT
776 (objc_get_uninstalled_dtable): Likewise.
777 * encoding.c (objc_skip_type_qualifiers): Likewise.
778 (objc_skip_offset): Likewise.
779 * archive.c (__objc_write_object): Likewise
780 (__objc_write_class):
781 (__objc_write_selector):
782 (objc_read_char):
783 (objc_read_unsigned_char):
784 (objc_read_short):
785 (objc_read_unsigned_short):
786 (objc_read_int):
787 (objc_read_long):
788 (__objc_read_nbyte_uint):
789 (objc_read_unsigned_int):
790 (objc_read_unsigned_long):
791 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
792 (objc_EXPORT): Likewise.
793 * objc/message.h (objc-decls.h): Add include.
794 * objc/objc-api.h: Mark API by objc_EXPORT.
795 * libobjc.def (__objc_responds_to): Removed.
796
5d3b14bd
NP
7972010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
798
799 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
800
801 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
802 objc/sarray.h replaced with a placeholder including the file from
803 the deprecated/ directory.
804 * objc-private/sarray.h: New file (private copy of sarray.h).
805 * hash.c: Include <assert.h> instead of "assert.h"
806 * sarray.c: Include <assert.h> instead of "assert.h". Include
807 objc-private/sarray.h instead of objc/sarray.h.
808 * selector.c: Include objc-private/sarray.h instead of
809 objc/sarray.h.
810 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
811 instead of objc/sarray.h.
812 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
813
349cfd93
NP
8142010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
815
816 * objc-private/objc-list.h (list_remove_elem): Unused function
817 removed. (list_nth): Unused function removed. (list_find):
818 Unused function removed. (list_lenght): Unused function removed.
819
5be9cdc1
NP
8202010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
821
822 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
823 replaced with a placeholder including the file from the
824 deprecated/ directory.
825 * objc/objc-api.h: Updated includes.
826 * objc/typedstream.h: Updated includes.
827 * objc-private/hash.h: New file (private copy of hash.h).
828 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
829 objc/objc-list.h replaced with a placeholder including the file
830 from the deprecated/ directory.
831 * objc-private/objc-list.h: New file (private copy of objc-list.h).
832 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
833 instead of objc/hash.h and objc/objc-list.h.
834 * selector.c: Same change.
835 * class.c: Added include <string.h>, which used to be implicitly included
836 when hash.h was included.
837 * exception.c: Same change.
838 * objects.c: Same change.
839 * sarray.c: Same change.
840 * sendmsg.c: Same change.
841 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
5be9cdc1 842
fd312537
NP
8432010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
844
845 Implemented objc_sync_enter() and objc_sync_exit(), which are
846 required by @synchronized() to work.
847 * objc-sync.c: New file.
848 * objc/objc-sync.h: New file.
849 * objc-private/objc-sync.h: New file.
850 * init.c (__objc_exec_class): Call __objc_sync_init() during the
851 Objective-C runtime startup.
852 * Makefile.in: Added objc-sync.c and objc-sync.h.
853 * configure.ac: Added GCC_CHECK_TLS.
854 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
855 * configure: Regenerated.
856 * config.h.in: Regenerated.
857
7e268280
NP
8582010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
859
860 * Makefile.in (%_gc.lo): New pattern rules to build the
861 garbage-collected version of the library. Removed rules for
862 specific files that are no longer needed. Standardized all rules.
863 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
864 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
865 OBJC_SOURCE_FILES.
866 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
867
8682010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
869
870 * memory.c (objc_calloc): Fixed call to GC_malloc when building
871 with Garbage Colletion.
872
457e68e7
NP
8732010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
874
875 * memory.c: Do not include objc-private/runtime.h.
876
d1be5d82
NP
8772010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
878
879 * objc/deprecated/objc_malloc.h: New file.
880 * objc/deprecated/objc_valloc.h: New file.
881 * objc/objc-api.h: Include the files instead of defining
882 objc_valloc, _objc_malloc() and similar.
883 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
884 objc_malloc.h.
885 * memory.c: Removed the extra layer of indirection of _objc_malloc
886 and similar.
887 (objc_calloc): Use GC_malloc in the garbage-collected
888 implementation as GC_malloc returns memory that is already freed.
889 (objc_valloc): Deprecated.
890
7b869986
NP
8912010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
892
893 * objc/deprecated/objc_error.h: New file.
894 * objc/objc-api.h: Include deprecated/objc_error.h instead of
895 defining objc_error and related.
896 * error.c: New file. Added _objc_abort function which replaces
897 objc_error. No change in functionality as they both print an
898 error and abort.
899 * misc.c: File removed. Code moved into memory.c and error.c.
900 * memory.c: New file.
901 * objc-private/error.h: New file.
902 * archive.c: Include objc-private/error.h and use _objc_abort
903 instead of objc_error everywhere.
904 * class.c: Same change.
905 * encoding.c: Same change.
906 * init.c: Same change, and simplified init_check_module_version.
907 * memory.c: Same change.
908 * sendmsg.c: Same change.
909 * thr.c: Same change.
910 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
911 (OBJ_H): Reordered list.
912 (OBJS): Removed misc.lo, added memory.lo and error.lo.
913 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
914 (misc_gc.lo): Rule removed.
915 (error_gc.lo): Rule added.
916 (memory_gc.lo): Rule added.
917
6dead247
NP
9182010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
919
920 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
921 to check the API version. Added some comments.
922
923 * objc-private/common.h: New file.
924 * NXConstStr.m: Include objc-private/common.h.
925 * Object.m: Same change.
926 * Protocol.m: Same change.
927 * archive.c: Same change.
928 * class.c: Same change.
929 * encoding.c: Same change.
930 * exception.c: Same change.
931 * gc.c: Same change.
932 * hash.c: Same change.
933 * init.c: Same change.
934 * libobjc_entry.c: Same change.
935 * linking.m: Same change.
936 * misc.c: Same change (and added a comment).
937 * nil_method.c: Same change.
938 * objects.c: Same change.
939 * sarray.c: Same change.
940 * selector.c: Same change.
941 * sendmsg.c: Same change.
942 * thr.c: Same change.
943
83c28dfd
NP
9442010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
945
946 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
947
0c11b8fb
NP
9482010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
949
950 * archive.c: Removed not needed includes.
951 * class.c: Same change.
952 * hash.c: Same change.
953 * misc.c: Same change.
954 * nil_method.c: Same change.
955 * objects.c: Same change.
956 * sarray.c: Same change.
957 * sendmsg.c: Same change.
958 * thr.c: Same change.
959
a19fac96
NP
9602010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
961
962 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
963 all the objc/*.h files.
964 * objc-private/runtime.h: New file.
965 * archive.c: Include objc-private/runtime.h (and required objc/*.h
966 files) instead of objc/runtime.h.
967 * class.c: Same change.
968 * hash.c: Same change.
969 * init.c: Same change.
970 * misc.c: Same change.
971 * nil_method.c: Same change.
972 * objects.c: Same change.
973 * sarray.c: Same change.
974 * selector.c: Same change.
975 * sendmsg.c: Same change.
976 * thr.c: Same change.
977
3d0d8739
NP
9782010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
979
980 * objc/deprecated/struct_objc_selector.h: New file. Definition of
981 'struct objc_selector' and 'sel_eq' moved here.
982 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
983 'struct objc_procotol' moved here.
984 * objc/deprecated/struct_objc_class.h: New file. Definition of
985 'struct objc_class' moved here.
986 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
987 moved here.
988 * objc/deprecated/STR.h: New file. Definition of STR moved here.
989 * objc/message.h: New file. Definitions for relval_t, apply_t,
990 arglist, arglist_t and objc_msg_lookup were moved here.
991 * objc/objc.h: Include the above files instead of defining the
992 corresponding structs, types and functions here. Added new opaque
993 definitions for SEL and Class. Use Class and not 'struct
994 objc_class *' in the definition of 'struct objc_object'.
995 Commented all types defined in the file. Removed special
996 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
997 there as well.
998 * objc/deprecated/objc-unexpected-exception.h: Renamed to
999 objc_unexpected_exception.h.
1000 * objc/objc-api.h: Updated include of
1001 objc-unexpetected-exception.h
1002 * objc/objc-exception.h: Updated comments.
1003 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1004 files. Reindented list of files.
1005
4c26f0a5
NP
10062010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1007
1008 * objc/objc-api.h (objc_trace): Unused variable removed.
1009
e976a775
NP
10102010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1011
1012 * objc/deprecated: New directory.
1013 * objc/deprecated/README: New file.
1014 * objc/README: New file.
1015 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1016 objc/typedstream.h replaced with a placeholder including the file
1017 from the deprecated/ directory.
1018 * objc/deprecated/objc-unexpected-exception.h: New file with the
1019 definition of _objc_unexpected_exception.
1020 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1021 instead of defining _objc_unexpected_exception.
1022 * objc/deprecated/Object.h: New file with the deprecated Object
1023 methods in a 'Deprecated' category.
1024 * objc/Object.h Include deprecated/Object.h instead of defining
1025 the deprecated methods.
1026 * Object.m: Moved deprecated methods into 'Deprecated' category.
1027 * objc-private: New directory.
1028 * objc-private/README: New file.
1029 * Makefile.in (OBJC_DEPRECATED_H): New variable.
1030 (install-headers): Create installation directory for
1031 OBJC_DEPRECATED_H headers, and install them.
1032
10332010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1034
1035 * objc/objc-exception.h: Fixed include of objc.h.
1036
e30511ed
NP
10372010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1038
1039 * objc/objc-exception.h: New file.
1040 * exception.c (objc_set_uncaught_exception_handler): Implemented.
1041 (objc_set_exception_matcher): Implemented.
1042 (objc_exception_throw): Use the uncaught exception handler if set.
1043 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1044 hardcoded isKindOf.
1045 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
1046 up. Removed segmentation fault when value is 'nil'.
1047 * objc/objc-api.h (_objc_unexpected_exception): Mark as
1048 deprecated.
1049 * Makefile.in (exception.lo, exception_gc.lo): Use
1050 -Wno-deprecated-declarations when compiling.
1051 (OBJC_H): Added objc-exception.h
1052
d6f62ada 10532010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
4470254f
NP
1054
1055 * objc/typedstream.h: Deprecate all functions in the file. This
1056 file is obsolete.
1057 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1058 [-awake]): Documented that these methods are deprecated. Added a
1059 brief description of the Object class and its relationship to the
1060 NSObject class.
1061 * Makefile.in: Compile archive.c and Object.m with
1062 -Wno-deprecated-declarations.
1063
88a2722e
NP
10642010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1065
1066 Removed obsolete intermediate threading layer.
1067 * thr.c: Use __gthread_objc_xxx functions directly instead of
1068 __objc_thread_xxx ones.
1069 * objc/thr.h: Removed prototypes of no longer existing
1070 __objc_thread_xxx functions.
1071 * Makefile.in: Removed thr-objc.lo.
1072 * thr-dce.c: File removed.
1073 * thr-decosf1.c: File removed.
1074 * thr-irix.c: File removed.
1075 * thr-mach.c: File removed.
1076 * thr-objc.c: File removed.
1077 * thr-os2.c: File removed.
1078 * thr-posix.c: File removed.
1079 * thr-pthreads.c: File removed.
1080 * thr-rtems.c: File removed.
1081 * thr-single.c: File removed.
1082 * thr-solaris.c: File removed.
1083 * thr-vxworks.c: File removed.
1084 * thr-win32.c: File removed.
1085 * README.threads: File removed.
1086 * THREADS.MACH: File removed.
1087 * THREADS: Updated.
1088
29b71c02
NP
10892010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
1090
1091 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1092
265a000d
IS
10932010-09-06 Iain Sandoe <iains@gcc.gnu.org>
1094
1095 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1096 Add a comment as to why, update FIXME comments.
1097
7b74bb63
NP
10982010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
1099
1100 * makefile.dos: Obsolete file removed.
1101
4d9e8446
RW
11022010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1103
1104 * aclocal.m4: Regenerate.
1105
19222959
DK
11062010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
1107
1108 PR libobjc/30445
1109 * configure.ac (extra_ldflags_libobjc): Define appropriately for
1110 Cygwin and MinGW hosts.
1111 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1112 (libobjc.dll): Likewise.
1113 * configure: Regenerate.
1114
43e02a8a
RW
11152009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1116
1117 * configure: Regenerate.
1118
288d6a77
JJ
11192009-11-28 Jakub Jelinek <jakub@redhat.com>
1120
1121 * sarray.c (sarray_free): Use old_buckets variable.
1122 * encoding.c (objc_layout_structure_next_member): Remove unused
1123 bfld_type_size variable.
1124
df58e648
RW
11252009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1126
1127 * configure.ac (AC_PREREQ): Bump to 2.64.
1128
5213506e
RW
11292009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1130
1131 * aclocal.m4: Regenerate.
1132 * configure: Regenerate.
1133 * config.h.in: Regenerate.
1134
84fec8a5
RW
11352009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1136
1137 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1138
6efbd53f
RW
11392009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1140
1141 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1142 New variables.
1143 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1144
1b3b24c2
RW
11452009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1146
1147 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1148
748086b7
JJ
11492009-04-09 Nick Clifton <nickc@redhat.com>
1150
1151 * sendmsg.c: Change copyright header to refer to version 3 of
1152 the GNU General Public License with version 3.1 of the GCC
1153 Runtime Library Exception and to point readers at the COPYING3
1154 and COPYING3.RUNTIME files and the FSF's license web page.
1155 * NXConstStr.m: Likewise.
1156 * Object.m: Likewise.
1157 * Protocol.m: Likewise.
1158 * archive.c: Likewise.
1159 * class.c: Likewise.
1160 * encoding.c: Likewise.
1161 * exception.c: Likewise.
1162 * gc.c: Likewise.
1163 * hash.c: Likewise.
1164 * init.c: Likewise.
1165 * libobjc_entry.c: Likewise.
1166 * linking.m: Likewise.
1167 * misc.c: Likewise.
1168 * nil_method.c: Likewise.
1169 * objc/NXConstStr.h: Likewise.
1170 * objc/Object.h: Likewise.
1171 * objc/Protocol.h: Likewise.
1172 * objc/encoding.h: Likewise.
1173 * objc/hash.h: Likewise.
1174 * objc/objc-api.h: Likewise.
1175 * objc/objc-decls.h: Likewise.
1176 * objc/objc-list.h: Likewise.
1177 * objc/objc.h: Likewise.
1178 * objc/runtime.h: Likewise.
1179 * objc/sarray.h: Likewise.
1180 * objc/thr.h: Likewise.
1181 * objc/typedstream.h: Likewise.
1182 * objects.c: Likewise.
1183 * sarray.c: Likewise.
1184 * selector.c: Likewise.
1185 * thr-dce.c: Likewise.
1186 * thr-decosf1.c: Likewise.
1187 * thr-irix.c: Likewise.
1188 * thr-mach.c: Likewise.
1189 * thr-objc.c: Likewise.
1190 * thr-os2.c: Likewise.
1191 * thr-posix.c: Likewise.
1192 * thr-pthreads.c: Likewise.
1193 * thr-rtems.c: Likewise.
1194 * thr-single.c: Likewise.
1195 * thr-solaris.c: Likewise.
1196 * thr-vxworks.c: Likewise.
1197 * thr-win32.c: Likewise.
1198 * thr.c: Likewise.
1199 * libobjc.def: Change copyright header to refer to version 3 of
1200 the GNU General Public License and to point readers at the COPYING3
1201 file and the FSF's license web page.
1202 * makefile.dos: Likewise.
1203
12042009-04-09 Jakub Jelinek <jakub@redhat.com>
1205
1206 * Makefile.in: Change copyright header to refer to version
1207 3 of the GNU General Public License and to point readers at the
1208 COPYING3 file and the FSF's license web page.
1209 * configure.ac: Likewise.
1210
faef499b
DA
12112009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
1212 David Ayers <ayers@fsfe.org>
1213
1214 PR libobjc/27466
1215 * objc/objc-api.h (_objc_unexpected_exception): Declare
1216 new hook. Update copyright dates.
1217 * exception.c (objc_exception_throw): Use hook. Update
1218 copyright dates.
1219 * libobjc.def (_objc_unexpected_exception): Export hook.
1220 Update copyright dates.
1221
7a9d3fe8
RW
12222009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1223
1224 * configure: Regenerate.
1225
baafc534
RW
12262008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1227
1228 * configure: Regenerate.
1229
b15b7ef8
KT
12302008-11-21 Kai Tietz <kai.tietz@onevision.com>
1231
1232 * Object.m (errno): Replaced by errno.h include.
1233 (compare): Cast self to id to prevent warning on comparison.
1234 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
1235 already there.
1236 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
1237 * thr-win32.c (__objc_thread_detach): Remove type warning.
1238 (__objc_thread_id): Likewise.
1239 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
1240 for noreturn.
1241
467b2e9e
PG
12422008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1243 Steve Ellcey <sje@cup.hp.com>
1244
1245 * configure: Regenerate for new libtool.
1246 * config.h.in: Regenerate for new libtool.
1247
920d063d
MK
12482008-07-18 Matthias Klose <doko@ubuntu.com>
1249
1250 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
1251
785fad0a
MK
12522008-07-18 Matthias Klose <doko@ubuntu.com>
1253
1254 * Makefile.in: Include ../boehm-gc/threads.mk.
1255 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1256
a0ed5099
RW
12572008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1258
1259 * Makefile.in (install-info): New stub target.
1260
18c04407
RW
12612008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1262
1263 * configure: Regenerate.
1264
b01bd5fe
KT
12652008-06-14 Kai Tietz <kai.tietz@onevision.com>
1266
1267 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1268 if HAVE_GETIPINFO is not defined.
1269
c24aadf3
KT
12702008-06-10 Kai Tietz <kai.tietz@onevision.com>
1271
1272 * Object.m (compare): Add type id.
1273 * objc/Object.h: Likewise.
1274 * archive.c (objc_read_class): Use size_t to extend version to be
1275 size of pointer scalar width.
1276 * sendmsg.c (rtx): Undefine it before redefinition.
1277 (__objc_print_dtable_stats): Cast arguments to long as intended.
1278
3f6383d3
JB
12792008-05-30 Julian Brown <julian@codesourcery.com>
1280
1281 * exception.c (__objc_exception_class): Initialise as constant
1282 array for ARM EABI. Change macro to static const for non-ARM EABI.
1283 (ObjcException): Add note about structure layout. Remove landingPad
1284 and handlerSwitchValue for ARM EABI.
1285 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1286 of function.
1287 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1288 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1289 ARM EABI unwinding support.
1290 (objc_exception_throw): Use memcpy to initialise exception class.
1291
dd25a747
AM
12922008-05-25 Alan Modra <amodra@bigpond.net.au>
1293
1294 * encoding.c (strip_array_types): Rename from get_inner_array_type.
1295 (rs6000_special_round_type_align): Update.
1296
7afa92c5
JB
12972008-05-09 Julian Brown <julian@codesourcery.com>
1298
1299 * Makefile.in (LTLDFLAGS): New.
1300 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1301
deb984e6
PB
13022008-04-18 Paolo Bonzini <bonzini@gnu.org>
1303
1304 PR bootstrap/35457
1305 * aclocal.m4: Regenerate.
1306 * configure: Regenerate.
1307
e7ad4ca7
DE
13082008-01-24 David Edelsohn <edelsohn@gnu.org>
1309
1310 * configure: Regenerate.
1311
2c888488
L
13122007-10-14 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 * configure.ac: Don't run config-ml.in directly.
1315 (multilib_arg): New.
1316 * configure: Regenerated.
1317
30cad60d
AP
13182007-08-06 Andrew Pinski <pinskia@gmail.com>
1319
1320 PR libobjc/30731
1321 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1322 of _Unwind_Word for variables which are used in
1323 read_uleb128/read_sleb128.
1324 (PERSONALITY_FUNCTION): Likewise.
1325
12a27363
L
13262007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * aclocal.m4: Regenerated.
1329
af333b9a
AP
13302007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
1331
1332 * configure.ac: Fix a typo in *-*-darwin clause.
1333 * configure: Regenerated.
1334
4620d81e
L
13352007-06-02 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 * configure.ac: Fix a typo.
1338 * configure: Regenerated.
1339
82a6cadf
PB
13402007-06-02 Paolo Bonzini <bonzini@gnu.org>
1341
1342 * configure: Regenerate.
1343
45d5f86c
AP
13442007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1345
1346 * Makefile.in: Replace all uses of libext with libsuffix.
1347 * configure.ac: Likewise.
1348 * configure: Regenerate.
1349
1350 Revert:
1351 * Makefile.in: Remove all uses of $(libext).
1352
8b5dda41
AP
13532007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
1354
1355 * Makefile.in: Remove all uses of $(libext).
1356
1cf3d07d
SE
13572007-05-23 Steve Ellcey <sje@cup.hp.com>
1358
1359 * configure: Regenerate.
1360 * aclocal.m4: Regenerate.
1361
8972bcd8
AR
13622007-04-21 Andrew Ruder <andy@aeruder.net>
1363
1364 * sendmsg.c (__objc_get_forward_imp): Call
1365 __objc_msg_forward2 for real.
1366
80ae8e8a
AR
13672007-04-09 Andrew Ruder <andy@aeruder.net>
1368
1369 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
1370 external libraries to provide a function that returns the real
1371 forwarding function based on both the selector and the receiver.
1372 * objc/objc-api.h: Define __objc_msg_forward2.
1373
38593123
BM
13742007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1375
1376 * Makefile.in: Add dummy install-pdf target.
1377
3034b453
MLI
13782007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1379
1380 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
1381 unused warning.
1382
58182de3
GK
13832006-10-31 Geoffrey Keating <geoffk@apple.com>
1384
1385 * encoding.c (darwin_rs6000_special_round_type_align): New.
1386
5b043f08
GK
13872006-10-14 Geoffrey Keating <geoffk@apple.com>
1388
1389 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
1390 * configure.ac: Use multi.m4 from aclocal rather than custom
1391 code. Use multi_basedir instead of toplevel_srcdir.
1392 * aclocal.m4: Regenerate.
1393 * configure: Regenerate.
1394
b5422ad7
BM
13952006-10-10 Brooks Moses <bmoses@stanford.edu>
1396
1397 * Makefile.in: Added empty "pdf" target.
1398
57255173
PB
13992006-07-18 Paolo Bonzini <bonzini@gnu.org>
1400
91ba215a 1401 * configure: Regenerate.
57255173 1402
2788992b
CD
14032006-05-23 Carlos O'Donell <carlos@codesourcery.com>
1404
1405 * Makefile.in: Add install-html target. Add install-html to .PHONY
1406
529490b4
RO
14072006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1408
1409 PR libobjc/26309
1410 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1411
801a91f9
DA
14122006-01-24 David Ayers <d.ayers@inode.at>
1413
1414 PR libobjc/9751
1415 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
1416 and insure the new strings are '\0' termintated.
1417
8c3e5222
DA
14182006-01-24 David Ayers <d.ayers@inode.at>
1419
1420 PR libobjc/13946
1421 * configure.ac: Add include directives for --enable-objc-gc.
1422 * Makefile.in: Ditto.
1423 * configure: Regenerate.
1424
1425 * gc.c (__objc_class_structure_encoding): Increment the used bytes
1426 instead of the local pointer to them.
1427
06b11455
AP
14282005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
1429
1430 PR objc/25360
91ba215a
AP
1431 * objc/objc-api.c (_C_COMPLEX): New define.
1432 * encoding.c (objc_sizeof_type): Handle _C_Complex.
1433 (objc_alignof_type): Likewise.
1434 (objc_skip_typespec): Likewise.
06b11455 1435
bf5b295c
DA
14362005-12-15 David Ayers <d.ayers@inode.at>
1437
1438 PR libobjc/14382
1439 * README (+load,+initialize): Fix documentation to reflect
1440 intended and implemented semantics for +load and +initialize.
1441
761c0d29
AP
14422005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
1443
1444 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
1445 the name.
1446 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
1447 (rs6000_special_round_type_align): Update for the ABI fix.
1448 (objc_layout_finish_structure): Correct the encoding which is passed to
1449 ROUND_TYPE_ALIGN.
1450
4540a3ad
AP
14512005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1452
1453 PR libobjc/25347
1454 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
1455 but use the struct layout functions.
1456 (objc_alignof_type): Likewise.
1457 (objc_layout_structure): Handle _C_UNION_B also.
1458 (objc_layout_structure_next_member): Likewise.
1459 (objc_layout_finish_structure): Likewise.
1460
153b4898
AP
14612005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1462
1463 PR libobjc/25346
1464 * objc/objc-api.h (_C_BOOL): New define.
1465 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
1466 (objc_alignof_type): Likewise.
1467 (objc_skip_typespec): Likewise.
1468
84700346
DA
14692005-11-20 David Ayers <d.ayers@inode.at>
1470
1471 PR libobjc/19024
1472 * objc/hash.h: Remove deprecated hash API.
1473 * hash_compat.c: Remove.
1474 * Makefile.in: Remove reference to hash_compat.c.
1475
1476 * configure.ac (VERSION): Bump library version to 2:0:0.
1477 * configure: Regenerate.
1478
7ef67393
AO
14792005-11-09 Alexandre Oliva <aoliva@redhat.com>
1480
1481 PR other/4372
1482 * thr-objc.c (_XOPEN_SOURCE): Define.
1483
b7add506
UW
14842005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
1485
1486 PR libobjc/23612
1487 * objc/objc-api.h (struct objc_ivar): Move definition to
1488 global scope.
1489
ca59f04b
AP
14902005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
1491 Rasmus Hahn <rassahah@neofonie.de>
1492
1493 PR libobjc/23108
1494 * archive.c (objc_write_type): Correct the element offset.
1495 (objc_read_type): Likewise.
1496
f9d09c43
KC
14972005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1498
1499 * All files: Update FSF address.
1500
ee1658f3
MK
15012005-08-13 Marcin Koziej <creep@desk.pl>
1502 Andrew Pinski <pinskia@physics.uc.edu>
1503
1504 PR libobjc/22492
1505 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
1506
a5a813f8
AP
15072005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1508
1509 * Makefile.in (extra_ldflags_libobjc): New.
1510 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
1511 (libobjc_gc$(libext).la): Likewise.
1512 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
1513 "-Wl,-single_module".
1514 * configure: Regenerate.
1515 * linking.m (_objcInit): Remove.
1516
84fd360d
AP
15172005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
1518
1519 PR libobjc/22606
1520 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
1521
cf223603
DA
15222005-06-08 David Ayers <d.ayers@inode.at>
1523
1524 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
1525 objc/encoding.h, objc/hash.h, objc/objc-api.h,
1526 objc/runtime.h, objc/sarray.h, objc/thr.h,
1527 objc/typedstream.h: Do not include Objective-C headers as
1528 system headers.
1529
348a3445
DA
15302005-06-07 David Ayers <d.ayers@inode.at>
1531
1532 * archive.c, init.c, selector.c: Include hash.h.
1533 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
1534 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
1535 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
1536 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
1537 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
1538 Include Objective-C headers with quotes and objc/ directory
1539 prefix.
1540
4419e343
RH
15412005-05-19 Richard Henderson <rth@redhat.com>
1542
1543 * exception.c: Revert last change.
1544
2e8a88f0
DA
15452005-05-19 David Ayers <d.ayers@inode.at>
1546
1547 * exception.c: Include tsystem.h for unwind.h.
1548
f4c767fd
MS
15492005-05-09 Mike Stump <mrs@apple.com>
1550
1551 * configure: Regenerate.
1552
6dab073b
MS
15532005-04-12 Mike Stump <mrs@apple.com>
1554
1555 * configure: Regenerate.
1556
2b37e3d5
ZW
15572005-03-21 Zack Weinberg <zack@codesourcery.com>
1558
1559 * Makefile.in: Set gcc_version here.
1560 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
1561 in definition of toolexeclibdir so that $(gcc_version) is expanded
1562 by the Makefile.
1563 * aclocal.m4, configure: Regenerate.
1564
e59ef543
DA
15652005-03-03 David Ayers <d.ayers@inode.at>
1566
1567 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
1568 version reference. Correct typo.
1569
270a1283
DA
15702005-03-02 David Ayers <d.ayers@inode.at>
1571
1572 PR libobjc/19024
1573 * Makefile.in (OBJS): Add hash_compat.lo.
1574 (OBJS_GC): Add hash_compat_gc.lo.
1575 (hash_compat_gc.lo): New target and rule.
1576 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
1577 (hash_next, hash_value_for_key, hash_is_key_in_hash)
1578 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
1579 with objc_. Add deprecated non prefixed inlined versions.
1580 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
1581 declarations.
1582 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
1583 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
1584 update callers.
1585 * hash_compat.c: New file.
1586 * archive.c: Update callers.
1587 * init.c: Likewise.
1588 * selector.c: Likewise.
1589 * libobjc.def: Add objc_ versions of hash functions.
1590
6886e18e
AP
15912005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1592
1593 PR libobjc/20252
1594 * Makefile.in (GTHREAD_FLAGS): Remove.
1595 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
1596 * thr-objc.c: Include config.h.
1597 * configure.ac: Instead of looking at GCC's makefile, figure out if
1598 GTHREAD_FLAGS should be defined by looking at the `thread model'
1599 of the current gcc.
1600 * configure: Regenerate.
1601 * config.h.in: Regenerate.
1602
215c351a
PB
16032005-02-28 Paolo Bonzini <bonzini@gnu.org>
1604
1605 PR bootstrap/17383
1606 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
1607 (Determine CFLAGS for gthread): Use $host_subdir.
1608 * configure: Regenerate.
1609 * Makefile.in (host_subdir): New.
1610 (INCLUDES): Use it.
1611
63b6f9ea
AP
16122004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
1613
1614 PR libobjc/12035
1615 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
def9360c
AP
1616 they are not used.
1617 Include limits.h and stdlib.h.
1618 Define BITS_PER_WORD.
63b6f9ea 1619
64cbe55e
AM
16202004-12-12 Alexander Malmberg <alexander@malmberg.org>
1621
1622 * selector.c (__objc_init_selector_tables): Add missing void to
1623 definition.
1624
afabd8e6
RS
16252004-12-02 Richard Sandiford <rsandifo@redhat.com>
1626
1627 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1628 * configure, aclocal.m4: Regenerate.
1629
2539bffe
KC
16302004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1631
1632 * configure: Regenerate for libtool change.
1633
767f726e
KC
16342004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1635
1636 * configure: Regenerate for libtool reversion.
1637
2c92e90f
KC
16382004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1639
1640 * configure: Regenerate for libtool change.
1641
2fc30700
KC
16422004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1643
1644 * aclocal.m4, config.h.in: Regenerate.
1645
dd365157 16462004-10-08 Mike Stump <mrs@apple.com>
2b37e3d5 1647 Andrew Pinski <pinskia@physics.uc.edu>
dd365157
MS
1648
1649 * aclocal.m4: Rename to ...
1650 * acinclude.m4: here and also use m4_include instead of sinclude.
1651 * aclocal.m4: Regenerate.
1652 * configure: Regenerate.
1653 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
5a59530d 1654 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
dd365157 1655
8d488306
AP
16562004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
1657
1658 * archive.c: Fix all the warnings about passing unsigned char*
1659 to char* and the other way too.
1660
049bc404
AP
16612004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
1662
1663 PR libobjc/16448
1664 * exception.c: Include config.h
1665 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
1666 SJLJ_EXCEPTIONS.
1667 * configure.ac: Find out what exception handling code we use.
1668 * configure: Regenerate.
1669 * config.h.in: New file, regenerate.
1670
45f17969
AP
16712004-09-16 Andrew Pinski <apinski@apple.com>
1672
1673 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
1674
1506eac1
NN
16752004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1676
1677 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
1678 ACX_NONCANONICAL_TARGET.
1679 * configure: Regenerate.
1680
f13bb199
ZL
16812004-08-13 Ziemowit Laski <zlaski@apple.com>
1682
1683 * objc/sarray.h: Hoist include of assert.h near the top of file,
1684 and mark the remainder of the file 'extern "C"'.
1685
9567d415
AP
16862004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1687
1688 * objc/Object.h: Move includes out of extern "C" blocks.
1689 * objc/encoding.h: Likewise.
1690 * objc/hash.h: Likewise.
1691 * objc/objc-api.h: Likewise.
1692 * objc/runtime.h: Likewise.
1693 * objc/sarray.h: Likewise.
1694 * objc/typedstream.h: Likewise.
1695
1a6213c3
ZL
16962004-08-12 Ziemowit Laski <zlaski@apple.com>
1697
1698 * objc/NXConstStr.h: Update copyright date; bracket with
1699 'extern "C"' for C++ use; make include syntax consistent
1700 by using <...> instead of "..."; hoist <objc/...> includes
1701 above the 'extern "C"' block.
1702 * objc/Object.h: Likewise.
1703 * objc/Protocol.h: Likewise.
1704 * objc/encoding.h: Likewise.
1705 * objc/hash.h: Likewise.
1706 * objc/runtime.h: Likewise.
1707 * objc/sarray.h: Likewise.
1708 * objc/thr.h: Likewise.
1709 * objc/typedstream.h: Likewise.
1710 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
1711 (objc_static_instances): For C++ case, do away with
1712 zero-sized array.
1713 (objc_method): Hoist definition to file scope.
1714 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2b37e3d5 1715 class_get_instance_method, class_create_instance,
1a6213c3
ZL
1716 class_get_class_name, class_get_instance_size,
1717 class_get_meta_class, class_get_super_class, class_get_version,
1718 class_is_class, class_is_meta_class, class_set_version,
1719 class_get_gc_object_type, class_ivar_set_gcinvisible,
1720 get_imp): Rename 'class' parameter to '_class'.
1721 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
1722 * objc/objc.h: Update copyright date.
1723 (arglist_t): Provide a union tag.
1724
bc012a44
AP
17252004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
1726
1727 * thr.c (__objc_thread_detach_function): Do not mark as volatile
1728 but instead use the attribute noreturn.
1729
0cf61401
ZW
17302004-06-28 Zack Weinberg <zack@codesourcery.com>
1731
1732 * encoding.c: Rename target_flags with a #define to avoid
1733 conflict with a prior declaration.
1734
6f0aa5e1
AP
17352004-06-24 Andrew Pinski <apinski@apple.com>
1736
1737 * objc/encoding.h: Wrap the functions with extern "C" for C++
0cf61401 1738 mode.
6f0aa5e1
AP
1739 * objc/hash.h: Likewise.
1740 * objc/objc-api.h: Likewise.
1741 * objc/objc-list.h: Likewise.
1742 * objc/runtime.h: Likewise.
1743 * objc/sarray.h: Likewise.
1744 * objc/thr.h: Likewise.
1745 * objc/typedstream.h: Likewise.
1746
1747
e7ebc32a
NC
17482004-06-21 Nick Clifton <nickc@redhat.com>
1749
1750 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1751 provided.
1752
5520b936
AM
17532004-06-20 Alexander Malmberg <alexander@malmberg.org>
1754
0cf61401
ZW
1755 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1756 (exception_gc.lo): New.
1757 (OBJS_GC): Add exception_gc.lo.
1758
a776161b
RH
17592004-06-17 Richard Henderson <rth@redhat.com>
1760
1761 * exception.c: New file.
1762 * Makefile.in (exception.lo): New.
1763 (OBJS): Add it.
1764
da727eab
AP
17652004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1766
1767 * linking.m (_objcInit): New empty function
1768 for Darwin only.
1769
3f35ff6f
AP
17702004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1771
684c64bf
AP
1772 * configure.ac: Support --enable-shared=libobjc.
1773 * configure: Regenerate.
1774
3f35ff6f
AP
1775 PR libobjc/15901
1776 * configure.ac: Do not disable shared by default.
1777 * configure: Regenerate.
1778
1600b7d6
NP
17792004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1780
1781 * Protocol.m ([-isEqual:]): Small optimizations returning
1782 immediately if the argument is equal to self, and accessing
1783 the argument's name directly if it's a protocol.
1784
17852004-06-03 David Ayers <d.ayers@inode.at>
1786
1787 * Protocol.m ([-isEqual:]): Test the class of the argument.
1788
ff65de76
AP
17892004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1790
7d34a5a9
AP
1791 * configure.ac (includedir): Rename to ...
1792 (includedirname).
1793 * Makefile.in: s/includedir/includedirname/.
1794
ff65de76
AP
1795 PR target/11572
1796 * configure.ac (includedir): Set to "include"
1797 except for Darwin.
1798 (libext) Set to empty except for Darwin.
1799 * configure: Regenerate
1800 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1801 s/include/$(includedir)/g.
1802
54b2f310
DJ
18032004-05-25 Daniel Jacobowitz <drow@false.org>
1804
1805 * Makefile.in: Add .NOEXPORT.
1806
435317e2
AP
18072004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1808
1809 Merge from the libobjc-branch
1810 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1811
435317e2 1812 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
0cf61401 1813
435317e2 1814 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1815
435317e2 1816 * Makefile.in (OBJC_H): Add objc-deps.h.
0cf61401 1817
435317e2 1818 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
0cf61401 1819
435317e2
AP
1820 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1821 ([-hash], [-isEqual:]): New methods.
0cf61401 1822
435317e2 1823 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
0cf61401 1824
435317e2 1825 * sarray.c (sarray_free): Add a better comment.
0cf61401 1826
435317e2 1827 2004-01-27 Adam Fedor <fedor@gnu.org>
0cf61401 1828
435317e2
AP
1829 * hash.c (hash_add): Cast cachep to int.
1830 * selector.c (__sel_register_typed_name): Cast
1831 soffset_decode to int.
0cf61401 1832
435317e2 1833 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
0cf61401 1834
435317e2
AP
1835 * selector.c: Rename register_selectors_from_list to
1836 __objc_register_selectors_from_list. Update caller.
1837 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1838 while registering selectors. Use __sel_register_typed_name instead
1839 of sel_register_typed_name. Check for NULL method_name:s.
1840 (pool_alloc_selector): New function.
1841 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1842 selector structures.
1843 * sendmsg.c (class_add_method_list): Use
1844 __objc_register_selectors_from_list.
1845 * objc/runtime.h: Add __objc_register_selectors_from_list.
0cf61401 1846
435317e2 1847 2004-01-25 Adam Fedor <fedor@gnu.org>
0cf61401
ZW
1848 Nicola Pero <n.pero@mi.flashnet.it>
1849 Andrew Pinski <pinskia@physics.uc.edu>
1850
435317e2
AP
1851 * objc/objc-decls.h: New file.
1852 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1853 (_objc_load_callback): Likewise.
1854 (_objc_object_alloc): Likewise.
1855 (_objc_object_copy): Likewise.
1856 (_objc_object_dispose): Likewise.
0cf61401 1857
435317e2 1858 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1859
435317e2 1860 * archive.c: s/__inline__/inline
0cf61401
ZW
1861 * sendmsg.c: Likewise.
1862
435317e2
AP
1863 * encoding.c: Remove FIXME about the warning
1864 about unused variable.
1865 * sendmsg.c: Add a FIXME comment saying that
1866 this should be using libffi.
0cf61401 1867
435317e2 1868 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
0cf61401 1869
435317e2 1870
755bddc8
AP
18712004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1872
1873 * archive.c (objc_read_class): Initialize class_name.
1874 (objc_read_selector): Initialize selector_name.
1875
eb01299a
RS
18762004-05-09 Richard Sandiford <rsandifo@redhat.com>
1877
1878 * Makefile.in (toolexecdir): Remove trailing space.
1879
db7f3c69
NN
18802004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1881
1882 PR libobjc/14948
1883 * configure.ac: De-precious CC so multilibs work.
1884 * configure: Regenerate.
1885
a42a57cb
NN
18862004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1887
1888 * configure.ac: Restore toolexecdir.
1889 * Makefile.in: Restore toolexecdir.
1890 * configure: Regenerate.
1891
9c01f395
NN
18922004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1893
d770b996
NN
1894 * configure.ac: Remove (unused) glibcpp_prefixdir.
1895 * configure: Regenerate.
1896
3adc31d1
NN
1897 * configure.in: Rename to configure.ac.
1898 * Makefile.in: Update to match.
1899
608e1e0c
NN
1900 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1901 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1902 * configure.in: Remove glibcpp_toolexecdir (unused).
1903 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1904 config.h or stamp-h (unused). Move one comment to the right place.
1905 * configure: Regenerate.
1906 * config.h.in: Remove (unused).
1907
88b16960
NN
1908 * config.h.in: Regenerate with autoheader.
1909
af0c82b3
NN
1910 * Makefile.in: Remove (unused) gcc_version_trigger.
1911 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1912 gcc_version_trigger.
1913 * configure: Regenerate.
1914
252dde64
NN
1915 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1916 Sort file into sections. Remove dnl where appropriate. Fix
1917 other style issues.
1918 * configure: Regenerate.
1919
88386050
NN
1920 * configure.in: Replace old AC_PROG_CC hack with new one.
1921 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1922 are no subdirectory output files, so this is fine). Change prereq
1923 to autoconf 2.59.
1924 * aclocal.m4: Include ../config/no-executables.m4.
1925 * configure: Regenerate with autoconf 2.59.
1926
b43e7294
NN
1927 * configure.in: Improve comments on gthread_cflags. Improve m4
1928 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1929 * configure: Regenerate.
1930
1fcfac98
NN
1931 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1932 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1933 redundant checks for values of RANLIB, AR, INSTALL.
1934 * configure: Regenerate.
1935
9c01f395
NN
1936 * configure.in: Clean up handling of
1937 --enable-version-specific-runtime-libs and related variables;
1938 replace 'if test' with 'case' where reasonable. Fix comments.
1939 Remove useless libstdcxx_interface.
1940 * configure: Regenerate.
1941
1942 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1943 Replace uses of target_alias with target_noncanonical.
1944 * aclocal.m4: Include ../config/acx.m4.
1945 * configure: Regenerate.
1946 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1947 Fix copyright statement.
1948
1949 * configure.in: Hand-inline bulky, confusing macros from
1950 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1951 Update copyright notice. Remove stuff for automake, which isn't
1952 used in this directory. Remove emacs local variables.
1953 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1954 * configure: Regenerate.
1955
1adc3fec
MH
19562004-03-16 Manfred Hollstein <mh@suse.com>
1957
1958 * Makefile.in, configure.in, configure: Update copyright years.
1959
68a1af87
MH
19602004-03-15 Manfred Hollstein <mh@suse.com>
1961
1962 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1963 definition from configure.in.
1964 * configure.in (PACKAGE): Add definition.
1965 (VERSION): Add definition; substitute it in output files.
1966 * configure: Re-generate.
1967
d5e63fce
ZL
19682004-03-05 Ziemowit Laski <zlaski@apple.com>
1969
1970 * objc/hash.h (hash_string, compare_strings):
1971 Add type-casts to make Objective-C++ happy.
1972 * objc/typedstream.h (objc_get_stream_class_version):
1973 Rename parameter from 'class' to 'class_name' to make
1974 Objective-C++ happy.
1975
8f8cdf33
MM
19762004-03-01 Michael Matz <matz@suse.de>
1977
1978 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1979
25fe8680
ZL
19802004-02-06 Ziemowit Laski <zlaski@apple.com>
1981
1982 * objc/objc-api.h (objc_super): The 'class' field shall
1983 be named 'super_class' #ifdef __cplusplus.
1984
95727fb8
AP
19852004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1986
1987 PR target/10781
1988 * encoding.c (rs6000_special_round_type_align): Define.
1989
5af0e6ae
AF
19902004-01-14 Adam Fedor <fedor@gnu.org>
1991
1992 PR libobjc/12155
1993 * selector.c (__objc_register_instance_methods_to_class): Free
1994 new_list if not used.
1995
b39f1868
AR
19962004-01-09 Andrew Ruder <aeruder@ksu.edu>
1997
1998 PR libobjc/11904
1999 * sarray.c (sarray_free): Free array->is_copy_of latter.
2000
75d3baee
ZW
20012003-12-01 Zack Weinberg <zack@codesourcery.com>
2002
2003 PR 11433
2004 * Protocol.m (descriptionForInstanceMethod): Don't dereference
2005 instance_methods if it's NULL.
2006 (descriptionForClassMethod): Likewise for class_methods.
2007
7989e4dc
RO
20082003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2009
2010 * Makefile.in (runtime-info.h): Remove -Wp.
2011
54b98a47
RO
20122003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2013
2014 * Makefile.in (CC1OBJ): Remove.
2015 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2016 correctly.
2017 Use .m extension for temporary file.
2018 Remove assembler temp file.
2019
beca20d2
JM
20202003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
2021
2022 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2023
05dcec66
RO
20242003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2025
2026 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2027
e517f636
AM
20282003-09-09 Alan Modra <amodra@bigpond.net.au>
2029
2030 * configure: Regenerate.
2031
45dff86e
AM
20322003-08-27 Alexander Malmberg <alexander@malmberg.org>
2033
2034 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2035 (libdir)/gcc-lib/ when installing.
2036 * configure: Regenerate.
2037
c19f8e35
NP
2038Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
2039
2040 libobjc/9969
2041 * sendmsg.c (get_imp): Fixed rare threading problem.
2042 (__objc_responds_to): Similar fixes.
2043 (objc_msg_lookup): Similar fixes.
2044 (__objc_init_install_dtable): Lock the runtime before checking if the
2045 table is installed.
75d3baee 2046
6c82ad25
NN
20472003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
2048
38709cad
NN
2049 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2050 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2051 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2052 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
75d3baee 2053 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
38709cad 2054 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
6c82ad25
NN
2055 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2056 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2057 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2058 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2059 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2060
e083f3f9 2061Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
75d3baee 2062 Nicola Pero <n.pero@mi.flashnet.it>
e083f3f9
RFM
2063
2064 libobjc/10742
2065 * init.c (class_superclass_of_class): New function.
2066 (create_tree_of_subclasses_inherited_from): Use it.
2067 (__objc_tree_insert_class): Likewise.
2068 (class_is_subclass_of_class): Likewise.
75d3baee 2069
0b87e18e
DC
20702003-04-11 David Chad <davidc@freebsd.org>
2071 Loren J. Rittle <ljrittle@acm.org>
2072
2073 libobjc/8562
2074 * objc/hash.h (hash_string): Constify correctly.
2075 (compare_ptrs): Use direct compare.
2076 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2077 * objc/sarray.h: Global rename index to indx to avoid shadow.
2078
ff8b9ca8
AS
20792003-03-12 Andreas Schwab <schwab@suse.de>
2080
2081 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2082 glibcpp_toolexeclibdir.
2083 * configure: Rebuilt.
2084
3343fdd2
AO
20852003-02-20 Alexandre Oliva <aoliva@redhat.com>
2086
2087 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2088 config.status.
2089 * configure: Rebuilt.
2090
c5e3e1ed
AO
20912003-01-27 Alexandre Oliva <aoliva@redhat.com>
2092
2093 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2094 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2095 version_specific_libs is enabled.
2096 * configure: Rebuilt.
2097
90e5b39f
CC
20982003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2099
2100 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2101 (install-libs, install-headers): Prepend $(DESTDIR) to
2102 destination paths in all (un)installation commands.
2103
4977bab6
ZW
21042002-12-02 Zack Weinberg <zack@codesourcery.com>
2105
2106 * thr-objc.c: Include coretypes.h and tm.h.
2107
21082002-12-01 Zack Weinberg <zack@codesourcery.com>
2109
2110 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2111
21122002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
2113
2114 * configure.in: Remove skip-this-dir support.
2115 * configure: Regenerate.
2116
6c5d742e
KG
21172002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2118
2119 * Makefile.in (all): Fix multilib parallel build.
2120
c2a68741
NP
2121Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
2122
2123 * sendmsg.c (nil_method): Declare not to take a variable number of
2124 args.
2125 (objc_msg_lookup): Cast nil_method to IMP before returning it.
2126 (objc_msg_lookup_super): The same.
2127
edf4d41e
JH
21282002-09-10 Jan Hubicka <jh@suse.cz>
2129
65a8189e
AJ
2130 * nil_method.c (nil_method): No longer defined with variable
2131 arguments.
edf4d41e 2132
40165636
RB
21332002-07-02 Rodney Brown <rbrown64@csc.com.au>
2134
2135 * objc/encoding.h: Fix formatting.
2136 * objc/hash.h: Likewise.
2137 * objc/objc-api.h: Likewise.
2138 * objc/runtime.h: Likewise.
2139 * objc/thr.h: Likewise.
2140 * archive.c: Likewise.
2141 * class.c: Likewise.
2142 * encoding.c: Likewise.
2143 * gc.c: Likewise.
2144 * hash.c: Likewise.
2145 * init.c: Likewise.
2146 * misc.c: Likewise.
2147 * nil_method.c: Likewise.
2148 * objects.c: Likewise.
2149 * sarray.c: Likewise.
2150 * selector.c: Likewise.
2151 * sendmsg.c: Likewise.
2152 * thr-mach.c: Likewise.
2153 * thr.c: Likewise.
2154
aebb8c22
DD
21552002-06-25 DJ Delorie <dj@redhat.com>
2156
2157 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2158 GLIBCPP_TOPREL_CONFIGURE.
2159 * configure.in: Call it before AC_CANONICAL_SYSTEM.
2160 * configure: Regenerate.
2161
b62cc13a
KG
21622002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2163
2164 * Object.m (forward, read, write): Fix unused parameter warnings.
2165 * encoding.c: Include <stdlib.h>.
2166 (target_flags): Mark with attribute unused.
2167 (atoi): Delete.
2168 * runtime.h (__objc_selector_max_index): Change to unsigned int.
2169 (__objc_generate_gc_type_description): Prototype.
2170 * selector.c (__objc_selector_max_index): Change to unsigned int.
2171
10cb24df
NP
2172Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
2173
2174 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2175 we always have a return value: if __objc_msg_forward does not
2176 supply a forwarding implementation, return the default
2177 __builtin_apply based one.
2178
8f8c44cb
KG
21792002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2180
2181 * Object.m: Fix signed/unsigned warning.
2182 * Protocol.m: Likewise.
2183 * archive.c: Always include stdlib.h.
2184 (objc_read_short, objc_read_unsigned_short, objc_read_int,
2185 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2186 Fix signed/unsigned warning.
2187 (objc_write_type, objc_read_type, objc_write_types,
2188 objc_read_types): Ensure ctype 8-bit safety.
2189 (__objc_no_write, __objc_no_read): Mark unused parameters.
2190 * class.c (class_table_setup): Specify void arg.
2191 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2192 objc_skip_typespec, objc_skip_offset,
2193 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2194 (objc_layout_structure_next_member): Ensure variables are
2195 initialized.
2196 * gc.c (__objc_generate_gc_type_description,
2197 class_ivar_set_gcinvisible): Mark unused parameters.
2198 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2199 unused parameters.
2200 (__objc_init_protocols) Fix signed/unsigned warning.
2201 * nil_method.c (nil_method): Mark unused parameters.
2202 * thr.h (objc_thread_callback): Specify void arg.
2203 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2204 signed/unsigned warning.
2205 (sarray_free): Fix formatting.
2206 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2207 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2208
42bac116
AJ
22092002-06-09 Andreas Jaeger <aj@suse.de>
2210
2211 * encoding.c (objc_layout_structure_next_member): Remove unused
2212 variable.
2213
9aa338ec
KG
22142002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2215
2216 * Makefile.in (SHELL): Set to @SHELL@.
2217 (WARN_CFLAGS): New.
2218 (ALL_CFLAGS): Add $(WARN_CFLAGS).
2219
1e6347d8
RO
22202002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2221
2222 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2223 * configure: Regenerate.
2224
6706f116
AO
22252002-05-08 Alexandre Oliva <aoliva@redhat.com>
2226
2227 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2228 script entry, and set LD to it when configuring multilibs.
2229 * configure: Rebuilt.
2230
d0d091ae
DB
22312002-04-19 David O'Brien <obrien@FreeBSD.org>
2232
2233 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
2234
ed426a38 22352002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
0bd9dd55
HPN
2236
2237 PR objc/6107
2238 * objc/objc-api.h (struct objc_protocol_list): Change type of
2239 member count from int to size_t.
2240
b150efee
FS
22412002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2242
2243 PR libobjc/4039
2244 * aclocal.m4: Replace with version copied from libstdc++-v3.
2245 * configure.in: Update for changes to aclocal and Makefile.
2246 * configure: Regenerate.
2247 * Makefile.in: Correct install of multilibs and shared libs, use
2248 INSTALL_DATA for include files.
2249
e5e0f6f5
NP
2250Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
2251
2252 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2253 categories - when an unclaimed category was found, the loop was
2254 doing two steps forward instead of one, so that in certain cases
2255 it was failing to properly load all the categories. (Reported
2256 with fix by Alexander Malmberg <alexander@malmberg.org>).
2257
d5114db1
AH
22582001-11-14 Aldy Hernandez <aldyh@redhat.com>
2259
4977bab6 2260 * encoding.c: Add target_flags.
d5114db1 2261
f4fdaeda
AH
22622001-11-07 Aldy Hernandez <aldyh@redhat.com>
2263
2264 * objc/objc-api.h (_C_VECTOR): New.
2265
2266 * encoding.c (VECTOR_TYPE): New.
2267
26e51caa
NP
2268Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
2269
2270 * class.c: Rewritten the class table to use optimized, lock-free
4977bab6
ZW
2271 lookup. This more than doubles the speed of class method
2272 invocations. (class_table_setup), (class_table_insert),
2273 (class_table_replace), (class_table_get_safe),
2274 (class_table_next), (class_table_print),
2275 (class_table_print_histogram): New functions.
2276 (__objc_init_class_tables): Use class_table_setup.
2277 (__objc_add_class_to_hash): Use class_table_get_safe and
2278 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
2279 assert the existence of the table; do not lock the runtime; use
2280 class_table_get_safe. (objc_next_class): Use class_table_next.
2281 (__objc_resolve_class_links): Use class_table_next.
2282 (class_pose_as): Use class_table_replace.
26e51caa 2283
71a18acf
OP
22842001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
2285
2286 * gc.c: Removed the DEBUG declaration.
2287
5f1ecf82
NP
2288Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
2289
2290 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2291 rather than through objc_thread_id, to save a function call.
2292 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2293 Ditto.
2294
42d28de5
NP
2295Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
2296
2297 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2298 to cast an id to a Class, which can not be done. Make the check
2299 by using CLS_ISMETA on the class pointer instead.
2300 (object_is_meta_class): Similar fix.
2301
4173be7f
AO
23022001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
2303
2304 * configure.in (AC_EXEEXT): Work around in case it expands to
2305 nothing, as in autoconf 2.50.
2306 * acinclude.m4: Likewise.
2307 * configure: Rebuilt.
2308
27132e64
NP
23092001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
2310
2311 * THREADS: Explain that when we compile libobjc inside GCC, we
2312 always use thr-objc.c as a backend, which uses GCC's thread code.
2313
e6be21fe
RFM
23142001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
2315
2316 * init.c (__objc_send_message_in_list): When setting a new entry
2317 in __objc_load_methods use the method IMP as key, but check to see
2318 if the method is in the hashtable by looking at the IMP also.
2319 Also ... call the method after adding it to the hashtable rather
2320 than before ... thus preventing an obscure possibility of infinite
2321 recursion if a +load method itself loads a subclass.
2322
12e01066
OP
23232001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
2324
2325 * init.c (__objc_send_message_in_list): When setting a new entry
2326 in __objc_load_methods use the method name as key, not the method
2327 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2328
10c179f3
JM
23292001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
2330
2331 * objc-features.texi: Move to ../gcc/objc.texi.
2332 * fdl.texi: Remove.
2333 * Makefile.in: Don't generate documentation from
2334 objc-features.texi.
2335
bcecb0b0
MM
23362001-05-01 Mark Mitchell <mark@codesourcery.com>
2337
2338 * fdl.texi: New file.
2339 * objc-features.texi: Simplify.
2340 * Makefile.in: Adjust accordingly.
2341
c3aac512
MM
23422001-04-30 Mark Mitchell <mark@codesourcery.com>
2343
2344 * objc-features.texi: Use the GFDL.
2345
49073def
JW
2346Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
2347
2348 * encoding.c (REAL_TYPE): Define.
2349
120d59bf
DE
23502001-03-19 David Edelsohn <edelsohn@gnu.org>
2351
2352 * encoding.c (TYPE_MODE): Define.
2353
b894530e
NP
23542001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
2355
2356 * thr.c (objc_thread_add): New function.
2357 (objc_thread_remove): Ditto.
2358 * objc/thr.h: Declare them.
2359 * libobjc.def: Mention them.
2360
11014a3b
OP
23612001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
2362
2363 * objc-features.texi: Document the @compatibility_alias compiler
2364 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
2365
a79ffa5a
RO
2366Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2367
2368 * sendmsg.c (__objc_forward): Delete strlen() declaration.
2369
7c6b0e92
GK
23702001-02-08 Geoffrey Keating <geoffk@redhat.com>
2371
2372 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
2373 we're not interested in the result and they might fail.
2374 * configure: Regenerated.
2375
01d9cb8b
JM
23762001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2377
2378 * objc-features.texi: Use @email.
2379
0fc39d8a
JM
23802001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2381
2382 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
2383 printf.
2384
919ee051
RE
23852000-01-11 Richard Earnshaw <rearnsha@arm.com>
2386
2387 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
2388 determines the value dynamically.
2389
1104c18d
OP
2390Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
2391
2392 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
2393 libraries to provide a function that returns the real forwarding
2394 function. This can alleviate problems __builtin_apply() and
2395 friends have on various platforms. (Solution suggested by Helge
2396 Hess.)
42bac116 2397
1104c18d
OP
2398 * objc/objc-api.h: Define __objc_msg_forward.
2399
2400 * sendmsg.c: Define gen_rtx_REG.
2401
68c9c61a
RC
24022000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2403
42bac116 2404 * thr-rtems.c: New file. Stub to compile.
68c9c61a 2405
6d93bca4
AO
24062000-09-06 Alexandre Oliva <aoliva@redhat.com>
2407
2408 * configure: Rebuilt with new libtool.m4.
2409
9d10fcf9
OP
2410Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2411
2412 * configure.in: Create a config.h file. Check for <sched.h>.
2413 * configure: Regenerate.
2414
2415 * config.h.in: Check for <sched.h>.
2416
57119aa9
ZW
24172000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2418
2419 * configure: Regenerate after change to ../libtool.m4.
2420
b310e725
AS
24212000-08-14 Andreas Schwab <schwab@suse.de>
2422
2423 * objc-features.texi (Top): Move @menu at end of node.
2424
82fbe835
MH
24252000-08-11 Manfred Hollstein <manfredh@redhat.com>
2426
2427 * objc-features.texi: Move @node Top before @menu.
2428
b3dc253f
OP
2429Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2430
2431 * objc-features.texi: Documented the new -fconstant-string-class
2432 option.
2433
9bc3876e
OP
2434Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2435
2436 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
2437 improve the Posix thread support for Objective-C.
2438
8cab40f7
ZW
24392000-08-04 Zack Weinberg <zack@wolery.cumb.org>
2440
2441 * aclocal.m4: Replace copy of ../libtool.m4 with
2442 sinclude(../libtool.m4).
2443
c161c99b
NP
2444Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
2445
42bac116 2446 * configure.in: Added libtool support; build shared libraries
c161c99b
NP
2447 if --enable-shared was passed on command line.
2448 * Makefile.in: Modified most compilation commands to use libtool.
2449 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
2450 libtool distribution.
2451
9c14a607
OP
2452Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2453
2454 * sarray.c, Object.m: Removed the explicit prototypes for strlen
2455 and memcpy on 64-bit platforms (Suggested by Rodney Brown
2456 <rdb@cup.hp.com>).
2457
15794a95
L
24582000-05-12 H.J. Lu (hjl@gnu.org)
2459
2460 * Makefile.in (GTHREAD_FLAGS): New.
2461 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
2462 (OBJC_THREAD_FILE): Changed to thr-objc.
2463
2464 * configure.in (GTHREAD_FLAGS): New, check and replace it for
2465 Makefile.
2466 (OBJC_THREAD_FILE): Removed.
2467
2468 * thr-objc.c: New.
2469
8dd8d754
KG
24702000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2471
2472 * objc/hash.h: Include string.h.
2473
39b48e02
DE
24742000-04-15 David Edelsohn <edelsohn@gnu.org>
2475
2476 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
2477
bcdb1106
JJ
24782000-04-12 Jakub Jelinek <jakub@redhat.com>
2479
2480 * Object.m (strlen): Provide prototype on all 64bit platforms,
2481 not only alpha.
2482 * sarray.c (memcpy): Likewise.
2483 * encoding.c (objc_layout_finish_structure): Don't use
2484 ROUND_TYPE_ALIGN on sparc.
2485
35f10998
JJ
2486 * encoding.c (objc_layout_structure_next_member): Do the whole
2487 procedure even for the first member, so that we get correct
2488 alignment.
2489
2e3120e8
ZW
24902000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2491
2492 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
2493 comments.
2494
6fc605d8
ZW
24952000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2496
2497 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
2498
224a6bca
CB
2499Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
2500
2501 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
2502
e36e6e02
JL
2503Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
2504
2505 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
2506 the compiler when building C code.
42bac116 2507
76632dd0
DJ
2508Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2509
2510 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2511 libdir, libsubdir and tooldir.
2512
6000b42b
JDA
2513Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
2514
2515 * init.c (__objc_force_linking): Make global.
2516
6de94858
JL
2517Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
2518
2519 * configure.in (AC_EXEEXT): Remove call.
2520 (compiler_name): Explicitly check with no extension and .exe
2521 extension.
2522 * configure: Regenerate.
2523
7af06410
MK
2524Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2525
2526 * Makefile.in (CC1OBJ): Define in terms of CC.
2527 (runtime-info.h): Use.
2528
09608fa2
OP
2529Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2530
2531 * objc-features.texi: Updated the URL to Boehm's GC page.
2532
56d654e4
OP
2533Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2534
2535 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
2536 the char as being signed (patch from Daniel Jacobowitz
2537 <drow@false.org>).
2538
e33abc2d
MK
2539Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
2540
2541 * configure.in (AC_PREREQ): Update to 2.13.
2542 (AC_EXEEXT): Call to find possible file extension.
2543 (compiler_name): Use.
2544 * configure: Regenerate.
2545
ab87f8c8
JL
2546Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
2547
2548 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
2549
79014e6f
JL
2550Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
2551
2552 * configure.in (thread_file): Correct and simplify code to find
2553 the thread file.
2554 * configure: Rebuilt.
2555
71205e0b
MH
25561998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
2557
2558 * configure.in (compiler_name): Add check to detect if this
2559 language's compiler has been built.
2560 * configure: Regenerate.
2561
223a8848
KG
2562Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2563
2564 * configure.in: Use AC_PREREQ(2.12.1).
2565
74285159
JL
2566Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
2567
2568 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
2569
84beab38
KG
2570Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2571
2572 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
2573
8a829fd9
KG
2574Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2575
2576 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
2577
befb6d14
OP
2578Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
2579
2580 * objc-features.texi (Top): Changed the email address.
2581 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
2582
2583Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
2584
2585 * encoding.c: Redefine get_inner_array_type to get the first entry
42bac116 2586 in the structure.
befb6d14 2587
1df287f8
RFM
2588Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
2589
2590 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
2591 (objc_get_type_qualifiers): Similarly.
2592 * objc/encoding.h (_C_BYREF): Define.
2593 (_F_BYREF): Define.
2594
07181a20
DM
25951998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
2596
2597 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
2598 works out on 64-bit systems.
2599
5e2f657b
AO
2600Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2601
ceff9b14 2602 * Makefile.in (INCLUDES): Make it multilib-friendly.
5e2f657b 2603
4afb3646
L
2604Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
2605
2606 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
2607
4102f627
RL
2608Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
2609 Jeffrey A Law (law@cygnus.com)
2610
2611 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
2612 (FLAGS_TO_PASS): Added.
2613 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
2614
2615 * archive.c: Change config.h to tconfig.h.
2616
2617 * configure.in: Find gcc's object directory even for multilibs.
2618
2619Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
5ae4c799
RL
2620
2621 * configure.in: Escape ^ in grep string.
2622 * configure: Rebuilt.
2623
789eb4f5
JL
2624Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
2625
2626 * All .h files pushed down into the objc/ subdirectory.
2627 * Makefile.in (copy_headers): Corresponding changes.
2628 * configure.in (AC_INIT): Corresponding changes.
2629 * configure: Rebuilt.
2630
bce1b489
BE
26311998-09-30 Ben Elliston <bje@cygnus.com>
2632 Jeff Law <law@cygnus.com>
2633
2634 * Makefile.in: Rewrite.
2635
2636 * configure.in: Likewise.
2637
2638 * configure: Regenerate.
2639
2640 * All .c files. Remove "objc" prefix when including objc header
2641 files. Include tconfig.h, not ../tconfig.h.
2642
2e5f02a3
OP
2643Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
2644
2645 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
2646 (get_inner_array_type): Define.
2647
88e17b57
BE
26481998-09-21 Ben Elliston <bje@cygnus.com>
2649
2650 * New directory. Moved files from ../gcc/objc.