OSDN Git Service

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