1 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3 * libsupc++/exception_support.cc (__terminate_func): Remove
5 (__terminate_func_ptr): New typedef.
6 (__terminate, __terminate_set_func): New extern function
8 (std::terminate): Use __terminate function.
9 (std::set_terminate): Use __terminate_set_func function.
11 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
13 * configure.target: Just use os_include_dir always.
14 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
15 Link atomicity files and ctype files here.
16 * configure: Regenerate.
17 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
18 (GLIBCPP_ENABLE_ATOMICITY): Remove.
19 * aclocal.m4: Regenerate.
21 2001-01-23 Chris Demetriou <cgd@broadcom.com>
23 * configure.in: Place definition of MULTISUBDIR in
24 libsupc++/Makefile as is done for src/Makefile.
25 * configure: Regenerate.
27 2001-01-23 Phil Edwards <pme@sources.redhat.com>
29 * acinclude.m4: Cosmetic changes only.
30 * aclocal.m4: Regenerated.
31 * configure: Regenerated.
32 * configure.target: Update documented list of changed variables.
33 * docs/html/install.html: Fix typo.
34 * docs/html/20_util/howto.html: More notes on auto_ptr.
35 * docs/html/27_io/howto.html: More notes on streabufs.
36 * docs/html/faq/index.html: Add rel_ops problem and mention the
37 DEC as(1) .subsection difficulty.
38 * docs/html/faq/index.txt: Regenerated.
40 2001-01-23 Mark Mitchell <mark@codesourcery.com>
42 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
43 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
44 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
45 its already provided in config.target.
46 * aclocal.m4: Regenerated.
47 * configure: Likewise.
48 * configure.target: Set ctype_include_dir for lots of systems.
49 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
50 * libsupc++/Makefile.in: Regenerated.
52 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
54 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
57 * testsuite/README: Add comment.
59 2001-01-21 Phil Edwards <pme@sources.redhat.com>
61 * docs/html/configopts.html: Update for current status. Fix HTML.
62 * docs/html/install.html: Update for current status.
64 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
66 * testsuite/libstdc++.tests/tests.exp: New file.
67 * testsuite/lib/libstdc++.exp: Itou.
68 * testsuite/README: Itou.
70 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
72 * tests_flags.in: Just output the bare minimum to run tests.
73 Let's the caller do its own arrangement.
75 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
78 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
80 * testsuite/17_intro: Prepare testcases for new style DejaGnu
83 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
85 * testsuite/libstdc++.tests, testsuite/lib: New directories.
87 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
89 * mkcheck.in: Construct file names that match $objdir structure.
90 * testsuite/27_io/filebuf_members-1.txt: New file.
91 * testsuite/27_io/ifstream_members-1.txt: New file.
92 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
94 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
95 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
97 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
99 * testsuite/27_io/istream_sentry.cc (test02): Fix.
101 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
104 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
105 * src/ios.cc (ios_base::failure): Make definitions match.
106 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
107 (class bad_cast): Same.
108 * libsupc++/exception (class exception): Add throw specs.
109 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
110 (set_unexpected): Same.
111 (uncaught_exception): Same.
114 * docs/html/17_intro/C++STYLE (classname): Fix.
116 2001-01-16 Mark Mitchell <mark@codesourcery.com>
118 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
119 Use it do explicitly instantiate predicate<T> and value<T> for
122 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
124 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
125 uninitialized thinko in last change.
127 2001-01-16 Mark Mitchell <mark@codesourcery.com>
129 * libsupc++/exception_support.cc (__cp_pop_exception): Change
132 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
134 * docs/html/17_intro/C++STYLE (classname): Add more existing
135 and stylish patterns.
138 * include/bits/istream.tcc (istream::sentry::sentry()): Set
139 failbit if the state of the stream is not good.
140 * testsuite/27_io/istream_sentry.cc (test02): Add test.
141 * testsuite/27_io/istream_manip.cc (test01): Modify.
144 reported by Paolo Carlini <pcarlini@unitus.it>
145 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
146 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
149 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
150 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
151 (xsgetn): Same. Simplify.
152 * testsuite/27_io/streambuf.cc (test04): Add testcases.
154 reported by Larry Evans <jcampbell3@prodigy.net>
155 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
156 equality with eof on returned value from overflow.
158 2001-01-14 Andreas Jaeger <aj@suse.de>
160 * libio/libio.h: Add test for glibc 2.0.
162 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
164 * config/os/djgpp/bits/*: Fix dates.
166 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
167 _CharT* __end, _CharT __c): Remove.
168 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
169 * include/bits/char_traits.h: Tweak.
171 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
173 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
174 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
176 * aclocal.m4: regenerated.
177 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
178 * configure: regenerated.
179 * config/os/djgpp, config/os/djgpp/bits: new directories.
180 * config/os/djgpp/bits/ctype_base.h,
181 config/os/djgpp/bits/ctype_inline.h,
182 config/os/djgpp/bits/ctype_noninline.h,
183 config/os/djgpp/bits/os_defines.h: new files.
185 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
187 * include/c_std/bits/std_cstdio.h: Undef printf.
189 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
191 * src/ios.cc: Fix typo: change cout->wcout.
193 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
194 * src/Makefile.in: Regenerate.
196 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
198 * include/bits/std_complex.h: Fix a typo.
200 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
203 Fixes for libstdc++/1576
204 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
205 file, move contents into....
206 * src/ios.cc: ...Here. Put defines for iostreams objects and
207 initialization routines into one file to simplify DSO interaction.
208 * include/bits/std_iostream.h: Touch.
209 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
210 * src/Makefile.am (sources): Remove stdstreams.cc.
211 * src/Makefile.in: Regenerate.
213 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
215 * tests_flags.in (check_directory): Fix typo.
217 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
219 * include/bits/std_complex.h: Fix a typo.
221 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
223 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
224 code path:) Remove magic constants and restructure to handle
225 ctype.h bit mask layout changes more gracefully. (Make fast
226 code path:) Use __maskrune (), if available.
227 (is): Remove special case for digit and xdigit masks.
229 2001-01-09 Robert Lipe <robertlipe@usa.net>
231 * include/c_std/bits/std_ctime.h: Undefine difftime.
233 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
235 * src/gen-num-limits.cc (signal_adapter): New template function.
236 (signal_handler): Use it, instead of signal.
237 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
238 require both tests to trap to set trap_flag.
240 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
242 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
243 initialize mbstate_t member, name offset data members *off, not pos.
244 * include/bits/fstream.tcc (filebuf::filebuf): Same.
246 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
248 reported by Chris G. Demetriou <cgd@sibyte.com>
249 * configure.in: Change -linux-* to -linux*.
250 * configure: Regenerate.
252 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
254 Fix 27_io/filebuf_members.cc
255 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
256 const string& __name, category __cat, size_t __refs): Set
257 _M_has_name with _M_name.
258 * include/bits/localefwd.h (locale::operator!=): Protect member
259 function call with this->.
260 * src/locale.cc (locale::operator==): Make fast checks first.
261 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
263 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
265 * src/ios.cc (ios_base::Init::Init): Initialize here.
266 (ios_base::sync_with_stdio): Set here.
268 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
270 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
271 systems that support it, call dup() before fdopen().
273 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
275 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
276 * testsuite/17_intro/header_cwctype.cc (main): New file.
278 * src/Makefile.am (base_headers): Change.
279 * include/bits/std_string.h: And here.
280 * include/bits/string.tcc: Tweaks, move to...
281 * include/bits/basic_string.tcc: ...Here.
282 * src/string-inst.cc: Simplify, just instantiate the whole class,
283 not member-by-member.
285 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
287 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
288 * aclocal.m4: Regenerate.
289 * configure: Regenerate.
291 * include/bits/c++config (__GLIBCPP__): Bump version number.
293 * ChangeLog: Start new log for year 2001
294 * ChangeLog-2000: New file.
296 * docs/html/configopts.html: Make sure default values are current,
299 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
301 * include/c_std/bits/std_cwchar.h: Same.
302 * testsuite/17_intro/header_cwchar.cc: Same.
303 * include/c_std/bits/std_ctime.h: Same.
304 * testsuite/17_intro/header_ctime.cc: Same.
305 * include/c_std/bits/std_cstdlib.h: Same.
306 Clean up undefs, make consistent with cwchar and cmath, etc.
307 * testsuite/17_intro/header_cstdlib.cc: Same.
308 * include/c_std/bits/std_cstdio.h: Same here.
309 * testsuite/17_intro/header_cstring.cc: Same.
310 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
311 * testsuite/17_intro/header_cstring.cc: New file. Check for
312 size_t in namespace std.
314 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
315 * acconfig.h (HAVE_MBSTATE_T): Add.
316 * config.h.in: Regenerate.
317 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
319 * aclocal.m4: Regenerate.
320 * configure: Regenerate.
321 * testsuite/17_intro/headers_c++.cc: New file.
322 * testsuite/17_intro/headers_c.cc: Small changes.
324 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
326 * tests_flags.in: Fix typo in usage.
328 * tests_flags.in: Set target specific LIBS for cygwin.