OSDN Git Service

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