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