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