OSDN Git Service

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