OSDN Git Service

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