OSDN Git Service

3b2019c0c502937b5ae846f5f6dd7ae6fdc624ff
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
2
3         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4         Indicate obsolete nature of thelist for G++ 3.0.
5
6 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
7
8         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
9         target_thread_file with `gcc -v'.
10         * aclocal.m4, configure: Rebuilt.
11
12 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
13
14         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
15         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
16         * include/c_std/bits/std_cwchar.h (std): Same.
17         * acconfig.h (std): Remove c99 injection into std.
18         * config.h.in: Regenerate.
19         
20         * testsuite/README: Fix typo.
21
22         * include/bits/codecvt.h: Remove warnings.
23         
24 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
25
26         * include/ext/slist: Include required header files. 
27
28 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
29
30         * include/c_std/bits/std_cerrno.h (errno): Define macro from
31         identifier declared with external linkage, if needed.
32         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
33         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
34
35 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
36
37         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
38         re-configures find the build compiler.
39         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
40         libstdc++/2609.
41         * aclocal.m4: Regenerate.
42         * configure: Regenerate.
43
44 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
45
46         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
47         support is enabled correctly before long long is activated.
48         * aclocal.m4: Regenerate.
49         * configure: Regenerate.
50         
51         * include/backward/backward_warning.h: Format correctly.
52
53         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
54         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
55         * testsuite/26_numerics/c99_macros.cc: Remove.
56         
57 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
58
59         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
60         __iterator_category.
61
62 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
63
64         * acconfig.h (_GLIBCPP_USE_C99): Add.
65         * config.h.in: Regenerate.
66         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
67         9899: 1999 support.
68         * aclocal.m4: Regenerate.
69         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
70         * configure: Regenerate.
71         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
72         * configure: Regenerate.
73         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
74         into c99.
75         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
76         namespace.
77         * include/c_std/bits/std_cstdlib.h: Same.
78         * docs/html/configopts.html: Update.
79         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
80         math.h
81         (test_c99_classify): Add.
82         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
83         (_ISOC99_SOURCE): Remove.
84
85         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
86         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
87         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
88         * aclocal.m4: Regenerate.
89         * configure: Regenerate.
90         
91 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
92
93         * Makefile.am (doxygen):  Assume script is missing execute perms.
94         * Makefile.in:  Regenerated.
95         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
96
97 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
98
99         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
100
101 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
102
103         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
104         * testsuite/23_containers/set_operators.cc: Same.
105
106         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
107         default.
108         (__GLIBCPP__): Bump from value of last release.
109         * include/bits/concept_check.h: Default to off, edit comments.
110         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
111         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
112         * src/Makefile.in: Regenerate.
113         
114 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
115
116         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
117         Properly uglify member.
118
119 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
120
121         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
122         of EqualityCo
123         mparableConcept.
124
125 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
126
127         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
128         * include/bits/concept_check.h:  Uglify.
129         * include/bits/stl_algo.h:  Likewise.
130         * include/bits/stl_algobase.h:  Likewise.
131         * include/bits/stl_deque.h:  Likewise.
132         * include/bits/stl_heap.h:  Likewise.
133         * include/bits/stl_iterator_base_funcs.h:  Likewise.
134         * include/bits/stl_list.h:  Likewise.
135         * include/bits/stl_map.h:  Likewise.
136         * include/bits/stl_multimap.h:  Likewise.
137         * include/bits/stl_multiset.h:  Likewise.
138         * include/bits/stl_numeric.h:  Likewise.
139         * include/bits/stl_queue.h:  Likewise.
140         * include/bits/stl_set.h:  Likewise.
141         * include/bits/stl_stack.h:  Likewise.
142         * include/bits/stl_vector.h:  Likewise.
143         * include/ext/hash_map:  Likewise.
144         * include/ext/hash_set:  Likewise.
145         * include/ext/slist:  Likewise.
146
147 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
148
149         * testsuite/23_containers/set_operators.cc: Just try to compile.
150         Mark as XFAIL.   
151         * testsuite/23_containers/map_operators.cc: Same.
152
153 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
154
155         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
156         output_file.
157         (dg-test): Revert rth's change.
158
159 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
160
161         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
162         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
163
164 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
165
166         * testsuite/README: Add DejaGnu specific documentation.
167
168 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
169         
170         * acinclude.m4: AC_CHECK_TOOL for expect.
171         * aclocal.m4: Regenerate.
172         * configure: Regenerate.
173         * testsuite/Makefile.am (RUNTEST): Use substituted.
174         (EXPECT): Same.
175
176         * configure.in: Remove xcompiling substitution.
177         * tests_flags.in (CROSS_LIB_PATH): Remove.
178         (xcompiling): Remove.
179         (CXX): Use substituted CXX.
180         
181 2001-04-11  Richard Henderson  <rth@redhat.com>
182
183         * testsuite/lib/libstdc++.exp: Specify path for output_file.
184
185 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
186
187         * include/bits/std_valarray.h(valarray<>::operator[]): Make
188         inline. 
189
190 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
191   
192         * testsuite/25_algorithms/equal.cc: New test.
193
194 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
195
196         * stl_algobase.h (std::equal): avoid use of possibly-undefined
197         operator != (one line patch).
198
199 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
200
201         * include/backward/backward_warning.h: Re-enable.
202
203 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
204             Alexandre Oliva  <aoliva@redhat.com>
205         
206         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
207
208 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
209
210         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
211         * testsuite/26_numerics/c99_macros.cc: Add test.
212
213 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
214
215         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
216         * docs/html/faq/index.txt:  Regenerated.
217
218 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
219
220         * include/backward/backward_warning.h: Temporarily disable until
221         g++ testsuite changes go in.
222         * tests_flags.in (CROSS_LIB_PATH): Add.
223
224 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
225
226         Warn when using backward headers.
227         * include/backward/algo.h: Include warning file.        
228         * include/backward/vector.h: Same.
229         * include/backward/tree.h: Same.
230         * include/backward/tempbuf.h: Same.
231         * include/backward/strstream: Same.
232         * include/backward/streambuf.h: Same.
233         * include/backward/stream.h: Same.
234         * include/backward/stack.h: Same.
235         * include/backward/slist.h: Same.
236         * include/backward/set.h: Same.
237         * include/backward/rope.h: 
238         * include/backward/queue.h: Same.
239         * include/backward/pair.h: Same.
240         * include/backward/ostream.h: Same.
241         * include/backward/new.h: Same.
242         * include/backward/multiset.h: Same.
243         * include/backward/multimap.h: Same.
244         * include/backward/map.h: Same.
245         * include/backward/list.h: Same.
246         * include/backward/iterator.h: Same.
247         * include/backward/istream.h: Same.
248         * include/backward/iostream.h: 
249         * include/backward/iomanip.h: 
250         * include/backward/heap.h: Same.
251         * include/backward/hashtable.h: 
252         * include/backward/hash_set.h: 
253         * include/backward/hash_map.h: 
254         * include/backward/function.h: 
255         * include/backward/fstream.h: 
256         * include/backward/deque.h: 
257         * include/backward/defalloc.h: Same.
258         * include/backward/complex.h: Same.
259         * include/backward/bvector.h: 
260         * include/backward/alloc.h: 
261         * include/backward/algobase.h: Same.
262
263         * include/backward/backward_warning.h: New file.
264         * src/Makefile.am (backward_headers): Add backward_warning.h
265         * src/Makefile.in: Regenerate.
266
267 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
268
269         * src/Makefile.am (myinstalldirs): Make sure backward directory is
270         created.
271         (myinstallheaders): Install backward headers in backward directory.
272         * src/Makefile.in: Regenerate.
273         
274 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
275
276         Prepare for libstdc++-2.92.
277         * docs/html/17_intro/RELEASE-NOTES (New): Update.
278         * docs/html/configopts.html: Fix formatting.
279         * README (file): Updates.
280         * include/bits/c++config (__GLIBCPP__): Update.
281
282 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
283
284         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
285
286 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
287
288         * docs/doxygen/user.cfg.in:  Extract all non-private members;
289           reduce confusing documentation output.
290
291 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
292
293         * include/backward/fstream.h: Add missing semicolons.
294
295 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
296
297         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
298         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
299         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
300         (ios_base::Init::_S_ios_create): New.
301         (ios_base::Init::_S_ios_destroy): New.  
302         * include/bits/std_fstream.h: Change ctor args.
303         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
304         (ios_base::Init::~Init): Use _S_ios_destroy.
305         (ios_base::sync_with_stdio): Use new members.
306         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
307         filebuf ctor.
308
309 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
310
311         * include/backward/fstream.h:  Expose streampos to global
312           namespace.
313         
314 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
315
316         * include/bits/stl_iterator_base_types.h: Fix typo
317
318 2001-04-03  Andreas Schwab  <schwab@suse.de>
319
320         * include/backward/fstream.h: Define filebuf and wfilebuf.
321
322 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
323
324         New concept checking implementation.
325         * docs/html/19_diagnostics/howto.html:  Document.
326         * docs/html/17_intro/concept_check.diff:  New file, for reference.
327         * include/bits/boost_concept_check.h:  New file from Boost.
328         * include/bits/c++config:  Update comments.
329
330         * include/bits/concept_check.h:  New file.
331         * include/bits/concept_checks.h:  Removed.
332         * include/bits/container_concepts.h:  Removed.
333         * include/bits/sequence_concepts.h:  Removed.
334         * include/bits/stl_iterator_base.h:  Removed; split into...
335         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
336         * include/bits/stl_iterator_base_types.h:  ...and this new file.
337
338         * include/bits/sbuf_iter.h:  Update to use new implementation.
339         * include/bits/std_iterator.h:  Likewise.
340         * include/bits/std_memory.h:  Likewise.
341         * include/bits/stl_algo.h:  Likewise.
342         * include/bits/stl_algobase.h:  Likewise.
343         * include/bits/stl_construct.h:  Likewise.
344         * include/bits/stl_deque.h:  Likewise.
345         * include/bits/stl_heap.h:  Likewise.
346         * include/bits/stl_list.h:  Likewise.
347         * include/bits/stl_map.h:  Likewise.
348         * include/bits/stl_multimap.h:  Likewise.
349         * include/bits/stl_multiset.h:  Likewise.
350         * include/bits/stl_numeric.h:  Likewise.
351         * include/bits/stl_queue.h:  Likewise.
352         * include/bits/stl_set.h:  Likewise.
353         * include/bits/stl_stack.h:  Likewise.
354         * include/bits/stl_uninitialized.h:  Likewise.
355         * include/bits/stl_vector.h:  Likewise.
356         * include/ext/hash_map:  Likewise.
357         * include/ext/hash_set:  Likewise.
358         * include/ext/slist:  Likewise.
359         * include/ext/stl_hashtable.h:  Likewise.
360
361         * src/Makefile.am (base_headers):  Update list of headers.
362         * Makefile.in:  Regenerated.
363         * src/Makefile.in:  Regenerated.
364         * libio/Makefile.in:  Regenerated.
365         * libmath/Makefile.in:  Regenerated.
366         * libsupc++/Makefile.in:  Regenerated.
367         * testsuite/Makefile.in:  Regenerated.
368
369         * docs/html/install.html:  Update contact information.
370         * docs/html/17_intro/howto.html:  Ditto.
371         * docs/html/18_support/howto.html:  Ditto.
372         * docs/html/20_util/howto.html:  Ditto.
373         * docs/html/21_strings/howto.html:  Ditto.
374         * docs/html/22_locale/howto.html:  Ditto.
375         * docs/html/23_containers/howto.html:  Ditto.
376         * docs/html/24_iterators/howto.html:  Ditto.
377         * docs/html/25_algorithms/howto.html:  Ditto.
378         * docs/html/26_numerics/howto.html:  Ditto.
379         * docs/html/27_io/howto.html:  Ditto.
380         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
381         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
382         * docs/html/faq/index.txt:  Regenerated.
383
384 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
385
386         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
387         messages with $which_library as well as $tool_flags and
388         ${dg-extra-tool-flags}.  Factor out annotation text into
389         a single variable.
390
391 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
392
393         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
394         * include/c_std/bits/std_cwchar.h: Same.
395         * testsuite/21_strings/c_strings.cc: Add.
396
397 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
398
399         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
400
401 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
402
403         * tests_flags.in: Use test a = b, not test a == b which is not
404         portable.
405
406 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
407
408         * configure.target: Remove duplicate aix entry.
409
410 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
411
412         * include/ext/stl_bvector.h: Move to...
413         * include/bits/stl_vector.h: ...here.
414         * include/ext/bvector: Move to...
415         * include/backward/bvector.h: ...here.
416         * include/bits/std_vector.h: Change stl_bvector include.
417         * include/bits/std_queue.h: Remove bvector include.
418         * include/ext/tree: Insert using rb_tree, move to...
419         * include/backward/tree.h: ...here.
420         * include/backward/hash_map.h: Include ext/hash_map.
421         * include/backward/hash_set.h: Include ext/hash_set.
422         * include/backward/queue.h: New file.
423         * include/backward/stack.h: Edit.
424         * include/backward/algo.h: Same.
425         * include/backward/algobase.h: Same.
426         * include/backward/alloc.h: Same.
427         * include/backward/function.h: Same.
428         * include/backward/iomanip.h: Same.
429         * include/backward/istream.h: Same.
430         * include/backward/iterator.h: Same.
431         * include/backward/list.h: Same.
432         * include/backward/map.h: Same.
433         * include/backward/multimap.h: Same.
434         * include/backward/multiset.h: Same.
435         * include/backward/ostream.h: Same.
436         * include/backward/pair.h: Same
437         * include/backward/rope.h: Same.
438         * include/backward/set.h: Same.
439         * include/backward/stream.h: Same.
440         * include/backward/strstream.h: Same.
441         * include/backward/tempbuf.h: Same.
442         * src/Makefile.am (ext_headers): Edit.
443         * src/Makefile.in: Regenerate.
444         * testsuite/ext/headers.cc (main): Fix.
445         * mkcheck.in: Fix.
446
447 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
448
449         * tests_flags.in (LIBS):  Pass correct path for installed testing.
450
451 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
452
453         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
454         * tests_flags.in (CXX): Construct here.
455         (static_fail): Don't remove compile.out. Format with spaces.
456         (INCLUDES): Deal with xcompiling.
457         * configure.in (xcompiling): Substitute.
458         * testsuite/Makefile.am: Snake libjava configury.
459         * testsuite/Makefile.in: Regenerate.
460         * testsuite/23_containers/map_operators.cc: Tweaks.
461         * testsuite/23_containers/set_operators.cc: Tweaks.
462
463 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
464
465         Enable dejagnu testing framework.
466         * configure.in: Generate testsuite/Makefile.
467         * configure: Regenerate.
468         * Makefile.am (check-install): Change rule from this...
469         (check-script-install): ...to this.
470         (check): Change rule from this...
471         (check-script):...to this.
472         * Makefile.in: Regenerate.
473
474 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
475
476         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
477         --tag CXX.
478         (LIBTOOL): Let automake take care of its definition.
479         * libsupc++/Makefile.in: Rebuilt.
480
481 2001-03-28  Richard Henderson  <rth@redhat.com>
482
483         IA-64 ABI Exception Handling:
484         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
485         * configure.in: Use it.
486         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
487         * libsupc++/Makefile.am (sources): Update files list.
488         * libsupc++/Makefile.in: Regenerate.
489         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
490         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
491         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
492         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
493         * libsupc++/exception_support.cc: Remove.
494         * libsupc++/exception_support.h: Remove.
495         * libsupc++/pure.cc: Use std::terminate.
496         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
497         (__is_pointer): Remove.
498         * libsupc++/unwind-cxx.h: New file.
499         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
500
501 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
502
503         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
504         CXX tag explicitly.
505         * src/Makefile.am (CXXLINK): Likewise.
506         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
507
508 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
509
510         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
511
512 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
513
514         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
515           and libc
516
517 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
518
519         * include/bits/basic_file.h (get_fileno): Remove.
520         (_M_fileno): Remove.
521         (_M_cfile_created): Add.
522         (basic_file::basic_file(__c_file_type*, openmode): Add.
523         (basic_file::basic_file(int, const char*, openmode): Remove.
524         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
525         const char*, ios_base::openmode): Don't allocate
526         internal buffers. Turn off internal buffers.
527         (basic_filebuf::overflow): Remove test for null buffer.
528         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
529         * include/bits/streambuf.cc: Tweak.
530         * include/bits/std_ostream.h: Tweak.
531         * config/basic_file_libio.h: Same.
532         * config/basic_file_stdio.h: Same.
533         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
534         * testsuite/27_io/filebuf_members.cc: Tweaks.
535         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
536
537 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
538
539         * Makefile.am:  New targets, doxygen and doxygen-maint.
540         * Makefile.in:  Regenerated.
541         * docs/doxygen/run_doxygen:  Finally implemented.
542         * docs/doxygen/maint.cfg.in:  New file.
543         * docs/doxygen/user.cfg.in:  New file.
544
545 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
546
547         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
548         * src/Makefile.am:  Replace leading spaces with tabs on continuation
549         lines.
550         * aclocal.m4:  Regenerated.
551         * configure:  Ditto.
552         * Makefile.in:  Ditto.
553         * src/Makefile.in:  Ditto.
554         * libio/Makefile.in:  Ditto.
555         * libmath/Makefile.in:  Ditto.
556         * libsupc++/Makefile.in:  Ditto.
557
558 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
559
560         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
561         concept-checking code and current status of same.
562         * docs/html/ext/howto.html:  Ditto.
563         * docs/html/faq/index.html:  Ditto.
564         * docs/html/faq/index.txt:  Regenerated.
565
566 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
567
568         * include/bits/std_bitset.h:  Include ostream and istream headers
569         instead of iostream.
570
571 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
572
573         * include/bits/ostream.tcc: Use __builtin_alloca.
574
575 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
576
577         * src/misc-inst.cc (__sink_unused_warning): Move to...
578         * src/locale-inst.cc (__sink_unused_warning): Move to...
579         * src/stl-inst.cc: Here.
580         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
581         commented it out.
582
583 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
584
585         * intclude/bits/basic_file.h: Fix typos in comments.
586
587 2001-03-20  Richard Henderson  <rth@redhat.com>
588
589         * src/gen-num-limits.cc: Instantiate for wchar_t.
590         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
591
592 2001-03-20  Jason Merrill  <jason@redhat.com>
593
594         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
595         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
596         * libsupc++/cxxabi.h: Declare it.
597
598 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
599
600         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
601         signal_func with an unspecified argument list.
602
603 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
604
605         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
606
607 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
608
609         * include/bits/basic_string.tcc (operator+): Fix thinko.
610
611 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
612
613         libstdc++/2020
614         * include/bits/std_streambuf.h: Remove cached locale facets.
615         (basic_streambuf::_M_buf_fctype): Remove.
616         (basic_streambuf::~basic_streambuf): Remove here.
617         (basic_streambuf::basic_streambuf): Same.
618         (basic_streambuf::imbue): Same.
619         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
620         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
621         (basic_filebuf::~basic_filebuf()): Remove here.
622         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
623         (basic_filebuf::imbue): Same.
624         * include/bits/localefwd.h (_Count_ones): Remove.
625         (locale::_S_num_categories): Just use 6, since this doesn't
626         actually change, ever.
627         * include/bits/locale_facets.tcc (has_facet): Simplify.
628         (use_facet): Same.
629         * testsuite/27_io/filebuf.cc (test06): Add tests.
630
631 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
632
633         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
634         match HP-UX ctype.h header file.
635
636 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
637
638         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
639         duplicate definitions of __dj_ctype_*
640
641 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
642
643         * libsupc++/new: Remove pragma interface.
644         * libsupc++/typeinfo: Same.
645         * libsupc++/exception: Same.
646         * libsupc++/new_handler.cc: Remove pragma implementation.
647         (bad_alloc::~bad_alloc()): Add.
648         * libsupc++/exception_support.cc: Same.
649         (exception::~exception): Add.
650         (bad_exception::~bad_exception): Add.
651         * libsupc++/tinfo.cc: Same.
652         (bad_cast::~bad_cast): Add.
653         (bad_typeid::~bad_typeid): Add.
654
655 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
656
657         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
658
659 2001-03-12  Felix Lee  <flee@redhat.com>
660
661         * mkcheck.in: workaround for bash 2.01 IFS bug.
662
663 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
664
665         Fixups for -fno-for-scope
666         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
667         * src/valarray-inst.cc (__gslice_to_index): Same.
668
669 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
670
671         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
672         prior to trapping signal (UnixWare 7 workaround).
673
674 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
675
676         * include/backward/hashtable.h: Same.
677         * include/backward/rope.h: Fix include.
678
679 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
680
681         * include/backward/vector.h: Include std_vector.h.
682
683         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
684         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
685         Fix typo.
686
687 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
688
689         * include/ext/stl_hashtable.h: Change type of __n to size_t
690         * include/backward/bvector.h: Include <ext/stl_bvector.h>
691
692 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
693
694         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
695         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
696         Use streamsize, not int_type.
697
698 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
699
700         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
701         moment.
702
703 2001-03-08  Andreas Schwab  <schwab@suse.de>
704
705         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
706         command.
707         * aclocal.m4, configure: Regenerated.
708
709 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
710
711         * include/bits/std_iosfwd.h: Remove string forward decls here.
712         * include/bits/stringfwd.h: Add forward decls for char_traits
713         specializations.
714         * config/c_io_libio.h (wstreamoff): Delete.
715         * config/c_io_stdio.h (wstreamoff): Same.
716         * include/bits/char_traits.h: Use streamoff not wstreamoff for
717         char_traits<wchar_t>::off_type.
718         Remove duplicate typedefs.
719         * include/bits/fpos.h: Define streampos/wstreampos here.
720         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
721         values to off_type.
722         (test05): Same.
723         Changeup output files.
724         * testsuite/27_io/istream_unformatted.cc: Change output files.
725         * testsuite/27_io/istream_seeks-1.txt: Add.
726         * testsuite/27_io/istream_seeks-2.tst: Add.
727         * testsuite/27_io/istream_seeks-1.tst: Add.
728         * testsuite/27_io/istream_unformatted-2.tst: Delete.
729         * testsuite/27_io/istream_unformatted-3.tst: Delete.
730         * testsuite/27_io/istream_unformatted-3.txt: Delete.
731
732 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
733
734         Add Irix 5.2, 6.3 support.
735         * config/os/irix/bits: Renamed to...
736         * config/os/irix/irix6.5/bits: this.
737         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
738         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
739         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
740         * config/os/irix/irix5.2/bits/ctype_noninline.h
741         (ctype<char>::ctype): Initialize _M_table with __ctype.
742         * configure.target: Adjust.
743
744 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
745
746         libstdc++/2181
747         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
748         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
749         sentry.
750         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
751         (*__pf)(__ios_type&)): Same.
752         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
753         (*__pf)(ios_base&))): Same.
754         * testsuite/27_io/istream_extractor_other.cc: Add tests.
755         * testsuite/27_io/istream_manip.cc (test01): Fix.
756
757 2001-03-06  Nathan Myers  <ncm@cantrip.org>
758             Benjamin Kosnik  <bkoz@redhat.com>
759
760         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
761         * testsuite/17_intro/header_cerrno.cc (test01): New file.
762         * testsuite/17_intro/header_cassert.cc (test01): New file.
763         * testsuite/17_intro/header_cstddef.cc (test01): New file.
764         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
765         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
766
767 2001-03-05  scott snyder  <snyder@fnal.gov>
768
769         libstdc++/2190
770         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
771         from here...
772         * include/c_std/bits/std_cstdlib.h: ... to here.
773         * testsuite/17_intro/header_cstdlib.cc: Add test.
774
775 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
776
777         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
778
779 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
780
781         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
782         definition. Replace enum with static const variables.
783
784         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
785         throw specification, fix typos, use <static_cast>.
786         (ctype<char>::scan_is): remove throw specification.
787         (ctype<char>::scan_not): likewise.
788
789         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
790         (ctype<char>::do_toupper(char)): use <static_cast>.
791         (ctype<char>::do_toupper(char *, const char *)): likewise.
792         (ctype<char>::do_tolower(char)): likewise.
793         (ctype<char>::do_tolower(char *, const char *)): likewise.
794
795 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
796
797         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
798         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
799         macros and "never happens" code.  Adjust to C++STYLE guidelines.
800         * include/backward/algobase.h:  Likewise.
801         * include/backward/alloc.h:  Likewise.
802         * include/backward/bvector.h:  Likewise.
803         * include/backward/deque.h:  Likewise.
804         * include/backward/function.h:  Likewise.
805         * include/backward/hash_map.h:  Likewise.
806         * include/backward/hash_set.h:  Likewise.
807         * include/backward/hashtable.h:  Likewise.
808         * include/backward/heap.h:  Likewise.
809         * include/backward/iterator.h:  Likewise.
810         * include/backward/list.h:  Likewise.
811         * include/backward/map.h:  Likewise.
812         * include/backward/multimap.h:  Likewise.
813         * include/backward/multiset.h:  Likewise.
814         * include/backward/pair.h:  Likewise.
815         * include/backward/rope.h:  Likewise.
816         * include/backward/set.h:  Likewise.
817         * include/backward/slist.h:  Likewise.
818         * include/backward/stack.h:  Likewise.
819         * include/backward/strstream:  Likewise.
820         * include/backward/tempbuf.h:  Likewise.
821         * include/backward/tree.h:  Likewise.
822         * include/backward/vector.h:  Likewise.
823         * include/bits/basic_ios.h:  Likewise.
824         * include/bits/basic_ios.tcc:  Likewise.
825         * include/bits/basic_string.h:  Likewise.
826         * include/bits/c++config:  Likewise.
827         * include/bits/concept_checks.h:  Likewise.
828         * include/bits/fpos.h:  Likewise.
829         * include/bits/fstream.tcc:  Likewise.
830         * include/bits/functexcept.h:  Likewise.
831         * include/bits/ios_base.h:  Likewise.
832         * include/bits/istream.tcc:  Likewise.
833         * include/bits/mask_array.h:  Likewise.
834         * include/bits/ostream.tcc:  Likewise.
835         * include/bits/pthread_allocimpl.h:  Likewise.
836         * include/bits/sbuf_iter.h:  Likewise.
837         * include/bits/slice.h:  Likewise.
838         * include/bits/slice_array.h:  Likewise.
839         * include/bits/sstream.tcc:  Likewise.
840         * include/bits/std_bitset.h:  Likewise.
841         * include/bits/std_fstream.h:  Likewise.
842         * include/bits/std_iomanip.h:  Likewise.
843         * include/bits/std_ios.h:  Likewise.
844         * include/bits/std_istream.h:  Likewise.
845         * include/bits/std_iterator.h:  Likewise.
846         * include/bits/std_memory.h:  Likewise.
847         * include/bits/std_ostream.h:  Likewise.
848         * include/bits/std_sstream.h:  Likewise.
849         * include/bits/std_streambuf.h:  Likewise.
850         * include/bits/std_string.h:  Likewise.
851         * include/bits/std_valarray.h:  Likewise.
852         * include/bits/stl_algo.h:  Likewise.
853         * include/bits/stl_algobase.h:  Likewise.
854         * include/bits/stl_alloc.h:  Likewise.
855         * include/bits/stl_construct.h:  Likewise.
856         * include/bits/stl_deque.h:  Likewise.
857         * include/bits/stl_function.h:  Likewise.
858         * include/bits/stl_heap.h:  Likewise.
859         * include/bits/stl_iterator.h:  Likewise.
860         * include/bits/stl_iterator_base.h:  Likewise.
861         * include/bits/stl_list.h:  Likewise.
862         * include/bits/stl_map.h:  Likewise.
863         * include/bits/stl_multimap.h:  Likewise.
864         * include/bits/stl_multiset.h:  Likewise.
865         * include/bits/stl_numeric.h:  Likewise.
866         * include/bits/stl_pair.h:  Likewise.
867         * include/bits/stl_pthread_alloc.h:  Likewise.
868         * include/bits/stl_queue.h:  Likewise.
869         * include/bits/stl_raw_storage_iter.h:  Likewise.
870         * include/bits/stl_relops.h:  Likewise.
871         * include/bits/stl_set.h:  Likewise.
872         * include/bits/stl_stack.h:  Likewise.
873         * include/bits/stl_tempbuf.h:  Likewise.
874         * include/bits/stl_threads.h:  Likewise.
875         * include/bits/stl_tree.h:  Likewise.
876         * include/bits/stl_uninitialized.h:  Likewise.
877         * include/bits/stl_vector.h:  Likewise.
878         * include/bits/streambuf.tcc:  Likewise.
879         * include/bits/type_traits.h:  Likewise.
880         * include/bits/valarray_meta.h:  Likewise.
881         * include/ext/bvector:  Likewise.
882         * include/ext/hash_map:  Likewise.
883         * include/ext/hash_set:  Likewise.
884         * include/ext/ropeimpl.h:  Likewise.
885         * include/ext/slist:  Likewise.
886         * include/ext/stl_bvector.h:  Likewise.
887         * include/ext/stl_hash_fun.h:  Likewise.
888         * include/ext/stl_hashtable.h:  Likewise.
889         * include/ext/stl_rope.h:  Likewise.
890         * src/complex_io.cc:  Likewise.
891         * src/ios.cc:  Likewise.
892         * src/locale-inst.cc:  Likewise.
893         * src/locale.cc:  Likewise.
894         * src/localename.cc:  Likewise.
895         * src/misc-inst.cc:  Likewise.
896         * src/stdexcept.cc:  Likewise.
897         * src/stl-inst.cc:  Likewise.
898         * src/strstream.cc:  Likewise.
899         * src/valarray-inst.cc:  Likewise.
900
901 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
902
903         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
904
905 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
906
907         * include/bits/istream.tcc: change type of __extracted to __size_type
908
909 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
910
911         * src/wstring-inst.cc: New file.
912         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
913         (libinst_wstring_la_SOURCES): Remove.
914         (libstdc___la_LIBADD): Remove libinst_wstring_la.
915         (sources): Add wstring-inst.cc
916         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
917         libinst_wstring_la.
918
919 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
920
921         * src/locale.cc: initialise __ret with zero
922         * src/strstream.cc:cast gptr to int_type
923
924 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
925
926         * docs/html/faq/index.html:  Update broken links.
927         * docs/html/faq/index.txt:  Regenerated.
928
929 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
930
931         libstdc++/2064
932         * configure.target: Change irix* to irix6.5* in target_os table.
933
934 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
935
936         libstdc++/2103
937         * include/bits/c++config (__GLIBCPP__): Bump number in
938         anticipation of 2.92.
939
940         * include/bits/codecvt.h: Fix typo.
941         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
942         stdio model.
943         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
944         instantiations for stdio model.
945
946 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
947
948         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
949           and GLIBCPP_CXXFLAGS as unused variables.
950         * configure.host:  Likewise.
951         * configure.target:  Likewise.
952         * aclocal.m4:  Regenerated.
953         * configure:  Regenerated.
954         * Makefile.in:  Regenerated.
955         * libio/Makefile.in:  Regenerated.
956         * libmath/Makefile.in:  Regenerated.
957         * libsupc++/Makefile.in:  Regenerated.
958         * src/Makefile.in:  Regenerated.
959
960 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
961
962         libstdc++/1886
963         * include/bits/basic_file.h: Include basic_file_model.h.
964         * config/c_io_libio.cc: Move to...
965         * config/basic_file_libio.cc: Here.
966         * config/basic_file_libio.h: New file.
967         * config/c_io_stdio.cc: Move to...
968         * config/basic_file_stdio.cc: Here.
969         * config/basic_file_stdio.h: New file.
970         * config/c_io_libio.h: Tweak.
971         * config/c_io_stdio.h: Tweak.
972         * src/Makefile.am (build_headers): Add basic_file_model.h.
973         (sources): Add basic_file.cc, remove c++io.cc.
974         * src/Makefile.in: Regenerate.
975         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
976         basic_file_model.h and basic_file.cc.
977         * aclocal.m4: Regenerate.
978         * configure: Regenerate.
979         * testsuite/27_io/filebuf.cc (test05): Add regression.
980
981 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
982
983         Correct license.
984         * config/cpu/alpha/bits/atomicity.h: Change.
985         * config/cpu/arm/bits/atomicit3y.h
986         * config/cpu/generic/bits/atomicity.h
987         * config/cpu/i386/bits/atomicity.h
988         * config/cpu/i486/bits/atomicity.h
989         * config/cpu/ia64/bits/atomicity.h
990         * config/cpu/powerpc/bits/atomicity.h
991         * config/cpu/sparc/sparc32/bits/atomicity.h
992         * config/cpu/sparc/sparc64/bits/atomicity.h
993         * config/os/aix/bits/atomicity.h
994         * config/os/irix/bits/atomicity.h
995
996 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
997
998         * include/bits/std_stdexcept.h (runtime_error): Make string
999         member non-const.
1000         (logic_error): Same.
1001         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1002         (test03): Fix.
1003
1004 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1005
1006         libstdc++/1972
1007         libstdc++/2089
1008         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1009         string object, not reference.
1010         (runtime_error::runtime_error): Same.
1011         * testsuite/19_diagnostics/stdexceptions.cc: New file.
1012
1013 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1014
1015         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
1016           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
1017           diagnostics.  Remove WFMT_FLAGS.
1018         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
1019         * libsupc++/Makefile.am:  Likewise.
1020         * src/Makefile.am:  Likewise.
1021         * aclocal.m4:  Regenerated.
1022         * configure:  Regenerated.
1023         * Makefile.in:  Regenerated.
1024         * libio/Makefile.in:  Regenerated.
1025         * libmath/Makefile.in:  Regenerated.
1026         * libsupc++/Makefile.in:  Regenerated.
1027         * src/Makefile.in:  Regenerated.
1028
1029 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1030
1031         Fixes libstdc++/2079
1032         * include/backward/iomanip.h:  Expose <ios> manipulators to global
1033           namespace.
1034         * include/backward/iostream.h:  Also expose std::ws.
1035
1036 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
1037
1038         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1039
1040 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1041
1042         * include/bits/codecvt.h: Use __builtin_alloca.
1043         * include/bits/ostream.tcc: Same.
1044         * include/bits/fstream.tcc: Same.
1045
1046 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
1047
1048         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1049
1050 2001-02-23  David Edelsohn <dje@watson.ibm.com>
1051
1052         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1053
1054 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
1055
1056         c++/2052
1057         * include/backward/iostream.h:  Expose std::flush in old headers.
1058
1059 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1060
1061         * mknumeric_limits: Remove special-casing on target.  Use gcc
1062         instead of g++ to build gen-num-limits.cc
1063
1064 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1065
1066         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1067
1068         * include/bits/codecvt.h: Use alloca instead of __extension__ for
1069         the time being.
1070         * include/bits/ostream.tcc: Same.
1071         * include/bits/std_ostream.h: Same.
1072         * include/bits/fstream.tcc: Same.
1073         * include/bits/locale_facets.tcc: Add typename.
1074         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1075
1076 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
1077
1078         * tests_flags.in:  Remove -n flag from call to echo.
1079
1080 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1081
1082         * config/c_locale_gnu.h: Add clocale include.
1083
1084 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
1085
1086         * include/bits/stl_config.h:  Remove file.
1087         * src/Makefile.am (base_headers):  Remove from list.
1088         * configure:  Regenerate.
1089         * Makefile.in:  Ditto.
1090         * libio/Makefile.in:  Ditto.
1091         * libmath/Makefile.in:  Ditto.
1092         * libsupc++/Makefile.in:  Ditto.
1093         * src/Makefile.in:  Ditto.
1094
1095         * include/bits/c++config:  Move relevant macros to here.
1096         * include/backward/alloc.h:  Include c++config.h instead.
1097         * include/backward/function.h:  Ditto.
1098         * include/backward/heap.h:  Ditto.
1099         * include/backward/pair.h:  Ditto.
1100         * include/bits/pthread_allocimpl.h:  Ditto.
1101         * include/bits/std_functional.h:  Ditto.
1102         * include/bits/std_iterator.h:  Ditto.
1103         * include/bits/std_numeric.h:  Ditto.
1104         * include/bits/std_utility.h:  Ditto.
1105         * include/bits/stl_algobase.h:  Ditto.
1106         * include/bits/type_traits.h:  Ditto.
1107         * src/stl-inst.cc:  Ditto.
1108
1109 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1110
1111         * include/bits/basic_file.h: Add #pragma system_header
1112         * include/bits/basic_ios.h: Ditto.
1113         * include/bits/basic_string.h: Ditto.
1114         * include/bits/char_traits.h: Ditto.
1115         * include/bits/codecvt.h: Ditto.
1116         * include/bits/cpp_type_traits.h:  Ditto.
1117         * include/bits/fpos.h: Ditto.
1118         * include/bits/gslice.h: Ditto.
1119         * include/bits/gslice_array.h: Ditto.
1120         * include/bits/indirect_array.h: Ditto.
1121         * include/bits/ios_base.h: Ditto.
1122         * include/bits/limits_generic.h: Ditto.
1123         * include/bits/locale_facets.h: Ditto.
1124         * include/bits/localefwd.h: Ditto.
1125         * include/bits/mask_array.h: Ditto.
1126         * include/bits/sbuf_iter.h: Ditto.
1127         * include/bits/sequence_concepts.h: Ditto.
1128         * include/bits/slice.h: Ditto.
1129         * include/bits/slice_array.h: Ditto.
1130         * include/bits/std_algorithm.h: Likewise.
1131         * include/bits/std_bitset.h: Likewise.
1132         * include/bits/std_complex.h: Likewise.
1133         * include/bits/std_deque.h: Likewise.
1134         * include/bits/std_fstream.h: Likewise.
1135         * include/bits/std_functional.h: Likewise.
1136         * include/bits/std_iomanip.h: Likewise.
1137         * include/bits/std_ios.h: Likewise.
1138         * include/bits/std_iosfwd.h: Likewise.
1139         * include/bits/std_iostream.h: Likewise.
1140         * include/bits/std_istream.h: Likewise.
1141         * include/bits/std_iterator.h: Likewise.
1142         * include/bits/std_list.h: Likewise.
1143         * include/bits/std_locale.h: Likewise.
1144         * include/bits/std_map.h: Likewise.
1145         * include/bits/std_memory.h: Likewise.
1146         * include/bits/std_numeric.h: Likewise.
1147         * include/bits/std_ostream.h: Likewise.
1148         * include/bits/std_queue.h: Likewise.
1149         * include/bits/std_set.h: Likewise.
1150         * include/bits/std_sstream.h: Likewise.
1151         * include/bits/std_stack.h: Likewise.
1152         * include/bits/std_stdexcept.h: Likewise.
1153         * include/bits/std_streambuf.h: Likewise.
1154         * include/bits/std_string.h: Likewise.
1155         * include/bits/std_utility.h: Likewise.
1156         * include/bits/std_valarray.h: Likewise.
1157         * include/bits/std_vector.h: Likewise.
1158         * include/bits/stringfwd.h: Likewise.
1159         * include/bits/type_traits.h: Likewise.
1160         * include/bits/valarray_array.h: Likewise.
1161         * include/bits/valarray_meta.h: Likewise.
1162
1163 2001-02-19  Andreas Jaeger  <aj@suse.de>
1164
1165         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1166         Fix typo.
1167
1168 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
1169
1170         libstdc++/1734
1171         * include/bits/std_ostream.h: Replaced usage of
1172         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1173         * include/bits/char_traits.h: Removed non-standard
1174         methods that cannot be used elsewhere.
1175
1176         libstdc++/1885
1177         * include/bits/basic_ios.h: Uncommented #include of
1178         bits/basic_ios.tcc
1179
1180         libstdc++/1897
1181         * include/bits/codecvt.h: See next...
1182         * include/bits/fstream.tcc: See next...
1183         * include/bits/ostream.tcc: Add __extension__
1184         to variable-length arrays.
1185
1186         libstdc++/1967
1187         * include/bits/localefwd.h: Changed int counter type to size_t.
1188
1189         libstdc++/1968
1190         * include/bits/std_fstream.h: Added typedef for __ctype_type.
1191
1192 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1193
1194         * testsuite/21_strings/char_traits.cc: Move to ...
1195         * testsuite/21_strings/char_traits_requirements.cc: ..here.
1196         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1197         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1198
1199 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
1200
1201         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1202         definitions.
1203
1204 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1205
1206         * include/bits/c++config: Revert.
1207
1208 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1209
1210         * include/bits/istream.tcc: Use ios_base::iostate in place of
1211         iostate throughout.  Insert `typename' keyword where necessary.
1212         * include/bits/ostream.tcc: Insert `typename' keyword where
1213         necessary.
1214
1215 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
1216
1217         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1218         Define so library is compliant.
1219
1220 2001-02-15  Anthony Green  <green@redhat.com>
1221
1222         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1223         compilation.
1224         * aclocal.m4: Regenerate.
1225         * configure: Regenerate.
1226
1227 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
1228
1229         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1230         Include ieeefp.h for fpclass on UnixWare{2,7}.
1231         * aclocal.m4: Regenerate.
1232         * configure: Regenerate.
1233         * mkcheck.in (size_command): Do without GNU-grep when using
1234         size from binutils.
1235
1236 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1237
1238         Remove old ABI support from libsupc++.
1239         * libsupc++/cxxabi.h: Remove conditionally compiled code.
1240         * libsupc++/exception_support.cc: Likewise.
1241         * libsupc++/pure.cc: Likewise.
1242         * libsupc++/tinfo.cc: Likewise.
1243         * libsupc++/tinfo.h: Likewise.
1244         * libsupc++/tinfo2.cc: Likewise.
1245         * libsupc++/typeinfo: Likewise.
1246         * libsupc++/vec.cc: Likewise.
1247
1248 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1249
1250         Add support for -fno-exceptions.
1251         * include/bits/exception_support.h: Remove.
1252         * include/bits/basic_string.h: Remove exception_support.
1253         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1254         (string::at): Same.
1255         (string::substr): Same.
1256         * include/bits/basic_string.tcc (string::reserve): Replace
1257         __LENGTHERROR with __throw_length_error.
1258         (string::_S_create): Same.
1259         (string::resize): Same.
1260         (string::_M_replace): Same.
1261         (string::replace): Same.
1262         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1263         (string::compare): Same.
1264         * include/bits/stl_vector.h: Remove exception_support.
1265         * src/Makefile.am (base_headers): Remove here.
1266         * src/Makefile.in: Regenerate.
1267
1268         * include/bits/stl_range_errors.h: Remove.
1269         * include/bits/stl_deque.h: Use __throw_range_error.
1270         * include/bits/std_deque.h: Include functexcept.h.
1271         * include/bits/std_vector.h: Same.
1272         * src/Makefile.am (base_headers): Remove here.
1273         * src/Makefile.in: Regenerate.
1274         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1275         * include/ext/bvector: Remove stl_range_errors.h
1276
1277         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1278
1279         * include/bits/functexcept.h: New file.
1280         * src/functexcept.cc: New file. Definitions for function-based
1281         exception routines.
1282         * src/Makefile.am (sources): Add functexcept.cc.
1283         * src/Makefile.in: Regenerate.
1284
1285         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1286         __EXCEPTIONS.
1287
1288         * include/bits/localefwd.h: Include functexcept.h.
1289         * include/bits/std_iosfwd.h: Same.
1290
1291         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1292         throw basic_ios::failure.
1293         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1294         Use __throw_exception_again.
1295         (filebuf::_M_filebuf_init): Same.
1296         * include/bits/streambuf.tcc (__copy_streambufs): Same.
1297         * include/bits/ostream.tcc (ostream::operator<<): Same.
1298         * include/bits/istream.tcc (istream::operator>>): Same.
1299         * include/bits/basic_string.tcc (string::_M_mutate): Same.
1300         (string::_S_construct): Same.
1301         (string::_M_clone): Same.
1302         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1303         __throw_bad_cast.
1304         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1305         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1306         __throw_exception_again.
1307         (locale::_Imp::_Imp(string, size_t): Same.
1308         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1309         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1310         (locale::locale(const char*)): Use __throw_runtime_error.
1311         (locale::classic): Use __throw_exception_again.
1312         (locale::_S_normalize_category): Use __throw_runtime_error.
1313
1314         * src/stdexcept.cc: Remove cruft.
1315
1316         * libsupc++/exception_defines.h: New file.
1317         * libsupc++/new_opnt.cc: Include exception_defines.h.
1318         * libsupc++/vec.cc: Same.
1319         (__cxa_vec_new2): Use __throw_exception_again.
1320         (__cxa_vec_new3): Same.
1321         (__cxa_vec_ctor): Same.
1322         (__cxa_vec_delete3): Same.
1323         (__cxa_vec_cctor): Same.
1324         (__cxa_vec_delete2): Same.
1325         (__cxa_vec_dtor): Same.
1326         * libsupc++/exception_support.cc: Include exception_defines.h. Only
1327         compile exception-handling bits if __EXCEPTIONS is defined.
1328         Remove old ABI support.
1329         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1330         std::__throw_bad_alloc() instead of throw bad_alloc.
1331         * libsupc++/Makefile.am: Add exception_defines.h.
1332         * libsupc++/Makefile.in: Reformat.
1333         * libsupc++/*: Format.
1334
1335 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
1336
1337         * docs/html/configopts.html:  Minor updates and typo fixes.
1338         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
1339         * docs/html/faq/index.txt:  Regenerated.
1340
1341 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
1342
1343         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1344         dejagnu/dg.exp.  Adapt to log options used to run testcases.
1345
1346 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1347
1348         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1349         dejagnu/dg.exp.
1350
1351 2001-02-13  Dirk Mueller <dmuell@gmx.net>
1352             Phil Edwards  <pme@sources.redhat.com>
1353
1354         * include/backward/function.h:  Do not use rel_ops for older
1355           headers either.
1356         * include/backward/pair.h:  Likewise.
1357
1358 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
1359
1360         * src/locale.cc: Remove bogus locale::id definitions.
1361
1362 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1363
1364         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1365         not _DEFINE_VALARRAY_OPERATOR which is not existent.
1366
1367         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1368         thinko in member initialisation.
1369
1370 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1371
1372         * include/bits/std_valarray.h(valarray<>::shift): Avoid
1373         comparaison between signed and unsigned integer types.
1374         (valarray<>::cshift): Reformat.
1375
1376 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
1377
1378         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1379         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1380         * configure.in: Test for sigsetjmp.
1381         * configure, config.h.in: Rebuilt.
1382
1383 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1384
1385         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1386         lengths and strides.
1387         (__gslice_to_index): Document.
1388
1389 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1390
1391         * include/bits/char_traits.h char_traits<char>::int_type: Change
1392         to `int' to match 21.1.3.1/2.
1393
1394         * testsuite/21_strings/char_traits-int_type.C: New test.
1395
1396 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1397
1398         * testsuite/Makefile.am: New file.
1399
1400 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
1401
1402         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1403
1404 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
1405
1406         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1407
1408 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
1409
1410         * configure.target (aix4*): Remove extra set of brackets.
1411
1412 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1413
1414         Clean up stdexcept.
1415         * include/bits/stringfwd.h: New file.
1416         * include/bits/stl_string_fwd.h: Remove.
1417         * include/bits/localefwd.h: Remove declaration for allocator.
1418         * include/bits/std_iosfwd: Same.
1419         * include/bits/std_string.h: Include it.
1420         * include/bits/std_ios.h: Remove include.
1421         * include/bits/basic_string.h: Tweak.
1422         * libsupc++/new: Format.
1423         * src/Makefile.am (base_headers): Add stringfwd.h, remove
1424         stl_string_fwd.h
1425         * src/Makefile.in: Regenerate.
1426         * include/bits/std_stdexcept.h: Rewrite.
1427         * src/stdexcept.cc: Same.
1428
1429 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
1430
1431         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1432         install locations too.
1433         * aclocal.m4: Regenerate.
1434         * configure.in: Remove USE_LIBDIR.
1435         * configure: Regenerate.
1436         * src/Makefile.am (toolexecdir): Simplify, use
1437         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1438         * src/Makefile.in: Regenerate.
1439         * libsupc++/Makefile.am: Same.
1440         * libsupc++/Makefile.in: Regenerate.
1441
1442         * src/Makefile.am: Just remove special rules for locale-inst.cc and
1443         misc-inst.cc as no longer necessary.
1444
1445         Follow C++STYLE for naming non-static functions.
1446         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1447         __pad_char.
1448         * include/bits/streambuf.tcc: Same.
1449         * include/bits/ostream.tcc: Same.
1450         * include/bits/istream.tcc: Same.
1451         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1452         (_S_output_float): To __output_float.
1453         * include/bits/std_streambuf.h (_S_copy_streambufs): To
1454         __copy_streambufs.
1455         * include/bits/locale_facets.tcc (_S_build_float_format): To
1456         __build_float_format.
1457         (_S_format): To __output_integer.
1458         (_S_fill): To __pad.
1459         * src/locale.cc: Same.
1460         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1461         names.
1462         * include/bits/locale_facets.tcc (_S_group_digits): To
1463         __group_digits.
1464         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1465         for collate, numpunct.
1466
1467 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
1468
1469         * docs/html/configopts.html:  Fix HTML markup.
1470         * docs/html/install.html:  Bring up to date.
1471         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
1472         * docs/html/21_strings/howto.html:  More notes.
1473         * docs/html/22_locale/howto.html:  Fix HTML markup.
1474         * docs/html/27_io/howto.html:  More notes.
1475         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
1476         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
1477
1478 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
1479
1480         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1481         to match header files.
1482         (_S_output_float): Likewise.
1483         (_S_copy_streambufs): Likewise.
1484
1485 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
1486             Phil Edwards  <pme@sources.redhat.com>
1487
1488         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
1489           use reinterpret_cast, not static_cast.
1490
1491 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
1492
1493         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1494         * aclocal.m4: Regenerate.
1495         * configure: Regenerate.
1496
1497 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1498
1499         * include/bits/locale_facets.h (class moneypunct): Fix typos.
1500         * libsupc++/pure.cc: Revert.
1501
1502 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1503
1504         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1505         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1506         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1507         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1508         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1509         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1510         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1511         * aclocal.m4: Regenerate.
1512         * configure: Regenerate.
1513
1514 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
1515
1516         * include/bits/locale_facets.tcc: Remove `static' keyword on
1517         function definitions.
1518         * include/bits/std_streambuf.h: Likewise.
1519         * src/Makefile.am: Remove use of -fimplicit-templates.
1520         * src/Makefile.in: Regenerated.
1521         * src/locale-inst.cc: Explicitly instantiate more functions.
1522         * src/misc-inst.cc: Likewise.
1523         * src/string-inst.cc: Likewise.
1524
1525 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1526
1527         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1528         macro. Consolidate all the bits to do with where includes might be
1529         installed.
1530         * aclocal.m4: Regenerate.
1531         * configure.in: Use it.
1532         * configure: Regenerate.
1533         * src/Makefile.am (targetincludep): Use simplified rules.
1534         (targetincludep): Rename gxx_target_include_dir.
1535         (myincludep): Rename gxx_include_dir.
1536         * src/Makefile.in: Regenerate.
1537         * libsupc++/Makefile.am: Use simplified rules.
1538         * libsupc++/Makefile.in: Regenerate.
1539
1540 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1541
1542         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1543         * include/c_std/bits/std_cctype.h: Same.
1544         * include/c_std/bits/std_cassert.h: Same.
1545         * include/c_std/bits/std_cstdarg.h: Same.
1546         * include/c_std/bits/std_cstddef.h: Same.
1547
1548         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1549         namespace std.
1550         * include/c_std/bits/std_ctime.h: Same.
1551         * include/c_std/bits/std_clocale.h: Same.
1552         * include/c_std/bits/std_cmath.h: Same.
1553         * include/c_std/bits/std_csetjmp.h: Same.
1554         * include/c_std/bits/std_csignal.h: Same.
1555         * include/c_std/bits/std_cstring.h: Same.
1556         * include/c_std/bits/std_cstdlib.h: Same.
1557         * include/c_std/bits/std_cwchar.h: Same.
1558
1559 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
1560
1561         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
1562
1563 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
1564
1565         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1566         (string::_S_construct): Likewise.
1567
1568 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
1569
1570         * testsuite/config/default.exp: New file.
1571         * testsuite/config: New directory.
1572
1573 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
1574
1575         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1576         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1577         whenever !__GXX_MERGED_TYPEINFO_NAMES.
1578         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1579
1580 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
1581             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1582
1583         * Makefile.am (mkinstalldirs): Set.
1584         * src/Makefile.am (mkinstalldirs): Set.
1585         * libmath/Makefile.am (mkinstalldirs): Set.
1586         * libsup++/Makefile.am (mkinstalldirs): Set.
1587         * libio/Makefile.am (mkinstalldirs): Set.
1588         * */Makefile.in: Regenerate.
1589
1590 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
1591
1592         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1593         * include/bits/localefwd.h: More initialization cleanups.
1594
1595 2001-02-03  Jeffrey A Law  <law@cygnus.com>
1596
1597         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1598         correctly targets with 16bit ints.
1599         (_S_ios_openmode_end): Similarly.
1600         (_S_ios_iostate_end): Similarly.
1601         (_S_ios_Seekdir_end): Similarly.
1602
1603 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
1604
1605         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
1606
1607 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1608
1609         * configure.in (toplevel_srcdir, auxdir): Set.
1610         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1611         * aclocal.m4, configure, Makefile.in: Rebuilt.
1612         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1613         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1614         * libsupc++-v3/Makefile.in: Rebuilt.
1615         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1616         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1617
1618 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
1619
1620         * config/c_locale_generic.cc: Remove langinfo include.
1621
1622 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
1623
1624         Preliminary named locales.
1625         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1626         * aclocal.m4: Regenerate.
1627         * configure.in: Use it.
1628         * configure: Regerate.
1629         * src/Makefile.am (sources): Add c++locale.cc.
1630         (build_headers): Add c++locale.h.
1631         * src/Makefile.in: Regenerate.
1632         * config/c_locale_gnu.h: New file.
1633         * config/c_locale_gnu.cc: New file. Non-inline member functions
1634         for named locales, gnu-specific.
1635         * config/c_locale_generic.h: New file.
1636         * config/c_locale_generic.cc: New file. Non-inline member
1637         functions for named locales, generic version.
1638         * docs/html/configopts.html: Add documentation on new options.
1639
1640         * include/bits/locale_facets.h (class _Messages): Remove.
1641         (class _Moneypunct): Remove.
1642         * src/locale-inst.cc: Remove.
1643
1644         * include/bits/locale_facets.h (class _Collate): Remove.
1645         * src/locale-inst.cc (std): Remove.
1646         * src/locale.cc: And here.
1647
1648         * include/bits/localefwd.h (locale::_M_coalesce): New
1649         function. Correctly put together multi-name locales.
1650         (_Impl(const _Impl&, category, size_t)): Remove.
1651
1652         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1653         member functions.
1654         (_M_normalize_category_names): Remove.
1655         (_M_replace_categories): Fix.
1656
1657         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1658         (locale::_Impl::_M_construct_ctype): Remove.
1659         (locale::_Impl::_M_construct_monetary): Remove.
1660         (locale::_Impl::_M_construct_numeric): Remove.
1661         (locale::_Impl::_M_construct_time): Remove.
1662         (locale::_Impl::_M_construct_messages): Remove.
1663
1664         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1665         (_Use_facet_failure_handle): Remove.
1666         * src/locale.cc: Remove definitions.
1667         * src/locale-inst.cc: And here.
1668
1669         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1670
1671         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1672         create and error-check underlying locale object.
1673         (locale::facet::_S_destroy_c_locale): Add, take care of properly
1674         tearing down underlying locale object.
1675         * include/bits/localefwd.h (locale::facet): Declare.
1676         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1677         correctness, as glibc apparently has incorrect info in it. Test
1678         with it when it works again.....
1679
1680         * include/bits/localefwd.h (locale::_Impl::__vec_string):
1681         Remove. Number of categories is fixed at six, so just simplify and
1682         make this an array of strings.
1683         (locale::_Impl::_M_has_name): Remove.
1684         (locale::_Impl::_M_name): Remove.
1685         (locale::_Impl::_M_category_names): Turns into...
1686         (locale::_Impl::_M_names): ...this.
1687         (locale::_Impl::_M_has_same_name()): New function.
1688         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1689         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1690         signature.
1691         * src/locale.cc (locale::name()): Construct mangled name
1692         accurately reflecting combined locale categories.
1693
1694         * src/locale.cc (locale::classic()): Don't initialize here.
1695         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1696         __refs, bool __has_name, string __str): Do it here.
1697
1698         * include/bits/localefwd.h: _S_categories_num to
1699         _S_num_categories. _S_facets_num to _S_num_facets.
1700         (locale::id::id()): Explicitly set _M_index to zero.
1701         * src/locale.cc: Same.
1702
1703         * src/locale.cc: (locale::locale(const char*)): Construct named
1704         locales uniquely.
1705
1706         * src/locale.cc: Remove numpunct_byname ctors.
1707         * testsuite/22_locale/numpunct_byname.cc: New file.
1708         * testsuite/22_locale/numpunct.cc: New file.
1709
1710         * include/bits/localefwd.h (class locale): Change data members to
1711         protected, from private.
1712         (_Impl::_M_get_c_locale): Add member function.
1713         (locale::facet::_M_get_global_impl()): Add member function.
1714         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1715         a __c_locale pointer.
1716         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1717         named locales.
1718         * testsuite/22_locale/members.cc: New file, test name and combine.
1719
1720         * include/bits/locale_facets.h (class numpunct): Remove class
1721         _Punct and _Numpunct. Rewrite class numpunct to be correct for
1722         named locales.
1723         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1724         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1725         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1726         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1727         * testsuite/22_locale/numpunct_char_members.cc: New file.
1728
1729 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
1730
1731         * testsuite/README: Add more comment.
1732         * testsuite/lib/libstdc++.exp: Tweak comment.
1733
1734 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
1735
1736         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1737
1738 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
1739
1740         * testsuite/21_strings/inserters_extractors.cc: Remove
1741         explicit reference to 'testsuite/'.
1742
1743 2001-01-25  Richard Henderson  <rth@redhat.com>
1744
1745         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1746         bits. Fixes Tru64 build issues.
1747
1748 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1749
1750         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1751         (use ${MAKE-make}, not ${MAKE:-make}).
1752         * aclocal.m4, configure: Regenerate.
1753
1754 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
1755
1756         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1757         checkin.
1758
1759         * src/Makefile.am (sources): Add globals.cc.
1760         * src/Makefile.in: Regenerated.
1761         * src/globals.cc: New file.
1762         * src/ios.cc (cin): Don't define here, just declare extern.
1763         (cout): Likewise.
1764         (cerr): Likewise.
1765         (clog): Likewise.
1766         (wcin): Likewise.
1767         (wcout): Likewise.
1768         (wcerr): Likewise.
1769         (wclog): Likewise.
1770
1771 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
1772
1773         * include/bits/std_iterator.h:  Do not include stl_relops.h.
1774         * include/bits/std_numeric.h:  Ditto.
1775         * include/bits/stl_algobase.h:  Ditto.
1776         * include/bits/stl_relops.h:  Add comment warning about problems.
1777
1778 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1779
1780         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1781         in testcases.  Prepare for the DejaGnu based framework.
1782         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
1783         directory -- it is now mkcheck working directory.
1784         * tests_flags.in: Remove reference to $(top_srcdir).  Use
1785         ${SRC_DIR} instead.
1786         * Makefile.am (check, check-install): Change mkcheck invocation
1787         logic.
1788         * Makefile.in: Regenerate.
1789
1790 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
1791
1792         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1793         (__always_swap): Likewise.
1794
1795 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
1796
1797         * libsupc++/exception_support.cc (__terminate_func): Remove
1798         declaration.
1799         (__terminate_func_ptr): New typedef.
1800         (__terminate, __terminate_set_func): New extern function
1801         prototypes.
1802         (std::terminate): Use __terminate function.
1803         (std::set_terminate): Use __terminate_set_func function.
1804
1805 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1806
1807         * configure.target: Just use os_include_dir always.
1808         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1809         Link atomicity files and ctype files here.
1810         * configure: Regenerate.
1811         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1812         (GLIBCPP_ENABLE_ATOMICITY): Remove.
1813         * aclocal.m4: Regenerate.
1814
1815 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
1816
1817         * configure.in: Place definition of MULTISUBDIR in
1818         libsupc++/Makefile as is done for src/Makefile.
1819         * configure: Regenerate.
1820
1821 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
1822
1823         * acinclude.m4:  Cosmetic changes only.
1824         * aclocal.m4:  Regenerated.
1825         * configure:  Regenerated.
1826         * configure.target:  Update documented list of changed variables.
1827         * docs/html/install.html:  Fix typo.
1828         * docs/html/20_util/howto.html:  More notes on auto_ptr.
1829         * docs/html/27_io/howto.html:  More notes on streabufs.
1830         * docs/html/faq/index.html:  Add rel_ops problem and mention the
1831           DEC as(1) .subsection difficulty.
1832         * docs/html/faq/index.txt:  Regenerated.
1833
1834 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
1835
1836         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1837         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1838         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1839         its already provided in config.target.
1840         * aclocal.m4: Regenerated.
1841         * configure: Likewise.
1842         * configure.target: Set ctype_include_dir for lots of systems.
1843         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1844         * libsupc++/Makefile.in: Regenerated.
1845
1846 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
1847
1848         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
1849         keyword capability.
1850
1851         * testsuite/README: Add comment.
1852
1853 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
1854
1855         * docs/html/configopts.html:  Update for current status.  Fix HTML.
1856         * docs/html/install.html:  Update for current status.
1857
1858 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1859
1860         * testsuite/libstdc++.tests/tests.exp: New file.
1861         * testsuite/lib/libstdc++.exp: Itou.
1862         * testsuite/README: Itou.
1863
1864 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
1865
1866         * tests_flags.in: Just output the bare minimum to run tests.
1867         Let's the caller do its own arrangement.
1868
1869         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
1870         computations.
1871
1872 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
1873
1874         * testsuite/17_intro: Prepare testcases for new style DejaGnu
1875         framework.
1876
1877 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
1878
1879         * testsuite/libstdc++.tests, testsuite/lib: New directories.
1880
1881 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
1882
1883         * mkcheck.in: Construct file names that match $objdir structure.
1884         * testsuite/27_io/filebuf_members-1.txt: New file.
1885         * testsuite/27_io/ifstream_members-1.txt: New file.
1886         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1887
1888         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1889         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1890
1891 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1892
1893         * testsuite/27_io/istream_sentry.cc (test02): Fix.
1894
1895 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
1896
1897         libstdc++/1605
1898         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1899         * src/ios.cc (ios_base::failure): Make definitions match.
1900         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1901         (class bad_cast): Same.
1902         * libsupc++/exception (class exception): Add throw specs.
1903         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1904         (set_unexpected): Same.
1905         (uncaught_exception): Same.
1906         (what): Same.
1907
1908         * docs/html/17_intro/C++STYLE (classname): Fix.
1909
1910 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
1911
1912         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1913         Use it do explicitly instantiate predicate<T> and value<T> for
1914         all the builtin Ts.
1915
1916 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
1917
1918         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1919         uninitialized thinko in last change.
1920
1921 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
1922
1923         * libsupc++/exception_support.cc (__cp_pop_exception): Change
1924         prototype.
1925
1926 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1927
1928         * docs/html/17_intro/C++STYLE (classname): Add more existing
1929         and stylish patterns.
1930
1931         libstdc++/944
1932         * include/bits/istream.tcc (istream::sentry::sentry()): Set
1933         failbit if the state of the stream is not good.
1934         * testsuite/27_io/istream_sentry.cc (test02): Add test.
1935         * testsuite/27_io/istream_manip.cc (test01): Modify.
1936
1937         libstdc++/1019
1938         reported by Paolo Carlini <pcarlini@unitus.it>
1939         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1940         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1941
1942         libstdc++/1057
1943         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1944         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1945         (xsgetn): Same. Simplify.
1946         * testsuite/27_io/streambuf.cc (test04): Add testcases.
1947
1948         reported by Larry Evans <jcampbell3@prodigy.net>
1949         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1950         equality with eof on returned value from overflow.
1951
1952 2001-01-14  Andreas Jaeger  <aj@suse.de>
1953
1954         * libio/libio.h: Add test for glibc 2.0.
1955
1956 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1957
1958         * config/os/djgpp/bits/*: Fix dates.
1959
1960         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1961         _CharT* __end, _CharT __c): Remove.
1962         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1963         * include/bits/char_traits.h: Tweak.
1964
1965 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
1966
1967         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1968         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1969         bash bug.
1970         * aclocal.m4: regenerated.
1971         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1972         * configure: regenerated.
1973         * config/os/djgpp, config/os/djgpp/bits: new directories.
1974         * config/os/djgpp/bits/ctype_base.h,
1975         config/os/djgpp/bits/ctype_inline.h,
1976         config/os/djgpp/bits/ctype_noninline.h,
1977         config/os/djgpp/bits/os_defines.h: new files.
1978
1979 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
1980
1981         * include/c_std/bits/std_cstdio.h: Undef printf.
1982
1983 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
1984
1985         * src/ios.cc: Fix typo: change cout->wcout.
1986
1987         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1988         * src/Makefile.in: Regenerate.
1989
1990 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1991
1992          * include/bits/std_complex.h: Fix a typo.
1993
1994 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1995                              <kainz@ilm.com>
1996
1997         Fixes for libstdc++/1576
1998         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1999         file, move contents into....
2000         * src/ios.cc: ...Here. Put defines for iostreams objects and
2001         initialization routines into one file to simplify DSO interaction.
2002         * include/bits/std_iostream.h: Touch.
2003         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2004         * src/Makefile.am (sources): Remove stdstreams.cc.
2005         * src/Makefile.in: Regenerate.
2006
2007 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2008
2009         * tests_flags.in (check_directory): Fix typo.
2010
2011 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2012
2013          * include/bits/std_complex.h: Fix a typo.
2014
2015 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
2016
2017         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2018         code path:) Remove magic constants and restructure to handle
2019         ctype.h bit mask layout changes more gracefully.  (Make fast
2020         code path:) Use __maskrune (), if available.
2021         (is): Remove special case for digit and xdigit masks.
2022
2023 2001-01-09  Robert Lipe <robertlipe@usa.net>
2024
2025         * include/c_std/bits/std_ctime.h: Undefine difftime.
2026
2027 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
2028
2029         * src/gen-num-limits.cc (signal_adapter): New template function.
2030         (signal_handler): Use it, instead of signal.
2031         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
2032         require both tests to trap to set trap_flag.
2033
2034 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2035
2036         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2037         initialize mbstate_t member, name offset data members *off, not pos.
2038         * include/bits/fstream.tcc (filebuf::filebuf): Same.
2039
2040 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2041
2042         reported by Chris G. Demetriou <cgd@sibyte.com>
2043         * configure.in: Change -linux-* to -linux*.
2044         * configure: Regenerate.
2045
2046 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2047
2048         Fix 27_io/filebuf_members.cc
2049         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2050         const string& __name, category __cat, size_t __refs): Set
2051         _M_has_name with _M_name.
2052         * include/bits/localefwd.h (locale::operator!=): Protect member
2053         function call with this->.
2054         * src/locale.cc (locale::operator==): Make fast checks first.
2055         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2056
2057         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2058         to ios_base::Init.
2059         * src/ios.cc (ios_base::Init::Init): Initialize here.
2060         (ios_base::sync_with_stdio): Set here.
2061
2062 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
2063
2064         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2065         systems that support it, call dup() before fdopen().
2066
2067 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
2068
2069         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2070         * testsuite/17_intro/header_cwctype.cc (main): New file.
2071
2072         * src/Makefile.am (base_headers): Change.
2073         * include/bits/std_string.h: And here.
2074         * include/bits/string.tcc: Tweaks, move to...
2075         * include/bits/basic_string.tcc: ...Here.
2076         * src/string-inst.cc: Simplify, just instantiate the whole class,
2077         not member-by-member.
2078
2079 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
2080
2081         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2082         * aclocal.m4: Regenerate.
2083         * configure: Regenerate.
2084
2085         * include/bits/c++config (__GLIBCPP__): Bump version number.
2086
2087         * ChangeLog: Start new log for year 2001
2088         * ChangeLog-2000: New file.
2089
2090         * docs/html/configopts.html: Make sure default values are current,
2091         add commentary.
2092
2093 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
2094
2095         * include/c_std/bits/std_cwchar.h: Same.
2096         * testsuite/17_intro/header_cwchar.cc: Same.
2097         * include/c_std/bits/std_ctime.h: Same.
2098         * testsuite/17_intro/header_ctime.cc: Same.
2099         * include/c_std/bits/std_cstdlib.h: Same.
2100         Clean up undefs, make consistent with cwchar and cmath, etc.
2101         * testsuite/17_intro/header_cstdlib.cc: Same.
2102         * include/c_std/bits/std_cstdio.h: Same here.
2103         * testsuite/17_intro/header_cstring.cc: Same.
2104         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2105         * testsuite/17_intro/header_cstring.cc: New file. Check for
2106         size_t in namespace std.
2107
2108         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2109         * acconfig.h (HAVE_MBSTATE_T): Add.
2110         * config.h.in: Regenerate.
2111         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2112         mbstate_t.
2113         * aclocal.m4: Regenerate.
2114         * configure: Regenerate.
2115         * testsuite/17_intro/headers_c++.cc: New file.
2116         * testsuite/17_intro/headers_c.cc: Small changes.
2117
2118 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
2119
2120         * tests_flags.in: Fix typo in usage.
2121
2122         * tests_flags.in: Set target specific LIBS for cygwin.