1 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6 * testsuite/README: Add comment.
8 2001-01-21 Phil Edwards <pme@sources.redhat.com>
10 * docs/html/configopts.html: Update for current status. Fix HTML.
11 * docs/html/install.html: Update for current status.
13 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15 * testsuite/libstdc++.tests/tests.exp: New file.
16 * testsuite/lib/libstdc++.exp: Itou.
17 * testsuite/README: Itou.
19 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
21 * tests_flags.in: Just output the bare minimum to run tests.
22 Let's the caller do its own arrangement.
24 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
27 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
29 * testsuite/17_intro: Prepare testcases for new style DejaGnu
32 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
34 * testsuite/libstdc++.tests, testsuite/lib: New directories.
36 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
38 * mkcheck.in: Construct file names that match $objdir structure.
39 * testsuite/27_io/filebuf_members-1.txt: New file.
40 * testsuite/27_io/ifstream_members-1.txt: New file.
41 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
43 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
44 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
46 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
48 * testsuite/27_io/istream_sentry.cc (test02): Fix.
50 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
53 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
54 * src/ios.cc (ios_base::failure): Make definitions match.
55 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
56 (class bad_cast): Same.
57 * libsupc++/exception (class exception): Add throw specs.
58 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
59 (set_unexpected): Same.
60 (uncaught_exception): Same.
63 * docs/html/17_intro/C++STYLE (classname): Fix.
65 2001-01-16 Mark Mitchell <mark@codesourcery.com>
67 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
68 Use it do explicitly instantiate predicate<T> and value<T> for
71 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
73 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
74 uninitialized thinko in last change.
76 2001-01-16 Mark Mitchell <mark@codesourcery.com>
78 * libsupc++/exception_support.cc (__cp_pop_exception): Change
81 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
83 * docs/html/17_intro/C++STYLE (classname): Add more existing
87 * include/bits/istream.tcc (istream::sentry::sentry()): Set
88 failbit if the state of the stream is not good.
89 * testsuite/27_io/istream_sentry.cc (test02): Add test.
90 * testsuite/27_io/istream_manip.cc (test01): Modify.
93 reported by Paolo Carlini <pcarlini@unitus.it>
94 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
95 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
98 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
99 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
100 (xsgetn): Same. Simplify.
101 * testsuite/27_io/streambuf.cc (test04): Add testcases.
103 reported by Larry Evans <jcampbell3@prodigy.net>
104 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
105 equality with eof on returned value from overflow.
107 2001-01-14 Andreas Jaeger <aj@suse.de>
109 * libio/libio.h: Add test for glibc 2.0.
111 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
113 * config/os/djgpp/bits/*: Fix dates.
115 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
116 _CharT* __end, _CharT __c): Remove.
117 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
118 * include/bits/char_traits.h: Tweak.
120 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
122 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
123 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
125 * aclocal.m4: regenerated.
126 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
127 * configure: regenerated.
128 * config/os/djgpp, config/os/djgpp/bits: new directories.
129 * config/os/djgpp/bits/ctype_base.h,
130 config/os/djgpp/bits/ctype_inline.h,
131 config/os/djgpp/bits/ctype_noninline.h,
132 config/os/djgpp/bits/os_defines.h: new files.
134 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
136 * include/c_std/bits/std_cstdio.h: Undef printf.
138 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
140 * src/ios.cc: Fix typo: change cout->wcout.
142 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
143 * src/Makefile.in: Regenerate.
145 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
147 * include/bits/std_complex.h: Fix a typo.
149 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
152 Fixes for libstdc++/1576
153 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
154 file, move contents into....
155 * src/ios.cc: ...Here. Put defines for iostreams objects and
156 initialization routines into one file to simplify DSO interaction.
157 * include/bits/std_iostream.h: Touch.
158 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
159 * src/Makefile.am (sources): Remove stdstreams.cc.
160 * src/Makefile.in: Regenerate.
162 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
164 * tests_flags.in (check_directory): Fix typo.
166 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
168 * include/bits/std_complex.h: Fix a typo.
170 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
172 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
173 code path:) Remove magic constants and restructure to handle
174 ctype.h bit mask layout changes more gracefully. (Make fast
175 code path:) Use __maskrune (), if available.
176 (is): Remove special case for digit and xdigit masks.
178 2001-01-09 Robert Lipe <robertlipe@usa.net>
180 * include/c_std/bits/std_ctime.h: Undefine difftime.
182 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
184 * src/gen-num-limits.cc (signal_adapter): New template function.
185 (signal_handler): Use it, instead of signal.
186 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
187 require both tests to trap to set trap_flag.
189 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
191 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
192 initialize mbstate_t member, name offset data members *off, not pos.
193 * include/bits/fstream.tcc (filebuf::filebuf): Same.
195 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
197 reported by Chris G. Demetriou <cgd@sibyte.com>
198 * configure.in: Change -linux-* to -linux*.
199 * configure: Regenerate.
201 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
203 Fix 27_io/filebuf_members.cc
204 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
205 const string& __name, category __cat, size_t __refs): Set
206 _M_has_name with _M_name.
207 * include/bits/localefwd.h (locale::operator!=): Protect member
208 function call with this->.
209 * src/locale.cc (locale::operator==): Make fast checks first.
210 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
212 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
214 * src/ios.cc (ios_base::Init::Init): Initialize here.
215 (ios_base::sync_with_stdio): Set here.
217 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
219 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
220 systems that support it, call dup() before fdopen().
222 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
224 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
225 * testsuite/17_intro/header_cwctype.cc (main): New file.
227 * src/Makefile.am (base_headers): Change.
228 * include/bits/std_string.h: And here.
229 * include/bits/string.tcc: Tweaks, move to...
230 * include/bits/basic_string.tcc: ...Here.
231 * src/string-inst.cc: Simplify, just instantiate the whole class,
232 not member-by-member.
234 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
236 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
237 * aclocal.m4: Regenerate.
238 * configure: Regenerate.
240 * include/bits/c++config (__GLIBCPP__): Bump version number.
242 * ChangeLog: Start new log for year 2001
243 * ChangeLog-2000: New file.
245 * docs/html/configopts.html: Make sure default values are current,
248 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
250 * include/c_std/bits/std_cwchar.h: Same.
251 * testsuite/17_intro/header_cwchar.cc: Same.
252 * include/c_std/bits/std_ctime.h: Same.
253 * testsuite/17_intro/header_ctime.cc: Same.
254 * include/c_std/bits/std_cstdlib.h: Same.
255 Clean up undefs, make consistent with cwchar and cmath, etc.
256 * testsuite/17_intro/header_cstdlib.cc: Same.
257 * include/c_std/bits/std_cstdio.h: Same here.
258 * testsuite/17_intro/header_cstring.cc: Same.
259 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
260 * testsuite/17_intro/header_cstring.cc: New file. Check for
261 size_t in namespace std.
263 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
264 * acconfig.h (HAVE_MBSTATE_T): Add.
265 * config.h.in: Regenerate.
266 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
268 * aclocal.m4: Regenerate.
269 * configure: Regenerate.
270 * testsuite/17_intro/headers_c++.cc: New file.
271 * testsuite/17_intro/headers_c.cc: Small changes.
273 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
275 * tests_flags.in: Fix typo in usage.
277 * tests_flags.in: Set target specific LIBS for cygwin.