]> git.ipfire.org Git - thirdparty/gcc.git/blob - libobjc/ChangeLog
In libobjc/: 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
[thirdparty/gcc.git] / libobjc / ChangeLog
1 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
2
3 * objc/runtime.h (class_getIvarLayout): New.
4 (class_getWeakIvarLayout): New.
5 (class_setIvarLayout): New.
6 (class_setWeakIvarLayout): New.
7 * ivars.c (class_getIvarLayout): New.
8 (class_getWeakIvarLayout): New.
9 (class_setIvarLayout): New.
10 (class_setWeakIvarLayout): New.
11
12 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
13
14 * objc/runtime.h (class_copyPropertyList): New.
15 (class_getProperty): New.
16 (property_getAttributes): New.
17 (property_getName): New.
18 * ivars.c (class_copyPropertyList): New.
19 (class_getProperty): New.
20 (property_getAttributes): New.
21 (property_getName): New.
22
23 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
24
25 * objc-private/runtime.h (__objc_update_classes_with_methods): New.
26 * class.c (__objc_update_classes_with_methods): New.
27 (objc_getClassList): Do not lock the class lock.
28 * methods.c (method_exchangeImplementations): New.
29 (method_setImplementation): New.
30 * objc/runtime.h (method_setImplementation): New.
31 (method_exchangeImplementations): New.
32
33 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
34
35 * Protocol.m: Include objc/runtime.h and
36 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
37 repeat Protocol's instance variables.
38 (struct objc_method_description_list): Do not define here.
39 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
40 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
41 selectors directly instead of getting names and then using strcmp.
42 ([descriptionForClassMethod:]): Same change.
43 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
44 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
45 to compare selectors directly instead of getting names and then
46 using strcmp.
47 * objc/Protocol.h: Updated comments.
48
49 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
50
51 * init.c (__objc_init_protocol): New function which fixes up a
52 protocol's class pointer, registers it with the runtime, register
53 all protocol selectors and registers associated protocols too.
54 (objc_init_statics): Detect if we are initializing protocols, and
55 if so, use __objc_init_protocol instead of only fixing up the
56 class pointer.
57 (__objc_init_protocls): Use __objc_init_protocol.
58 * objc-private/module-abi-8.h: Updated comments.
59 * objc-private/runtime.h
60 (__objc_register_selectors_from_description_list): New.
61 * selector.c (__objc_register_selectors_from_description_list):
62 New. (struct objc_method_description_list): Declare.
63 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
64 when accessing the name of a method, which is now correctly a SEL.
65 ([-descriptionForClassMethod:]): Same change.
66 * protocols.c (protocol_getMethodDescription): Same change.
67 * objc/runtime.h: Updated comments.
68 (sel_registerTypedName): Fixed typo in function name.
69
70 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
71
72 PR libobjc/23214
73 * init.c (objc_init_statics): Do not skip the initialization of a
74 statics list if the first object has already been initialized; in
75 the case of Protocols, while the first one may have been
76 initialized, some others may not have been initialized yet.
77
78 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
79
80 * Makefile.in (OBJC_DEPRECATED_H): Added
81 objc_get_uninstalled_dtable, objc_object_alloc.h and
82 struct_objc_static_instances.h.
83
84 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
85
86 * encoding.c (method_copyReturnType): New.
87 (method_copyArgumentType): New.
88 (method_getReturnType): New.
89 (method_getArgumentType): New.
90 * methods.c (method_getDescription): New.
91 * objc/runtime.h (method_copyReturnType): New.
92 (method_copyArgumentType): New.
93 (method_getReturnType): New.
94 (method_getArgumentType): New.
95 (method_getDescription): New.
96
97 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
98
99 * encoding.c: Tidied up comments.
100 (objc_skip_variable_name): New static inline function.
101 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
102 the same code over and over.
103 (objc_alignof_type): Same.
104 (objc_aligned_size): Same.
105 (objc_promoted_size): Same.
106 (objc_skip_typespec): Same.
107 (objc_layout_structure_next_member): Same.
108 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
109 historical bug where objc_skip_offset would skip one byte even if
110 there is no offset: check that the first offset digit is actually
111 a digit before skipping it.
112 (objc_skip_type_qualifiers): Mark as inline.
113 (objc_skip_typespec): Mark as inline.
114
115 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
116
117 * Makefile.in (C_SOURCE_FILES): Added methods.c.
118 * encoding.c (method_getNumberOfArguments): New.
119 (method_get_number_of_arguments): Call
120 method_getNumberOfArguments.
121 * ivars.c (ivar_getName): Check for NULL variable argument.
122 (ivar_getOffset): Check for NULL variable argument.
123 (ivar_getTypeEncoding): Check for NULL variable argument.
124 (class_copyIvarList): New.
125 * methods.c: New.
126 * protocols.c (class_copyProtocolList): Check for Nil class_
127 argument.
128 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
129 'struct objc_method_list *' instead of MethodList_t.
130 (class_getMethodImplementation): New.
131 (class_respondsToSelector): New.
132 (class_getInstanceMethod): New.
133 (class_getClassMethod): New.
134 * objc/runtime.h: Updated comments.
135 (class_copyIvarList): New.
136 (class_getInstanceMethod): New.
137 (class_getClassMethod): New.
138 (class_getMethodImplementation): New.
139 (class_respondsToSelector): New.
140 (method_getName): New.
141 (method_getImplementation): New.
142 (method_getTypeEncoding): New.
143 (class_copyMethodList): New.
144 (method_getNumberOfArguments): New.
145
146 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
147
148 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
149 instead of objc/objc-api.h.
150 (objc_get_unknown_class_handler): Do not define.
151 (class_isMetaClass): New.
152 (class_getSuperclass): New.
153 (class_getVersion): New.
154 (class_setVersion): New.
155 (class_getInstanceSize): New.
156 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
157 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
158 objc_get_super_class.
159 (get_ttype_entry): Use objc_getRequiredClass instead of
160 objc_get_class.
161 * ivars.c (class_getClassVariable): New.
162 * objects.c: Include objc/runtime.h, objc/thr.h and
163 objc-private/module-abi-8.h instead of objc/objc-api.h
164 * objc/runtime.h (class_getClassVariable): New.
165 (class_isMetaClass): New.
166 (class_getSuperclass): New.
167 (class_getVersion): New.
168 (class_setVersion): New.
169 (class_getInstanceSize): New.
170 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
171 objc/objc-api.h)
172 (__CLS_INFO): Same.
173 (__CLS_ISINFO): Same.
174 (__CLS_SETINFO): Same.
175 (CLS_ISMETA): Same.
176 (CLS_ISCLASS): Same.
177 (CLS_ISRESOLV): Same.
178 (CLS_SETRESOLV): Same.
179 (CLS_ISINITIALIZED): Same.
180 (CLS_SETINITIALIZED): Same.
181 (CLS_GETNUMBER): Same.
182 (CLS_SETNUMBER): Same.
183
184 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
185
186 * archive.c: Do not include objc/objc.h.
187 * class.c: Do not include objc/objc.h.
188 * encoding.c: Include objc/runtime.h, ctype.h and
189 objc-private/module-abi-8.h instead of objc/objc-api.h and
190 objc/encoding.h.
191 * error.c: Do not include objc/objc.h.
192 * gc.c: Include tconfig.h and objc/encoding.h only if
193 OBJC_WITH_GC.
194 * hash.c: Include objc/runtime.h and objc/thr.h instead of
195 objc/objc-api.h. Do not include objc/objc.h.
196 * init.c: Do not include objc/objc.h.
197 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
198 objc/thr.h instead of objc/objc-api.h. Do not include
199 objc/objc.h.
200 * linking.m: Tidied comment.
201 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
202 Do not include objc/objc.h.
203 * objects.c: Do not include objc/objc.h.
204 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
205 * protocols.c: Do not include objc/objc.h.
206 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
207 not include objc/objc.h.
208 * selector.c: Do not include objc/objc.h.
209 * sendmsg.c: Do not include objc/objc.h.
210 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
211 Do not include objc/objc.h.
212 * objc/objc-decls.h: Reindented code.
213 * objc/runtime.h Include objc-decls.h. Updated comments.
214 (objc_malloc): New.
215 (objc_atomic_malloc): New.
216 (objc_calloc): New.
217 (objc_realloc): New.
218 (objc_free): New.
219 * objc-private/runtime.h: Updated comments.
220
221 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
222
223 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
224 * objc-private/protocols.h: New.
225 * protocols.c: New.
226 * init.c: Include objc-private/protocols.h.
227 (__objc_exec_class): Call __objc_protocols_init on startup.
228 (__objc_init_protocols): Call __objc_protocols_add_protocol.
229 * objc-private/runtime.h: Use (struct objc_method_list *) instead
230 of MethodList_t, and (struct objc_method *) instead of Method_t.
231 * objc/deprecated/struct_objc_class.h: Define
232 __objc_STRUCT_OBJC_CLASS_defined.
233 * objc-private/module-abi-8.h (struct
234 objc_method_description_list): New.
235 (struct objc_class): Only define if
236 __objc_STRUCT_OBJC_CLASS_defined is undefined.
237 * objc/runtime.h (class_getName): New.
238 (objc_getProtocol): New.
239 (objc_copyProtocolList): New.
240 (class_addProtocol): New.
241 (class_conformsToProtocol): New.
242 (class_copyProtocolList): New.
243 (protocol_conformsToProtocol): New.
244 (protocol_isEqual): New.
245 (protocol_getName): New.
246 (protocol_getMethodDescription): New.
247 (protocol_copyMethodDescriptionList): New.
248 (protocol_getProperty): New.
249 (protocol_copyPropertyList): New.
250 (protocol_copyProtocolList): New.
251 * class.c (class_getName): New.
252 * selector.c (sel_isEqual): New.
253
254 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
255
256 * selector.c (sel_getName): Return "<null selector>" for a NULL
257 argument.
258 (sel_get_name): Return 0 for a NULL argument.
259 * objc/runtime.h (sel_getName): Updated documentation.
260
261 * objc-private/hash.h (class_hash_table): Unused declaration
262 removed.
263 (module_hash_table): Same.
264 * objc/deprecated/hash.h: Same changes.
265
266 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
267
268 * class.c (objc_getClassList): New.
269 (objc_getRequiredClass): New.
270 (objc_getMetaClass): New.
271 (objc_lookupClass): New.
272 (objc_getClass): New.
273 (__objc_get_unknown_class_handler): New.
274 (objc_setGetUnknownClassHandler): New.
275 (objc_get_class): Use __objc_get_unknown_class_handler.
276 (objc_lookup_class): Call objc_getClass.
277 * objc/objc-api.h: Updated comment and copyright notice.
278 * objc/runtime.h: Updated comments.
279 (objc_getClass): New.
280 (objc_lookupClass): New.
281 (objc_getMetaClass): New.
282 (objc_getRequiredClass): New.
283 (objc_getClassList): New.
284 (objc_setGetUnknownClassHandler): New.
285 (objc_get_unknown_class_handler): New.
286 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
287 instead of __objc_runtime_INCLUDE_GNU as include guard.
288 * objc-private/error.h (_objc_abort): Mark as noreturn.
289
290 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
291
292 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
293 * ivars.c: New.
294 * objc/objc.h: Updated comments.
295 * objc/runtime.h (object_getClass): New.
296 (object_getClassName): New.
297 (object_setClass): New.
298 (class_getInstanceVariable): New.
299 (object_getIndexedIvars): New.
300 (object_getInstanceVariable): New.
301 (object_setInstanceVariable): New.
302 (object_getIvar): New.
303 (object_setIvar): New.
304 (ivar_getName): New.
305 (ivar_getOffset): New.
306 (ivar_getTypeEncoding): New.
307 * objc-private/module-abi-8.h (struct objc_class): Added.
308 * objects.c (object_getClassName): New.
309 (object_setClass): New.
310
311 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
312
313 * objc/objc.h: Updated comments.
314 * objc/objc-api.h: (object_copy): Added one argument; use a
315 #define to maintain backwards-compatibility. Moved
316 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
317 objc_get_uninstalled_dtable into
318 objc/deprecated/objc_get_uninstalled_dtable.h and
319 objc/deprecated/objc_object_alloc.h. Include these files.
320 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
321 * objc/deprecated/objc_object_alloc.h: New.
322 * objc/runtime.h (set_getName): New.
323 (sel_getType): New.
324 (sel_getUid): New.
325 (sel_registerName): New.
326 (sel_registerTypedName): New.
327 (sel_isEqual): New.
328 (class_createInstance): New.
329 (object_copy): New.
330 (object_dispose): New.
331 * objects.c: Do not include tconfig.h. Include gc_typed.h if
332 building the garbage collection version.
333 (__objc_object_alloc): Removed.
334 (__objc_object_copy): Removed.
335 (__objc_object_dispose): Removed.
336 (class_createInstance): New from code in class_create_instance.
337 Cast second argument of GC_malloc_explicitly_typed. Use
338 objc_calloc. Do not call _objc_object_alloc.
339 (class_create_instance): Call class_createInstance.
340 (object_copy): Added extraBytes argument. Do not call
341 _objc_object_copy.
342 (object_dispose): Do not call _objc_object_dispose.
343 * memory.c (objc_free): When using garbage collection, mark the
344 argument as unused.
345 * selector.c (sel_getName): New.
346 (sel_get_name): Call sel_getName.
347 (sel_getType): New.
348 (sel_get_type): Call sel_getType.
349 (sel_registerName): New.
350 (sel_register_name): Call sel_registerName.
351 (sel_registerTypedName): New.
352 (sel_register_typed_name): Call sel_registerTypedName.
353 (sel_getUid): New.
354 (sel_get_uid): Call sel_getUid.
355
356 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
357
358 * objc/objc-api.h: Define Method, Method_t, Category and
359 Category_t. Prevent including this file at the same time as
360 objc/runtime.h. Updated comments.
361 * objc/deprecated/struct_objc_method.h: Do not define Method,
362 Method_t.
363 * objc/deprecated/struct_objc_category.h: Do not define Category,
364 Category_t.
365 * objc-private/module-abi-8.h: New file containing a copy of all
366 the structure definitions. Not used yet.
367 * objc/encoding.h (objc_aligned_size): Removed duplicate
368 declaration. Updated comments.
369 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
370 Category, struct objc_method_description, _C_ID and similar,
371 _C_CONST and similar and _F_CONST and similar. Added
372 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
373 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
374 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
375 struct objc_struct_layout, objc_layout_structure,
376 objc_layout_structure_next_member, objc_layout_finish_structure,
377 objc_layout_structure_get_info. Prevent including this file at
378 the same time as objc/objc-api.h.
379
380 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
381
382 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
383 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
384 struct_objc_method_list.h, struct_objc_module.h,
385 struct_objc_protocol_list.h, struct_objc_symtab.h.
386 * objc/deprecated/struct_objc_category.h: New.
387 * objc/deprecated/struct_objc_ivar.h: New.
388 * objc/deprecated/struct_objc_ivar_list.h: New.
389 * objc/deprecated/struct_objc_method.h: New.
390 * objc/deprecated/struct_objc_method_list.h: New.
391 * objc/deprecated/struct_objc_module.h: New.
392 * objc/deprecated/struct_objc_protocol_list.h: New.
393 * objc/deprecated/struct_objc_symtab.h: New.
394 * objc/deprecated/struct_objc_static_instances.h: New.
395 * objc/objc-api.h: Definitions of deprecated structures moved into
396 the above header fragment files in objc/deprecated/. Include the
397 files instead of definition the structures here. Updated
398 comments.
399 * objc/runtime.h: Updated comments. Do not include objc-api.h.
400 (objc_set_enumeration_mutation_handler): Renamed to
401 objc_setEnumerationMutationHandler.
402 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
403 to objc_setEnumerationMutationHandler.
404 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
405 objc_setExceptionMatcher.
406 (objc_set_uncaught_exception_handler): Renamed to
407 objc_setUncaughtExceptionHandler.
408 * exception.c: Same changes.
409
410 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
411
412 * objc-sync.c: Include objc-private/common.h.
413
414 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
415
416 * objc-foreach.c: Include objc-private/common.h.
417 * objc/deprecated/METHOD_NULL.h: New file.
418 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
419 defining METHOD_NULL here.
420 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
421 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
422 METHOD_NULL.
423 ([-respondsTo:]): Same change.
424 * objc/objc-api.h (method_get_imp): Converted it into a normal
425 function so that we can hide the internals of struct objc_method.
426 * sendmsg.c (method_get_imp): Implemented.
427
428 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
429
430 * objc/objc-api.h (struct objc_super, Super, Super_t,
431 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
432 objc_msg_forward2): Declarations moved to objc/message.h. Include
433 message.h here.
434 * objc/message.h: Added such declarations; updated comments.
435
436 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
437
438 Implemented fast enumeration for Objective-C.
439 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
440 (OBJC_H): Added runtime.h
441 * objc-foreach.c: New file.
442 * objc/runtime.h: New file.
443
444 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
445
446 * objc/deprecated/struct_objc_class.h: Add padding
447 to avoid warning with -Wpadded.
448
449 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
450
451 * encoding.c (objc_sizeof_type): Added support for vector type and
452 for double long types.
453 (objc_alignof_type): Same change.
454 (objc_skip_typespec): Same change.
455 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
456 instead of '!' since '!' is already used for _C_VECTOR.
457 * objc/objc-api.h (_C_LNG_DBL): Added.
458
459 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
460
461 * libobjc_entry.c: File removed.
462
463 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
464
465 * sendmsg.c (objc_msg_lookup): Remove inline.
466 (objc_get_uninstalled_dtable): Likewise.
467 * encoding.c (objc_skip_type_qualifiers): Likewise.
468 (objc_skip_offset): Likewise.
469 * archive.c (__objc_write_object): Likewise
470 (__objc_write_class):
471 (__objc_write_selector):
472 (objc_read_char):
473 (objc_read_unsigned_char):
474 (objc_read_short):
475 (objc_read_unsigned_short):
476 (objc_read_int):
477 (objc_read_long):
478 (__objc_read_nbyte_uint):
479 (objc_read_unsigned_int):
480 (objc_read_unsigned_long):
481 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
482 (objc_EXPORT): Likewise.
483 * objc/message.h (objc-decls.h): Add include.
484 * objc/objc-api.h: Mark API by objc_EXPORT.
485 * libobjc.def (__objc_responds_to): Removed.
486
487 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
488
489 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
490
491 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
492 objc/sarray.h replaced with a placeholder including the file from
493 the deprecated/ directory.
494 * objc-private/sarray.h: New file (private copy of sarray.h).
495 * hash.c: Include <assert.h> instead of "assert.h"
496 * sarray.c: Include <assert.h> instead of "assert.h". Include
497 objc-private/sarray.h instead of objc/sarray.h.
498 * selector.c: Include objc-private/sarray.h instead of
499 objc/sarray.h.
500 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
501 instead of objc/sarray.h.
502 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
503
504 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
505
506 * objc-private/objc-list.h (list_remove_elem): Unused function
507 removed. (list_nth): Unused function removed. (list_find):
508 Unused function removed. (list_lenght): Unused function removed.
509
510 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
511
512 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
513 replaced with a placeholder including the file from the
514 deprecated/ directory.
515 * objc/objc-api.h: Updated includes.
516 * objc/typedstream.h: Updated includes.
517 * objc-private/hash.h: New file (private copy of hash.h).
518 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
519 objc/objc-list.h replaced with a placeholder including the file
520 from the deprecated/ directory.
521 * objc-private/objc-list.h: New file (private copy of objc-list.h).
522 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
523 instead of objc/hash.h and objc/objc-list.h.
524 * selector.c: Same change.
525 * class.c: Added include <string.h>, which used to be implicitly included
526 when hash.h was included.
527 * exception.c: Same change.
528 * objects.c: Same change.
529 * sarray.c: Same change.
530 * sendmsg.c: Same change.
531 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
532
533 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
534
535 Implemented objc_sync_enter() and objc_sync_exit(), which are
536 required by @synchronized() to work.
537 * objc-sync.c: New file.
538 * objc/objc-sync.h: New file.
539 * objc-private/objc-sync.h: New file.
540 * init.c (__objc_exec_class): Call __objc_sync_init() during the
541 Objective-C runtime startup.
542 * Makefile.in: Added objc-sync.c and objc-sync.h.
543 * configure.ac: Added GCC_CHECK_TLS.
544 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
545 * configure: Regenerated.
546 * config.h.in: Regenerated.
547
548 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
549
550 * Makefile.in (%_gc.lo): New pattern rules to build the
551 garbage-collected version of the library. Removed rules for
552 specific files that are no longer needed. Standardized all rules.
553 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
554 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
555 OBJC_SOURCE_FILES.
556 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
557
558 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
559
560 * memory.c (objc_calloc): Fixed call to GC_malloc when building
561 with Garbage Colletion.
562
563 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
564
565 * memory.c: Do not include objc-private/runtime.h.
566
567 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
568
569 * objc/deprecated/objc_malloc.h: New file.
570 * objc/deprecated/objc_valloc.h: New file.
571 * objc/objc-api.h: Include the files instead of defining
572 objc_valloc, _objc_malloc() and similar.
573 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
574 objc_malloc.h.
575 * memory.c: Removed the extra layer of indirection of _objc_malloc
576 and similar.
577 (objc_calloc): Use GC_malloc in the garbage-collected
578 implementation as GC_malloc returns memory that is already freed.
579 (objc_valloc): Deprecated.
580
581 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
582
583 * objc/deprecated/objc_error.h: New file.
584 * objc/objc-api.h: Include deprecated/objc_error.h instead of
585 defining objc_error and related.
586 * error.c: New file. Added _objc_abort function which replaces
587 objc_error. No change in functionality as they both print an
588 error and abort.
589 * misc.c: File removed. Code moved into memory.c and error.c.
590 * memory.c: New file.
591 * objc-private/error.h: New file.
592 * archive.c: Include objc-private/error.h and use _objc_abort
593 instead of objc_error everywhere.
594 * class.c: Same change.
595 * encoding.c: Same change.
596 * init.c: Same change, and simplified init_check_module_version.
597 * memory.c: Same change.
598 * sendmsg.c: Same change.
599 * thr.c: Same change.
600 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
601 (OBJ_H): Reordered list.
602 (OBJS): Removed misc.lo, added memory.lo and error.lo.
603 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
604 (misc_gc.lo): Rule removed.
605 (error_gc.lo): Rule added.
606 (memory_gc.lo): Rule added.
607
608 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
609
610 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
611 to check the API version. Added some comments.
612
613 * objc-private/common.h: New file.
614 * NXConstStr.m: Include objc-private/common.h.
615 * Object.m: Same change.
616 * Protocol.m: Same change.
617 * archive.c: Same change.
618 * class.c: Same change.
619 * encoding.c: Same change.
620 * exception.c: Same change.
621 * gc.c: Same change.
622 * hash.c: Same change.
623 * init.c: Same change.
624 * libobjc_entry.c: Same change.
625 * linking.m: Same change.
626 * misc.c: Same change (and added a comment).
627 * nil_method.c: Same change.
628 * objects.c: Same change.
629 * sarray.c: Same change.
630 * selector.c: Same change.
631 * sendmsg.c: Same change.
632 * thr.c: Same change.
633
634 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
635
636 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
637
638 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
639
640 * archive.c: Removed not needed includes.
641 * class.c: Same change.
642 * hash.c: Same change.
643 * misc.c: Same change.
644 * nil_method.c: Same change.
645 * objects.c: Same change.
646 * sarray.c: Same change.
647 * sendmsg.c: Same change.
648 * thr.c: Same change.
649
650 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
651
652 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
653 all the objc/*.h files.
654 * objc-private/runtime.h: New file.
655 * archive.c: Include objc-private/runtime.h (and required objc/*.h
656 files) instead of objc/runtime.h.
657 * class.c: Same change.
658 * hash.c: Same change.
659 * init.c: Same change.
660 * misc.c: Same change.
661 * nil_method.c: Same change.
662 * objects.c: Same change.
663 * sarray.c: Same change.
664 * selector.c: Same change.
665 * sendmsg.c: Same change.
666 * thr.c: Same change.
667
668 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
669
670 * objc/deprecated/struct_objc_selector.h: New file. Definition of
671 'struct objc_selector' and 'sel_eq' moved here.
672 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
673 'struct objc_procotol' moved here.
674 * objc/deprecated/struct_objc_class.h: New file. Definition of
675 'struct objc_class' moved here.
676 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
677 moved here.
678 * objc/deprecated/STR.h: New file. Definition of STR moved here.
679 * objc/message.h: New file. Definitions for relval_t, apply_t,
680 arglist, arglist_t and objc_msg_lookup were moved here.
681 * objc/objc.h: Include the above files instead of defining the
682 corresponding structs, types and functions here. Added new opaque
683 definitions for SEL and Class. Use Class and not 'struct
684 objc_class *' in the definition of 'struct objc_object'.
685 Commented all types defined in the file. Removed special
686 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
687 there as well.
688 * objc/deprecated/objc-unexpected-exception.h: Renamed to
689 objc_unexpected_exception.h.
690 * objc/objc-api.h: Updated include of
691 objc-unexpetected-exception.h
692 * objc/objc-exception.h: Updated comments.
693 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
694 files. Reindented list of files.
695
696 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
697
698 * objc/objc-api.h (objc_trace): Unused variable removed.
699
700 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
701
702 * objc/deprecated: New directory.
703 * objc/deprecated/README: New file.
704 * objc/README: New file.
705 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
706 objc/typedstream.h replaced with a placeholder including the file
707 from the deprecated/ directory.
708 * objc/deprecated/objc-unexpected-exception.h: New file with the
709 definition of _objc_unexpected_exception.
710 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
711 instead of defining _objc_unexpected_exception.
712 * objc/deprecated/Object.h: New file with the deprecated Object
713 methods in a 'Deprecated' category.
714 * objc/Object.h Include deprecated/Object.h instead of defining
715 the deprecated methods.
716 * Object.m: Moved deprecated methods into 'Deprecated' category.
717 * objc-private: New directory.
718 * objc-private/README: New file.
719 * Makefile.in (OBJC_DEPRECATED_H): New variable.
720 (install-headers): Create installation directory for
721 OBJC_DEPRECATED_H headers, and install them.
722
723 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
724
725 * objc/objc-exception.h: Fixed include of objc.h.
726
727 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
728
729 * objc/objc-exception.h: New file.
730 * exception.c (objc_set_uncaught_exception_handler): Implemented.
731 (objc_set_exception_matcher): Implemented.
732 (objc_exception_throw): Use the uncaught exception handler if set.
733 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
734 hardcoded isKindOf.
735 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
736 up. Removed segmentation fault when value is 'nil'.
737 * objc/objc-api.h (_objc_unexpected_exception): Mark as
738 deprecated.
739 * Makefile.in (exception.lo, exception_gc.lo): Use
740 -Wno-deprecated-declarations when compiling.
741 (OBJC_H): Added objc-exception.h
742
743 2010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
744
745 * objc/typedstream.h: Deprecate all functions in the file. This
746 file is obsolete.
747 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
748 [-awake]): Documented that these methods are deprecated. Added a
749 brief description of the Object class and its relationship to the
750 NSObject class.
751 * Makefile.in: Compile archive.c and Object.m with
752 -Wno-deprecated-declarations.
753
754 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
755
756 Removed obsolete intermediate threading layer.
757 * thr.c: Use __gthread_objc_xxx functions directly instead of
758 __objc_thread_xxx ones.
759 * objc/thr.h: Removed prototypes of no longer existing
760 __objc_thread_xxx functions.
761 * Makefile.in: Removed thr-objc.lo.
762 * thr-dce.c: File removed.
763 * thr-decosf1.c: File removed.
764 * thr-irix.c: File removed.
765 * thr-mach.c: File removed.
766 * thr-objc.c: File removed.
767 * thr-os2.c: File removed.
768 * thr-posix.c: File removed.
769 * thr-pthreads.c: File removed.
770 * thr-rtems.c: File removed.
771 * thr-single.c: File removed.
772 * thr-solaris.c: File removed.
773 * thr-vxworks.c: File removed.
774 * thr-win32.c: File removed.
775 * README.threads: File removed.
776 * THREADS.MACH: File removed.
777 * THREADS: Updated.
778
779 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
780
781 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
782
783 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
784
785 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
786 Add a comment as to why, update FIXME comments.
787
788 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
789
790 * makefile.dos: Obsolete file removed.
791
792 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
793
794 * aclocal.m4: Regenerate.
795
796 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
797
798 PR libobjc/30445
799 * configure.ac (extra_ldflags_libobjc): Define appropriately for
800 Cygwin and MinGW hosts.
801 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
802 (libobjc.dll): Likewise.
803 * configure: Regenerate.
804
805 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
806
807 * configure: Regenerate.
808
809 2009-11-28 Jakub Jelinek <jakub@redhat.com>
810
811 * sarray.c (sarray_free): Use old_buckets variable.
812 * encoding.c (objc_layout_structure_next_member): Remove unused
813 bfld_type_size variable.
814
815 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
816
817 * configure.ac (AC_PREREQ): Bump to 2.64.
818
819 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
820
821 * aclocal.m4: Regenerate.
822 * configure: Regenerate.
823 * config.h.in: Regenerate.
824
825 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
826
827 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
828
829 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
830
831 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
832 New variables.
833 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
834
835 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836
837 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
838
839 2009-04-09 Nick Clifton <nickc@redhat.com>
840
841 * sendmsg.c: Change copyright header to refer to version 3 of
842 the GNU General Public License with version 3.1 of the GCC
843 Runtime Library Exception and to point readers at the COPYING3
844 and COPYING3.RUNTIME files and the FSF's license web page.
845 * NXConstStr.m: Likewise.
846 * Object.m: Likewise.
847 * Protocol.m: Likewise.
848 * archive.c: Likewise.
849 * class.c: Likewise.
850 * encoding.c: Likewise.
851 * exception.c: Likewise.
852 * gc.c: Likewise.
853 * hash.c: Likewise.
854 * init.c: Likewise.
855 * libobjc_entry.c: Likewise.
856 * linking.m: Likewise.
857 * misc.c: Likewise.
858 * nil_method.c: Likewise.
859 * objc/NXConstStr.h: Likewise.
860 * objc/Object.h: Likewise.
861 * objc/Protocol.h: Likewise.
862 * objc/encoding.h: Likewise.
863 * objc/hash.h: Likewise.
864 * objc/objc-api.h: Likewise.
865 * objc/objc-decls.h: Likewise.
866 * objc/objc-list.h: Likewise.
867 * objc/objc.h: Likewise.
868 * objc/runtime.h: Likewise.
869 * objc/sarray.h: Likewise.
870 * objc/thr.h: Likewise.
871 * objc/typedstream.h: Likewise.
872 * objects.c: Likewise.
873 * sarray.c: Likewise.
874 * selector.c: Likewise.
875 * thr-dce.c: Likewise.
876 * thr-decosf1.c: Likewise.
877 * thr-irix.c: Likewise.
878 * thr-mach.c: Likewise.
879 * thr-objc.c: Likewise.
880 * thr-os2.c: Likewise.
881 * thr-posix.c: Likewise.
882 * thr-pthreads.c: Likewise.
883 * thr-rtems.c: Likewise.
884 * thr-single.c: Likewise.
885 * thr-solaris.c: Likewise.
886 * thr-vxworks.c: Likewise.
887 * thr-win32.c: Likewise.
888 * thr.c: Likewise.
889 * libobjc.def: Change copyright header to refer to version 3 of
890 the GNU General Public License and to point readers at the COPYING3
891 file and the FSF's license web page.
892 * makefile.dos: Likewise.
893
894 2009-04-09 Jakub Jelinek <jakub@redhat.com>
895
896 * Makefile.in: Change copyright header to refer to version
897 3 of the GNU General Public License and to point readers at the
898 COPYING3 file and the FSF's license web page.
899 * configure.ac: Likewise.
900
901 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
902 David Ayers <ayers@fsfe.org>
903
904 PR libobjc/27466
905 * objc/objc-api.h (_objc_unexpected_exception): Declare
906 new hook. Update copyright dates.
907 * exception.c (objc_exception_throw): Use hook. Update
908 copyright dates.
909 * libobjc.def (_objc_unexpected_exception): Export hook.
910 Update copyright dates.
911
912 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
913
914 * configure: Regenerate.
915
916 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
917
918 * configure: Regenerate.
919
920 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
921
922 * Object.m (errno): Replaced by errno.h include.
923 (compare): Cast self to id to prevent warning on comparison.
924 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
925 already there.
926 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
927 * thr-win32.c (__objc_thread_detach): Remove type warning.
928 (__objc_thread_id): Likewise.
929 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
930 for noreturn.
931
932 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
933 Steve Ellcey <sje@cup.hp.com>
934
935 * configure: Regenerate for new libtool.
936 * config.h.in: Regenerate for new libtool.
937
938 2008-07-18 Matthias Klose <doko@ubuntu.com>
939
940 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
941
942 2008-07-18 Matthias Klose <doko@ubuntu.com>
943
944 * Makefile.in: Include ../boehm-gc/threads.mk.
945 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
946
947 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
948
949 * Makefile.in (install-info): New stub target.
950
951 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952
953 * configure: Regenerate.
954
955 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
956
957 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
958 if HAVE_GETIPINFO is not defined.
959
960 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
961
962 * Object.m (compare): Add type id.
963 * objc/Object.h: Likewise.
964 * archive.c (objc_read_class): Use size_t to extend version to be
965 size of pointer scalar width.
966 * sendmsg.c (rtx): Undefine it before redefinition.
967 (__objc_print_dtable_stats): Cast arguments to long as intended.
968
969 2008-05-30 Julian Brown <julian@codesourcery.com>
970
971 * exception.c (__objc_exception_class): Initialise as constant
972 array for ARM EABI. Change macro to static const for non-ARM EABI.
973 (ObjcException): Add note about structure layout. Remove landingPad
974 and handlerSwitchValue for ARM EABI.
975 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
976 of function.
977 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
978 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
979 ARM EABI unwinding support.
980 (objc_exception_throw): Use memcpy to initialise exception class.
981
982 2008-05-25 Alan Modra <amodra@bigpond.net.au>
983
984 * encoding.c (strip_array_types): Rename from get_inner_array_type.
985 (rs6000_special_round_type_align): Update.
986
987 2008-05-09 Julian Brown <julian@codesourcery.com>
988
989 * Makefile.in (LTLDFLAGS): New.
990 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
991
992 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
993
994 PR bootstrap/35457
995 * aclocal.m4: Regenerate.
996 * configure: Regenerate.
997
998 2008-01-24 David Edelsohn <edelsohn@gnu.org>
999
1000 * configure: Regenerate.
1001
1002 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * configure.ac: Don't run config-ml.in directly.
1005 (multilib_arg): New.
1006 * configure: Regenerated.
1007
1008 2007-08-06 Andrew Pinski <pinskia@gmail.com>
1009
1010 PR libobjc/30731
1011 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1012 of _Unwind_Word for variables which are used in
1013 read_uleb128/read_sleb128.
1014 (PERSONALITY_FUNCTION): Likewise.
1015
1016 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 * aclocal.m4: Regenerated.
1019
1020 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
1021
1022 * configure.ac: Fix a typo in *-*-darwin clause.
1023 * configure: Regenerated.
1024
1025 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * configure.ac: Fix a typo.
1028 * configure: Regenerated.
1029
1030 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
1031
1032 * configure: Regenerate.
1033
1034 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1035
1036 * Makefile.in: Replace all uses of libext with libsuffix.
1037 * configure.ac: Likewise.
1038 * configure: Regenerate.
1039
1040 Revert:
1041 * Makefile.in: Remove all uses of $(libext).
1042
1043 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
1044
1045 * Makefile.in: Remove all uses of $(libext).
1046
1047 2007-05-23 Steve Ellcey <sje@cup.hp.com>
1048
1049 * configure: Regenerate.
1050 * aclocal.m4: Regenerate.
1051
1052 2007-04-21 Andrew Ruder <andy@aeruder.net>
1053
1054 * sendmsg.c (__objc_get_forward_imp): Call
1055 __objc_msg_forward2 for real.
1056
1057 2007-04-09 Andrew Ruder <andy@aeruder.net>
1058
1059 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
1060 external libraries to provide a function that returns the real
1061 forwarding function based on both the selector and the receiver.
1062 * objc/objc-api.h: Define __objc_msg_forward2.
1063
1064 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1065
1066 * Makefile.in: Add dummy install-pdf target.
1067
1068 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1069
1070 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
1071 unused warning.
1072
1073 2006-10-31 Geoffrey Keating <geoffk@apple.com>
1074
1075 * encoding.c (darwin_rs6000_special_round_type_align): New.
1076
1077 2006-10-14 Geoffrey Keating <geoffk@apple.com>
1078
1079 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
1080 * configure.ac: Use multi.m4 from aclocal rather than custom
1081 code. Use multi_basedir instead of toplevel_srcdir.
1082 * aclocal.m4: Regenerate.
1083 * configure: Regenerate.
1084
1085 2006-10-10 Brooks Moses <bmoses@stanford.edu>
1086
1087 * Makefile.in: Added empty "pdf" target.
1088
1089 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
1090
1091 * configure: Regenerate.
1092
1093 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
1094
1095 * Makefile.in: Add install-html target. Add install-html to .PHONY
1096
1097 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1098
1099 PR libobjc/26309
1100 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1101
1102 2006-01-24 David Ayers <d.ayers@inode.at>
1103
1104 PR libobjc/9751
1105 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
1106 and insure the new strings are '\0' termintated.
1107
1108 2006-01-24 David Ayers <d.ayers@inode.at>
1109
1110 PR libobjc/13946
1111 * configure.ac: Add include directives for --enable-objc-gc.
1112 * Makefile.in: Ditto.
1113 * configure: Regenerate.
1114
1115 * gc.c (__objc_class_structure_encoding): Increment the used bytes
1116 instead of the local pointer to them.
1117
1118 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
1119
1120 PR objc/25360
1121 * objc/objc-api.c (_C_COMPLEX): New define.
1122 * encoding.c (objc_sizeof_type): Handle _C_Complex.
1123 (objc_alignof_type): Likewise.
1124 (objc_skip_typespec): Likewise.
1125
1126 2005-12-15 David Ayers <d.ayers@inode.at>
1127
1128 PR libobjc/14382
1129 * README (+load,+initialize): Fix documentation to reflect
1130 intended and implemented semantics for +load and +initialize.
1131
1132 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
1133
1134 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
1135 the name.
1136 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
1137 (rs6000_special_round_type_align): Update for the ABI fix.
1138 (objc_layout_finish_structure): Correct the encoding which is passed to
1139 ROUND_TYPE_ALIGN.
1140
1141 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1142
1143 PR libobjc/25347
1144 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
1145 but use the struct layout functions.
1146 (objc_alignof_type): Likewise.
1147 (objc_layout_structure): Handle _C_UNION_B also.
1148 (objc_layout_structure_next_member): Likewise.
1149 (objc_layout_finish_structure): Likewise.
1150
1151 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1152
1153 PR libobjc/25346
1154 * objc/objc-api.h (_C_BOOL): New define.
1155 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
1156 (objc_alignof_type): Likewise.
1157 (objc_skip_typespec): Likewise.
1158
1159 2005-11-20 David Ayers <d.ayers@inode.at>
1160
1161 PR libobjc/19024
1162 * objc/hash.h: Remove deprecated hash API.
1163 * hash_compat.c: Remove.
1164 * Makefile.in: Remove reference to hash_compat.c.
1165
1166 * configure.ac (VERSION): Bump library version to 2:0:0.
1167 * configure: Regenerate.
1168
1169 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
1170
1171 PR other/4372
1172 * thr-objc.c (_XOPEN_SOURCE): Define.
1173
1174 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
1175
1176 PR libobjc/23612
1177 * objc/objc-api.h (struct objc_ivar): Move definition to
1178 global scope.
1179
1180 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
1181 Rasmus Hahn <rassahah@neofonie.de>
1182
1183 PR libobjc/23108
1184 * archive.c (objc_write_type): Correct the element offset.
1185 (objc_read_type): Likewise.
1186
1187 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1188
1189 * All files: Update FSF address.
1190
1191 2005-08-13 Marcin Koziej <creep@desk.pl>
1192 Andrew Pinski <pinskia@physics.uc.edu>
1193
1194 PR libobjc/22492
1195 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
1196
1197 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1198
1199 * Makefile.in (extra_ldflags_libobjc): New.
1200 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
1201 (libobjc_gc$(libext).la): Likewise.
1202 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
1203 "-Wl,-single_module".
1204 * configure: Regenerate.
1205 * linking.m (_objcInit): Remove.
1206
1207 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
1208
1209 PR libobjc/22606
1210 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
1211
1212 2005-06-08 David Ayers <d.ayers@inode.at>
1213
1214 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
1215 objc/encoding.h, objc/hash.h, objc/objc-api.h,
1216 objc/runtime.h, objc/sarray.h, objc/thr.h,
1217 objc/typedstream.h: Do not include Objective-C headers as
1218 system headers.
1219
1220 2005-06-07 David Ayers <d.ayers@inode.at>
1221
1222 * archive.c, init.c, selector.c: Include hash.h.
1223 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
1224 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
1225 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
1226 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
1227 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
1228 Include Objective-C headers with quotes and objc/ directory
1229 prefix.
1230
1231 2005-05-19 Richard Henderson <rth@redhat.com>
1232
1233 * exception.c: Revert last change.
1234
1235 2005-05-19 David Ayers <d.ayers@inode.at>
1236
1237 * exception.c: Include tsystem.h for unwind.h.
1238
1239 2005-05-09 Mike Stump <mrs@apple.com>
1240
1241 * configure: Regenerate.
1242
1243 2005-04-12 Mike Stump <mrs@apple.com>
1244
1245 * configure: Regenerate.
1246
1247 2005-03-21 Zack Weinberg <zack@codesourcery.com>
1248
1249 * Makefile.in: Set gcc_version here.
1250 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
1251 in definition of toolexeclibdir so that $(gcc_version) is expanded
1252 by the Makefile.
1253 * aclocal.m4, configure: Regenerate.
1254
1255 2005-03-03 David Ayers <d.ayers@inode.at>
1256
1257 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
1258 version reference. Correct typo.
1259
1260 2005-03-02 David Ayers <d.ayers@inode.at>
1261
1262 PR libobjc/19024
1263 * Makefile.in (OBJS): Add hash_compat.lo.
1264 (OBJS_GC): Add hash_compat_gc.lo.
1265 (hash_compat_gc.lo): New target and rule.
1266 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
1267 (hash_next, hash_value_for_key, hash_is_key_in_hash)
1268 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
1269 with objc_. Add deprecated non prefixed inlined versions.
1270 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
1271 declarations.
1272 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
1273 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
1274 update callers.
1275 * hash_compat.c: New file.
1276 * archive.c: Update callers.
1277 * init.c: Likewise.
1278 * selector.c: Likewise.
1279 * libobjc.def: Add objc_ versions of hash functions.
1280
1281 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1282
1283 PR libobjc/20252
1284 * Makefile.in (GTHREAD_FLAGS): Remove.
1285 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
1286 * thr-objc.c: Include config.h.
1287 * configure.ac: Instead of looking at GCC's makefile, figure out if
1288 GTHREAD_FLAGS should be defined by looking at the `thread model'
1289 of the current gcc.
1290 * configure: Regenerate.
1291 * config.h.in: Regenerate.
1292
1293 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
1294
1295 PR bootstrap/17383
1296 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
1297 (Determine CFLAGS for gthread): Use $host_subdir.
1298 * configure: Regenerate.
1299 * Makefile.in (host_subdir): New.
1300 (INCLUDES): Use it.
1301
1302 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
1303
1304 PR libobjc/12035
1305 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
1306 they are not used.
1307 Include limits.h and stdlib.h.
1308 Define BITS_PER_WORD.
1309
1310 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
1311
1312 * selector.c (__objc_init_selector_tables): Add missing void to
1313 definition.
1314
1315 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
1316
1317 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1318 * configure, aclocal.m4: Regenerate.
1319
1320 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1321
1322 * configure: Regenerate for libtool change.
1323
1324 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1325
1326 * configure: Regenerate for libtool reversion.
1327
1328 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1329
1330 * configure: Regenerate for libtool change.
1331
1332 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1333
1334 * aclocal.m4, config.h.in: Regenerate.
1335
1336 2004-10-08 Mike Stump <mrs@apple.com>
1337 Andrew Pinski <pinskia@physics.uc.edu>
1338
1339 * aclocal.m4: Rename to ...
1340 * acinclude.m4: here and also use m4_include instead of sinclude.
1341 * aclocal.m4: Regenerate.
1342 * configure: Regenerate.
1343 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
1344 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
1345
1346 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
1347
1348 * archive.c: Fix all the warnings about passing unsigned char*
1349 to char* and the other way too.
1350
1351 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
1352
1353 PR libobjc/16448
1354 * exception.c: Include config.h
1355 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
1356 SJLJ_EXCEPTIONS.
1357 * configure.ac: Find out what exception handling code we use.
1358 * configure: Regenerate.
1359 * config.h.in: New file, regenerate.
1360
1361 2004-09-16 Andrew Pinski <apinski@apple.com>
1362
1363 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
1364
1365 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1366
1367 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
1368 ACX_NONCANONICAL_TARGET.
1369 * configure: Regenerate.
1370
1371 2004-08-13 Ziemowit Laski <zlaski@apple.com>
1372
1373 * objc/sarray.h: Hoist include of assert.h near the top of file,
1374 and mark the remainder of the file 'extern "C"'.
1375
1376 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1377
1378 * objc/Object.h: Move includes out of extern "C" blocks.
1379 * objc/encoding.h: Likewise.
1380 * objc/hash.h: Likewise.
1381 * objc/objc-api.h: Likewise.
1382 * objc/runtime.h: Likewise.
1383 * objc/sarray.h: Likewise.
1384 * objc/typedstream.h: Likewise.
1385
1386 2004-08-12 Ziemowit Laski <zlaski@apple.com>
1387
1388 * objc/NXConstStr.h: Update copyright date; bracket with
1389 'extern "C"' for C++ use; make include syntax consistent
1390 by using <...> instead of "..."; hoist <objc/...> includes
1391 above the 'extern "C"' block.
1392 * objc/Object.h: Likewise.
1393 * objc/Protocol.h: Likewise.
1394 * objc/encoding.h: Likewise.
1395 * objc/hash.h: Likewise.
1396 * objc/runtime.h: Likewise.
1397 * objc/sarray.h: Likewise.
1398 * objc/thr.h: Likewise.
1399 * objc/typedstream.h: Likewise.
1400 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
1401 (objc_static_instances): For C++ case, do away with
1402 zero-sized array.
1403 (objc_method): Hoist definition to file scope.
1404 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
1405 class_get_instance_method, class_create_instance,
1406 class_get_class_name, class_get_instance_size,
1407 class_get_meta_class, class_get_super_class, class_get_version,
1408 class_is_class, class_is_meta_class, class_set_version,
1409 class_get_gc_object_type, class_ivar_set_gcinvisible,
1410 get_imp): Rename 'class' parameter to '_class'.
1411 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
1412 * objc/objc.h: Update copyright date.
1413 (arglist_t): Provide a union tag.
1414
1415 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
1416
1417 * thr.c (__objc_thread_detach_function): Do not mark as volatile
1418 but instead use the attribute noreturn.
1419
1420 2004-06-28 Zack Weinberg <zack@codesourcery.com>
1421
1422 * encoding.c: Rename target_flags with a #define to avoid
1423 conflict with a prior declaration.
1424
1425 2004-06-24 Andrew Pinski <apinski@apple.com>
1426
1427 * objc/encoding.h: Wrap the functions with extern "C" for C++
1428 mode.
1429 * objc/hash.h: Likewise.
1430 * objc/objc-api.h: Likewise.
1431 * objc/objc-list.h: Likewise.
1432 * objc/runtime.h: Likewise.
1433 * objc/sarray.h: Likewise.
1434 * objc/thr.h: Likewise.
1435 * objc/typedstream.h: Likewise.
1436
1437
1438 2004-06-21 Nick Clifton <nickc@redhat.com>
1439
1440 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1441 provided.
1442
1443 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
1444
1445 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1446 (exception_gc.lo): New.
1447 (OBJS_GC): Add exception_gc.lo.
1448
1449 2004-06-17 Richard Henderson <rth@redhat.com>
1450
1451 * exception.c: New file.
1452 * Makefile.in (exception.lo): New.
1453 (OBJS): Add it.
1454
1455 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1456
1457 * linking.m (_objcInit): New empty function
1458 for Darwin only.
1459
1460 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1461
1462 * configure.ac: Support --enable-shared=libobjc.
1463 * configure: Regenerate.
1464
1465 PR libobjc/15901
1466 * configure.ac: Do not disable shared by default.
1467 * configure: Regenerate.
1468
1469 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1470
1471 * Protocol.m ([-isEqual:]): Small optimizations returning
1472 immediately if the argument is equal to self, and accessing
1473 the argument's name directly if it's a protocol.
1474
1475 2004-06-03 David Ayers <d.ayers@inode.at>
1476
1477 * Protocol.m ([-isEqual:]): Test the class of the argument.
1478
1479 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1480
1481 * configure.ac (includedir): Rename to ...
1482 (includedirname).
1483 * Makefile.in: s/includedir/includedirname/.
1484
1485 PR target/11572
1486 * configure.ac (includedir): Set to "include"
1487 except for Darwin.
1488 (libext) Set to empty except for Darwin.
1489 * configure: Regenerate
1490 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1491 s/include/$(includedir)/g.
1492
1493 2004-05-25 Daniel Jacobowitz <drow@false.org>
1494
1495 * Makefile.in: Add .NOEXPORT.
1496
1497 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1498
1499 Merge from the libobjc-branch
1500 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
1501
1502 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
1503
1504 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
1505
1506 * Makefile.in (OBJC_H): Add objc-deps.h.
1507
1508 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
1509
1510 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1511 ([-hash], [-isEqual:]): New methods.
1512
1513 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1514
1515 * sarray.c (sarray_free): Add a better comment.
1516
1517 2004-01-27 Adam Fedor <fedor@gnu.org>
1518
1519 * hash.c (hash_add): Cast cachep to int.
1520 * selector.c (__sel_register_typed_name): Cast
1521 soffset_decode to int.
1522
1523 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
1524
1525 * selector.c: Rename register_selectors_from_list to
1526 __objc_register_selectors_from_list. Update caller.
1527 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1528 while registering selectors. Use __sel_register_typed_name instead
1529 of sel_register_typed_name. Check for NULL method_name:s.
1530 (pool_alloc_selector): New function.
1531 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1532 selector structures.
1533 * sendmsg.c (class_add_method_list): Use
1534 __objc_register_selectors_from_list.
1535 * objc/runtime.h: Add __objc_register_selectors_from_list.
1536
1537 2004-01-25 Adam Fedor <fedor@gnu.org>
1538 Nicola Pero <n.pero@mi.flashnet.it>
1539 Andrew Pinski <pinskia@physics.uc.edu>
1540
1541 * objc/objc-decls.h: New file.
1542 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1543 (_objc_load_callback): Likewise.
1544 (_objc_object_alloc): Likewise.
1545 (_objc_object_copy): Likewise.
1546 (_objc_object_dispose): Likewise.
1547
1548 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
1549
1550 * archive.c: s/__inline__/inline
1551 * sendmsg.c: Likewise.
1552
1553 * encoding.c: Remove FIXME about the warning
1554 about unused variable.
1555 * sendmsg.c: Add a FIXME comment saying that
1556 this should be using libffi.
1557
1558 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
1559
1560
1561 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1562
1563 * archive.c (objc_read_class): Initialize class_name.
1564 (objc_read_selector): Initialize selector_name.
1565
1566 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
1567
1568 * Makefile.in (toolexecdir): Remove trailing space.
1569
1570 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1571
1572 PR libobjc/14948
1573 * configure.ac: De-precious CC so multilibs work.
1574 * configure: Regenerate.
1575
1576 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1577
1578 * configure.ac: Restore toolexecdir.
1579 * Makefile.in: Restore toolexecdir.
1580 * configure: Regenerate.
1581
1582 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1583
1584 * configure.ac: Remove (unused) glibcpp_prefixdir.
1585 * configure: Regenerate.
1586
1587 * configure.in: Rename to configure.ac.
1588 * Makefile.in: Update to match.
1589
1590 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1591 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1592 * configure.in: Remove glibcpp_toolexecdir (unused).
1593 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1594 config.h or stamp-h (unused). Move one comment to the right place.
1595 * configure: Regenerate.
1596 * config.h.in: Remove (unused).
1597
1598 * config.h.in: Regenerate with autoheader.
1599
1600 * Makefile.in: Remove (unused) gcc_version_trigger.
1601 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1602 gcc_version_trigger.
1603 * configure: Regenerate.
1604
1605 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1606 Sort file into sections. Remove dnl where appropriate. Fix
1607 other style issues.
1608 * configure: Regenerate.
1609
1610 * configure.in: Replace old AC_PROG_CC hack with new one.
1611 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1612 are no subdirectory output files, so this is fine). Change prereq
1613 to autoconf 2.59.
1614 * aclocal.m4: Include ../config/no-executables.m4.
1615 * configure: Regenerate with autoconf 2.59.
1616
1617 * configure.in: Improve comments on gthread_cflags. Improve m4
1618 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1619 * configure: Regenerate.
1620
1621 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1622 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1623 redundant checks for values of RANLIB, AR, INSTALL.
1624 * configure: Regenerate.
1625
1626 * configure.in: Clean up handling of
1627 --enable-version-specific-runtime-libs and related variables;
1628 replace 'if test' with 'case' where reasonable. Fix comments.
1629 Remove useless libstdcxx_interface.
1630 * configure: Regenerate.
1631
1632 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1633 Replace uses of target_alias with target_noncanonical.
1634 * aclocal.m4: Include ../config/acx.m4.
1635 * configure: Regenerate.
1636 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1637 Fix copyright statement.
1638
1639 * configure.in: Hand-inline bulky, confusing macros from
1640 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1641 Update copyright notice. Remove stuff for automake, which isn't
1642 used in this directory. Remove emacs local variables.
1643 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1644 * configure: Regenerate.
1645
1646 2004-03-16 Manfred Hollstein <mh@suse.com>
1647
1648 * Makefile.in, configure.in, configure: Update copyright years.
1649
1650 2004-03-15 Manfred Hollstein <mh@suse.com>
1651
1652 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1653 definition from configure.in.
1654 * configure.in (PACKAGE): Add definition.
1655 (VERSION): Add definition; substitute it in output files.
1656 * configure: Re-generate.
1657
1658 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1659
1660 * objc/hash.h (hash_string, compare_strings):
1661 Add type-casts to make Objective-C++ happy.
1662 * objc/typedstream.h (objc_get_stream_class_version):
1663 Rename parameter from 'class' to 'class_name' to make
1664 Objective-C++ happy.
1665
1666 2004-03-01 Michael Matz <matz@suse.de>
1667
1668 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1669
1670 2004-02-06 Ziemowit Laski <zlaski@apple.com>
1671
1672 * objc/objc-api.h (objc_super): The 'class' field shall
1673 be named 'super_class' #ifdef __cplusplus.
1674
1675 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1676
1677 PR target/10781
1678 * encoding.c (rs6000_special_round_type_align): Define.
1679
1680 2004-01-14 Adam Fedor <fedor@gnu.org>
1681
1682 PR libobjc/12155
1683 * selector.c (__objc_register_instance_methods_to_class): Free
1684 new_list if not used.
1685
1686 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
1687
1688 PR libobjc/11904
1689 * sarray.c (sarray_free): Free array->is_copy_of latter.
1690
1691 2003-12-01 Zack Weinberg <zack@codesourcery.com>
1692
1693 PR 11433
1694 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1695 instance_methods if it's NULL.
1696 (descriptionForClassMethod): Likewise for class_methods.
1697
1698 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1699
1700 * Makefile.in (runtime-info.h): Remove -Wp.
1701
1702 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1703
1704 * Makefile.in (CC1OBJ): Remove.
1705 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1706 correctly.
1707 Use .m extension for temporary file.
1708 Remove assembler temp file.
1709
1710 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1711
1712 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1713
1714 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1715
1716 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1717
1718 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1719
1720 * configure: Regenerate.
1721
1722 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
1723
1724 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1725 (libdir)/gcc-lib/ when installing.
1726 * configure: Regenerate.
1727
1728 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1729
1730 libobjc/9969
1731 * sendmsg.c (get_imp): Fixed rare threading problem.
1732 (__objc_responds_to): Similar fixes.
1733 (objc_msg_lookup): Similar fixes.
1734 (__objc_init_install_dtable): Lock the runtime before checking if the
1735 table is installed.
1736
1737 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1738
1739 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1740 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1741 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1742 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1743 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1744 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1745 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1746 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1747 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1748 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1749 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1750
1751 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1752 Nicola Pero <n.pero@mi.flashnet.it>
1753
1754 libobjc/10742
1755 * init.c (class_superclass_of_class): New function.
1756 (create_tree_of_subclasses_inherited_from): Use it.
1757 (__objc_tree_insert_class): Likewise.
1758 (class_is_subclass_of_class): Likewise.
1759
1760 2003-04-11 David Chad <davidc@freebsd.org>
1761 Loren J. Rittle <ljrittle@acm.org>
1762
1763 libobjc/8562
1764 * objc/hash.h (hash_string): Constify correctly.
1765 (compare_ptrs): Use direct compare.
1766 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1767 * objc/sarray.h: Global rename index to indx to avoid shadow.
1768
1769 2003-03-12 Andreas Schwab <schwab@suse.de>
1770
1771 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1772 glibcpp_toolexeclibdir.
1773 * configure: Rebuilt.
1774
1775 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1776
1777 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1778 config.status.
1779 * configure: Rebuilt.
1780
1781 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1782
1783 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1784 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1785 version_specific_libs is enabled.
1786 * configure: Rebuilt.
1787
1788 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1789
1790 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1791 (install-libs, install-headers): Prepend $(DESTDIR) to
1792 destination paths in all (un)installation commands.
1793
1794 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1795
1796 * thr-objc.c: Include coretypes.h and tm.h.
1797
1798 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1799
1800 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1801
1802 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1803
1804 * configure.in: Remove skip-this-dir support.
1805 * configure: Regenerate.
1806
1807 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1808
1809 * Makefile.in (all): Fix multilib parallel build.
1810
1811 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1812
1813 * sendmsg.c (nil_method): Declare not to take a variable number of
1814 args.
1815 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1816 (objc_msg_lookup_super): The same.
1817
1818 2002-09-10 Jan Hubicka <jh@suse.cz>
1819
1820 * nil_method.c (nil_method): No longer defined with variable
1821 arguments.
1822
1823 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1824
1825 * objc/encoding.h: Fix formatting.
1826 * objc/hash.h: Likewise.
1827 * objc/objc-api.h: Likewise.
1828 * objc/runtime.h: Likewise.
1829 * objc/thr.h: Likewise.
1830 * archive.c: Likewise.
1831 * class.c: Likewise.
1832 * encoding.c: Likewise.
1833 * gc.c: Likewise.
1834 * hash.c: Likewise.
1835 * init.c: Likewise.
1836 * misc.c: Likewise.
1837 * nil_method.c: Likewise.
1838 * objects.c: Likewise.
1839 * sarray.c: Likewise.
1840 * selector.c: Likewise.
1841 * sendmsg.c: Likewise.
1842 * thr-mach.c: Likewise.
1843 * thr.c: Likewise.
1844
1845 2002-06-25 DJ Delorie <dj@redhat.com>
1846
1847 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1848 GLIBCPP_TOPREL_CONFIGURE.
1849 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1850 * configure: Regenerate.
1851
1852 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1853
1854 * Object.m (forward, read, write): Fix unused parameter warnings.
1855 * encoding.c: Include <stdlib.h>.
1856 (target_flags): Mark with attribute unused.
1857 (atoi): Delete.
1858 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1859 (__objc_generate_gc_type_description): Prototype.
1860 * selector.c (__objc_selector_max_index): Change to unsigned int.
1861
1862 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1863
1864 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1865 we always have a return value: if __objc_msg_forward does not
1866 supply a forwarding implementation, return the default
1867 __builtin_apply based one.
1868
1869 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1870
1871 * Object.m: Fix signed/unsigned warning.
1872 * Protocol.m: Likewise.
1873 * archive.c: Always include stdlib.h.
1874 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1875 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1876 Fix signed/unsigned warning.
1877 (objc_write_type, objc_read_type, objc_write_types,
1878 objc_read_types): Ensure ctype 8-bit safety.
1879 (__objc_no_write, __objc_no_read): Mark unused parameters.
1880 * class.c (class_table_setup): Specify void arg.
1881 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1882 objc_skip_typespec, objc_skip_offset,
1883 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1884 (objc_layout_structure_next_member): Ensure variables are
1885 initialized.
1886 * gc.c (__objc_generate_gc_type_description,
1887 class_ivar_set_gcinvisible): Mark unused parameters.
1888 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1889 unused parameters.
1890 (__objc_init_protocols) Fix signed/unsigned warning.
1891 * nil_method.c (nil_method): Mark unused parameters.
1892 * thr.h (objc_thread_callback): Specify void arg.
1893 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1894 signed/unsigned warning.
1895 (sarray_free): Fix formatting.
1896 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1897 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1898
1899 2002-06-09 Andreas Jaeger <aj@suse.de>
1900
1901 * encoding.c (objc_layout_structure_next_member): Remove unused
1902 variable.
1903
1904 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1905
1906 * Makefile.in (SHELL): Set to @SHELL@.
1907 (WARN_CFLAGS): New.
1908 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1909
1910 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1911
1912 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1913 * configure: Regenerate.
1914
1915 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1916
1917 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1918 script entry, and set LD to it when configuring multilibs.
1919 * configure: Rebuilt.
1920
1921 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1922
1923 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1924
1925 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1926
1927 PR objc/6107
1928 * objc/objc-api.h (struct objc_protocol_list): Change type of
1929 member count from int to size_t.
1930
1931 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1932
1933 PR libobjc/4039
1934 * aclocal.m4: Replace with version copied from libstdc++-v3.
1935 * configure.in: Update for changes to aclocal and Makefile.
1936 * configure: Regenerate.
1937 * Makefile.in: Correct install of multilibs and shared libs, use
1938 INSTALL_DATA for include files.
1939
1940 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1941
1942 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1943 categories - when an unclaimed category was found, the loop was
1944 doing two steps forward instead of one, so that in certain cases
1945 it was failing to properly load all the categories. (Reported
1946 with fix by Alexander Malmberg <alexander@malmberg.org>).
1947
1948 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
1949
1950 * encoding.c: Add target_flags.
1951
1952 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
1953
1954 * objc/objc-api.h (_C_VECTOR): New.
1955
1956 * encoding.c (VECTOR_TYPE): New.
1957
1958 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1959
1960 * class.c: Rewritten the class table to use optimized, lock-free
1961 lookup. This more than doubles the speed of class method
1962 invocations. (class_table_setup), (class_table_insert),
1963 (class_table_replace), (class_table_get_safe),
1964 (class_table_next), (class_table_print),
1965 (class_table_print_histogram): New functions.
1966 (__objc_init_class_tables): Use class_table_setup.
1967 (__objc_add_class_to_hash): Use class_table_get_safe and
1968 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1969 assert the existence of the table; do not lock the runtime; use
1970 class_table_get_safe. (objc_next_class): Use class_table_next.
1971 (__objc_resolve_class_links): Use class_table_next.
1972 (class_pose_as): Use class_table_replace.
1973
1974 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1975
1976 * gc.c: Removed the DEBUG declaration.
1977
1978 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1979
1980 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1981 rather than through objc_thread_id, to save a function call.
1982 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1983 Ditto.
1984
1985 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1986
1987 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1988 to cast an id to a Class, which can not be done. Make the check
1989 by using CLS_ISMETA on the class pointer instead.
1990 (object_is_meta_class): Similar fix.
1991
1992 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1993
1994 * configure.in (AC_EXEEXT): Work around in case it expands to
1995 nothing, as in autoconf 2.50.
1996 * acinclude.m4: Likewise.
1997 * configure: Rebuilt.
1998
1999 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
2000
2001 * THREADS: Explain that when we compile libobjc inside GCC, we
2002 always use thr-objc.c as a backend, which uses GCC's thread code.
2003
2004 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
2005
2006 * init.c (__objc_send_message_in_list): When setting a new entry
2007 in __objc_load_methods use the method IMP as key, but check to see
2008 if the method is in the hashtable by looking at the IMP also.
2009 Also ... call the method after adding it to the hashtable rather
2010 than before ... thus preventing an obscure possibility of infinite
2011 recursion if a +load method itself loads a subclass.
2012
2013 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
2014
2015 * init.c (__objc_send_message_in_list): When setting a new entry
2016 in __objc_load_methods use the method name as key, not the method
2017 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2018
2019 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
2020
2021 * objc-features.texi: Move to ../gcc/objc.texi.
2022 * fdl.texi: Remove.
2023 * Makefile.in: Don't generate documentation from
2024 objc-features.texi.
2025
2026 2001-05-01 Mark Mitchell <mark@codesourcery.com>
2027
2028 * fdl.texi: New file.
2029 * objc-features.texi: Simplify.
2030 * Makefile.in: Adjust accordingly.
2031
2032 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2033
2034 * objc-features.texi: Use the GFDL.
2035
2036 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
2037
2038 * encoding.c (REAL_TYPE): Define.
2039
2040 2001-03-19 David Edelsohn <edelsohn@gnu.org>
2041
2042 * encoding.c (TYPE_MODE): Define.
2043
2044 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
2045
2046 * thr.c (objc_thread_add): New function.
2047 (objc_thread_remove): Ditto.
2048 * objc/thr.h: Declare them.
2049 * libobjc.def: Mention them.
2050
2051 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
2052
2053 * objc-features.texi: Document the @compatibility_alias compiler
2054 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
2055
2056 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2057
2058 * sendmsg.c (__objc_forward): Delete strlen() declaration.
2059
2060 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
2061
2062 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
2063 we're not interested in the result and they might fail.
2064 * configure: Regenerated.
2065
2066 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2067
2068 * objc-features.texi: Use @email.
2069
2070 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2071
2072 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
2073 printf.
2074
2075 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
2076
2077 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
2078 determines the value dynamically.
2079
2080 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
2081
2082 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
2083 libraries to provide a function that returns the real forwarding
2084 function. This can alleviate problems __builtin_apply() and
2085 friends have on various platforms. (Solution suggested by Helge
2086 Hess.)
2087
2088 * objc/objc-api.h: Define __objc_msg_forward.
2089
2090 * sendmsg.c: Define gen_rtx_REG.
2091
2092 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2093
2094 * thr-rtems.c: New file. Stub to compile.
2095
2096 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2097
2098 * configure: Rebuilt with new libtool.m4.
2099
2100 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2101
2102 * configure.in: Create a config.h file. Check for <sched.h>.
2103 * configure: Regenerate.
2104
2105 * config.h.in: Check for <sched.h>.
2106
2107 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2108
2109 * configure: Regenerate after change to ../libtool.m4.
2110
2111 2000-08-14 Andreas Schwab <schwab@suse.de>
2112
2113 * objc-features.texi (Top): Move @menu at end of node.
2114
2115 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
2116
2117 * objc-features.texi: Move @node Top before @menu.
2118
2119 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2120
2121 * objc-features.texi: Documented the new -fconstant-string-class
2122 option.
2123
2124 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2125
2126 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
2127 improve the Posix thread support for Objective-C.
2128
2129 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
2130
2131 * aclocal.m4: Replace copy of ../libtool.m4 with
2132 sinclude(../libtool.m4).
2133
2134 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
2135
2136 * configure.in: Added libtool support; build shared libraries
2137 if --enable-shared was passed on command line.
2138 * Makefile.in: Modified most compilation commands to use libtool.
2139 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
2140 libtool distribution.
2141
2142 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2143
2144 * sarray.c, Object.m: Removed the explicit prototypes for strlen
2145 and memcpy on 64-bit platforms (Suggested by Rodney Brown
2146 <rdb@cup.hp.com>).
2147
2148 2000-05-12 H.J. Lu (hjl@gnu.org)
2149
2150 * Makefile.in (GTHREAD_FLAGS): New.
2151 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
2152 (OBJC_THREAD_FILE): Changed to thr-objc.
2153
2154 * configure.in (GTHREAD_FLAGS): New, check and replace it for
2155 Makefile.
2156 (OBJC_THREAD_FILE): Removed.
2157
2158 * thr-objc.c: New.
2159
2160 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2161
2162 * objc/hash.h: Include string.h.
2163
2164 2000-04-15 David Edelsohn <edelsohn@gnu.org>
2165
2166 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
2167
2168 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2169
2170 * Object.m (strlen): Provide prototype on all 64bit platforms,
2171 not only alpha.
2172 * sarray.c (memcpy): Likewise.
2173 * encoding.c (objc_layout_finish_structure): Don't use
2174 ROUND_TYPE_ALIGN on sparc.
2175
2176 * encoding.c (objc_layout_structure_next_member): Do the whole
2177 procedure even for the first member, so that we get correct
2178 alignment.
2179
2180 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2181
2182 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
2183 comments.
2184
2185 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2186
2187 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
2188
2189 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
2190
2191 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
2192
2193 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
2194
2195 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
2196 the compiler when building C code.
2197
2198 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2199
2200 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2201 libdir, libsubdir and tooldir.
2202
2203 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
2204
2205 * init.c (__objc_force_linking): Make global.
2206
2207 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
2208
2209 * configure.in (AC_EXEEXT): Remove call.
2210 (compiler_name): Explicitly check with no extension and .exe
2211 extension.
2212 * configure: Regenerate.
2213
2214 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2215
2216 * Makefile.in (CC1OBJ): Define in terms of CC.
2217 (runtime-info.h): Use.
2218
2219 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2220
2221 * objc-features.texi: Updated the URL to Boehm's GC page.
2222
2223 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2224
2225 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
2226 the char as being signed (patch from Daniel Jacobowitz
2227 <drow@false.org>).
2228
2229 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
2230
2231 * configure.in (AC_PREREQ): Update to 2.13.
2232 (AC_EXEEXT): Call to find possible file extension.
2233 (compiler_name): Use.
2234 * configure: Regenerate.
2235
2236 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
2237
2238 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
2239
2240 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
2241
2242 * configure.in (thread_file): Correct and simplify code to find
2243 the thread file.
2244 * configure: Rebuilt.
2245
2246 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
2247
2248 * configure.in (compiler_name): Add check to detect if this
2249 language's compiler has been built.
2250 * configure: Regenerate.
2251
2252 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2253
2254 * configure.in: Use AC_PREREQ(2.12.1).
2255
2256 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
2257
2258 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
2259
2260 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2261
2262 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
2263
2264 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2265
2266 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
2267
2268 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
2269
2270 * objc-features.texi (Top): Changed the email address.
2271 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
2272
2273 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
2274
2275 * encoding.c: Redefine get_inner_array_type to get the first entry
2276 in the structure.
2277
2278 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
2279
2280 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
2281 (objc_get_type_qualifiers): Similarly.
2282 * objc/encoding.h (_C_BYREF): Define.
2283 (_F_BYREF): Define.
2284
2285 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
2286
2287 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
2288 works out on 64-bit systems.
2289
2290 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2291
2292 * Makefile.in (INCLUDES): Make it multilib-friendly.
2293
2294 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
2295
2296 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
2297
2298 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
2299 Jeffrey A Law (law@cygnus.com)
2300
2301 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
2302 (FLAGS_TO_PASS): Added.
2303 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
2304
2305 * archive.c: Change config.h to tconfig.h.
2306
2307 * configure.in: Find gcc's object directory even for multilibs.
2308
2309 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
2310
2311 * configure.in: Escape ^ in grep string.
2312 * configure: Rebuilt.
2313
2314 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
2315
2316 * All .h files pushed down into the objc/ subdirectory.
2317 * Makefile.in (copy_headers): Corresponding changes.
2318 * configure.in (AC_INIT): Corresponding changes.
2319 * configure: Rebuilt.
2320
2321 1998-09-30 Ben Elliston <bje@cygnus.com>
2322 Jeff Law <law@cygnus.com>
2323
2324 * Makefile.in: Rewrite.
2325
2326 * configure.in: Likewise.
2327
2328 * configure: Regenerate.
2329
2330 * All .c files. Remove "objc" prefix when including objc header
2331 files. Include tconfig.h, not ../tconfig.h.
2332
2333 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
2334
2335 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
2336 (get_inner_array_type): Define.
2337
2338 1998-09-21 Ben Elliston <bje@cygnus.com>
2339
2340 * New directory. Moved files from ../gcc/objc.