OSDN Git Service

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