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