1 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3 * include/c_std/bits/std_cwchar.h: Alphabetize.
4 * include/bits/char_traits.h: Tweak.
5 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
6 everything used by std_cwchar.h.
7 * aclocal.m4: Regenerate.
8 * configure.in: Regenerate.
9 * config.h.in: Regenerate.
11 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
13 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
14 Add checking for strtof, _Exit in stdlib.h
15 * aclocal.m4: Regenerate.
16 * configure.in: Regenerate.
17 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
18 (snprintf): Put C99 functions into __gnu_cxx namespace.
23 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
24 for C99 functions within _GLIBCPP_USE_C99 guard.
28 * include/bits/locale_facets.tcc: Check if C99 is enabled.
29 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
31 * include/c_std/bits/cmath.tcc: Formatting tweak.
32 * include/c_std/bits/std_cmath.h: Same.
34 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
36 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
38 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
39 Stephen L Moshier <moshier@mediaone.net>
41 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
42 nothing, as in autoconf 2.50.
45 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
47 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
49 * include/c_std/bits/std_ctime.h: Same.
50 * include/c_std/bits/std_cstring.h: Same.
51 * include/c_std/bits/std_cstdlib.h: Same.
53 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
54 * include/c_std/bits/std_cctype.h: Remove isblank.
56 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
58 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
60 * aclocal.m4: Regenerate.
61 * configure: Regenerate.
62 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
63 injection, guard fgetwc, fgetws.
64 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
65 * include/c_std/bits/std_clocale.h: And here.
66 * include/c_std/bits/std_cctype.h: And here.
67 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
69 * config/basic_file_stdio.h: Don't include unistd.h.
70 * config/c_io_stdio.h: Don't use compatibility headers.
71 * libsupc++/eh_terminate.cc: Qualify abort.
72 (__terminate): And here.
73 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
75 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
77 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
79 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
84 * include/std/*: Add copyright notice.
85 * include/c_std/bits/*: Use using statements instead of extern "C".
86 * include/c_std/bits/std_cmath.h: Don't overload double versions
87 of math functions with __buitin versions, use global version to
88 prevent ambiguities. Remove define hacks.
89 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
90 functions that have changed signatures and std::
91 declarations. Remove define hacks.
92 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
93 __builtins in std::. Remove define hacks.
94 * testsuite/17_intro/headers_c.cc: Add tests.
95 * testsuite/17_intro/headers_c++.cc: Add test.
97 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
98 John David Anglin <dave@hiauly1.hia.nrc.ca>
100 * libsupc++/eh_alloc.cc: Ensure that required macros are
101 defined before including gthr.h. Ensure that we get the
102 version of gthr.h for which we know how to provide a
104 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
105 code path into line with the current EH model. Use std, where
108 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
109 John David Anglin <dave@hiauly1.hia.nrc.ca>
111 * config/threads-no.h: Remove file.
112 * config/threads-posix.h: Remove file.
114 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
115 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
116 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
117 * config.h.in: Regenerate.
119 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
120 setup and use gthr*.h files. In particular, make gthr.h files
121 namespace-clean in the staging area (they don't have to be for
123 * aclocal.m4: Regenerate.
124 * configure: Regenerate.
126 * src/Makefile.am (build_headers): Remove bits/c++threads.h
127 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
128 * src/Makefile.in: Regenerate.
130 * include/bits/c++config: Cleanup threading configuration macros.
131 In particular, define __STL_GTHREADS macro which controls...
132 * include/bits/stl_threads.h: ...a brand new gthr.h-based
135 * config/c_io_stdio.h: Include staged gthr.h instead of local
136 thread configuration file. Always use __gthread_mutex_t
137 instead of __mutext_type (or int).
138 * include/bits/std_fstream.h: Likewise.
140 * docs/html/17_intro/howto.html: Remove placeholder comment in
141 case this configuration patch didn't make it. Add advice that
142 section only applies if configured with --enable-threads.
143 * docs/html/23_containers/howto.html: Reword to make clear
144 that _PTHREADS is no longer required for any port to be
145 correctly using STL with threads. Add advice that section
146 only applies if configured with --enable-threads.
148 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
150 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
152 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
155 * include/bits/basic_ios.tcc: Formatting tweaks.
156 * include/bits/ios_base.h: Formatting tweaks.
157 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
158 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
159 * src/globals.cc: Allocate filebufs for standard streams here.
160 (buf_cout, buf_cin, buf_cerr): Like so.
161 (buf_wcout, buf_wcin, buf_wcerr): And so.
162 * testsuite/27_io/ios_init.cc: Add.
164 2001-06-04 Brendan Kehoe <brendan@zen.org>
165 Benjamin Kosnik <bkoz@redhat.com>
168 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
169 for generic ctype virtuals.
170 * src/locale.cc: Minor tweaks, naming consistency.
171 * testsuite/22_locale/ctype.cc: Add test.
173 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
174 Phil Edwards <pme@sources.redhat.com>
176 PR libstdc++/3035 and PR libstdc++/3036
177 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
178 to LWG DR 181 and 265.
180 2001-06-04 Phil Edwards <pme@sources.redhat.com>
183 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
184 equal_range): Add const overloads as per LWG DR 214.
185 * include/bits/stl_set.h: Likewise.
187 2001-06-04 Brendan Kehoe <brendan@zen.org>
188 Phil Edwards <pme@sources.redhat.com>
191 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
192 comparison; all positions must be < _Nb.
193 * testsuite/23_containers/bitset_members.cc: New file.
195 2001-06-04 Brendan Kehoe <brendan@zen.org>
198 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
199 ctors to match the standard.
201 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
203 * include/bits/char_traits.h (move): Reverse qualification of
205 (copy): Reverse qualification of memcpy with std::.
207 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
209 * include/bits/char_traits.h (move): Qualify memmove with std::.
210 (copy): Qualify memcpy with std::.
211 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
214 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
216 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
218 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
219 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
220 SUN make VPATH peculiarities.
221 * libsupc++/Makefile.in: Regenerate.
223 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
225 * src/Makefile.am (VPATH): Delimit with ":", not space.
226 * src/Makefile.in: Regenerate.
228 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
230 * configure: Regenerate.
232 2001-05-31 scott snyder <snyder@fnal.gov>
235 * include/bits/istream.tcc: Include std_ostream.h.
237 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
240 * src/bitset.cc: Qualify size_t with std::.
242 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
244 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
245 (_GLIBCPP_BUGGY_COMPLEX): Remove.
246 * config.h.in: Regenerate.
247 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
248 * aclocal.m4: Regenerate.
249 * configure.in: Don't call it.
250 * configure: Regenerate.
253 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
254 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
258 * include/bits/std_complex.h: Include sstream. Put definitions for
259 complex inserters and extractors here, and remove them from...
260 * src/complex_io.cc: ...here.
261 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
263 (basic_ios::__numget_type): Same.
264 * include/bits/std_istream.h: Same.
265 * include/bits/std_ostream.h: Same.
266 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
267 class iterator template arguments.
268 * src/locale-inst.cc: Add explicit has_facet instantiations.
269 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
270 (_M_get_fnumput): Remove.
271 (_M_get_fnumget): Remove.
272 (basic_ios::_M_check_facet): New function.
273 (basic_ios::_M_cache_facets): New function.
274 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
275 (basic_ios::imbue): Call _M_cache_facets.
276 (basic_ios::init): Same.
277 * include/bits/istream.tcc: Format, use _M_check_facet.
278 * include/bits/ostream.tcc: Same.
279 * include/bits/locale_facets.tcc (__output_float): Change
280 signature, add _Traits.
281 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
284 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
286 * include/bits/c++config (__USE_MALLOC): Do not define it.
287 Document why not and give pointers to more information.
289 * docs/html/23_containers/howto.html: Update documentation
290 to reflect recent understanding of problem.
291 * docs/html/17_intro/howto.html: Likewise.
293 2001-05-30 Phil Edwards <pme@sources.redhat.com>
295 * docs/doxygen/user.cfg.in: Minor addition.
296 * docs/html/documentation.html: Reorganize. Put most-looked-at
298 * docs/html/install.html: Update for 3.0. HTML fixups.
299 * docs/html/17_intro/howto.html: Likewise.
300 * docs/html/18_support/howto.html: Likewise.
301 * docs/html/19_diagnostics/howto.html: Likewise.
302 * docs/html/20_util/howto.html: Likewise.
303 * docs/html/23_containers/howto.html: Likewise.
304 * docs/html/24_iterators/howto.html: Likewise. More notes.
305 * docs/html/25_algorithms/howto.html: Likewise.
306 * docs/html/26_numerics/howto.html: Likewise. More notes.
307 * docs/html/27_io/howto.html: Likewise.
308 * docs/html/ext/howto.html: Likewise.
309 * docs/html/faq/index.html: Likewise.
310 * docs/html/faq/index.txt: Regenerate.
311 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
312 Doxygen-created documentation.
314 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
316 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
317 get_multilibs to find gcc.
319 2001-05-30 Phil Edwards <pme@sources.redhat.com>
321 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
322 * aclocal.m4: Regenerate.
323 * configure: Regenerate.
325 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
327 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
328 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
330 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
332 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
333 * include/c_std/bits/std_cstdlib.h: Same.
334 * include/c_std/bits/std_cwchar.h: Same.
336 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
338 * docs/html/17_intro/howto.html: Update link.
339 * docs/html/23_containers/howto.html: Likewise. Add new link.
341 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
343 * include/c_std/bits/std_cmath.h (sqrt): #undef.
345 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
347 * mknumeric_limits: Stop if gen-num-limits dies.
349 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
352 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
353 * aclocal.m4: Regenerate.
356 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
357 Phil Edwards <pme@sources.redhat.com>
358 Alexandre Oliva <aoliva@redhat.com>
360 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
361 in an amd-safe manner. Revert glibcpp_prefixdir.
363 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
365 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
366 fabs, sin, sqrt. They are now implemented in terms of __builtin_
369 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
372 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
373 * include/bits/ostream.tcc: Format to match istream.tcc.
374 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
376 2001-05-24 Phil Edwards <pme@sources.redhat.com>
378 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
380 (__cxa_free_exception): Likewise with free.
382 2001-05-24 Mark Mitchell <mark@codesourcery.com>
384 * include/c_std/bin/std_cstring.h: #define away all global
385 functions we will redeclare in namespace `std'.
386 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
387 std::memset, instead of memset.
388 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
390 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
393 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
396 * include/bits/basic_ios.tcc: Small tweak.
397 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
398 ctors and dtors, and rdbuf settings.
401 * include/bits/std_sstream.h: Same, but for stringstream classes.
402 * testsuite/27_io/ostringstream_members.cc: New.
403 * testsuite/27_io/stringstream_members.cc: New.
404 * testsuite/27_io/fstream_members.cc: New.
405 * testsuite/27_io/ifstream_members.cc: Add test.
406 * testsuite/27_io/istringstream_members.cc: Add test.
407 * testsuite/27_io/ofstream_members.cc: Add test.
409 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
411 * include/bits/c++config(__NO_MATH_INLINES): Move to...
412 * config/os/gnu-linux/bits/os_defines.h: ...here.
414 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
416 * include/bits/c++config (__NO_MATH_INLINES): New macro.
417 * testsuite/26_numerics/fabs_inline.cc (main): New test.
419 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
422 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
424 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
425 (libstdc++-v3-finish): Remove.
426 (libstdc++-v3_exit): Remove.
428 2001-05-22 Phil Edwards <pme@sources.redhat.com>
430 * docs/html/documentation.html: Point to doxygen output.
432 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
434 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
436 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
437 arguments to be non-null.
438 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
439 try allocations if allocated size is greater than zero.
440 (filebuf::_M_filebuf_init): Change to
441 (filebuf::_M_allocate_file): Which is what it does now.
442 (filebuf::_M_allocate_bufers): Change to
443 (filebuf::_M_allocate_internal_buffer): This, and create
444 (filebuf::_M_allocate_pback_buffer): New.
445 (filebuf::_M_destroy_internal_buffer): New.
446 (filebuf::_M_buf_allocated): New data member.
447 (filebuf::setbuf): Use new logic, allow use of external buffer.
448 * testsuite/27_io/stringbuf_virtuals.cc: New file.
449 * testsuite/27_io/filebuf_virtuals.cc: New file.
451 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
453 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
455 (strchr): Same, but to __glibcpp_strchr.
459 * include/c_std/bits/std_cwchar.h (wcschr): Same.
465 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
467 * testsuite/21_strings/c_strings.cc (main): Fix.
469 2001-05-19 Phil Edwards <pme@sources.redhat.com>
471 * acinclude.m4: Fix --help spacing, correct comments.
472 * aclocal.m4: Regenerate.
473 * configure: Regenerate.
474 * mkcheck.in: Add usage comments.
475 * docs/html/documentation.html: Point to doxygen'd tarball.
477 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
479 * testsuite/README: Add notes.
481 * src/Makefile.am (libstdc++.INC): Remove.
482 * src/Makefile.in: Regenerate.
484 Phil Edwards <pedwards@disaster.jaj.com>
485 * mkcheck.in: Add missing '#'.
487 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
489 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
490 appropriately for remote testing and testing installed files without
493 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
495 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
496 amd glibcpp_prefixdir with absolute paths.
498 * include/bits/c++config (__GLIBCPP__): Bump.
499 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
501 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
503 * include/bits/std_valarray.h (valarray<>::operator[] const):
504 Return a const reference.
505 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
507 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
509 * configure.target (ATOMICITYH): Actually use AIX-specific code on
510 earlier versions of AIX 4.*.
512 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
514 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
515 output_file based on the name of the testcase.
517 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
519 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
520 gluefile and use it if needs_status_wrapper is set.
522 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
524 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
527 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
529 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
530 on earlier versions of AIX.
532 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
534 * testsuite_flags.in (query): Add backwards, ext directories.
536 2001-05-15 Mark Mitchell <mark@codesourcery.com>
538 * porting.texi: Correct documentation about handling
539 _LARRGEFILE_SOURCE and its ilk.
540 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
541 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
543 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
544 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
546 2001-05-15 Zack Weinberg <zackw@stanford.edu>
548 * testsuite/21_strings/inserters_extractors.cc,
549 testsuite/27_io/istream_unformatted.cc,
550 testsuite/27_io/stringstream.cc:
551 Replace multi-line string constants with C89-style
552 concatenated string constants.
554 2001-05-14 Richard Henderson <rth@redhat.com>
556 * mknumeric_limits: Build with -fno-exceptions.
558 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
560 Switch over to new harness.
561 * testsuite_flags.in: Tweaks via Gaby.
562 * testsuite/Makefile.am: Change tool to libstdc++-v3.
563 (EXPECT): Quote directly.
565 * configure.in: Output testsuite_flags.
566 * acinclude.m4: Substitute src, bld, and prefix dirs.
567 Remove glibcpp_expect, glibcpp_runtestflags.
568 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
569 * mkcheck.in: Port to new interface.
571 * aclocal.m4: Regerate.
572 * configure: Regnerate.
573 * Makefile.in: Regnerate.
574 * */Makefile.in: Regenerate.
576 * tests_flags.in: Remove.
577 * testsuite/lib/libstdc++.exp: Remove.
578 * testsuite/libstdc++.tests/tests.exp: Remove.
580 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
582 * configure.target: Remove detection of AIX pthread multilib, now
583 obtained from `gcc -v'.
585 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
587 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
588 size. Add hpux case for HP size.
590 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
592 * testsuite_flags.in: New, simplified interface.
593 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
594 * testsuite/libstdc++-v3.dg: Add.
595 * testsuite/libstdc++-v3.dg/dg.exp: Add.
597 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
599 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
600 * testsuite/config/default.exp: Update bugs email address.
602 2001-05-11 Richard Henderson <rth@redhat.com>
604 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
605 all pointer encoding logic.
606 (struct lsda_header_info): Add ttype_base.
607 (get_ttype_entry): Use it instead of a context.
608 (check_exception_spec): Likewise.
609 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
610 the c++ exception header for __cxa_call_unexpected.
611 (__cxa_call_unexpected): Use it.
613 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
615 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
616 libgloss_link_flags to find crt0.o for targets that use libgloss
618 Change LDFLAGS to LIBS.
619 Consistently name procedures libstdc++-XXX.
620 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
622 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
624 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
629 * include/c_std/bits/std_cwchar.h (wcschr): Same.
634 * testsuite/21_strings/c_strings.cc: Add tests.
636 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
639 * include/bits/std_fstream.h (basic_filebuf): Change signature.
640 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
641 to int_type, pass in buffer size info.
642 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
643 unbuffered situation.
644 (underflow): Remove codecvt bits for the time being.
645 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
646 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
647 values from iterators, clean.
648 * src/locale.cc: Ditto.
649 * include/bits/sbuf_iter.h: Format.
650 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
651 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
652 * testsuite/27_io/filebuf.cc: Tweaks.
653 * testsuite/27_io/filebuf_members.cc: Tweaks.
655 2001-05-07 Mark Mitchell <mark@codesourcery.com>
657 * config/os/solaris/solaris2.7/bits/os_defines.h
658 (_LARGEFILE_SOURCE): Define it.
660 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
662 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
663 -prefer-non-pic depending on whether libtool has shared libraries
665 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
666 $(LIBSUPCXX_PICFLAGS).
667 * configure, */Makefile.in: Rebuilt.
669 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
671 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
672 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
674 * include/bits/std_sstream.h (stringbuf): Leak
676 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
678 2001-05-01 Tom Browder <tbrowder@home.com>
680 * docs/html/ext/howto.html: Fix typo.
682 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
684 * testsuite/libstdc++.tests/tests.exp: Add comment.
686 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
688 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
690 2001-04-30 Mark Mitchell <mark@codesourcery.com>
692 * porting.texi: Use the GFDL.
694 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
697 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
698 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
701 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
704 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
706 2001-04-28 Phil Edwards <pme@sources.redhat.com>
708 * docs/doxygen/run_doxygen: Minor tweaks.
709 * docs/doxygen/style.css: New file.
710 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
711 latest parameters available. Use style.css.
713 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
715 * docs/doxygen/mainpage.doxy: New.
716 * docs/doxygen/user.cfg.in: Change default configuration. Single
719 2001-04-26 Mark Mitchell <mark@codesourcery.com>
721 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
722 Indicate obsolete nature of thelist for G++ 3.0.
724 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
726 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
727 target_thread_file with `gcc -v'.
728 * aclocal.m4, configure: Rebuilt.
730 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
732 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
733 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
734 * include/c_std/bits/std_cwchar.h (std): Same.
735 * acconfig.h (std): Remove c99 injection into std.
736 * config.h.in: Regenerate.
738 * testsuite/README: Fix typo.
740 * include/bits/codecvt.h: Remove warnings.
742 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
744 * include/ext/slist: Include required header files.
746 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
748 * include/c_std/bits/std_cerrno.h (errno): Define macro from
749 identifier declared with external linkage, if needed.
750 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
751 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
753 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
755 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
756 re-configures find the build compiler.
757 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
759 * aclocal.m4: Regenerate.
760 * configure: Regenerate.
762 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
764 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
765 support is enabled correctly before long long is activated.
766 * aclocal.m4: Regenerate.
767 * configure: Regenerate.
769 * include/backward/backward_warning.h: Format correctly.
771 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
772 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
773 * testsuite/26_numerics/c99_macros.cc: Remove.
775 2001-04-20 Phil Edwards <pme@sources.redhat.com>
777 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
780 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
782 * acconfig.h (_GLIBCPP_USE_C99): Add.
783 * config.h.in: Regenerate.
784 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
786 * aclocal.m4: Regenerate.
787 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
788 * configure: Regenerate.
789 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
790 * configure: Regenerate.
791 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
793 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
795 * include/c_std/bits/std_cstdlib.h: Same.
796 * docs/html/configopts.html: Update.
797 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
799 (test_c99_classify): Add.
800 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
801 (_ISOC99_SOURCE): Remove.
803 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
804 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
805 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
806 * aclocal.m4: Regenerate.
807 * configure: Regenerate.
809 2001-04-19 Phil Edwards <pme@sources.redhat.com>
811 * Makefile.am (doxygen): Assume script is missing execute perms.
812 * Makefile.in: Regenerated.
813 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
815 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
817 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
819 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
821 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
822 * testsuite/23_containers/set_operators.cc: Same.
824 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
826 (__GLIBCPP__): Bump from value of last release.
827 * include/bits/concept_check.h: Default to off, edit comments.
828 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
829 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
830 * src/Makefile.in: Regenerate.
832 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
834 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
835 Properly uglify member.
837 2001-04-13 Phil Edwards <pme@sources.redhat.com>
839 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
843 2001-04-13 Phil Edwards <pme@sources.redhat.com>
845 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
846 * include/bits/concept_check.h: Uglify.
847 * include/bits/stl_algo.h: Likewise.
848 * include/bits/stl_algobase.h: Likewise.
849 * include/bits/stl_deque.h: Likewise.
850 * include/bits/stl_heap.h: Likewise.
851 * include/bits/stl_iterator_base_funcs.h: Likewise.
852 * include/bits/stl_list.h: Likewise.
853 * include/bits/stl_map.h: Likewise.
854 * include/bits/stl_multimap.h: Likewise.
855 * include/bits/stl_multiset.h: Likewise.
856 * include/bits/stl_numeric.h: Likewise.
857 * include/bits/stl_queue.h: Likewise.
858 * include/bits/stl_set.h: Likewise.
859 * include/bits/stl_stack.h: Likewise.
860 * include/bits/stl_vector.h: Likewise.
861 * include/ext/hash_map: Likewise.
862 * include/ext/hash_set: Likewise.
863 * include/ext/slist: Likewise.
865 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
867 * testsuite/23_containers/set_operators.cc: Just try to compile.
869 * testsuite/23_containers/map_operators.cc: Same.
871 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
873 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
875 (dg-test): Revert rth's change.
877 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
879 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
880 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
882 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
884 * testsuite/README: Add DejaGnu specific documentation.
886 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
888 * acinclude.m4: AC_CHECK_TOOL for expect.
889 * aclocal.m4: Regenerate.
890 * configure: Regenerate.
891 * testsuite/Makefile.am (RUNTEST): Use substituted.
894 * configure.in: Remove xcompiling substitution.
895 * tests_flags.in (CROSS_LIB_PATH): Remove.
896 (xcompiling): Remove.
897 (CXX): Use substituted CXX.
899 2001-04-11 Richard Henderson <rth@redhat.com>
901 * testsuite/lib/libstdc++.exp: Specify path for output_file.
903 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
905 * include/bits/std_valarray.h(valarray<>::operator[]): Make
908 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
910 * testsuite/25_algorithms/equal.cc: New test.
912 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
914 * stl_algobase.h (std::equal): avoid use of possibly-undefined
915 operator != (one line patch).
917 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
919 * include/backward/backward_warning.h: Re-enable.
921 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
922 Alexandre Oliva <aoliva@redhat.com>
924 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
926 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
928 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
929 * testsuite/26_numerics/c99_macros.cc: Add test.
931 2001-04-06 Phil Edwards <pme@sources.redhat.com>
933 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
934 * docs/html/faq/index.txt: Regenerated.
936 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
938 * include/backward/backward_warning.h: Temporarily disable until
939 g++ testsuite changes go in.
940 * tests_flags.in (CROSS_LIB_PATH): Add.
942 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
944 Warn when using backward headers.
945 * include/backward/algo.h: Include warning file.
946 * include/backward/vector.h: Same.
947 * include/backward/tree.h: Same.
948 * include/backward/tempbuf.h: Same.
949 * include/backward/strstream: Same.
950 * include/backward/streambuf.h: Same.
951 * include/backward/stream.h: Same.
952 * include/backward/stack.h: Same.
953 * include/backward/slist.h: Same.
954 * include/backward/set.h: Same.
955 * include/backward/rope.h:
956 * include/backward/queue.h: Same.
957 * include/backward/pair.h: Same.
958 * include/backward/ostream.h: Same.
959 * include/backward/new.h: Same.
960 * include/backward/multiset.h: Same.
961 * include/backward/multimap.h: Same.
962 * include/backward/map.h: Same.
963 * include/backward/list.h: Same.
964 * include/backward/iterator.h: Same.
965 * include/backward/istream.h: Same.
966 * include/backward/iostream.h:
967 * include/backward/iomanip.h:
968 * include/backward/heap.h: Same.
969 * include/backward/hashtable.h:
970 * include/backward/hash_set.h:
971 * include/backward/hash_map.h:
972 * include/backward/function.h:
973 * include/backward/fstream.h:
974 * include/backward/deque.h:
975 * include/backward/defalloc.h: Same.
976 * include/backward/complex.h: Same.
977 * include/backward/bvector.h:
978 * include/backward/alloc.h:
979 * include/backward/algobase.h: Same.
981 * include/backward/backward_warning.h: New file.
982 * src/Makefile.am (backward_headers): Add backward_warning.h
983 * src/Makefile.in: Regenerate.
985 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
987 * src/Makefile.am (myinstalldirs): Make sure backward directory is
989 (myinstallheaders): Install backward headers in backward directory.
990 * src/Makefile.in: Regenerate.
992 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
994 Prepare for libstdc++-2.92.
995 * docs/html/17_intro/RELEASE-NOTES (New): Update.
996 * docs/html/configopts.html: Fix formatting.
997 * README (file): Updates.
998 * include/bits/c++config (__GLIBCPP__): Update.
1000 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1002 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1004 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1006 * docs/doxygen/user.cfg.in: Extract all non-private members;
1007 reduce confusing documentation output.
1009 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1011 * include/backward/fstream.h: Add missing semicolons.
1013 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1015 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1016 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1017 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1018 (ios_base::Init::_S_ios_create): New.
1019 (ios_base::Init::_S_ios_destroy): New.
1020 * include/bits/std_fstream.h: Change ctor args.
1021 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1022 (ios_base::Init::~Init): Use _S_ios_destroy.
1023 (ios_base::sync_with_stdio): Use new members.
1024 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1027 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1029 * include/backward/fstream.h: Expose streampos to global
1032 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1034 * include/bits/stl_iterator_base_types.h: Fix typo
1036 2001-04-03 Andreas Schwab <schwab@suse.de>
1038 * include/backward/fstream.h: Define filebuf and wfilebuf.
1040 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1042 New concept checking implementation.
1043 * docs/html/19_diagnostics/howto.html: Document.
1044 * docs/html/17_intro/concept_check.diff: New file, for reference.
1045 * include/bits/boost_concept_check.h: New file from Boost.
1046 * include/bits/c++config: Update comments.
1048 * include/bits/concept_check.h: New file.
1049 * include/bits/concept_checks.h: Removed.
1050 * include/bits/container_concepts.h: Removed.
1051 * include/bits/sequence_concepts.h: Removed.
1052 * include/bits/stl_iterator_base.h: Removed; split into...
1053 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1054 * include/bits/stl_iterator_base_types.h: ...and this new file.
1056 * include/bits/sbuf_iter.h: Update to use new implementation.
1057 * include/bits/std_iterator.h: Likewise.
1058 * include/bits/std_memory.h: Likewise.
1059 * include/bits/stl_algo.h: Likewise.
1060 * include/bits/stl_algobase.h: Likewise.
1061 * include/bits/stl_construct.h: Likewise.
1062 * include/bits/stl_deque.h: Likewise.
1063 * include/bits/stl_heap.h: Likewise.
1064 * include/bits/stl_list.h: Likewise.
1065 * include/bits/stl_map.h: Likewise.
1066 * include/bits/stl_multimap.h: Likewise.
1067 * include/bits/stl_multiset.h: Likewise.
1068 * include/bits/stl_numeric.h: Likewise.
1069 * include/bits/stl_queue.h: Likewise.
1070 * include/bits/stl_set.h: Likewise.
1071 * include/bits/stl_stack.h: Likewise.
1072 * include/bits/stl_uninitialized.h: Likewise.
1073 * include/bits/stl_vector.h: Likewise.
1074 * include/ext/hash_map: Likewise.
1075 * include/ext/hash_set: Likewise.
1076 * include/ext/slist: Likewise.
1077 * include/ext/stl_hashtable.h: Likewise.
1079 * src/Makefile.am (base_headers): Update list of headers.
1080 * Makefile.in: Regenerated.
1081 * src/Makefile.in: Regenerated.
1082 * libio/Makefile.in: Regenerated.
1083 * libmath/Makefile.in: Regenerated.
1084 * libsupc++/Makefile.in: Regenerated.
1085 * testsuite/Makefile.in: Regenerated.
1087 * docs/html/install.html: Update contact information.
1088 * docs/html/17_intro/howto.html: Ditto.
1089 * docs/html/18_support/howto.html: Ditto.
1090 * docs/html/20_util/howto.html: Ditto.
1091 * docs/html/21_strings/howto.html: Ditto.
1092 * docs/html/22_locale/howto.html: Ditto.
1093 * docs/html/23_containers/howto.html: Ditto.
1094 * docs/html/24_iterators/howto.html: Ditto.
1095 * docs/html/25_algorithms/howto.html: Ditto.
1096 * docs/html/26_numerics/howto.html: Ditto.
1097 * docs/html/27_io/howto.html: Ditto.
1098 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1099 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1100 * docs/html/faq/index.txt: Regenerated.
1102 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1104 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1105 messages with $which_library as well as $tool_flags and
1106 ${dg-extra-tool-flags}. Factor out annotation text into
1109 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1111 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1112 * include/c_std/bits/std_cwchar.h: Same.
1113 * testsuite/21_strings/c_strings.cc: Add.
1115 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1117 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1119 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1121 * tests_flags.in: Use test a = b, not test a == b which is not
1124 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1126 * configure.target: Remove duplicate aix entry.
1128 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1130 * include/ext/stl_bvector.h: Move to...
1131 * include/bits/stl_vector.h: ...here.
1132 * include/ext/bvector: Move to...
1133 * include/backward/bvector.h: ...here.
1134 * include/bits/std_vector.h: Change stl_bvector include.
1135 * include/bits/std_queue.h: Remove bvector include.
1136 * include/ext/tree: Insert using rb_tree, move to...
1137 * include/backward/tree.h: ...here.
1138 * include/backward/hash_map.h: Include ext/hash_map.
1139 * include/backward/hash_set.h: Include ext/hash_set.
1140 * include/backward/queue.h: New file.
1141 * include/backward/stack.h: Edit.
1142 * include/backward/algo.h: Same.
1143 * include/backward/algobase.h: Same.
1144 * include/backward/alloc.h: Same.
1145 * include/backward/function.h: Same.
1146 * include/backward/iomanip.h: Same.
1147 * include/backward/istream.h: Same.
1148 * include/backward/iterator.h: Same.
1149 * include/backward/list.h: Same.
1150 * include/backward/map.h: Same.
1151 * include/backward/multimap.h: Same.
1152 * include/backward/multiset.h: Same.
1153 * include/backward/ostream.h: Same.
1154 * include/backward/pair.h: Same
1155 * include/backward/rope.h: Same.
1156 * include/backward/set.h: Same.
1157 * include/backward/stream.h: Same.
1158 * include/backward/strstream.h: Same.
1159 * include/backward/tempbuf.h: Same.
1160 * src/Makefile.am (ext_headers): Edit.
1161 * src/Makefile.in: Regenerate.
1162 * testsuite/ext/headers.cc (main): Fix.
1165 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1167 * tests_flags.in (LIBS): Pass correct path for installed testing.
1169 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1171 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1172 * tests_flags.in (CXX): Construct here.
1173 (static_fail): Don't remove compile.out. Format with spaces.
1174 (INCLUDES): Deal with xcompiling.
1175 * configure.in (xcompiling): Substitute.
1176 * testsuite/Makefile.am: Snake libjava configury.
1177 * testsuite/Makefile.in: Regenerate.
1178 * testsuite/23_containers/map_operators.cc: Tweaks.
1179 * testsuite/23_containers/set_operators.cc: Tweaks.
1181 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1183 Enable dejagnu testing framework.
1184 * configure.in: Generate testsuite/Makefile.
1185 * configure: Regenerate.
1186 * Makefile.am (check-install): Change rule from this...
1187 (check-script-install): ...to this.
1188 (check): Change rule from this...
1189 (check-script):...to this.
1190 * Makefile.in: Regenerate.
1192 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1194 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1196 (LIBTOOL): Let automake take care of its definition.
1197 * libsupc++/Makefile.in: Rebuilt.
1199 2001-03-28 Richard Henderson <rth@redhat.com>
1201 IA-64 ABI Exception Handling:
1202 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1203 * configure.in: Use it.
1204 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1205 * libsupc++/Makefile.am (sources): Update files list.
1206 * libsupc++/Makefile.in: Regenerate.
1207 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1208 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1209 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1210 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1211 * libsupc++/exception_support.cc: Remove.
1212 * libsupc++/exception_support.h: Remove.
1213 * libsupc++/pure.cc: Use std::terminate.
1214 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1215 (__is_pointer): Remove.
1216 * libsupc++/unwind-cxx.h: New file.
1217 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1219 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1221 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1223 * src/Makefile.am (CXXLINK): Likewise.
1224 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1226 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1228 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1230 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1232 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1235 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1237 * include/bits/basic_file.h (get_fileno): Remove.
1238 (_M_fileno): Remove.
1239 (_M_cfile_created): Add.
1240 (basic_file::basic_file(__c_file_type*, openmode): Add.
1241 (basic_file::basic_file(int, const char*, openmode): Remove.
1242 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1243 const char*, ios_base::openmode): Don't allocate
1244 internal buffers. Turn off internal buffers.
1245 (basic_filebuf::overflow): Remove test for null buffer.
1246 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1247 * include/bits/streambuf.cc: Tweak.
1248 * include/bits/std_ostream.h: Tweak.
1249 * config/basic_file_libio.h: Same.
1250 * config/basic_file_stdio.h: Same.
1251 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1252 * testsuite/27_io/filebuf_members.cc: Tweaks.
1253 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1255 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1257 * Makefile.am: New targets, doxygen and doxygen-maint.
1258 * Makefile.in: Regenerated.
1259 * docs/doxygen/run_doxygen: Finally implemented.
1260 * docs/doxygen/maint.cfg.in: New file.
1261 * docs/doxygen/user.cfg.in: New file.
1263 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1265 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1266 * src/Makefile.am: Replace leading spaces with tabs on continuation
1268 * aclocal.m4: Regenerated.
1270 * Makefile.in: Ditto.
1271 * src/Makefile.in: Ditto.
1272 * libio/Makefile.in: Ditto.
1273 * libmath/Makefile.in: Ditto.
1274 * libsupc++/Makefile.in: Ditto.
1276 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1278 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1279 concept-checking code and current status of same.
1280 * docs/html/ext/howto.html: Ditto.
1281 * docs/html/faq/index.html: Ditto.
1282 * docs/html/faq/index.txt: Regenerated.
1284 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1286 * include/bits/std_bitset.h: Include ostream and istream headers
1287 instead of iostream.
1289 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1291 * include/bits/ostream.tcc: Use __builtin_alloca.
1293 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1295 * src/misc-inst.cc (__sink_unused_warning): Move to...
1296 * src/locale-inst.cc (__sink_unused_warning): Move to...
1297 * src/stl-inst.cc: Here.
1298 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1301 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1303 * intclude/bits/basic_file.h: Fix typos in comments.
1305 2001-03-20 Richard Henderson <rth@redhat.com>
1307 * src/gen-num-limits.cc: Instantiate for wchar_t.
1308 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1310 2001-03-20 Jason Merrill <jason@redhat.com>
1312 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1313 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1314 * libsupc++/cxxabi.h: Declare it.
1316 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1318 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1319 signal_func with an unspecified argument list.
1321 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1323 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1325 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1327 * include/bits/basic_string.tcc (operator+): Fix thinko.
1329 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1332 * include/bits/std_streambuf.h: Remove cached locale facets.
1333 (basic_streambuf::_M_buf_fctype): Remove.
1334 (basic_streambuf::~basic_streambuf): Remove here.
1335 (basic_streambuf::basic_streambuf): Same.
1336 (basic_streambuf::imbue): Same.
1337 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1338 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1339 (basic_filebuf::~basic_filebuf()): Remove here.
1340 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1341 (basic_filebuf::imbue): Same.
1342 * include/bits/localefwd.h (_Count_ones): Remove.
1343 (locale::_S_num_categories): Just use 6, since this doesn't
1344 actually change, ever.
1345 * include/bits/locale_facets.tcc (has_facet): Simplify.
1347 * testsuite/27_io/filebuf.cc (test06): Add tests.
1349 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1351 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1352 match HP-UX ctype.h header file.
1354 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1356 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1357 duplicate definitions of __dj_ctype_*
1359 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1361 * libsupc++/new: Remove pragma interface.
1362 * libsupc++/typeinfo: Same.
1363 * libsupc++/exception: Same.
1364 * libsupc++/new_handler.cc: Remove pragma implementation.
1365 (bad_alloc::~bad_alloc()): Add.
1366 * libsupc++/exception_support.cc: Same.
1367 (exception::~exception): Add.
1368 (bad_exception::~bad_exception): Add.
1369 * libsupc++/tinfo.cc: Same.
1370 (bad_cast::~bad_cast): Add.
1371 (bad_typeid::~bad_typeid): Add.
1373 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1375 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1377 2001-03-12 Felix Lee <flee@redhat.com>
1379 * mkcheck.in: workaround for bash 2.01 IFS bug.
1381 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1383 Fixups for -fno-for-scope
1384 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1385 * src/valarray-inst.cc (__gslice_to_index): Same.
1387 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1389 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1390 prior to trapping signal (UnixWare 7 workaround).
1392 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1394 * include/backward/hashtable.h: Same.
1395 * include/backward/rope.h: Fix include.
1397 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1399 * include/backward/vector.h: Include std_vector.h.
1401 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1402 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1405 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1407 * include/ext/stl_hashtable.h: Change type of __n to size_t
1408 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1410 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1412 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1413 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1414 Use streamsize, not int_type.
1416 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1418 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1421 2001-03-08 Andreas Schwab <schwab@suse.de>
1423 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1425 * aclocal.m4, configure: Regenerated.
1427 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1429 * include/bits/std_iosfwd.h: Remove string forward decls here.
1430 * include/bits/stringfwd.h: Add forward decls for char_traits
1432 * config/c_io_libio.h (wstreamoff): Delete.
1433 * config/c_io_stdio.h (wstreamoff): Same.
1434 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1435 char_traits<wchar_t>::off_type.
1436 Remove duplicate typedefs.
1437 * include/bits/fpos.h: Define streampos/wstreampos here.
1438 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1441 Changeup output files.
1442 * testsuite/27_io/istream_unformatted.cc: Change output files.
1443 * testsuite/27_io/istream_seeks-1.txt: Add.
1444 * testsuite/27_io/istream_seeks-2.tst: Add.
1445 * testsuite/27_io/istream_seeks-1.tst: Add.
1446 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1447 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1448 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1450 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1452 Add Irix 5.2, 6.3 support.
1453 * config/os/irix/bits: Renamed to...
1454 * config/os/irix/irix6.5/bits: this.
1455 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1456 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1457 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1458 * config/os/irix/irix5.2/bits/ctype_noninline.h
1459 (ctype<char>::ctype): Initialize _M_table with __ctype.
1460 * configure.target: Adjust.
1462 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1465 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1466 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1468 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1469 (*__pf)(__ios_type&)): Same.
1470 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1471 (*__pf)(ios_base&))): Same.
1472 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1473 * testsuite/27_io/istream_manip.cc (test01): Fix.
1475 2001-03-06 Nathan Myers <ncm@cantrip.org>
1476 Benjamin Kosnik <bkoz@redhat.com>
1478 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1479 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1480 * testsuite/17_intro/header_cassert.cc (test01): New file.
1481 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1482 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1483 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1485 2001-03-05 scott snyder <snyder@fnal.gov>
1488 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1490 * include/c_std/bits/std_cstdlib.h: ... to here.
1491 * testsuite/17_intro/header_cstdlib.cc: Add test.
1493 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1495 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1497 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1499 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1500 definition. Replace enum with static const variables.
1502 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1503 throw specification, fix typos, use <static_cast>.
1504 (ctype<char>::scan_is): remove throw specification.
1505 (ctype<char>::scan_not): likewise.
1507 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1508 (ctype<char>::do_toupper(char)): use <static_cast>.
1509 (ctype<char>::do_toupper(char *, const char *)): likewise.
1510 (ctype<char>::do_tolower(char)): likewise.
1511 (ctype<char>::do_tolower(char *, const char *)): likewise.
1513 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1515 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1516 * include/backward/algo.h: Use std not __STD. Remove unneeded
1517 macros and "never happens" code. Adjust to C++STYLE guidelines.
1518 * include/backward/algobase.h: Likewise.
1519 * include/backward/alloc.h: Likewise.
1520 * include/backward/bvector.h: Likewise.
1521 * include/backward/deque.h: Likewise.
1522 * include/backward/function.h: Likewise.
1523 * include/backward/hash_map.h: Likewise.
1524 * include/backward/hash_set.h: Likewise.
1525 * include/backward/hashtable.h: Likewise.
1526 * include/backward/heap.h: Likewise.
1527 * include/backward/iterator.h: Likewise.
1528 * include/backward/list.h: Likewise.
1529 * include/backward/map.h: Likewise.
1530 * include/backward/multimap.h: Likewise.
1531 * include/backward/multiset.h: Likewise.
1532 * include/backward/pair.h: Likewise.
1533 * include/backward/rope.h: Likewise.
1534 * include/backward/set.h: Likewise.
1535 * include/backward/slist.h: Likewise.
1536 * include/backward/stack.h: Likewise.
1537 * include/backward/strstream: Likewise.
1538 * include/backward/tempbuf.h: Likewise.
1539 * include/backward/tree.h: Likewise.
1540 * include/backward/vector.h: Likewise.
1541 * include/bits/basic_ios.h: Likewise.
1542 * include/bits/basic_ios.tcc: Likewise.
1543 * include/bits/basic_string.h: Likewise.
1544 * include/bits/c++config: Likewise.
1545 * include/bits/concept_checks.h: Likewise.
1546 * include/bits/fpos.h: Likewise.
1547 * include/bits/fstream.tcc: Likewise.
1548 * include/bits/functexcept.h: Likewise.
1549 * include/bits/ios_base.h: Likewise.
1550 * include/bits/istream.tcc: Likewise.
1551 * include/bits/mask_array.h: Likewise.
1552 * include/bits/ostream.tcc: Likewise.
1553 * include/bits/pthread_allocimpl.h: Likewise.
1554 * include/bits/sbuf_iter.h: Likewise.
1555 * include/bits/slice.h: Likewise.
1556 * include/bits/slice_array.h: Likewise.
1557 * include/bits/sstream.tcc: Likewise.
1558 * include/bits/std_bitset.h: Likewise.
1559 * include/bits/std_fstream.h: Likewise.
1560 * include/bits/std_iomanip.h: Likewise.
1561 * include/bits/std_ios.h: Likewise.
1562 * include/bits/std_istream.h: Likewise.
1563 * include/bits/std_iterator.h: Likewise.
1564 * include/bits/std_memory.h: Likewise.
1565 * include/bits/std_ostream.h: Likewise.
1566 * include/bits/std_sstream.h: Likewise.
1567 * include/bits/std_streambuf.h: Likewise.
1568 * include/bits/std_string.h: Likewise.
1569 * include/bits/std_valarray.h: Likewise.
1570 * include/bits/stl_algo.h: Likewise.
1571 * include/bits/stl_algobase.h: Likewise.
1572 * include/bits/stl_alloc.h: Likewise.
1573 * include/bits/stl_construct.h: Likewise.
1574 * include/bits/stl_deque.h: Likewise.
1575 * include/bits/stl_function.h: Likewise.
1576 * include/bits/stl_heap.h: Likewise.
1577 * include/bits/stl_iterator.h: Likewise.
1578 * include/bits/stl_iterator_base.h: Likewise.
1579 * include/bits/stl_list.h: Likewise.
1580 * include/bits/stl_map.h: Likewise.
1581 * include/bits/stl_multimap.h: Likewise.
1582 * include/bits/stl_multiset.h: Likewise.
1583 * include/bits/stl_numeric.h: Likewise.
1584 * include/bits/stl_pair.h: Likewise.
1585 * include/bits/stl_pthread_alloc.h: Likewise.
1586 * include/bits/stl_queue.h: Likewise.
1587 * include/bits/stl_raw_storage_iter.h: Likewise.
1588 * include/bits/stl_relops.h: Likewise.
1589 * include/bits/stl_set.h: Likewise.
1590 * include/bits/stl_stack.h: Likewise.
1591 * include/bits/stl_tempbuf.h: Likewise.
1592 * include/bits/stl_threads.h: Likewise.
1593 * include/bits/stl_tree.h: Likewise.
1594 * include/bits/stl_uninitialized.h: Likewise.
1595 * include/bits/stl_vector.h: Likewise.
1596 * include/bits/streambuf.tcc: Likewise.
1597 * include/bits/type_traits.h: Likewise.
1598 * include/bits/valarray_meta.h: Likewise.
1599 * include/ext/bvector: Likewise.
1600 * include/ext/hash_map: Likewise.
1601 * include/ext/hash_set: Likewise.
1602 * include/ext/ropeimpl.h: Likewise.
1603 * include/ext/slist: Likewise.
1604 * include/ext/stl_bvector.h: Likewise.
1605 * include/ext/stl_hash_fun.h: Likewise.
1606 * include/ext/stl_hashtable.h: Likewise.
1607 * include/ext/stl_rope.h: Likewise.
1608 * src/complex_io.cc: Likewise.
1609 * src/ios.cc: Likewise.
1610 * src/locale-inst.cc: Likewise.
1611 * src/locale.cc: Likewise.
1612 * src/localename.cc: Likewise.
1613 * src/misc-inst.cc: Likewise.
1614 * src/stdexcept.cc: Likewise.
1615 * src/stl-inst.cc: Likewise.
1616 * src/strstream.cc: Likewise.
1617 * src/valarray-inst.cc: Likewise.
1619 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1621 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1623 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1625 * include/bits/istream.tcc: change type of __extracted to __size_type
1627 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1629 * src/wstring-inst.cc: New file.
1630 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1631 (libinst_wstring_la_SOURCES): Remove.
1632 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1633 (sources): Add wstring-inst.cc
1634 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1637 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1639 * src/locale.cc: initialise __ret with zero
1640 * src/strstream.cc:cast gptr to int_type
1642 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1644 * docs/html/faq/index.html: Update broken links.
1645 * docs/html/faq/index.txt: Regenerated.
1647 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1650 * configure.target: Change irix* to irix6.5* in target_os table.
1652 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1655 * include/bits/c++config (__GLIBCPP__): Bump number in
1656 anticipation of 2.92.
1658 * include/bits/codecvt.h: Fix typo.
1659 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1661 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1662 instantiations for stdio model.
1664 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1666 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1667 and GLIBCPP_CXXFLAGS as unused variables.
1668 * configure.host: Likewise.
1669 * configure.target: Likewise.
1670 * aclocal.m4: Regenerated.
1671 * configure: Regenerated.
1672 * Makefile.in: Regenerated.
1673 * libio/Makefile.in: Regenerated.
1674 * libmath/Makefile.in: Regenerated.
1675 * libsupc++/Makefile.in: Regenerated.
1676 * src/Makefile.in: Regenerated.
1678 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1681 * include/bits/basic_file.h: Include basic_file_model.h.
1682 * config/c_io_libio.cc: Move to...
1683 * config/basic_file_libio.cc: Here.
1684 * config/basic_file_libio.h: New file.
1685 * config/c_io_stdio.cc: Move to...
1686 * config/basic_file_stdio.cc: Here.
1687 * config/basic_file_stdio.h: New file.
1688 * config/c_io_libio.h: Tweak.
1689 * config/c_io_stdio.h: Tweak.
1690 * src/Makefile.am (build_headers): Add basic_file_model.h.
1691 (sources): Add basic_file.cc, remove c++io.cc.
1692 * src/Makefile.in: Regenerate.
1693 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1694 basic_file_model.h and basic_file.cc.
1695 * aclocal.m4: Regenerate.
1696 * configure: Regenerate.
1697 * testsuite/27_io/filebuf.cc (test05): Add regression.
1699 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1702 * config/cpu/alpha/bits/atomicity.h: Change.
1703 * config/cpu/arm/bits/atomicit3y.h
1704 * config/cpu/generic/bits/atomicity.h
1705 * config/cpu/i386/bits/atomicity.h
1706 * config/cpu/i486/bits/atomicity.h
1707 * config/cpu/ia64/bits/atomicity.h
1708 * config/cpu/powerpc/bits/atomicity.h
1709 * config/cpu/sparc/sparc32/bits/atomicity.h
1710 * config/cpu/sparc/sparc64/bits/atomicity.h
1711 * config/os/aix/bits/atomicity.h
1712 * config/os/irix/bits/atomicity.h
1714 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1716 * include/bits/std_stdexcept.h (runtime_error): Make string
1718 (logic_error): Same.
1719 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1722 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1726 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1727 string object, not reference.
1728 (runtime_error::runtime_error): Same.
1729 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1731 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1733 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1734 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1735 diagnostics. Remove WFMT_FLAGS.
1736 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1737 * libsupc++/Makefile.am: Likewise.
1738 * src/Makefile.am: Likewise.
1739 * aclocal.m4: Regenerated.
1740 * configure: Regenerated.
1741 * Makefile.in: Regenerated.
1742 * libio/Makefile.in: Regenerated.
1743 * libmath/Makefile.in: Regenerated.
1744 * libsupc++/Makefile.in: Regenerated.
1745 * src/Makefile.in: Regenerated.
1747 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1749 Fixes libstdc++/2079
1750 * include/backward/iomanip.h: Expose <ios> manipulators to global
1752 * include/backward/iostream.h: Also expose std::ws.
1754 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1756 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1758 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1760 * include/bits/codecvt.h: Use __builtin_alloca.
1761 * include/bits/ostream.tcc: Same.
1762 * include/bits/fstream.tcc: Same.
1764 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1766 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1768 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1770 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1772 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1775 * include/backward/iostream.h: Expose std::flush in old headers.
1777 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1779 * mknumeric_limits: Remove special-casing on target. Use gcc
1780 instead of g++ to build gen-num-limits.cc
1782 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1784 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1786 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1788 * include/bits/ostream.tcc: Same.
1789 * include/bits/std_ostream.h: Same.
1790 * include/bits/fstream.tcc: Same.
1791 * include/bits/locale_facets.tcc: Add typename.
1792 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1794 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1796 * tests_flags.in: Remove -n flag from call to echo.
1798 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1800 * config/c_locale_gnu.h: Add clocale include.
1802 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1804 * include/bits/stl_config.h: Remove file.
1805 * src/Makefile.am (base_headers): Remove from list.
1806 * configure: Regenerate.
1807 * Makefile.in: Ditto.
1808 * libio/Makefile.in: Ditto.
1809 * libmath/Makefile.in: Ditto.
1810 * libsupc++/Makefile.in: Ditto.
1811 * src/Makefile.in: Ditto.
1813 * include/bits/c++config: Move relevant macros to here.
1814 * include/backward/alloc.h: Include c++config.h instead.
1815 * include/backward/function.h: Ditto.
1816 * include/backward/heap.h: Ditto.
1817 * include/backward/pair.h: Ditto.
1818 * include/bits/pthread_allocimpl.h: Ditto.
1819 * include/bits/std_functional.h: Ditto.
1820 * include/bits/std_iterator.h: Ditto.
1821 * include/bits/std_numeric.h: Ditto.
1822 * include/bits/std_utility.h: Ditto.
1823 * include/bits/stl_algobase.h: Ditto.
1824 * include/bits/type_traits.h: Ditto.
1825 * src/stl-inst.cc: Ditto.
1827 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1829 * include/bits/basic_file.h: Add #pragma system_header
1830 * include/bits/basic_ios.h: Ditto.
1831 * include/bits/basic_string.h: Ditto.
1832 * include/bits/char_traits.h: Ditto.
1833 * include/bits/codecvt.h: Ditto.
1834 * include/bits/cpp_type_traits.h: Ditto.
1835 * include/bits/fpos.h: Ditto.
1836 * include/bits/gslice.h: Ditto.
1837 * include/bits/gslice_array.h: Ditto.
1838 * include/bits/indirect_array.h: Ditto.
1839 * include/bits/ios_base.h: Ditto.
1840 * include/bits/limits_generic.h: Ditto.
1841 * include/bits/locale_facets.h: Ditto.
1842 * include/bits/localefwd.h: Ditto.
1843 * include/bits/mask_array.h: Ditto.
1844 * include/bits/sbuf_iter.h: Ditto.
1845 * include/bits/sequence_concepts.h: Ditto.
1846 * include/bits/slice.h: Ditto.
1847 * include/bits/slice_array.h: Ditto.
1848 * include/bits/std_algorithm.h: Likewise.
1849 * include/bits/std_bitset.h: Likewise.
1850 * include/bits/std_complex.h: Likewise.
1851 * include/bits/std_deque.h: Likewise.
1852 * include/bits/std_fstream.h: Likewise.
1853 * include/bits/std_functional.h: Likewise.
1854 * include/bits/std_iomanip.h: Likewise.
1855 * include/bits/std_ios.h: Likewise.
1856 * include/bits/std_iosfwd.h: Likewise.
1857 * include/bits/std_iostream.h: Likewise.
1858 * include/bits/std_istream.h: Likewise.
1859 * include/bits/std_iterator.h: Likewise.
1860 * include/bits/std_list.h: Likewise.
1861 * include/bits/std_locale.h: Likewise.
1862 * include/bits/std_map.h: Likewise.
1863 * include/bits/std_memory.h: Likewise.
1864 * include/bits/std_numeric.h: Likewise.
1865 * include/bits/std_ostream.h: Likewise.
1866 * include/bits/std_queue.h: Likewise.
1867 * include/bits/std_set.h: Likewise.
1868 * include/bits/std_sstream.h: Likewise.
1869 * include/bits/std_stack.h: Likewise.
1870 * include/bits/std_stdexcept.h: Likewise.
1871 * include/bits/std_streambuf.h: Likewise.
1872 * include/bits/std_string.h: Likewise.
1873 * include/bits/std_utility.h: Likewise.
1874 * include/bits/std_valarray.h: Likewise.
1875 * include/bits/std_vector.h: Likewise.
1876 * include/bits/stringfwd.h: Likewise.
1877 * include/bits/type_traits.h: Likewise.
1878 * include/bits/valarray_array.h: Likewise.
1879 * include/bits/valarray_meta.h: Likewise.
1881 2001-02-19 Andreas Jaeger <aj@suse.de>
1883 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1886 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1889 * include/bits/std_ostream.h: Replaced usage of
1890 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1891 * include/bits/char_traits.h: Removed non-standard
1892 methods that cannot be used elsewhere.
1895 * include/bits/basic_ios.h: Uncommented #include of
1899 * include/bits/codecvt.h: See next...
1900 * include/bits/fstream.tcc: See next...
1901 * include/bits/ostream.tcc: Add __extension__
1902 to variable-length arrays.
1905 * include/bits/localefwd.h: Changed int counter type to size_t.
1908 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1910 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1912 * testsuite/21_strings/char_traits.cc: Move to ...
1913 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1914 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1915 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1917 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1919 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1922 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1924 * include/bits/c++config: Revert.
1926 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1928 * include/bits/istream.tcc: Use ios_base::iostate in place of
1929 iostate throughout. Insert `typename' keyword where necessary.
1930 * include/bits/ostream.tcc: Insert `typename' keyword where
1933 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1935 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1936 Define so library is compliant.
1938 2001-02-15 Anthony Green <green@redhat.com>
1940 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1942 * aclocal.m4: Regenerate.
1943 * configure: Regenerate.
1945 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1947 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1948 Include ieeefp.h for fpclass on UnixWare{2,7}.
1949 * aclocal.m4: Regenerate.
1950 * configure: Regenerate.
1951 * mkcheck.in (size_command): Do without GNU-grep when using
1954 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1956 Remove old ABI support from libsupc++.
1957 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1958 * libsupc++/exception_support.cc: Likewise.
1959 * libsupc++/pure.cc: Likewise.
1960 * libsupc++/tinfo.cc: Likewise.
1961 * libsupc++/tinfo.h: Likewise.
1962 * libsupc++/tinfo2.cc: Likewise.
1963 * libsupc++/typeinfo: Likewise.
1964 * libsupc++/vec.cc: Likewise.
1966 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1968 Add support for -fno-exceptions.
1969 * include/bits/exception_support.h: Remove.
1970 * include/bits/basic_string.h: Remove exception_support.
1971 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1973 (string::substr): Same.
1974 * include/bits/basic_string.tcc (string::reserve): Replace
1975 __LENGTHERROR with __throw_length_error.
1976 (string::_S_create): Same.
1977 (string::resize): Same.
1978 (string::_M_replace): Same.
1979 (string::replace): Same.
1980 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1981 (string::compare): Same.
1982 * include/bits/stl_vector.h: Remove exception_support.
1983 * src/Makefile.am (base_headers): Remove here.
1984 * src/Makefile.in: Regenerate.
1986 * include/bits/stl_range_errors.h: Remove.
1987 * include/bits/stl_deque.h: Use __throw_range_error.
1988 * include/bits/std_deque.h: Include functexcept.h.
1989 * include/bits/std_vector.h: Same.
1990 * src/Makefile.am (base_headers): Remove here.
1991 * src/Makefile.in: Regenerate.
1992 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1993 * include/ext/bvector: Remove stl_range_errors.h
1995 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1997 * include/bits/functexcept.h: New file.
1998 * src/functexcept.cc: New file. Definitions for function-based
2000 * src/Makefile.am (sources): Add functexcept.cc.
2001 * src/Makefile.in: Regenerate.
2003 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2006 * include/bits/localefwd.h: Include functexcept.h.
2007 * include/bits/std_iosfwd.h: Same.
2009 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2010 throw basic_ios::failure.
2011 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2012 Use __throw_exception_again.
2013 (filebuf::_M_filebuf_init): Same.
2014 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2015 * include/bits/ostream.tcc (ostream::operator<<): Same.
2016 * include/bits/istream.tcc (istream::operator>>): Same.
2017 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2018 (string::_S_construct): Same.
2019 (string::_M_clone): Same.
2020 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2022 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2023 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2024 __throw_exception_again.
2025 (locale::_Imp::_Imp(string, size_t): Same.
2026 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2027 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2028 (locale::locale(const char*)): Use __throw_runtime_error.
2029 (locale::classic): Use __throw_exception_again.
2030 (locale::_S_normalize_category): Use __throw_runtime_error.
2032 * src/stdexcept.cc: Remove cruft.
2034 * libsupc++/exception_defines.h: New file.
2035 * libsupc++/new_opnt.cc: Include exception_defines.h.
2036 * libsupc++/vec.cc: Same.
2037 (__cxa_vec_new2): Use __throw_exception_again.
2038 (__cxa_vec_new3): Same.
2039 (__cxa_vec_ctor): Same.
2040 (__cxa_vec_delete3): Same.
2041 (__cxa_vec_cctor): Same.
2042 (__cxa_vec_delete2): Same.
2043 (__cxa_vec_dtor): Same.
2044 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2045 compile exception-handling bits if __EXCEPTIONS is defined.
2046 Remove old ABI support.
2047 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2048 std::__throw_bad_alloc() instead of throw bad_alloc.
2049 * libsupc++/Makefile.am: Add exception_defines.h.
2050 * libsupc++/Makefile.in: Reformat.
2051 * libsupc++/*: Format.
2053 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2055 * docs/html/configopts.html: Minor updates and typo fixes.
2056 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2057 * docs/html/faq/index.txt: Regenerated.
2059 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2061 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2062 dejagnu/dg.exp. Adapt to log options used to run testcases.
2064 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2066 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2069 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2070 Phil Edwards <pme@sources.redhat.com>
2072 * include/backward/function.h: Do not use rel_ops for older
2074 * include/backward/pair.h: Likewise.
2076 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2078 * src/locale.cc: Remove bogus locale::id definitions.
2080 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2082 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2083 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2085 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2086 thinko in member initialisation.
2088 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2090 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2091 comparaison between signed and unsigned integer types.
2092 (valarray<>::cshift): Reformat.
2094 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2096 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2097 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2098 * configure.in: Test for sigsetjmp.
2099 * configure, config.h.in: Rebuilt.
2101 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2103 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2104 lengths and strides.
2105 (__gslice_to_index): Document.
2107 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2109 * include/bits/char_traits.h char_traits<char>::int_type: Change
2110 to `int' to match 21.1.3.1/2.
2112 * testsuite/21_strings/char_traits-int_type.C: New test.
2114 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2116 * testsuite/Makefile.am: New file.
2118 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2120 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2122 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2124 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2126 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2128 * configure.target (aix4*): Remove extra set of brackets.
2130 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2133 * include/bits/stringfwd.h: New file.
2134 * include/bits/stl_string_fwd.h: Remove.
2135 * include/bits/localefwd.h: Remove declaration for allocator.
2136 * include/bits/std_iosfwd: Same.
2137 * include/bits/std_string.h: Include it.
2138 * include/bits/std_ios.h: Remove include.
2139 * include/bits/basic_string.h: Tweak.
2140 * libsupc++/new: Format.
2141 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2143 * src/Makefile.in: Regenerate.
2144 * include/bits/std_stdexcept.h: Rewrite.
2145 * src/stdexcept.cc: Same.
2147 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2149 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2150 install locations too.
2151 * aclocal.m4: Regenerate.
2152 * configure.in: Remove USE_LIBDIR.
2153 * configure: Regenerate.
2154 * src/Makefile.am (toolexecdir): Simplify, use
2155 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2156 * src/Makefile.in: Regenerate.
2157 * libsupc++/Makefile.am: Same.
2158 * libsupc++/Makefile.in: Regenerate.
2160 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2161 misc-inst.cc as no longer necessary.
2163 Follow C++STYLE for naming non-static functions.
2164 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2166 * include/bits/streambuf.tcc: Same.
2167 * include/bits/ostream.tcc: Same.
2168 * include/bits/istream.tcc: Same.
2169 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2170 (_S_output_float): To __output_float.
2171 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2173 * include/bits/locale_facets.tcc (_S_build_float_format): To
2174 __build_float_format.
2175 (_S_format): To __output_integer.
2176 (_S_fill): To __pad.
2177 * src/locale.cc: Same.
2178 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2180 * include/bits/locale_facets.tcc (_S_group_digits): To
2182 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2183 for collate, numpunct.
2185 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2187 * docs/html/configopts.html: Fix HTML markup.
2188 * docs/html/install.html: Bring up to date.
2189 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2190 * docs/html/21_strings/howto.html: More notes.
2191 * docs/html/22_locale/howto.html: Fix HTML markup.
2192 * docs/html/27_io/howto.html: More notes.
2193 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2194 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2196 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2198 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2199 to match header files.
2200 (_S_output_float): Likewise.
2201 (_S_copy_streambufs): Likewise.
2203 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2204 Phil Edwards <pme@sources.redhat.com>
2206 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2207 use reinterpret_cast, not static_cast.
2209 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2211 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2212 * aclocal.m4: Regenerate.
2213 * configure: Regenerate.
2215 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2217 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2218 * libsupc++/pure.cc: Revert.
2220 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2222 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2223 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2224 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2225 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2226 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2227 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2228 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2229 * aclocal.m4: Regenerate.
2230 * configure: Regenerate.
2232 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2234 * include/bits/locale_facets.tcc: Remove `static' keyword on
2235 function definitions.
2236 * include/bits/std_streambuf.h: Likewise.
2237 * src/Makefile.am: Remove use of -fimplicit-templates.
2238 * src/Makefile.in: Regenerated.
2239 * src/locale-inst.cc: Explicitly instantiate more functions.
2240 * src/misc-inst.cc: Likewise.
2241 * src/string-inst.cc: Likewise.
2243 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2245 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2246 macro. Consolidate all the bits to do with where includes might be
2248 * aclocal.m4: Regenerate.
2249 * configure.in: Use it.
2250 * configure: Regenerate.
2251 * src/Makefile.am (targetincludep): Use simplified rules.
2252 (targetincludep): Rename gxx_target_include_dir.
2253 (myincludep): Rename gxx_include_dir.
2254 * src/Makefile.in: Regenerate.
2255 * libsupc++/Makefile.am: Use simplified rules.
2256 * libsupc++/Makefile.in: Regenerate.
2258 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2260 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2261 * include/c_std/bits/std_cctype.h: Same.
2262 * include/c_std/bits/std_cassert.h: Same.
2263 * include/c_std/bits/std_cstdarg.h: Same.
2264 * include/c_std/bits/std_cstddef.h: Same.
2266 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2268 * include/c_std/bits/std_ctime.h: Same.
2269 * include/c_std/bits/std_clocale.h: Same.
2270 * include/c_std/bits/std_cmath.h: Same.
2271 * include/c_std/bits/std_csetjmp.h: Same.
2272 * include/c_std/bits/std_csignal.h: Same.
2273 * include/c_std/bits/std_cstring.h: Same.
2274 * include/c_std/bits/std_cstdlib.h: Same.
2275 * include/c_std/bits/std_cwchar.h: Same.
2277 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2279 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2281 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2283 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2284 (string::_S_construct): Likewise.
2286 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2288 * testsuite/config/default.exp: New file.
2289 * testsuite/config: New directory.
2291 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2293 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2294 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2295 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2296 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2298 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2299 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2301 * Makefile.am (mkinstalldirs): Set.
2302 * src/Makefile.am (mkinstalldirs): Set.
2303 * libmath/Makefile.am (mkinstalldirs): Set.
2304 * libsup++/Makefile.am (mkinstalldirs): Set.
2305 * libio/Makefile.am (mkinstalldirs): Set.
2306 * */Makefile.in: Regenerate.
2308 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2310 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2311 * include/bits/localefwd.h: More initialization cleanups.
2313 2001-02-03 Jeffrey A Law <law@cygnus.com>
2315 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2316 correctly targets with 16bit ints.
2317 (_S_ios_openmode_end): Similarly.
2318 (_S_ios_iostate_end): Similarly.
2319 (_S_ios_Seekdir_end): Similarly.
2321 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2323 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2325 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2327 * configure.in (toplevel_srcdir, auxdir): Set.
2328 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2329 * aclocal.m4, configure, Makefile.in: Rebuilt.
2330 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2331 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2332 * libsupc++-v3/Makefile.in: Rebuilt.
2333 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2334 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2336 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2338 * config/c_locale_generic.cc: Remove langinfo include.
2340 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2342 Preliminary named locales.
2343 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2344 * aclocal.m4: Regenerate.
2345 * configure.in: Use it.
2346 * configure: Regerate.
2347 * src/Makefile.am (sources): Add c++locale.cc.
2348 (build_headers): Add c++locale.h.
2349 * src/Makefile.in: Regenerate.
2350 * config/c_locale_gnu.h: New file.
2351 * config/c_locale_gnu.cc: New file. Non-inline member functions
2352 for named locales, gnu-specific.
2353 * config/c_locale_generic.h: New file.
2354 * config/c_locale_generic.cc: New file. Non-inline member
2355 functions for named locales, generic version.
2356 * docs/html/configopts.html: Add documentation on new options.
2358 * include/bits/locale_facets.h (class _Messages): Remove.
2359 (class _Moneypunct): Remove.
2360 * src/locale-inst.cc: Remove.
2362 * include/bits/locale_facets.h (class _Collate): Remove.
2363 * src/locale-inst.cc (std): Remove.
2364 * src/locale.cc: And here.
2366 * include/bits/localefwd.h (locale::_M_coalesce): New
2367 function. Correctly put together multi-name locales.
2368 (_Impl(const _Impl&, category, size_t)): Remove.
2370 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2372 (_M_normalize_category_names): Remove.
2373 (_M_replace_categories): Fix.
2375 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2376 (locale::_Impl::_M_construct_ctype): Remove.
2377 (locale::_Impl::_M_construct_monetary): Remove.
2378 (locale::_Impl::_M_construct_numeric): Remove.
2379 (locale::_Impl::_M_construct_time): Remove.
2380 (locale::_Impl::_M_construct_messages): Remove.
2382 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2383 (_Use_facet_failure_handle): Remove.
2384 * src/locale.cc: Remove definitions.
2385 * src/locale-inst.cc: And here.
2387 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2389 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2390 create and error-check underlying locale object.
2391 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2392 tearing down underlying locale object.
2393 * include/bits/localefwd.h (locale::facet): Declare.
2394 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2395 correctness, as glibc apparently has incorrect info in it. Test
2396 with it when it works again.....
2398 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2399 Remove. Number of categories is fixed at six, so just simplify and
2400 make this an array of strings.
2401 (locale::_Impl::_M_has_name): Remove.
2402 (locale::_Impl::_M_name): Remove.
2403 (locale::_Impl::_M_category_names): Turns into...
2404 (locale::_Impl::_M_names): ...this.
2405 (locale::_Impl::_M_has_same_name()): New function.
2406 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2407 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2409 * src/locale.cc (locale::name()): Construct mangled name
2410 accurately reflecting combined locale categories.
2412 * src/locale.cc (locale::classic()): Don't initialize here.
2413 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2414 __refs, bool __has_name, string __str): Do it here.
2416 * include/bits/localefwd.h: _S_categories_num to
2417 _S_num_categories. _S_facets_num to _S_num_facets.
2418 (locale::id::id()): Explicitly set _M_index to zero.
2419 * src/locale.cc: Same.
2421 * src/locale.cc: (locale::locale(const char*)): Construct named
2424 * src/locale.cc: Remove numpunct_byname ctors.
2425 * testsuite/22_locale/numpunct_byname.cc: New file.
2426 * testsuite/22_locale/numpunct.cc: New file.
2428 * include/bits/localefwd.h (class locale): Change data members to
2429 protected, from private.
2430 (_Impl::_M_get_c_locale): Add member function.
2431 (locale::facet::_M_get_global_impl()): Add member function.
2432 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2433 a __c_locale pointer.
2434 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2436 * testsuite/22_locale/members.cc: New file, test name and combine.
2438 * include/bits/locale_facets.h (class numpunct): Remove class
2439 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2441 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2442 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2443 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2444 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2445 * testsuite/22_locale/numpunct_char_members.cc: New file.
2447 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2449 * testsuite/README: Add more comment.
2450 * testsuite/lib/libstdc++.exp: Tweak comment.
2452 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2454 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2456 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2458 * testsuite/21_strings/inserters_extractors.cc: Remove
2459 explicit reference to 'testsuite/'.
2461 2001-01-25 Richard Henderson <rth@redhat.com>
2463 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2464 bits. Fixes Tru64 build issues.
2466 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2468 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2469 (use ${MAKE-make}, not ${MAKE:-make}).
2470 * aclocal.m4, configure: Regenerate.
2472 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2474 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2477 * src/Makefile.am (sources): Add globals.cc.
2478 * src/Makefile.in: Regenerated.
2479 * src/globals.cc: New file.
2480 * src/ios.cc (cin): Don't define here, just declare extern.
2489 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2491 * include/bits/std_iterator.h: Do not include stl_relops.h.
2492 * include/bits/std_numeric.h: Ditto.
2493 * include/bits/stl_algobase.h: Ditto.
2494 * include/bits/stl_relops.h: Add comment warning about problems.
2496 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2498 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2499 in testcases. Prepare for the DejaGnu based framework.
2500 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2501 directory -- it is now mkcheck working directory.
2502 * tests_flags.in: Remove reference to $(top_srcdir). Use
2504 * Makefile.am (check, check-install): Change mkcheck invocation
2506 * Makefile.in: Regenerate.
2508 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2510 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2511 (__always_swap): Likewise.
2513 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2515 * libsupc++/exception_support.cc (__terminate_func): Remove
2517 (__terminate_func_ptr): New typedef.
2518 (__terminate, __terminate_set_func): New extern function
2520 (std::terminate): Use __terminate function.
2521 (std::set_terminate): Use __terminate_set_func function.
2523 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2525 * configure.target: Just use os_include_dir always.
2526 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2527 Link atomicity files and ctype files here.
2528 * configure: Regenerate.
2529 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2530 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2531 * aclocal.m4: Regenerate.
2533 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2535 * configure.in: Place definition of MULTISUBDIR in
2536 libsupc++/Makefile as is done for src/Makefile.
2537 * configure: Regenerate.
2539 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2541 * acinclude.m4: Cosmetic changes only.
2542 * aclocal.m4: Regenerated.
2543 * configure: Regenerated.
2544 * configure.target: Update documented list of changed variables.
2545 * docs/html/install.html: Fix typo.
2546 * docs/html/20_util/howto.html: More notes on auto_ptr.
2547 * docs/html/27_io/howto.html: More notes on streabufs.
2548 * docs/html/faq/index.html: Add rel_ops problem and mention the
2549 DEC as(1) .subsection difficulty.
2550 * docs/html/faq/index.txt: Regenerated.
2552 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2554 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2555 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2556 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2557 its already provided in config.target.
2558 * aclocal.m4: Regenerated.
2559 * configure: Likewise.
2560 * configure.target: Set ctype_include_dir for lots of systems.
2561 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2562 * libsupc++/Makefile.in: Regenerated.
2564 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2566 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2569 * testsuite/README: Add comment.
2571 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2573 * docs/html/configopts.html: Update for current status. Fix HTML.
2574 * docs/html/install.html: Update for current status.
2576 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2578 * testsuite/libstdc++.tests/tests.exp: New file.
2579 * testsuite/lib/libstdc++.exp: Itou.
2580 * testsuite/README: Itou.
2582 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2584 * tests_flags.in: Just output the bare minimum to run tests.
2585 Let's the caller do its own arrangement.
2587 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2590 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2592 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2595 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2597 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2599 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2601 * mkcheck.in: Construct file names that match $objdir structure.
2602 * testsuite/27_io/filebuf_members-1.txt: New file.
2603 * testsuite/27_io/ifstream_members-1.txt: New file.
2604 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2606 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2607 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2609 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2611 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2613 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2616 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2617 * src/ios.cc (ios_base::failure): Make definitions match.
2618 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2619 (class bad_cast): Same.
2620 * libsupc++/exception (class exception): Add throw specs.
2621 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2622 (set_unexpected): Same.
2623 (uncaught_exception): Same.
2626 * docs/html/17_intro/C++STYLE (classname): Fix.
2628 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2630 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2631 Use it do explicitly instantiate predicate<T> and value<T> for
2634 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2636 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2637 uninitialized thinko in last change.
2639 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2641 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2644 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2646 * docs/html/17_intro/C++STYLE (classname): Add more existing
2647 and stylish patterns.
2650 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2651 failbit if the state of the stream is not good.
2652 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2653 * testsuite/27_io/istream_manip.cc (test01): Modify.
2656 reported by Paolo Carlini <pcarlini@unitus.it>
2657 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2658 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2661 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2662 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2663 (xsgetn): Same. Simplify.
2664 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2666 reported by Larry Evans <jcampbell3@prodigy.net>
2667 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2668 equality with eof on returned value from overflow.
2670 2001-01-14 Andreas Jaeger <aj@suse.de>
2672 * libio/libio.h: Add test for glibc 2.0.
2674 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2676 * config/os/djgpp/bits/*: Fix dates.
2678 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2679 _CharT* __end, _CharT __c): Remove.
2680 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2681 * include/bits/char_traits.h: Tweak.
2683 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2685 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2686 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2688 * aclocal.m4: regenerated.
2689 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2690 * configure: regenerated.
2691 * config/os/djgpp, config/os/djgpp/bits: new directories.
2692 * config/os/djgpp/bits/ctype_base.h,
2693 config/os/djgpp/bits/ctype_inline.h,
2694 config/os/djgpp/bits/ctype_noninline.h,
2695 config/os/djgpp/bits/os_defines.h: new files.
2697 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2699 * include/c_std/bits/std_cstdio.h: Undef printf.
2701 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2703 * src/ios.cc: Fix typo: change cout->wcout.
2705 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2706 * src/Makefile.in: Regenerate.
2708 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2710 * include/bits/std_complex.h: Fix a typo.
2712 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2715 Fixes for libstdc++/1576
2716 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2717 file, move contents into....
2718 * src/ios.cc: ...Here. Put defines for iostreams objects and
2719 initialization routines into one file to simplify DSO interaction.
2720 * include/bits/std_iostream.h: Touch.
2721 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2722 * src/Makefile.am (sources): Remove stdstreams.cc.
2723 * src/Makefile.in: Regenerate.
2725 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2727 * tests_flags.in (check_directory): Fix typo.
2729 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2731 * include/bits/std_complex.h: Fix a typo.
2733 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2735 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2736 code path:) Remove magic constants and restructure to handle
2737 ctype.h bit mask layout changes more gracefully. (Make fast
2738 code path:) Use __maskrune (), if available.
2739 (is): Remove special case for digit and xdigit masks.
2741 2001-01-09 Robert Lipe <robertlipe@usa.net>
2743 * include/c_std/bits/std_ctime.h: Undefine difftime.
2745 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2747 * src/gen-num-limits.cc (signal_adapter): New template function.
2748 (signal_handler): Use it, instead of signal.
2749 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2750 require both tests to trap to set trap_flag.
2752 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2754 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2755 initialize mbstate_t member, name offset data members *off, not pos.
2756 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2758 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2760 reported by Chris G. Demetriou <cgd@sibyte.com>
2761 * configure.in: Change -linux-* to -linux*.
2762 * configure: Regenerate.
2764 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2766 Fix 27_io/filebuf_members.cc
2767 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2768 const string& __name, category __cat, size_t __refs): Set
2769 _M_has_name with _M_name.
2770 * include/bits/localefwd.h (locale::operator!=): Protect member
2771 function call with this->.
2772 * src/locale.cc (locale::operator==): Make fast checks first.
2773 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2775 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2777 * src/ios.cc (ios_base::Init::Init): Initialize here.
2778 (ios_base::sync_with_stdio): Set here.
2780 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2782 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2783 systems that support it, call dup() before fdopen().
2785 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2787 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2788 * testsuite/17_intro/header_cwctype.cc (main): New file.
2790 * src/Makefile.am (base_headers): Change.
2791 * include/bits/std_string.h: And here.
2792 * include/bits/string.tcc: Tweaks, move to...
2793 * include/bits/basic_string.tcc: ...Here.
2794 * src/string-inst.cc: Simplify, just instantiate the whole class,
2795 not member-by-member.
2797 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2799 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2800 * aclocal.m4: Regenerate.
2801 * configure: Regenerate.
2803 * include/bits/c++config (__GLIBCPP__): Bump version number.
2805 * ChangeLog: Start new log for year 2001
2806 * ChangeLog-2000: New file.
2808 * docs/html/configopts.html: Make sure default values are current,
2811 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2813 * include/c_std/bits/std_cwchar.h: Same.
2814 * testsuite/17_intro/header_cwchar.cc: Same.
2815 * include/c_std/bits/std_ctime.h: Same.
2816 * testsuite/17_intro/header_ctime.cc: Same.
2817 * include/c_std/bits/std_cstdlib.h: Same.
2818 Clean up undefs, make consistent with cwchar and cmath, etc.
2819 * testsuite/17_intro/header_cstdlib.cc: Same.
2820 * include/c_std/bits/std_cstdio.h: Same here.
2821 * testsuite/17_intro/header_cstring.cc: Same.
2822 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2823 * testsuite/17_intro/header_cstring.cc: New file. Check for
2824 size_t in namespace std.
2826 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2827 * acconfig.h (HAVE_MBSTATE_T): Add.
2828 * config.h.in: Regenerate.
2829 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2831 * aclocal.m4: Regenerate.
2832 * configure: Regenerate.
2833 * testsuite/17_intro/headers_c++.cc: New file.
2834 * testsuite/17_intro/headers_c.cc: Small changes.
2836 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2838 * tests_flags.in: Fix typo in usage.
2840 * tests_flags.in: Set target specific LIBS for cygwin.