OSDN Git Service

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