OSDN Git Service

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