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