1 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
7 * testsuite/21_strings/inserters_extractors.cc: Remove
8 explicit reference to 'testsuite/'.
10 2001-01-25 Richard Henderson <rth@redhat.com>
12 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
13 bits. Fixes Tru64 build issues.
15 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
17 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
18 (use ${MAKE-make}, not ${MAKE:-make}).
19 * aclocal.m4, configure: Regenerate.
21 2001-01-25 Mark Mitchell <mark@codesourcery.com>
23 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
26 * src/Makefile.am (sources): Add globals.cc.
27 * src/Makefile.in: Regenerated.
28 * src/globals.cc: New file.
29 * src/ios.cc (cin): Don't define here, just declare extern.
38 2001-01-25 Phil Edwards <pme@sources.redhat.com>
40 * include/bits/std_iterator.h: Do not include stl_relops.h.
41 * include/bits/std_numeric.h: Ditto.
42 * include/bits/stl_algobase.h: Ditto.
43 * include/bits/stl_relops.h: Add comment warning about problems.
45 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
47 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
48 in testcases. Prepare for the DejaGnu based framework.
49 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
50 directory -- it is now mkcheck working directory.
51 * tests_flags.in: Remove reference to $(top_srcdir). Use
53 * Makefile.am (check, check-install): Change mkcheck invocation
55 * Makefile.in: Regenerate.
57 2001-01-24 Mark Mitchell <mark@codesourcery.com>
59 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
60 (__always_swap): Likewise.
62 2001-01-23 Chris Demetriou <cgd@broadcom.com>
64 * libsupc++/exception_support.cc (__terminate_func): Remove
66 (__terminate_func_ptr): New typedef.
67 (__terminate, __terminate_set_func): New extern function
69 (std::terminate): Use __terminate function.
70 (std::set_terminate): Use __terminate_set_func function.
72 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
74 * configure.target: Just use os_include_dir always.
75 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
76 Link atomicity files and ctype files here.
77 * configure: Regenerate.
78 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
79 (GLIBCPP_ENABLE_ATOMICITY): Remove.
80 * aclocal.m4: Regenerate.
82 2001-01-23 Chris Demetriou <cgd@broadcom.com>
84 * configure.in: Place definition of MULTISUBDIR in
85 libsupc++/Makefile as is done for src/Makefile.
86 * configure: Regenerate.
88 2001-01-23 Phil Edwards <pme@sources.redhat.com>
90 * acinclude.m4: Cosmetic changes only.
91 * aclocal.m4: Regenerated.
92 * configure: Regenerated.
93 * configure.target: Update documented list of changed variables.
94 * docs/html/install.html: Fix typo.
95 * docs/html/20_util/howto.html: More notes on auto_ptr.
96 * docs/html/27_io/howto.html: More notes on streabufs.
97 * docs/html/faq/index.html: Add rel_ops problem and mention the
98 DEC as(1) .subsection difficulty.
99 * docs/html/faq/index.txt: Regenerated.
101 2001-01-23 Mark Mitchell <mark@codesourcery.com>
103 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
104 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
105 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
106 its already provided in config.target.
107 * aclocal.m4: Regenerated.
108 * configure: Likewise.
109 * configure.target: Set ctype_include_dir for lots of systems.
110 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
111 * libsupc++/Makefile.in: Regenerated.
113 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
115 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
118 * testsuite/README: Add comment.
120 2001-01-21 Phil Edwards <pme@sources.redhat.com>
122 * docs/html/configopts.html: Update for current status. Fix HTML.
123 * docs/html/install.html: Update for current status.
125 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
127 * testsuite/libstdc++.tests/tests.exp: New file.
128 * testsuite/lib/libstdc++.exp: Itou.
129 * testsuite/README: Itou.
131 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
133 * tests_flags.in: Just output the bare minimum to run tests.
134 Let's the caller do its own arrangement.
136 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
139 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
141 * testsuite/17_intro: Prepare testcases for new style DejaGnu
144 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
146 * testsuite/libstdc++.tests, testsuite/lib: New directories.
148 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
150 * mkcheck.in: Construct file names that match $objdir structure.
151 * testsuite/27_io/filebuf_members-1.txt: New file.
152 * testsuite/27_io/ifstream_members-1.txt: New file.
153 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
155 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
156 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
158 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
160 * testsuite/27_io/istream_sentry.cc (test02): Fix.
162 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
165 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
166 * src/ios.cc (ios_base::failure): Make definitions match.
167 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
168 (class bad_cast): Same.
169 * libsupc++/exception (class exception): Add throw specs.
170 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
171 (set_unexpected): Same.
172 (uncaught_exception): Same.
175 * docs/html/17_intro/C++STYLE (classname): Fix.
177 2001-01-16 Mark Mitchell <mark@codesourcery.com>
179 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
180 Use it do explicitly instantiate predicate<T> and value<T> for
183 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
185 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
186 uninitialized thinko in last change.
188 2001-01-16 Mark Mitchell <mark@codesourcery.com>
190 * libsupc++/exception_support.cc (__cp_pop_exception): Change
193 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
195 * docs/html/17_intro/C++STYLE (classname): Add more existing
196 and stylish patterns.
199 * include/bits/istream.tcc (istream::sentry::sentry()): Set
200 failbit if the state of the stream is not good.
201 * testsuite/27_io/istream_sentry.cc (test02): Add test.
202 * testsuite/27_io/istream_manip.cc (test01): Modify.
205 reported by Paolo Carlini <pcarlini@unitus.it>
206 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
207 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
210 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
211 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
212 (xsgetn): Same. Simplify.
213 * testsuite/27_io/streambuf.cc (test04): Add testcases.
215 reported by Larry Evans <jcampbell3@prodigy.net>
216 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
217 equality with eof on returned value from overflow.
219 2001-01-14 Andreas Jaeger <aj@suse.de>
221 * libio/libio.h: Add test for glibc 2.0.
223 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
225 * config/os/djgpp/bits/*: Fix dates.
227 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
228 _CharT* __end, _CharT __c): Remove.
229 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
230 * include/bits/char_traits.h: Tweak.
232 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
234 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
235 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
237 * aclocal.m4: regenerated.
238 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
239 * configure: regenerated.
240 * config/os/djgpp, config/os/djgpp/bits: new directories.
241 * config/os/djgpp/bits/ctype_base.h,
242 config/os/djgpp/bits/ctype_inline.h,
243 config/os/djgpp/bits/ctype_noninline.h,
244 config/os/djgpp/bits/os_defines.h: new files.
246 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
248 * include/c_std/bits/std_cstdio.h: Undef printf.
250 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
252 * src/ios.cc: Fix typo: change cout->wcout.
254 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
255 * src/Makefile.in: Regenerate.
257 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
259 * include/bits/std_complex.h: Fix a typo.
261 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
264 Fixes for libstdc++/1576
265 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
266 file, move contents into....
267 * src/ios.cc: ...Here. Put defines for iostreams objects and
268 initialization routines into one file to simplify DSO interaction.
269 * include/bits/std_iostream.h: Touch.
270 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
271 * src/Makefile.am (sources): Remove stdstreams.cc.
272 * src/Makefile.in: Regenerate.
274 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
276 * tests_flags.in (check_directory): Fix typo.
278 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
280 * include/bits/std_complex.h: Fix a typo.
282 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
284 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
285 code path:) Remove magic constants and restructure to handle
286 ctype.h bit mask layout changes more gracefully. (Make fast
287 code path:) Use __maskrune (), if available.
288 (is): Remove special case for digit and xdigit masks.
290 2001-01-09 Robert Lipe <robertlipe@usa.net>
292 * include/c_std/bits/std_ctime.h: Undefine difftime.
294 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
296 * src/gen-num-limits.cc (signal_adapter): New template function.
297 (signal_handler): Use it, instead of signal.
298 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
299 require both tests to trap to set trap_flag.
301 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
303 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
304 initialize mbstate_t member, name offset data members *off, not pos.
305 * include/bits/fstream.tcc (filebuf::filebuf): Same.
307 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
309 reported by Chris G. Demetriou <cgd@sibyte.com>
310 * configure.in: Change -linux-* to -linux*.
311 * configure: Regenerate.
313 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
315 Fix 27_io/filebuf_members.cc
316 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
317 const string& __name, category __cat, size_t __refs): Set
318 _M_has_name with _M_name.
319 * include/bits/localefwd.h (locale::operator!=): Protect member
320 function call with this->.
321 * src/locale.cc (locale::operator==): Make fast checks first.
322 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
324 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
326 * src/ios.cc (ios_base::Init::Init): Initialize here.
327 (ios_base::sync_with_stdio): Set here.
329 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
331 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
332 systems that support it, call dup() before fdopen().
334 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
336 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
337 * testsuite/17_intro/header_cwctype.cc (main): New file.
339 * src/Makefile.am (base_headers): Change.
340 * include/bits/std_string.h: And here.
341 * include/bits/string.tcc: Tweaks, move to...
342 * include/bits/basic_string.tcc: ...Here.
343 * src/string-inst.cc: Simplify, just instantiate the whole class,
344 not member-by-member.
346 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
348 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
349 * aclocal.m4: Regenerate.
350 * configure: Regenerate.
352 * include/bits/c++config (__GLIBCPP__): Bump version number.
354 * ChangeLog: Start new log for year 2001
355 * ChangeLog-2000: New file.
357 * docs/html/configopts.html: Make sure default values are current,
360 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
362 * include/c_std/bits/std_cwchar.h: Same.
363 * testsuite/17_intro/header_cwchar.cc: Same.
364 * include/c_std/bits/std_ctime.h: Same.
365 * testsuite/17_intro/header_ctime.cc: Same.
366 * include/c_std/bits/std_cstdlib.h: Same.
367 Clean up undefs, make consistent with cwchar and cmath, etc.
368 * testsuite/17_intro/header_cstdlib.cc: Same.
369 * include/c_std/bits/std_cstdio.h: Same here.
370 * testsuite/17_intro/header_cstring.cc: Same.
371 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
372 * testsuite/17_intro/header_cstring.cc: New file. Check for
373 size_t in namespace std.
375 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
376 * acconfig.h (HAVE_MBSTATE_T): Add.
377 * config.h.in: Regenerate.
378 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
380 * aclocal.m4: Regenerate.
381 * configure: Regenerate.
382 * testsuite/17_intro/headers_c++.cc: New file.
383 * testsuite/17_intro/headers_c.cc: Small changes.
385 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
387 * tests_flags.in: Fix typo in usage.
389 * tests_flags.in: Set target specific LIBS for cygwin.