[multiple changes]
[gcc.git] / libstdc++ / ChangeLog
1 Tue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2
3 * std/bastring.cc (basic_string::copy): Mark const here, too.
4
5 1998-03-23 15:59 Ulrich Drepper <drepper@cygnus.com>
6
7 * std/bastring.h (basic_string::copy): Mark copy function as const.
8 Reported by Scott Schurr <scotts@ims.com>.
9
10 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
11
12 * configure.in: Make locating frag files failsafe even for the
13 special case if configuring and building in srcdir.
14
15 1998-03-04 12:37 Ulrich Drepper <drepper@cygnus.com>
16
17 * cinst.cc [INSERT] (operator<<): Correct type of numeric argument.
18
19 Fri Feb 6 01:36:21 1998 Manfred Hollstein <manfred@s-direktnet.de>
20
21 * Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
22 (stmp-string, ...): Dito.
23 (bigstmp-string, ...): Dito.
24
25 Sun Feb 1 13:38:07 1998 H.J. Lu (hjl@gnu.org)
26
27 * config/linux.mt: Don't define _PTHREADS, but define
28 _IO_MTSAFE_IO.
29
30 Wed Jan 28 10:27:11 1998 Manfred Hollstein <manfred@s-direktnet.de>
31
32 * tests/configure.in, testsuite/configure.in: Update with yesterday's
33 toplevel configure.in changes.
34
35 Tue Jan 27 23:27:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
36
37 * configure.in (package_makefile_rules_frag): New variable
38 which is used in the call to config.shared; redirect file descriptor 2
39 to ${package_makefile_rules_frag}.
40
41 Tue Jan 27 10:11:27 1998 Jason Merrill <jason@yorick.cygnus.com>
42
43 * Makefile.in (install): Remove the shared library symlink even if
44 we aren't installing it.
45
46 Tue Jan 27 10:29:44 1998 H.J. Lu (hjl@gnu.org)
47
48 * configure.in (topsrcdir): New.
49 (configdirs): Check ${topsrcdir}/gcc instead.
50 (config-ml.in): Use ${topsrcdir}/config-ml.in.
51
52 * tests/configure.in (topsrcdir): New.
53 (check): Check ${topsrcdir}/gcc instead.
54
55 Sun Jan 25 14:01:50 1998 Jason Merrill <jason@yorick.cygnus.com>
56
57 * std/bastring.h (unique): We only need length bytes.
58 (c_str): Avoid writing over random memory.
59 #include <std/bastring.cc>.
60 Lose _G_ALLOC_CONTROL.
61 * std/bastring.cc: Likewise.
62 (nilRep): Add initializer for selfish.
63 * sinst.cc: Just #include <string>.
64
65 Tue Jan 13 21:23:05 1998 H.J. Lu (hjl@gnu.org)
66
67 * configure.in (configdirs): Include testsuite only if
68 ${srcdir}/../gcc exists.
69
70 * tests/configure.in (check): Set to ${CHECK} if
71 ${srcdir}/../../gcc doesn't exists.
72
73 1998-01-05 Brendan Kehoe <brendan@lisa.cygnus.com>
74
75 * std/bastring.cc (basic_string::Rep::operator delete): Don't claim
76 to return from deallocate, since this is a void method.
77
78 Sat Jan 3 12:15:41 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
79
80 * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
81
82 Sun Dec 7 02:34:40 1997 Jody Goldberg <jodyg@idt.net>
83
84 * libstdc++/std/bastring.h : Move closer to the draft standard
85 implementation of basic_string by adding 3 paramter 'Allocator'.
86 NOTE: this still differs from the standard in not offering per
87 instance allocators.
88 * libstdc++/std/bastring.cc : Likewise.
89 * libstdc++/stlinst.cc : Handle thread safe allocators if they are the
90 default.
91
92 Sun Dec 7 02:32:20 1997 Jason Merrill <jason@yorick.cygnus.com>
93
94 * iosfwd: New header.
95 * Makefile.in (HEADERS): Add it.
96
97 Sun Dec 7 02:32:20 1997 Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu)
98
99 * Makefile.in (HEADERS): Modified list of headers to
100 install to include all of SGI STL headers especially hash_set and
101 hash_map, and added ANSI C++ style wrappers for fstream, iomanip,
102 iostream, and strstream.
103
104 * fstream, iomanip, iostream, strstream: New forwarding headers
105 added.
106
107 Thu Nov 27 01:33:55 1997 Jeffrey A Law (law@cygnus.com)
108
109 * Makefile.in (install): Change gxx_includedir to gxx_include_dir.
110
111 Tue Nov 25 23:16:44 1997 Jason Merrill <jason@yorick.cygnus.com>
112
113 London changes to string:
114 * std/bastring.cc (check_realloc): Don't be selfish anymore.
115 * std/bastring.h (non-const operator[]): Be selfish.
116 (iterator forms of insert and erase): Stay selfish.
117
118 Tue Nov 25 14:03:43 1997 H.J. Lu (hjl@gnu.org)
119
120 * Makefile.in (stmp-complex, bigstmp-complex): Changed to
121 xxxx-complx.
122
123 Mon Nov 24 14:41:33 1997 Jeffrey A Law (law@cygnus.com)
124
125 * Makefile.in: Use ln -f -s, not ln -s -f.
126
127 Fri Nov 21 12:56:24 1997 Manfred Hollstein <manfred@s-direktnet.de>
128
129 * Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
130 cope with filesystem not capable to handle names longer than
131 14 characters.
132
133 Sun Nov 16 22:41:55 1997 Jeffrey A Law (law@cygnus.com)
134
135 * Makefile.in (SHLIB): Build with CC instead of CXX.
136
137 Sun Nov 2 23:34:09 1997 Manfred Hollstein <manfred@s-direktnet.de>
138
139 * configure.in: Use delta.mt for m68k-motorola-sysv.
140 * config/delta.mt: New makefile fragment.
141
142 Sun Nov 2 12:14:37 1997 Jason Merrill <jason@yorick.cygnus.com>
143
144 * Makefile.in (install): Some of HEADERS come from the stl dir now.
145 * algorithm, deque, functional, iterator, list, map, memory, numeric,
146 queue, set, stack, utility, vector: Now in stl dir.
147
148 Fri Oct 10 00:40:00 1997 Jason Merrill <jason@yorick.cygnus.com>
149
150 * std/bastring.h: Use ibegin internally. Return passed iterator
151 instead of recalculating it where appropriate.
152 * std/bastring.cc: Adjust for erase.
153
154 From Yotam Medini:
155 * std/bastring.h: Replace remove with erase.
156
157 Thu Oct 9 23:24:36 1997 Jason Merrill <jason@yorick.cygnus.com>
158
159 * stdexcepti.cc (__out_of_range): New fn.
160 (__length_error): New fn.
161
162 * std/bastring.h (OUTOFRANGE): Fix logic. Use throwing functions.
163 (LENGTHERROR): Likewise.
164 Revert Oct 2 changes.
165 * string: Revert Oct 2 changes.
166
167 Tue Oct 7 00:51:51 1997 Jason Merrill <jason@yorick.cygnus.com>
168
169 * std/{f,d,ld}complex.h: Replace guiding fns if not -ansi.
170
171 Thu Oct 2 00:08:18 1997 Jason Merrill <jason@yorick.cygnus.com>
172
173 * std/bastring.h: Move exception stuff after definition of string.
174 Move typedef of string here.
175 * string: From here.
176
177 Sat Sep 27 16:48:00 1997 Jason Merrill <jason@yorick.cygnus.com>
178
179 * std/complext.h: Lose injection decls.
180 * std/fcomplex.h: Likewise.
181 * std/dcomplex.h: Likewise.
182 * std/ldcomplex.h: Likewise.
183
184 Sat Sep 27 16:47:35 1997 Mark Mitchell <mmitchell@usa.net>
185
186 * std/complext.h: Declare templates before making them
187 friends. Use new friend <> syntax.
188 * std/complext.cc: Don't rely on guiding declarations.
189 * std/fcomplex.h: Use new friend <> syntax.
190 * std/dcomplex.h: Likewise.
191 * std/ldcomplex.h: Likewise.
192
193 Thu Sep 25 19:55:56 1997 Jason Merrill <jason@yorick.cygnus.com>
194
195 * std/bastring.h: Enable exceptions.
196 (assign, append, insert, replace): Implement member template versions.
197
198 1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com>
199
200 * config/linux.mt: New file. Make sure _PTHREADS is defined
201 if necessary.
202 * configure.in: Find linux.mt file.
203
204 Thu Sep 11 15:03:20 1997 Jason Merrill <jason@yorick.cygnus.com>
205
206 * std/bastring.h (class basic_string): Add global scope to
207 use of reverse_iterator.
208
209 Tue Sep 9 19:47:07 1997 Jason Merrill <jason@yorick.cygnus.com>
210
211 * std/bastring.h: Adjust use of reverse_iterator template.
212
213 Wed Aug 27 00:04:33 1997 Alexandre Oliva (oliva@dcc.unicamp.br)
214
215 * Makefile.in: create correct multiple links to
216 shared libstdc++.
217
218 Tue Aug 26 12:24:01 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
219
220 * testsuite/Makefile.in (check): Don't depend on site.exp.
221 (just-check): Depend on site.exp.
222
223 Mon Aug 25 14:26:45 1997 Jason Merrill <jason@yorick.cygnus.com>
224
225 * Makefile.in (CXXFLAGS): Add -Weffc++.
226
227 Sat Aug 23 21:25:37 1997 Mark Mitchell <mmitchell@usa.net>
228
229 * bastring.h: Enable reverse_iterator and its ilk.
230
231 * bastring.h: Provide specializations of member function templates
232 for const_iterator.
233
234 Wed Jul 30 10:59:00 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
235
236 * stlinst.cc: Add instantiation file for
237 __default_alloc_template<fale, 0> and
238 __malloc_alloc_template<0>
239
240 Sun Jun 1 17:03:40 1997 Jason Merrill <jason@yorick.cygnus.com>
241
242 * std/bastring.cc (find_last_of): Correct handling of POS.
243 (find_last_not_of): Likewise.
244
245 Thu May 1 17:37:10 1997 Jason Merrill <jason@yorick.cygnus.com>
246
247 * Makefile.in ($(SHLIB)): Add $(LIBCXXFLAGS).
248
249 Wed Apr 30 12:06:23 1997 Jason Merrill <jason@yorick.cygnus.com>
250
251 * Makefile.in (IO_DIR): Remove $(MULTIBUILDTOP).
252 (LIBIBERTY_DIR): Likewise.
253 * configure.in: Don't turn on multilib here.
254
255 Fri Apr 25 16:09:15 1997 Bob Manson <manson@charmed.cygnus.com>
256
257 * testsuite/libstdc++.tests/test.exp, testsuite/lib/libstdc++.exp,
258 testsuite/configure.in, testsuite/Makefile.in,
259 testsuite/config/default.exp, testsuite/ChangeLog: New files.
260
261 * configure.in: Add new testsuite directory to be configured.
262
263 Tue Apr 22 19:03:39 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
264
265 * Makefile.in (install): Fix handling of mshlink.
266
267 Fri Apr 4 03:25:13 1997 Ulrich Drepper <drepper@cygnus.com>
268
269 * Makefile.in (IO_DIR): Prepend $(MULTIBUILDTOP) to
270 support multilib build.
271 (LIBIBERTY_DIR): Likewise.
272
273 * configure.in: Enable multilibing by default.
274 Update multilib template to read config-ml.in.
275
276 Wed Mar 12 16:09:34 1997 Jason Merrill <jason@yorick.cygnus.com>
277
278 * configure.in (XCXXINCLUDES): Add the STL directory.
279
280 Thu Jan 23 08:08:43 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
281
282 * stdexcept: Delete dtors for all of the error classes, to match
283 their removal in the Apr 1995 WP.
284 (class overflow_error): Define missing class, added in May 1996 WP.
285
286 Mon Nov 18 16:57:25 1996 Jason Merrill <jason@yorick.cygnus.com>
287
288 * Makefile.in (stuff[12]): More rules for my own evil purposes.
289 (CXXFLAGS, CFLAGS): Use -O instead of -O3 so debugging works.
290
291 Wed Oct 16 13:47:45 1996 Jason Merrill <jason@yorick.cygnus.com>
292
293 * config/irix5.ml: Do link against the math library.
294 * configure.in: Support shared libs on Irix 6.
295
296 Fri Oct 11 18:06:09 1996 Jason Merrill <jason@yorick.cygnus.com>
297
298 * config/linux.ml: Lose version overrides.
299
300 * Makefile.in (MSHLINK): Defaults to .so.2.x
301 (mshlink): Indirect rule for making it.
302
303 Tue Sep 24 17:58:31 1996 Jason Merrill <jason@yorick.cygnus.com>
304
305 * Remove new, typeinfo, exception, stddef*.
306 * Move public headers from std/*.h to *.
307
308 Sun Sep 22 05:35:55 1996 Jason Merrill <jason@yorick.cygnus.com>
309
310 * Makefile.in: Remove new, exception, typeinfo handling.
311 * exceptioni.cc, newi.cc, typeinfoi.cc, std/exception.h, std/new.h,
312 std/typeinfo.h, new.h: Remove.
313 * typeinfo, new, exception: Refer to the files with .h in gcc.
314
315 Fri Sep 20 14:39:19 1996 Jason Merrill <jason@yorick.cygnus.com>
316
317 * Makefile.in: Remove references to stl.list.
318 * configure.in (configdirs): Remove stl.
319
320 Sat Sep 14 09:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
321
322 * Makefile.in (stuff): Convenience for me.
323
324 * std/bastring.h: Remove kludge obsoleted by new overloading code.
325
326 Fri Sep 6 16:43:21 1996 Jason Merrill <jason@yorick.cygnus.com>
327
328 * typeinfoi.cc (__dynamic_cast): Fix static_cast.
329 (__rtti_si): Likewise.
330 (dcast): Likewise.
331
332 Thu Aug 29 17:06:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
333
334 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
335
336 Tue Jul 23 14:27:44 1996 Mike Stump <mrs@cygnus.com>
337
338 * Makefile.in (exceptioni.o): Use -fexceptions now.
339
340 Mon Jun 17 13:57:24 1996 Per Bothner <bothner@deneb.cygnus.com>
341
342 * std/bastring.h (class basic_string::remove): Add casts.
343
344 * configure.in: Use EXTRA_DISTCLEAN rather than DISTCLEAN.
345
346 Fri Jun 7 14:09:20 1996 Jason Merrill <jason@yorick.cygnus.com>
347
348 * typeinfoi.cc (BUILTIN): Align typeinfo object like a pointer.
349
350 Wed May 29 16:48:35 1996 Mike Stump <mrs@cygnus.com>
351
352 * exceptioni.cc (__throw_bad_exception): Add.
353 * std/exception.h (bad_exception): Add.
354 * std/typeinfo.h: Remove leftovers of bad_cast_object.
355
356 Mon May 6 14:04:42 1996 Jason Merrill <jason@yorick.cygnus.com>
357
358 * std/complext.h: s/FLOAT/_FLT/g.
359
360 Thu May 2 17:26:24 1996 Mike Stump <mrs@cygnus.com>
361
362 * exceptioni.cc (uncaught_exception): New routine.
363 * std/exception.h: Declare it.
364
365 Thu Apr 25 13:20:57 1996 Jason Merrill <jason@yorick.cygnus.com>
366
367 * Makefile.in (typeinfoi.o, stdexcepti.o): Use default rule.
368
369 Wed Apr 24 18:38:24 1996 Mike Stump <mrs@cygnus.com>
370
371 * exceptioni.cc: Add #pragma implementation.
372 * std/exception.h: Add #pragma interface. Moved exception from
373 stdexcept.
374 * std/stdexcept.h: Moved exception to exception. Fix all constructor
375 arguments to take strings to match ANSI. Moved bad_cast and bad_typeid
376 to typeinfo.
377 * std/typeinfo.h: Moved bad_cast and bad_typeid from stdexcept.
378
379 Wed Apr 24 10:43:07 1996 Doug Evans <dje@blues.cygnus.com>
380
381 * Makefile.in (newi.o,cstringi.o,stddefi.o,cstdlibi.o,cmathi.o): Add
382 rules for SunOS VPATH.
383
384 Fri Apr 19 17:24:51 1996 Jason Merrill <jason@yorick.cygnus.com>
385
386 * Version 2.8.0b3.
387
388 Wed Apr 10 14:38:05 1996 Jason Merrill <jason@yorick.cygnus.com>
389
390 * typeinfoi.cc (base_info): Pack the latter three fields into 32 bits.
391
392 Tue Apr 9 15:49:38 1996 Jason Merrill <jason@yorick.cygnus.com>
393
394 * typeinfoi.cc: Add 'const'.
395 (__class_type_info): Now just one pointer to an array of structs,
396 rather than four pointers to arrays.
397
398 * typeinfoi.cc (__throw_type_match_rtti): Check for conversion to
399 void* before conversion to base*.
400 (dcast): Handle downcasting to X* given other X subobjects in
401 the most derived type. Ack.
402
403 Mon Apr 8 15:20:32 1996 Ian Lance Taylor <ian@cygnus.com>
404
405 * configure.in: Permit --enable-shared to specify a list of
406 directories.
407
408 Sun Apr 7 22:50:53 1996 Jason Merrill <jason@yorick.cygnus.com>
409
410 * typeinfoi.cc (__rtti_array): New entry point.
411
412 Sat Apr 6 14:41:18 1996 Jason Merrill <jason@yorick.cygnus.com>
413
414 * exceptioni.cc (__throw_bad_cast): New entry point for compiler.
415 * typeinfoi.cc: Remove __bad_cast_object.
416
417 * typeinfoi.cc: Add nodes for unsigned builtins.
418
419 Fri Apr 5 18:16:22 1996 Jason Merrill <jason@yorick.cygnus.com>
420
421 * typeinfoi.cc, std/typeinfo.h: Total overhaul. Move most
422 everything out of the header, move name field into type_info, add
423 single-inheritance case, rewrite pointer handling, add new
424 compiler interface. Compare addresses to check for equality.
425
426 Wed Mar 27 11:54:08 1996 Jason Merrill <jason@yorick.cygnus.com>
427
428 * Version 2.8.0b2.
429
430 Fri Mar 8 13:56:18 1996 Jason Merrill <jason@yorick.cygnus.com>
431
432 * std/[cs]inst.h: Remove.
433
434 Thu Mar 7 07:29:00 1996 Lee Iverson <leei@Canada.AI.SRI.COM>
435
436 * Makefile.in (install): Restore deleted chdir to stl subdir.
437
438 Thu Mar 7 15:02:58 1996 Jason Merrill <jason@yorick.cygnus.com>
439
440 * std/complext.h: Fix __attribute__ usage.
441
442 Wed Feb 28 10:00:24 1996 Jason Merrill <jason@yorick.cygnus.com>
443
444 * Version 2.8.0b1.
445
446 Mon Feb 26 17:26:26 1996 Jason Merrill <jason@yorick.cygnus.com>
447
448 * std/cstring.h: New approach to changing signatures of string
449 manipulation functions. Still disabled.
450
451 Tue Feb 20 18:29:30 1996 Jason Merrill <jason@yorick.cygnus.com>
452
453 * std/complext.h (__doapl, __doami, __doaml, __doadv): Helper
454 templates to implement +=, -=, *= and /=, respectively, since
455 member function templates do not apply to class specializations.
456 * std/{f,d,ld}complex.h, std/complext.cc, cinst.cc: Adjust.
457
458 * std/bastring.h: The representation class is now a nested class.
459 * std/bastring.cc: Add templates for static data members.
460 * sinst.cc: Don't provide specializations for static data members.
461 * std/string.h: Use default template parameters.
462
463 * Makefile.in (CXXFLAGS): Remove -pedantic -ansi.
464 (CFLAGS): Ditto.
465
466 Wed Feb 14 14:39:07 1996 Jason Merrill <jason@yorick.cygnus.com>
467
468 * std/bastring.cc (check_realloc): Fix for sizeof (charT) > 1.
469 From John Hickin <hickin@bnr.ca>.
470
471 Wed Jan 10 11:05:04 1996 Jason Merrill <jason@yorick.cygnus.com>
472
473 * std/bastring.h (insert): Fix iterator handling.
474 From Joe Buck <jbuck@synopsys.com>.
475
476 Mon Jan 8 11:48:03 1996 Jason Merrill <jason@yorick.cygnus.com>
477
478 * std/bastring.h (max_size): Fix for sizeof (charT) > 1.
479 * std/bastring.cc (replace): Use it.
480
481 * std/bastring.cc (rfind): Fix for n > length ().
482
483 Tue Dec 19 15:13:08 1995 Jason Merrill <jason@yorick.cygnus.com>
484
485 * config/aix.ml (SHFLAGS): Add -Wl,-unix.
486
487 Mon Dec 18 12:48:25 1995 Mike Stump <mrs@cygnus.com>
488
489 * Makefile.in (exceptioni.o): Compile with -fhandle-exceptions, so
490 we can unwind through unexpected on machines that don't have a
491 working __unwind_function.
492
493 Sun Dec 17 00:28:31 1995 Jeffrey A Law (law@cygnus.com)
494
495 * Makefile.in (install): Make sure shared libraries
496 are installed with mode 555.
497
498 Mon Nov 27 15:01:56 1995 Jason Merrill <jason@yorick.cygnus.com>
499
500 * Makefile.in (install): Make shared library links relative.
501 (install): Break up -sf into -s -f.
502 ({M,}SHLINK): Ditto.
503
504 Sun Nov 26 22:48:06 1995 Jason Merrill <jason@yorick.cygnus.com>
505
506 * queue: Include <stack.h> instead of <queue.h>.
507
508 Sat Nov 25 11:33:13 1995 Doug Evans <dje@canuck.cygnus.com>
509
510 * Makefile.in (install): Fix setting of rootme.
511
512 Tue Nov 21 14:20:34 1995 Ian Lance Taylor <ian@cygnus.com>
513
514 * configure.in: Check ${with_cross_host} rather than comparing
515 ${host} and ${target}.
516
517 Tue Nov 14 01:50:52 1995 Doug Evans <dje@canuck.cygnus.com>
518
519 * Makefile.in (IO_DIR): Delete MULTITOP, MULTISUBDIR.
520 (LIBIBERTY_DIR): Likewise.
521 (INSTALLDIR): Delete MULTISUBDIR.
522 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
523 instead of cfg-ml-pos.in.
524 (XCXXINCLUDES): Delete MULTITOP.
525 * stl/configure.in (XCXXINCLUDES): Delete MULTITOP.
526 (config-ml.in): Call instead of cfg-ml-pos.in.
527
528 Sun Nov 12 16:44:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
529
530 * Makefile.in (VERSION): Set to 2.7.1.
531
532 Thu Nov 9 17:39:28 1995 Jason Merrill <jason@yorick.cygnus.com>
533
534 * config/{aix,dec-osf,irix5,linux,sol2shm}.ml: Remove LDLIBS defn;
535 no longer needed now that make check sets LD_LIBRARY_PATH.
536
537 Wed Nov 8 19:46:35 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
538
539 * std/bastring.h: Wrap with #ifndef/#define/#endif.
540 * std/cassert.h: Likewise.
541 * std/cinst.h: Likewise.
542 * std/complext.h: Likewise.
543 * std/dcomplex.h: Likewise.
544 * std/fcomplex.h: Likewise.
545 * std/ldcomplex.h: Likewise.
546 * std/sinst.h: Likewise.
547
548 Wed Nov 8 16:15:48 1995 Jason Merrill <jason@yorick.cygnus.com>
549
550 * std/bastring.cc (getline): Update to September 95 WP. Now we
551 don't set failbit when reading an empty line.
552
553 Tue Nov 7 16:09:04 1995 Jason Merrill <jason@yorick.cygnus.com>
554
555 * std/bastring.cc (new): Fix for sizeof (charT) != 1.
556
557 Sat Nov 4 17:37:16 1995 Jason Merrill <jason@yorick.cygnus.com>
558
559 * std/complext.cc (operator / (FLOAT, const complex<FLOAT>&)):
560 Reimplement along the lines of the other operator / templates.
561 From John Eaton <jwe@bevo.che.wisc.edu>.
562
563 Sat Nov 4 13:33:50 1995 Per Bothner <bothner@kalessin.cygnus.com>
564
565 * configure.in (DISTCLEAN): New, to add target-mkfrag.
566
567 Tue Oct 31 13:59:32 1995 Jason Merrill <jason@yorick.cygnus.com>
568
569 * std/bastring.h: Use size_t for the reference count.
570 * std/bastring.cc (create): Set selfish.
571 From Joe Buck (jbuck@synopsys.com).
572
573 Mon Oct 30 23:09:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
574
575 * configure.in: Don't bother changing LIBIBERTY for cross,
576 now that we are using target-libiberty instead.
577 * Makefile.in (LIBIBERTY_DIR): Simplify.
578 (LIBIBERTY): Remove.
579
580 Wed Oct 11 14:56:49 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
581
582 * config/sol2shm.ml: New files with -rpath.
583 * configure (*-*-solaris*): Use sol2shm.ml.
584
585 Thu Sep 28 09:26:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
586
587 * std/straits.h (compare, copy, move, set): Fix for non-char charT's.
588 * std/bastring.h (basic_string::remove): Fix for non-char charT's.
589
590 Tue Sep 26 15:22:56 1995 Jason Merrill <jason@phydeaux.cygnus.com>
591
592 * config/irix5.ml: Pass -rpath to links.
593
594 Fri Sep 15 00:17:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
595
596 * config/linux.ml: Conform to Linux shared library numbering
597 scheme.
598 * Makefile.in: Ditto.
599
600 Tue Sep 12 00:28:56 1995 Mike Stump <mrs@cygnus.com>
601
602 * typeinfoi.cc: (__pointer_type_info::__rtti_match): Moved from
603 the headerfile, include all sorts of pointer conversions from 15.3
604 para 2.
605 * std/typeinfo.h (__pointer_type_info::__rtti_match): Moved from here.
606
607 Mon Sep 11 23:27:59 1995 Mike Stump <mrs@cygnus.com>
608
609 * std/typeinfo.h (__pointer_type_info::__rtti_match): We no longer
610 have to dereference the object pointer, as the pointer is always
611 passed directly.
612
613 Mon Sep 11 19:29:51 1995 Mike Stump <mrs@cygnus.com>
614
615 * std/typeinfo.h (__pointer_type_info::__rtti_match): Define so
616 that pointer conversions can happen on catch type matching.
617 * typeinfoi.cc (__throw_type_match_rtti): Arrange for __rtti_match
618 to be used on pointers.
619
620 Tue Sep 5 14:49:19 1995 Jason Merrill <jason@phydeaux.cygnus.com>
621
622 * string.h: Remove for now.
623
624 Thu Aug 31 14:14:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
625
626 * std/bastring.cc (operator>>): Simplify and fix.
627 (resize): Fix order of arguments to append.
628 (getline): Simplify and fix.
629
630 Thu Aug 24 17:44:09 1995 Jason Merrill <jason@phydeaux.cygnus.com>
631
632 * std/cstdlib.h (abs): Provide default implementation for peons
633 without labs.
634
635 Tue Aug 22 08:43:07 1995 Jason Merrill <jason@phydeaux.cygnus.com>
636
637 * std/cstdlib.h: Comment out definition of div(long,long) for now,
638 since not all targets have ldiv.
639
640 Mon Aug 21 11:46:03 1995 Jason Merrill <jason@phydeaux.cygnus.com>
641
642 * std/cmath.h: Wrap abs(double) with #if ! _G_MATH_H_INLINES.
643
644 * stl.h: Add, for compatibility with ObjectSpace STL.
645
646 * std/complext.cc (operator /): Use abs instead of fabs.
647
648 * std/bastring.h (replace): Update single-character replace method
649 as per my proposal.
650
651 * std/cmath.h: Add abs(float), abs(double) and abs(long double).
652 Add commented-out declarations for other float and long double
653 math functions.
654
655 * std/cstdlib.h: Add abs(long) and div(long,long).
656
657 * Makefile.in (install): Make shared library executable and
658 non-writable. Tidy.
659 (OBJS): Add cstdlibi.o and cmathi.o.
660
661 * Rename implementation files to have different basenames.
662
663 Mon Aug 21 00:57:03 1995 Jeffrey A. Law <law@rtl.cygnus.com>
664
665 * Makefile.in (install): Use "cd stl"; no need for $(srcdir)
666 prefix because we're already in $(srcdir).
667
668 Tue Jul 25 18:41:29 1995 Per Bothner <bothner@kalessin.cygnus.com>
669
670 * std/stddef.h: Remove obsolete definition of enum capacity.
671
672 Sat Jul 22 13:37:01 1995 Doug Evans <dje@canuck.cygnus.com>
673
674 * Makefile.in (IO_DIR): Add multilib support.
675 (LIBIBERTY, LIBIBERTY_OBJS, INSTALLDIR, stdlist): Likewise.
676 (libiberty.a, install): Likewise.
677 * configure.in: Likewise.
678 (XCXXINCLUDES): Likewise.
679 * stl/configure.in: Likewise.
680 (XCXXINCLUDES): Likewise.
681
682 Mon Jul 17 09:29:31 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
683
684 * Makefile.in (typeinfo.o, stdexcept.o): Put an else for the if
685 stmt checking PICFLAG.
686 (stmp-string, bigstmp-string, stmp-complex, bigstmp-complex): Likewise.
687
688 Wed Jun 28 17:05:29 1995 Jason Merrill <jason@phydeaux.cygnus.com>
689
690 * std/*.h: Wrap with extern "C++".
691
692 * std/ciso646.h: Don't worry about #undefing the keywords.
693
694 Mon Jun 26 19:05:38 1995 Jason Merrill <jason@phydeaux.cygnus.com>
695
696 * std/bastring.h (operator!=): If they've included the STL
697 function.h, don't overload the operator templates that it defines.
698
699 Fri Jun 23 16:54:17 1995 Jason Merrill <jason@phydeaux.cygnus.com>
700
701 * Makefile.in (SHLINK): Force link.
702 (install): Ditto.
703
704 * std/bastring.h (terminate): Never reallocate.
705 (alloc): No longer const.
706
707 * std/bastring.cc (create): Always allocate an extra byte.
708 (check_realloc): Always leave room for an extra byte.
709 (*find*): Add missing 'const'.
710
711 * Makefile.in (SHARLIB): Provide a default value.
712
713 Tue Jun 20 16:29:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
714
715 * std/cstring.h: Don't bother tweaking prototypes for now. When
716 we do, we will use new-style casts.
717
718 Fri Jun 16 13:57:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
719
720 * Makefile.in (VERSION): Update to 2.7.0.
721
722 * config/aix.ml: Build both shared and archive libraries.
723
724 Wed Jun 14 21:44:21 1995 Jason Merrill <jason@python.cygnus.com>
725
726 * configure.in (frags): Use linux.ml for Linux/ELF.
727 * config/linux.ml: New file.
728
729 Wed Jun 14 17:56:23 1995 Niclas Andersson <nican@ida.liu.se>
730
731 * configure.in: Use xiberty when building cross-compiler.
732
733 Wed Jun 14 12:57:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
734
735 * std/*complex*, std/cinst.h, cinst.cc: Pass by reference to const
736 rather than by value.
737 * std/*complex*: Add member functions real() and imag().
738
739 Sat Jun 10 12:14:38 1995 Jason Merrill <jason@phydeaux.cygnus.com>
740
741 * Makefile.in (bigstmp-string): Call main string object cstrmain.o
742 instead of cstring.o.
743
744 Wed Jun 7 11:15:15 1995 Jason Merrill <jason@phydeaux.cygnus.com>
745
746 * std/cstring.h: Use #include_next to pick up <string.h>.
747
748 * string.h: New file.
749
750 * Makefile.in (MOSTLYCLEAN_JUNK): Remove piclist.
751
752 * configure.in (MOSTLYCLEAN): Remove stamp-picdir.
753
754 Mon Jun 5 18:36:39 1995 Jason Merrill <jason@phydeaux.cygnus.com>
755
756 * config/*.ml: Build both shared and archive libraries.
757
758 * configure.in (MOSTLYCLEAN): Remove pic.
759 (frags): Use toplevel pic frags.
760
761 * Makefile.in (piclist): New rule.
762 (SHLIB): Use it.
763 (stl.list): Removed.
764 (typeinfo.o): Also build pic version.
765 (stdexcept.o): Ditto.
766 (*stmp-*): Ditto.
767
768 Tue May 30 12:01:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
769
770 * std/{complext,{f,d,ld}complex}.h: To declare specializations,
771 use friend declarations in the class body...
772 * std/cinst.h: ...rather than macro hackery.
773
774 * Makefile.in (stdlist): Renamed from list.
775
776 * cstdarg: Don't define __CSTDARG__.
777 * complex.h: Similarly.
778
779 Tue May 9 19:31:20 1995 Jason Merrill <jason@phydeaux.cygnus.com>
780
781 * std/bastring.cc (operator>>): Use an int to store the return value
782 of streambuf::sbumpc.
783 (getline): Ditto.
784 * std/bastring.* (replace): Reverse size_t and charT arguments.
785
786 * configure.in (enable_shared): Support enable_shared under AIX.
787
788 * Makefile.in (SHARLIB): New variable and rule for building an
789 archive library containing a single shared object (for AIX).
790
791 Mon May 8 01:43:19 1995 Jason Merrill <jason@phydeaux.cygnus.com>
792
793 * std/bastring.h (remove): Forgot one.
794 (empty): And this.
795 Disable copy-on-write if someone takes an iterator.
796
797 * std/bastring.cc (getline): Avoid resizing down if unnecessary.
798 (operator>>): Don't use private methods.
799
800 Sun May 7 02:39:56 1995 Jason Merrill <jason@phydeaux.cygnus.com>
801
802 * std/bastring.h (insert, replace): Fix.
803 * std/bastring.cc (find_*_of): Fix.
804
805 Fri May 5 01:45:10 1995 Jason Merrill <jason@phydeaux.cygnus.com>
806
807 * std/bastring.h: Add iterator remove fn. Remove evil default
808 arguments.
809
810 * std/*complex*, std/cinst.h, cinst.cc: s/__complex/complex/g.
811 complex<float> is now specialized. Lose _*_complex in favor of
812 'explicit' constructors.
813 * std/complex.h: Lose typedef of complex.
814 * std/fcomplex.h: New file.
815 * std/complext.cc (operator<<): Accept more input forms.
816
817 * std/bastring.h: Add iterator insert fns.
818
819 Thu May 4 02:30:04 1995 Jason Merrill <jason@phydeaux.cygnus.com>
820
821 * std/bastring.*: Update to current draft.
822
823 * std/bastring.*: Reorganize so that the pointer in a string
824 object points to the data rather than the bsrep object, for
825 debugging.
826
827 Tue Apr 25 17:15:09 1995 Jason Merrill <jason@phydeaux.cygnus.com>
828
829 * configure.in: Update to stay in sync with config.shared.
830
831 Mon Apr 24 13:08:46 1995 Jason Merrill <jason@phydeaux.cygnus.com>
832
833 * std/complext.h: Declare hypot. Declare appropriate functions const.
834
835 Wed Apr 12 15:26:25 1995 Jason Merrill <jason@phydeaux.cygnus.com>
836
837 * Makefile.in (typeinfo.o): Don't use $<.
838 (stdexcept.o): Ditto.
839
840 Sat Apr 8 15:35:00 1995 Mike Stump <mrs@cygnus.com>
841
842 * std/typeinfo.h: Move bad_cast, bad_typeid and __bad_cast_object
843 from here to stdexcept.
844 * std/stdexcept.h: Ditto.
845 * Makefile.in (stdexcept.o): Added rule to build typeinfo.o with
846 -frtti to support matching of thrown objects with rtti info for
847 bad_cast.
848
849 Mon Apr 3 18:13:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
850
851 * typeinfo: New file.
852
853 * Makefile.in (HEADERS): Add typeinfo.
854
855 Mon Apr 3 15:06:58 1995 Mike Stump <mrs@cygnus.com>
856
857 * Makefile.in (typeinfo.o): Added rule to build typeinfo.o with
858 -frtti to support matching of thrown objects with rtti info for
859 bad_cast.
860
861 Wed Mar 29 15:56:06 1995 Mike Stump <mrs@cygnus.com>
862
863 * typeinfo.cc: (__throw_type_match_rtti): Added to support
864 matching of thrown objects with rtti info.
865
866 Thu Mar 23 18:42:30 1995 Jason Merrill <jason@deneb.cygnus.com>
867
868 * Makefile.in (HEADERS): Add stdexcept.
869
870 Sun Mar 12 01:25:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
871
872 * std/typeinfo.h: Add return statements to dummy methods.
873
874 Wed Mar 8 16:09:50 1995 Jason Merrill <jason@phydeaux.cygnus.com>
875
876 * config/dec-osf.ml: Use -rpath flag.
877
878 Fri Feb 17 18:16:46 1995 Jason Merrill <jason@phydeaux.cygnus.com>
879
880 * std/typeinfo.h: Add copyright header.
881
882 * Makefile.in (CXXFLAGS): Add a bunch of warning options to keep
883 me honest.
884
885 Thu Feb 16 00:04:49 1995 Jason Merrill <jason@phydeaux.cygnus.com>
886
887 * Makefile.in, config/*.ml: Generate shared library on most hosts
888 as libstdc++.so.$(VERSION), with a symlink to libstdc++.so, so that
889 multiple versions can coexist.
890
891 Fri Feb 10 02:59:39 1995 Jason Merrill <jason@phydeaux.cygnus.com>
892
893 * std/exception.h: {set_,}{terminate,unexpected} have C++ linkage.
894
895 * Makefile.in: Allow string and complex to be split up either by
896 individual function or into I/O and non-I/O. Default to the
897 latter.
898
899 Wed Feb 8 02:39:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
900
901 * std/bastring.h: Start thinking about throwing exceptions.
902
903 * typeinfo.cc: Remove private functions; defining them to call
904 abort () just delays errors until runtime. Define
905 __bad_cast_object.
906
907 * std/exception.h: Standard exceptions are now defined in
908 stdexcept.h. This header now contains declarations of terminate()
909 et al.
910 * exception.cc: Move code from libg++/src/except.c here.
911 * std/typeinfo.h: Define RTTI-related exceptions here.
912 * stdexcept{,.cc},std/stdexcept.h: New files.
913
914 Mon Feb 6 18:51:31 1995 Jason Merrill <jason@phydeaux.cygnus.com>
915
916 * Makefile.in (HEADERS): Resurrect, add new STL header names.
917 (install): Install extensionless headers again.
918 * extensionless headers: Resurrect, add new STL headers.
919 Currently only forward to std/whatever or stl/whatever.
920
921 Mon Jan 30 13:53:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
922
923 * std/bastring.h (basic_string (charT, size_t)): Mark explicit.
924
925 * Makefile.in (install): Set rootme when installing stl headers.
926 Only install *.* from std.
927
928 Wed Jan 25 02:29:30 1995 Jason Merrill <jason@phydeaux.cygnus.com>
929
930 * std/bastring.h (operator=): grab before releasing.
931
932 Mon Jan 23 19:54:02 1995 Ronald F. Guilmette <rfg@segfault.us.com>
933
934 * Makefile.in (install): Also install STL headers.
935
936 Mon Jan 23 04:09:35 1995 Jason Merrill <jason@python.cygnus.com>
937
938 * Makefile.in (list): Set $rootme before calling make.
939
940 Wed Jan 11 19:24:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
941
942 * typeinfo.cc (__rtti_match): Don't try to do pointer arithmetic
943 with a void *.
944
945 * move all headers into std subdirectory and update files accordingly.
946
947 Thu Jan 5 01:51:49 1995 Jason Merrill <jason@phydeaux.cygnus.com>
948
949 * bastring.ccI (basic_string (size_t, capacity)): s/reserve/::reserve/.
950
951 Wed Jan 4 17:27:32 1995 Jason Merrill <jason@phydeaux.cygnus.com>
952
953 * exception: s/string/__string/g.
954
955 * configure.in (MOSTLYCLEAN): Add so_locations.
956
957 * bastring.ccI (basic_string (size_t, capacity)): Fix thinko.
958 (various find functions): Ditto.
959
960 Fri Dec 30 18:04:00 1994 Mike Stump <mrs@cygnus.com>
961
962 * typeinfo.h: Add support for the built-in type bool.
963
964 Fri Dec 30 14:57:02 1994 Mike Stump <mrs@cygnus.com>
965
966 * typeinfo.{cc, h}: Guard against multiple inclusions, and add #p i/i.
967
968 Fri Dec 2 17:56:05 1994 Mike Stump <mrs@cygnus.com>
969
970 * libg++ 2.6.2 released.
971
972 * typeinfo.{cc, h} (__rtti_match): Change interface to compiler
973 for dynamic_casting to gear up for exception handling's use of
974 rtti for argument matching.
975
976 Tue Nov 29 16:49:32 1994 Per Bothner <bothner@kalessin.cygnus.com>
977
978 * configure.in (configdirs): Add stl.
979 * Makefile.in: Build stl, and merge .o files from it.
980
981 Thu Nov 17 15:30:57 1994 Jason Merrill <jason@phydeaux.cygnus.com>
982
983 * bastring.hI: Add iterator, const_iterator, begin() and end() to
984 basic_string.
985
986 Mon Nov 7 16:50:33 1994 Jason Merrill <jason@phydeaux.cygnus.com>
987
988 * Makefile.in, configure.in, config/*.ml, tests/Makefile.in,
989 tests/configure.in: Various changes to handle --enable-shared.
990
991 Fri Nov 4 19:13:33 1994 Mike Stump <mrs@cygnus.com>
992
993 * exception{,.cc}: Added to support catching bad_cast's.
994
995 Thu Nov 3 17:42:13 1994 Mike Stump <mrs@cygnus.com>
996
997 * typeinfo.h (type_info::{name, before}): Add to match draft.
998
999 Thu Nov 3 00:56:34 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1000
1001 * Makefile.in (LIBIBERTY_OBJS): Add strerror.o.
1002
1003 Mon Oct 31 15:33:06 1994 Kung Hsu (kung@mexican.cygnus.com)
1004
1005 * typeinfo.cc: Fix a bug in the final return.
1006 * typeinfo.cc: Fix the ANSI header version number.
1007 * typeinfo.h: ditto.
1008
1009 Fri Oct 28 14:23:12 1994 Mike Stump <mrs@cygnus.com>
1010
1011 * type_info.{cc,h}: Rename to typeinfo to better match current draft.
1012
1013 Wed Oct 26 11:13:53 1994 Kung Hsu (kung@mexican.cygnus.com)
1014
1015 * type_info.h: new header file for rtti.
1016 * type_info.cc: new code file for rtti.
1017 * Makefile.in: change to include type_info.o in libstdc++ for rtti.
1018
1019 Sat Oct 15 16:09:51 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1020
1021 * libg++ 2.6.1 released.
1022
1023 * cinst.hI: Also declare instantiations of out-of-line functions.
1024
1025 Fri Oct 14 15:00:09 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1026
1027 * configure.in (CXXINCLUDES): Use {} to wrap variable name.
1028 * tests/configure.in (CXXINCLUDES): Ditto.
1029
1030 * cinst.hI: Declare instantiations of two-argument functions so
1031 overload resolution will work.
1032 * complext.hI: Always include cinst.hI.
1033
1034 * bastring.ccI (operator>>): Tweak.
1035
1036 Tue Oct 11 17:07:49 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1037
1038 * stddef*: Do the #pragma i/i thang.
1039
1040 * bastring.hI (basic_string::put_at): Use operator[].
1041 (basic_string::terminate): Don't necessarily copy the rep.
1042
1043 * bastring.ccI (operator>>): Avoid shrinking and then re-expanding
1044 the string.
1045
1046 * bastring.*I, sinst.cc: Only allow allocation policy control if
1047 _G_ALLOC_CONTROL is defined.
1048
1049 * Makefile.in (libstdc++.a): Depend on iostream.list and libiberty.a.
1050 (../libio/iostream.list): New rule.
1051 (../libiberty/libiberty.a): New rule.
1052 (OBJS): Add stddef.o.
1053
1054 Sat Oct 8 23:59:45 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1055
1056 * *: First checkin.