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