OSDN Git Service

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