2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob570096452dd20b1d4e20e6fe64dd0ce0c26dff62
1 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
3         * testsuite/17_intro: Prepare testcases for new style DejaGnu
4         framework. 
6 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
8         * testsuite/libstdc++.tests, testsuite/lib: New directories.
10 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
12         * mkcheck.in: Construct file names that match $objdir structure.
13         * testsuite/27_io/filebuf_members-1.txt: New file.
14         * testsuite/27_io/ifstream_members-1.txt: New file.
15         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
17         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
18         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
20 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
22         * testsuite/27_io/istream_sentry.cc (test02): Fix.
24 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
26         libstdc++/1605
27         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
28         * src/ios.cc (ios_base::failure): Make definitions match.
29         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
30         (class bad_cast): Same.
31         * libsupc++/exception (class exception): Add throw specs.
32         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
33         (set_unexpected): Same.
34         (uncaught_exception): Same.
35         (what): Same.
37         * docs/html/17_intro/C++STYLE (classname): Fix.
38         
39 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
41         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
42         Use it do explicitly instantiate predicate<T> and value<T> for
43         all the builtin Ts.
45 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
47         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
48         uninitialized thinko in last change.
50 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
52         * libsupc++/exception_support.cc (__cp_pop_exception): Change
53         prototype.
55 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
57         * docs/html/17_intro/C++STYLE (classname): Add more existing
58         and stylish patterns.
60         libstdc++/944
61         * include/bits/istream.tcc (istream::sentry::sentry()): Set
62         failbit if the state of the stream is not good.
63         * testsuite/27_io/istream_sentry.cc (test02): Add test.
64         * testsuite/27_io/istream_manip.cc (test01): Modify.
66         libstdc++/1019
67         reported by Paolo Carlini <pcarlini@unitus.it>
68         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix. 
69         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
71         libstdc++/1057
72         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
73         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
74         (xsgetn): Same. Simplify.
75         * testsuite/27_io/streambuf.cc (test04): Add testcases.
77         reported by Larry Evans <jcampbell3@prodigy.net> 
78         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
79         equality with eof on returned value from overflow.
81 2001-01-14  Andreas Jaeger  <aj@suse.de>
83         * libio/libio.h: Add test for glibc 2.0.
85 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
87         * config/os/djgpp/bits/*: Fix dates.
89         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
90         _CharT* __end, _CharT __c): Remove.
91         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
92         * include/bits/char_traits.h: Tweak.
94 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
96         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
97         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
98         bash bug.
99         * aclocal.m4: regenerated.
100         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
101         * configure: regenerated.
102         * config/os/djgpp, config/os/djgpp/bits: new directories.
103         * config/os/djgpp/bits/ctype_base.h,
104         config/os/djgpp/bits/ctype_inline.h,
105         config/os/djgpp/bits/ctype_noninline.h,
106         config/os/djgpp/bits/os_defines.h: new files.
108 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
110         * include/c_std/bits/std_cstdio.h: Undef printf.
112 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
114         * src/ios.cc: Fix typo: change cout->wcout.
116         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
117         * src/Makefile.in: Regenerate.
119 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
121          * include/bits/std_complex.h: Fix a typo.
123 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
124                              <kainz@ilm.com>
126         Fixes for libstdc++/1576
127         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
128         file, move contents into....
129         * src/ios.cc: ...Here. Put defines for iostreams objects and
130         initialization routines into one file to simplify DSO interaction.
131         * include/bits/std_iostream.h: Touch.
132         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
133         * src/Makefile.am (sources): Remove stdstreams.cc.
134         * src/Makefile.in: Regenerate.
136 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
138         * tests_flags.in (check_directory): Fix typo.
140 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
142          * include/bits/std_complex.h: Fix a typo.
144 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
146         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
147         code path:) Remove magic constants and restructure to handle
148         ctype.h bit mask layout changes more gracefully.  (Make fast
149         code path:) Use __maskrune (), if available.
150         (is): Remove special case for digit and xdigit masks.
152 2001-01-09  Robert Lipe <robertlipe@usa.net>
154         * include/c_std/bits/std_ctime.h: Undefine difftime.
156 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
158         * src/gen-num-limits.cc (signal_adapter): New template function.
159         (signal_handler): Use it, instead of signal.
160         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
161         require both tests to trap to set trap_flag.
163 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
165         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
166         initialize mbstate_t member, name offset data members *off, not pos.
167         * include/bits/fstream.tcc (filebuf::filebuf): Same.
169 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
171         reported by Chris G. Demetriou <cgd@sibyte.com>
172         * configure.in: Change -linux-* to -linux*.
173         * configure: Regenerate.
175 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
177         Fix 27_io/filebuf_members.cc
178         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
179         const string& __name, category __cat, size_t __refs): Set
180         _M_has_name with _M_name.
181         * include/bits/localefwd.h (locale::operator!=): Protect member
182         function call with this->.
183         * src/locale.cc (locale::operator==): Make fast checks first.
184         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
186         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
187         to ios_base::Init.
188         * src/ios.cc (ios_base::Init::Init): Initialize here.
189         (ios_base::sync_with_stdio): Set here.
191 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
193         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
194         systems that support it, call dup() before fdopen().
196 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
198         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
199         * testsuite/17_intro/header_cwctype.cc (main): New file.
201         * src/Makefile.am (base_headers): Change.
202         * include/bits/std_string.h: And here.
203         * include/bits/string.tcc: Tweaks, move to...
204         * include/bits/basic_string.tcc: ...Here.
205         * src/string-inst.cc: Simplify, just instantiate the whole class,
206         not member-by-member.
208 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
210         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
211         * aclocal.m4: Regenerate.
212         * configure: Regenerate.
214         * include/bits/c++config (__GLIBCPP__): Bump version number.
216         * ChangeLog: Start new log for year 2001
217         * ChangeLog-2000: New file.
219         * docs/html/configopts.html: Make sure default values are current,
220         add commentary.
222 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
224         * include/c_std/bits/std_cwchar.h: Same.
225         * testsuite/17_intro/header_cwchar.cc: Same.
226         * include/c_std/bits/std_ctime.h: Same.
227         * testsuite/17_intro/header_ctime.cc: Same.
228         * include/c_std/bits/std_cstdlib.h: Same.
229         Clean up undefs, make consistent with cwchar and cmath, etc.
230         * testsuite/17_intro/header_cstdlib.cc: Same.
231         * include/c_std/bits/std_cstdio.h: Same here.
232         * testsuite/17_intro/header_cstring.cc: Same.
233         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
234         * testsuite/17_intro/header_cstring.cc: New file. Check for
235         size_t in namespace std.
237         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
238         * acconfig.h (HAVE_MBSTATE_T): Add.
239         * config.h.in: Regenerate.
240         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
241         mbstate_t.
242         * aclocal.m4: Regenerate.
243         * configure: Regenerate.
244         * testsuite/17_intro/headers_c++.cc: New file.
245         * testsuite/17_intro/headers_c.cc: Small changes.
247 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
249         * tests_flags.in: Fix typo in usage.
251         * tests_flags.in: Set target specific LIBS for cygwin.