std_cstdio.h: Include cstddef for size_t.
[platform/upstream/gcc.git] / libstdc++-v3 / ChangeLog
1 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
4
5 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
6             Stephen L Moshier  <moshier@mediaone.net>
7
8         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
9         nothing, as in autoconf 2.50.
10         * configure: Rebuilt.
11
12 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
13
14         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
15         include std_cstddef.
16         * include/c_std/bits/std_ctime.h: Same.
17         * include/c_std/bits/std_cstring.h: Same.
18         * include/c_std/bits/std_cstdlib.h: Same.
19         
20         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
21         * include/c_std/bits/std_cctype.h: Remove isblank.
22
23 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
24
25         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
26         fgetws.
27         * aclocal.m4: Regenerate.
28         * configure: Regenerate.
29         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
30         injection, guard fgetwc, fgetws.
31         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
32         * include/c_std/bits/std_clocale.h: And here.
33         * include/c_std/bits/std_cctype.h: And here.
34         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
35
36         * config/basic_file_stdio.h: Don't include unistd.h.
37         * config/c_io_stdio.h: Don't use compatibility headers.
38         * libsupc++/eh_terminate.cc: Qualify abort.
39         (__terminate): And here.
40         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
41         
42 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
43
44         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
45
46 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
47
48         libstdc++/2767
49         libstdc++/2989
50         libstdc++/2992
51         * include/std/*: Add copyright notice.
52         * include/c_std/bits/*: Use using statements instead of extern "C".
53         * include/c_std/bits/std_cmath.h: Don't overload double versions
54         of math functions with __buitin versions, use global version to
55         prevent ambiguities. Remove define hacks.
56         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
57         functions that have changed signatures and std::
58         declarations. Remove define hacks.
59         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
60         __builtins in std::. Remove define hacks.
61         * testsuite/17_intro/headers_c.cc: Add tests.
62         * testsuite/17_intro/headers_c++.cc: Add test.
63
64 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
65             John David Anglin  <dave@hiauly1.hia.nrc.ca>
66
67         * libsupc++/eh_alloc.cc: Ensure that required macros are
68         defined before including gthr.h.  Ensure that we get the
69         version of gthr.h for which we know how to provide a
70         configuration.
71         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
72         code path into line with the current EH model.  Use std, where
73         appropriate.
74
75 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
76             John David Anglin  <dave@hiauly1.hia.nrc.ca>
77
78         * config/threads-no.h: Remove file.
79         * config/threads-posix.h: Remove file.
80
81         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
82         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
83         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
84         * config.h.in: Regenerate.
85
86         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
87         setup and use gthr*.h files.  In particular, make gthr.h files
88         namespace-clean in the staging area (they don't have to be for
89         libgcc.a).
90         * aclocal.m4: Regenerate.
91         * configure: Regenerate.
92
93         * src/Makefile.am (build_headers): Remove bits/c++threads.h
94         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
95         * src/Makefile.in: Regenerate.
96
97         * include/bits/c++config: Cleanup threading configuration macros.
98         In particular, define __STL_GTHREADS macro which controls...
99         * include/bits/stl_threads.h: ...a brand new gthr.h-based
100         configuration here.
101
102         * config/c_io_stdio.h: Include staged gthr.h instead of local
103         thread configuration file.  Always use __gthread_mutex_t
104         instead of __mutext_type (or int).
105         * include/bits/std_fstream.h: Likewise.
106
107         * docs/html/17_intro/howto.html: Remove placeholder comment in
108         case this configuration patch didn't make it.  Add advice that
109         section only applies if configured with --enable-threads.
110         * docs/html/23_containers/howto.html: Reword to make clear
111         that _PTHREADS is no longer required for any port to be
112         correctly using STL with threads.  Add advice that section
113         only applies if configured with --enable-threads.
114
115 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
116
117         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
118
119 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
120
121         libstdc++/3045
122         * include/bits/basic_ios.tcc: Formatting tweaks.
123         * include/bits/ios_base.h: Formatting tweaks.
124         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
125         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
126         * src/globals.cc: Allocate filebufs for standard streams here.
127         (buf_cout, buf_cin, buf_cerr): Like so.
128         (buf_wcout, buf_wcin, buf_wcerr): And so.
129         * testsuite/27_io/ios_init.cc: Add.
130         
131 2001-06-04  Brendan Kehoe  <brendan@zen.org>
132             Benjamin Kosnik  <bkoz@redhat.com>
133         
134         libstdc++/3017
135         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
136         for generic ctype virtuals.
137         * src/locale.cc: Minor tweaks, naming consistency.
138         * testsuite/22_locale/ctype.cc: Add test.
139         
140 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
141             Phil Edwards  <pme@sources.redhat.com>
142
143         PR libstdc++/3035 and PR libstdc++/3036
144         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
145         to LWG DR 181 and 265.
146
147 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
148
149         PR libstdc++/3034
150         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
151         equal_range):  Add const overloads as per LWG DR 214.
152         * include/bits/stl_set.h:  Likewise.
153
154 2001-06-04  Brendan Kehoe  <brendan@zen.org>
155             Phil Edwards  <pme@sources.redhat.com>
156
157         PR libstdc++/3018
158         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
159         comparison; all positions must be < _Nb.
160         * testsuite/23_containers/bitset_members.cc:  New file.
161
162 2001-06-04  Brendan Kehoe  <brendan@zen.org>
163
164         PR libstdc++/3016
165         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
166         ctors to match the standard.
167
168 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
169
170         * include/bits/char_traits.h (move): Reverse qualification of
171         memmove with std::.
172         (copy): Reverse qualification of memcpy with std::.
173
174 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
175
176         * include/bits/char_traits.h (move): Qualify memmove with std::.
177         (copy): Qualify memcpy with std::.
178         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
179         strncmp with std::.
180         (test02): Likewise.
181         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
182
183 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
184
185         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
186         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
187         SUN make VPATH peculiarities.
188         * libsupc++/Makefile.in: Regenerate.
189
190 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
191
192         * src/Makefile.am (VPATH): Delimit with ":", not space.
193         * src/Makefile.in: Regenerate.
194
195         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
196         make isn't found.
197         * configure: Regenerate.
198
199 2001-05-31  scott snyder  <snyder@fnal.gov>
200
201         libstdc++/2976
202         * include/bits/istream.tcc: Include std_ostream.h.
203
204 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
205
206         libstdc++/2997
207         * src/bitset.cc: Qualify size_t with std::.
208
209 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
210
211         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
212         (_GLIBCPP_BUGGY_COMPLEX): Remove.
213         * config.h.in: Regenerate.
214         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
215         * aclocal.m4: Regenerate.
216         * configure.in: Don't call it.
217         * configure: Regenerate.
218
219         libstdc++/2970
220         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
221         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
222         New test.
223
224         libstdc++/2985
225         * include/bits/std_complex.h: Include sstream. Put definitions for
226         complex inserters and extractors here, and remove them from...
227         * src/complex_io.cc: ...here.
228         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
229         parameter.
230         (basic_ios::__numget_type): Same.
231         * include/bits/std_istream.h: Same.
232         * include/bits/std_ostream.h: Same.
233         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
234         class iterator template arguments.
235         * src/locale-inst.cc: Add explicit has_facet instantiations.
236         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
237         (_M_get_fnumput): Remove.
238         (_M_get_fnumget): Remove.
239         (basic_ios::_M_check_facet): New function.
240         (basic_ios::_M_cache_facets): New function.
241         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
242         (basic_ios::imbue): Call _M_cache_facets.
243         (basic_ios::init): Same.
244         * include/bits/istream.tcc: Format, use _M_check_facet.
245         * include/bits/ostream.tcc: Same.
246         * include/bits/locale_facets.tcc (__output_float): Change
247         signature, add _Traits.
248         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
249         New test.
250
251 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
252
253         * include/bits/c++config (__USE_MALLOC): Do not define it.
254         Document why not and give pointers to more information.
255
256         * docs/html/23_containers/howto.html: Update documentation
257         to reflect recent understanding of problem.
258         * docs/html/17_intro/howto.html: Likewise.
259
260 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
261
262         * docs/doxygen/user.cfg.in:  Minor addition.
263         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
264         stuff first.
265         * docs/html/install.html:  Update for 3.0.  HTML fixups.
266         * docs/html/17_intro/howto.html:  Likewise.
267         * docs/html/18_support/howto.html:  Likewise.
268         * docs/html/19_diagnostics/howto.html:  Likewise.
269         * docs/html/20_util/howto.html:  Likewise.
270         * docs/html/23_containers/howto.html:  Likewise.
271         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
272         * docs/html/25_algorithms/howto.html:  Likewise.
273         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
274         * docs/html/27_io/howto.html:  Likewise.
275         * docs/html/ext/howto.html:  Likewise.
276         * docs/html/faq/index.html:  Likewise.
277         * docs/html/faq/index.txt:  Regenerate.
278         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
279         Doxygen-created documentation.
280
281 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
282
283         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
284         get_multilibs to find gcc.
285         
286 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
287
288         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
289         * aclocal.m4:  Regenerate.
290         * configure:  Regenerate.
291
292 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
293  
294        * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
295        * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
296  
297 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
298
299        * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
300        * include/c_std/bits/std_cstdlib.h: Same.
301        * include/c_std/bits/std_cwchar.h: Same.
302
303 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
304
305         * docs/html/17_intro/howto.html: Update link.
306         * docs/html/23_containers/howto.html: Likewise.  Add new link.
307
308 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
309
310         * include/c_std/bits/std_cmath.h (sqrt): #undef.
311         
312 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
313
314         * mknumeric_limits: Stop if gen-num-limits dies.
315
316 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
317
318         other/2931
319         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
320         * aclocal.m4: Regenerate.
321         * configure: Same.
322         
323 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
324             Phil Edwards  <pme@sources.redhat.com>
325             Alexandre Oliva  <aoliva@redhat.com>
326
327         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
328         in an amd-safe manner. Revert glibcpp_prefixdir.
329
330 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
331
332         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
333         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
334         variants. 
335
336 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
337
338         libstdc++/2830
339         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
340         * include/bits/ostream.tcc: Format to match istream.tcc.
341         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
342         
343 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
344
345         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
346         malloc with std:: .
347         (__cxa_free_exception):  Likewise with free.
348
349 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
350
351         * include/c_std/bin/std_cstring.h: #define away all global
352         functions we will redeclare in namespace `std'.
353         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
354         std::memset, instead of memset.
355         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
356         not plain `strcmp'.
357         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
358         plain `strcpy'.
359         
360 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
361
362         libstdc++/2832
363         * include/bits/basic_ios.tcc: Small tweak.
364         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
365         ctors and dtors, and rdbuf settings.
366         (ofstream): Same.
367         (fstream): Same.
368         * include/bits/std_sstream.h: Same, but for stringstream classes.
369         * testsuite/27_io/ostringstream_members.cc: New.
370         * testsuite/27_io/stringstream_members.cc: New. 
371         * testsuite/27_io/fstream_members.cc: New.              
372         * testsuite/27_io/ifstream_members.cc: Add test.
373         * testsuite/27_io/istringstream_members.cc: Add test.
374         * testsuite/27_io/ofstream_members.cc: Add test.
375
376 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
377
378         * include/bits/c++config(__NO_MATH_INLINES): Move to...
379         * config/os/gnu-linux/bits/os_defines.h: ...here.
380
381 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
382
383         * include/bits/c++config (__NO_MATH_INLINES): New macro.
384         * testsuite/26_numerics/fabs_inline.cc (main): New test.
385
386 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
387
388         libstdc++/2841
389         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
390         ld_library_path.  
391         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
392         (libstdc++-v3-finish): Remove.
393         (libstdc++-v3_exit): Remove.
394
395 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
396
397         * docs/html/documentation.html:  Point to doxygen output.
398
399 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
400
401         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
402
403         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
404         arguments to be non-null.
405         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
406         try allocations if allocated size is greater than zero.
407         (filebuf::_M_filebuf_init): Change to
408         (filebuf::_M_allocate_file): Which is what it does now. 
409         (filebuf::_M_allocate_bufers): Change to
410         (filebuf::_M_allocate_internal_buffer): This, and create
411         (filebuf::_M_allocate_pback_buffer): New.
412         (filebuf::_M_destroy_internal_buffer): New.
413         (filebuf::_M_buf_allocated): New data member.
414         (filebuf::setbuf): Use new logic, allow use of external buffer.
415         * testsuite/27_io/stringbuf_virtuals.cc: New file.
416         * testsuite/27_io/filebuf_virtuals.cc: New file.
417
418 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
419
420         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
421         __glibcpp_memchr.
422         (strchr): Same, but to __glibcpp_strchr.
423         (strpbrk): Same.
424         (strrchr): Same.
425         (strstr): Same.  
426         * include/c_std/bits/std_cwchar.h (wcschr): Same.
427         (wcsbrk): Same.
428         (wcsrchr): Same.
429         (wcsstr): Same.
430         (wmemchr): Same.
431
432 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
433
434         * testsuite/21_strings/c_strings.cc (main): Fix.
435
436 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
437
438         * acinclude.m4:  Fix --help spacing, correct comments.
439         * aclocal.m4:  Regenerate.
440         * configure:  Regenerate.
441         * mkcheck.in:  Add usage comments.
442         * docs/html/documentation.html:  Point to doxygen'd tarball.
443
444 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
445
446         * testsuite/README: Add notes.
447
448         * src/Makefile.am (libstdc++.INC): Remove.
449         * src/Makefile.in: Regenerate.
450
451         Phil Edwards <pedwards@disaster.jaj.com>
452         * mkcheck.in: Add missing '#'.
453
454 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
455
456         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
457         appropriately for remote testing and testing installed files without
458         a build dir.
459
460 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
461
462         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
463         amd glibcpp_prefixdir with absolute paths.
464
465         * include/bits/c++config (__GLIBCPP__): Bump.
466         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
467
468 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
469
470         * include/bits/std_valarray.h (valarray<>::operator[] const):
471         Return a const reference. 
472         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
473
474 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
475
476         * configure.target (ATOMICITYH): Actually use AIX-specific code on
477         earlier versions of AIX 4.*.
478
479 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
480
481         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
482         output_file based on the name of the testcase.
483
484 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
485
486         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
487         gluefile and use it if needs_status_wrapper is set.
488
489 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
490
491         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
492         versions of AIX.
493
494 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
495
496         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
497         on earlier versions of AIX.
498
499 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
500
501         * testsuite_flags.in (query): Add backwards, ext directories.
502
503 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
504
505         * porting.texi: Correct documentation about handling
506         _LARRGEFILE_SOURCE and its ilk.
507         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
508         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
509         __EXTENSIONS__.
510         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
511         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
512
513 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
514         
515         * testsuite/21_strings/inserters_extractors.cc,
516         testsuite/27_io/istream_unformatted.cc,
517         testsuite/27_io/stringstream.cc:
518         Replace multi-line string constants with C89-style
519         concatenated string constants.
520         
521 2001-05-14  Richard Henderson  <rth@redhat.com>
522
523         * mknumeric_limits: Build with -fno-exceptions.
524
525 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
526
527         Switch over to new harness.
528         * testsuite_flags.in: Tweaks via Gaby.
529         * testsuite/Makefile.am: Change tool to libstdc++-v3.
530         (EXPECT): Quote directly.
531         (RUNTEST): Same.
532         * configure.in: Output testsuite_flags.
533         * acinclude.m4: Substitute src, bld, and prefix dirs.
534         Remove glibcpp_expect, glibcpp_runtestflags.
535         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
536         * mkcheck.in: Port to new interface.
537         
538         * aclocal.m4: Regerate.
539         * configure: Regnerate.
540         * Makefile.in: Regnerate.
541         * */Makefile.in: Regenerate.
542         
543         * tests_flags.in: Remove.
544         * testsuite/lib/libstdc++.exp: Remove.
545         * testsuite/libstdc++.tests/tests.exp: Remove.
546         
547 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
548
549         * configure.target: Remove detection of AIX pthread multilib, now
550         obtained from `gcc -v'.
551
552 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
553
554         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
555         size.  Add hpux case for HP size.
556
557 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
558
559         * testsuite_flags.in: New, simplified interface.
560         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
561         * testsuite/libstdc++-v3.dg: Add.
562         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
563
564 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
565
566         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
567         * testsuite/config/default.exp: Update bugs email address.
568         
569 2001-05-11  Richard Henderson  <rth@redhat.com>
570
571         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
572         all pointer encoding logic.
573         (struct lsda_header_info): Add ttype_base.
574         (get_ttype_entry): Use it instead of a context.
575         (check_exception_spec): Likewise.
576         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
577         the c++ exception header for __cxa_call_unexpected.
578         (__cxa_call_unexpected): Use it.
579
580 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
581
582         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
583         libgloss_link_flags to find crt0.o for targets that use libgloss
584         instead of newlib.
585         Change LDFLAGS to LIBS.
586         Consistently name procedures libstdc++-XXX.
587         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
588         
589 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
590
591         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
592         (strchr): Same.
593         (strpbrk): Same.
594         (strrchr): Same.
595         (strstr): Same.
596         * include/c_std/bits/std_cwchar.h (wcschr): Same.
597         (wcsbrk): Same.
598         (wcsrchr): Same.
599         (wcsstr): Same.
600         (wmemchr): Same.
601         * testsuite/21_strings/c_strings.cc: Add tests.
602         
603 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
604
605         libstdc++/2523
606         * include/bits/std_fstream.h (basic_filebuf): Change signature.
607         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
608         to int_type, pass in buffer size info.
609         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
610         unbuffered situation.
611         (underflow): Remove codecvt bits for the time being.
612         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
613         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
614         values from iterators, clean.
615         * src/locale.cc: Ditto.
616         * include/bits/sbuf_iter.h: Format.
617         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
618         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
619         * testsuite/27_io/filebuf.cc: Tweaks.
620         * testsuite/27_io/filebuf_members.cc: Tweaks.
621         
622 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
623
624         * config/os/solaris/solaris2.7/bits/os_defines.h
625         (_LARGEFILE_SOURCE): Define it.
626
627 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
628
629         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
630         -prefer-non-pic depending on whether libtool has shared libraries
631         enabled or disabled.
632         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
633         $(LIBSUPCXX_PICFLAGS).
634         * configure, */Makefile.in: Rebuilt.
635
636 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
637
638         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
639         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
640
641         * include/bits/std_sstream.h (stringbuf): Leak
642         copied string.
643         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
644         
645 2001-05-01  Tom Browder  <tbrowder@home.com>
646
647         * docs/html/ext/howto.html:  Fix typo.
648
649 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
650
651         * testsuite/libstdc++.tests/tests.exp: Add comment.
652
653 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
654
655         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
656
657 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
658
659         * porting.texi: Use the GFDL.
660
661 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
662
663         libstdc++/2627 
664         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
665         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
666         specializations.
667
668 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
669
670         libstdc++/2964
671         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
672
673 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
674
675         * docs/doxygen/run_doxygen:  Minor tweaks.
676         * docs/doxygen/style.css:  New file.
677         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
678         latest parameters available.  Use style.css.
679
680 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
681
682         * docs/doxygen/mainpage.doxy: New.
683         * docs/doxygen/user.cfg.in: Change default configuration. Single
684         frame, other tweaks.
685
686 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
687
688         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
689         Indicate obsolete nature of thelist for G++ 3.0.
690
691 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
692
693         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
694         target_thread_file with `gcc -v'.
695         * aclocal.m4, configure: Rebuilt.
696
697 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
698
699         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
700         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
701         * include/c_std/bits/std_cwchar.h (std): Same.
702         * acconfig.h (std): Remove c99 injection into std.
703         * config.h.in: Regenerate.
704         
705         * testsuite/README: Fix typo.
706
707         * include/bits/codecvt.h: Remove warnings.
708         
709 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
710
711         * include/ext/slist: Include required header files. 
712
713 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
714
715         * include/c_std/bits/std_cerrno.h (errno): Define macro from
716         identifier declared with external linkage, if needed.
717         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
718         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
719
720 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
721
722         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
723         re-configures find the build compiler.
724         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
725         libstdc++/2609.
726         * aclocal.m4: Regenerate.
727         * configure: Regenerate.
728
729 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
730
731         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
732         support is enabled correctly before long long is activated.
733         * aclocal.m4: Regenerate.
734         * configure: Regenerate.
735         
736         * include/backward/backward_warning.h: Format correctly.
737
738         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
739         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
740         * testsuite/26_numerics/c99_macros.cc: Remove.
741         
742 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
743
744         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
745         __iterator_category.
746
747 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
748
749         * acconfig.h (_GLIBCPP_USE_C99): Add.
750         * config.h.in: Regenerate.
751         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
752         9899: 1999 support.
753         * aclocal.m4: Regenerate.
754         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
755         * configure: Regenerate.
756         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
757         * configure: Regenerate.
758         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
759         into c99.
760         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
761         namespace.
762         * include/c_std/bits/std_cstdlib.h: Same.
763         * docs/html/configopts.html: Update.
764         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
765         math.h
766         (test_c99_classify): Add.
767         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
768         (_ISOC99_SOURCE): Remove.
769
770         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
771         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
772         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
773         * aclocal.m4: Regenerate.
774         * configure: Regenerate.
775         
776 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
777
778         * Makefile.am (doxygen):  Assume script is missing execute perms.
779         * Makefile.in:  Regenerated.
780         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
781
782 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
783
784         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
785
786 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
787
788         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
789         * testsuite/23_containers/set_operators.cc: Same.
790
791         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
792         default.
793         (__GLIBCPP__): Bump from value of last release.
794         * include/bits/concept_check.h: Default to off, edit comments.
795         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
796         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
797         * src/Makefile.in: Regenerate.
798         
799 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
800
801         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
802         Properly uglify member.
803
804 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
805
806         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
807         of EqualityCo
808         mparableConcept.
809
810 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
811
812         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
813         * include/bits/concept_check.h:  Uglify.
814         * include/bits/stl_algo.h:  Likewise.
815         * include/bits/stl_algobase.h:  Likewise.
816         * include/bits/stl_deque.h:  Likewise.
817         * include/bits/stl_heap.h:  Likewise.
818         * include/bits/stl_iterator_base_funcs.h:  Likewise.
819         * include/bits/stl_list.h:  Likewise.
820         * include/bits/stl_map.h:  Likewise.
821         * include/bits/stl_multimap.h:  Likewise.
822         * include/bits/stl_multiset.h:  Likewise.
823         * include/bits/stl_numeric.h:  Likewise.
824         * include/bits/stl_queue.h:  Likewise.
825         * include/bits/stl_set.h:  Likewise.
826         * include/bits/stl_stack.h:  Likewise.
827         * include/bits/stl_vector.h:  Likewise.
828         * include/ext/hash_map:  Likewise.
829         * include/ext/hash_set:  Likewise.
830         * include/ext/slist:  Likewise.
831
832 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
833
834         * testsuite/23_containers/set_operators.cc: Just try to compile.
835         Mark as XFAIL.   
836         * testsuite/23_containers/map_operators.cc: Same.
837
838 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
839
840         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
841         output_file.
842         (dg-test): Revert rth's change.
843
844 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
845
846         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
847         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
848
849 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
850
851         * testsuite/README: Add DejaGnu specific documentation.
852
853 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
854         
855         * acinclude.m4: AC_CHECK_TOOL for expect.
856         * aclocal.m4: Regenerate.
857         * configure: Regenerate.
858         * testsuite/Makefile.am (RUNTEST): Use substituted.
859         (EXPECT): Same.
860
861         * configure.in: Remove xcompiling substitution.
862         * tests_flags.in (CROSS_LIB_PATH): Remove.
863         (xcompiling): Remove.
864         (CXX): Use substituted CXX.
865         
866 2001-04-11  Richard Henderson  <rth@redhat.com>
867
868         * testsuite/lib/libstdc++.exp: Specify path for output_file.
869
870 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
871
872         * include/bits/std_valarray.h(valarray<>::operator[]): Make
873         inline. 
874
875 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
876   
877         * testsuite/25_algorithms/equal.cc: New test.
878
879 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
880
881         * stl_algobase.h (std::equal): avoid use of possibly-undefined
882         operator != (one line patch).
883
884 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
885
886         * include/backward/backward_warning.h: Re-enable.
887
888 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
889             Alexandre Oliva  <aoliva@redhat.com>
890         
891         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
892
893 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
894
895         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
896         * testsuite/26_numerics/c99_macros.cc: Add test.
897
898 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
899
900         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
901         * docs/html/faq/index.txt:  Regenerated.
902
903 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
904
905         * include/backward/backward_warning.h: Temporarily disable until
906         g++ testsuite changes go in.
907         * tests_flags.in (CROSS_LIB_PATH): Add.
908
909 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
910
911         Warn when using backward headers.
912         * include/backward/algo.h: Include warning file.        
913         * include/backward/vector.h: Same.
914         * include/backward/tree.h: Same.
915         * include/backward/tempbuf.h: Same.
916         * include/backward/strstream: Same.
917         * include/backward/streambuf.h: Same.
918         * include/backward/stream.h: Same.
919         * include/backward/stack.h: Same.
920         * include/backward/slist.h: Same.
921         * include/backward/set.h: Same.
922         * include/backward/rope.h: 
923         * include/backward/queue.h: Same.
924         * include/backward/pair.h: Same.
925         * include/backward/ostream.h: Same.
926         * include/backward/new.h: Same.
927         * include/backward/multiset.h: Same.
928         * include/backward/multimap.h: Same.
929         * include/backward/map.h: Same.
930         * include/backward/list.h: Same.
931         * include/backward/iterator.h: Same.
932         * include/backward/istream.h: Same.
933         * include/backward/iostream.h: 
934         * include/backward/iomanip.h: 
935         * include/backward/heap.h: Same.
936         * include/backward/hashtable.h: 
937         * include/backward/hash_set.h: 
938         * include/backward/hash_map.h: 
939         * include/backward/function.h: 
940         * include/backward/fstream.h: 
941         * include/backward/deque.h: 
942         * include/backward/defalloc.h: Same.
943         * include/backward/complex.h: Same.
944         * include/backward/bvector.h: 
945         * include/backward/alloc.h: 
946         * include/backward/algobase.h: Same.
947
948         * include/backward/backward_warning.h: New file.
949         * src/Makefile.am (backward_headers): Add backward_warning.h
950         * src/Makefile.in: Regenerate.
951
952 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
953
954         * src/Makefile.am (myinstalldirs): Make sure backward directory is
955         created.
956         (myinstallheaders): Install backward headers in backward directory.
957         * src/Makefile.in: Regenerate.
958         
959 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
960
961         Prepare for libstdc++-2.92.
962         * docs/html/17_intro/RELEASE-NOTES (New): Update.
963         * docs/html/configopts.html: Fix formatting.
964         * README (file): Updates.
965         * include/bits/c++config (__GLIBCPP__): Update.
966
967 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
968
969         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
970
971 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
972
973         * docs/doxygen/user.cfg.in:  Extract all non-private members;
974           reduce confusing documentation output.
975
976 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
977
978         * include/backward/fstream.h: Add missing semicolons.
979
980 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
981
982         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
983         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
984         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
985         (ios_base::Init::_S_ios_create): New.
986         (ios_base::Init::_S_ios_destroy): New.  
987         * include/bits/std_fstream.h: Change ctor args.
988         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
989         (ios_base::Init::~Init): Use _S_ios_destroy.
990         (ios_base::sync_with_stdio): Use new members.
991         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
992         filebuf ctor.
993
994 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
995
996         * include/backward/fstream.h:  Expose streampos to global
997           namespace.
998         
999 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1000
1001         * include/bits/stl_iterator_base_types.h: Fix typo
1002
1003 2001-04-03  Andreas Schwab  <schwab@suse.de>
1004
1005         * include/backward/fstream.h: Define filebuf and wfilebuf.
1006
1007 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
1008
1009         New concept checking implementation.
1010         * docs/html/19_diagnostics/howto.html:  Document.
1011         * docs/html/17_intro/concept_check.diff:  New file, for reference.
1012         * include/bits/boost_concept_check.h:  New file from Boost.
1013         * include/bits/c++config:  Update comments.
1014
1015         * include/bits/concept_check.h:  New file.
1016         * include/bits/concept_checks.h:  Removed.
1017         * include/bits/container_concepts.h:  Removed.
1018         * include/bits/sequence_concepts.h:  Removed.
1019         * include/bits/stl_iterator_base.h:  Removed; split into...
1020         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
1021         * include/bits/stl_iterator_base_types.h:  ...and this new file.
1022
1023         * include/bits/sbuf_iter.h:  Update to use new implementation.
1024         * include/bits/std_iterator.h:  Likewise.
1025         * include/bits/std_memory.h:  Likewise.
1026         * include/bits/stl_algo.h:  Likewise.
1027         * include/bits/stl_algobase.h:  Likewise.
1028         * include/bits/stl_construct.h:  Likewise.
1029         * include/bits/stl_deque.h:  Likewise.
1030         * include/bits/stl_heap.h:  Likewise.
1031         * include/bits/stl_list.h:  Likewise.
1032         * include/bits/stl_map.h:  Likewise.
1033         * include/bits/stl_multimap.h:  Likewise.
1034         * include/bits/stl_multiset.h:  Likewise.
1035         * include/bits/stl_numeric.h:  Likewise.
1036         * include/bits/stl_queue.h:  Likewise.
1037         * include/bits/stl_set.h:  Likewise.
1038         * include/bits/stl_stack.h:  Likewise.
1039         * include/bits/stl_uninitialized.h:  Likewise.
1040         * include/bits/stl_vector.h:  Likewise.
1041         * include/ext/hash_map:  Likewise.
1042         * include/ext/hash_set:  Likewise.
1043         * include/ext/slist:  Likewise.
1044         * include/ext/stl_hashtable.h:  Likewise.
1045
1046         * src/Makefile.am (base_headers):  Update list of headers.
1047         * Makefile.in:  Regenerated.
1048         * src/Makefile.in:  Regenerated.
1049         * libio/Makefile.in:  Regenerated.
1050         * libmath/Makefile.in:  Regenerated.
1051         * libsupc++/Makefile.in:  Regenerated.
1052         * testsuite/Makefile.in:  Regenerated.
1053
1054         * docs/html/install.html:  Update contact information.
1055         * docs/html/17_intro/howto.html:  Ditto.
1056         * docs/html/18_support/howto.html:  Ditto.
1057         * docs/html/20_util/howto.html:  Ditto.
1058         * docs/html/21_strings/howto.html:  Ditto.
1059         * docs/html/22_locale/howto.html:  Ditto.
1060         * docs/html/23_containers/howto.html:  Ditto.
1061         * docs/html/24_iterators/howto.html:  Ditto.
1062         * docs/html/25_algorithms/howto.html:  Ditto.
1063         * docs/html/26_numerics/howto.html:  Ditto.
1064         * docs/html/27_io/howto.html:  Ditto.
1065         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
1066         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
1067         * docs/html/faq/index.txt:  Regenerated.
1068
1069 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
1070
1071         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1072         messages with $which_library as well as $tool_flags and
1073         ${dg-extra-tool-flags}.  Factor out annotation text into
1074         a single variable.
1075
1076 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
1077
1078         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1079         * include/c_std/bits/std_cwchar.h: Same.
1080         * testsuite/21_strings/c_strings.cc: Add.
1081
1082 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
1083
1084         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1085
1086 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
1087
1088         * tests_flags.in: Use test a = b, not test a == b which is not
1089         portable.
1090
1091 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
1092
1093         * configure.target: Remove duplicate aix entry.
1094
1095 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
1096
1097         * include/ext/stl_bvector.h: Move to...
1098         * include/bits/stl_vector.h: ...here.
1099         * include/ext/bvector: Move to...
1100         * include/backward/bvector.h: ...here.
1101         * include/bits/std_vector.h: Change stl_bvector include.
1102         * include/bits/std_queue.h: Remove bvector include.
1103         * include/ext/tree: Insert using rb_tree, move to...
1104         * include/backward/tree.h: ...here.
1105         * include/backward/hash_map.h: Include ext/hash_map.
1106         * include/backward/hash_set.h: Include ext/hash_set.
1107         * include/backward/queue.h: New file.
1108         * include/backward/stack.h: Edit.
1109         * include/backward/algo.h: Same.
1110         * include/backward/algobase.h: Same.
1111         * include/backward/alloc.h: Same.
1112         * include/backward/function.h: Same.
1113         * include/backward/iomanip.h: Same.
1114         * include/backward/istream.h: Same.
1115         * include/backward/iterator.h: Same.
1116         * include/backward/list.h: Same.
1117         * include/backward/map.h: Same.
1118         * include/backward/multimap.h: Same.
1119         * include/backward/multiset.h: Same.
1120         * include/backward/ostream.h: Same.
1121         * include/backward/pair.h: Same
1122         * include/backward/rope.h: Same.
1123         * include/backward/set.h: Same.
1124         * include/backward/stream.h: Same.
1125         * include/backward/strstream.h: Same.
1126         * include/backward/tempbuf.h: Same.
1127         * src/Makefile.am (ext_headers): Edit.
1128         * src/Makefile.in: Regenerate.
1129         * testsuite/ext/headers.cc (main): Fix.
1130         * mkcheck.in: Fix.
1131
1132 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
1133
1134         * tests_flags.in (LIBS):  Pass correct path for installed testing.
1135
1136 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
1137
1138         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1139         * tests_flags.in (CXX): Construct here.
1140         (static_fail): Don't remove compile.out. Format with spaces.
1141         (INCLUDES): Deal with xcompiling.
1142         * configure.in (xcompiling): Substitute.
1143         * testsuite/Makefile.am: Snake libjava configury.
1144         * testsuite/Makefile.in: Regenerate.
1145         * testsuite/23_containers/map_operators.cc: Tweaks.
1146         * testsuite/23_containers/set_operators.cc: Tweaks.
1147
1148 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1149
1150         Enable dejagnu testing framework.
1151         * configure.in: Generate testsuite/Makefile.
1152         * configure: Regenerate.
1153         * Makefile.am (check-install): Change rule from this...
1154         (check-script-install): ...to this.
1155         (check): Change rule from this...
1156         (check-script):...to this.
1157         * Makefile.in: Regenerate.
1158
1159 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
1160
1161         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1162         --tag CXX.
1163         (LIBTOOL): Let automake take care of its definition.
1164         * libsupc++/Makefile.in: Rebuilt.
1165
1166 2001-03-28  Richard Henderson  <rth@redhat.com>
1167
1168         IA-64 ABI Exception Handling:
1169         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1170         * configure.in: Use it.
1171         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1172         * libsupc++/Makefile.am (sources): Update files list.
1173         * libsupc++/Makefile.in: Regenerate.
1174         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1175         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1176         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1177         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1178         * libsupc++/exception_support.cc: Remove.
1179         * libsupc++/exception_support.h: Remove.
1180         * libsupc++/pure.cc: Use std::terminate.
1181         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1182         (__is_pointer): Remove.
1183         * libsupc++/unwind-cxx.h: New file.
1184         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1185
1186 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
1187
1188         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1189         CXX tag explicitly.
1190         * src/Makefile.am (CXXLINK): Likewise.
1191         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1192
1193 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1194
1195         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1196
1197 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1198
1199         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1200           and libc
1201
1202 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1203
1204         * include/bits/basic_file.h (get_fileno): Remove.
1205         (_M_fileno): Remove.
1206         (_M_cfile_created): Add.
1207         (basic_file::basic_file(__c_file_type*, openmode): Add.
1208         (basic_file::basic_file(int, const char*, openmode): Remove.
1209         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1210         const char*, ios_base::openmode): Don't allocate
1211         internal buffers. Turn off internal buffers.
1212         (basic_filebuf::overflow): Remove test for null buffer.
1213         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1214         * include/bits/streambuf.cc: Tweak.
1215         * include/bits/std_ostream.h: Tweak.
1216         * config/basic_file_libio.h: Same.
1217         * config/basic_file_stdio.h: Same.
1218         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1219         * testsuite/27_io/filebuf_members.cc: Tweaks.
1220         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1221
1222 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1223
1224         * Makefile.am:  New targets, doxygen and doxygen-maint.
1225         * Makefile.in:  Regenerated.
1226         * docs/doxygen/run_doxygen:  Finally implemented.
1227         * docs/doxygen/maint.cfg.in:  New file.
1228         * docs/doxygen/user.cfg.in:  New file.
1229
1230 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1231
1232         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
1233         * src/Makefile.am:  Replace leading spaces with tabs on continuation
1234         lines.
1235         * aclocal.m4:  Regenerated.
1236         * configure:  Ditto.
1237         * Makefile.in:  Ditto.
1238         * src/Makefile.in:  Ditto.
1239         * libio/Makefile.in:  Ditto.
1240         * libmath/Makefile.in:  Ditto.
1241         * libsupc++/Makefile.in:  Ditto.
1242
1243 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1244
1245         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
1246         concept-checking code and current status of same.
1247         * docs/html/ext/howto.html:  Ditto.
1248         * docs/html/faq/index.html:  Ditto.
1249         * docs/html/faq/index.txt:  Regenerated.
1250
1251 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1252
1253         * include/bits/std_bitset.h:  Include ostream and istream headers
1254         instead of iostream.
1255
1256 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
1257
1258         * include/bits/ostream.tcc: Use __builtin_alloca.
1259
1260 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1261
1262         * src/misc-inst.cc (__sink_unused_warning): Move to...
1263         * src/locale-inst.cc (__sink_unused_warning): Move to...
1264         * src/stl-inst.cc: Here.
1265         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1266         commented it out.
1267
1268 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1269
1270         * intclude/bits/basic_file.h: Fix typos in comments.
1271
1272 2001-03-20  Richard Henderson  <rth@redhat.com>
1273
1274         * src/gen-num-limits.cc: Instantiate for wchar_t.
1275         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1276
1277 2001-03-20  Jason Merrill  <jason@redhat.com>
1278
1279         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1280         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1281         * libsupc++/cxxabi.h: Declare it.
1282
1283 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
1284
1285         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1286         signal_func with an unspecified argument list.
1287
1288 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1289
1290         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1291
1292 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1293
1294         * include/bits/basic_string.tcc (operator+): Fix thinko.
1295
1296 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1297
1298         libstdc++/2020
1299         * include/bits/std_streambuf.h: Remove cached locale facets.
1300         (basic_streambuf::_M_buf_fctype): Remove.
1301         (basic_streambuf::~basic_streambuf): Remove here.
1302         (basic_streambuf::basic_streambuf): Same.
1303         (basic_streambuf::imbue): Same.
1304         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1305         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1306         (basic_filebuf::~basic_filebuf()): Remove here.
1307         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1308         (basic_filebuf::imbue): Same.
1309         * include/bits/localefwd.h (_Count_ones): Remove.
1310         (locale::_S_num_categories): Just use 6, since this doesn't
1311         actually change, ever.
1312         * include/bits/locale_facets.tcc (has_facet): Simplify.
1313         (use_facet): Same.
1314         * testsuite/27_io/filebuf.cc (test06): Add tests.
1315
1316 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
1317
1318         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1319         match HP-UX ctype.h header file.
1320
1321 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
1322
1323         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1324         duplicate definitions of __dj_ctype_*
1325
1326 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
1327
1328         * libsupc++/new: Remove pragma interface.
1329         * libsupc++/typeinfo: Same.
1330         * libsupc++/exception: Same.
1331         * libsupc++/new_handler.cc: Remove pragma implementation.
1332         (bad_alloc::~bad_alloc()): Add.
1333         * libsupc++/exception_support.cc: Same.
1334         (exception::~exception): Add.
1335         (bad_exception::~bad_exception): Add.
1336         * libsupc++/tinfo.cc: Same.
1337         (bad_cast::~bad_cast): Add.
1338         (bad_typeid::~bad_typeid): Add.
1339
1340 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
1341
1342         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
1343
1344 2001-03-12  Felix Lee  <flee@redhat.com>
1345
1346         * mkcheck.in: workaround for bash 2.01 IFS bug.
1347
1348 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1349
1350         Fixups for -fno-for-scope
1351         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1352         * src/valarray-inst.cc (__gslice_to_index): Same.
1353
1354 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
1355
1356         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1357         prior to trapping signal (UnixWare 7 workaround).
1358
1359 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
1360
1361         * include/backward/hashtable.h: Same.
1362         * include/backward/rope.h: Fix include.
1363
1364 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1365
1366         * include/backward/vector.h: Include std_vector.h.
1367
1368         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1369         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1370         Fix typo.
1371
1372 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1373
1374         * include/ext/stl_hashtable.h: Change type of __n to size_t
1375         * include/backward/bvector.h: Include <ext/stl_bvector.h>
1376
1377 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1378
1379         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1380         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1381         Use streamsize, not int_type.
1382
1383 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1384
1385         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1386         moment.
1387
1388 2001-03-08  Andreas Schwab  <schwab@suse.de>
1389
1390         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1391         command.
1392         * aclocal.m4, configure: Regenerated.
1393
1394 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1395
1396         * include/bits/std_iosfwd.h: Remove string forward decls here.
1397         * include/bits/stringfwd.h: Add forward decls for char_traits
1398         specializations.
1399         * config/c_io_libio.h (wstreamoff): Delete.
1400         * config/c_io_stdio.h (wstreamoff): Same.
1401         * include/bits/char_traits.h: Use streamoff not wstreamoff for
1402         char_traits<wchar_t>::off_type.
1403         Remove duplicate typedefs.
1404         * include/bits/fpos.h: Define streampos/wstreampos here.
1405         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1406         values to off_type.
1407         (test05): Same.
1408         Changeup output files.
1409         * testsuite/27_io/istream_unformatted.cc: Change output files.
1410         * testsuite/27_io/istream_seeks-1.txt: Add.
1411         * testsuite/27_io/istream_seeks-2.tst: Add.
1412         * testsuite/27_io/istream_seeks-1.tst: Add.
1413         * testsuite/27_io/istream_unformatted-2.tst: Delete.
1414         * testsuite/27_io/istream_unformatted-3.tst: Delete.
1415         * testsuite/27_io/istream_unformatted-3.txt: Delete.
1416
1417 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
1418
1419         Add Irix 5.2, 6.3 support.
1420         * config/os/irix/bits: Renamed to...
1421         * config/os/irix/irix6.5/bits: this.
1422         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1423         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1424         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1425         * config/os/irix/irix5.2/bits/ctype_noninline.h
1426         (ctype<char>::ctype): Initialize _M_table with __ctype.
1427         * configure.target: Adjust.
1428
1429 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1430
1431         libstdc++/2181
1432         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1433         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1434         sentry.
1435         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1436         (*__pf)(__ios_type&)): Same.
1437         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1438         (*__pf)(ios_base&))): Same.
1439         * testsuite/27_io/istream_extractor_other.cc: Add tests.
1440         * testsuite/27_io/istream_manip.cc (test01): Fix.
1441
1442 2001-03-06  Nathan Myers  <ncm@cantrip.org>
1443             Benjamin Kosnik  <bkoz@redhat.com>
1444
1445         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1446         * testsuite/17_intro/header_cerrno.cc (test01): New file.
1447         * testsuite/17_intro/header_cassert.cc (test01): New file.
1448         * testsuite/17_intro/header_cstddef.cc (test01): New file.
1449         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1450         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1451
1452 2001-03-05  scott snyder  <snyder@fnal.gov>
1453
1454         libstdc++/2190
1455         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1456         from here...
1457         * include/c_std/bits/std_cstdlib.h: ... to here.
1458         * testsuite/17_intro/header_cstdlib.cc: Add test.
1459
1460 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
1461
1462         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1463
1464 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
1465
1466         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1467         definition. Replace enum with static const variables.
1468
1469         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1470         throw specification, fix typos, use <static_cast>.
1471         (ctype<char>::scan_is): remove throw specification.
1472         (ctype<char>::scan_not): likewise.
1473
1474         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1475         (ctype<char>::do_toupper(char)): use <static_cast>.
1476         (ctype<char>::do_toupper(char *, const char *)): likewise.
1477         (ctype<char>::do_tolower(char)): likewise.
1478         (ctype<char>::do_tolower(char *, const char *)): likewise.
1479
1480 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
1481
1482         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1483         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
1484         macros and "never happens" code.  Adjust to C++STYLE guidelines.
1485         * include/backward/algobase.h:  Likewise.
1486         * include/backward/alloc.h:  Likewise.
1487         * include/backward/bvector.h:  Likewise.
1488         * include/backward/deque.h:  Likewise.
1489         * include/backward/function.h:  Likewise.
1490         * include/backward/hash_map.h:  Likewise.
1491         * include/backward/hash_set.h:  Likewise.
1492         * include/backward/hashtable.h:  Likewise.
1493         * include/backward/heap.h:  Likewise.
1494         * include/backward/iterator.h:  Likewise.
1495         * include/backward/list.h:  Likewise.
1496         * include/backward/map.h:  Likewise.
1497         * include/backward/multimap.h:  Likewise.
1498         * include/backward/multiset.h:  Likewise.
1499         * include/backward/pair.h:  Likewise.
1500         * include/backward/rope.h:  Likewise.
1501         * include/backward/set.h:  Likewise.
1502         * include/backward/slist.h:  Likewise.
1503         * include/backward/stack.h:  Likewise.
1504         * include/backward/strstream:  Likewise.
1505         * include/backward/tempbuf.h:  Likewise.
1506         * include/backward/tree.h:  Likewise.
1507         * include/backward/vector.h:  Likewise.
1508         * include/bits/basic_ios.h:  Likewise.
1509         * include/bits/basic_ios.tcc:  Likewise.
1510         * include/bits/basic_string.h:  Likewise.
1511         * include/bits/c++config:  Likewise.
1512         * include/bits/concept_checks.h:  Likewise.
1513         * include/bits/fpos.h:  Likewise.
1514         * include/bits/fstream.tcc:  Likewise.
1515         * include/bits/functexcept.h:  Likewise.
1516         * include/bits/ios_base.h:  Likewise.
1517         * include/bits/istream.tcc:  Likewise.
1518         * include/bits/mask_array.h:  Likewise.
1519         * include/bits/ostream.tcc:  Likewise.
1520         * include/bits/pthread_allocimpl.h:  Likewise.
1521         * include/bits/sbuf_iter.h:  Likewise.
1522         * include/bits/slice.h:  Likewise.
1523         * include/bits/slice_array.h:  Likewise.
1524         * include/bits/sstream.tcc:  Likewise.
1525         * include/bits/std_bitset.h:  Likewise.
1526         * include/bits/std_fstream.h:  Likewise.
1527         * include/bits/std_iomanip.h:  Likewise.
1528         * include/bits/std_ios.h:  Likewise.
1529         * include/bits/std_istream.h:  Likewise.
1530         * include/bits/std_iterator.h:  Likewise.
1531         * include/bits/std_memory.h:  Likewise.
1532         * include/bits/std_ostream.h:  Likewise.
1533         * include/bits/std_sstream.h:  Likewise.
1534         * include/bits/std_streambuf.h:  Likewise.
1535         * include/bits/std_string.h:  Likewise.
1536         * include/bits/std_valarray.h:  Likewise.
1537         * include/bits/stl_algo.h:  Likewise.
1538         * include/bits/stl_algobase.h:  Likewise.
1539         * include/bits/stl_alloc.h:  Likewise.
1540         * include/bits/stl_construct.h:  Likewise.
1541         * include/bits/stl_deque.h:  Likewise.
1542         * include/bits/stl_function.h:  Likewise.
1543         * include/bits/stl_heap.h:  Likewise.
1544         * include/bits/stl_iterator.h:  Likewise.
1545         * include/bits/stl_iterator_base.h:  Likewise.
1546         * include/bits/stl_list.h:  Likewise.
1547         * include/bits/stl_map.h:  Likewise.
1548         * include/bits/stl_multimap.h:  Likewise.
1549         * include/bits/stl_multiset.h:  Likewise.
1550         * include/bits/stl_numeric.h:  Likewise.
1551         * include/bits/stl_pair.h:  Likewise.
1552         * include/bits/stl_pthread_alloc.h:  Likewise.
1553         * include/bits/stl_queue.h:  Likewise.
1554         * include/bits/stl_raw_storage_iter.h:  Likewise.
1555         * include/bits/stl_relops.h:  Likewise.
1556         * include/bits/stl_set.h:  Likewise.
1557         * include/bits/stl_stack.h:  Likewise.
1558         * include/bits/stl_tempbuf.h:  Likewise.
1559         * include/bits/stl_threads.h:  Likewise.
1560         * include/bits/stl_tree.h:  Likewise.
1561         * include/bits/stl_uninitialized.h:  Likewise.
1562         * include/bits/stl_vector.h:  Likewise.
1563         * include/bits/streambuf.tcc:  Likewise.
1564         * include/bits/type_traits.h:  Likewise.
1565         * include/bits/valarray_meta.h:  Likewise.
1566         * include/ext/bvector:  Likewise.
1567         * include/ext/hash_map:  Likewise.
1568         * include/ext/hash_set:  Likewise.
1569         * include/ext/ropeimpl.h:  Likewise.
1570         * include/ext/slist:  Likewise.
1571         * include/ext/stl_bvector.h:  Likewise.
1572         * include/ext/stl_hash_fun.h:  Likewise.
1573         * include/ext/stl_hashtable.h:  Likewise.
1574         * include/ext/stl_rope.h:  Likewise.
1575         * src/complex_io.cc:  Likewise.
1576         * src/ios.cc:  Likewise.
1577         * src/locale-inst.cc:  Likewise.
1578         * src/locale.cc:  Likewise.
1579         * src/localename.cc:  Likewise.
1580         * src/misc-inst.cc:  Likewise.
1581         * src/stdexcept.cc:  Likewise.
1582         * src/stl-inst.cc:  Likewise.
1583         * src/strstream.cc:  Likewise.
1584         * src/valarray-inst.cc:  Likewise.
1585
1586 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1587
1588         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1589
1590 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1591
1592         * include/bits/istream.tcc: change type of __extracted to __size_type
1593
1594 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
1595
1596         * src/wstring-inst.cc: New file.
1597         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1598         (libinst_wstring_la_SOURCES): Remove.
1599         (libstdc___la_LIBADD): Remove libinst_wstring_la.
1600         (sources): Add wstring-inst.cc
1601         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1602         libinst_wstring_la.
1603
1604 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1605
1606         * src/locale.cc: initialise __ret with zero
1607         * src/strstream.cc:cast gptr to int_type
1608
1609 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
1610
1611         * docs/html/faq/index.html:  Update broken links.
1612         * docs/html/faq/index.txt:  Regenerated.
1613
1614 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1615
1616         libstdc++/2064
1617         * configure.target: Change irix* to irix6.5* in target_os table.
1618
1619 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1620
1621         libstdc++/2103
1622         * include/bits/c++config (__GLIBCPP__): Bump number in
1623         anticipation of 2.92.
1624
1625         * include/bits/codecvt.h: Fix typo.
1626         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1627         stdio model.
1628         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1629         instantiations for stdio model.
1630
1631 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
1632
1633         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
1634           and GLIBCPP_CXXFLAGS as unused variables.
1635         * configure.host:  Likewise.
1636         * configure.target:  Likewise.
1637         * aclocal.m4:  Regenerated.
1638         * configure:  Regenerated.
1639         * Makefile.in:  Regenerated.
1640         * libio/Makefile.in:  Regenerated.
1641         * libmath/Makefile.in:  Regenerated.
1642         * libsupc++/Makefile.in:  Regenerated.
1643         * src/Makefile.in:  Regenerated.
1644
1645 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1646
1647         libstdc++/1886
1648         * include/bits/basic_file.h: Include basic_file_model.h.
1649         * config/c_io_libio.cc: Move to...
1650         * config/basic_file_libio.cc: Here.
1651         * config/basic_file_libio.h: New file.
1652         * config/c_io_stdio.cc: Move to...
1653         * config/basic_file_stdio.cc: Here.
1654         * config/basic_file_stdio.h: New file.
1655         * config/c_io_libio.h: Tweak.
1656         * config/c_io_stdio.h: Tweak.
1657         * src/Makefile.am (build_headers): Add basic_file_model.h.
1658         (sources): Add basic_file.cc, remove c++io.cc.
1659         * src/Makefile.in: Regenerate.
1660         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1661         basic_file_model.h and basic_file.cc.
1662         * aclocal.m4: Regenerate.
1663         * configure: Regenerate.
1664         * testsuite/27_io/filebuf.cc (test05): Add regression.
1665
1666 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1667
1668         Correct license.
1669         * config/cpu/alpha/bits/atomicity.h: Change.
1670         * config/cpu/arm/bits/atomicit3y.h
1671         * config/cpu/generic/bits/atomicity.h
1672         * config/cpu/i386/bits/atomicity.h
1673         * config/cpu/i486/bits/atomicity.h
1674         * config/cpu/ia64/bits/atomicity.h
1675         * config/cpu/powerpc/bits/atomicity.h
1676         * config/cpu/sparc/sparc32/bits/atomicity.h
1677         * config/cpu/sparc/sparc64/bits/atomicity.h
1678         * config/os/aix/bits/atomicity.h
1679         * config/os/irix/bits/atomicity.h
1680
1681 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1682
1683         * include/bits/std_stdexcept.h (runtime_error): Make string
1684         member non-const.
1685         (logic_error): Same.
1686         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1687         (test03): Fix.
1688
1689 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1690
1691         libstdc++/1972
1692         libstdc++/2089
1693         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1694         string object, not reference.
1695         (runtime_error::runtime_error): Same.
1696         * testsuite/19_diagnostics/stdexceptions.cc: New file.
1697
1698 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1699
1700         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
1701           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
1702           diagnostics.  Remove WFMT_FLAGS.
1703         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
1704         * libsupc++/Makefile.am:  Likewise.
1705         * src/Makefile.am:  Likewise.
1706         * aclocal.m4:  Regenerated.
1707         * configure:  Regenerated.
1708         * Makefile.in:  Regenerated.
1709         * libio/Makefile.in:  Regenerated.
1710         * libmath/Makefile.in:  Regenerated.
1711         * libsupc++/Makefile.in:  Regenerated.
1712         * src/Makefile.in:  Regenerated.
1713
1714 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1715
1716         Fixes libstdc++/2079
1717         * include/backward/iomanip.h:  Expose <ios> manipulators to global
1718           namespace.
1719         * include/backward/iostream.h:  Also expose std::ws.
1720
1721 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
1722
1723         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1724
1725 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1726
1727         * include/bits/codecvt.h: Use __builtin_alloca.
1728         * include/bits/ostream.tcc: Same.
1729         * include/bits/fstream.tcc: Same.
1730
1731 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
1732
1733         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1734
1735 2001-02-23  David Edelsohn <dje@watson.ibm.com>
1736
1737         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1738
1739 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
1740
1741         c++/2052
1742         * include/backward/iostream.h:  Expose std::flush in old headers.
1743
1744 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1745
1746         * mknumeric_limits: Remove special-casing on target.  Use gcc
1747         instead of g++ to build gen-num-limits.cc
1748
1749 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1750
1751         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1752
1753         * include/bits/codecvt.h: Use alloca instead of __extension__ for
1754         the time being.
1755         * include/bits/ostream.tcc: Same.
1756         * include/bits/std_ostream.h: Same.
1757         * include/bits/fstream.tcc: Same.
1758         * include/bits/locale_facets.tcc: Add typename.
1759         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1760
1761 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
1762
1763         * tests_flags.in:  Remove -n flag from call to echo.
1764
1765 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1766
1767         * config/c_locale_gnu.h: Add clocale include.
1768
1769 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
1770
1771         * include/bits/stl_config.h:  Remove file.
1772         * src/Makefile.am (base_headers):  Remove from list.
1773         * configure:  Regenerate.
1774         * Makefile.in:  Ditto.
1775         * libio/Makefile.in:  Ditto.
1776         * libmath/Makefile.in:  Ditto.
1777         * libsupc++/Makefile.in:  Ditto.
1778         * src/Makefile.in:  Ditto.
1779
1780         * include/bits/c++config:  Move relevant macros to here.
1781         * include/backward/alloc.h:  Include c++config.h instead.
1782         * include/backward/function.h:  Ditto.
1783         * include/backward/heap.h:  Ditto.
1784         * include/backward/pair.h:  Ditto.
1785         * include/bits/pthread_allocimpl.h:  Ditto.
1786         * include/bits/std_functional.h:  Ditto.
1787         * include/bits/std_iterator.h:  Ditto.
1788         * include/bits/std_numeric.h:  Ditto.
1789         * include/bits/std_utility.h:  Ditto.
1790         * include/bits/stl_algobase.h:  Ditto.
1791         * include/bits/type_traits.h:  Ditto.
1792         * src/stl-inst.cc:  Ditto.
1793
1794 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1795
1796         * include/bits/basic_file.h: Add #pragma system_header
1797         * include/bits/basic_ios.h: Ditto.
1798         * include/bits/basic_string.h: Ditto.
1799         * include/bits/char_traits.h: Ditto.
1800         * include/bits/codecvt.h: Ditto.
1801         * include/bits/cpp_type_traits.h:  Ditto.
1802         * include/bits/fpos.h: Ditto.
1803         * include/bits/gslice.h: Ditto.
1804         * include/bits/gslice_array.h: Ditto.
1805         * include/bits/indirect_array.h: Ditto.
1806         * include/bits/ios_base.h: Ditto.
1807         * include/bits/limits_generic.h: Ditto.
1808         * include/bits/locale_facets.h: Ditto.
1809         * include/bits/localefwd.h: Ditto.
1810         * include/bits/mask_array.h: Ditto.
1811         * include/bits/sbuf_iter.h: Ditto.
1812         * include/bits/sequence_concepts.h: Ditto.
1813         * include/bits/slice.h: Ditto.
1814         * include/bits/slice_array.h: Ditto.
1815         * include/bits/std_algorithm.h: Likewise.
1816         * include/bits/std_bitset.h: Likewise.
1817         * include/bits/std_complex.h: Likewise.
1818         * include/bits/std_deque.h: Likewise.
1819         * include/bits/std_fstream.h: Likewise.
1820         * include/bits/std_functional.h: Likewise.
1821         * include/bits/std_iomanip.h: Likewise.
1822         * include/bits/std_ios.h: Likewise.
1823         * include/bits/std_iosfwd.h: Likewise.
1824         * include/bits/std_iostream.h: Likewise.
1825         * include/bits/std_istream.h: Likewise.
1826         * include/bits/std_iterator.h: Likewise.
1827         * include/bits/std_list.h: Likewise.
1828         * include/bits/std_locale.h: Likewise.
1829         * include/bits/std_map.h: Likewise.
1830         * include/bits/std_memory.h: Likewise.
1831         * include/bits/std_numeric.h: Likewise.
1832         * include/bits/std_ostream.h: Likewise.
1833         * include/bits/std_queue.h: Likewise.
1834         * include/bits/std_set.h: Likewise.
1835         * include/bits/std_sstream.h: Likewise.
1836         * include/bits/std_stack.h: Likewise.
1837         * include/bits/std_stdexcept.h: Likewise.
1838         * include/bits/std_streambuf.h: Likewise.
1839         * include/bits/std_string.h: Likewise.
1840         * include/bits/std_utility.h: Likewise.
1841         * include/bits/std_valarray.h: Likewise.
1842         * include/bits/std_vector.h: Likewise.
1843         * include/bits/stringfwd.h: Likewise.
1844         * include/bits/type_traits.h: Likewise.
1845         * include/bits/valarray_array.h: Likewise.
1846         * include/bits/valarray_meta.h: Likewise.
1847
1848 2001-02-19  Andreas Jaeger  <aj@suse.de>
1849
1850         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1851         Fix typo.
1852
1853 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
1854
1855         libstdc++/1734
1856         * include/bits/std_ostream.h: Replaced usage of
1857         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1858         * include/bits/char_traits.h: Removed non-standard
1859         methods that cannot be used elsewhere.
1860
1861         libstdc++/1885
1862         * include/bits/basic_ios.h: Uncommented #include of
1863         bits/basic_ios.tcc
1864
1865         libstdc++/1897
1866         * include/bits/codecvt.h: See next...
1867         * include/bits/fstream.tcc: See next...
1868         * include/bits/ostream.tcc: Add __extension__
1869         to variable-length arrays.
1870
1871         libstdc++/1967
1872         * include/bits/localefwd.h: Changed int counter type to size_t.
1873
1874         libstdc++/1968
1875         * include/bits/std_fstream.h: Added typedef for __ctype_type.
1876
1877 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1878
1879         * testsuite/21_strings/char_traits.cc: Move to ...
1880         * testsuite/21_strings/char_traits_requirements.cc: ..here.
1881         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1882         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1883
1884 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
1885
1886         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1887         definitions.
1888
1889 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1890
1891         * include/bits/c++config: Revert.
1892
1893 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1894
1895         * include/bits/istream.tcc: Use ios_base::iostate in place of
1896         iostate throughout.  Insert `typename' keyword where necessary.
1897         * include/bits/ostream.tcc: Insert `typename' keyword where
1898         necessary.
1899
1900 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
1901
1902         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1903         Define so library is compliant.
1904
1905 2001-02-15  Anthony Green  <green@redhat.com>
1906
1907         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1908         compilation.
1909         * aclocal.m4: Regenerate.
1910         * configure: Regenerate.
1911
1912 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
1913
1914         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1915         Include ieeefp.h for fpclass on UnixWare{2,7}.
1916         * aclocal.m4: Regenerate.
1917         * configure: Regenerate.
1918         * mkcheck.in (size_command): Do without GNU-grep when using
1919         size from binutils.
1920
1921 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1922
1923         Remove old ABI support from libsupc++.
1924         * libsupc++/cxxabi.h: Remove conditionally compiled code.
1925         * libsupc++/exception_support.cc: Likewise.
1926         * libsupc++/pure.cc: Likewise.
1927         * libsupc++/tinfo.cc: Likewise.
1928         * libsupc++/tinfo.h: Likewise.
1929         * libsupc++/tinfo2.cc: Likewise.
1930         * libsupc++/typeinfo: Likewise.
1931         * libsupc++/vec.cc: Likewise.
1932
1933 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1934
1935         Add support for -fno-exceptions.
1936         * include/bits/exception_support.h: Remove.
1937         * include/bits/basic_string.h: Remove exception_support.
1938         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1939         (string::at): Same.
1940         (string::substr): Same.
1941         * include/bits/basic_string.tcc (string::reserve): Replace
1942         __LENGTHERROR with __throw_length_error.
1943         (string::_S_create): Same.
1944         (string::resize): Same.
1945         (string::_M_replace): Same.
1946         (string::replace): Same.
1947         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1948         (string::compare): Same.
1949         * include/bits/stl_vector.h: Remove exception_support.
1950         * src/Makefile.am (base_headers): Remove here.
1951         * src/Makefile.in: Regenerate.
1952
1953         * include/bits/stl_range_errors.h: Remove.
1954         * include/bits/stl_deque.h: Use __throw_range_error.
1955         * include/bits/std_deque.h: Include functexcept.h.
1956         * include/bits/std_vector.h: Same.
1957         * src/Makefile.am (base_headers): Remove here.
1958         * src/Makefile.in: Regenerate.
1959         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1960         * include/ext/bvector: Remove stl_range_errors.h
1961
1962         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1963
1964         * include/bits/functexcept.h: New file.
1965         * src/functexcept.cc: New file. Definitions for function-based
1966         exception routines.
1967         * src/Makefile.am (sources): Add functexcept.cc.
1968         * src/Makefile.in: Regenerate.
1969
1970         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1971         __EXCEPTIONS.
1972
1973         * include/bits/localefwd.h: Include functexcept.h.
1974         * include/bits/std_iosfwd.h: Same.
1975
1976         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1977         throw basic_ios::failure.
1978         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1979         Use __throw_exception_again.
1980         (filebuf::_M_filebuf_init): Same.
1981         * include/bits/streambuf.tcc (__copy_streambufs): Same.
1982         * include/bits/ostream.tcc (ostream::operator<<): Same.
1983         * include/bits/istream.tcc (istream::operator>>): Same.
1984         * include/bits/basic_string.tcc (string::_M_mutate): Same.
1985         (string::_S_construct): Same.
1986         (string::_M_clone): Same.
1987         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1988         __throw_bad_cast.
1989         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1990         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1991         __throw_exception_again.
1992         (locale::_Imp::_Imp(string, size_t): Same.
1993         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1994         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1995         (locale::locale(const char*)): Use __throw_runtime_error.
1996         (locale::classic): Use __throw_exception_again.
1997         (locale::_S_normalize_category): Use __throw_runtime_error.
1998
1999         * src/stdexcept.cc: Remove cruft.
2000
2001         * libsupc++/exception_defines.h: New file.
2002         * libsupc++/new_opnt.cc: Include exception_defines.h.
2003         * libsupc++/vec.cc: Same.
2004         (__cxa_vec_new2): Use __throw_exception_again.
2005         (__cxa_vec_new3): Same.
2006         (__cxa_vec_ctor): Same.
2007         (__cxa_vec_delete3): Same.
2008         (__cxa_vec_cctor): Same.
2009         (__cxa_vec_delete2): Same.
2010         (__cxa_vec_dtor): Same.
2011         * libsupc++/exception_support.cc: Include exception_defines.h. Only
2012         compile exception-handling bits if __EXCEPTIONS is defined.
2013         Remove old ABI support.
2014         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2015         std::__throw_bad_alloc() instead of throw bad_alloc.
2016         * libsupc++/Makefile.am: Add exception_defines.h.
2017         * libsupc++/Makefile.in: Reformat.
2018         * libsupc++/*: Format.
2019
2020 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
2021
2022         * docs/html/configopts.html:  Minor updates and typo fixes.
2023         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
2024         * docs/html/faq/index.txt:  Regenerated.
2025
2026 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
2027
2028         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2029         dejagnu/dg.exp.  Adapt to log options used to run testcases.
2030
2031 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2032
2033         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2034         dejagnu/dg.exp.
2035
2036 2001-02-13  Dirk Mueller <dmuell@gmx.net>
2037             Phil Edwards  <pme@sources.redhat.com>
2038
2039         * include/backward/function.h:  Do not use rel_ops for older
2040           headers either.
2041         * include/backward/pair.h:  Likewise.
2042
2043 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
2044
2045         * src/locale.cc: Remove bogus locale::id definitions.
2046
2047 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2048
2049         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2050         not _DEFINE_VALARRAY_OPERATOR which is not existent.
2051
2052         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2053         thinko in member initialisation.
2054
2055 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2056
2057         * include/bits/std_valarray.h(valarray<>::shift): Avoid
2058         comparaison between signed and unsigned integer types.
2059         (valarray<>::cshift): Reformat.
2060
2061 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
2062
2063         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2064         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2065         * configure.in: Test for sigsetjmp.
2066         * configure, config.h.in: Rebuilt.
2067
2068 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2069
2070         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2071         lengths and strides.
2072         (__gslice_to_index): Document.
2073
2074 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2075
2076         * include/bits/char_traits.h char_traits<char>::int_type: Change
2077         to `int' to match 21.1.3.1/2.
2078
2079         * testsuite/21_strings/char_traits-int_type.C: New test.
2080
2081 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
2082
2083         * testsuite/Makefile.am: New file.
2084
2085 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
2086
2087         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2088
2089 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
2090
2091         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2092
2093 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
2094
2095         * configure.target (aix4*): Remove extra set of brackets.
2096
2097 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2098
2099         Clean up stdexcept.
2100         * include/bits/stringfwd.h: New file.
2101         * include/bits/stl_string_fwd.h: Remove.
2102         * include/bits/localefwd.h: Remove declaration for allocator.
2103         * include/bits/std_iosfwd: Same.
2104         * include/bits/std_string.h: Include it.
2105         * include/bits/std_ios.h: Remove include.
2106         * include/bits/basic_string.h: Tweak.
2107         * libsupc++/new: Format.
2108         * src/Makefile.am (base_headers): Add stringfwd.h, remove
2109         stl_string_fwd.h
2110         * src/Makefile.in: Regenerate.
2111         * include/bits/std_stdexcept.h: Rewrite.
2112         * src/stdexcept.cc: Same.
2113
2114 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2115
2116         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2117         install locations too.
2118         * aclocal.m4: Regenerate.
2119         * configure.in: Remove USE_LIBDIR.
2120         * configure: Regenerate.
2121         * src/Makefile.am (toolexecdir): Simplify, use
2122         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2123         * src/Makefile.in: Regenerate.
2124         * libsupc++/Makefile.am: Same.
2125         * libsupc++/Makefile.in: Regenerate.
2126
2127         * src/Makefile.am: Just remove special rules for locale-inst.cc and
2128         misc-inst.cc as no longer necessary.
2129
2130         Follow C++STYLE for naming non-static functions.
2131         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2132         __pad_char.
2133         * include/bits/streambuf.tcc: Same.
2134         * include/bits/ostream.tcc: Same.
2135         * include/bits/istream.tcc: Same.
2136         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2137         (_S_output_float): To __output_float.
2138         * include/bits/std_streambuf.h (_S_copy_streambufs): To
2139         __copy_streambufs.
2140         * include/bits/locale_facets.tcc (_S_build_float_format): To
2141         __build_float_format.
2142         (_S_format): To __output_integer.
2143         (_S_fill): To __pad.
2144         * src/locale.cc: Same.
2145         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2146         names.
2147         * include/bits/locale_facets.tcc (_S_group_digits): To
2148         __group_digits.
2149         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2150         for collate, numpunct.
2151
2152 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
2153
2154         * docs/html/configopts.html:  Fix HTML markup.
2155         * docs/html/install.html:  Bring up to date.
2156         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
2157         * docs/html/21_strings/howto.html:  More notes.
2158         * docs/html/22_locale/howto.html:  Fix HTML markup.
2159         * docs/html/27_io/howto.html:  More notes.
2160         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
2161         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
2162
2163 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
2164
2165         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2166         to match header files.
2167         (_S_output_float): Likewise.
2168         (_S_copy_streambufs): Likewise.
2169
2170 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
2171             Phil Edwards  <pme@sources.redhat.com>
2172
2173         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
2174           use reinterpret_cast, not static_cast.
2175
2176 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2177
2178         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2179         * aclocal.m4: Regenerate.
2180         * configure: Regenerate.
2181
2182 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2183
2184         * include/bits/locale_facets.h (class moneypunct): Fix typos.
2185         * libsupc++/pure.cc: Revert.
2186
2187 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2188
2189         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2190         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2191         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2192         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2193         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2194         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2195         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2196         * aclocal.m4: Regenerate.
2197         * configure: Regenerate.
2198
2199 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2200
2201         * include/bits/locale_facets.tcc: Remove `static' keyword on
2202         function definitions.
2203         * include/bits/std_streambuf.h: Likewise.
2204         * src/Makefile.am: Remove use of -fimplicit-templates.
2205         * src/Makefile.in: Regenerated.
2206         * src/locale-inst.cc: Explicitly instantiate more functions.
2207         * src/misc-inst.cc: Likewise.
2208         * src/string-inst.cc: Likewise.
2209
2210 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2211
2212         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2213         macro. Consolidate all the bits to do with where includes might be
2214         installed.
2215         * aclocal.m4: Regenerate.
2216         * configure.in: Use it.
2217         * configure: Regenerate.
2218         * src/Makefile.am (targetincludep): Use simplified rules.
2219         (targetincludep): Rename gxx_target_include_dir.
2220         (myincludep): Rename gxx_include_dir.
2221         * src/Makefile.in: Regenerate.
2222         * libsupc++/Makefile.am: Use simplified rules.
2223         * libsupc++/Makefile.in: Regenerate.
2224
2225 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2226
2227         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2228         * include/c_std/bits/std_cctype.h: Same.
2229         * include/c_std/bits/std_cassert.h: Same.
2230         * include/c_std/bits/std_cstdarg.h: Same.
2231         * include/c_std/bits/std_cstddef.h: Same.
2232
2233         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2234         namespace std.
2235         * include/c_std/bits/std_ctime.h: Same.
2236         * include/c_std/bits/std_clocale.h: Same.
2237         * include/c_std/bits/std_cmath.h: Same.
2238         * include/c_std/bits/std_csetjmp.h: Same.
2239         * include/c_std/bits/std_csignal.h: Same.
2240         * include/c_std/bits/std_cstring.h: Same.
2241         * include/c_std/bits/std_cstdlib.h: Same.
2242         * include/c_std/bits/std_cwchar.h: Same.
2243
2244 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
2245
2246         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
2247
2248 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2249
2250         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2251         (string::_S_construct): Likewise.
2252
2253 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
2254
2255         * testsuite/config/default.exp: New file.
2256         * testsuite/config: New directory.
2257
2258 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
2259
2260         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2261         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2262         whenever !__GXX_MERGED_TYPEINFO_NAMES.
2263         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2264
2265 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
2266             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2267
2268         * Makefile.am (mkinstalldirs): Set.
2269         * src/Makefile.am (mkinstalldirs): Set.
2270         * libmath/Makefile.am (mkinstalldirs): Set.
2271         * libsup++/Makefile.am (mkinstalldirs): Set.
2272         * libio/Makefile.am (mkinstalldirs): Set.
2273         * */Makefile.in: Regenerate.
2274
2275 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
2276
2277         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2278         * include/bits/localefwd.h: More initialization cleanups.
2279
2280 2001-02-03  Jeffrey A Law  <law@cygnus.com>
2281
2282         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2283         correctly targets with 16bit ints.
2284         (_S_ios_openmode_end): Similarly.
2285         (_S_ios_iostate_end): Similarly.
2286         (_S_ios_Seekdir_end): Similarly.
2287
2288 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
2289
2290         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
2291
2292 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2293
2294         * configure.in (toplevel_srcdir, auxdir): Set.
2295         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2296         * aclocal.m4, configure, Makefile.in: Rebuilt.
2297         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2298         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2299         * libsupc++-v3/Makefile.in: Rebuilt.
2300         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2301         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2302
2303 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
2304
2305         * config/c_locale_generic.cc: Remove langinfo include.
2306
2307 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
2308
2309         Preliminary named locales.
2310         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2311         * aclocal.m4: Regenerate.
2312         * configure.in: Use it.
2313         * configure: Regerate.
2314         * src/Makefile.am (sources): Add c++locale.cc.
2315         (build_headers): Add c++locale.h.
2316         * src/Makefile.in: Regenerate.
2317         * config/c_locale_gnu.h: New file.
2318         * config/c_locale_gnu.cc: New file. Non-inline member functions
2319         for named locales, gnu-specific.
2320         * config/c_locale_generic.h: New file.
2321         * config/c_locale_generic.cc: New file. Non-inline member
2322         functions for named locales, generic version.
2323         * docs/html/configopts.html: Add documentation on new options.
2324
2325         * include/bits/locale_facets.h (class _Messages): Remove.
2326         (class _Moneypunct): Remove.
2327         * src/locale-inst.cc: Remove.
2328
2329         * include/bits/locale_facets.h (class _Collate): Remove.
2330         * src/locale-inst.cc (std): Remove.
2331         * src/locale.cc: And here.
2332
2333         * include/bits/localefwd.h (locale::_M_coalesce): New
2334         function. Correctly put together multi-name locales.
2335         (_Impl(const _Impl&, category, size_t)): Remove.
2336
2337         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2338         member functions.
2339         (_M_normalize_category_names): Remove.
2340         (_M_replace_categories): Fix.
2341
2342         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2343         (locale::_Impl::_M_construct_ctype): Remove.
2344         (locale::_Impl::_M_construct_monetary): Remove.
2345         (locale::_Impl::_M_construct_numeric): Remove.
2346         (locale::_Impl::_M_construct_time): Remove.
2347         (locale::_Impl::_M_construct_messages): Remove.
2348
2349         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2350         (_Use_facet_failure_handle): Remove.
2351         * src/locale.cc: Remove definitions.
2352         * src/locale-inst.cc: And here.
2353
2354         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2355
2356         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2357         create and error-check underlying locale object.
2358         (locale::facet::_S_destroy_c_locale): Add, take care of properly
2359         tearing down underlying locale object.
2360         * include/bits/localefwd.h (locale::facet): Declare.
2361         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2362         correctness, as glibc apparently has incorrect info in it. Test
2363         with it when it works again.....
2364
2365         * include/bits/localefwd.h (locale::_Impl::__vec_string):
2366         Remove. Number of categories is fixed at six, so just simplify and
2367         make this an array of strings.
2368         (locale::_Impl::_M_has_name): Remove.
2369         (locale::_Impl::_M_name): Remove.
2370         (locale::_Impl::_M_category_names): Turns into...
2371         (locale::_Impl::_M_names): ...this.
2372         (locale::_Impl::_M_has_same_name()): New function.
2373         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2374         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2375         signature.
2376         * src/locale.cc (locale::name()): Construct mangled name
2377         accurately reflecting combined locale categories.
2378
2379         * src/locale.cc (locale::classic()): Don't initialize here.
2380         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2381         __refs, bool __has_name, string __str): Do it here.
2382
2383         * include/bits/localefwd.h: _S_categories_num to
2384         _S_num_categories. _S_facets_num to _S_num_facets.
2385         (locale::id::id()): Explicitly set _M_index to zero.
2386         * src/locale.cc: Same.
2387
2388         * src/locale.cc: (locale::locale(const char*)): Construct named
2389         locales uniquely.
2390
2391         * src/locale.cc: Remove numpunct_byname ctors.
2392         * testsuite/22_locale/numpunct_byname.cc: New file.
2393         * testsuite/22_locale/numpunct.cc: New file.
2394
2395         * include/bits/localefwd.h (class locale): Change data members to
2396         protected, from private.
2397         (_Impl::_M_get_c_locale): Add member function.
2398         (locale::facet::_M_get_global_impl()): Add member function.
2399         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2400         a __c_locale pointer.
2401         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2402         named locales.
2403         * testsuite/22_locale/members.cc: New file, test name and combine.
2404
2405         * include/bits/locale_facets.h (class numpunct): Remove class
2406         _Punct and _Numpunct. Rewrite class numpunct to be correct for
2407         named locales.
2408         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2409         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2410         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2411         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2412         * testsuite/22_locale/numpunct_char_members.cc: New file.
2413
2414 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
2415
2416         * testsuite/README: Add more comment.
2417         * testsuite/lib/libstdc++.exp: Tweak comment.
2418
2419 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
2420
2421         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2422
2423 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
2424
2425         * testsuite/21_strings/inserters_extractors.cc: Remove
2426         explicit reference to 'testsuite/'.
2427
2428 2001-01-25  Richard Henderson  <rth@redhat.com>
2429
2430         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2431         bits. Fixes Tru64 build issues.
2432
2433 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2434
2435         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2436         (use ${MAKE-make}, not ${MAKE:-make}).
2437         * aclocal.m4, configure: Regenerate.
2438
2439 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
2440
2441         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2442         checkin.
2443
2444         * src/Makefile.am (sources): Add globals.cc.
2445         * src/Makefile.in: Regenerated.
2446         * src/globals.cc: New file.
2447         * src/ios.cc (cin): Don't define here, just declare extern.
2448         (cout): Likewise.
2449         (cerr): Likewise.
2450         (clog): Likewise.
2451         (wcin): Likewise.
2452         (wcout): Likewise.
2453         (wcerr): Likewise.
2454         (wclog): Likewise.
2455
2456 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
2457
2458         * include/bits/std_iterator.h:  Do not include stl_relops.h.
2459         * include/bits/std_numeric.h:  Ditto.
2460         * include/bits/stl_algobase.h:  Ditto.
2461         * include/bits/stl_relops.h:  Add comment warning about problems.
2462
2463 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2464
2465         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2466         in testcases.  Prepare for the DejaGnu based framework.
2467         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
2468         directory -- it is now mkcheck working directory.
2469         * tests_flags.in: Remove reference to $(top_srcdir).  Use
2470         ${SRC_DIR} instead.
2471         * Makefile.am (check, check-install): Change mkcheck invocation
2472         logic.
2473         * Makefile.in: Regenerate.
2474
2475 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
2476
2477         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2478         (__always_swap): Likewise.
2479
2480 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2481
2482         * libsupc++/exception_support.cc (__terminate_func): Remove
2483         declaration.
2484         (__terminate_func_ptr): New typedef.
2485         (__terminate, __terminate_set_func): New extern function
2486         prototypes.
2487         (std::terminate): Use __terminate function.
2488         (std::set_terminate): Use __terminate_set_func function.
2489
2490 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2491
2492         * configure.target: Just use os_include_dir always.
2493         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2494         Link atomicity files and ctype files here.
2495         * configure: Regenerate.
2496         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2497         (GLIBCPP_ENABLE_ATOMICITY): Remove.
2498         * aclocal.m4: Regenerate.
2499
2500 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2501
2502         * configure.in: Place definition of MULTISUBDIR in
2503         libsupc++/Makefile as is done for src/Makefile.
2504         * configure: Regenerate.
2505
2506 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
2507
2508         * acinclude.m4:  Cosmetic changes only.
2509         * aclocal.m4:  Regenerated.
2510         * configure:  Regenerated.
2511         * configure.target:  Update documented list of changed variables.
2512         * docs/html/install.html:  Fix typo.
2513         * docs/html/20_util/howto.html:  More notes on auto_ptr.
2514         * docs/html/27_io/howto.html:  More notes on streabufs.
2515         * docs/html/faq/index.html:  Add rel_ops problem and mention the
2516           DEC as(1) .subsection difficulty.
2517         * docs/html/faq/index.txt:  Regenerated.
2518
2519 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
2520
2521         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2522         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2523         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2524         its already provided in config.target.
2525         * aclocal.m4: Regenerated.
2526         * configure: Likewise.
2527         * configure.target: Set ctype_include_dir for lots of systems.
2528         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2529         * libsupc++/Makefile.in: Regenerated.
2530
2531 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
2532
2533         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
2534         keyword capability.
2535
2536         * testsuite/README: Add comment.
2537
2538 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
2539
2540         * docs/html/configopts.html:  Update for current status.  Fix HTML.
2541         * docs/html/install.html:  Update for current status.
2542
2543 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2544
2545         * testsuite/libstdc++.tests/tests.exp: New file.
2546         * testsuite/lib/libstdc++.exp: Itou.
2547         * testsuite/README: Itou.
2548
2549 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
2550
2551         * tests_flags.in: Just output the bare minimum to run tests.
2552         Let's the caller do its own arrangement.
2553
2554         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
2555         computations.
2556
2557 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
2558
2559         * testsuite/17_intro: Prepare testcases for new style DejaGnu
2560         framework.
2561
2562 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2563
2564         * testsuite/libstdc++.tests, testsuite/lib: New directories.
2565
2566 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
2567
2568         * mkcheck.in: Construct file names that match $objdir structure.
2569         * testsuite/27_io/filebuf_members-1.txt: New file.
2570         * testsuite/27_io/ifstream_members-1.txt: New file.
2571         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2572
2573         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2574         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2575
2576 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2577
2578         * testsuite/27_io/istream_sentry.cc (test02): Fix.
2579
2580 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
2581
2582         libstdc++/1605
2583         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2584         * src/ios.cc (ios_base::failure): Make definitions match.
2585         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2586         (class bad_cast): Same.
2587         * libsupc++/exception (class exception): Add throw specs.
2588         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2589         (set_unexpected): Same.
2590         (uncaught_exception): Same.
2591         (what): Same.
2592
2593         * docs/html/17_intro/C++STYLE (classname): Fix.
2594
2595 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2596
2597         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2598         Use it do explicitly instantiate predicate<T> and value<T> for
2599         all the builtin Ts.
2600
2601 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
2602
2603         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2604         uninitialized thinko in last change.
2605
2606 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2607
2608         * libsupc++/exception_support.cc (__cp_pop_exception): Change
2609         prototype.
2610
2611 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2612
2613         * docs/html/17_intro/C++STYLE (classname): Add more existing
2614         and stylish patterns.
2615
2616         libstdc++/944
2617         * include/bits/istream.tcc (istream::sentry::sentry()): Set
2618         failbit if the state of the stream is not good.
2619         * testsuite/27_io/istream_sentry.cc (test02): Add test.
2620         * testsuite/27_io/istream_manip.cc (test01): Modify.
2621
2622         libstdc++/1019
2623         reported by Paolo Carlini <pcarlini@unitus.it>
2624         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2625         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2626
2627         libstdc++/1057
2628         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2629         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2630         (xsgetn): Same. Simplify.
2631         * testsuite/27_io/streambuf.cc (test04): Add testcases.
2632
2633         reported by Larry Evans <jcampbell3@prodigy.net>
2634         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2635         equality with eof on returned value from overflow.
2636
2637 2001-01-14  Andreas Jaeger  <aj@suse.de>
2638
2639         * libio/libio.h: Add test for glibc 2.0.
2640
2641 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2642
2643         * config/os/djgpp/bits/*: Fix dates.
2644
2645         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2646         _CharT* __end, _CharT __c): Remove.
2647         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2648         * include/bits/char_traits.h: Tweak.
2649
2650 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
2651
2652         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2653         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2654         bash bug.
2655         * aclocal.m4: regenerated.
2656         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2657         * configure: regenerated.
2658         * config/os/djgpp, config/os/djgpp/bits: new directories.
2659         * config/os/djgpp/bits/ctype_base.h,
2660         config/os/djgpp/bits/ctype_inline.h,
2661         config/os/djgpp/bits/ctype_noninline.h,
2662         config/os/djgpp/bits/os_defines.h: new files.
2663
2664 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
2665
2666         * include/c_std/bits/std_cstdio.h: Undef printf.
2667
2668 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
2669
2670         * src/ios.cc: Fix typo: change cout->wcout.
2671
2672         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2673         * src/Makefile.in: Regenerate.
2674
2675 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2676
2677          * include/bits/std_complex.h: Fix a typo.
2678
2679 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2680                              <kainz@ilm.com>
2681
2682         Fixes for libstdc++/1576
2683         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2684         file, move contents into....
2685         * src/ios.cc: ...Here. Put defines for iostreams objects and
2686         initialization routines into one file to simplify DSO interaction.
2687         * include/bits/std_iostream.h: Touch.
2688         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2689         * src/Makefile.am (sources): Remove stdstreams.cc.
2690         * src/Makefile.in: Regenerate.
2691
2692 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2693
2694         * tests_flags.in (check_directory): Fix typo.
2695
2696 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2697
2698          * include/bits/std_complex.h: Fix a typo.
2699
2700 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
2701
2702         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2703         code path:) Remove magic constants and restructure to handle
2704         ctype.h bit mask layout changes more gracefully.  (Make fast
2705         code path:) Use __maskrune (), if available.
2706         (is): Remove special case for digit and xdigit masks.
2707
2708 2001-01-09  Robert Lipe <robertlipe@usa.net>
2709
2710         * include/c_std/bits/std_ctime.h: Undefine difftime.
2711
2712 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
2713
2714         * src/gen-num-limits.cc (signal_adapter): New template function.
2715         (signal_handler): Use it, instead of signal.
2716         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
2717         require both tests to trap to set trap_flag.
2718
2719 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2720
2721         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2722         initialize mbstate_t member, name offset data members *off, not pos.
2723         * include/bits/fstream.tcc (filebuf::filebuf): Same.
2724
2725 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2726
2727         reported by Chris G. Demetriou <cgd@sibyte.com>
2728         * configure.in: Change -linux-* to -linux*.
2729         * configure: Regenerate.
2730
2731 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2732
2733         Fix 27_io/filebuf_members.cc
2734         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2735         const string& __name, category __cat, size_t __refs): Set
2736         _M_has_name with _M_name.
2737         * include/bits/localefwd.h (locale::operator!=): Protect member
2738         function call with this->.
2739         * src/locale.cc (locale::operator==): Make fast checks first.
2740         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2741
2742         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2743         to ios_base::Init.
2744         * src/ios.cc (ios_base::Init::Init): Initialize here.
2745         (ios_base::sync_with_stdio): Set here.
2746
2747 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
2748
2749         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2750         systems that support it, call dup() before fdopen().
2751
2752 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
2753
2754         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2755         * testsuite/17_intro/header_cwctype.cc (main): New file.
2756
2757         * src/Makefile.am (base_headers): Change.
2758         * include/bits/std_string.h: And here.
2759         * include/bits/string.tcc: Tweaks, move to...
2760         * include/bits/basic_string.tcc: ...Here.
2761         * src/string-inst.cc: Simplify, just instantiate the whole class,
2762         not member-by-member.
2763
2764 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
2765
2766         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2767         * aclocal.m4: Regenerate.
2768         * configure: Regenerate.
2769
2770         * include/bits/c++config (__GLIBCPP__): Bump version number.
2771
2772         * ChangeLog: Start new log for year 2001
2773         * ChangeLog-2000: New file.
2774
2775         * docs/html/configopts.html: Make sure default values are current,
2776         add commentary.
2777
2778 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
2779
2780         * include/c_std/bits/std_cwchar.h: Same.
2781         * testsuite/17_intro/header_cwchar.cc: Same.
2782         * include/c_std/bits/std_ctime.h: Same.
2783         * testsuite/17_intro/header_ctime.cc: Same.
2784         * include/c_std/bits/std_cstdlib.h: Same.
2785         Clean up undefs, make consistent with cwchar and cmath, etc.
2786         * testsuite/17_intro/header_cstdlib.cc: Same.
2787         * include/c_std/bits/std_cstdio.h: Same here.
2788         * testsuite/17_intro/header_cstring.cc: Same.
2789         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2790         * testsuite/17_intro/header_cstring.cc: New file. Check for
2791         size_t in namespace std.
2792
2793         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2794         * acconfig.h (HAVE_MBSTATE_T): Add.
2795         * config.h.in: Regenerate.
2796         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2797         mbstate_t.
2798         * aclocal.m4: Regenerate.
2799         * configure: Regenerate.
2800         * testsuite/17_intro/headers_c++.cc: New file.
2801         * testsuite/17_intro/headers_c.cc: Small changes.
2802
2803 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
2804
2805         * tests_flags.in: Fix typo in usage.
2806
2807         * tests_flags.in: Set target specific LIBS for cygwin.