OSDN Git Service

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