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