OSDN Git Service

boehm-gc:
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
1 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2
3         * Makefile.in (all): Fix multilib parallel build.
4
5 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
6
7         * sendmsg.c (nil_method): Declare not to take a variable number of
8         args.
9         (objc_msg_lookup): Cast nil_method to IMP before returning it.
10         (objc_msg_lookup_super): The same.
11
12 2002-09-10  Jan Hubicka  <jh@suse.cz>
13
14         * nil_method.c (nil_method): No longer defined with variable
15         arguments.
16
17 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
18
19         * objc/encoding.h: Fix formatting.
20         * objc/hash.h: Likewise.
21         * objc/objc-api.h: Likewise.
22         * objc/runtime.h: Likewise.
23         * objc/thr.h: Likewise.
24         * archive.c: Likewise.
25         * class.c: Likewise.
26         * encoding.c: Likewise.
27         * gc.c: Likewise.
28         * hash.c: Likewise.
29         * init.c: Likewise.
30         * misc.c: Likewise.
31         * nil_method.c: Likewise.
32         * objects.c: Likewise.
33         * sarray.c: Likewise.
34         * selector.c: Likewise.
35         * sendmsg.c: Likewise.
36         * thr-mach.c: Likewise.
37         * thr.c: Likewise.
38
39 2002-06-25  DJ Delorie  <dj@redhat.com>
40
41         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
42         GLIBCPP_TOPREL_CONFIGURE.
43         * configure.in: Call it before AC_CANONICAL_SYSTEM.
44         * configure: Regenerate.
45
46 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
47
48         * Object.m (forward, read, write): Fix unused parameter warnings.
49         * encoding.c: Include <stdlib.h>.
50         (target_flags): Mark with attribute unused.
51         (atoi): Delete.
52         * runtime.h (__objc_selector_max_index): Change to unsigned int.
53         (__objc_generate_gc_type_description): Prototype.
54         * selector.c (__objc_selector_max_index): Change to unsigned int.
55
56 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
57
58         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
59         we always have a return value: if __objc_msg_forward does not
60         supply a forwarding implementation, return the default
61         __builtin_apply based one.
62
63 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
64
65         * Object.m: Fix signed/unsigned warning.
66         * Protocol.m: Likewise.
67         * archive.c: Always include stdlib.h.
68         (objc_read_short, objc_read_unsigned_short, objc_read_int,
69         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
70         Fix signed/unsigned warning.
71         (objc_write_type, objc_read_type, objc_write_types,
72         objc_read_types): Ensure ctype 8-bit safety.
73         (__objc_no_write, __objc_no_read): Mark unused parameters.
74         * class.c (class_table_setup): Specify void arg.
75         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
76         objc_skip_typespec, objc_skip_offset,
77         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
78         (objc_layout_structure_next_member): Ensure variables are
79         initialized.
80         * gc.c (__objc_generate_gc_type_description,
81         class_ivar_set_gcinvisible): Mark unused parameters.
82         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
83         unused parameters.
84         (__objc_init_protocols) Fix signed/unsigned warning.
85         * nil_method.c (nil_method): Mark unused parameters.
86         * thr.h (objc_thread_callback): Specify void arg.
87         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
88         signed/unsigned warning.
89         (sarray_free): Fix formatting.
90         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
91         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
92
93 2002-06-09  Andreas Jaeger  <aj@suse.de>
94
95         * encoding.c (objc_layout_structure_next_member): Remove unused
96         variable.
97
98 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
99
100         * Makefile.in (SHELL): Set to @SHELL@.
101         (WARN_CFLAGS): New.
102         (ALL_CFLAGS): Add $(WARN_CFLAGS).
103
104 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
105
106         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
107         * configure: Regenerate.
108
109 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
110
111         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
112         script entry, and set LD to it when configuring multilibs.
113         * configure: Rebuilt.
114
115 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
116
117         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
118
119 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
120
121         PR objc/6107
122         * objc/objc-api.h (struct objc_protocol_list): Change type of
123         member count from int to size_t.
124
125 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
126
127         PR libobjc/4039
128         * aclocal.m4: Replace with version copied from libstdc++-v3.
129         * configure.in: Update for changes to aclocal and Makefile.
130         * configure: Regenerate.
131         * Makefile.in: Correct install of multilibs and shared libs, use
132         INSTALL_DATA for include files.
133
134 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
135
136         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
137         categories - when an unclaimed category was found, the loop was
138         doing two steps forward instead of one, so that in certain cases
139         it was failing to properly load all the categories.  (Reported
140         with fix by Alexander Malmberg <alexander@malmberg.org>).
141
142 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
143
144         * encoding.c: Add target_flags.
145
146 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
147
148          * objc/objc-api.h (_C_VECTOR): New.
149
150          * encoding.c (VECTOR_TYPE): New.
151
152 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
153
154         * class.c: Rewritten the class table to use optimized, lock-free
155         lookup.  This more than doubles the speed of class method
156         invocations.  (class_table_setup), (class_table_insert),
157         (class_table_replace), (class_table_get_safe),
158         (class_table_next), (class_table_print),
159         (class_table_print_histogram): New functions.
160         (__objc_init_class_tables): Use class_table_setup.
161         (__objc_add_class_to_hash): Use class_table_get_safe and
162         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
163         assert the existence of the table; do not lock the runtime; use
164         class_table_get_safe.  (objc_next_class): Use class_table_next.
165         (__objc_resolve_class_links): Use class_table_next.
166         (class_pose_as): Use class_table_replace.
167
168 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
169
170         * gc.c: Removed the DEBUG declaration.
171
172 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
173
174         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
175         rather than through objc_thread_id, to save a function call.
176         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
177         Ditto.
178
179 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
180
181         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
182         to cast an id to a Class, which can not be done.  Make the check
183         by using CLS_ISMETA on the class pointer instead.
184         (object_is_meta_class): Similar fix.
185
186 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
187
188         * configure.in (AC_EXEEXT): Work around in case it expands to
189         nothing, as in autoconf 2.50.
190         * acinclude.m4: Likewise.
191         * configure: Rebuilt.
192
193 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
194
195         * THREADS: Explain that when we compile libobjc inside GCC, we
196         always use thr-objc.c as a backend, which uses GCC's thread code.
197
198 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
199
200         * init.c (__objc_send_message_in_list): When setting a new entry
201         in __objc_load_methods use the method IMP as key, but check to see
202         if the method is in the hashtable by looking at the IMP also.
203         Also ... call the method after adding it to the hashtable rather
204         than before ... thus preventing an obscure possibility of infinite
205         recursion if a +load method itself loads a subclass.
206
207 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
208
209         * init.c (__objc_send_message_in_list): When setting a new entry
210         in __objc_load_methods use the method name as key, not the method
211         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
212
213 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
214
215         * objc-features.texi: Move to ../gcc/objc.texi.
216         * fdl.texi: Remove.
217         * Makefile.in: Don't generate documentation from
218         objc-features.texi.
219
220 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
221
222         * fdl.texi: New file.
223         * objc-features.texi: Simplify.
224         * Makefile.in: Adjust accordingly.
225
226 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
227
228         * objc-features.texi: Use the GFDL.
229
230 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
231
232         * encoding.c (REAL_TYPE): Define.
233
234 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
235
236         * encoding.c (TYPE_MODE): Define.
237
238 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
239
240         * thr.c (objc_thread_add): New function.
241         (objc_thread_remove): Ditto.
242         * objc/thr.h: Declare them.
243         * libobjc.def: Mention them.
244
245 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
246
247         * objc-features.texi: Document the @compatibility_alias compiler
248         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
249
250 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
251
252         * sendmsg.c (__objc_forward): Delete strlen() declaration.
253
254 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
255
256         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
257         we're not interested in the result and they might fail.
258         * configure: Regenerated.
259
260 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
261
262         * objc-features.texi: Use @email.
263
264 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
265
266         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
267         printf.
268
269 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
270
271         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
272         determines the value dynamically.
273
274 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
275
276         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
277         libraries to provide a function that returns the real forwarding
278         function. This can alleviate problems __builtin_apply() and
279         friends have on various platforms. (Solution suggested by Helge
280         Hess.)
281
282         * objc/objc-api.h: Define __objc_msg_forward.
283
284         * sendmsg.c: Define gen_rtx_REG.
285
286 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
287
288         * thr-rtems.c: New file. Stub to compile.
289
290 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
291
292         * configure: Rebuilt with new libtool.m4.
293
294 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
295
296         * configure.in: Create a config.h file. Check for <sched.h>.
297         * configure: Regenerate.
298
299         * config.h.in: Check for <sched.h>.
300
301 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
302
303         * configure: Regenerate after change to ../libtool.m4.
304
305 2000-08-14  Andreas Schwab  <schwab@suse.de>
306
307         * objc-features.texi (Top): Move @menu at end of node.
308
309 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
310
311         * objc-features.texi: Move @node Top before @menu.
312
313 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
314
315         * objc-features.texi: Documented the new -fconstant-string-class
316         option.
317
318 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
319
320         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
321         improve the Posix thread support for Objective-C.
322
323 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
324
325         * aclocal.m4: Replace copy of ../libtool.m4 with
326         sinclude(../libtool.m4).
327
328 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
329
330         * configure.in: Added libtool support; build shared libraries
331         if --enable-shared was passed on command line.
332         * Makefile.in: Modified most compilation commands to use libtool.
333         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
334         libtool distribution.
335
336 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
337
338         * sarray.c, Object.m: Removed the explicit prototypes for strlen
339         and memcpy on 64-bit platforms (Suggested by Rodney Brown
340         <rdb@cup.hp.com>).
341
342 2000-05-12  H.J. Lu  (hjl@gnu.org)
343
344         * Makefile.in (GTHREAD_FLAGS): New.
345         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
346         (OBJC_THREAD_FILE): Changed to thr-objc.
347
348         * configure.in (GTHREAD_FLAGS): New, check and replace it for
349         Makefile.
350         (OBJC_THREAD_FILE): Removed.
351
352         * thr-objc.c: New.
353
354 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
355
356         * objc/hash.h: Include string.h.
357
358 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
359
360         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
361
362 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
363
364         * Object.m (strlen): Provide prototype on all 64bit platforms,
365         not only alpha.
366         * sarray.c (memcpy): Likewise.
367         * encoding.c (objc_layout_finish_structure): Don't use
368         ROUND_TYPE_ALIGN on sparc.
369
370         * encoding.c (objc_layout_structure_next_member): Do the whole
371         procedure even for the first member, so that we get correct
372         alignment.
373
374 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
375
376         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
377         comments.
378
379 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
380
381         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
382
383 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
384
385         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
386
387 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
388
389         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
390         the compiler when building C code.
391
392 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
393
394         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
395         libdir, libsubdir and tooldir.
396
397 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
398
399         * init.c (__objc_force_linking): Make global.
400
401 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
402
403         * configure.in (AC_EXEEXT): Remove call.
404         (compiler_name): Explicitly check with no extension and .exe
405         extension.
406         * configure: Regenerate.
407
408 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
409
410         * Makefile.in (CC1OBJ): Define in terms of CC.
411         (runtime-info.h): Use.
412
413 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
414
415         * objc-features.texi: Updated the URL to Boehm's GC page.
416
417 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
418
419         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
420         the char as being signed (patch from Daniel Jacobowitz
421         <drow@false.org>).
422
423 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
424
425         * configure.in (AC_PREREQ): Update to 2.13.
426         (AC_EXEEXT): Call to find possible file extension.
427         (compiler_name): Use.
428         * configure: Regenerate.
429
430 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
431
432         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
433
434 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
435
436         * configure.in (thread_file): Correct and simplify code to find
437         the thread file.
438         * configure: Rebuilt.
439
440 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
441
442         * configure.in (compiler_name): Add check to detect if this
443         language's compiler has been built.
444         * configure: Regenerate.
445
446 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
447
448         *  configure.in: Use AC_PREREQ(2.12.1).
449
450 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
451
452         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
453
454 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
455
456         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
457
458 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
459
460         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
461
462 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
463
464         * objc-features.texi (Top): Changed the email address.
465         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
466
467 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
468
469         * encoding.c: Redefine get_inner_array_type to get the first entry
470         in the structure.
471
472 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
473
474         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
475         (objc_get_type_qualifiers): Similarly.
476         * objc/encoding.h (_C_BYREF): Define.
477         (_F_BYREF): Define.
478
479 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
480
481         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
482         works out on 64-bit systems.
483
484 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
485
486         * Makefile.in (INCLUDES): Make it multilib-friendly.
487
488 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
489
490         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
491
492 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
493                          Jeffrey A Law  (law@cygnus.com)
494
495         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
496         (FLAGS_TO_PASS): Added.
497         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
498
499         * archive.c: Change config.h to tconfig.h.
500
501         * configure.in: Find gcc's object directory even for multilibs.
502
503 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
504
505         * configure.in: Escape ^ in grep string.
506         * configure: Rebuilt.
507
508 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
509
510         * All .h files pushed down into the objc/ subdirectory.
511         * Makefile.in (copy_headers): Corresponding changes.
512         * configure.in (AC_INIT): Corresponding changes.
513         * configure: Rebuilt.
514
515 1998-09-30  Ben Elliston  <bje@cygnus.com>
516             Jeff Law      <law@cygnus.com>
517
518         * Makefile.in: Rewrite.
519
520         * configure.in: Likewise.
521
522         * configure: Regenerate.
523
524         * All .c files.  Remove "objc" prefix when including objc header
525         files.  Include tconfig.h, not ../tconfig.h.
526
527 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
528
529         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
530         (get_inner_array_type): Define.
531
532 1998-09-21  Ben Elliston  <bje@cygnus.com>
533
534         * New directory.  Moved files from ../gcc/objc.