OSDN Git Service

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