* call.c (build_over_call): Mark COMPOUND_EXPRs generated for
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob08720080aa04ebd6c4503de9be3e709d6400e334
1 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2             Mark Mitchell <mark@codesourcery.com>
3         
4         * include/bits/std_limits.h: New file.
5         * include/Makefile.am (bits_headers): Add std_limits.h
6         (all-local): std_limits.h is no longer built.
7         (${target_builddir}/std_limits.h): Remove.
8         * include/Makefile.in: Regenerate.
9         * src/limits.cc: New file.
10         * src/Makefile.am (sources): Add limits.cc in replacement of
11         limitsMEMBERS.cc.
12         * src/Makefile.in: Regenerate.
14 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
16         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
17         * config/os/generic/bits/os_defines.h: Likewise.
18         * config/os/gnu-linux/bits/os_defines.h: Likewise.
19         * config/os/hpux/bits/os_defines.h: Likewise.
20         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
21         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
23 2001-08-10   Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
25         * include/bits/std_complex.h (complex<long double>::operator*=,
26         complex<long double>::operator/=): Fix thinko.
28 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
30         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
32 2001-07-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
34         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
35         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
36         * aclocal.m4: Regenerate.
37         * config.h.in: Likewise.
38         * configure: Likewise.
39         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
40         (EXTRA_DIST): Remove hypot.c hypotf.c.
41         * libmath/Makefile.am: Regenerate.
42         * libmath/hypotf.c: Remove.
43         * libmath/hypot.c: Likewise.
44         * libmath/hypotl.c: Likewise.
45         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
46         _GLIBCPP_HAVE_xxx.  Add long double versions.
48 2001-07-26  Stephen M. Webb  <stephen@bregmasoft.com>
50         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
51         setting C_INCLUDE_DIR.
52         * aclocal.m4:  Regenerate.
53         * configure:  Regenerate.
55 2001-07-26  Stephen M. Webb  <stephen@bregmasoft.com>
56             Loren J. Rittle  <ljrittle@acm.org>
57             Phil Edwards  <pme@sources.redhat.com>
59         * include/Makefile.am:  New file encapsulating header generation rules.
60         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
61         * acinclude.m4:  Moved/removed rules for building various headers.
62         * configure.in (AC_OUTPUT):  Add include/Makefile.
63         * mkc++config:  Removed.
65         * testsuite_flags.in:  Changed build-includes to match new scheme.
66         * mknumeric_limits:  Likewise.
67         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
68         * libmath/Makefile.am:  Likewise.
69         * libsupc++/Makefile.am:  Likewise.
70         * src/Makefile.am:  Likewise; removed rules to build headers.
71         * libmath/mathconf.h:  Changed #include'd header names to match.
72         * libmath/stubs.c:  Likewise.
73         * src/gen-num-limits.cc:  Likewise.
75         * configure:  Regenerated.
76         * config.h.in:  Regenerated.
77         * aclocal.m4:  Regenerated.
78         * Makefile.in:  Regenerated.
79         * include/Makefile.in:  Regenerated.
80         * libio/Makefile.in:  Regenerated.
81         * libmath/Makefile.in:  Regenerated.
82         * libsupc++/Makefile.in:  Regenerated.
83         * src/Makefile.in:  Regenerated.
84         * testsuite/Makefile.in:  Regenerated.
86 2001-07-26  Daniel Jacobowitz  <drow@mvista.com>
88         * configure.in: Remove NATIVE, NULL_TARGET.
89         Set CANADIAN only for Canadian crosses.  Set xcompiling
90         for both Canadian crosses and host-x-host crosses.
91         * configure: Regenerated.
93 2001-07-25  H.J. Lu <hjl@gnu.org>
95         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
96         for mips.
98         * config/cpu/mips/bits/atomicity.h: New.
100 2001-07-25  David Edelsohn  <edelsohn@gnu.org>
102         * include/bits/limits_generic.h (int): Set digits and digits10
103         appropriately for word size.
104         (unsigned int,long,unsigned long): Likewise.
106 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
107             Mark Mitchell <mark@codesourcery.com>
109         Merge from cp-parser-branch.
110         * include/bits/basic_string.h:  Qualify symbols with 'template'.
111         * include/bits/basic_string.tcc:  Likewise.
112         * include/bits/fstream.tcc:  Likewise.
113         * include/bits/istream.tcc:  Likewise.
114         * include/bits/sstream.tcc:  Likewise.
115         * include/bits/std_istream.h:  Likewise.
116         * include/bits/stl_iterator.h:  Likewise.
117         * include/bits/streambuf.tcc:  Likewise.
118         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
119         * src/locale.cc:  Likewise.
121 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
122             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
124         * src/gen-num-limits.cc (set_signals_handler): New function.
125         Factor out signals setting.  Set signal handler for SIGILL.
127 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
129         * docs/html/27_io/howto.html:  Fix typo.
130         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
131         * docs/html/faq/index.txt:  Regenerated.
133 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
135         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
136         Initialize _M_string with pointer-and-size constructor, not just
137         pointer.  Fix some comments.
138         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
139         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
140         (test03):  Add embedded-NUL tests.
142         * mkcheck.in:  When printing totals, match the order of the tests.
143         * include/bits/stringfwd.h:  Use same declaration keywords.
144         * include/bits/std_iosfwd.h:  Cosmetic spacing.
146 2001-07-11   Felix Natter  <fnatter@gmx.net>
148         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
149         master copy.
150         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
152 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
154         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
155         * docs/doxygen/user.cfg.in:  Tweaks.
156         * include/bits/c++config:  Documentation comments for Doxygen.
157         * include/bits/char_traits.h:  Likewise.
158         * include/bits/limits_generic.h:  Likewise.
159         * include/bits/std_stdexcept.h:  Likewise.
160         * include/bits/stl_pair.h:  Likewise.
161         * libsupc++/exception:  Likewise.
162         * libsupc++/new:  Likewise.
163         * libsupc++/typeinfo:  Likewise.
164         * libmath/Makefile.am:  Update and correct copyright.
166 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
168         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
169         * aclocal.m4: Regenerate.
170         * configure: Same.
171         
172 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
174         * docs/html/configopts.html:  Fix thinko.
175         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
176         * include/bits/stl_iterator.h:  Fix typo.
178 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
180         * docs/html/explanations.html:  New file.
181         * docs/html/configopts.html:  Link to it to provide more notes
182         on cstdio.  Minor markup and spacing fixes.
183         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
185 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
187         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
188         for _Expr template template argument.
189         (_Expr::operator-): Likewise.
190         (_Expr::operator~): Likewise.
191         (_Expr::operator!): Likewise.
192         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
194 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
196         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
197         * libmath/Makefile.in: Regenerate.
198         * libmath/expf.c: Remove.
199         * libmath/atan2f.c: Likewise.
201 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
203         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
204         expansion (thanks to Alexandre Oliva).
205         * aclocal.m4: Regenerate.
206         * configure: Regenerate.
208 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
210         libstdc++/3284
211         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
212         * aclocal.m4: Regenerate.
213         * configure: Regenerate.
215 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
217         libstdc++/3243
218         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
219         staged/installed area to support -I-.  Document.
220         * aclocal.m4: Regenerate.
221         * configure: Regenerate.
223 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
225         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
226         block, this time for real.
227         * include/backward/algobase.h:  Likewise.
228         * include/backward/alloc.h:  Likewise.
229         * include/backward/bvector.h:  Likewise.
230         * include/backward/defalloc.h:  Likewise.
231         * include/backward/deque.h:  Likewise.
232         * include/backward/function.h:  Likewise.
233         * include/backward/hash_map.h:  Likewise.
234         * include/backward/hash_set.h:  Likewise.
235         * include/backward/hashtable.h:  Likewise.
236         * include/backward/heap.h:  Likewise.
237         * include/backward/iterator.h:  Likewise.
238         * include/backward/list.h:  Likewise.
239         * include/backward/map.h:  Likewise.
240         * include/backward/multimap.h:  Likewise.
241         * include/backward/multiset.h:  Likewise.
242         * include/backward/pair.h:  Likewise.
243         * include/backward/rope.h:  Likewise.
244         * include/backward/set.h:  Likewise.
245         * include/backward/slist.h:  Likewise.
246         * include/backward/stack.h:  Likewise.
247         * include/backward/strstream:  Likewise.
248         * include/backward/tempbuf.h:  Likewise.
249         * include/backward/tree.h:  Likewise.
250         * include/backward/vector.h:  Likewise.
251         * include/bits/pthread_allocimpl.h:  Likewise.
252         * include/bits/std_algorithm.h:  Likewise.
253         * include/bits/std_bitset.h:  Likewise.
254         * include/bits/std_deque.h:  Likewise.
255         * include/bits/std_functional.h:  Likewise.
256         * include/bits/std_iterator.h:  Likewise.
257         * include/bits/std_list.h:  Likewise.
258         * include/bits/std_map.h:  Likewise.
259         * include/bits/std_memory.h:  Likewise.
260         * include/bits/std_numeric.h:  Likewise.
261         * include/bits/std_queue.h:  Likewise.
262         * include/bits/std_set.h:  Likewise.
263         * include/bits/std_stack.h:  Likewise.
264         * include/bits/std_utility.h:  Likewise.
265         * include/bits/std_vector.h:  Likewise.
266         * include/bits/stl_algo.h:  Likewise.
267         * include/bits/stl_algobase.h:  Likewise.
268         * include/bits/stl_alloc.h:  Likewise.
269         * include/bits/stl_bvector.h:  Likewise.
270         * include/bits/stl_construct.h:  Likewise.
271         * include/bits/stl_deque.h:  Likewise.
272         * include/bits/stl_function.h:  Likewise.
273         * include/bits/stl_heap.h:  Likewise.
274         * include/bits/stl_iterator.h:  Likewise.
275         * include/bits/stl_iterator_base_funcs.h:  Likewise.
276         * include/bits/stl_iterator_base_types.h:  Likewise.
277         * include/bits/stl_list.h:  Likewise.
278         * include/bits/stl_map.h:  Likewise.
279         * include/bits/stl_multimap.h:  Likewise.
280         * include/bits/stl_multiset.h:  Likewise.
281         * include/bits/stl_numeric.h:  Likewise.
282         * include/bits/stl_pair.h:  Likewise.
283         * include/bits/stl_pthread_alloc.h:  Likewise.
284         * include/bits/stl_queue.h:  Likewise.
285         * include/bits/stl_raw_storage_iter.h:  Likewise.
286         * include/bits/stl_relops.h:  Likewise.
287         * include/bits/stl_set.h:  Likewise.
288         * include/bits/stl_stack.h:  Likewise.
289         * include/bits/stl_tempbuf.h:  Likewise.
290         * include/bits/stl_threads.h:  Likewise.
291         * include/bits/stl_tree.h:  Likewise.
292         * include/bits/stl_uninitialized.h:  Likewise.
293         * include/bits/stl_vector.h:  Likewise.
294         * include/bits/type_traits.h:  Likewise.
295         * include/ext/hash_map:  Likewise.
296         * include/ext/hash_set:  Likewise.
297         * include/ext/rope:  Likewise.
298         * include/ext/ropeimpl.h:  Likewise.
299         * include/ext/slist:  Likewise.
300         * include/ext/stl_hash_fun.h:  Likewise.
301         * include/ext/stl_hashtable.h:  Likewise.
302         * include/ext/stl_rope.h:  Likewise.
303         * src/bitset.cc:  Likewise.
304         * src/strstream.cc:  Likewise.
306 2001-06-26  Felix Natter  <f.natter@ndh.net>
308         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
310 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
311             Kurt Garloff <garloff@suse.de>
313         PR libstdc++/3377
314         * src/cmath.cc:  New [version of an old] file; instantiate
315         __cmath_power to start with.
316         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
317         * Makefile.in:  Regenerate.
318         * libio/Makefile.in:  Regenerate.
319         * libmath/Makefile.in:  Regenerate.
320         * libsupc++/Makefile.in:  Regenerate.
321         * src/Makefile.in:  Regenerate.
322         * testsuite/Makefile.in:  Regenerate.
324 2001-06-24  Gabriel Dos Reis  <gdr@codesourcery.com>
325             David Edelsohn <dje@watson.ibm.com>
327         * libmath/stubs.c: New file.
328         * libmath/Makefile.am (libmath_la_SOURCES): Add stubs.c.
329         * libmath/Makefile.in: Regenerate.
331 20010617 Release Manager
333         * GCC 3.0 Released.
335 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
337         * configure.in (auxdir): Replace by ...
338         (toprel): ... new variable.
339         (toplevel_srcdir): Construct from $toprel.
340         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
341         rather than .. to locate gcc source directory.
342         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
343         * aclocal.m4, configure: Rebuilt.
345 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
347         (Approved by Mark and Benjamin.  Applied by Loren.)
349         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
350         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
351         and _GLIBCPP_mutex_address.
352         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
353         once-only runtime initialization of _M_lock mutex when
354         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
355         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
356         for __GTHREAD_MUTEX_INIT_FUNCTION case.
358 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
360         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
361         * aclocal.m4: Regenerate.
362         * configure: Regenerate.
363         * include/bits/c++config (__GLIBCPP__): Update date.
364         
365 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
367         * include/bits/fpos.h (fpos::operator-): Don't return reference,
368         return original, non-modified version.
369         (fpos::operator+): Same.
370         * testsuite/27_io/fpos.cc: Add test.
371         
372 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
374         libstdc++/2071
375         * porting.texi: Add documentation about libstdc++-v3-specific
376         macros that are currently included in os_defines.h files.
378         * config/basic_file_stdio.h (sys_getc): New method.
379         (sys_ungetc): New method.
380         * include/bits/basic_file.h: (sys_getc): New method signature.
381         (sys_ungetc): New method signature.
383         * include/bits/fstream.tcc (underflow): Add conditional code
384         paths which avoid using short seeks on streams (especially
385         useful when the stream might be interactive or a pipe).  At
386         the moment, this alternate path only avoids seeking when the
387         ``buffer size'' of underflow() is 1 since the C standard only
388         guarantees buffer space for one ungetc (this technique could
389         be extended since *-*-solaris* supports buffering for 4 calls
390         to ungetc and *-*-*bsd* supports buffering limited only by
391         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
392         in a port's os_defines.h file for this alternate path to even
393         be considered.  As a bonus, the idiom of using getc/ungetc
394         requires no system calls whereas fseek maps to one or two
395         system call(s) on many platforms.
397         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
398         Define it.
399         * config/os/solaris/solaris2.5/bits/os_defines.h
400         (_GLIBCPP_AVOID_FSEEK): Likewise.
401         * config/os/solaris/solaris2.6/bits/os_defines.h
402         (_GLIBCPP_AVOID_FSEEK): Likewise.
403         * config/os/solaris/solaris2.7/bits/os_defines.h
404         (_GLIBCPP_AVOID_FSEEK): Likewise.
406 2001-06-12   Benjamin Kosnik  <bkoz@redhat.com>
408         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
409         AC_TRY_COMPILE, so that the built compiler is checked, and
410         bootstraps or cross compiles with an older compile still work.
411         * aclocal.m4: Regenerate.
412         * configure: Regenerate.
414 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
416         libstdc++/3142
417         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
419         libstdc++/3141
420         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
422         libstdc++/3140
423         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
425         libstdc++/3139
426         * include/bits/limits_generic.h: Fix as per DR 184.
428 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
430         libstdc++/3126
431         * include/bits/basic_string.h (string::compare): Adjust signatures
432         as per DR 5.
433         * include/bits/basic_string.tcc: And here.
435         libstdc++/2346
436         * config/c_io_stdio.h: Remove whitespace.
437         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
438         (test02): Add regression.
439         * testsuite/27_io/istream_seeks-3.tst: New file.
440         
441 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
443         * README:  Update to reflect reality.
444         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
445         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
446         * aclocal.m4:  Regenerate.
447         * configure:  Regenerate (with 2.13).
449 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
451         libstdc++/3114
452         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
453         per DR 129.
454         * include/bits/istream.tcc (istream::seekg): Same.
455         * testsuite/27_io/istream_seeks.cc: Fix.
457         libstdc++/3113
458         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
459         (binder1st): Same.
460         * include/bits/std_queue.h: Add c++config.h.
461         * testsuite/20_util/binders.cc: New test.
462         
463 2001-06-11  Matthias Klose  <doko@debian.org>
464             Phil Edwards  <pme@sources.redhat.com>
466         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
467         (main script):  Echo more information.
469 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
471         * include/c_std/bits/std_cwchar.h: Alphabetize.
472         * include/bits/char_traits.h: Tweak.
473         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
474         everything used by std_cwchar.h.
475         * aclocal.m4: Regenerate.
476         * configure.in: Regenerate.
477         * config.h.in: Regenerate.
479 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
481         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
482         Add checking for strtof, _Exit in stdlib.h
483         * aclocal.m4: Regenerate.
484         * configure.in: Regenerate.
485         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
486         (snprintf): Put C99 functions into __gnu_cxx namespace.
487         (vfscanf): Same.
488         (vscanf): Same.
489         (vsnprintf): Same.
490         (vsscanf): Same.
491         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
492         for C99 functions within _GLIBCPP_USE_C99 guard.
493         (_Exit): Same.
494         (strtof): Same.
495         (strtold): Same.
496         * include/bits/locale_facets.tcc: Check if C99 is enabled.
497         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
498         C99 guard.
499         * include/c_std/bits/cmath.tcc: Formatting tweak.
500         * include/c_std/bits/std_cmath.h: Same.
502 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
504         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
505         
506 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
507             Stephen L Moshier  <moshier@mediaone.net>
509         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
510         nothing, as in autoconf 2.50.
511         * configure: Rebuilt.
513 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
515         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
516         include std_cstddef.
517         * include/c_std/bits/std_ctime.h: Same.
518         * include/c_std/bits/std_cstring.h: Same.
519         * include/c_std/bits/std_cstdlib.h: Same.
520         
521         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
522         * include/c_std/bits/std_cctype.h: Remove isblank.
524 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
526         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
527         fgetws.
528         * aclocal.m4: Regenerate.
529         * configure: Regenerate.
530         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
531         injection, guard fgetwc, fgetws.
532         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
533         * include/c_std/bits/std_clocale.h: And here.
534         * include/c_std/bits/std_cctype.h: And here.
535         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
537         * config/basic_file_stdio.h: Don't include unistd.h.
538         * config/c_io_stdio.h: Don't use compatibility headers.
539         * libsupc++/eh_terminate.cc: Qualify abort.
540         (__terminate): And here.
541         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
542         
543 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
545         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
547 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
549         libstdc++/2767
550         libstdc++/2989
551         libstdc++/2992
552         * include/std/*: Add copyright notice.
553         * include/c_std/bits/*: Use using statements instead of extern "C".
554         * include/c_std/bits/std_cmath.h: Don't overload double versions
555         of math functions with __buitin versions, use global version to
556         prevent ambiguities. Remove define hacks.
557         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
558         functions that have changed signatures and std::
559         declarations. Remove define hacks.
560         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
561         __builtins in std::. Remove define hacks.
562         * testsuite/17_intro/headers_c.cc: Add tests.
563         * testsuite/17_intro/headers_c++.cc: Add test.
564         
565 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
566             John David Anglin  <dave@hiauly1.hia.nrc.ca>
568         c++/3082
569         * libsupc++/eh_alloc.cc: Ensure that required macros are
570         defined before including gthr.h.  Ensure that we get the
571         version of gthr.h for which we know how to provide a
572         configuration.
573         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
574         code path into line with the current EH model.  Use std, where
575         appropriate.
577 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
578             John David Anglin  <dave@hiauly1.hia.nrc.ca>
580         * config/threads-no.h: Remove file.
581         * config/threads-posix.h: Remove file.
583         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
584         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
585         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
586         * config.h.in: Regenerate.
588         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
589         setup and use gthr*.h files.  In particular, make gthr.h files
590         namespace-clean in the staging area (they don't have to be for
591         libgcc.a).
592         * aclocal.m4: Regenerate.
593         * configure: Regenerate.
595         * src/Makefile.am (build_headers): Remove bits/c++threads.h
596         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
597         * src/Makefile.in: Regenerate.
599         * include/bits/c++config: Cleanup threading configuration macros.
600         In particular, define __STL_GTHREADS macro which controls...
601         * include/bits/stl_threads.h: ...a brand new gthr.h-based
602         configuration here.
604         * config/c_io_stdio.h: Include staged gthr.h instead of local
605         thread configuration file.  Always use __gthread_mutex_t
606         instead of __mutext_type (or int).
607         * include/bits/std_fstream.h: Likewise.
609         * docs/html/17_intro/howto.html: Remove placeholder comment in
610         case this configuration patch didn't make it.  Add advice that
611         section only applies if configured with --enable-threads.
612         * docs/html/23_containers/howto.html: Reword to make clear
613         that _PTHREADS is no longer required for any port to be
614         correctly using STL with threads.  Add advice that section
615         only applies if configured with --enable-threads.
617 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
619         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
620         
621 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
623         libstdc++/3045
624         * include/bits/basic_ios.tcc: Formatting tweaks.
625         * include/bits/ios_base.h: Formatting tweaks.
626         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
627         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
628         * src/globals.cc: Allocate filebufs for standard streams here.
629         (buf_cout, buf_cin, buf_cerr): Like so.
630         (buf_wcout, buf_wcin, buf_wcerr): And so.
631         * testsuite/27_io/ios_init.cc: Add.
632         
633 2001-06-04  Brendan Kehoe  <brendan@zen.org>
634             Benjamin Kosnik  <bkoz@redhat.com>
635             
636         libstdc++/3017
637         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
638         for generic ctype virtuals.
639         * src/locale.cc: Minor tweaks, naming consistency.
640         * testsuite/22_locale/ctype.cc: Add test.
641             
642 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
643             Phil Edwards  <pme@sources.redhat.com>
645         PR libstdc++/3035 and PR libstdc++/3036
646         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
647         to LWG DR 181 and 265.
649 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
651         PR libstdc++/3034
652         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
653         equal_range):  Add const overloads as per LWG DR 214.
654         * include/bits/stl_set.h:  Likewise.
656 2001-06-04  Brendan Kehoe  <brendan@zen.org>
657             Phil Edwards  <pme@sources.redhat.com>
659         PR libstdc++/3018
660         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
661         comparison; all positions must be < _Nb.
662         * testsuite/23_containers/bitset_members.cc:  New file.
664 2001-06-04  Brendan Kehoe  <brendan@zen.org>
666         PR libstdc++/3016
667         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
668         ctors to match the standard.
670 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
672         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Re-apply change
673         from 2001-05-30, accidentally reverted later that day.
674         * configure: Regenerate.
676         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
677         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
678         SUN make VPATH peculiarities.
679         * libsupc++/Makefile.in: Regenerate.
681 2001-05-31  scott snyder  <snyder@fnal.gov>
683         libstdc++/2976
684         * include/bits/istream.tcc: Include std_ostream.h.
685         
686 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
688         libstdc++/2997
689         * src/bitset.cc: Qualify size_t with std::.
690         
691 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
693         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
694         (_GLIBCPP_BUGGY_COMPLEX): Remove.
695         * config.h.in: Regenerate.
696         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
697         * aclocal.m4: Regenerate.
698         * configure.in: Don't call it.
699         * configure: Regenerate.
701         libstdc++/2970
702         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
703         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
704         New test.
706         libstdc++/2985
707         * include/bits/std_complex.h: Include sstream. Put definitions for
708         complex inserters and extractors here, and remove them from...
709         * src/complex_io.cc: ...here.
710         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
711         parameter.
712         (basic_ios::__numget_type): Same.
713         * include/bits/std_istream.h: Same.
714         * include/bits/std_ostream.h: Same.
715         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
716         class iterator template arguments.
717         * src/locale-inst.cc: Add explicit has_facet instantiations.
718         * include/bits/basic_ios.h (_M_get_fnumput): Remove.
719         (_M_get_fnumget): Remove.
720         (basic_ios::_M_check_facet): New function.
721         (basic_ios::_M_cache_facets): New function.
722         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
723         (basic_ios::imbue): Call _M_cache_facets.
724         (basic_ios::init): Same.
725         * include/bits/istream.tcc: Format, use _M_check_facet.
726         * include/bits/ostream.tcc: Same.
727         * include/bits/locale_facets.tcc (__output_float): Change
728         signature, add _Traits.
729         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
730         New test.
731         
732 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
734         * include/bits/c++config (__USE_MALLOC): Do not define it.
735         Document why not and give pointers to more information.
737         * docs/html/23_containers/howto.html: Update documentation
738         to reflect recent understanding of problem.
739         * docs/html/17_intro/howto.html: Likewise.
741 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
743         * docs/doxygen/user.cfg.in:  Minor addition.
744         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
745         stuff first.
746         * docs/html/install.html:  Update for 3.0.  HTML fixups.
747         * docs/html/17_intro/howto.html:  Likewise.
748         * docs/html/18_support/howto.html:  Likewise.
749         * docs/html/19_diagnostics/howto.html:  Likewise.
750         * docs/html/20_util/howto.html:  Likewise.
751         * docs/html/23_containers/howto.html:  Likewise.
752         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
753         * docs/html/25_algorithms/howto.html:  Likewise.
754         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
755         * docs/html/27_io/howto.html:  Likewise.
756         * docs/html/ext/howto.html:  Likewise.
757         * docs/html/faq/index.html:  Likewise.
758         * docs/html/faq/index.txt:  Regenerate.
759         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
760         Doxygen-created documentation.
762 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
764         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
765         get_multilibs to find gcc.
766         
767 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
769         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
770         * aclocal.m4:  Regenerate.
771         * configure:  Regenerate.
773 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
775         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
776         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
778 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
780         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
781         * include/c_std/bits/std_cstdlib.h: Same.
782         * include/c_std/bits/std_cwchar.h: Same.
784 2001-05-30  Hans-Peter Nilsson  <hp@axis.com>
786         * src/Makefile.am (VPATH): Delimit with ":", not space.
787         * src/Makefile.in: Regenerate.
789         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
790         make isn't found.
791         * configure: Regenerate.
793 2001-05-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
795         * include/c_std/bits/std_cmath.h (sqrt): Change __builtin_fsqrt to
796         __builtin_sqrt. 
798 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
800         * include/c_std/bits/std_cmath.h (sqrt): #undef.
802 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
804         * mknumeric_limits: Stop if gen-num-limits dies.
806 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
808         other/2931
809         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
810         * aclocal.m4: Regenerate.
811         * configure: Same.
813 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
814             Phil Edwards  <pme@sources.redhat.com>
815             Alexandre Oliva  <aoliva@redhat.com>
817         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
818         in an amd-safe manner. Revert glibcpp_prefixdir.
819         
820 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
822         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
823         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
824         variants. 
826 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
828         libstdc++/2830
829         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
830         * include/bits/ostream.tcc: Format to match istream.tcc.
831         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
832         
833 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
835         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
836         malloc with std:: .
837         (__cxa_free_exception):  Likewise with free.
839 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
841         * include/c_std/bits/std_cstring.h: #define away all global
842         functions we will redeclare in namespace `std'.
843         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
844         std::memset, instead of memset.
845         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
846         not plain `strcmp'.
847         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
848         plain `strcpy'.
849         
850 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
852         libstdc++/2832
853         * include/bits/basic_ios.tcc: Small tweak.
854         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
855         ctors and dtors, and rdbuf settings.
856         (ofstream): Same.
857         (fstream): Same.
858         * include/bits/std_sstream.h: Same, but for stringstream classes.
859         * testsuite/27_io/ostringstream_members.cc: New.
860         * testsuite/27_io/stringstream_members.cc: New.
861         * testsuite/27_io/fstream_members.cc: New. 
862         * testsuite/27_io/ifstream_members.cc: Add test.
863         * testsuite/27_io/istringstream_members.cc: Add test.
864         * testsuite/27_io/ofstream_members.cc: Add test.
865         
866 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
868         * include/bits/c++config(__NO_MATH_INLINES): Move to...
869         * config/os/gnu-linux/bits/os_defines.h: ...here.
871 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
873         * include/bits/c++config (__NO_MATH_INLINES): New macro.
874         * testsuite/26_numerics/fabs_inline.cc (main): New test.
876 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
878         libstdc++/2841
879         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
880         ld_library_path.  
881         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
882         (libstdc++-v3-finish): Remove.
883         (libstdc++-v3_exit): Remove.
885 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
887         * docs/html/documentation.html:  Point to doxygen output.
889 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
891         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
893         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
894         arguments to be non-null.
895         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
896         try allocations if allocated size is greater than zero.
897         (filebuf::_M_filebuf_init): Change to
898         (filebuf::_M_allocate_file): Which is what it does now. 
899         (filebuf::_M_allocate_bufers): Change to
900         (filebuf::_M_allocate_internal_buffer): This, and create
901         (filebuf::_M_allocate_pback_buffer): New.
902         (filebuf::_M_destroy_internal_buffer): New.
903         (filebuf::_M_buf_allocated): New data member.
904         (filebuf::setbuf): Use new logic, allow use of external buffer.
905         * testsuite/27_io/stringbuf_virtuals.cc: New file.
906         * testsuite/27_io/filebuf_virtuals.cc: New file.
908 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
910         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
911         __glibcpp_memchr.
912         (strchr): Same, but to __glibcpp_strchr.
913         (strpbrk): Same.
914         (strrchr): Same.
915         (strstr): Same.  
916         * include/c_std/bits/std_cwchar.h (wcschr): Same.
917         (wcsbrk): Same.
918         (wcsrchr): Same.
919         (wcsstr): Same.
920         (wmemchr): Same.
922 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
924         * testsuite/21_strings/c_strings.cc (main): Fix.
925         
926 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
928         * acinclude.m4:  Fix --help spacing, correct comments.
929         * aclocal.m4:  Regenerate.
930         * configure:  Regenerate.
931         * mkcheck.in:  Add usage comments.
932         * docs/html/documentation.html:  Point to doxygen'd tarball.
934 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
936         * testsuite/README: Add notes.
938         * src/Makefile.am (libstdc++.INC): Remove.
939         * src/Makefile.in: Regenerate.
941         Phil Edwards <pedwards@disaster.jaj.com>
942         * mkcheck.in: Add missing '#'.
944 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
946         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
947         appropriately for remote testing and testing installed files without
948         a build dir.
950 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
952         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
953         amd glibcpp_prefixdir with absolute paths.
955         * include/bits/c++config (__GLIBCPP__): Bump.
956         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
958 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
960         * include/bits/std_valarray.h (valarray<>::operator[] const):
961         Return a const reference.
962         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
964 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
966         * configure.target (ATOMICITYH): Actually use AIX-specific code on
967         earlier versions of AIX 4.*.
969 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
971         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
972         output_file based on the name of the testcase.
974 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
976         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
977         gluefile and use it if needs_status_wrapper is set.
979 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
981         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
982         versions of AIX.
984 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
986         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
987         on earlier versions of AIX.
989 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
991         * testsuite_flags.in (query): Add backwards, ext directories.
993 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
995         * porting.texi: Correct documentation about handling
996         _LARRGEFILE_SOURCE and its ilk.
997         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
998         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
999         __EXTENSIONS__.
1000         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1001         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1003 001-05-15  Zack Weinberg  <zackw@stanford.edu>
1004         
1005         * testsuite/21_strings/inserters_extractors.cc,
1006         testsuite/27_io/istream_unformatted.cc,
1007         testsuite/27_io/stringstream.cc:
1008         Replace multi-line string constants with C89-style
1009         concatenated string constants.
1011 2001-05-14  Richard Henderson  <rth@redhat.com>
1013         * mknumeric_limits: Build with -fno-exceptions.
1015 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
1017         Switch over to new harness.
1018         * testsuite_flags.in: Tweaks via Gaby.
1019         * testsuite/Makefile.am: Change tool to libstdc++-v3.
1020         (EXPECT): Quote directly.
1021         (RUNTEST): Same.
1022         * configure.in: Output testsuite_flags.
1023         * acinclude.m4: Substitute src, bld, and prefix dirs.
1024         Remove glibcpp_expect, glibcpp_runtestflags.
1025         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1026         * mkcheck.in: Port to new interface.
1027         
1028         * aclocal.m4: Regerate.
1029         * configure: Regnerate.
1030         * Makefile.in: Regnerate.
1031         * */Makefile.in: Regenerate.
1032         
1033         * tests_flags.in: Remove.
1034         * testsuite/lib/libstdc++.exp: Remove.
1035         * testsuite/libstdc++.tests/tests.exp: Remove.
1037 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1039         * configure.target: Remove detection of AIX pthread multilib, now
1040         obtained from `gcc -v'.
1042 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1044         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1045         size.  Add hpux case for HP size.
1047 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
1049         * testsuite_flags.in: New, simplified interface.
1050         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1051         * testsuite/libstdc++-v3.dg: Add.
1052         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
1054 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
1056         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1057         * testsuite/config/default.exp: Update bugs email address.
1058         
1059 2001-05-11  Richard Henderson  <rth@redhat.com>
1061         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
1062         all pointer encoding logic.
1063         (struct lsda_header_info): Add ttype_base.
1064         (get_ttype_entry): Use it instead of a context.
1065         (check_exception_spec): Likewise.
1066         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
1067         the c++ exception header for __cxa_call_unexpected.
1068         (__cxa_call_unexpected): Use it.
1070 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
1072         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1073         libgloss_link_flags to find crt0.o for targets that use libgloss
1074         instead of newlib.
1075         Change LDFLAGS to LIBS.
1076         Consistently name procedures libstdc++-XXX.
1077         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1078         
1079 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
1081         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1082         (strchr): Same.
1083         (strpbrk): Same.
1084         (strrchr): Same.
1085         (strstr): Same.
1086         * include/c_std/bits/std_cwchar.h (wcschr): Same.
1087         (wcsbrk): Same.
1088         (wcsrchr): Same.
1089         (wcsstr): Same.
1090         (wmemchr): Same.
1091         * testsuite/21_strings/c_strings.cc: Add tests.
1092         
1093 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
1095         libstdc++/2523
1096         * include/bits/std_fstream.h (basic_filebuf): Change signature.
1097         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1098         to int_type, pass in buffer size info.
1099         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1100         unbuffered situation.
1101         (underflow): Remove codecvt bits for the time being.
1102         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1103         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1104         values from iterators, clean.
1105         * src/locale.cc: Ditto.
1106         * include/bits/sbuf_iter.h: Format.
1107         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1108         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1109         * testsuite/27_io/filebuf.cc: Tweaks.
1110         * testsuite/27_io/filebuf_members.cc: Tweaks.
1111         
1112 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
1114         * config/os/solaris/solaris2.7/bits/os_defines.h
1115         (_LARGEFILE_SOURCE): Define it.
1117 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
1119         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1120         -prefer-non-pic depending on whether libtool has shared libraries
1121         enabled or disabled.
1122         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1123         $(LIBSUPCXX_PICFLAGS).
1124         * configure, */Makefile.in: Rebuilt.
1126 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1128         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1129         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1131         * include/bits/std_sstream.h (stringbuf): Leak
1132         copied string.
1133         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1134         
1135 2001-05-01  Tom Browder  <tbrowder@home.com>
1137         * docs/html/ext/howto.html:  Fix typo.
1139 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
1141         * testsuite/libstdc++.tests/tests.exp: Add comment.
1143 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
1145         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1147 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1149         * porting.texi: Use the GFDL.
1151 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1153         libstdc++/2627 
1154         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1155         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1156         specializations.
1158 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1160         libstdc++/2964
1161         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1163 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
1165         * docs/doxygen/run_doxygen:  Minor tweaks.
1166         * docs/doxygen/style.css:  New file.
1167         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
1168         latest parameters available.  Use style.css.
1170 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1172         * docs/doxygen/mainpage.doxy: New.
1173         * docs/doxygen/user.cfg.in: Change default configuration. Single
1174         frame, other tweaks.
1176 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
1178         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1179         Indicate obsolete nature of thelist for G++ 3.0.
1181 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
1183         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1184         target_thread_file with `gcc -v'.
1185         * aclocal.m4, configure: Rebuilt.
1187 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
1189         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1190         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1191         * include/c_std/bits/std_cwchar.h (std): Same.
1192         * acconfig.h (std): Remove c99 injection into std.
1193         * config.h.in: Regenerate.
1194         
1195         * testsuite/README: Fix typo.
1197         * include/bits/codecvt.h: Remove warnings.
1198         
1199 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1201         * include/ext/slist: Include required header files. 
1203 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
1205         * include/c_std/bits/std_cerrno.h (errno): Define macro from
1206         identifier declared with external linkage, if needed.
1207         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1208         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1210 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
1212         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1213         re-configures find the build compiler.
1214         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1215         libstdc++/2609.
1216         * aclocal.m4: Regenerate.
1217         * configure: Regenerate.
1219 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1221         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1222         support is enabled correctly before long long is activated.
1223         * aclocal.m4: Regenerate.
1224         * configure: Regenerate.
1225         
1226         * include/backward/backward_warning.h: Format correctly.
1228         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1229         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1230         * testsuite/26_numerics/c99_macros.cc: Remove.
1231         
1232 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
1234         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
1235         __iterator_category.
1237 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1239         * acconfig.h (_GLIBCPP_USE_C99): Add.
1240         * config.h.in: Regenerate.
1241         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1242         9899: 1999 support.
1243         * aclocal.m4: Regenerate.
1244         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1245         * configure: Regenerate.
1246         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1247         * configure: Regenerate.
1248         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1249         into c99.
1250         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1251         namespace.
1252         * include/c_std/bits/std_cstdlib.h: Same.
1253         * docs/html/configopts.html: Update.
1254         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1255         math.h
1256         (test_c99_classify): Add.
1257         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1258         (_ISOC99_SOURCE): Remove.
1260         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1261         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1262         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1263         * aclocal.m4: Regenerate.
1264         * configure: Regenerate.
1265         
1266 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
1268         * Makefile.am (doxygen):  Assume script is missing execute perms.
1269         * Makefile.in:  Regenerated.
1270         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
1272 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
1274         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1276 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1278         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1279         * testsuite/23_containers/set_operators.cc: Same.
1281         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1282         default.
1283         (__GLIBCPP__): Bump from value of last release.
1284         * include/bits/concept_check.h: Default to off, edit comments.
1285         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1286         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
1287         * src/Makefile.in: Regenerate.
1288         
1289 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
1291         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1292         Properly uglify member.
1294 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
1296         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
1297         of EqualityCo
1298         mparableConcept.
1300 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
1302         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
1303         * include/bits/concept_check.h:  Uglify.
1304         * include/bits/stl_algo.h:  Likewise.
1305         * include/bits/stl_algobase.h:  Likewise.
1306         * include/bits/stl_deque.h:  Likewise.
1307         * include/bits/stl_heap.h:  Likewise.
1308         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1309         * include/bits/stl_list.h:  Likewise.
1310         * include/bits/stl_map.h:  Likewise.
1311         * include/bits/stl_multimap.h:  Likewise.
1312         * include/bits/stl_multiset.h:  Likewise.
1313         * include/bits/stl_numeric.h:  Likewise.
1314         * include/bits/stl_queue.h:  Likewise.
1315         * include/bits/stl_set.h:  Likewise.
1316         * include/bits/stl_stack.h:  Likewise.
1317         * include/bits/stl_vector.h:  Likewise.
1318         * include/ext/hash_map:  Likewise.
1319         * include/ext/hash_set:  Likewise.
1320         * include/ext/slist:  Likewise.
1322 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
1324         * testsuite/23_containers/set_operators.cc: Just try to compile.
1325         Mark as XFAIL.   
1326         * testsuite/23_containers/map_operators.cc: Same.
1328 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
1330         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1331         output_file.
1332         (dg-test): Revert rth's change.
1334 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
1336         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1337         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1339 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
1341         * testsuite/README: Add DejaGnu specific documentation.
1343 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
1344         
1345         * acinclude.m4: AC_CHECK_TOOL for expect.
1346         * aclocal.m4: Regenerate.
1347         * configure: Regenerate.
1348         * testsuite/Makefile.am (RUNTEST): Use substituted.
1349         (EXPECT): Same.
1351         * configure.in: Remove xcompiling substitution.
1352         * tests_flags.in (CROSS_LIB_PATH): Remove.
1353         (xcompiling): Remove.
1354         (CXX): Use substituted CXX.
1355         
1356 2001-04-11  Richard Henderson  <rth@redhat.com>
1358         * testsuite/lib/libstdc++.exp: Specify path for output_file.
1360 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
1362         * include/bits/std_valarray.h(valarray<>::operator[]): Make
1363         inline. 
1365 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1366   
1367         * testsuite/25_algorithms/equal.cc: New test.
1369 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
1371         * stl_algobase.h (std::equal): avoid use of possibly-undefined
1372         operator != (one line patch).
1374 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
1376         * include/backward/backward_warning.h: Re-enable.
1378 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
1379             Alexandre Oliva  <aoliva@redhat.com>
1380         
1381         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1383 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1385         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1386         * testsuite/26_numerics/c99_macros.cc: Add test.
1388 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
1390         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
1391         * docs/html/faq/index.txt:  Regenerated.
1393 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
1395         * include/backward/backward_warning.h: Temporarily disable until
1396         g++ testsuite changes go in.
1397         * tests_flags.in (CROSS_LIB_PATH): Add.
1399 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1401         Warn when using backward headers.
1402         * include/backward/algo.h: Include warning file.        
1403         * include/backward/vector.h: Same.
1404         * include/backward/tree.h: Same.
1405         * include/backward/tempbuf.h: Same.
1406         * include/backward/strstream: Same.
1407         * include/backward/streambuf.h: Same.
1408         * include/backward/stream.h: Same.
1409         * include/backward/stack.h: Same.
1410         * include/backward/slist.h: Same.
1411         * include/backward/set.h: Same.
1412         * include/backward/rope.h: 
1413         * include/backward/queue.h: Same.
1414         * include/backward/pair.h: Same.
1415         * include/backward/ostream.h: Same.
1416         * include/backward/new.h: Same.
1417         * include/backward/multiset.h: Same.
1418         * include/backward/multimap.h: Same.
1419         * include/backward/map.h: Same.
1420         * include/backward/list.h: Same.
1421         * include/backward/iterator.h: Same.
1422         * include/backward/istream.h: Same.
1423         * include/backward/iostream.h: 
1424         * include/backward/iomanip.h: 
1425         * include/backward/heap.h: Same.
1426         * include/backward/hashtable.h: 
1427         * include/backward/hash_set.h: 
1428         * include/backward/hash_map.h: 
1429         * include/backward/function.h: 
1430         * include/backward/fstream.h: 
1431         * include/backward/deque.h: 
1432         * include/backward/defalloc.h: Same.
1433         * include/backward/complex.h: Same.
1434         * include/backward/bvector.h: 
1435         * include/backward/alloc.h: 
1436         * include/backward/algobase.h: Same.
1438         * include/backward/backward_warning.h: New file.
1439         * src/Makefile.am (backward_headers): Add backward_warning.h
1440         * src/Makefile.in: Regenerate.
1442 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1444         * src/Makefile.am (myinstalldirs): Make sure backward directory is
1445         created.
1446         (myinstallheaders): Install backward headers in backward directory.
1447         * src/Makefile.in: Regenerate.
1448         
1449 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1451         Prepare for libstdc++-2.92.
1452         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1453         * docs/html/configopts.html: Fix formatting.
1454         * README (file): Updates.
1455         * include/bits/c++config (__GLIBCPP__): Update.
1457 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
1459         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
1461 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
1463         * docs/doxygen/user.cfg.in:  Extract all non-private members;
1464           reduce confusing documentation output.
1466 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
1468         * include/backward/fstream.h: Add missing semicolons.
1470 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1472         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1473         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1474         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1475         (ios_base::Init::_S_ios_create): New.
1476         (ios_base::Init::_S_ios_destroy): New.  
1477         * include/bits/std_fstream.h: Change ctor args.
1478         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1479         (ios_base::Init::~Init): Use _S_ios_destroy.
1480         (ios_base::sync_with_stdio): Use new members.
1481         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1482         filebuf ctor.
1484 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1486         * include/backward/fstream.h:  Expose streampos to global
1487           namespace.
1488         
1489 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1491         * include/bits/stl_iterator_base_types.h: Fix typo
1493 2001-04-03  Andreas Schwab  <schwab@suse.de>
1495         * include/backward/fstream.h: Define filebuf and wfilebuf.
1497 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
1499         New concept checking implementation.
1500         * docs/html/19_diagnostics/howto.html:  Document.
1501         * docs/html/17_intro/concept_check.diff:  New file, for reference.
1502         * include/bits/boost_concept_check.h:  New file from Boost.
1503         * include/bits/c++config:  Update comments.
1505         * include/bits/concept_check.h:  New file.
1506         * include/bits/concept_checks.h:  Removed.
1507         * include/bits/container_concepts.h:  Removed.
1508         * include/bits/sequence_concepts.h:  Removed.
1509         * include/bits/stl_iterator_base.h:  Removed; split into...
1510         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
1511         * include/bits/stl_iterator_base_types.h:  ...and this new file.
1513         * include/bits/sbuf_iter.h:  Update to use new implementation.
1514         * include/bits/std_iterator.h:  Likewise.
1515         * include/bits/std_memory.h:  Likewise.
1516         * include/bits/stl_algo.h:  Likewise.
1517         * include/bits/stl_algobase.h:  Likewise.
1518         * include/bits/stl_construct.h:  Likewise.
1519         * include/bits/stl_deque.h:  Likewise.
1520         * include/bits/stl_heap.h:  Likewise.
1521         * include/bits/stl_list.h:  Likewise.
1522         * include/bits/stl_map.h:  Likewise.
1523         * include/bits/stl_multimap.h:  Likewise.
1524         * include/bits/stl_multiset.h:  Likewise.
1525         * include/bits/stl_numeric.h:  Likewise.
1526         * include/bits/stl_queue.h:  Likewise.
1527         * include/bits/stl_set.h:  Likewise.
1528         * include/bits/stl_stack.h:  Likewise.
1529         * include/bits/stl_uninitialized.h:  Likewise.
1530         * include/bits/stl_vector.h:  Likewise.
1531         * include/ext/hash_map:  Likewise.
1532         * include/ext/hash_set:  Likewise.
1533         * include/ext/slist:  Likewise.
1534         * include/ext/stl_hashtable.h:  Likewise.
1536         * src/Makefile.am (base_headers):  Update list of headers.
1537         * Makefile.in:  Regenerated.
1538         * src/Makefile.in:  Regenerated.
1539         * libio/Makefile.in:  Regenerated.
1540         * libmath/Makefile.in:  Regenerated.
1541         * libsupc++/Makefile.in:  Regenerated.
1542         * testsuite/Makefile.in:  Regenerated.
1544         * docs/html/install.html:  Update contact information.
1545         * docs/html/17_intro/howto.html:  Ditto.
1546         * docs/html/18_support/howto.html:  Ditto.
1547         * docs/html/20_util/howto.html:  Ditto.
1548         * docs/html/21_strings/howto.html:  Ditto.
1549         * docs/html/22_locale/howto.html:  Ditto.
1550         * docs/html/23_containers/howto.html:  Ditto.
1551         * docs/html/24_iterators/howto.html:  Ditto.
1552         * docs/html/25_algorithms/howto.html:  Ditto.
1553         * docs/html/26_numerics/howto.html:  Ditto.
1554         * docs/html/27_io/howto.html:  Ditto.
1555         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
1556         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
1557         * docs/html/faq/index.txt:  Regenerated.
1559 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
1561         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1562         messages with $which_library as well as $tool_flags and
1563         ${dg-extra-tool-flags}.  Factor out annotation text into
1564         a single variable.
1566 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
1568         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1569         * include/c_std/bits/std_cwchar.h: Same.
1570         * testsuite/21_strings/c_strings.cc: Add.
1572 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
1574         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1576 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
1578         * tests_flags.in: Use test a = b, not test a == b which is not
1579         portable.
1581 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
1583         * configure.target: Remove duplicate aix entry.
1585 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
1587         * include/ext/stl_bvector.h: Move to...
1588         * include/bits/stl_vector.h: ...here.
1589         * include/ext/bvector: Move to...
1590         * include/backward/bvector.h: ...here.
1591         * include/bits/std_vector.h: Change stl_bvector include.
1592         * include/bits/std_queue.h: Remove bvector include.
1593         * include/ext/tree: Insert using rb_tree, move to...
1594         * include/backward/tree.h: ...here.
1595         * include/backward/hash_map.h: Include ext/hash_map.
1596         * include/backward/hash_set.h: Include ext/hash_set.
1597         * include/backward/queue.h: New file.
1598         * include/backward/stack.h: Edit.
1599         * include/backward/algo.h: Same.
1600         * include/backward/algobase.h: Same.
1601         * include/backward/alloc.h: Same.
1602         * include/backward/function.h: Same.
1603         * include/backward/iomanip.h: Same.
1604         * include/backward/istream.h: Same.
1605         * include/backward/iterator.h: Same.
1606         * include/backward/list.h: Same.
1607         * include/backward/map.h: Same.
1608         * include/backward/multimap.h: Same.
1609         * include/backward/multiset.h: Same.
1610         * include/backward/ostream.h: Same.
1611         * include/backward/pair.h: Same
1612         * include/backward/rope.h: Same.
1613         * include/backward/set.h: Same.
1614         * include/backward/stream.h: Same.
1615         * include/backward/strstream.h: Same.
1616         * include/backward/tempbuf.h: Same.
1617         * src/Makefile.am (ext_headers): Edit.
1618         * src/Makefile.in: Regenerate.
1619         * testsuite/ext/headers.cc (main): Fix.
1620         * mkcheck.in: Fix.
1622 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
1624         * tests_flags.in (LIBS):  Pass correct path for installed testing.
1626 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
1628         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1629         * tests_flags.in (CXX): Construct here.
1630         (static_fail): Don't remove compile.out. Format with spaces.
1631         (INCLUDES): Deal with xcompiling.
1632         * configure.in (xcompiling): Substitute.
1633         * testsuite/Makefile.am: Snake libjava configury.
1634         * testsuite/Makefile.in: Regenerate.
1635         * testsuite/23_containers/map_operators.cc: Tweaks.
1636         * testsuite/23_containers/set_operators.cc: Tweaks.
1638 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1640         Enable dejagnu testing framework.
1641         * configure.in: Generate testsuite/Makefile.
1642         * configure: Regenerate.
1643         * Makefile.am (check-install): Change rule from this...
1644         (check-script-install): ...to this.
1645         (check): Change rule from this...
1646         (check-script):...to this.
1647         * Makefile.in: Regenerate.
1649 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
1651         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1652         --tag CXX.
1653         (LIBTOOL): Let automake take care of its definition.
1654         * libsupc++/Makefile.in: Rebuilt.
1656 2001-03-28  Richard Henderson  <rth@redhat.com>
1658         IA-64 ABI Exception Handling:
1659         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1660         * configure.in: Use it.
1661         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1662         * libsupc++/Makefile.am (sources): Update files list.
1663         * libsupc++/Makefile.in: Regenerate.
1664         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1665         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1666         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1667         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1668         * libsupc++/exception_support.cc: Remove.
1669         * libsupc++/exception_support.h: Remove.
1670         * libsupc++/pure.cc: Use std::terminate.
1671         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1672         (__is_pointer): Remove.
1673         * libsupc++/unwind-cxx.h: New file.
1674         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1676 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
1678         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1679         CXX tag explicitly.
1680         * src/Makefile.am (CXXLINK): Likewise.
1681         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1683 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1685         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1687 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1689         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1690           and libc
1692 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1694         * include/bits/basic_file.h (get_fileno): Remove.
1695         (_M_fileno): Remove.
1696         (_M_cfile_created): Add.
1697         (basic_file::basic_file(__c_file_type*, openmode): Add.
1698         (basic_file::basic_file(int, const char*, openmode): Remove.
1699         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1700         const char*, ios_base::openmode): Don't allocate
1701         internal buffers. Turn off internal buffers.
1702         (basic_filebuf::overflow): Remove test for null buffer.
1703         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1704         * include/bits/streambuf.cc: Tweak.
1705         * include/bits/std_ostream.h: Tweak.
1706         * config/basic_file_libio.h: Same.
1707         * config/basic_file_stdio.h: Same.
1708         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1709         * testsuite/27_io/filebuf_members.cc: Tweaks.
1710         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1712 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1714         * Makefile.am:  New targets, doxygen and doxygen-maint.
1715         * Makefile.in:  Regenerated.
1716         * docs/doxygen/run_doxygen:  Finally implemented.
1717         * docs/doxygen/maint.cfg.in:  New file.
1718         * docs/doxygen/user.cfg.in:  New file.
1720 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1722         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
1723         * src/Makefile.am:  Replace leading spaces with tabs on continuation
1724         lines.
1725         * aclocal.m4:  Regenerated.
1726         * configure:  Ditto.
1727         * Makefile.in:  Ditto.
1728         * src/Makefile.in:  Ditto.
1729         * libio/Makefile.in:  Ditto.
1730         * libmath/Makefile.in:  Ditto.
1731         * libsupc++/Makefile.in:  Ditto.
1733 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1735         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
1736         concept-checking code and current status of same.
1737         * docs/html/ext/howto.html:  Ditto.
1738         * docs/html/faq/index.html:  Ditto.
1739         * docs/html/faq/index.txt:  Regenerated.
1741 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1743         * include/bits/std_bitset.h:  Include ostream and istream headers
1744         instead of iostream.
1746 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
1748         * include/bits/ostream.tcc: Use __builtin_alloca.
1750 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1752         * src/misc-inst.cc (__sink_unused_warning): Move to...
1753         * src/locale-inst.cc (__sink_unused_warning): Move to...
1754         * src/stl-inst.cc: Here.
1755         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1756         commented it out.
1758 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1760         * include/bits/basic_file.h: Fix typos in comments.
1762 2001-03-20  Richard Henderson  <rth@redhat.com>
1764         * src/gen-num-limits.cc: Instantiate for wchar_t.
1765         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1767 2001-03-20  Jason Merrill  <jason@redhat.com>
1769         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1770         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1771         * libsupc++/cxxabi.h: Declare it.
1773 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
1775         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1776         signal_func with an unspecified argument list.
1778 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1780         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1782 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1784         * include/bits/basic_string.tcc (operator+): Fix thinko.
1786 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1788         libstdc++/2020
1789         * include/bits/std_streambuf.h: Remove cached locale facets.
1790         (basic_streambuf::_M_buf_fctype): Remove.
1791         (basic_streambuf::~basic_streambuf): Remove here.
1792         (basic_streambuf::basic_streambuf): Same.
1793         (basic_streambuf::imbue): Same.
1794         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1795         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1796         (basic_filebuf::~basic_filebuf()): Remove here.
1797         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1798         (basic_filebuf::imbue): Same.
1799         * include/bits/localefwd.h (_Count_ones): Remove.
1800         (locale::_S_num_categories): Just use 6, since this doesn't
1801         actually change, ever.
1802         * include/bits/locale_facets.tcc (has_facet): Simplify.
1803         (use_facet): Same.
1804         * testsuite/27_io/filebuf.cc (test06): Add tests.
1806 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
1808         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1809         match HP-UX ctype.h header file.
1811 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
1813         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1814         duplicate definitions of __dj_ctype_*
1816 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
1818         * libsupc++/new: Remove pragma interface.
1819         * libsupc++/typeinfo: Same.
1820         * libsupc++/exception: Same.
1821         * libsupc++/new_handler.cc: Remove pragma implementation.
1822         (bad_alloc::~bad_alloc()): Add.
1823         * libsupc++/exception_support.cc: Same.
1824         (exception::~exception): Add.
1825         (bad_exception::~bad_exception): Add.
1826         * libsupc++/tinfo.cc: Same.
1827         (bad_cast::~bad_cast): Add.
1828         (bad_typeid::~bad_typeid): Add.
1830 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
1832         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
1834 2001-03-12  Felix Lee  <flee@redhat.com>
1836         * mkcheck.in: workaround for bash 2.01 IFS bug.
1838 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1840         Fixups for -fno-for-scope
1841         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1842         * src/valarray-inst.cc (__gslice_to_index): Same.
1844 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
1846         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1847         prior to trapping signal (UnixWare 7 workaround).
1849 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
1851         * include/backward/hashtable.h: Same.
1852         * include/backward/rope.h: Fix include.
1854 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1856         * include/backward/vector.h: Include std_vector.h.
1858         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1859         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1860         Fix typo.
1862 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1864         * include/ext/stl_hashtable.h: Change type of __n to size_t
1865         * include/backward/bvector.h: Include <ext/stl_bvector.h>
1867 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1869         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1870         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1871         Use streamsize, not int_type.
1873 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1875         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1876         moment.
1878 2001-03-08  Andreas Schwab  <schwab@suse.de>
1880         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1881         command.
1882         * aclocal.m4, configure: Regenerated.
1884 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1886         * include/bits/std_iosfwd.h: Remove string forward decls here.
1887         * include/bits/stringfwd.h: Add forward decls for char_traits
1888         specializations.
1889         * config/c_io_libio.h (wstreamoff): Delete.
1890         * config/c_io_stdio.h (wstreamoff): Same.
1891         * include/bits/char_traits.h: Use streamoff not wstreamoff for
1892         char_traits<wchar_t>::off_type.
1893         Remove duplicate typedefs.
1894         * include/bits/fpos.h: Define streampos/wstreampos here.
1895         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1896         values to off_type.
1897         (test05): Same.
1898         Changeup output files.
1899         * testsuite/27_io/istream_unformatted.cc: Change output files.
1900         * testsuite/27_io/istream_seeks-1.txt: Add.
1901         * testsuite/27_io/istream_seeks-2.tst: Add.
1902         * testsuite/27_io/istream_seeks-1.tst: Add.
1903         * testsuite/27_io/istream_unformatted-2.tst: Delete.
1904         * testsuite/27_io/istream_unformatted-3.tst: Delete.
1905         * testsuite/27_io/istream_unformatted-3.txt: Delete.
1907 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
1909         Add Irix 5.2, 6.3 support.
1910         * config/os/irix/bits: Renamed to...
1911         * config/os/irix/irix6.5/bits: this.
1912         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1913         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1914         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1915         * config/os/irix/irix5.2/bits/ctype_noninline.h
1916         (ctype<char>::ctype): Initialize _M_table with __ctype.
1917         * configure.target: Adjust.
1919 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1921         libstdc++/2181
1922         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1923         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1924         sentry.
1925         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1926         (*__pf)(__ios_type&)): Same.
1927         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1928         (*__pf)(ios_base&))): Same.
1929         * testsuite/27_io/istream_extractor_other.cc: Add tests.
1930         * testsuite/27_io/istream_manip.cc (test01): Fix.
1932 2001-03-06  Nathan Myers  <ncm@cantrip.org>
1933             Benjamin Kosnik  <bkoz@redhat.com>
1935         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1936         * testsuite/17_intro/header_cerrno.cc (test01): New file.
1937         * testsuite/17_intro/header_cassert.cc (test01): New file.
1938         * testsuite/17_intro/header_cstddef.cc (test01): New file.
1939         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1940         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1942 2001-03-05  scott snyder  <snyder@fnal.gov>
1944         libstdc++/2190
1945         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1946         from here...
1947         * include/c_std/bits/std_cstdlib.h: ... to here.
1948         * testsuite/17_intro/header_cstdlib.cc: Add test.
1950 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
1952         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1954 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
1956         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1957         definition. Replace enum with static const variables.
1959         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1960         throw specification, fix typos, use <static_cast>.
1961         (ctype<char>::scan_is): remove throw specification.
1962         (ctype<char>::scan_not): likewise.
1964         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1965         (ctype<char>::do_toupper(char)): use <static_cast>.
1966         (ctype<char>::do_toupper(char *, const char *)): likewise.
1967         (ctype<char>::do_tolower(char)): likewise.
1968         (ctype<char>::do_tolower(char *, const char *)): likewise.
1970 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
1972         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1973         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
1974         macros and "never happens" code.  Adjust to C++STYLE guidelines.
1975         * include/backward/algobase.h:  Likewise.
1976         * include/backward/alloc.h:  Likewise.
1977         * include/backward/bvector.h:  Likewise.
1978         * include/backward/deque.h:  Likewise.
1979         * include/backward/function.h:  Likewise.
1980         * include/backward/hash_map.h:  Likewise.
1981         * include/backward/hash_set.h:  Likewise.
1982         * include/backward/hashtable.h:  Likewise.
1983         * include/backward/heap.h:  Likewise.
1984         * include/backward/iterator.h:  Likewise.
1985         * include/backward/list.h:  Likewise.
1986         * include/backward/map.h:  Likewise.
1987         * include/backward/multimap.h:  Likewise.
1988         * include/backward/multiset.h:  Likewise.
1989         * include/backward/pair.h:  Likewise.
1990         * include/backward/rope.h:  Likewise.
1991         * include/backward/set.h:  Likewise.
1992         * include/backward/slist.h:  Likewise.
1993         * include/backward/stack.h:  Likewise.
1994         * include/backward/strstream:  Likewise.
1995         * include/backward/tempbuf.h:  Likewise.
1996         * include/backward/tree.h:  Likewise.
1997         * include/backward/vector.h:  Likewise.
1998         * include/bits/basic_ios.h:  Likewise.
1999         * include/bits/basic_ios.tcc:  Likewise.
2000         * include/bits/basic_string.h:  Likewise.
2001         * include/bits/c++config:  Likewise.
2002         * include/bits/concept_checks.h:  Likewise.
2003         * include/bits/fpos.h:  Likewise.
2004         * include/bits/fstream.tcc:  Likewise.
2005         * include/bits/functexcept.h:  Likewise.
2006         * include/bits/ios_base.h:  Likewise.
2007         * include/bits/istream.tcc:  Likewise.
2008         * include/bits/mask_array.h:  Likewise.
2009         * include/bits/ostream.tcc:  Likewise.
2010         * include/bits/pthread_allocimpl.h:  Likewise.
2011         * include/bits/sbuf_iter.h:  Likewise.
2012         * include/bits/slice.h:  Likewise.
2013         * include/bits/slice_array.h:  Likewise.
2014         * include/bits/sstream.tcc:  Likewise.
2015         * include/bits/std_bitset.h:  Likewise.
2016         * include/bits/std_fstream.h:  Likewise.
2017         * include/bits/std_iomanip.h:  Likewise.
2018         * include/bits/std_ios.h:  Likewise.
2019         * include/bits/std_istream.h:  Likewise.
2020         * include/bits/std_iterator.h:  Likewise.
2021         * include/bits/std_memory.h:  Likewise.
2022         * include/bits/std_ostream.h:  Likewise.
2023         * include/bits/std_sstream.h:  Likewise.
2024         * include/bits/std_streambuf.h:  Likewise.
2025         * include/bits/std_string.h:  Likewise.
2026         * include/bits/std_valarray.h:  Likewise.
2027         * include/bits/stl_algo.h:  Likewise.
2028         * include/bits/stl_algobase.h:  Likewise.
2029         * include/bits/stl_alloc.h:  Likewise.
2030         * include/bits/stl_construct.h:  Likewise.
2031         * include/bits/stl_deque.h:  Likewise.
2032         * include/bits/stl_function.h:  Likewise.
2033         * include/bits/stl_heap.h:  Likewise.
2034         * include/bits/stl_iterator.h:  Likewise.
2035         * include/bits/stl_iterator_base.h:  Likewise.
2036         * include/bits/stl_list.h:  Likewise.
2037         * include/bits/stl_map.h:  Likewise.
2038         * include/bits/stl_multimap.h:  Likewise.
2039         * include/bits/stl_multiset.h:  Likewise.
2040         * include/bits/stl_numeric.h:  Likewise.
2041         * include/bits/stl_pair.h:  Likewise.
2042         * include/bits/stl_pthread_alloc.h:  Likewise.
2043         * include/bits/stl_queue.h:  Likewise.
2044         * include/bits/stl_raw_storage_iter.h:  Likewise.
2045         * include/bits/stl_relops.h:  Likewise.
2046         * include/bits/stl_set.h:  Likewise.
2047         * include/bits/stl_stack.h:  Likewise.
2048         * include/bits/stl_tempbuf.h:  Likewise.
2049         * include/bits/stl_threads.h:  Likewise.
2050         * include/bits/stl_tree.h:  Likewise.
2051         * include/bits/stl_uninitialized.h:  Likewise.
2052         * include/bits/stl_vector.h:  Likewise.
2053         * include/bits/streambuf.tcc:  Likewise.
2054         * include/bits/type_traits.h:  Likewise.
2055         * include/bits/valarray_meta.h:  Likewise.
2056         * include/ext/bvector:  Likewise.
2057         * include/ext/hash_map:  Likewise.
2058         * include/ext/hash_set:  Likewise.
2059         * include/ext/ropeimpl.h:  Likewise.
2060         * include/ext/slist:  Likewise.
2061         * include/ext/stl_bvector.h:  Likewise.
2062         * include/ext/stl_hash_fun.h:  Likewise.
2063         * include/ext/stl_hashtable.h:  Likewise.
2064         * include/ext/stl_rope.h:  Likewise.
2065         * src/complex_io.cc:  Likewise.
2066         * src/ios.cc:  Likewise.
2067         * src/locale-inst.cc:  Likewise.
2068         * src/locale.cc:  Likewise.
2069         * src/localename.cc:  Likewise.
2070         * src/misc-inst.cc:  Likewise.
2071         * src/stdexcept.cc:  Likewise.
2072         * src/stl-inst.cc:  Likewise.
2073         * src/strstream.cc:  Likewise.
2074         * src/valarray-inst.cc:  Likewise.
2076 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
2078         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2080 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2082         * include/bits/istream.tcc: change type of __extracted to __size_type
2084 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
2086         * src/wstring-inst.cc: New file.
2087         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2088         (libinst_wstring_la_SOURCES): Remove.
2089         (libstdc___la_LIBADD): Remove libinst_wstring_la.
2090         (sources): Add wstring-inst.cc
2091         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2092         libinst_wstring_la.
2094 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2096         * src/locale.cc: initialise __ret with zero
2097         * src/strstream.cc:cast gptr to int_type
2099 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
2101         * docs/html/faq/index.html:  Update broken links.
2102         * docs/html/faq/index.txt:  Regenerated.
2104 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
2106         libstdc++/2064
2107         * configure.target: Change irix* to irix6.5* in target_os table.
2109 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
2111         libstdc++/2103
2112         * include/bits/c++config (__GLIBCPP__): Bump number in
2113         anticipation of 2.92.
2115         * include/bits/codecvt.h: Fix typo.
2116         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2117         stdio model.
2118         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2119         instantiations for stdio model.
2121 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
2123         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
2124           and GLIBCPP_CXXFLAGS as unused variables.
2125         * configure.host:  Likewise.
2126         * configure.target:  Likewise.
2127         * aclocal.m4:  Regenerated.
2128         * configure:  Regenerated.
2129         * Makefile.in:  Regenerated.
2130         * libio/Makefile.in:  Regenerated.
2131         * libmath/Makefile.in:  Regenerated.
2132         * libsupc++/Makefile.in:  Regenerated.
2133         * src/Makefile.in:  Regenerated.
2135 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
2137         libstdc++/1886
2138         * include/bits/basic_file.h: Include basic_file_model.h.
2139         * config/c_io_libio.cc: Move to...
2140         * config/basic_file_libio.cc: Here.
2141         * config/basic_file_libio.h: New file.
2142         * config/c_io_stdio.cc: Move to...
2143         * config/basic_file_stdio.cc: Here.
2144         * config/basic_file_stdio.h: New file.
2145         * config/c_io_libio.h: Tweak.
2146         * config/c_io_stdio.h: Tweak.
2147         * src/Makefile.am (build_headers): Add basic_file_model.h.
2148         (sources): Add basic_file.cc, remove c++io.cc.
2149         * src/Makefile.in: Regenerate.
2150         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2151         basic_file_model.h and basic_file.cc.
2152         * aclocal.m4: Regenerate.
2153         * configure: Regenerate.
2154         * testsuite/27_io/filebuf.cc (test05): Add regression.
2156 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
2158         Correct license.
2159         * config/cpu/alpha/bits/atomicity.h: Change.
2160         * config/cpu/arm/bits/atomicit3y.h
2161         * config/cpu/generic/bits/atomicity.h
2162         * config/cpu/i386/bits/atomicity.h
2163         * config/cpu/i486/bits/atomicity.h
2164         * config/cpu/ia64/bits/atomicity.h
2165         * config/cpu/powerpc/bits/atomicity.h
2166         * config/cpu/sparc/sparc32/bits/atomicity.h
2167         * config/cpu/sparc/sparc64/bits/atomicity.h
2168         * config/os/aix/bits/atomicity.h
2169         * config/os/irix/bits/atomicity.h
2171 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
2173         * include/bits/std_stdexcept.h (runtime_error): Make string
2174         member non-const.
2175         (logic_error): Same.
2176         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2177         (test03): Fix.
2179 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2181         libstdc++/1972
2182         libstdc++/2089
2183         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2184         string object, not reference.
2185         (runtime_error::runtime_error): Same.
2186         * testsuite/19_diagnostics/stdexceptions.cc: New file.
2188 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
2190         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
2191           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
2192           diagnostics.  Remove WFMT_FLAGS.
2193         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
2194         * libsupc++/Makefile.am:  Likewise.
2195         * src/Makefile.am:  Likewise.
2196         * aclocal.m4:  Regenerated.
2197         * configure:  Regenerated.
2198         * Makefile.in:  Regenerated.
2199         * libio/Makefile.in:  Regenerated.
2200         * libmath/Makefile.in:  Regenerated.
2201         * libsupc++/Makefile.in:  Regenerated.
2202         * src/Makefile.in:  Regenerated.
2204 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
2206         Fixes libstdc++/2079
2207         * include/backward/iomanip.h:  Expose <ios> manipulators to global
2208           namespace.
2209         * include/backward/iostream.h:  Also expose std::ws.
2211 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
2213         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2215 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
2217         * include/bits/codecvt.h: Use __builtin_alloca.
2218         * include/bits/ostream.tcc: Same.
2219         * include/bits/fstream.tcc: Same.
2221 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
2223         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2225 2001-02-23  David Edelsohn <dje@watson.ibm.com>
2227         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2229 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
2231         c++/2052
2232         * include/backward/iostream.h:  Expose std::flush in old headers.
2234 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2236         * mknumeric_limits: Remove special-casing on target.  Use gcc
2237         instead of g++ to build gen-num-limits.cc
2239 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
2241         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2243         * include/bits/codecvt.h: Use alloca instead of __extension__ for
2244         the time being.
2245         * include/bits/ostream.tcc: Same.
2246         * include/bits/std_ostream.h: Same.
2247         * include/bits/fstream.tcc: Same.
2248         * include/bits/locale_facets.tcc: Add typename.
2249         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2251 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
2253         * tests_flags.in:  Remove -n flag from call to echo.
2255 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2257         * config/c_locale_gnu.h: Add clocale include.
2259 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
2261         * include/bits/stl_config.h:  Remove file.
2262         * src/Makefile.am (base_headers):  Remove from list.
2263         * configure:  Regenerate.
2264         * Makefile.in:  Ditto.
2265         * libio/Makefile.in:  Ditto.
2266         * libmath/Makefile.in:  Ditto.
2267         * libsupc++/Makefile.in:  Ditto.
2268         * src/Makefile.in:  Ditto.
2270         * include/bits/c++config:  Move relevant macros to here.
2271         * include/backward/alloc.h:  Include c++config.h instead.
2272         * include/backward/function.h:  Ditto.
2273         * include/backward/heap.h:  Ditto.
2274         * include/backward/pair.h:  Ditto.
2275         * include/bits/pthread_allocimpl.h:  Ditto.
2276         * include/bits/std_functional.h:  Ditto.
2277         * include/bits/std_iterator.h:  Ditto.
2278         * include/bits/std_numeric.h:  Ditto.
2279         * include/bits/std_utility.h:  Ditto.
2280         * include/bits/stl_algobase.h:  Ditto.
2281         * include/bits/type_traits.h:  Ditto.
2282         * src/stl-inst.cc:  Ditto.
2284 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2286         * include/bits/basic_file.h: Add #pragma system_header
2287         * include/bits/basic_ios.h: Ditto.
2288         * include/bits/basic_string.h: Ditto.
2289         * include/bits/char_traits.h: Ditto.
2290         * include/bits/codecvt.h: Ditto.
2291         * include/bits/cpp_type_traits.h:  Ditto.
2292         * include/bits/fpos.h: Ditto.
2293         * include/bits/gslice.h: Ditto.
2294         * include/bits/gslice_array.h: Ditto.
2295         * include/bits/indirect_array.h: Ditto.
2296         * include/bits/ios_base.h: Ditto.
2297         * include/bits/limits_generic.h: Ditto.
2298         * include/bits/locale_facets.h: Ditto.
2299         * include/bits/localefwd.h: Ditto.
2300         * include/bits/mask_array.h: Ditto.
2301         * include/bits/sbuf_iter.h: Ditto.
2302         * include/bits/sequence_concepts.h: Ditto.
2303         * include/bits/slice.h: Ditto.
2304         * include/bits/slice_array.h: Ditto.
2305         * include/bits/std_algorithm.h: Likewise.
2306         * include/bits/std_bitset.h: Likewise.
2307         * include/bits/std_complex.h: Likewise.
2308         * include/bits/std_deque.h: Likewise.
2309         * include/bits/std_fstream.h: Likewise.
2310         * include/bits/std_functional.h: Likewise.
2311         * include/bits/std_iomanip.h: Likewise.
2312         * include/bits/std_ios.h: Likewise.
2313         * include/bits/std_iosfwd.h: Likewise.
2314         * include/bits/std_iostream.h: Likewise.
2315         * include/bits/std_istream.h: Likewise.
2316         * include/bits/std_iterator.h: Likewise.
2317         * include/bits/std_list.h: Likewise.
2318         * include/bits/std_locale.h: Likewise.
2319         * include/bits/std_map.h: Likewise.
2320         * include/bits/std_memory.h: Likewise.
2321         * include/bits/std_numeric.h: Likewise.
2322         * include/bits/std_ostream.h: Likewise.
2323         * include/bits/std_queue.h: Likewise.
2324         * include/bits/std_set.h: Likewise.
2325         * include/bits/std_sstream.h: Likewise.
2326         * include/bits/std_stack.h: Likewise.
2327         * include/bits/std_stdexcept.h: Likewise.
2328         * include/bits/std_streambuf.h: Likewise.
2329         * include/bits/std_string.h: Likewise.
2330         * include/bits/std_utility.h: Likewise.
2331         * include/bits/std_valarray.h: Likewise.
2332         * include/bits/std_vector.h: Likewise.
2333         * include/bits/stringfwd.h: Likewise.
2334         * include/bits/type_traits.h: Likewise.
2335         * include/bits/valarray_array.h: Likewise.
2336         * include/bits/valarray_meta.h: Likewise.
2338 2001-02-19  Andreas Jaeger  <aj@suse.de>
2340         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2341         Fix typo.
2343 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
2345         libstdc++/1734
2346         * include/bits/std_ostream.h: Replaced usage of
2347         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2348         * include/bits/char_traits.h: Removed non-standard
2349         methods that cannot be used elsewhere.
2351         libstdc++/1885
2352         * include/bits/basic_ios.h: Uncommented #include of
2353         bits/basic_ios.tcc
2355         libstdc++/1897
2356         * include/bits/codecvt.h: See next...
2357         * include/bits/fstream.tcc: See next...
2358         * include/bits/ostream.tcc: Add __extension__
2359         to variable-length arrays.
2361         libstdc++/1967
2362         * include/bits/localefwd.h: Changed int counter type to size_t.
2364         libstdc++/1968
2365         * include/bits/std_fstream.h: Added typedef for __ctype_type.
2367 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
2369         * testsuite/21_strings/char_traits.cc: Move to ...
2370         * testsuite/21_strings/char_traits_requirements.cc: ..here.
2371         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2372         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2374 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
2376         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2377         definitions.
2379 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2381         * include/bits/c++config: Revert.
2383 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
2385         * include/bits/istream.tcc: Use ios_base::iostate in place of
2386         iostate throughout.  Insert `typename' keyword where necessary.
2387         * include/bits/ostream.tcc: Insert `typename' keyword where
2388         necessary.
2390 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
2392         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2393         Define so library is compliant.
2395 2001-02-15  Anthony Green  <green@redhat.com>
2397         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2398         compilation.
2399         * aclocal.m4: Regenerate.
2400         * configure: Regenerate.
2402 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
2404         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2405         Include ieeefp.h for fpclass on UnixWare{2,7}.
2406         * aclocal.m4: Regenerate.
2407         * configure: Regenerate.
2408         * mkcheck.in (size_command): Do without GNU-grep when using
2409         size from binutils.
2411 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
2413         Remove old ABI support from libsupc++.
2414         * libsupc++/cxxabi.h: Remove conditionally compiled code.
2415         * libsupc++/exception_support.cc: Likewise.
2416         * libsupc++/pure.cc: Likewise.
2417         * libsupc++/tinfo.cc: Likewise.
2418         * libsupc++/tinfo.h: Likewise.
2419         * libsupc++/tinfo2.cc: Likewise.
2420         * libsupc++/typeinfo: Likewise.
2421         * libsupc++/vec.cc: Likewise.
2423 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2425         Add support for -fno-exceptions.
2426         * include/bits/exception_support.h: Remove.
2427         * include/bits/basic_string.h: Remove exception_support.
2428         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2429         (string::at): Same.
2430         (string::substr): Same.
2431         * include/bits/basic_string.tcc (string::reserve): Replace
2432         __LENGTHERROR with __throw_length_error.
2433         (string::_S_create): Same.
2434         (string::resize): Same.
2435         (string::_M_replace): Same.
2436         (string::replace): Same.
2437         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2438         (string::compare): Same.
2439         * include/bits/stl_vector.h: Remove exception_support.
2440         * src/Makefile.am (base_headers): Remove here.
2441         * src/Makefile.in: Regenerate.
2443         * include/bits/stl_range_errors.h: Remove.
2444         * include/bits/stl_deque.h: Use __throw_range_error.
2445         * include/bits/std_deque.h: Include functexcept.h.
2446         * include/bits/std_vector.h: Same.
2447         * src/Makefile.am (base_headers): Remove here.
2448         * src/Makefile.in: Regenerate.
2449         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2450         * include/ext/bvector: Remove stl_range_errors.h
2452         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2454         * include/bits/functexcept.h: New file.
2455         * src/functexcept.cc: New file. Definitions for function-based
2456         exception routines.
2457         * src/Makefile.am (sources): Add functexcept.cc.
2458         * src/Makefile.in: Regenerate.
2460         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2461         __EXCEPTIONS.
2463         * include/bits/localefwd.h: Include functexcept.h.
2464         * include/bits/std_iosfwd.h: Same.
2466         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2467         throw basic_ios::failure.
2468         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2469         Use __throw_exception_again.
2470         (filebuf::_M_filebuf_init): Same.
2471         * include/bits/streambuf.tcc (__copy_streambufs): Same.
2472         * include/bits/ostream.tcc (ostream::operator<<): Same.
2473         * include/bits/istream.tcc (istream::operator>>): Same.
2474         * include/bits/basic_string.tcc (string::_M_mutate): Same.
2475         (string::_S_construct): Same.
2476         (string::_M_clone): Same.
2477         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2478         __throw_bad_cast.
2479         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2480         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2481         __throw_exception_again.
2482         (locale::_Imp::_Imp(string, size_t): Same.
2483         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2484         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2485         (locale::locale(const char*)): Use __throw_runtime_error.
2486         (locale::classic): Use __throw_exception_again.
2487         (locale::_S_normalize_category): Use __throw_runtime_error.
2489         * src/stdexcept.cc: Remove cruft.
2491         * libsupc++/exception_defines.h: New file.
2492         * libsupc++/new_opnt.cc: Include exception_defines.h.
2493         * libsupc++/vec.cc: Same.
2494         (__cxa_vec_new2): Use __throw_exception_again.
2495         (__cxa_vec_new3): Same.
2496         (__cxa_vec_ctor): Same.
2497         (__cxa_vec_delete3): Same.
2498         (__cxa_vec_cctor): Same.
2499         (__cxa_vec_delete2): Same.
2500         (__cxa_vec_dtor): Same.
2501         * libsupc++/exception_support.cc: Include exception_defines.h. Only
2502         compile exception-handling bits if __EXCEPTIONS is defined.
2503         Remove old ABI support.
2504         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2505         std::__throw_bad_alloc() instead of throw bad_alloc.
2506         * libsupc++/Makefile.am: Add exception_defines.h.
2507         * libsupc++/Makefile.in: Reformat.
2508         * libsupc++/*: Format.
2510 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
2512         * docs/html/configopts.html:  Minor updates and typo fixes.
2513         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
2514         * docs/html/faq/index.txt:  Regenerated.
2516 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
2518         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2519         dejagnu/dg.exp.  Adapt to log options used to run testcases.
2521 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2523         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2524         dejagnu/dg.exp.
2526 2001-02-13  Dirk Mueller <dmuell@gmx.net>
2527             Phil Edwards  <pme@sources.redhat.com>
2529         * include/backward/function.h:  Do not use rel_ops for older
2530           headers either.
2531         * include/backward/pair.h:  Likewise.
2533 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
2535         * src/locale.cc: Remove bogus locale::id definitions.
2537 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2539         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2540         not _DEFINE_VALARRAY_OPERATOR which is not existent.
2542         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2543         thinko in member initialisation.
2545 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2547         * include/bits/std_valarray.h(valarray<>::shift): Avoid
2548         comparaison between signed and unsigned integer types.
2549         (valarray<>::cshift): Reformat.
2551 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
2553         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2554         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2555         * configure.in: Test for sigsetjmp.
2556         * configure, config.h.in: Rebuilt.
2558 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2560         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2561         lengths and strides.
2562         (__gslice_to_index): Document.
2564 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2566         * include/bits/char_traits.h char_traits<char>::int_type: Change
2567         to `int' to match 21.1.3.1/2.
2569         * testsuite/21_strings/char_traits-int_type.C: New test.
2571 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
2573         * testsuite/Makefile.am: New file.
2575 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
2577         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2579 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
2581         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2583 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
2585         * configure.target (aix4*): Remove extra set of brackets.
2587 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2589         Clean up stdexcept.
2590         * include/bits/stringfwd.h: New file.
2591         * include/bits/stl_string_fwd.h: Remove.
2592         * include/bits/localefwd.h: Remove declaration for allocator.
2593         * include/bits/std_iosfwd: Same.
2594         * include/bits/std_string.h: Include it.
2595         * include/bits/std_ios.h: Remove include.
2596         * include/bits/basic_string.h: Tweak.
2597         * libsupc++/new: Format.
2598         * src/Makefile.am (base_headers): Add stringfwd.h, remove
2599         stl_string_fwd.h
2600         * src/Makefile.in: Regenerate.
2601         * include/bits/std_stdexcept.h: Rewrite.
2602         * src/stdexcept.cc: Same.
2604 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2606         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2607         install locations too.
2608         * aclocal.m4: Regenerate.
2609         * configure.in: Remove USE_LIBDIR.
2610         * configure: Regenerate.
2611         * src/Makefile.am (toolexecdir): Simplify, use
2612         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2613         * src/Makefile.in: Regenerate.
2614         * libsupc++/Makefile.am: Same.
2615         * libsupc++/Makefile.in: Regenerate.
2617         * src/Makefile.am: Just remove special rules for locale-inst.cc and
2618         misc-inst.cc as no longer necessary.
2620         Follow C++STYLE for naming non-static functions.
2621         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2622         __pad_char.
2623         * include/bits/streambuf.tcc: Same.
2624         * include/bits/ostream.tcc: Same.
2625         * include/bits/istream.tcc: Same.
2626         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2627         (_S_output_float): To __output_float.
2628         * include/bits/std_streambuf.h (_S_copy_streambufs): To
2629         __copy_streambufs.
2630         * include/bits/locale_facets.tcc (_S_build_float_format): To
2631         __build_float_format.
2632         (_S_format): To __output_integer.
2633         (_S_fill): To __pad.
2634         * src/locale.cc: Same.
2635         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2636         names.
2637         * include/bits/locale_facets.tcc (_S_group_digits): To
2638         __group_digits.
2639         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2640         for collate, numpunct.
2642 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
2644         * docs/html/configopts.html:  Fix HTML markup.
2645         * docs/html/install.html:  Bring up to date.
2646         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
2647         * docs/html/21_strings/howto.html:  More notes.
2648         * docs/html/22_locale/howto.html:  Fix HTML markup.
2649         * docs/html/27_io/howto.html:  More notes.
2650         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
2651         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
2653 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
2655         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2656         to match header files.
2657         (_S_output_float): Likewise.
2658         (_S_copy_streambufs): Likewise.
2660 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
2661             Phil Edwards  <pme@sources.redhat.com>
2663         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
2664           use reinterpret_cast, not static_cast.
2666 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2668         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2669         * aclocal.m4: Regenerate.
2670         * configure: Regenerate.
2672 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2674         * include/bits/locale_facets.h (class moneypunct): Fix typos.
2675         * libsupc++/pure.cc: Revert.
2677 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2679         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2680         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2681         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2682         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2683         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2684         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2685         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2686         * aclocal.m4: Regenerate.
2687         * configure: Regenerate.
2689 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2691         * include/bits/locale_facets.tcc: Remove `static' keyword on
2692         function definitions.
2693         * include/bits/std_streambuf.h: Likewise.
2694         * src/Makefile.am: Remove use of -fimplicit-templates.
2695         * src/Makefile.in: Regenerated.
2696         * src/locale-inst.cc: Explicitly instantiate more functions.
2697         * src/misc-inst.cc: Likewise.
2698         * src/string-inst.cc: Likewise.
2700 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2702         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2703         macro. Consolidate all the bits to do with where includes might be
2704         installed.
2705         * aclocal.m4: Regenerate.
2706         * configure.in: Use it.
2707         * configure: Regenerate.
2708         * src/Makefile.am (targetincludep): Use simplified rules.
2709         (targetincludep): Rename gxx_target_include_dir.
2710         (myincludep): Rename gxx_include_dir.
2711         * src/Makefile.in: Regenerate.
2712         * libsupc++/Makefile.am: Use simplified rules.
2713         * libsupc++/Makefile.in: Regenerate.
2715 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2717         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2718         * include/c_std/bits/std_cctype.h: Same.
2719         * include/c_std/bits/std_cassert.h: Same.
2720         * include/c_std/bits/std_cstdarg.h: Same.
2721         * include/c_std/bits/std_cstddef.h: Same.
2723         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2724         namespace std.
2725         * include/c_std/bits/std_ctime.h: Same.
2726         * include/c_std/bits/std_clocale.h: Same.
2727         * include/c_std/bits/std_cmath.h: Same.
2728         * include/c_std/bits/std_csetjmp.h: Same.
2729         * include/c_std/bits/std_csignal.h: Same.
2730         * include/c_std/bits/std_cstring.h: Same.
2731         * include/c_std/bits/std_cstdlib.h: Same.
2732         * include/c_std/bits/std_cwchar.h: Same.
2734 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
2736         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
2738 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2740         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2741         (string::_S_construct): Likewise.
2743 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
2745         * testsuite/config/default.exp: New file.
2746         * testsuite/config: New directory.
2748 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
2750         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2751         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2752         whenever !__GXX_MERGED_TYPEINFO_NAMES.
2753         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2755 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
2756             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2758         * Makefile.am (mkinstalldirs): Set.
2759         * src/Makefile.am (mkinstalldirs): Set.
2760         * libmath/Makefile.am (mkinstalldirs): Set.
2761         * libsup++/Makefile.am (mkinstalldirs): Set.
2762         * libio/Makefile.am (mkinstalldirs): Set.
2763         * */Makefile.in: Regenerate.
2765 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
2767         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2768         * include/bits/localefwd.h: More initialization cleanups.
2770 2001-02-03  Jeffrey A Law  <law@cygnus.com>
2772         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2773         correctly targets with 16bit ints.
2774         (_S_ios_openmode_end): Similarly.
2775         (_S_ios_iostate_end): Similarly.
2776         (_S_ios_Seekdir_end): Similarly.
2778 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
2780         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
2782 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2784         * configure.in (toplevel_srcdir, auxdir): Set.
2785         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2786         * aclocal.m4, configure, Makefile.in: Rebuilt.
2787         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2788         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2789         * libsupc++-v3/Makefile.in: Rebuilt.
2790         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2791         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2793 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
2795         * config/c_locale_generic.cc: Remove langinfo include.
2797 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
2799         Preliminary named locales.
2800         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2801         * aclocal.m4: Regenerate.
2802         * configure.in: Use it.
2803         * configure: Regerate.
2804         * src/Makefile.am (sources): Add c++locale.cc.
2805         (build_headers): Add c++locale.h.
2806         * src/Makefile.in: Regenerate.
2807         * config/c_locale_gnu.h: New file.
2808         * config/c_locale_gnu.cc: New file. Non-inline member functions
2809         for named locales, gnu-specific.
2810         * config/c_locale_generic.h: New file.
2811         * config/c_locale_generic.cc: New file. Non-inline member
2812         functions for named locales, generic version.
2813         * docs/html/configopts.html: Add documentation on new options.
2815         * include/bits/locale_facets.h (class _Messages): Remove.
2816         (class _Moneypunct): Remove.
2817         * src/locale-inst.cc: Remove.
2819         * include/bits/locale_facets.h (class _Collate): Remove.
2820         * src/locale-inst.cc (std): Remove.
2821         * src/locale.cc: And here.
2823         * include/bits/localefwd.h (locale::_M_coalesce): New
2824         function. Correctly put together multi-name locales.
2825         (_Impl(const _Impl&, category, size_t)): Remove.
2827         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2828         member functions.
2829         (_M_normalize_category_names): Remove.
2830         (_M_replace_categories): Fix.
2832         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2833         (locale::_Impl::_M_construct_ctype): Remove.
2834         (locale::_Impl::_M_construct_monetary): Remove.
2835         (locale::_Impl::_M_construct_numeric): Remove.
2836         (locale::_Impl::_M_construct_time): Remove.
2837         (locale::_Impl::_M_construct_messages): Remove.
2839         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2840         (_Use_facet_failure_handle): Remove.
2841         * src/locale.cc: Remove definitions.
2842         * src/locale-inst.cc: And here.
2844         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2846         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2847         create and error-check underlying locale object.
2848         (locale::facet::_S_destroy_c_locale): Add, take care of properly
2849         tearing down underlying locale object.
2850         * include/bits/localefwd.h (locale::facet): Declare.
2851         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2852         correctness, as glibc apparently has incorrect info in it. Test
2853         with it when it works again.....
2855         * include/bits/localefwd.h (locale::_Impl::__vec_string):
2856         Remove. Number of categories is fixed at six, so just simplify and
2857         make this an array of strings.
2858         (locale::_Impl::_M_has_name): Remove.
2859         (locale::_Impl::_M_name): Remove.
2860         (locale::_Impl::_M_category_names): Turns into...
2861         (locale::_Impl::_M_names): ...this.
2862         (locale::_Impl::_M_has_same_name()): New function.
2863         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2864         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2865         signature.
2866         * src/locale.cc (locale::name()): Construct mangled name
2867         accurately reflecting combined locale categories.
2869         * src/locale.cc (locale::classic()): Don't initialize here.
2870         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2871         __refs, bool __has_name, string __str): Do it here.
2873         * include/bits/localefwd.h: _S_categories_num to
2874         _S_num_categories. _S_facets_num to _S_num_facets.
2875         (locale::id::id()): Explicitly set _M_index to zero.
2876         * src/locale.cc: Same.
2878         * src/locale.cc: (locale::locale(const char*)): Construct named
2879         locales uniquely.
2881         * src/locale.cc: Remove numpunct_byname ctors.
2882         * testsuite/22_locale/numpunct_byname.cc: New file.
2883         * testsuite/22_locale/numpunct.cc: New file.
2885         * include/bits/localefwd.h (class locale): Change data members to
2886         protected, from private.
2887         (_Impl::_M_get_c_locale): Add member function.
2888         (locale::facet::_M_get_global_impl()): Add member function.
2889         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2890         a __c_locale pointer.
2891         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2892         named locales.
2893         * testsuite/22_locale/members.cc: New file, test name and combine.
2895         * include/bits/locale_facets.h (class numpunct): Remove class
2896         _Punct and _Numpunct. Rewrite class numpunct to be correct for
2897         named locales.
2898         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2899         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2900         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2901         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2902         * testsuite/22_locale/numpunct_char_members.cc: New file.
2904 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
2906         * testsuite/README: Add more comment.
2907         * testsuite/lib/libstdc++.exp: Tweak comment.
2909 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
2911         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2913 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
2915         * testsuite/21_strings/inserters_extractors.cc: Remove
2916         explicit reference to 'testsuite/'.
2918 2001-01-25  Richard Henderson  <rth@redhat.com>
2920         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2921         bits. Fixes Tru64 build issues.
2923 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2925         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2926         (use ${MAKE-make}, not ${MAKE:-make}).
2927         * aclocal.m4, configure: Regenerate.
2929 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
2931         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2932         checkin.
2934         * src/Makefile.am (sources): Add globals.cc.
2935         * src/Makefile.in: Regenerated.
2936         * src/globals.cc: New file.
2937         * src/ios.cc (cin): Don't define here, just declare extern.
2938         (cout): Likewise.
2939         (cerr): Likewise.
2940         (clog): Likewise.
2941         (wcin): Likewise.
2942         (wcout): Likewise.
2943         (wcerr): Likewise.
2944         (wclog): Likewise.
2946 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
2948         * include/bits/std_iterator.h:  Do not include stl_relops.h.
2949         * include/bits/std_numeric.h:  Ditto.
2950         * include/bits/stl_algobase.h:  Ditto.
2951         * include/bits/stl_relops.h:  Add comment warning about problems.
2953 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2955         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2956         in testcases.  Prepare for the DejaGnu based framework.
2957         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
2958         directory -- it is now mkcheck working directory.
2959         * tests_flags.in: Remove reference to $(top_srcdir).  Use
2960         ${SRC_DIR} instead.
2961         * Makefile.am (check, check-install): Change mkcheck invocation
2962         logic.
2963         * Makefile.in: Regenerate.
2965 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
2967         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2968         (__always_swap): Likewise.
2970 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2972         * libsupc++/exception_support.cc (__terminate_func): Remove
2973         declaration.
2974         (__terminate_func_ptr): New typedef.
2975         (__terminate, __terminate_set_func): New extern function
2976         prototypes.
2977         (std::terminate): Use __terminate function.
2978         (std::set_terminate): Use __terminate_set_func function.
2980 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2982         * configure.target: Just use os_include_dir always.
2983         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2984         Link atomicity files and ctype files here.
2985         * configure: Regenerate.
2986         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2987         (GLIBCPP_ENABLE_ATOMICITY): Remove.
2988         * aclocal.m4: Regenerate.
2990 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2992         * configure.in: Place definition of MULTISUBDIR in
2993         libsupc++/Makefile as is done for src/Makefile.
2994         * configure: Regenerate.
2996 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
2998         * acinclude.m4:  Cosmetic changes only.
2999         * aclocal.m4:  Regenerated.
3000         * configure:  Regenerated.
3001         * configure.target:  Update documented list of changed variables.
3002         * docs/html/install.html:  Fix typo.
3003         * docs/html/20_util/howto.html:  More notes on auto_ptr.
3004         * docs/html/27_io/howto.html:  More notes on streabufs.
3005         * docs/html/faq/index.html:  Add rel_ops problem and mention the
3006           DEC as(1) .subsection difficulty.
3007         * docs/html/faq/index.txt:  Regenerated.
3009 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
3011         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3012         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3013         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3014         its already provided in config.target.
3015         * aclocal.m4: Regenerated.
3016         * configure: Likewise.
3017         * configure.target: Set ctype_include_dir for lots of systems.
3018         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3019         * libsupc++/Makefile.in: Regenerated.
3021 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
3023         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
3024         keyword capability.
3026         * testsuite/README: Add comment.
3028 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
3030         * docs/html/configopts.html:  Update for current status.  Fix HTML.
3031         * docs/html/install.html:  Update for current status.
3033 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3035         * testsuite/libstdc++.tests/tests.exp: New file.
3036         * testsuite/lib/libstdc++.exp: Itou.
3037         * testsuite/README: Itou.
3039 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
3041         * tests_flags.in: Just output the bare minimum to run tests.
3042         Let's the caller do its own arrangement.
3044         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
3045         computations.
3047 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
3049         * testsuite/17_intro: Prepare testcases for new style DejaGnu
3050         framework.
3052 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3054         * testsuite/libstdc++.tests, testsuite/lib: New directories.
3056 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
3058         * mkcheck.in: Construct file names that match $objdir structure.
3059         * testsuite/27_io/filebuf_members-1.txt: New file.
3060         * testsuite/27_io/ifstream_members-1.txt: New file.
3061         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3063         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3064         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3066 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3068         * testsuite/27_io/istream_sentry.cc (test02): Fix.
3070 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
3072         libstdc++/1605
3073         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3074         * src/ios.cc (ios_base::failure): Make definitions match.
3075         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3076         (class bad_cast): Same.
3077         * libsupc++/exception (class exception): Add throw specs.
3078         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3079         (set_unexpected): Same.
3080         (uncaught_exception): Same.
3081         (what): Same.
3083         * docs/html/17_intro/C++STYLE (classname): Fix.
3085 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
3087         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3088         Use it do explicitly instantiate predicate<T> and value<T> for
3089         all the builtin Ts.
3091 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
3093         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3094         uninitialized thinko in last change.
3096 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
3098         * libsupc++/exception_support.cc (__cp_pop_exception): Change
3099         prototype.
3101 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3103         * docs/html/17_intro/C++STYLE (classname): Add more existing
3104         and stylish patterns.
3106         libstdc++/944
3107         * include/bits/istream.tcc (istream::sentry::sentry()): Set
3108         failbit if the state of the stream is not good.
3109         * testsuite/27_io/istream_sentry.cc (test02): Add test.
3110         * testsuite/27_io/istream_manip.cc (test01): Modify.
3112         libstdc++/1019
3113         reported by Paolo Carlini <pcarlini@unitus.it>
3114         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3115         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3117         libstdc++/1057
3118         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3119         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3120         (xsgetn): Same. Simplify.
3121         * testsuite/27_io/streambuf.cc (test04): Add testcases.
3123         reported by Larry Evans <jcampbell3@prodigy.net>
3124         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3125         equality with eof on returned value from overflow.
3127 2001-01-14  Andreas Jaeger  <aj@suse.de>
3129         * libio/libio.h: Add test for glibc 2.0.
3131 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3133         * config/os/djgpp/bits/*: Fix dates.
3135         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3136         _CharT* __end, _CharT __c): Remove.
3137         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3138         * include/bits/char_traits.h: Tweak.
3140 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
3142         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3143         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3144         bash bug.
3145         * aclocal.m4: regenerated.
3146         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3147         * configure: regenerated.
3148         * config/os/djgpp, config/os/djgpp/bits: new directories.
3149         * config/os/djgpp/bits/ctype_base.h,
3150         config/os/djgpp/bits/ctype_inline.h,
3151         config/os/djgpp/bits/ctype_noninline.h,
3152         config/os/djgpp/bits/os_defines.h: new files.
3154 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
3156         * include/c_std/bits/std_cstdio.h: Undef printf.
3158 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
3160         * src/ios.cc: Fix typo: change cout->wcout.
3162         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3163         * src/Makefile.in: Regenerate.
3165 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3167          * include/bits/std_complex.h: Fix a typo.
3169 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3170                              <kainz@ilm.com>
3172         Fixes for libstdc++/1576
3173         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3174         file, move contents into....
3175         * src/ios.cc: ...Here. Put defines for iostreams objects and
3176         initialization routines into one file to simplify DSO interaction.
3177         * include/bits/std_iostream.h: Touch.
3178         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3179         * src/Makefile.am (sources): Remove stdstreams.cc.
3180         * src/Makefile.in: Regenerate.
3182 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3184         * tests_flags.in (check_directory): Fix typo.
3186 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3188          * include/bits/std_complex.h: Fix a typo.
3190 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
3192         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3193         code path:) Remove magic constants and restructure to handle
3194         ctype.h bit mask layout changes more gracefully.  (Make fast
3195         code path:) Use __maskrune (), if available.
3196         (is): Remove special case for digit and xdigit masks.
3198 2001-01-09  Robert Lipe <robertlipe@usa.net>
3200         * include/c_std/bits/std_ctime.h: Undefine difftime.
3202 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
3204         * src/gen-num-limits.cc (signal_adapter): New template function.
3205         (signal_handler): Use it, instead of signal.
3206         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
3207         require both tests to trap to set trap_flag.
3209 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3211         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3212         initialize mbstate_t member, name offset data members *off, not pos.
3213         * include/bits/fstream.tcc (filebuf::filebuf): Same.
3215 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3217         reported by Chris G. Demetriou <cgd@sibyte.com>
3218         * configure.in: Change -linux-* to -linux*.
3219         * configure: Regenerate.
3221 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
3223         Fix 27_io/filebuf_members.cc
3224         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3225         const string& __name, category __cat, size_t __refs): Set
3226         _M_has_name with _M_name.
3227         * include/bits/localefwd.h (locale::operator!=): Protect member
3228         function call with this->.
3229         * src/locale.cc (locale::operator==): Make fast checks first.
3230         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3232         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3233         to ios_base::Init.
3234         * src/ios.cc (ios_base::Init::Init): Initialize here.
3235         (ios_base::sync_with_stdio): Set here.
3237 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
3239         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3240         systems that support it, call dup() before fdopen().
3242 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
3244         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3245         * testsuite/17_intro/header_cwctype.cc (main): New file.
3247         * src/Makefile.am (base_headers): Change.
3248         * include/bits/std_string.h: And here.
3249         * include/bits/string.tcc: Tweaks, move to...
3250         * include/bits/basic_string.tcc: ...Here.
3251         * src/string-inst.cc: Simplify, just instantiate the whole class,
3252         not member-by-member.
3254 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
3256         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3257         * aclocal.m4: Regenerate.
3258         * configure: Regenerate.
3260         * include/bits/c++config (__GLIBCPP__): Bump version number.
3262         * ChangeLog: Start new log for year 2001
3263         * ChangeLog-2000: New file.
3265         * docs/html/configopts.html: Make sure default values are current,
3266         add commentary.
3268 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
3270         * include/c_std/bits/std_cwchar.h: Same.
3271         * testsuite/17_intro/header_cwchar.cc: Same.
3272         * include/c_std/bits/std_ctime.h: Same.
3273         * testsuite/17_intro/header_ctime.cc: Same.
3274         * include/c_std/bits/std_cstdlib.h: Same.
3275         Clean up undefs, make consistent with cwchar and cmath, etc.
3276         * testsuite/17_intro/header_cstdlib.cc: Same.
3277         * include/c_std/bits/std_cstdio.h: Same here.
3278         * testsuite/17_intro/header_cstring.cc: Same.
3279         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3280         * testsuite/17_intro/header_cstring.cc: New file. Check for
3281         size_t in namespace std.
3283         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3284         * acconfig.h (HAVE_MBSTATE_T): Add.
3285         * config.h.in: Regenerate.
3286         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3287         mbstate_t.
3288         * aclocal.m4: Regenerate.
3289         * configure: Regenerate.
3290         * testsuite/17_intro/headers_c++.cc: New file.
3291         * testsuite/17_intro/headers_c.cc: Small changes.
3293 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
3295         * tests_flags.in: Fix typo in usage.
3297         * tests_flags.in: Set target specific LIBS for cygwin.