1 2001-06-11 Matthias Klose <doko@debian.org>
2 Phil Edwards <pme@sources.redhat.com>
4 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
5 (main script): Echo more information.
7 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
9 * include/c_std/bits/std_cwchar.h: Alphabetize.
10 * include/bits/char_traits.h: Tweak.
11 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
12 everything used by std_cwchar.h.
13 * aclocal.m4: Regenerate.
14 * configure.in: Regenerate.
15 * config.h.in: Regenerate.
17 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
19 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
20 Add checking for strtof, _Exit in stdlib.h
21 * aclocal.m4: Regenerate.
22 * configure.in: Regenerate.
23 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
24 (snprintf): Put C99 functions into __gnu_cxx namespace.
29 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
30 for C99 functions within _GLIBCPP_USE_C99 guard.
34 * include/bits/locale_facets.tcc: Check if C99 is enabled.
35 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
37 * include/c_std/bits/cmath.tcc: Formatting tweak.
38 * include/c_std/bits/std_cmath.h: Same.
40 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
42 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
44 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
45 Stephen L Moshier <moshier@mediaone.net>
47 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
48 nothing, as in autoconf 2.50.
51 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
53 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
55 * include/c_std/bits/std_ctime.h: Same.
56 * include/c_std/bits/std_cstring.h: Same.
57 * include/c_std/bits/std_cstdlib.h: Same.
59 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
60 * include/c_std/bits/std_cctype.h: Remove isblank.
62 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
64 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
66 * aclocal.m4: Regenerate.
67 * configure: Regenerate.
68 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
69 injection, guard fgetwc, fgetws.
70 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
71 * include/c_std/bits/std_clocale.h: And here.
72 * include/c_std/bits/std_cctype.h: And here.
73 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
75 * config/basic_file_stdio.h: Don't include unistd.h.
76 * config/c_io_stdio.h: Don't use compatibility headers.
77 * libsupc++/eh_terminate.cc: Qualify abort.
78 (__terminate): And here.
79 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
81 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
83 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
85 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
90 * include/std/*: Add copyright notice.
91 * include/c_std/bits/*: Use using statements instead of extern "C".
92 * include/c_std/bits/std_cmath.h: Don't overload double versions
93 of math functions with __buitin versions, use global version to
94 prevent ambiguities. Remove define hacks.
95 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
96 functions that have changed signatures and std::
97 declarations. Remove define hacks.
98 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
99 __builtins in std::. Remove define hacks.
100 * testsuite/17_intro/headers_c.cc: Add tests.
101 * testsuite/17_intro/headers_c++.cc: Add test.
103 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
104 John David Anglin <dave@hiauly1.hia.nrc.ca>
106 * libsupc++/eh_alloc.cc: Ensure that required macros are
107 defined before including gthr.h. Ensure that we get the
108 version of gthr.h for which we know how to provide a
110 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
111 code path into line with the current EH model. Use std, where
114 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
115 John David Anglin <dave@hiauly1.hia.nrc.ca>
117 * config/threads-no.h: Remove file.
118 * config/threads-posix.h: Remove file.
120 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
121 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
122 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
123 * config.h.in: Regenerate.
125 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
126 setup and use gthr*.h files. In particular, make gthr.h files
127 namespace-clean in the staging area (they don't have to be for
129 * aclocal.m4: Regenerate.
130 * configure: Regenerate.
132 * src/Makefile.am (build_headers): Remove bits/c++threads.h
133 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
134 * src/Makefile.in: Regenerate.
136 * include/bits/c++config: Cleanup threading configuration macros.
137 In particular, define __STL_GTHREADS macro which controls...
138 * include/bits/stl_threads.h: ...a brand new gthr.h-based
141 * config/c_io_stdio.h: Include staged gthr.h instead of local
142 thread configuration file. Always use __gthread_mutex_t
143 instead of __mutext_type (or int).
144 * include/bits/std_fstream.h: Likewise.
146 * docs/html/17_intro/howto.html: Remove placeholder comment in
147 case this configuration patch didn't make it. Add advice that
148 section only applies if configured with --enable-threads.
149 * docs/html/23_containers/howto.html: Reword to make clear
150 that _PTHREADS is no longer required for any port to be
151 correctly using STL with threads. Add advice that section
152 only applies if configured with --enable-threads.
154 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
156 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
158 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
161 * include/bits/basic_ios.tcc: Formatting tweaks.
162 * include/bits/ios_base.h: Formatting tweaks.
163 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
164 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
165 * src/globals.cc: Allocate filebufs for standard streams here.
166 (buf_cout, buf_cin, buf_cerr): Like so.
167 (buf_wcout, buf_wcin, buf_wcerr): And so.
168 * testsuite/27_io/ios_init.cc: Add.
170 2001-06-04 Brendan Kehoe <brendan@zen.org>
171 Benjamin Kosnik <bkoz@redhat.com>
174 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
175 for generic ctype virtuals.
176 * src/locale.cc: Minor tweaks, naming consistency.
177 * testsuite/22_locale/ctype.cc: Add test.
179 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
180 Phil Edwards <pme@sources.redhat.com>
182 PR libstdc++/3035 and PR libstdc++/3036
183 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
184 to LWG DR 181 and 265.
186 2001-06-04 Phil Edwards <pme@sources.redhat.com>
189 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
190 equal_range): Add const overloads as per LWG DR 214.
191 * include/bits/stl_set.h: Likewise.
193 2001-06-04 Brendan Kehoe <brendan@zen.org>
194 Phil Edwards <pme@sources.redhat.com>
197 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
198 comparison; all positions must be < _Nb.
199 * testsuite/23_containers/bitset_members.cc: New file.
201 2001-06-04 Brendan Kehoe <brendan@zen.org>
204 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
205 ctors to match the standard.
207 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
209 * include/bits/char_traits.h (move): Reverse qualification of
211 (copy): Reverse qualification of memcpy with std::.
213 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
215 * include/bits/char_traits.h (move): Qualify memmove with std::.
216 (copy): Qualify memcpy with std::.
217 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
220 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
222 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
224 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
225 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
226 SUN make VPATH peculiarities.
227 * libsupc++/Makefile.in: Regenerate.
229 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
231 * src/Makefile.am (VPATH): Delimit with ":", not space.
232 * src/Makefile.in: Regenerate.
234 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
236 * configure: Regenerate.
238 2001-05-31 scott snyder <snyder@fnal.gov>
241 * include/bits/istream.tcc: Include std_ostream.h.
243 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
246 * src/bitset.cc: Qualify size_t with std::.
248 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
250 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
251 (_GLIBCPP_BUGGY_COMPLEX): Remove.
252 * config.h.in: Regenerate.
253 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
254 * aclocal.m4: Regenerate.
255 * configure.in: Don't call it.
256 * configure: Regenerate.
259 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
260 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
264 * include/bits/std_complex.h: Include sstream. Put definitions for
265 complex inserters and extractors here, and remove them from...
266 * src/complex_io.cc: ...here.
267 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
269 (basic_ios::__numget_type): Same.
270 * include/bits/std_istream.h: Same.
271 * include/bits/std_ostream.h: Same.
272 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
273 class iterator template arguments.
274 * src/locale-inst.cc: Add explicit has_facet instantiations.
275 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
276 (_M_get_fnumput): Remove.
277 (_M_get_fnumget): Remove.
278 (basic_ios::_M_check_facet): New function.
279 (basic_ios::_M_cache_facets): New function.
280 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
281 (basic_ios::imbue): Call _M_cache_facets.
282 (basic_ios::init): Same.
283 * include/bits/istream.tcc: Format, use _M_check_facet.
284 * include/bits/ostream.tcc: Same.
285 * include/bits/locale_facets.tcc (__output_float): Change
286 signature, add _Traits.
287 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
290 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
292 * include/bits/c++config (__USE_MALLOC): Do not define it.
293 Document why not and give pointers to more information.
295 * docs/html/23_containers/howto.html: Update documentation
296 to reflect recent understanding of problem.
297 * docs/html/17_intro/howto.html: Likewise.
299 2001-05-30 Phil Edwards <pme@sources.redhat.com>
301 * docs/doxygen/user.cfg.in: Minor addition.
302 * docs/html/documentation.html: Reorganize. Put most-looked-at
304 * docs/html/install.html: Update for 3.0. HTML fixups.
305 * docs/html/17_intro/howto.html: Likewise.
306 * docs/html/18_support/howto.html: Likewise.
307 * docs/html/19_diagnostics/howto.html: Likewise.
308 * docs/html/20_util/howto.html: Likewise.
309 * docs/html/23_containers/howto.html: Likewise.
310 * docs/html/24_iterators/howto.html: Likewise. More notes.
311 * docs/html/25_algorithms/howto.html: Likewise.
312 * docs/html/26_numerics/howto.html: Likewise. More notes.
313 * docs/html/27_io/howto.html: Likewise.
314 * docs/html/ext/howto.html: Likewise.
315 * docs/html/faq/index.html: Likewise.
316 * docs/html/faq/index.txt: Regenerate.
317 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
318 Doxygen-created documentation.
320 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
322 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
323 get_multilibs to find gcc.
325 2001-05-30 Phil Edwards <pme@sources.redhat.com>
327 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
328 * aclocal.m4: Regenerate.
329 * configure: Regenerate.
331 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
333 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
334 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
336 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
338 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
339 * include/c_std/bits/std_cstdlib.h: Same.
340 * include/c_std/bits/std_cwchar.h: Same.
342 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
344 * docs/html/17_intro/howto.html: Update link.
345 * docs/html/23_containers/howto.html: Likewise. Add new link.
347 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
349 * include/c_std/bits/std_cmath.h (sqrt): #undef.
351 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
353 * mknumeric_limits: Stop if gen-num-limits dies.
355 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
358 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
359 * aclocal.m4: Regenerate.
362 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
363 Phil Edwards <pme@sources.redhat.com>
364 Alexandre Oliva <aoliva@redhat.com>
366 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
367 in an amd-safe manner. Revert glibcpp_prefixdir.
369 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
371 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
372 fabs, sin, sqrt. They are now implemented in terms of __builtin_
375 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
378 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
379 * include/bits/ostream.tcc: Format to match istream.tcc.
380 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
382 2001-05-24 Phil Edwards <pme@sources.redhat.com>
384 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
386 (__cxa_free_exception): Likewise with free.
388 2001-05-24 Mark Mitchell <mark@codesourcery.com>
390 * include/c_std/bin/std_cstring.h: #define away all global
391 functions we will redeclare in namespace `std'.
392 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
393 std::memset, instead of memset.
394 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
396 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
399 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
402 * include/bits/basic_ios.tcc: Small tweak.
403 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
404 ctors and dtors, and rdbuf settings.
407 * include/bits/std_sstream.h: Same, but for stringstream classes.
408 * testsuite/27_io/ostringstream_members.cc: New.
409 * testsuite/27_io/stringstream_members.cc: New.
410 * testsuite/27_io/fstream_members.cc: New.
411 * testsuite/27_io/ifstream_members.cc: Add test.
412 * testsuite/27_io/istringstream_members.cc: Add test.
413 * testsuite/27_io/ofstream_members.cc: Add test.
415 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
417 * include/bits/c++config(__NO_MATH_INLINES): Move to...
418 * config/os/gnu-linux/bits/os_defines.h: ...here.
420 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
422 * include/bits/c++config (__NO_MATH_INLINES): New macro.
423 * testsuite/26_numerics/fabs_inline.cc (main): New test.
425 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
428 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
430 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
431 (libstdc++-v3-finish): Remove.
432 (libstdc++-v3_exit): Remove.
434 2001-05-22 Phil Edwards <pme@sources.redhat.com>
436 * docs/html/documentation.html: Point to doxygen output.
438 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
440 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
442 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
443 arguments to be non-null.
444 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
445 try allocations if allocated size is greater than zero.
446 (filebuf::_M_filebuf_init): Change to
447 (filebuf::_M_allocate_file): Which is what it does now.
448 (filebuf::_M_allocate_bufers): Change to
449 (filebuf::_M_allocate_internal_buffer): This, and create
450 (filebuf::_M_allocate_pback_buffer): New.
451 (filebuf::_M_destroy_internal_buffer): New.
452 (filebuf::_M_buf_allocated): New data member.
453 (filebuf::setbuf): Use new logic, allow use of external buffer.
454 * testsuite/27_io/stringbuf_virtuals.cc: New file.
455 * testsuite/27_io/filebuf_virtuals.cc: New file.
457 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
459 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
461 (strchr): Same, but to __glibcpp_strchr.
465 * include/c_std/bits/std_cwchar.h (wcschr): Same.
471 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
473 * testsuite/21_strings/c_strings.cc (main): Fix.
475 2001-05-19 Phil Edwards <pme@sources.redhat.com>
477 * acinclude.m4: Fix --help spacing, correct comments.
478 * aclocal.m4: Regenerate.
479 * configure: Regenerate.
480 * mkcheck.in: Add usage comments.
481 * docs/html/documentation.html: Point to doxygen'd tarball.
483 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
485 * testsuite/README: Add notes.
487 * src/Makefile.am (libstdc++.INC): Remove.
488 * src/Makefile.in: Regenerate.
490 Phil Edwards <pedwards@disaster.jaj.com>
491 * mkcheck.in: Add missing '#'.
493 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
495 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
496 appropriately for remote testing and testing installed files without
499 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
501 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
502 amd glibcpp_prefixdir with absolute paths.
504 * include/bits/c++config (__GLIBCPP__): Bump.
505 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
507 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
509 * include/bits/std_valarray.h (valarray<>::operator[] const):
510 Return a const reference.
511 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
513 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
515 * configure.target (ATOMICITYH): Actually use AIX-specific code on
516 earlier versions of AIX 4.*.
518 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
520 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
521 output_file based on the name of the testcase.
523 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
525 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
526 gluefile and use it if needs_status_wrapper is set.
528 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
530 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
533 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
535 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
536 on earlier versions of AIX.
538 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
540 * testsuite_flags.in (query): Add backwards, ext directories.
542 2001-05-15 Mark Mitchell <mark@codesourcery.com>
544 * porting.texi: Correct documentation about handling
545 _LARRGEFILE_SOURCE and its ilk.
546 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
547 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
549 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
550 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
552 2001-05-15 Zack Weinberg <zackw@stanford.edu>
554 * testsuite/21_strings/inserters_extractors.cc,
555 testsuite/27_io/istream_unformatted.cc,
556 testsuite/27_io/stringstream.cc:
557 Replace multi-line string constants with C89-style
558 concatenated string constants.
560 2001-05-14 Richard Henderson <rth@redhat.com>
562 * mknumeric_limits: Build with -fno-exceptions.
564 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
566 Switch over to new harness.
567 * testsuite_flags.in: Tweaks via Gaby.
568 * testsuite/Makefile.am: Change tool to libstdc++-v3.
569 (EXPECT): Quote directly.
571 * configure.in: Output testsuite_flags.
572 * acinclude.m4: Substitute src, bld, and prefix dirs.
573 Remove glibcpp_expect, glibcpp_runtestflags.
574 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
575 * mkcheck.in: Port to new interface.
577 * aclocal.m4: Regerate.
578 * configure: Regnerate.
579 * Makefile.in: Regnerate.
580 * */Makefile.in: Regenerate.
582 * tests_flags.in: Remove.
583 * testsuite/lib/libstdc++.exp: Remove.
584 * testsuite/libstdc++.tests/tests.exp: Remove.
586 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
588 * configure.target: Remove detection of AIX pthread multilib, now
589 obtained from `gcc -v'.
591 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
593 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
594 size. Add hpux case for HP size.
596 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
598 * testsuite_flags.in: New, simplified interface.
599 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
600 * testsuite/libstdc++-v3.dg: Add.
601 * testsuite/libstdc++-v3.dg/dg.exp: Add.
603 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
605 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
606 * testsuite/config/default.exp: Update bugs email address.
608 2001-05-11 Richard Henderson <rth@redhat.com>
610 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
611 all pointer encoding logic.
612 (struct lsda_header_info): Add ttype_base.
613 (get_ttype_entry): Use it instead of a context.
614 (check_exception_spec): Likewise.
615 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
616 the c++ exception header for __cxa_call_unexpected.
617 (__cxa_call_unexpected): Use it.
619 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
621 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
622 libgloss_link_flags to find crt0.o for targets that use libgloss
624 Change LDFLAGS to LIBS.
625 Consistently name procedures libstdc++-XXX.
626 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
628 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
630 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
635 * include/c_std/bits/std_cwchar.h (wcschr): Same.
640 * testsuite/21_strings/c_strings.cc: Add tests.
642 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
645 * include/bits/std_fstream.h (basic_filebuf): Change signature.
646 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
647 to int_type, pass in buffer size info.
648 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
649 unbuffered situation.
650 (underflow): Remove codecvt bits for the time being.
651 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
652 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
653 values from iterators, clean.
654 * src/locale.cc: Ditto.
655 * include/bits/sbuf_iter.h: Format.
656 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
657 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
658 * testsuite/27_io/filebuf.cc: Tweaks.
659 * testsuite/27_io/filebuf_members.cc: Tweaks.
661 2001-05-07 Mark Mitchell <mark@codesourcery.com>
663 * config/os/solaris/solaris2.7/bits/os_defines.h
664 (_LARGEFILE_SOURCE): Define it.
666 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
668 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
669 -prefer-non-pic depending on whether libtool has shared libraries
671 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
672 $(LIBSUPCXX_PICFLAGS).
673 * configure, */Makefile.in: Rebuilt.
675 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
677 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
678 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
680 * include/bits/std_sstream.h (stringbuf): Leak
682 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
684 2001-05-01 Tom Browder <tbrowder@home.com>
686 * docs/html/ext/howto.html: Fix typo.
688 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
690 * testsuite/libstdc++.tests/tests.exp: Add comment.
692 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
694 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
696 2001-04-30 Mark Mitchell <mark@codesourcery.com>
698 * porting.texi: Use the GFDL.
700 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
703 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
704 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
707 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
710 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
712 2001-04-28 Phil Edwards <pme@sources.redhat.com>
714 * docs/doxygen/run_doxygen: Minor tweaks.
715 * docs/doxygen/style.css: New file.
716 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
717 latest parameters available. Use style.css.
719 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
721 * docs/doxygen/mainpage.doxy: New.
722 * docs/doxygen/user.cfg.in: Change default configuration. Single
725 2001-04-26 Mark Mitchell <mark@codesourcery.com>
727 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
728 Indicate obsolete nature of thelist for G++ 3.0.
730 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
732 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
733 target_thread_file with `gcc -v'.
734 * aclocal.m4, configure: Rebuilt.
736 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
738 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
739 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
740 * include/c_std/bits/std_cwchar.h (std): Same.
741 * acconfig.h (std): Remove c99 injection into std.
742 * config.h.in: Regenerate.
744 * testsuite/README: Fix typo.
746 * include/bits/codecvt.h: Remove warnings.
748 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
750 * include/ext/slist: Include required header files.
752 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
754 * include/c_std/bits/std_cerrno.h (errno): Define macro from
755 identifier declared with external linkage, if needed.
756 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
757 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
759 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
761 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
762 re-configures find the build compiler.
763 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
765 * aclocal.m4: Regenerate.
766 * configure: Regenerate.
768 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
770 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
771 support is enabled correctly before long long is activated.
772 * aclocal.m4: Regenerate.
773 * configure: Regenerate.
775 * include/backward/backward_warning.h: Format correctly.
777 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
778 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
779 * testsuite/26_numerics/c99_macros.cc: Remove.
781 2001-04-20 Phil Edwards <pme@sources.redhat.com>
783 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
786 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
788 * acconfig.h (_GLIBCPP_USE_C99): Add.
789 * config.h.in: Regenerate.
790 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
792 * aclocal.m4: Regenerate.
793 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
794 * configure: Regenerate.
795 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
796 * configure: Regenerate.
797 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
799 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
801 * include/c_std/bits/std_cstdlib.h: Same.
802 * docs/html/configopts.html: Update.
803 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
805 (test_c99_classify): Add.
806 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
807 (_ISOC99_SOURCE): Remove.
809 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
810 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
811 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
812 * aclocal.m4: Regenerate.
813 * configure: Regenerate.
815 2001-04-19 Phil Edwards <pme@sources.redhat.com>
817 * Makefile.am (doxygen): Assume script is missing execute perms.
818 * Makefile.in: Regenerated.
819 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
821 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
823 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
825 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
827 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
828 * testsuite/23_containers/set_operators.cc: Same.
830 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
832 (__GLIBCPP__): Bump from value of last release.
833 * include/bits/concept_check.h: Default to off, edit comments.
834 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
835 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
836 * src/Makefile.in: Regenerate.
838 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
840 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
841 Properly uglify member.
843 2001-04-13 Phil Edwards <pme@sources.redhat.com>
845 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
849 2001-04-13 Phil Edwards <pme@sources.redhat.com>
851 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
852 * include/bits/concept_check.h: Uglify.
853 * include/bits/stl_algo.h: Likewise.
854 * include/bits/stl_algobase.h: Likewise.
855 * include/bits/stl_deque.h: Likewise.
856 * include/bits/stl_heap.h: Likewise.
857 * include/bits/stl_iterator_base_funcs.h: Likewise.
858 * include/bits/stl_list.h: Likewise.
859 * include/bits/stl_map.h: Likewise.
860 * include/bits/stl_multimap.h: Likewise.
861 * include/bits/stl_multiset.h: Likewise.
862 * include/bits/stl_numeric.h: Likewise.
863 * include/bits/stl_queue.h: Likewise.
864 * include/bits/stl_set.h: Likewise.
865 * include/bits/stl_stack.h: Likewise.
866 * include/bits/stl_vector.h: Likewise.
867 * include/ext/hash_map: Likewise.
868 * include/ext/hash_set: Likewise.
869 * include/ext/slist: Likewise.
871 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
873 * testsuite/23_containers/set_operators.cc: Just try to compile.
875 * testsuite/23_containers/map_operators.cc: Same.
877 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
879 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
881 (dg-test): Revert rth's change.
883 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
885 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
886 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
888 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
890 * testsuite/README: Add DejaGnu specific documentation.
892 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
894 * acinclude.m4: AC_CHECK_TOOL for expect.
895 * aclocal.m4: Regenerate.
896 * configure: Regenerate.
897 * testsuite/Makefile.am (RUNTEST): Use substituted.
900 * configure.in: Remove xcompiling substitution.
901 * tests_flags.in (CROSS_LIB_PATH): Remove.
902 (xcompiling): Remove.
903 (CXX): Use substituted CXX.
905 2001-04-11 Richard Henderson <rth@redhat.com>
907 * testsuite/lib/libstdc++.exp: Specify path for output_file.
909 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
911 * include/bits/std_valarray.h(valarray<>::operator[]): Make
914 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
916 * testsuite/25_algorithms/equal.cc: New test.
918 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
920 * stl_algobase.h (std::equal): avoid use of possibly-undefined
921 operator != (one line patch).
923 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
925 * include/backward/backward_warning.h: Re-enable.
927 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
928 Alexandre Oliva <aoliva@redhat.com>
930 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
932 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
934 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
935 * testsuite/26_numerics/c99_macros.cc: Add test.
937 2001-04-06 Phil Edwards <pme@sources.redhat.com>
939 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
940 * docs/html/faq/index.txt: Regenerated.
942 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
944 * include/backward/backward_warning.h: Temporarily disable until
945 g++ testsuite changes go in.
946 * tests_flags.in (CROSS_LIB_PATH): Add.
948 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
950 Warn when using backward headers.
951 * include/backward/algo.h: Include warning file.
952 * include/backward/vector.h: Same.
953 * include/backward/tree.h: Same.
954 * include/backward/tempbuf.h: Same.
955 * include/backward/strstream: Same.
956 * include/backward/streambuf.h: Same.
957 * include/backward/stream.h: Same.
958 * include/backward/stack.h: Same.
959 * include/backward/slist.h: Same.
960 * include/backward/set.h: Same.
961 * include/backward/rope.h:
962 * include/backward/queue.h: Same.
963 * include/backward/pair.h: Same.
964 * include/backward/ostream.h: Same.
965 * include/backward/new.h: Same.
966 * include/backward/multiset.h: Same.
967 * include/backward/multimap.h: Same.
968 * include/backward/map.h: Same.
969 * include/backward/list.h: Same.
970 * include/backward/iterator.h: Same.
971 * include/backward/istream.h: Same.
972 * include/backward/iostream.h:
973 * include/backward/iomanip.h:
974 * include/backward/heap.h: Same.
975 * include/backward/hashtable.h:
976 * include/backward/hash_set.h:
977 * include/backward/hash_map.h:
978 * include/backward/function.h:
979 * include/backward/fstream.h:
980 * include/backward/deque.h:
981 * include/backward/defalloc.h: Same.
982 * include/backward/complex.h: Same.
983 * include/backward/bvector.h:
984 * include/backward/alloc.h:
985 * include/backward/algobase.h: Same.
987 * include/backward/backward_warning.h: New file.
988 * src/Makefile.am (backward_headers): Add backward_warning.h
989 * src/Makefile.in: Regenerate.
991 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
993 * src/Makefile.am (myinstalldirs): Make sure backward directory is
995 (myinstallheaders): Install backward headers in backward directory.
996 * src/Makefile.in: Regenerate.
998 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1000 Prepare for libstdc++-2.92.
1001 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1002 * docs/html/configopts.html: Fix formatting.
1003 * README (file): Updates.
1004 * include/bits/c++config (__GLIBCPP__): Update.
1006 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1008 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1010 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1012 * docs/doxygen/user.cfg.in: Extract all non-private members;
1013 reduce confusing documentation output.
1015 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1017 * include/backward/fstream.h: Add missing semicolons.
1019 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1021 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1022 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1023 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1024 (ios_base::Init::_S_ios_create): New.
1025 (ios_base::Init::_S_ios_destroy): New.
1026 * include/bits/std_fstream.h: Change ctor args.
1027 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1028 (ios_base::Init::~Init): Use _S_ios_destroy.
1029 (ios_base::sync_with_stdio): Use new members.
1030 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1033 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1035 * include/backward/fstream.h: Expose streampos to global
1038 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1040 * include/bits/stl_iterator_base_types.h: Fix typo
1042 2001-04-03 Andreas Schwab <schwab@suse.de>
1044 * include/backward/fstream.h: Define filebuf and wfilebuf.
1046 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1048 New concept checking implementation.
1049 * docs/html/19_diagnostics/howto.html: Document.
1050 * docs/html/17_intro/concept_check.diff: New file, for reference.
1051 * include/bits/boost_concept_check.h: New file from Boost.
1052 * include/bits/c++config: Update comments.
1054 * include/bits/concept_check.h: New file.
1055 * include/bits/concept_checks.h: Removed.
1056 * include/bits/container_concepts.h: Removed.
1057 * include/bits/sequence_concepts.h: Removed.
1058 * include/bits/stl_iterator_base.h: Removed; split into...
1059 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1060 * include/bits/stl_iterator_base_types.h: ...and this new file.
1062 * include/bits/sbuf_iter.h: Update to use new implementation.
1063 * include/bits/std_iterator.h: Likewise.
1064 * include/bits/std_memory.h: Likewise.
1065 * include/bits/stl_algo.h: Likewise.
1066 * include/bits/stl_algobase.h: Likewise.
1067 * include/bits/stl_construct.h: Likewise.
1068 * include/bits/stl_deque.h: Likewise.
1069 * include/bits/stl_heap.h: Likewise.
1070 * include/bits/stl_list.h: Likewise.
1071 * include/bits/stl_map.h: Likewise.
1072 * include/bits/stl_multimap.h: Likewise.
1073 * include/bits/stl_multiset.h: Likewise.
1074 * include/bits/stl_numeric.h: Likewise.
1075 * include/bits/stl_queue.h: Likewise.
1076 * include/bits/stl_set.h: Likewise.
1077 * include/bits/stl_stack.h: Likewise.
1078 * include/bits/stl_uninitialized.h: Likewise.
1079 * include/bits/stl_vector.h: Likewise.
1080 * include/ext/hash_map: Likewise.
1081 * include/ext/hash_set: Likewise.
1082 * include/ext/slist: Likewise.
1083 * include/ext/stl_hashtable.h: Likewise.
1085 * src/Makefile.am (base_headers): Update list of headers.
1086 * Makefile.in: Regenerated.
1087 * src/Makefile.in: Regenerated.
1088 * libio/Makefile.in: Regenerated.
1089 * libmath/Makefile.in: Regenerated.
1090 * libsupc++/Makefile.in: Regenerated.
1091 * testsuite/Makefile.in: Regenerated.
1093 * docs/html/install.html: Update contact information.
1094 * docs/html/17_intro/howto.html: Ditto.
1095 * docs/html/18_support/howto.html: Ditto.
1096 * docs/html/20_util/howto.html: Ditto.
1097 * docs/html/21_strings/howto.html: Ditto.
1098 * docs/html/22_locale/howto.html: Ditto.
1099 * docs/html/23_containers/howto.html: Ditto.
1100 * docs/html/24_iterators/howto.html: Ditto.
1101 * docs/html/25_algorithms/howto.html: Ditto.
1102 * docs/html/26_numerics/howto.html: Ditto.
1103 * docs/html/27_io/howto.html: Ditto.
1104 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1105 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1106 * docs/html/faq/index.txt: Regenerated.
1108 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1110 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1111 messages with $which_library as well as $tool_flags and
1112 ${dg-extra-tool-flags}. Factor out annotation text into
1115 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1117 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1118 * include/c_std/bits/std_cwchar.h: Same.
1119 * testsuite/21_strings/c_strings.cc: Add.
1121 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1123 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1125 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1127 * tests_flags.in: Use test a = b, not test a == b which is not
1130 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1132 * configure.target: Remove duplicate aix entry.
1134 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1136 * include/ext/stl_bvector.h: Move to...
1137 * include/bits/stl_vector.h: ...here.
1138 * include/ext/bvector: Move to...
1139 * include/backward/bvector.h: ...here.
1140 * include/bits/std_vector.h: Change stl_bvector include.
1141 * include/bits/std_queue.h: Remove bvector include.
1142 * include/ext/tree: Insert using rb_tree, move to...
1143 * include/backward/tree.h: ...here.
1144 * include/backward/hash_map.h: Include ext/hash_map.
1145 * include/backward/hash_set.h: Include ext/hash_set.
1146 * include/backward/queue.h: New file.
1147 * include/backward/stack.h: Edit.
1148 * include/backward/algo.h: Same.
1149 * include/backward/algobase.h: Same.
1150 * include/backward/alloc.h: Same.
1151 * include/backward/function.h: Same.
1152 * include/backward/iomanip.h: Same.
1153 * include/backward/istream.h: Same.
1154 * include/backward/iterator.h: Same.
1155 * include/backward/list.h: Same.
1156 * include/backward/map.h: Same.
1157 * include/backward/multimap.h: Same.
1158 * include/backward/multiset.h: Same.
1159 * include/backward/ostream.h: Same.
1160 * include/backward/pair.h: Same
1161 * include/backward/rope.h: Same.
1162 * include/backward/set.h: Same.
1163 * include/backward/stream.h: Same.
1164 * include/backward/strstream.h: Same.
1165 * include/backward/tempbuf.h: Same.
1166 * src/Makefile.am (ext_headers): Edit.
1167 * src/Makefile.in: Regenerate.
1168 * testsuite/ext/headers.cc (main): Fix.
1171 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1173 * tests_flags.in (LIBS): Pass correct path for installed testing.
1175 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1177 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1178 * tests_flags.in (CXX): Construct here.
1179 (static_fail): Don't remove compile.out. Format with spaces.
1180 (INCLUDES): Deal with xcompiling.
1181 * configure.in (xcompiling): Substitute.
1182 * testsuite/Makefile.am: Snake libjava configury.
1183 * testsuite/Makefile.in: Regenerate.
1184 * testsuite/23_containers/map_operators.cc: Tweaks.
1185 * testsuite/23_containers/set_operators.cc: Tweaks.
1187 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1189 Enable dejagnu testing framework.
1190 * configure.in: Generate testsuite/Makefile.
1191 * configure: Regenerate.
1192 * Makefile.am (check-install): Change rule from this...
1193 (check-script-install): ...to this.
1194 (check): Change rule from this...
1195 (check-script):...to this.
1196 * Makefile.in: Regenerate.
1198 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1200 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1202 (LIBTOOL): Let automake take care of its definition.
1203 * libsupc++/Makefile.in: Rebuilt.
1205 2001-03-28 Richard Henderson <rth@redhat.com>
1207 IA-64 ABI Exception Handling:
1208 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1209 * configure.in: Use it.
1210 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1211 * libsupc++/Makefile.am (sources): Update files list.
1212 * libsupc++/Makefile.in: Regenerate.
1213 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1214 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1215 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1216 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1217 * libsupc++/exception_support.cc: Remove.
1218 * libsupc++/exception_support.h: Remove.
1219 * libsupc++/pure.cc: Use std::terminate.
1220 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1221 (__is_pointer): Remove.
1222 * libsupc++/unwind-cxx.h: New file.
1223 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1225 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1227 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1229 * src/Makefile.am (CXXLINK): Likewise.
1230 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1232 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1234 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1236 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1238 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1241 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1243 * include/bits/basic_file.h (get_fileno): Remove.
1244 (_M_fileno): Remove.
1245 (_M_cfile_created): Add.
1246 (basic_file::basic_file(__c_file_type*, openmode): Add.
1247 (basic_file::basic_file(int, const char*, openmode): Remove.
1248 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1249 const char*, ios_base::openmode): Don't allocate
1250 internal buffers. Turn off internal buffers.
1251 (basic_filebuf::overflow): Remove test for null buffer.
1252 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1253 * include/bits/streambuf.cc: Tweak.
1254 * include/bits/std_ostream.h: Tweak.
1255 * config/basic_file_libio.h: Same.
1256 * config/basic_file_stdio.h: Same.
1257 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1258 * testsuite/27_io/filebuf_members.cc: Tweaks.
1259 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1261 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1263 * Makefile.am: New targets, doxygen and doxygen-maint.
1264 * Makefile.in: Regenerated.
1265 * docs/doxygen/run_doxygen: Finally implemented.
1266 * docs/doxygen/maint.cfg.in: New file.
1267 * docs/doxygen/user.cfg.in: New file.
1269 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1271 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1272 * src/Makefile.am: Replace leading spaces with tabs on continuation
1274 * aclocal.m4: Regenerated.
1276 * Makefile.in: Ditto.
1277 * src/Makefile.in: Ditto.
1278 * libio/Makefile.in: Ditto.
1279 * libmath/Makefile.in: Ditto.
1280 * libsupc++/Makefile.in: Ditto.
1282 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1284 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1285 concept-checking code and current status of same.
1286 * docs/html/ext/howto.html: Ditto.
1287 * docs/html/faq/index.html: Ditto.
1288 * docs/html/faq/index.txt: Regenerated.
1290 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1292 * include/bits/std_bitset.h: Include ostream and istream headers
1293 instead of iostream.
1295 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1297 * include/bits/ostream.tcc: Use __builtin_alloca.
1299 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1301 * src/misc-inst.cc (__sink_unused_warning): Move to...
1302 * src/locale-inst.cc (__sink_unused_warning): Move to...
1303 * src/stl-inst.cc: Here.
1304 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1307 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1309 * intclude/bits/basic_file.h: Fix typos in comments.
1311 2001-03-20 Richard Henderson <rth@redhat.com>
1313 * src/gen-num-limits.cc: Instantiate for wchar_t.
1314 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1316 2001-03-20 Jason Merrill <jason@redhat.com>
1318 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1319 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1320 * libsupc++/cxxabi.h: Declare it.
1322 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1324 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1325 signal_func with an unspecified argument list.
1327 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1329 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1331 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1333 * include/bits/basic_string.tcc (operator+): Fix thinko.
1335 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1338 * include/bits/std_streambuf.h: Remove cached locale facets.
1339 (basic_streambuf::_M_buf_fctype): Remove.
1340 (basic_streambuf::~basic_streambuf): Remove here.
1341 (basic_streambuf::basic_streambuf): Same.
1342 (basic_streambuf::imbue): Same.
1343 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1344 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1345 (basic_filebuf::~basic_filebuf()): Remove here.
1346 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1347 (basic_filebuf::imbue): Same.
1348 * include/bits/localefwd.h (_Count_ones): Remove.
1349 (locale::_S_num_categories): Just use 6, since this doesn't
1350 actually change, ever.
1351 * include/bits/locale_facets.tcc (has_facet): Simplify.
1353 * testsuite/27_io/filebuf.cc (test06): Add tests.
1355 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1357 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1358 match HP-UX ctype.h header file.
1360 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1362 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1363 duplicate definitions of __dj_ctype_*
1365 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1367 * libsupc++/new: Remove pragma interface.
1368 * libsupc++/typeinfo: Same.
1369 * libsupc++/exception: Same.
1370 * libsupc++/new_handler.cc: Remove pragma implementation.
1371 (bad_alloc::~bad_alloc()): Add.
1372 * libsupc++/exception_support.cc: Same.
1373 (exception::~exception): Add.
1374 (bad_exception::~bad_exception): Add.
1375 * libsupc++/tinfo.cc: Same.
1376 (bad_cast::~bad_cast): Add.
1377 (bad_typeid::~bad_typeid): Add.
1379 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1381 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1383 2001-03-12 Felix Lee <flee@redhat.com>
1385 * mkcheck.in: workaround for bash 2.01 IFS bug.
1387 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1389 Fixups for -fno-for-scope
1390 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1391 * src/valarray-inst.cc (__gslice_to_index): Same.
1393 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1395 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1396 prior to trapping signal (UnixWare 7 workaround).
1398 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1400 * include/backward/hashtable.h: Same.
1401 * include/backward/rope.h: Fix include.
1403 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1405 * include/backward/vector.h: Include std_vector.h.
1407 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1408 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1411 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1413 * include/ext/stl_hashtable.h: Change type of __n to size_t
1414 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1416 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1418 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1419 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1420 Use streamsize, not int_type.
1422 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1424 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1427 2001-03-08 Andreas Schwab <schwab@suse.de>
1429 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1431 * aclocal.m4, configure: Regenerated.
1433 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1435 * include/bits/std_iosfwd.h: Remove string forward decls here.
1436 * include/bits/stringfwd.h: Add forward decls for char_traits
1438 * config/c_io_libio.h (wstreamoff): Delete.
1439 * config/c_io_stdio.h (wstreamoff): Same.
1440 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1441 char_traits<wchar_t>::off_type.
1442 Remove duplicate typedefs.
1443 * include/bits/fpos.h: Define streampos/wstreampos here.
1444 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1447 Changeup output files.
1448 * testsuite/27_io/istream_unformatted.cc: Change output files.
1449 * testsuite/27_io/istream_seeks-1.txt: Add.
1450 * testsuite/27_io/istream_seeks-2.tst: Add.
1451 * testsuite/27_io/istream_seeks-1.tst: Add.
1452 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1453 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1454 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1456 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1458 Add Irix 5.2, 6.3 support.
1459 * config/os/irix/bits: Renamed to...
1460 * config/os/irix/irix6.5/bits: this.
1461 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1462 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1463 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1464 * config/os/irix/irix5.2/bits/ctype_noninline.h
1465 (ctype<char>::ctype): Initialize _M_table with __ctype.
1466 * configure.target: Adjust.
1468 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1471 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1472 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1474 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1475 (*__pf)(__ios_type&)): Same.
1476 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1477 (*__pf)(ios_base&))): Same.
1478 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1479 * testsuite/27_io/istream_manip.cc (test01): Fix.
1481 2001-03-06 Nathan Myers <ncm@cantrip.org>
1482 Benjamin Kosnik <bkoz@redhat.com>
1484 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1485 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1486 * testsuite/17_intro/header_cassert.cc (test01): New file.
1487 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1488 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1489 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1491 2001-03-05 scott snyder <snyder@fnal.gov>
1494 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1496 * include/c_std/bits/std_cstdlib.h: ... to here.
1497 * testsuite/17_intro/header_cstdlib.cc: Add test.
1499 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1501 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1503 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1505 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1506 definition. Replace enum with static const variables.
1508 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1509 throw specification, fix typos, use <static_cast>.
1510 (ctype<char>::scan_is): remove throw specification.
1511 (ctype<char>::scan_not): likewise.
1513 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1514 (ctype<char>::do_toupper(char)): use <static_cast>.
1515 (ctype<char>::do_toupper(char *, const char *)): likewise.
1516 (ctype<char>::do_tolower(char)): likewise.
1517 (ctype<char>::do_tolower(char *, const char *)): likewise.
1519 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1521 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1522 * include/backward/algo.h: Use std not __STD. Remove unneeded
1523 macros and "never happens" code. Adjust to C++STYLE guidelines.
1524 * include/backward/algobase.h: Likewise.
1525 * include/backward/alloc.h: Likewise.
1526 * include/backward/bvector.h: Likewise.
1527 * include/backward/deque.h: Likewise.
1528 * include/backward/function.h: Likewise.
1529 * include/backward/hash_map.h: Likewise.
1530 * include/backward/hash_set.h: Likewise.
1531 * include/backward/hashtable.h: Likewise.
1532 * include/backward/heap.h: Likewise.
1533 * include/backward/iterator.h: Likewise.
1534 * include/backward/list.h: Likewise.
1535 * include/backward/map.h: Likewise.
1536 * include/backward/multimap.h: Likewise.
1537 * include/backward/multiset.h: Likewise.
1538 * include/backward/pair.h: Likewise.
1539 * include/backward/rope.h: Likewise.
1540 * include/backward/set.h: Likewise.
1541 * include/backward/slist.h: Likewise.
1542 * include/backward/stack.h: Likewise.
1543 * include/backward/strstream: Likewise.
1544 * include/backward/tempbuf.h: Likewise.
1545 * include/backward/tree.h: Likewise.
1546 * include/backward/vector.h: Likewise.
1547 * include/bits/basic_ios.h: Likewise.
1548 * include/bits/basic_ios.tcc: Likewise.
1549 * include/bits/basic_string.h: Likewise.
1550 * include/bits/c++config: Likewise.
1551 * include/bits/concept_checks.h: Likewise.
1552 * include/bits/fpos.h: Likewise.
1553 * include/bits/fstream.tcc: Likewise.
1554 * include/bits/functexcept.h: Likewise.
1555 * include/bits/ios_base.h: Likewise.
1556 * include/bits/istream.tcc: Likewise.
1557 * include/bits/mask_array.h: Likewise.
1558 * include/bits/ostream.tcc: Likewise.
1559 * include/bits/pthread_allocimpl.h: Likewise.
1560 * include/bits/sbuf_iter.h: Likewise.
1561 * include/bits/slice.h: Likewise.
1562 * include/bits/slice_array.h: Likewise.
1563 * include/bits/sstream.tcc: Likewise.
1564 * include/bits/std_bitset.h: Likewise.
1565 * include/bits/std_fstream.h: Likewise.
1566 * include/bits/std_iomanip.h: Likewise.
1567 * include/bits/std_ios.h: Likewise.
1568 * include/bits/std_istream.h: Likewise.
1569 * include/bits/std_iterator.h: Likewise.
1570 * include/bits/std_memory.h: Likewise.
1571 * include/bits/std_ostream.h: Likewise.
1572 * include/bits/std_sstream.h: Likewise.
1573 * include/bits/std_streambuf.h: Likewise.
1574 * include/bits/std_string.h: Likewise.
1575 * include/bits/std_valarray.h: Likewise.
1576 * include/bits/stl_algo.h: Likewise.
1577 * include/bits/stl_algobase.h: Likewise.
1578 * include/bits/stl_alloc.h: Likewise.
1579 * include/bits/stl_construct.h: Likewise.
1580 * include/bits/stl_deque.h: Likewise.
1581 * include/bits/stl_function.h: Likewise.
1582 * include/bits/stl_heap.h: Likewise.
1583 * include/bits/stl_iterator.h: Likewise.
1584 * include/bits/stl_iterator_base.h: Likewise.
1585 * include/bits/stl_list.h: Likewise.
1586 * include/bits/stl_map.h: Likewise.
1587 * include/bits/stl_multimap.h: Likewise.
1588 * include/bits/stl_multiset.h: Likewise.
1589 * include/bits/stl_numeric.h: Likewise.
1590 * include/bits/stl_pair.h: Likewise.
1591 * include/bits/stl_pthread_alloc.h: Likewise.
1592 * include/bits/stl_queue.h: Likewise.
1593 * include/bits/stl_raw_storage_iter.h: Likewise.
1594 * include/bits/stl_relops.h: Likewise.
1595 * include/bits/stl_set.h: Likewise.
1596 * include/bits/stl_stack.h: Likewise.
1597 * include/bits/stl_tempbuf.h: Likewise.
1598 * include/bits/stl_threads.h: Likewise.
1599 * include/bits/stl_tree.h: Likewise.
1600 * include/bits/stl_uninitialized.h: Likewise.
1601 * include/bits/stl_vector.h: Likewise.
1602 * include/bits/streambuf.tcc: Likewise.
1603 * include/bits/type_traits.h: Likewise.
1604 * include/bits/valarray_meta.h: Likewise.
1605 * include/ext/bvector: Likewise.
1606 * include/ext/hash_map: Likewise.
1607 * include/ext/hash_set: Likewise.
1608 * include/ext/ropeimpl.h: Likewise.
1609 * include/ext/slist: Likewise.
1610 * include/ext/stl_bvector.h: Likewise.
1611 * include/ext/stl_hash_fun.h: Likewise.
1612 * include/ext/stl_hashtable.h: Likewise.
1613 * include/ext/stl_rope.h: Likewise.
1614 * src/complex_io.cc: Likewise.
1615 * src/ios.cc: Likewise.
1616 * src/locale-inst.cc: Likewise.
1617 * src/locale.cc: Likewise.
1618 * src/localename.cc: Likewise.
1619 * src/misc-inst.cc: Likewise.
1620 * src/stdexcept.cc: Likewise.
1621 * src/stl-inst.cc: Likewise.
1622 * src/strstream.cc: Likewise.
1623 * src/valarray-inst.cc: Likewise.
1625 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1627 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1629 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1631 * include/bits/istream.tcc: change type of __extracted to __size_type
1633 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1635 * src/wstring-inst.cc: New file.
1636 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1637 (libinst_wstring_la_SOURCES): Remove.
1638 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1639 (sources): Add wstring-inst.cc
1640 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1643 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1645 * src/locale.cc: initialise __ret with zero
1646 * src/strstream.cc:cast gptr to int_type
1648 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1650 * docs/html/faq/index.html: Update broken links.
1651 * docs/html/faq/index.txt: Regenerated.
1653 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1656 * configure.target: Change irix* to irix6.5* in target_os table.
1658 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1661 * include/bits/c++config (__GLIBCPP__): Bump number in
1662 anticipation of 2.92.
1664 * include/bits/codecvt.h: Fix typo.
1665 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1667 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1668 instantiations for stdio model.
1670 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1672 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1673 and GLIBCPP_CXXFLAGS as unused variables.
1674 * configure.host: Likewise.
1675 * configure.target: Likewise.
1676 * aclocal.m4: Regenerated.
1677 * configure: Regenerated.
1678 * Makefile.in: Regenerated.
1679 * libio/Makefile.in: Regenerated.
1680 * libmath/Makefile.in: Regenerated.
1681 * libsupc++/Makefile.in: Regenerated.
1682 * src/Makefile.in: Regenerated.
1684 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1687 * include/bits/basic_file.h: Include basic_file_model.h.
1688 * config/c_io_libio.cc: Move to...
1689 * config/basic_file_libio.cc: Here.
1690 * config/basic_file_libio.h: New file.
1691 * config/c_io_stdio.cc: Move to...
1692 * config/basic_file_stdio.cc: Here.
1693 * config/basic_file_stdio.h: New file.
1694 * config/c_io_libio.h: Tweak.
1695 * config/c_io_stdio.h: Tweak.
1696 * src/Makefile.am (build_headers): Add basic_file_model.h.
1697 (sources): Add basic_file.cc, remove c++io.cc.
1698 * src/Makefile.in: Regenerate.
1699 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1700 basic_file_model.h and basic_file.cc.
1701 * aclocal.m4: Regenerate.
1702 * configure: Regenerate.
1703 * testsuite/27_io/filebuf.cc (test05): Add regression.
1705 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1708 * config/cpu/alpha/bits/atomicity.h: Change.
1709 * config/cpu/arm/bits/atomicit3y.h
1710 * config/cpu/generic/bits/atomicity.h
1711 * config/cpu/i386/bits/atomicity.h
1712 * config/cpu/i486/bits/atomicity.h
1713 * config/cpu/ia64/bits/atomicity.h
1714 * config/cpu/powerpc/bits/atomicity.h
1715 * config/cpu/sparc/sparc32/bits/atomicity.h
1716 * config/cpu/sparc/sparc64/bits/atomicity.h
1717 * config/os/aix/bits/atomicity.h
1718 * config/os/irix/bits/atomicity.h
1720 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1722 * include/bits/std_stdexcept.h (runtime_error): Make string
1724 (logic_error): Same.
1725 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1728 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1732 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1733 string object, not reference.
1734 (runtime_error::runtime_error): Same.
1735 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1737 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1739 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1740 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1741 diagnostics. Remove WFMT_FLAGS.
1742 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1743 * libsupc++/Makefile.am: Likewise.
1744 * src/Makefile.am: Likewise.
1745 * aclocal.m4: Regenerated.
1746 * configure: Regenerated.
1747 * Makefile.in: Regenerated.
1748 * libio/Makefile.in: Regenerated.
1749 * libmath/Makefile.in: Regenerated.
1750 * libsupc++/Makefile.in: Regenerated.
1751 * src/Makefile.in: Regenerated.
1753 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1755 Fixes libstdc++/2079
1756 * include/backward/iomanip.h: Expose <ios> manipulators to global
1758 * include/backward/iostream.h: Also expose std::ws.
1760 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1762 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1764 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1766 * include/bits/codecvt.h: Use __builtin_alloca.
1767 * include/bits/ostream.tcc: Same.
1768 * include/bits/fstream.tcc: Same.
1770 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1772 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1774 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1776 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1778 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1781 * include/backward/iostream.h: Expose std::flush in old headers.
1783 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1785 * mknumeric_limits: Remove special-casing on target. Use gcc
1786 instead of g++ to build gen-num-limits.cc
1788 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1790 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1792 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1794 * include/bits/ostream.tcc: Same.
1795 * include/bits/std_ostream.h: Same.
1796 * include/bits/fstream.tcc: Same.
1797 * include/bits/locale_facets.tcc: Add typename.
1798 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1800 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1802 * tests_flags.in: Remove -n flag from call to echo.
1804 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1806 * config/c_locale_gnu.h: Add clocale include.
1808 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1810 * include/bits/stl_config.h: Remove file.
1811 * src/Makefile.am (base_headers): Remove from list.
1812 * configure: Regenerate.
1813 * Makefile.in: Ditto.
1814 * libio/Makefile.in: Ditto.
1815 * libmath/Makefile.in: Ditto.
1816 * libsupc++/Makefile.in: Ditto.
1817 * src/Makefile.in: Ditto.
1819 * include/bits/c++config: Move relevant macros to here.
1820 * include/backward/alloc.h: Include c++config.h instead.
1821 * include/backward/function.h: Ditto.
1822 * include/backward/heap.h: Ditto.
1823 * include/backward/pair.h: Ditto.
1824 * include/bits/pthread_allocimpl.h: Ditto.
1825 * include/bits/std_functional.h: Ditto.
1826 * include/bits/std_iterator.h: Ditto.
1827 * include/bits/std_numeric.h: Ditto.
1828 * include/bits/std_utility.h: Ditto.
1829 * include/bits/stl_algobase.h: Ditto.
1830 * include/bits/type_traits.h: Ditto.
1831 * src/stl-inst.cc: Ditto.
1833 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1835 * include/bits/basic_file.h: Add #pragma system_header
1836 * include/bits/basic_ios.h: Ditto.
1837 * include/bits/basic_string.h: Ditto.
1838 * include/bits/char_traits.h: Ditto.
1839 * include/bits/codecvt.h: Ditto.
1840 * include/bits/cpp_type_traits.h: Ditto.
1841 * include/bits/fpos.h: Ditto.
1842 * include/bits/gslice.h: Ditto.
1843 * include/bits/gslice_array.h: Ditto.
1844 * include/bits/indirect_array.h: Ditto.
1845 * include/bits/ios_base.h: Ditto.
1846 * include/bits/limits_generic.h: Ditto.
1847 * include/bits/locale_facets.h: Ditto.
1848 * include/bits/localefwd.h: Ditto.
1849 * include/bits/mask_array.h: Ditto.
1850 * include/bits/sbuf_iter.h: Ditto.
1851 * include/bits/sequence_concepts.h: Ditto.
1852 * include/bits/slice.h: Ditto.
1853 * include/bits/slice_array.h: Ditto.
1854 * include/bits/std_algorithm.h: Likewise.
1855 * include/bits/std_bitset.h: Likewise.
1856 * include/bits/std_complex.h: Likewise.
1857 * include/bits/std_deque.h: Likewise.
1858 * include/bits/std_fstream.h: Likewise.
1859 * include/bits/std_functional.h: Likewise.
1860 * include/bits/std_iomanip.h: Likewise.
1861 * include/bits/std_ios.h: Likewise.
1862 * include/bits/std_iosfwd.h: Likewise.
1863 * include/bits/std_iostream.h: Likewise.
1864 * include/bits/std_istream.h: Likewise.
1865 * include/bits/std_iterator.h: Likewise.
1866 * include/bits/std_list.h: Likewise.
1867 * include/bits/std_locale.h: Likewise.
1868 * include/bits/std_map.h: Likewise.
1869 * include/bits/std_memory.h: Likewise.
1870 * include/bits/std_numeric.h: Likewise.
1871 * include/bits/std_ostream.h: Likewise.
1872 * include/bits/std_queue.h: Likewise.
1873 * include/bits/std_set.h: Likewise.
1874 * include/bits/std_sstream.h: Likewise.
1875 * include/bits/std_stack.h: Likewise.
1876 * include/bits/std_stdexcept.h: Likewise.
1877 * include/bits/std_streambuf.h: Likewise.
1878 * include/bits/std_string.h: Likewise.
1879 * include/bits/std_utility.h: Likewise.
1880 * include/bits/std_valarray.h: Likewise.
1881 * include/bits/std_vector.h: Likewise.
1882 * include/bits/stringfwd.h: Likewise.
1883 * include/bits/type_traits.h: Likewise.
1884 * include/bits/valarray_array.h: Likewise.
1885 * include/bits/valarray_meta.h: Likewise.
1887 2001-02-19 Andreas Jaeger <aj@suse.de>
1889 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1892 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1895 * include/bits/std_ostream.h: Replaced usage of
1896 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1897 * include/bits/char_traits.h: Removed non-standard
1898 methods that cannot be used elsewhere.
1901 * include/bits/basic_ios.h: Uncommented #include of
1905 * include/bits/codecvt.h: See next...
1906 * include/bits/fstream.tcc: See next...
1907 * include/bits/ostream.tcc: Add __extension__
1908 to variable-length arrays.
1911 * include/bits/localefwd.h: Changed int counter type to size_t.
1914 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1916 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1918 * testsuite/21_strings/char_traits.cc: Move to ...
1919 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1920 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1921 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1923 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1925 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1928 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1930 * include/bits/c++config: Revert.
1932 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1934 * include/bits/istream.tcc: Use ios_base::iostate in place of
1935 iostate throughout. Insert `typename' keyword where necessary.
1936 * include/bits/ostream.tcc: Insert `typename' keyword where
1939 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1941 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1942 Define so library is compliant.
1944 2001-02-15 Anthony Green <green@redhat.com>
1946 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1948 * aclocal.m4: Regenerate.
1949 * configure: Regenerate.
1951 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1953 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1954 Include ieeefp.h for fpclass on UnixWare{2,7}.
1955 * aclocal.m4: Regenerate.
1956 * configure: Regenerate.
1957 * mkcheck.in (size_command): Do without GNU-grep when using
1960 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1962 Remove old ABI support from libsupc++.
1963 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1964 * libsupc++/exception_support.cc: Likewise.
1965 * libsupc++/pure.cc: Likewise.
1966 * libsupc++/tinfo.cc: Likewise.
1967 * libsupc++/tinfo.h: Likewise.
1968 * libsupc++/tinfo2.cc: Likewise.
1969 * libsupc++/typeinfo: Likewise.
1970 * libsupc++/vec.cc: Likewise.
1972 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1974 Add support for -fno-exceptions.
1975 * include/bits/exception_support.h: Remove.
1976 * include/bits/basic_string.h: Remove exception_support.
1977 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1979 (string::substr): Same.
1980 * include/bits/basic_string.tcc (string::reserve): Replace
1981 __LENGTHERROR with __throw_length_error.
1982 (string::_S_create): Same.
1983 (string::resize): Same.
1984 (string::_M_replace): Same.
1985 (string::replace): Same.
1986 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1987 (string::compare): Same.
1988 * include/bits/stl_vector.h: Remove exception_support.
1989 * src/Makefile.am (base_headers): Remove here.
1990 * src/Makefile.in: Regenerate.
1992 * include/bits/stl_range_errors.h: Remove.
1993 * include/bits/stl_deque.h: Use __throw_range_error.
1994 * include/bits/std_deque.h: Include functexcept.h.
1995 * include/bits/std_vector.h: Same.
1996 * src/Makefile.am (base_headers): Remove here.
1997 * src/Makefile.in: Regenerate.
1998 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1999 * include/ext/bvector: Remove stl_range_errors.h
2001 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2003 * include/bits/functexcept.h: New file.
2004 * src/functexcept.cc: New file. Definitions for function-based
2006 * src/Makefile.am (sources): Add functexcept.cc.
2007 * src/Makefile.in: Regenerate.
2009 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2012 * include/bits/localefwd.h: Include functexcept.h.
2013 * include/bits/std_iosfwd.h: Same.
2015 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2016 throw basic_ios::failure.
2017 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2018 Use __throw_exception_again.
2019 (filebuf::_M_filebuf_init): Same.
2020 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2021 * include/bits/ostream.tcc (ostream::operator<<): Same.
2022 * include/bits/istream.tcc (istream::operator>>): Same.
2023 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2024 (string::_S_construct): Same.
2025 (string::_M_clone): Same.
2026 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2028 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2029 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2030 __throw_exception_again.
2031 (locale::_Imp::_Imp(string, size_t): Same.
2032 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2033 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2034 (locale::locale(const char*)): Use __throw_runtime_error.
2035 (locale::classic): Use __throw_exception_again.
2036 (locale::_S_normalize_category): Use __throw_runtime_error.
2038 * src/stdexcept.cc: Remove cruft.
2040 * libsupc++/exception_defines.h: New file.
2041 * libsupc++/new_opnt.cc: Include exception_defines.h.
2042 * libsupc++/vec.cc: Same.
2043 (__cxa_vec_new2): Use __throw_exception_again.
2044 (__cxa_vec_new3): Same.
2045 (__cxa_vec_ctor): Same.
2046 (__cxa_vec_delete3): Same.
2047 (__cxa_vec_cctor): Same.
2048 (__cxa_vec_delete2): Same.
2049 (__cxa_vec_dtor): Same.
2050 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2051 compile exception-handling bits if __EXCEPTIONS is defined.
2052 Remove old ABI support.
2053 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2054 std::__throw_bad_alloc() instead of throw bad_alloc.
2055 * libsupc++/Makefile.am: Add exception_defines.h.
2056 * libsupc++/Makefile.in: Reformat.
2057 * libsupc++/*: Format.
2059 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2061 * docs/html/configopts.html: Minor updates and typo fixes.
2062 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2063 * docs/html/faq/index.txt: Regenerated.
2065 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2067 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2068 dejagnu/dg.exp. Adapt to log options used to run testcases.
2070 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2072 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2075 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2076 Phil Edwards <pme@sources.redhat.com>
2078 * include/backward/function.h: Do not use rel_ops for older
2080 * include/backward/pair.h: Likewise.
2082 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2084 * src/locale.cc: Remove bogus locale::id definitions.
2086 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2088 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2089 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2091 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2092 thinko in member initialisation.
2094 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2096 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2097 comparaison between signed and unsigned integer types.
2098 (valarray<>::cshift): Reformat.
2100 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2102 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2103 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2104 * configure.in: Test for sigsetjmp.
2105 * configure, config.h.in: Rebuilt.
2107 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2109 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2110 lengths and strides.
2111 (__gslice_to_index): Document.
2113 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2115 * include/bits/char_traits.h char_traits<char>::int_type: Change
2116 to `int' to match 21.1.3.1/2.
2118 * testsuite/21_strings/char_traits-int_type.C: New test.
2120 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2122 * testsuite/Makefile.am: New file.
2124 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2126 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2128 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2130 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2132 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2134 * configure.target (aix4*): Remove extra set of brackets.
2136 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2139 * include/bits/stringfwd.h: New file.
2140 * include/bits/stl_string_fwd.h: Remove.
2141 * include/bits/localefwd.h: Remove declaration for allocator.
2142 * include/bits/std_iosfwd: Same.
2143 * include/bits/std_string.h: Include it.
2144 * include/bits/std_ios.h: Remove include.
2145 * include/bits/basic_string.h: Tweak.
2146 * libsupc++/new: Format.
2147 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2149 * src/Makefile.in: Regenerate.
2150 * include/bits/std_stdexcept.h: Rewrite.
2151 * src/stdexcept.cc: Same.
2153 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2155 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2156 install locations too.
2157 * aclocal.m4: Regenerate.
2158 * configure.in: Remove USE_LIBDIR.
2159 * configure: Regenerate.
2160 * src/Makefile.am (toolexecdir): Simplify, use
2161 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2162 * src/Makefile.in: Regenerate.
2163 * libsupc++/Makefile.am: Same.
2164 * libsupc++/Makefile.in: Regenerate.
2166 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2167 misc-inst.cc as no longer necessary.
2169 Follow C++STYLE for naming non-static functions.
2170 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2172 * include/bits/streambuf.tcc: Same.
2173 * include/bits/ostream.tcc: Same.
2174 * include/bits/istream.tcc: Same.
2175 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2176 (_S_output_float): To __output_float.
2177 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2179 * include/bits/locale_facets.tcc (_S_build_float_format): To
2180 __build_float_format.
2181 (_S_format): To __output_integer.
2182 (_S_fill): To __pad.
2183 * src/locale.cc: Same.
2184 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2186 * include/bits/locale_facets.tcc (_S_group_digits): To
2188 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2189 for collate, numpunct.
2191 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2193 * docs/html/configopts.html: Fix HTML markup.
2194 * docs/html/install.html: Bring up to date.
2195 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2196 * docs/html/21_strings/howto.html: More notes.
2197 * docs/html/22_locale/howto.html: Fix HTML markup.
2198 * docs/html/27_io/howto.html: More notes.
2199 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2200 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2202 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2204 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2205 to match header files.
2206 (_S_output_float): Likewise.
2207 (_S_copy_streambufs): Likewise.
2209 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2210 Phil Edwards <pme@sources.redhat.com>
2212 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2213 use reinterpret_cast, not static_cast.
2215 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2217 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2218 * aclocal.m4: Regenerate.
2219 * configure: Regenerate.
2221 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2223 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2224 * libsupc++/pure.cc: Revert.
2226 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2228 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2229 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2230 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2231 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2232 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2233 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2234 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2235 * aclocal.m4: Regenerate.
2236 * configure: Regenerate.
2238 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2240 * include/bits/locale_facets.tcc: Remove `static' keyword on
2241 function definitions.
2242 * include/bits/std_streambuf.h: Likewise.
2243 * src/Makefile.am: Remove use of -fimplicit-templates.
2244 * src/Makefile.in: Regenerated.
2245 * src/locale-inst.cc: Explicitly instantiate more functions.
2246 * src/misc-inst.cc: Likewise.
2247 * src/string-inst.cc: Likewise.
2249 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2251 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2252 macro. Consolidate all the bits to do with where includes might be
2254 * aclocal.m4: Regenerate.
2255 * configure.in: Use it.
2256 * configure: Regenerate.
2257 * src/Makefile.am (targetincludep): Use simplified rules.
2258 (targetincludep): Rename gxx_target_include_dir.
2259 (myincludep): Rename gxx_include_dir.
2260 * src/Makefile.in: Regenerate.
2261 * libsupc++/Makefile.am: Use simplified rules.
2262 * libsupc++/Makefile.in: Regenerate.
2264 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2266 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2267 * include/c_std/bits/std_cctype.h: Same.
2268 * include/c_std/bits/std_cassert.h: Same.
2269 * include/c_std/bits/std_cstdarg.h: Same.
2270 * include/c_std/bits/std_cstddef.h: Same.
2272 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2274 * include/c_std/bits/std_ctime.h: Same.
2275 * include/c_std/bits/std_clocale.h: Same.
2276 * include/c_std/bits/std_cmath.h: Same.
2277 * include/c_std/bits/std_csetjmp.h: Same.
2278 * include/c_std/bits/std_csignal.h: Same.
2279 * include/c_std/bits/std_cstring.h: Same.
2280 * include/c_std/bits/std_cstdlib.h: Same.
2281 * include/c_std/bits/std_cwchar.h: Same.
2283 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2285 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2287 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2289 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2290 (string::_S_construct): Likewise.
2292 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2294 * testsuite/config/default.exp: New file.
2295 * testsuite/config: New directory.
2297 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2299 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2300 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2301 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2302 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2304 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2305 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2307 * Makefile.am (mkinstalldirs): Set.
2308 * src/Makefile.am (mkinstalldirs): Set.
2309 * libmath/Makefile.am (mkinstalldirs): Set.
2310 * libsup++/Makefile.am (mkinstalldirs): Set.
2311 * libio/Makefile.am (mkinstalldirs): Set.
2312 * */Makefile.in: Regenerate.
2314 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2316 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2317 * include/bits/localefwd.h: More initialization cleanups.
2319 2001-02-03 Jeffrey A Law <law@cygnus.com>
2321 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2322 correctly targets with 16bit ints.
2323 (_S_ios_openmode_end): Similarly.
2324 (_S_ios_iostate_end): Similarly.
2325 (_S_ios_Seekdir_end): Similarly.
2327 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2329 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2331 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2333 * configure.in (toplevel_srcdir, auxdir): Set.
2334 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2335 * aclocal.m4, configure, Makefile.in: Rebuilt.
2336 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2337 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2338 * libsupc++-v3/Makefile.in: Rebuilt.
2339 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2340 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2342 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2344 * config/c_locale_generic.cc: Remove langinfo include.
2346 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2348 Preliminary named locales.
2349 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2350 * aclocal.m4: Regenerate.
2351 * configure.in: Use it.
2352 * configure: Regerate.
2353 * src/Makefile.am (sources): Add c++locale.cc.
2354 (build_headers): Add c++locale.h.
2355 * src/Makefile.in: Regenerate.
2356 * config/c_locale_gnu.h: New file.
2357 * config/c_locale_gnu.cc: New file. Non-inline member functions
2358 for named locales, gnu-specific.
2359 * config/c_locale_generic.h: New file.
2360 * config/c_locale_generic.cc: New file. Non-inline member
2361 functions for named locales, generic version.
2362 * docs/html/configopts.html: Add documentation on new options.
2364 * include/bits/locale_facets.h (class _Messages): Remove.
2365 (class _Moneypunct): Remove.
2366 * src/locale-inst.cc: Remove.
2368 * include/bits/locale_facets.h (class _Collate): Remove.
2369 * src/locale-inst.cc (std): Remove.
2370 * src/locale.cc: And here.
2372 * include/bits/localefwd.h (locale::_M_coalesce): New
2373 function. Correctly put together multi-name locales.
2374 (_Impl(const _Impl&, category, size_t)): Remove.
2376 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2378 (_M_normalize_category_names): Remove.
2379 (_M_replace_categories): Fix.
2381 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2382 (locale::_Impl::_M_construct_ctype): Remove.
2383 (locale::_Impl::_M_construct_monetary): Remove.
2384 (locale::_Impl::_M_construct_numeric): Remove.
2385 (locale::_Impl::_M_construct_time): Remove.
2386 (locale::_Impl::_M_construct_messages): Remove.
2388 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2389 (_Use_facet_failure_handle): Remove.
2390 * src/locale.cc: Remove definitions.
2391 * src/locale-inst.cc: And here.
2393 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2395 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2396 create and error-check underlying locale object.
2397 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2398 tearing down underlying locale object.
2399 * include/bits/localefwd.h (locale::facet): Declare.
2400 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2401 correctness, as glibc apparently has incorrect info in it. Test
2402 with it when it works again.....
2404 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2405 Remove. Number of categories is fixed at six, so just simplify and
2406 make this an array of strings.
2407 (locale::_Impl::_M_has_name): Remove.
2408 (locale::_Impl::_M_name): Remove.
2409 (locale::_Impl::_M_category_names): Turns into...
2410 (locale::_Impl::_M_names): ...this.
2411 (locale::_Impl::_M_has_same_name()): New function.
2412 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2413 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2415 * src/locale.cc (locale::name()): Construct mangled name
2416 accurately reflecting combined locale categories.
2418 * src/locale.cc (locale::classic()): Don't initialize here.
2419 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2420 __refs, bool __has_name, string __str): Do it here.
2422 * include/bits/localefwd.h: _S_categories_num to
2423 _S_num_categories. _S_facets_num to _S_num_facets.
2424 (locale::id::id()): Explicitly set _M_index to zero.
2425 * src/locale.cc: Same.
2427 * src/locale.cc: (locale::locale(const char*)): Construct named
2430 * src/locale.cc: Remove numpunct_byname ctors.
2431 * testsuite/22_locale/numpunct_byname.cc: New file.
2432 * testsuite/22_locale/numpunct.cc: New file.
2434 * include/bits/localefwd.h (class locale): Change data members to
2435 protected, from private.
2436 (_Impl::_M_get_c_locale): Add member function.
2437 (locale::facet::_M_get_global_impl()): Add member function.
2438 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2439 a __c_locale pointer.
2440 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2442 * testsuite/22_locale/members.cc: New file, test name and combine.
2444 * include/bits/locale_facets.h (class numpunct): Remove class
2445 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2447 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2448 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2449 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2450 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2451 * testsuite/22_locale/numpunct_char_members.cc: New file.
2453 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2455 * testsuite/README: Add more comment.
2456 * testsuite/lib/libstdc++.exp: Tweak comment.
2458 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2460 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2462 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2464 * testsuite/21_strings/inserters_extractors.cc: Remove
2465 explicit reference to 'testsuite/'.
2467 2001-01-25 Richard Henderson <rth@redhat.com>
2469 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2470 bits. Fixes Tru64 build issues.
2472 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2474 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2475 (use ${MAKE-make}, not ${MAKE:-make}).
2476 * aclocal.m4, configure: Regenerate.
2478 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2480 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2483 * src/Makefile.am (sources): Add globals.cc.
2484 * src/Makefile.in: Regenerated.
2485 * src/globals.cc: New file.
2486 * src/ios.cc (cin): Don't define here, just declare extern.
2495 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2497 * include/bits/std_iterator.h: Do not include stl_relops.h.
2498 * include/bits/std_numeric.h: Ditto.
2499 * include/bits/stl_algobase.h: Ditto.
2500 * include/bits/stl_relops.h: Add comment warning about problems.
2502 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2504 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2505 in testcases. Prepare for the DejaGnu based framework.
2506 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2507 directory -- it is now mkcheck working directory.
2508 * tests_flags.in: Remove reference to $(top_srcdir). Use
2510 * Makefile.am (check, check-install): Change mkcheck invocation
2512 * Makefile.in: Regenerate.
2514 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2516 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2517 (__always_swap): Likewise.
2519 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2521 * libsupc++/exception_support.cc (__terminate_func): Remove
2523 (__terminate_func_ptr): New typedef.
2524 (__terminate, __terminate_set_func): New extern function
2526 (std::terminate): Use __terminate function.
2527 (std::set_terminate): Use __terminate_set_func function.
2529 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2531 * configure.target: Just use os_include_dir always.
2532 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2533 Link atomicity files and ctype files here.
2534 * configure: Regenerate.
2535 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2536 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2537 * aclocal.m4: Regenerate.
2539 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2541 * configure.in: Place definition of MULTISUBDIR in
2542 libsupc++/Makefile as is done for src/Makefile.
2543 * configure: Regenerate.
2545 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2547 * acinclude.m4: Cosmetic changes only.
2548 * aclocal.m4: Regenerated.
2549 * configure: Regenerated.
2550 * configure.target: Update documented list of changed variables.
2551 * docs/html/install.html: Fix typo.
2552 * docs/html/20_util/howto.html: More notes on auto_ptr.
2553 * docs/html/27_io/howto.html: More notes on streabufs.
2554 * docs/html/faq/index.html: Add rel_ops problem and mention the
2555 DEC as(1) .subsection difficulty.
2556 * docs/html/faq/index.txt: Regenerated.
2558 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2560 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2561 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2562 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2563 its already provided in config.target.
2564 * aclocal.m4: Regenerated.
2565 * configure: Likewise.
2566 * configure.target: Set ctype_include_dir for lots of systems.
2567 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2568 * libsupc++/Makefile.in: Regenerated.
2570 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2572 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2575 * testsuite/README: Add comment.
2577 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2579 * docs/html/configopts.html: Update for current status. Fix HTML.
2580 * docs/html/install.html: Update for current status.
2582 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2584 * testsuite/libstdc++.tests/tests.exp: New file.
2585 * testsuite/lib/libstdc++.exp: Itou.
2586 * testsuite/README: Itou.
2588 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2590 * tests_flags.in: Just output the bare minimum to run tests.
2591 Let's the caller do its own arrangement.
2593 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2596 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2598 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2601 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2603 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2605 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2607 * mkcheck.in: Construct file names that match $objdir structure.
2608 * testsuite/27_io/filebuf_members-1.txt: New file.
2609 * testsuite/27_io/ifstream_members-1.txt: New file.
2610 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2612 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2613 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2615 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2617 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2619 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2622 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2623 * src/ios.cc (ios_base::failure): Make definitions match.
2624 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2625 (class bad_cast): Same.
2626 * libsupc++/exception (class exception): Add throw specs.
2627 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2628 (set_unexpected): Same.
2629 (uncaught_exception): Same.
2632 * docs/html/17_intro/C++STYLE (classname): Fix.
2634 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2636 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2637 Use it do explicitly instantiate predicate<T> and value<T> for
2640 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2642 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2643 uninitialized thinko in last change.
2645 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2647 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2650 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2652 * docs/html/17_intro/C++STYLE (classname): Add more existing
2653 and stylish patterns.
2656 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2657 failbit if the state of the stream is not good.
2658 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2659 * testsuite/27_io/istream_manip.cc (test01): Modify.
2662 reported by Paolo Carlini <pcarlini@unitus.it>
2663 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2664 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2667 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2668 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2669 (xsgetn): Same. Simplify.
2670 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2672 reported by Larry Evans <jcampbell3@prodigy.net>
2673 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2674 equality with eof on returned value from overflow.
2676 2001-01-14 Andreas Jaeger <aj@suse.de>
2678 * libio/libio.h: Add test for glibc 2.0.
2680 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2682 * config/os/djgpp/bits/*: Fix dates.
2684 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2685 _CharT* __end, _CharT __c): Remove.
2686 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2687 * include/bits/char_traits.h: Tweak.
2689 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2691 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2692 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2694 * aclocal.m4: regenerated.
2695 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2696 * configure: regenerated.
2697 * config/os/djgpp, config/os/djgpp/bits: new directories.
2698 * config/os/djgpp/bits/ctype_base.h,
2699 config/os/djgpp/bits/ctype_inline.h,
2700 config/os/djgpp/bits/ctype_noninline.h,
2701 config/os/djgpp/bits/os_defines.h: new files.
2703 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2705 * include/c_std/bits/std_cstdio.h: Undef printf.
2707 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2709 * src/ios.cc: Fix typo: change cout->wcout.
2711 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2712 * src/Makefile.in: Regenerate.
2714 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2716 * include/bits/std_complex.h: Fix a typo.
2718 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2721 Fixes for libstdc++/1576
2722 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2723 file, move contents into....
2724 * src/ios.cc: ...Here. Put defines for iostreams objects and
2725 initialization routines into one file to simplify DSO interaction.
2726 * include/bits/std_iostream.h: Touch.
2727 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2728 * src/Makefile.am (sources): Remove stdstreams.cc.
2729 * src/Makefile.in: Regenerate.
2731 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2733 * tests_flags.in (check_directory): Fix typo.
2735 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2737 * include/bits/std_complex.h: Fix a typo.
2739 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2741 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2742 code path:) Remove magic constants and restructure to handle
2743 ctype.h bit mask layout changes more gracefully. (Make fast
2744 code path:) Use __maskrune (), if available.
2745 (is): Remove special case for digit and xdigit masks.
2747 2001-01-09 Robert Lipe <robertlipe@usa.net>
2749 * include/c_std/bits/std_ctime.h: Undefine difftime.
2751 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2753 * src/gen-num-limits.cc (signal_adapter): New template function.
2754 (signal_handler): Use it, instead of signal.
2755 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2756 require both tests to trap to set trap_flag.
2758 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2760 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2761 initialize mbstate_t member, name offset data members *off, not pos.
2762 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2764 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2766 reported by Chris G. Demetriou <cgd@sibyte.com>
2767 * configure.in: Change -linux-* to -linux*.
2768 * configure: Regenerate.
2770 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2772 Fix 27_io/filebuf_members.cc
2773 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2774 const string& __name, category __cat, size_t __refs): Set
2775 _M_has_name with _M_name.
2776 * include/bits/localefwd.h (locale::operator!=): Protect member
2777 function call with this->.
2778 * src/locale.cc (locale::operator==): Make fast checks first.
2779 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2781 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2783 * src/ios.cc (ios_base::Init::Init): Initialize here.
2784 (ios_base::sync_with_stdio): Set here.
2786 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2788 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2789 systems that support it, call dup() before fdopen().
2791 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2793 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2794 * testsuite/17_intro/header_cwctype.cc (main): New file.
2796 * src/Makefile.am (base_headers): Change.
2797 * include/bits/std_string.h: And here.
2798 * include/bits/string.tcc: Tweaks, move to...
2799 * include/bits/basic_string.tcc: ...Here.
2800 * src/string-inst.cc: Simplify, just instantiate the whole class,
2801 not member-by-member.
2803 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2805 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2806 * aclocal.m4: Regenerate.
2807 * configure: Regenerate.
2809 * include/bits/c++config (__GLIBCPP__): Bump version number.
2811 * ChangeLog: Start new log for year 2001
2812 * ChangeLog-2000: New file.
2814 * docs/html/configopts.html: Make sure default values are current,
2817 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2819 * include/c_std/bits/std_cwchar.h: Same.
2820 * testsuite/17_intro/header_cwchar.cc: Same.
2821 * include/c_std/bits/std_ctime.h: Same.
2822 * testsuite/17_intro/header_ctime.cc: Same.
2823 * include/c_std/bits/std_cstdlib.h: Same.
2824 Clean up undefs, make consistent with cwchar and cmath, etc.
2825 * testsuite/17_intro/header_cstdlib.cc: Same.
2826 * include/c_std/bits/std_cstdio.h: Same here.
2827 * testsuite/17_intro/header_cstring.cc: Same.
2828 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2829 * testsuite/17_intro/header_cstring.cc: New file. Check for
2830 size_t in namespace std.
2832 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2833 * acconfig.h (HAVE_MBSTATE_T): Add.
2834 * config.h.in: Regenerate.
2835 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2837 * aclocal.m4: Regenerate.
2838 * configure: Regenerate.
2839 * testsuite/17_intro/headers_c++.cc: New file.
2840 * testsuite/17_intro/headers_c.cc: Small changes.
2842 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2844 * tests_flags.in: Fix typo in usage.
2846 * tests_flags.in: Set target specific LIBS for cygwin.