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