1 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4 * testsuite/26_numerics/fabs_inline.cc (main): New test.
6 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
9 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
11 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
12 (libstdc++-v3-finish): Remove.
13 (libstdc++-v3_exit): Remove.
15 2001-05-22 Phil Edwards <pme@sources.redhat.com>
17 * docs/html/documentation.html: Point to doxygen output.
19 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
21 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
23 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
24 arguments to be non-null.
25 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
26 try allocations if allocated size is greater than zero.
27 (filebuf::_M_filebuf_init): Change to
28 (filebuf::_M_allocate_file): Which is what it does now.
29 (filebuf::_M_allocate_bufers): Change to
30 (filebuf::_M_allocate_internal_buffer): This, and create
31 (filebuf::_M_allocate_pback_buffer): New.
32 (filebuf::_M_destroy_internal_buffer): New.
33 (filebuf::_M_buf_allocated): New data member.
34 (filebuf::setbuf): Use new logic, allow use of external buffer.
35 * testsuite/27_io/stringbuf_virtuals.cc: New file.
36 * testsuite/27_io/filebuf_virtuals.cc: New file.
38 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
40 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
42 (strchr): Same, but to __glibcpp_strchr.
46 * include/c_std/bits/std_cwchar.h (wcschr): Same.
52 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
54 * testsuite/21_strings/c_strings.cc (main): Fix.
56 2001-05-19 Phil Edwards <pme@sources.redhat.com>
58 * acinclude.m4: Fix --help spacing, correct comments.
59 * aclocal.m4: Regenerate.
60 * configure: Regenerate.
61 * mkcheck.in: Add usage comments.
62 * docs/html/documentation.html: Point to doxygen'd tarball.
64 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
66 * testsuite/README: Add notes.
68 * src/Makefile.am (libstdc++.INC): Remove.
69 * src/Makefile.in: Regenerate.
71 Phil Edwards <pedwards@disaster.jaj.com>
72 * mkcheck.in: Add missing '#'.
74 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
76 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
77 appropriately for remote testing and testing installed files without
80 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
82 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
83 amd glibcpp_prefixdir with absolute paths.
85 * include/bits/c++config (__GLIBCPP__): Bump.
86 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
88 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
90 * include/bits/std_valarray.h (valarray<>::operator[] const):
91 Return a const reference.
92 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
94 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
96 * configure.target (ATOMICITYH): Actually use AIX-specific code on
97 earlier versions of AIX 4.*.
99 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
101 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
102 output_file based on the name of the testcase.
104 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
106 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
107 gluefile and use it if needs_status_wrapper is set.
109 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
111 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
114 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
116 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
117 on earlier versions of AIX.
119 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
121 * testsuite_flags.in (query): Add backwards, ext directories.
123 2001-05-15 Mark Mitchell <mark@codesourcery.com>
125 * porting.texi: Correct documentation about handling
126 _LARRGEFILE_SOURCE and its ilk.
127 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
128 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
130 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
131 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
133 2001-05-15 Zack Weinberg <zackw@stanford.edu>
135 * testsuite/21_strings/inserters_extractors.cc,
136 testsuite/27_io/istream_unformatted.cc,
137 testsuite/27_io/stringstream.cc:
138 Replace multi-line string constants with C89-style
139 concatenated string constants.
141 2001-05-14 Richard Henderson <rth@redhat.com>
143 * mknumeric_limits: Build with -fno-exceptions.
145 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
147 Switch over to new harness.
148 * testsuite_flags.in: Tweaks via Gaby.
149 * testsuite/Makefile.am: Change tool to libstdc++-v3.
150 (EXPECT): Quote directly.
152 * configure.in: Output testsuite_flags.
153 * acinclude.m4: Substitute src, bld, and prefix dirs.
154 Remove glibcpp_expect, glibcpp_runtestflags.
155 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
156 * mkcheck.in: Port to new interface.
158 * aclocal.m4: Regerate.
159 * configure: Regnerate.
160 * Makefile.in: Regnerate.
161 * */Makefile.in: Regenerate.
163 * tests_flags.in: Remove.
164 * testsuite/lib/libstdc++.exp: Remove.
165 * testsuite/libstdc++.tests/tests.exp: Remove.
167 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
169 * configure.target: Remove detection of AIX pthread multilib, now
170 obtained from `gcc -v'.
172 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
174 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
175 size. Add hpux case for HP size.
177 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
179 * testsuite_flags.in: New, simplified interface.
180 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
181 * testsuite/libstdc++-v3.dg: Add.
182 * testsuite/libstdc++-v3.dg/dg.exp: Add.
184 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
186 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
187 * testsuite/config/default.exp: Update bugs email address.
189 2001-05-11 Richard Henderson <rth@redhat.com>
191 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
192 all pointer encoding logic.
193 (struct lsda_header_info): Add ttype_base.
194 (get_ttype_entry): Use it instead of a context.
195 (check_exception_spec): Likewise.
196 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
197 the c++ exception header for __cxa_call_unexpected.
198 (__cxa_call_unexpected): Use it.
200 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
202 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
203 libgloss_link_flags to find crt0.o for targets that use libgloss
205 Change LDFLAGS to LIBS.
206 Consistently name procedures libstdc++-XXX.
207 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
209 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
211 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
216 * include/c_std/bits/std_cwchar.h (wcschr): Same.
221 * testsuite/21_strings/c_strings.cc: Add tests.
223 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
226 * include/bits/std_fstream.h (basic_filebuf): Change signature.
227 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
228 to int_type, pass in buffer size info.
229 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
230 unbuffered situation.
231 (underflow): Remove codecvt bits for the time being.
232 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
233 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
234 values from iterators, clean.
235 * src/locale.cc: Ditto.
236 * include/bits/sbuf_iter.h: Format.
237 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
238 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
239 * testsuite/27_io/filebuf.cc: Tweaks.
240 * testsuite/27_io/filebuf_members.cc: Tweaks.
242 2001-05-07 Mark Mitchell <mark@codesourcery.com>
244 * config/os/solaris/solaris2.7/bits/os_defines.h
245 (_LARGEFILE_SOURCE): Define it.
247 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
249 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
250 -prefer-non-pic depending on whether libtool has shared libraries
252 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
253 $(LIBSUPCXX_PICFLAGS).
254 * configure, */Makefile.in: Rebuilt.
256 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
258 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
259 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
261 * include/bits/std_sstream.h (stringbuf): Leak
263 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
265 2001-05-01 Tom Browder <tbrowder@home.com>
267 * docs/html/ext/howto.html: Fix typo.
269 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
271 * testsuite/libstdc++.tests/tests.exp: Add comment.
273 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
275 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
277 2001-04-30 Mark Mitchell <mark@codesourcery.com>
279 * porting.texi: Use the GFDL.
281 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
284 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
285 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
288 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
291 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
293 2001-04-28 Phil Edwards <pme@sources.redhat.com>
295 * docs/doxygen/run_doxygen: Minor tweaks.
296 * docs/doxygen/style.css: New file.
297 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
298 latest parameters available. Use style.css.
300 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
302 * docs/doxygen/mainpage.doxy: New.
303 * docs/doxygen/user.cfg.in: Change default configuration. Single
306 2001-04-26 Mark Mitchell <mark@codesourcery.com>
308 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
309 Indicate obsolete nature of thelist for G++ 3.0.
311 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
313 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
314 target_thread_file with `gcc -v'.
315 * aclocal.m4, configure: Rebuilt.
317 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
319 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
320 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
321 * include/c_std/bits/std_cwchar.h (std): Same.
322 * acconfig.h (std): Remove c99 injection into std.
323 * config.h.in: Regenerate.
325 * testsuite/README: Fix typo.
327 * include/bits/codecvt.h: Remove warnings.
329 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
331 * include/ext/slist: Include required header files.
333 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
335 * include/c_std/bits/std_cerrno.h (errno): Define macro from
336 identifier declared with external linkage, if needed.
337 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
338 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
340 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
342 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
343 re-configures find the build compiler.
344 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
346 * aclocal.m4: Regenerate.
347 * configure: Regenerate.
349 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
351 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
352 support is enabled correctly before long long is activated.
353 * aclocal.m4: Regenerate.
354 * configure: Regenerate.
356 * include/backward/backward_warning.h: Format correctly.
358 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
359 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
360 * testsuite/26_numerics/c99_macros.cc: Remove.
362 2001-04-20 Phil Edwards <pme@sources.redhat.com>
364 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
367 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
369 * acconfig.h (_GLIBCPP_USE_C99): Add.
370 * config.h.in: Regenerate.
371 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
373 * aclocal.m4: Regenerate.
374 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
375 * configure: Regenerate.
376 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
377 * configure: Regenerate.
378 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
380 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
382 * include/c_std/bits/std_cstdlib.h: Same.
383 * docs/html/configopts.html: Update.
384 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
386 (test_c99_classify): Add.
387 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
388 (_ISOC99_SOURCE): Remove.
390 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
391 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
392 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
393 * aclocal.m4: Regenerate.
394 * configure: Regenerate.
396 2001-04-19 Phil Edwards <pme@sources.redhat.com>
398 * Makefile.am (doxygen): Assume script is missing execute perms.
399 * Makefile.in: Regenerated.
400 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
402 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
404 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
406 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
408 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
409 * testsuite/23_containers/set_operators.cc: Same.
411 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
413 (__GLIBCPP__): Bump from value of last release.
414 * include/bits/concept_check.h: Default to off, edit comments.
415 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
416 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
417 * src/Makefile.in: Regenerate.
419 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
421 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
422 Properly uglify member.
424 2001-04-13 Phil Edwards <pme@sources.redhat.com>
426 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
430 2001-04-13 Phil Edwards <pme@sources.redhat.com>
432 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
433 * include/bits/concept_check.h: Uglify.
434 * include/bits/stl_algo.h: Likewise.
435 * include/bits/stl_algobase.h: Likewise.
436 * include/bits/stl_deque.h: Likewise.
437 * include/bits/stl_heap.h: Likewise.
438 * include/bits/stl_iterator_base_funcs.h: Likewise.
439 * include/bits/stl_list.h: Likewise.
440 * include/bits/stl_map.h: Likewise.
441 * include/bits/stl_multimap.h: Likewise.
442 * include/bits/stl_multiset.h: Likewise.
443 * include/bits/stl_numeric.h: Likewise.
444 * include/bits/stl_queue.h: Likewise.
445 * include/bits/stl_set.h: Likewise.
446 * include/bits/stl_stack.h: Likewise.
447 * include/bits/stl_vector.h: Likewise.
448 * include/ext/hash_map: Likewise.
449 * include/ext/hash_set: Likewise.
450 * include/ext/slist: Likewise.
452 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
454 * testsuite/23_containers/set_operators.cc: Just try to compile.
456 * testsuite/23_containers/map_operators.cc: Same.
458 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
460 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
462 (dg-test): Revert rth's change.
464 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
466 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
467 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
469 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
471 * testsuite/README: Add DejaGnu specific documentation.
473 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
475 * acinclude.m4: AC_CHECK_TOOL for expect.
476 * aclocal.m4: Regenerate.
477 * configure: Regenerate.
478 * testsuite/Makefile.am (RUNTEST): Use substituted.
481 * configure.in: Remove xcompiling substitution.
482 * tests_flags.in (CROSS_LIB_PATH): Remove.
483 (xcompiling): Remove.
484 (CXX): Use substituted CXX.
486 2001-04-11 Richard Henderson <rth@redhat.com>
488 * testsuite/lib/libstdc++.exp: Specify path for output_file.
490 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
492 * include/bits/std_valarray.h(valarray<>::operator[]): Make
495 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
497 * testsuite/25_algorithms/equal.cc: New test.
499 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
501 * stl_algobase.h (std::equal): avoid use of possibly-undefined
502 operator != (one line patch).
504 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
506 * include/backward/backward_warning.h: Re-enable.
508 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
509 Alexandre Oliva <aoliva@redhat.com>
511 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
513 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
515 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
516 * testsuite/26_numerics/c99_macros.cc: Add test.
518 2001-04-06 Phil Edwards <pme@sources.redhat.com>
520 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
521 * docs/html/faq/index.txt: Regenerated.
523 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
525 * include/backward/backward_warning.h: Temporarily disable until
526 g++ testsuite changes go in.
527 * tests_flags.in (CROSS_LIB_PATH): Add.
529 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
531 Warn when using backward headers.
532 * include/backward/algo.h: Include warning file.
533 * include/backward/vector.h: Same.
534 * include/backward/tree.h: Same.
535 * include/backward/tempbuf.h: Same.
536 * include/backward/strstream: Same.
537 * include/backward/streambuf.h: Same.
538 * include/backward/stream.h: Same.
539 * include/backward/stack.h: Same.
540 * include/backward/slist.h: Same.
541 * include/backward/set.h: Same.
542 * include/backward/rope.h:
543 * include/backward/queue.h: Same.
544 * include/backward/pair.h: Same.
545 * include/backward/ostream.h: Same.
546 * include/backward/new.h: Same.
547 * include/backward/multiset.h: Same.
548 * include/backward/multimap.h: Same.
549 * include/backward/map.h: Same.
550 * include/backward/list.h: Same.
551 * include/backward/iterator.h: Same.
552 * include/backward/istream.h: Same.
553 * include/backward/iostream.h:
554 * include/backward/iomanip.h:
555 * include/backward/heap.h: Same.
556 * include/backward/hashtable.h:
557 * include/backward/hash_set.h:
558 * include/backward/hash_map.h:
559 * include/backward/function.h:
560 * include/backward/fstream.h:
561 * include/backward/deque.h:
562 * include/backward/defalloc.h: Same.
563 * include/backward/complex.h: Same.
564 * include/backward/bvector.h:
565 * include/backward/alloc.h:
566 * include/backward/algobase.h: Same.
568 * include/backward/backward_warning.h: New file.
569 * src/Makefile.am (backward_headers): Add backward_warning.h
570 * src/Makefile.in: Regenerate.
572 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
574 * src/Makefile.am (myinstalldirs): Make sure backward directory is
576 (myinstallheaders): Install backward headers in backward directory.
577 * src/Makefile.in: Regenerate.
579 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
581 Prepare for libstdc++-2.92.
582 * docs/html/17_intro/RELEASE-NOTES (New): Update.
583 * docs/html/configopts.html: Fix formatting.
584 * README (file): Updates.
585 * include/bits/c++config (__GLIBCPP__): Update.
587 2001-04-05 Phil Edwards <pme@sources.redhat.com>
589 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
591 2001-04-04 Phil Edwards <pme@sources.redhat.com>
593 * docs/doxygen/user.cfg.in: Extract all non-private members;
594 reduce confusing documentation output.
596 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
598 * include/backward/fstream.h: Add missing semicolons.
600 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
602 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
603 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
604 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
605 (ios_base::Init::_S_ios_create): New.
606 (ios_base::Init::_S_ios_destroy): New.
607 * include/bits/std_fstream.h: Change ctor args.
608 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
609 (ios_base::Init::~Init): Use _S_ios_destroy.
610 (ios_base::sync_with_stdio): Use new members.
611 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
614 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
616 * include/backward/fstream.h: Expose streampos to global
619 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
621 * include/bits/stl_iterator_base_types.h: Fix typo
623 2001-04-03 Andreas Schwab <schwab@suse.de>
625 * include/backward/fstream.h: Define filebuf and wfilebuf.
627 2001-04-02 Phil Edwards <pme@sources.redhat.com>
629 New concept checking implementation.
630 * docs/html/19_diagnostics/howto.html: Document.
631 * docs/html/17_intro/concept_check.diff: New file, for reference.
632 * include/bits/boost_concept_check.h: New file from Boost.
633 * include/bits/c++config: Update comments.
635 * include/bits/concept_check.h: New file.
636 * include/bits/concept_checks.h: Removed.
637 * include/bits/container_concepts.h: Removed.
638 * include/bits/sequence_concepts.h: Removed.
639 * include/bits/stl_iterator_base.h: Removed; split into...
640 * include/bits/stl_iterator_base_funcs.h: ...this new file...
641 * include/bits/stl_iterator_base_types.h: ...and this new file.
643 * include/bits/sbuf_iter.h: Update to use new implementation.
644 * include/bits/std_iterator.h: Likewise.
645 * include/bits/std_memory.h: Likewise.
646 * include/bits/stl_algo.h: Likewise.
647 * include/bits/stl_algobase.h: Likewise.
648 * include/bits/stl_construct.h: Likewise.
649 * include/bits/stl_deque.h: Likewise.
650 * include/bits/stl_heap.h: Likewise.
651 * include/bits/stl_list.h: Likewise.
652 * include/bits/stl_map.h: Likewise.
653 * include/bits/stl_multimap.h: Likewise.
654 * include/bits/stl_multiset.h: Likewise.
655 * include/bits/stl_numeric.h: Likewise.
656 * include/bits/stl_queue.h: Likewise.
657 * include/bits/stl_set.h: Likewise.
658 * include/bits/stl_stack.h: Likewise.
659 * include/bits/stl_uninitialized.h: Likewise.
660 * include/bits/stl_vector.h: Likewise.
661 * include/ext/hash_map: Likewise.
662 * include/ext/hash_set: Likewise.
663 * include/ext/slist: Likewise.
664 * include/ext/stl_hashtable.h: Likewise.
666 * src/Makefile.am (base_headers): Update list of headers.
667 * Makefile.in: Regenerated.
668 * src/Makefile.in: Regenerated.
669 * libio/Makefile.in: Regenerated.
670 * libmath/Makefile.in: Regenerated.
671 * libsupc++/Makefile.in: Regenerated.
672 * testsuite/Makefile.in: Regenerated.
674 * docs/html/install.html: Update contact information.
675 * docs/html/17_intro/howto.html: Ditto.
676 * docs/html/18_support/howto.html: Ditto.
677 * docs/html/20_util/howto.html: Ditto.
678 * docs/html/21_strings/howto.html: Ditto.
679 * docs/html/22_locale/howto.html: Ditto.
680 * docs/html/23_containers/howto.html: Ditto.
681 * docs/html/24_iterators/howto.html: Ditto.
682 * docs/html/25_algorithms/howto.html: Ditto.
683 * docs/html/26_numerics/howto.html: Ditto.
684 * docs/html/27_io/howto.html: Ditto.
685 * docs/html/faq/index.html: Ditto, plus info on new checking code.
686 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
687 * docs/html/faq/index.txt: Regenerated.
689 2001-04-02 Zack Weinberg <zackw@stanford.edu>
691 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
692 messages with $which_library as well as $tool_flags and
693 ${dg-extra-tool-flags}. Factor out annotation text into
696 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
698 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
699 * include/c_std/bits/std_cwchar.h: Same.
700 * testsuite/21_strings/c_strings.cc: Add.
702 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
704 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
706 2001-04-01 Zack Weinberg <zackw@stanford.edu>
708 * tests_flags.in: Use test a = b, not test a == b which is not
711 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
713 * configure.target: Remove duplicate aix entry.
715 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
717 * include/ext/stl_bvector.h: Move to...
718 * include/bits/stl_vector.h: ...here.
719 * include/ext/bvector: Move to...
720 * include/backward/bvector.h: ...here.
721 * include/bits/std_vector.h: Change stl_bvector include.
722 * include/bits/std_queue.h: Remove bvector include.
723 * include/ext/tree: Insert using rb_tree, move to...
724 * include/backward/tree.h: ...here.
725 * include/backward/hash_map.h: Include ext/hash_map.
726 * include/backward/hash_set.h: Include ext/hash_set.
727 * include/backward/queue.h: New file.
728 * include/backward/stack.h: Edit.
729 * include/backward/algo.h: Same.
730 * include/backward/algobase.h: Same.
731 * include/backward/alloc.h: Same.
732 * include/backward/function.h: Same.
733 * include/backward/iomanip.h: Same.
734 * include/backward/istream.h: Same.
735 * include/backward/iterator.h: Same.
736 * include/backward/list.h: Same.
737 * include/backward/map.h: Same.
738 * include/backward/multimap.h: Same.
739 * include/backward/multiset.h: Same.
740 * include/backward/ostream.h: Same.
741 * include/backward/pair.h: Same
742 * include/backward/rope.h: Same.
743 * include/backward/set.h: Same.
744 * include/backward/stream.h: Same.
745 * include/backward/strstream.h: Same.
746 * include/backward/tempbuf.h: Same.
747 * src/Makefile.am (ext_headers): Edit.
748 * src/Makefile.in: Regenerate.
749 * testsuite/ext/headers.cc (main): Fix.
752 2001-03-30 Phil Edwards <pme@sources.redhat.com>
754 * tests_flags.in (LIBS): Pass correct path for installed testing.
756 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
758 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
759 * tests_flags.in (CXX): Construct here.
760 (static_fail): Don't remove compile.out. Format with spaces.
761 (INCLUDES): Deal with xcompiling.
762 * configure.in (xcompiling): Substitute.
763 * testsuite/Makefile.am: Snake libjava configury.
764 * testsuite/Makefile.in: Regenerate.
765 * testsuite/23_containers/map_operators.cc: Tweaks.
766 * testsuite/23_containers/set_operators.cc: Tweaks.
768 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
770 Enable dejagnu testing framework.
771 * configure.in: Generate testsuite/Makefile.
772 * configure: Regenerate.
773 * Makefile.am (check-install): Change rule from this...
774 (check-script-install): ...to this.
775 (check): Change rule from this...
776 (check-script):...to this.
777 * Makefile.in: Regenerate.
779 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
781 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
783 (LIBTOOL): Let automake take care of its definition.
784 * libsupc++/Makefile.in: Rebuilt.
786 2001-03-28 Richard Henderson <rth@redhat.com>
788 IA-64 ABI Exception Handling:
789 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
790 * configure.in: Use it.
791 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
792 * libsupc++/Makefile.am (sources): Update files list.
793 * libsupc++/Makefile.in: Regenerate.
794 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
795 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
796 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
797 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
798 * libsupc++/exception_support.cc: Remove.
799 * libsupc++/exception_support.h: Remove.
800 * libsupc++/pure.cc: Use std::terminate.
801 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
802 (__is_pointer): Remove.
803 * libsupc++/unwind-cxx.h: New file.
804 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
806 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
808 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
810 * src/Makefile.am (CXXLINK): Likewise.
811 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
813 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
815 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
817 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
819 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
822 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
824 * include/bits/basic_file.h (get_fileno): Remove.
826 (_M_cfile_created): Add.
827 (basic_file::basic_file(__c_file_type*, openmode): Add.
828 (basic_file::basic_file(int, const char*, openmode): Remove.
829 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
830 const char*, ios_base::openmode): Don't allocate
831 internal buffers. Turn off internal buffers.
832 (basic_filebuf::overflow): Remove test for null buffer.
833 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
834 * include/bits/streambuf.cc: Tweak.
835 * include/bits/std_ostream.h: Tweak.
836 * config/basic_file_libio.h: Same.
837 * config/basic_file_stdio.h: Same.
838 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
839 * testsuite/27_io/filebuf_members.cc: Tweaks.
840 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
842 2001-03-24 Phil Edwards <pme@sources.redhat.com>
844 * Makefile.am: New targets, doxygen and doxygen-maint.
845 * Makefile.in: Regenerated.
846 * docs/doxygen/run_doxygen: Finally implemented.
847 * docs/doxygen/maint.cfg.in: New file.
848 * docs/doxygen/user.cfg.in: New file.
850 2001-03-24 Phil Edwards <pme@sources.redhat.com>
852 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
853 * src/Makefile.am: Replace leading spaces with tabs on continuation
855 * aclocal.m4: Regenerated.
857 * Makefile.in: Ditto.
858 * src/Makefile.in: Ditto.
859 * libio/Makefile.in: Ditto.
860 * libmath/Makefile.in: Ditto.
861 * libsupc++/Makefile.in: Ditto.
863 2001-03-24 Phil Edwards <pme@sources.redhat.com>
865 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
866 concept-checking code and current status of same.
867 * docs/html/ext/howto.html: Ditto.
868 * docs/html/faq/index.html: Ditto.
869 * docs/html/faq/index.txt: Regenerated.
871 2001-03-24 Phil Edwards <pme@sources.redhat.com>
873 * include/bits/std_bitset.h: Include ostream and istream headers
876 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
878 * include/bits/ostream.tcc: Use __builtin_alloca.
880 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
882 * src/misc-inst.cc (__sink_unused_warning): Move to...
883 * src/locale-inst.cc (__sink_unused_warning): Move to...
884 * src/stl-inst.cc: Here.
885 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
888 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
890 * intclude/bits/basic_file.h: Fix typos in comments.
892 2001-03-20 Richard Henderson <rth@redhat.com>
894 * src/gen-num-limits.cc: Instantiate for wchar_t.
895 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
897 2001-03-20 Jason Merrill <jason@redhat.com>
899 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
900 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
901 * libsupc++/cxxabi.h: Declare it.
903 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
905 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
906 signal_func with an unspecified argument list.
908 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
910 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
912 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
914 * include/bits/basic_string.tcc (operator+): Fix thinko.
916 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
919 * include/bits/std_streambuf.h: Remove cached locale facets.
920 (basic_streambuf::_M_buf_fctype): Remove.
921 (basic_streambuf::~basic_streambuf): Remove here.
922 (basic_streambuf::basic_streambuf): Same.
923 (basic_streambuf::imbue): Same.
924 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
925 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
926 (basic_filebuf::~basic_filebuf()): Remove here.
927 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
928 (basic_filebuf::imbue): Same.
929 * include/bits/localefwd.h (_Count_ones): Remove.
930 (locale::_S_num_categories): Just use 6, since this doesn't
931 actually change, ever.
932 * include/bits/locale_facets.tcc (has_facet): Simplify.
934 * testsuite/27_io/filebuf.cc (test06): Add tests.
936 2001-03-13 Steve Ellcey <sje@cup.hp.com>
938 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
939 match HP-UX ctype.h header file.
941 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
943 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
944 duplicate definitions of __dj_ctype_*
946 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
948 * libsupc++/new: Remove pragma interface.
949 * libsupc++/typeinfo: Same.
950 * libsupc++/exception: Same.
951 * libsupc++/new_handler.cc: Remove pragma implementation.
952 (bad_alloc::~bad_alloc()): Add.
953 * libsupc++/exception_support.cc: Same.
954 (exception::~exception): Add.
955 (bad_exception::~bad_exception): Add.
956 * libsupc++/tinfo.cc: Same.
957 (bad_cast::~bad_cast): Add.
958 (bad_typeid::~bad_typeid): Add.
960 2001-03-13 Phil Edwards <pme@sources.redhat.com>
962 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
964 2001-03-12 Felix Lee <flee@redhat.com>
966 * mkcheck.in: workaround for bash 2.01 IFS bug.
968 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
970 Fixups for -fno-for-scope
971 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
972 * src/valarray-inst.cc (__gslice_to_index): Same.
974 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
976 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
977 prior to trapping signal (UnixWare 7 workaround).
979 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
981 * include/backward/hashtable.h: Same.
982 * include/backward/rope.h: Fix include.
984 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
986 * include/backward/vector.h: Include std_vector.h.
988 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
989 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
992 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
994 * include/ext/stl_hashtable.h: Change type of __n to size_t
995 * include/backward/bvector.h: Include <ext/stl_bvector.h>
997 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
999 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1000 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1001 Use streamsize, not int_type.
1003 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1005 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1008 2001-03-08 Andreas Schwab <schwab@suse.de>
1010 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1012 * aclocal.m4, configure: Regenerated.
1014 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1016 * include/bits/std_iosfwd.h: Remove string forward decls here.
1017 * include/bits/stringfwd.h: Add forward decls for char_traits
1019 * config/c_io_libio.h (wstreamoff): Delete.
1020 * config/c_io_stdio.h (wstreamoff): Same.
1021 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1022 char_traits<wchar_t>::off_type.
1023 Remove duplicate typedefs.
1024 * include/bits/fpos.h: Define streampos/wstreampos here.
1025 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1028 Changeup output files.
1029 * testsuite/27_io/istream_unformatted.cc: Change output files.
1030 * testsuite/27_io/istream_seeks-1.txt: Add.
1031 * testsuite/27_io/istream_seeks-2.tst: Add.
1032 * testsuite/27_io/istream_seeks-1.tst: Add.
1033 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1034 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1035 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1037 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1039 Add Irix 5.2, 6.3 support.
1040 * config/os/irix/bits: Renamed to...
1041 * config/os/irix/irix6.5/bits: this.
1042 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1043 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1044 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1045 * config/os/irix/irix5.2/bits/ctype_noninline.h
1046 (ctype<char>::ctype): Initialize _M_table with __ctype.
1047 * configure.target: Adjust.
1049 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1052 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1053 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1055 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1056 (*__pf)(__ios_type&)): Same.
1057 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1058 (*__pf)(ios_base&))): Same.
1059 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1060 * testsuite/27_io/istream_manip.cc (test01): Fix.
1062 2001-03-06 Nathan Myers <ncm@cantrip.org>
1063 Benjamin Kosnik <bkoz@redhat.com>
1065 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1066 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1067 * testsuite/17_intro/header_cassert.cc (test01): New file.
1068 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1069 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1070 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1072 2001-03-05 scott snyder <snyder@fnal.gov>
1075 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1077 * include/c_std/bits/std_cstdlib.h: ... to here.
1078 * testsuite/17_intro/header_cstdlib.cc: Add test.
1080 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1082 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1084 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1086 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1087 definition. Replace enum with static const variables.
1089 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1090 throw specification, fix typos, use <static_cast>.
1091 (ctype<char>::scan_is): remove throw specification.
1092 (ctype<char>::scan_not): likewise.
1094 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1095 (ctype<char>::do_toupper(char)): use <static_cast>.
1096 (ctype<char>::do_toupper(char *, const char *)): likewise.
1097 (ctype<char>::do_tolower(char)): likewise.
1098 (ctype<char>::do_tolower(char *, const char *)): likewise.
1100 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1102 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1103 * include/backward/algo.h: Use std not __STD. Remove unneeded
1104 macros and "never happens" code. Adjust to C++STYLE guidelines.
1105 * include/backward/algobase.h: Likewise.
1106 * include/backward/alloc.h: Likewise.
1107 * include/backward/bvector.h: Likewise.
1108 * include/backward/deque.h: Likewise.
1109 * include/backward/function.h: Likewise.
1110 * include/backward/hash_map.h: Likewise.
1111 * include/backward/hash_set.h: Likewise.
1112 * include/backward/hashtable.h: Likewise.
1113 * include/backward/heap.h: Likewise.
1114 * include/backward/iterator.h: Likewise.
1115 * include/backward/list.h: Likewise.
1116 * include/backward/map.h: Likewise.
1117 * include/backward/multimap.h: Likewise.
1118 * include/backward/multiset.h: Likewise.
1119 * include/backward/pair.h: Likewise.
1120 * include/backward/rope.h: Likewise.
1121 * include/backward/set.h: Likewise.
1122 * include/backward/slist.h: Likewise.
1123 * include/backward/stack.h: Likewise.
1124 * include/backward/strstream: Likewise.
1125 * include/backward/tempbuf.h: Likewise.
1126 * include/backward/tree.h: Likewise.
1127 * include/backward/vector.h: Likewise.
1128 * include/bits/basic_ios.h: Likewise.
1129 * include/bits/basic_ios.tcc: Likewise.
1130 * include/bits/basic_string.h: Likewise.
1131 * include/bits/c++config: Likewise.
1132 * include/bits/concept_checks.h: Likewise.
1133 * include/bits/fpos.h: Likewise.
1134 * include/bits/fstream.tcc: Likewise.
1135 * include/bits/functexcept.h: Likewise.
1136 * include/bits/ios_base.h: Likewise.
1137 * include/bits/istream.tcc: Likewise.
1138 * include/bits/mask_array.h: Likewise.
1139 * include/bits/ostream.tcc: Likewise.
1140 * include/bits/pthread_allocimpl.h: Likewise.
1141 * include/bits/sbuf_iter.h: Likewise.
1142 * include/bits/slice.h: Likewise.
1143 * include/bits/slice_array.h: Likewise.
1144 * include/bits/sstream.tcc: Likewise.
1145 * include/bits/std_bitset.h: Likewise.
1146 * include/bits/std_fstream.h: Likewise.
1147 * include/bits/std_iomanip.h: Likewise.
1148 * include/bits/std_ios.h: Likewise.
1149 * include/bits/std_istream.h: Likewise.
1150 * include/bits/std_iterator.h: Likewise.
1151 * include/bits/std_memory.h: Likewise.
1152 * include/bits/std_ostream.h: Likewise.
1153 * include/bits/std_sstream.h: Likewise.
1154 * include/bits/std_streambuf.h: Likewise.
1155 * include/bits/std_string.h: Likewise.
1156 * include/bits/std_valarray.h: Likewise.
1157 * include/bits/stl_algo.h: Likewise.
1158 * include/bits/stl_algobase.h: Likewise.
1159 * include/bits/stl_alloc.h: Likewise.
1160 * include/bits/stl_construct.h: Likewise.
1161 * include/bits/stl_deque.h: Likewise.
1162 * include/bits/stl_function.h: Likewise.
1163 * include/bits/stl_heap.h: Likewise.
1164 * include/bits/stl_iterator.h: Likewise.
1165 * include/bits/stl_iterator_base.h: Likewise.
1166 * include/bits/stl_list.h: Likewise.
1167 * include/bits/stl_map.h: Likewise.
1168 * include/bits/stl_multimap.h: Likewise.
1169 * include/bits/stl_multiset.h: Likewise.
1170 * include/bits/stl_numeric.h: Likewise.
1171 * include/bits/stl_pair.h: Likewise.
1172 * include/bits/stl_pthread_alloc.h: Likewise.
1173 * include/bits/stl_queue.h: Likewise.
1174 * include/bits/stl_raw_storage_iter.h: Likewise.
1175 * include/bits/stl_relops.h: Likewise.
1176 * include/bits/stl_set.h: Likewise.
1177 * include/bits/stl_stack.h: Likewise.
1178 * include/bits/stl_tempbuf.h: Likewise.
1179 * include/bits/stl_threads.h: Likewise.
1180 * include/bits/stl_tree.h: Likewise.
1181 * include/bits/stl_uninitialized.h: Likewise.
1182 * include/bits/stl_vector.h: Likewise.
1183 * include/bits/streambuf.tcc: Likewise.
1184 * include/bits/type_traits.h: Likewise.
1185 * include/bits/valarray_meta.h: Likewise.
1186 * include/ext/bvector: Likewise.
1187 * include/ext/hash_map: Likewise.
1188 * include/ext/hash_set: Likewise.
1189 * include/ext/ropeimpl.h: Likewise.
1190 * include/ext/slist: Likewise.
1191 * include/ext/stl_bvector.h: Likewise.
1192 * include/ext/stl_hash_fun.h: Likewise.
1193 * include/ext/stl_hashtable.h: Likewise.
1194 * include/ext/stl_rope.h: Likewise.
1195 * src/complex_io.cc: Likewise.
1196 * src/ios.cc: Likewise.
1197 * src/locale-inst.cc: Likewise.
1198 * src/locale.cc: Likewise.
1199 * src/localename.cc: Likewise.
1200 * src/misc-inst.cc: Likewise.
1201 * src/stdexcept.cc: Likewise.
1202 * src/stl-inst.cc: Likewise.
1203 * src/strstream.cc: Likewise.
1204 * src/valarray-inst.cc: Likewise.
1206 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1208 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1210 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1212 * include/bits/istream.tcc: change type of __extracted to __size_type
1214 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1216 * src/wstring-inst.cc: New file.
1217 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1218 (libinst_wstring_la_SOURCES): Remove.
1219 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1220 (sources): Add wstring-inst.cc
1221 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1224 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1226 * src/locale.cc: initialise __ret with zero
1227 * src/strstream.cc:cast gptr to int_type
1229 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1231 * docs/html/faq/index.html: Update broken links.
1232 * docs/html/faq/index.txt: Regenerated.
1234 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1237 * configure.target: Change irix* to irix6.5* in target_os table.
1239 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1242 * include/bits/c++config (__GLIBCPP__): Bump number in
1243 anticipation of 2.92.
1245 * include/bits/codecvt.h: Fix typo.
1246 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1248 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1249 instantiations for stdio model.
1251 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1253 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1254 and GLIBCPP_CXXFLAGS as unused variables.
1255 * configure.host: Likewise.
1256 * configure.target: Likewise.
1257 * aclocal.m4: Regenerated.
1258 * configure: Regenerated.
1259 * Makefile.in: Regenerated.
1260 * libio/Makefile.in: Regenerated.
1261 * libmath/Makefile.in: Regenerated.
1262 * libsupc++/Makefile.in: Regenerated.
1263 * src/Makefile.in: Regenerated.
1265 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1268 * include/bits/basic_file.h: Include basic_file_model.h.
1269 * config/c_io_libio.cc: Move to...
1270 * config/basic_file_libio.cc: Here.
1271 * config/basic_file_libio.h: New file.
1272 * config/c_io_stdio.cc: Move to...
1273 * config/basic_file_stdio.cc: Here.
1274 * config/basic_file_stdio.h: New file.
1275 * config/c_io_libio.h: Tweak.
1276 * config/c_io_stdio.h: Tweak.
1277 * src/Makefile.am (build_headers): Add basic_file_model.h.
1278 (sources): Add basic_file.cc, remove c++io.cc.
1279 * src/Makefile.in: Regenerate.
1280 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1281 basic_file_model.h and basic_file.cc.
1282 * aclocal.m4: Regenerate.
1283 * configure: Regenerate.
1284 * testsuite/27_io/filebuf.cc (test05): Add regression.
1286 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1289 * config/cpu/alpha/bits/atomicity.h: Change.
1290 * config/cpu/arm/bits/atomicit3y.h
1291 * config/cpu/generic/bits/atomicity.h
1292 * config/cpu/i386/bits/atomicity.h
1293 * config/cpu/i486/bits/atomicity.h
1294 * config/cpu/ia64/bits/atomicity.h
1295 * config/cpu/powerpc/bits/atomicity.h
1296 * config/cpu/sparc/sparc32/bits/atomicity.h
1297 * config/cpu/sparc/sparc64/bits/atomicity.h
1298 * config/os/aix/bits/atomicity.h
1299 * config/os/irix/bits/atomicity.h
1301 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1303 * include/bits/std_stdexcept.h (runtime_error): Make string
1305 (logic_error): Same.
1306 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1309 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1313 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1314 string object, not reference.
1315 (runtime_error::runtime_error): Same.
1316 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1318 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1320 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1321 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1322 diagnostics. Remove WFMT_FLAGS.
1323 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1324 * libsupc++/Makefile.am: Likewise.
1325 * src/Makefile.am: Likewise.
1326 * aclocal.m4: Regenerated.
1327 * configure: Regenerated.
1328 * Makefile.in: Regenerated.
1329 * libio/Makefile.in: Regenerated.
1330 * libmath/Makefile.in: Regenerated.
1331 * libsupc++/Makefile.in: Regenerated.
1332 * src/Makefile.in: Regenerated.
1334 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1336 Fixes libstdc++/2079
1337 * include/backward/iomanip.h: Expose <ios> manipulators to global
1339 * include/backward/iostream.h: Also expose std::ws.
1341 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1343 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1345 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1347 * include/bits/codecvt.h: Use __builtin_alloca.
1348 * include/bits/ostream.tcc: Same.
1349 * include/bits/fstream.tcc: Same.
1351 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1353 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1355 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1357 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1359 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1362 * include/backward/iostream.h: Expose std::flush in old headers.
1364 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1366 * mknumeric_limits: Remove special-casing on target. Use gcc
1367 instead of g++ to build gen-num-limits.cc
1369 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1371 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1373 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1375 * include/bits/ostream.tcc: Same.
1376 * include/bits/std_ostream.h: Same.
1377 * include/bits/fstream.tcc: Same.
1378 * include/bits/locale_facets.tcc: Add typename.
1379 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1381 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1383 * tests_flags.in: Remove -n flag from call to echo.
1385 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1387 * config/c_locale_gnu.h: Add clocale include.
1389 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1391 * include/bits/stl_config.h: Remove file.
1392 * src/Makefile.am (base_headers): Remove from list.
1393 * configure: Regenerate.
1394 * Makefile.in: Ditto.
1395 * libio/Makefile.in: Ditto.
1396 * libmath/Makefile.in: Ditto.
1397 * libsupc++/Makefile.in: Ditto.
1398 * src/Makefile.in: Ditto.
1400 * include/bits/c++config: Move relevant macros to here.
1401 * include/backward/alloc.h: Include c++config.h instead.
1402 * include/backward/function.h: Ditto.
1403 * include/backward/heap.h: Ditto.
1404 * include/backward/pair.h: Ditto.
1405 * include/bits/pthread_allocimpl.h: Ditto.
1406 * include/bits/std_functional.h: Ditto.
1407 * include/bits/std_iterator.h: Ditto.
1408 * include/bits/std_numeric.h: Ditto.
1409 * include/bits/std_utility.h: Ditto.
1410 * include/bits/stl_algobase.h: Ditto.
1411 * include/bits/type_traits.h: Ditto.
1412 * src/stl-inst.cc: Ditto.
1414 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1416 * include/bits/basic_file.h: Add #pragma system_header
1417 * include/bits/basic_ios.h: Ditto.
1418 * include/bits/basic_string.h: Ditto.
1419 * include/bits/char_traits.h: Ditto.
1420 * include/bits/codecvt.h: Ditto.
1421 * include/bits/cpp_type_traits.h: Ditto.
1422 * include/bits/fpos.h: Ditto.
1423 * include/bits/gslice.h: Ditto.
1424 * include/bits/gslice_array.h: Ditto.
1425 * include/bits/indirect_array.h: Ditto.
1426 * include/bits/ios_base.h: Ditto.
1427 * include/bits/limits_generic.h: Ditto.
1428 * include/bits/locale_facets.h: Ditto.
1429 * include/bits/localefwd.h: Ditto.
1430 * include/bits/mask_array.h: Ditto.
1431 * include/bits/sbuf_iter.h: Ditto.
1432 * include/bits/sequence_concepts.h: Ditto.
1433 * include/bits/slice.h: Ditto.
1434 * include/bits/slice_array.h: Ditto.
1435 * include/bits/std_algorithm.h: Likewise.
1436 * include/bits/std_bitset.h: Likewise.
1437 * include/bits/std_complex.h: Likewise.
1438 * include/bits/std_deque.h: Likewise.
1439 * include/bits/std_fstream.h: Likewise.
1440 * include/bits/std_functional.h: Likewise.
1441 * include/bits/std_iomanip.h: Likewise.
1442 * include/bits/std_ios.h: Likewise.
1443 * include/bits/std_iosfwd.h: Likewise.
1444 * include/bits/std_iostream.h: Likewise.
1445 * include/bits/std_istream.h: Likewise.
1446 * include/bits/std_iterator.h: Likewise.
1447 * include/bits/std_list.h: Likewise.
1448 * include/bits/std_locale.h: Likewise.
1449 * include/bits/std_map.h: Likewise.
1450 * include/bits/std_memory.h: Likewise.
1451 * include/bits/std_numeric.h: Likewise.
1452 * include/bits/std_ostream.h: Likewise.
1453 * include/bits/std_queue.h: Likewise.
1454 * include/bits/std_set.h: Likewise.
1455 * include/bits/std_sstream.h: Likewise.
1456 * include/bits/std_stack.h: Likewise.
1457 * include/bits/std_stdexcept.h: Likewise.
1458 * include/bits/std_streambuf.h: Likewise.
1459 * include/bits/std_string.h: Likewise.
1460 * include/bits/std_utility.h: Likewise.
1461 * include/bits/std_valarray.h: Likewise.
1462 * include/bits/std_vector.h: Likewise.
1463 * include/bits/stringfwd.h: Likewise.
1464 * include/bits/type_traits.h: Likewise.
1465 * include/bits/valarray_array.h: Likewise.
1466 * include/bits/valarray_meta.h: Likewise.
1468 2001-02-19 Andreas Jaeger <aj@suse.de>
1470 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1473 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1476 * include/bits/std_ostream.h: Replaced usage of
1477 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1478 * include/bits/char_traits.h: Removed non-standard
1479 methods that cannot be used elsewhere.
1482 * include/bits/basic_ios.h: Uncommented #include of
1486 * include/bits/codecvt.h: See next...
1487 * include/bits/fstream.tcc: See next...
1488 * include/bits/ostream.tcc: Add __extension__
1489 to variable-length arrays.
1492 * include/bits/localefwd.h: Changed int counter type to size_t.
1495 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1497 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1499 * testsuite/21_strings/char_traits.cc: Move to ...
1500 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1501 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1502 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1504 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1506 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1509 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1511 * include/bits/c++config: Revert.
1513 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1515 * include/bits/istream.tcc: Use ios_base::iostate in place of
1516 iostate throughout. Insert `typename' keyword where necessary.
1517 * include/bits/ostream.tcc: Insert `typename' keyword where
1520 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1522 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1523 Define so library is compliant.
1525 2001-02-15 Anthony Green <green@redhat.com>
1527 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1529 * aclocal.m4: Regenerate.
1530 * configure: Regenerate.
1532 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1534 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1535 Include ieeefp.h for fpclass on UnixWare{2,7}.
1536 * aclocal.m4: Regenerate.
1537 * configure: Regenerate.
1538 * mkcheck.in (size_command): Do without GNU-grep when using
1541 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1543 Remove old ABI support from libsupc++.
1544 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1545 * libsupc++/exception_support.cc: Likewise.
1546 * libsupc++/pure.cc: Likewise.
1547 * libsupc++/tinfo.cc: Likewise.
1548 * libsupc++/tinfo.h: Likewise.
1549 * libsupc++/tinfo2.cc: Likewise.
1550 * libsupc++/typeinfo: Likewise.
1551 * libsupc++/vec.cc: Likewise.
1553 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1555 Add support for -fno-exceptions.
1556 * include/bits/exception_support.h: Remove.
1557 * include/bits/basic_string.h: Remove exception_support.
1558 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1560 (string::substr): Same.
1561 * include/bits/basic_string.tcc (string::reserve): Replace
1562 __LENGTHERROR with __throw_length_error.
1563 (string::_S_create): Same.
1564 (string::resize): Same.
1565 (string::_M_replace): Same.
1566 (string::replace): Same.
1567 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1568 (string::compare): Same.
1569 * include/bits/stl_vector.h: Remove exception_support.
1570 * src/Makefile.am (base_headers): Remove here.
1571 * src/Makefile.in: Regenerate.
1573 * include/bits/stl_range_errors.h: Remove.
1574 * include/bits/stl_deque.h: Use __throw_range_error.
1575 * include/bits/std_deque.h: Include functexcept.h.
1576 * include/bits/std_vector.h: Same.
1577 * src/Makefile.am (base_headers): Remove here.
1578 * src/Makefile.in: Regenerate.
1579 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1580 * include/ext/bvector: Remove stl_range_errors.h
1582 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1584 * include/bits/functexcept.h: New file.
1585 * src/functexcept.cc: New file. Definitions for function-based
1587 * src/Makefile.am (sources): Add functexcept.cc.
1588 * src/Makefile.in: Regenerate.
1590 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1593 * include/bits/localefwd.h: Include functexcept.h.
1594 * include/bits/std_iosfwd.h: Same.
1596 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1597 throw basic_ios::failure.
1598 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1599 Use __throw_exception_again.
1600 (filebuf::_M_filebuf_init): Same.
1601 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1602 * include/bits/ostream.tcc (ostream::operator<<): Same.
1603 * include/bits/istream.tcc (istream::operator>>): Same.
1604 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1605 (string::_S_construct): Same.
1606 (string::_M_clone): Same.
1607 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1609 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1610 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1611 __throw_exception_again.
1612 (locale::_Imp::_Imp(string, size_t): Same.
1613 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1614 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1615 (locale::locale(const char*)): Use __throw_runtime_error.
1616 (locale::classic): Use __throw_exception_again.
1617 (locale::_S_normalize_category): Use __throw_runtime_error.
1619 * src/stdexcept.cc: Remove cruft.
1621 * libsupc++/exception_defines.h: New file.
1622 * libsupc++/new_opnt.cc: Include exception_defines.h.
1623 * libsupc++/vec.cc: Same.
1624 (__cxa_vec_new2): Use __throw_exception_again.
1625 (__cxa_vec_new3): Same.
1626 (__cxa_vec_ctor): Same.
1627 (__cxa_vec_delete3): Same.
1628 (__cxa_vec_cctor): Same.
1629 (__cxa_vec_delete2): Same.
1630 (__cxa_vec_dtor): Same.
1631 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1632 compile exception-handling bits if __EXCEPTIONS is defined.
1633 Remove old ABI support.
1634 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1635 std::__throw_bad_alloc() instead of throw bad_alloc.
1636 * libsupc++/Makefile.am: Add exception_defines.h.
1637 * libsupc++/Makefile.in: Reformat.
1638 * libsupc++/*: Format.
1640 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1642 * docs/html/configopts.html: Minor updates and typo fixes.
1643 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1644 * docs/html/faq/index.txt: Regenerated.
1646 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1648 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1649 dejagnu/dg.exp. Adapt to log options used to run testcases.
1651 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1653 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1656 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1657 Phil Edwards <pme@sources.redhat.com>
1659 * include/backward/function.h: Do not use rel_ops for older
1661 * include/backward/pair.h: Likewise.
1663 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1665 * src/locale.cc: Remove bogus locale::id definitions.
1667 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1669 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1670 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1672 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1673 thinko in member initialisation.
1675 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1677 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1678 comparaison between signed and unsigned integer types.
1679 (valarray<>::cshift): Reformat.
1681 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1683 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1684 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1685 * configure.in: Test for sigsetjmp.
1686 * configure, config.h.in: Rebuilt.
1688 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1690 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1691 lengths and strides.
1692 (__gslice_to_index): Document.
1694 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1696 * include/bits/char_traits.h char_traits<char>::int_type: Change
1697 to `int' to match 21.1.3.1/2.
1699 * testsuite/21_strings/char_traits-int_type.C: New test.
1701 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1703 * testsuite/Makefile.am: New file.
1705 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1707 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1709 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1711 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1713 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1715 * configure.target (aix4*): Remove extra set of brackets.
1717 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1720 * include/bits/stringfwd.h: New file.
1721 * include/bits/stl_string_fwd.h: Remove.
1722 * include/bits/localefwd.h: Remove declaration for allocator.
1723 * include/bits/std_iosfwd: Same.
1724 * include/bits/std_string.h: Include it.
1725 * include/bits/std_ios.h: Remove include.
1726 * include/bits/basic_string.h: Tweak.
1727 * libsupc++/new: Format.
1728 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1730 * src/Makefile.in: Regenerate.
1731 * include/bits/std_stdexcept.h: Rewrite.
1732 * src/stdexcept.cc: Same.
1734 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1736 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1737 install locations too.
1738 * aclocal.m4: Regenerate.
1739 * configure.in: Remove USE_LIBDIR.
1740 * configure: Regenerate.
1741 * src/Makefile.am (toolexecdir): Simplify, use
1742 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1743 * src/Makefile.in: Regenerate.
1744 * libsupc++/Makefile.am: Same.
1745 * libsupc++/Makefile.in: Regenerate.
1747 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1748 misc-inst.cc as no longer necessary.
1750 Follow C++STYLE for naming non-static functions.
1751 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1753 * include/bits/streambuf.tcc: Same.
1754 * include/bits/ostream.tcc: Same.
1755 * include/bits/istream.tcc: Same.
1756 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1757 (_S_output_float): To __output_float.
1758 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1760 * include/bits/locale_facets.tcc (_S_build_float_format): To
1761 __build_float_format.
1762 (_S_format): To __output_integer.
1763 (_S_fill): To __pad.
1764 * src/locale.cc: Same.
1765 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1767 * include/bits/locale_facets.tcc (_S_group_digits): To
1769 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1770 for collate, numpunct.
1772 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1774 * docs/html/configopts.html: Fix HTML markup.
1775 * docs/html/install.html: Bring up to date.
1776 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1777 * docs/html/21_strings/howto.html: More notes.
1778 * docs/html/22_locale/howto.html: Fix HTML markup.
1779 * docs/html/27_io/howto.html: More notes.
1780 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1781 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1783 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1785 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1786 to match header files.
1787 (_S_output_float): Likewise.
1788 (_S_copy_streambufs): Likewise.
1790 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1791 Phil Edwards <pme@sources.redhat.com>
1793 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1794 use reinterpret_cast, not static_cast.
1796 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1798 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1799 * aclocal.m4: Regenerate.
1800 * configure: Regenerate.
1802 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1804 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1805 * libsupc++/pure.cc: Revert.
1807 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1809 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1810 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1811 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1812 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1813 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1814 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1815 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1816 * aclocal.m4: Regenerate.
1817 * configure: Regenerate.
1819 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1821 * include/bits/locale_facets.tcc: Remove `static' keyword on
1822 function definitions.
1823 * include/bits/std_streambuf.h: Likewise.
1824 * src/Makefile.am: Remove use of -fimplicit-templates.
1825 * src/Makefile.in: Regenerated.
1826 * src/locale-inst.cc: Explicitly instantiate more functions.
1827 * src/misc-inst.cc: Likewise.
1828 * src/string-inst.cc: Likewise.
1830 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1832 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1833 macro. Consolidate all the bits to do with where includes might be
1835 * aclocal.m4: Regenerate.
1836 * configure.in: Use it.
1837 * configure: Regenerate.
1838 * src/Makefile.am (targetincludep): Use simplified rules.
1839 (targetincludep): Rename gxx_target_include_dir.
1840 (myincludep): Rename gxx_include_dir.
1841 * src/Makefile.in: Regenerate.
1842 * libsupc++/Makefile.am: Use simplified rules.
1843 * libsupc++/Makefile.in: Regenerate.
1845 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1847 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1848 * include/c_std/bits/std_cctype.h: Same.
1849 * include/c_std/bits/std_cassert.h: Same.
1850 * include/c_std/bits/std_cstdarg.h: Same.
1851 * include/c_std/bits/std_cstddef.h: Same.
1853 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1855 * include/c_std/bits/std_ctime.h: Same.
1856 * include/c_std/bits/std_clocale.h: Same.
1857 * include/c_std/bits/std_cmath.h: Same.
1858 * include/c_std/bits/std_csetjmp.h: Same.
1859 * include/c_std/bits/std_csignal.h: Same.
1860 * include/c_std/bits/std_cstring.h: Same.
1861 * include/c_std/bits/std_cstdlib.h: Same.
1862 * include/c_std/bits/std_cwchar.h: Same.
1864 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1866 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1868 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1870 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1871 (string::_S_construct): Likewise.
1873 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1875 * testsuite/config/default.exp: New file.
1876 * testsuite/config: New directory.
1878 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1880 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1881 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1882 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1883 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1885 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1886 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1888 * Makefile.am (mkinstalldirs): Set.
1889 * src/Makefile.am (mkinstalldirs): Set.
1890 * libmath/Makefile.am (mkinstalldirs): Set.
1891 * libsup++/Makefile.am (mkinstalldirs): Set.
1892 * libio/Makefile.am (mkinstalldirs): Set.
1893 * */Makefile.in: Regenerate.
1895 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1897 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1898 * include/bits/localefwd.h: More initialization cleanups.
1900 2001-02-03 Jeffrey A Law <law@cygnus.com>
1902 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1903 correctly targets with 16bit ints.
1904 (_S_ios_openmode_end): Similarly.
1905 (_S_ios_iostate_end): Similarly.
1906 (_S_ios_Seekdir_end): Similarly.
1908 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1910 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1912 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1914 * configure.in (toplevel_srcdir, auxdir): Set.
1915 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1916 * aclocal.m4, configure, Makefile.in: Rebuilt.
1917 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1918 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1919 * libsupc++-v3/Makefile.in: Rebuilt.
1920 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1921 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1923 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1925 * config/c_locale_generic.cc: Remove langinfo include.
1927 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1929 Preliminary named locales.
1930 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1931 * aclocal.m4: Regenerate.
1932 * configure.in: Use it.
1933 * configure: Regerate.
1934 * src/Makefile.am (sources): Add c++locale.cc.
1935 (build_headers): Add c++locale.h.
1936 * src/Makefile.in: Regenerate.
1937 * config/c_locale_gnu.h: New file.
1938 * config/c_locale_gnu.cc: New file. Non-inline member functions
1939 for named locales, gnu-specific.
1940 * config/c_locale_generic.h: New file.
1941 * config/c_locale_generic.cc: New file. Non-inline member
1942 functions for named locales, generic version.
1943 * docs/html/configopts.html: Add documentation on new options.
1945 * include/bits/locale_facets.h (class _Messages): Remove.
1946 (class _Moneypunct): Remove.
1947 * src/locale-inst.cc: Remove.
1949 * include/bits/locale_facets.h (class _Collate): Remove.
1950 * src/locale-inst.cc (std): Remove.
1951 * src/locale.cc: And here.
1953 * include/bits/localefwd.h (locale::_M_coalesce): New
1954 function. Correctly put together multi-name locales.
1955 (_Impl(const _Impl&, category, size_t)): Remove.
1957 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1959 (_M_normalize_category_names): Remove.
1960 (_M_replace_categories): Fix.
1962 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1963 (locale::_Impl::_M_construct_ctype): Remove.
1964 (locale::_Impl::_M_construct_monetary): Remove.
1965 (locale::_Impl::_M_construct_numeric): Remove.
1966 (locale::_Impl::_M_construct_time): Remove.
1967 (locale::_Impl::_M_construct_messages): Remove.
1969 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1970 (_Use_facet_failure_handle): Remove.
1971 * src/locale.cc: Remove definitions.
1972 * src/locale-inst.cc: And here.
1974 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1976 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1977 create and error-check underlying locale object.
1978 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1979 tearing down underlying locale object.
1980 * include/bits/localefwd.h (locale::facet): Declare.
1981 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1982 correctness, as glibc apparently has incorrect info in it. Test
1983 with it when it works again.....
1985 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1986 Remove. Number of categories is fixed at six, so just simplify and
1987 make this an array of strings.
1988 (locale::_Impl::_M_has_name): Remove.
1989 (locale::_Impl::_M_name): Remove.
1990 (locale::_Impl::_M_category_names): Turns into...
1991 (locale::_Impl::_M_names): ...this.
1992 (locale::_Impl::_M_has_same_name()): New function.
1993 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1994 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1996 * src/locale.cc (locale::name()): Construct mangled name
1997 accurately reflecting combined locale categories.
1999 * src/locale.cc (locale::classic()): Don't initialize here.
2000 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2001 __refs, bool __has_name, string __str): Do it here.
2003 * include/bits/localefwd.h: _S_categories_num to
2004 _S_num_categories. _S_facets_num to _S_num_facets.
2005 (locale::id::id()): Explicitly set _M_index to zero.
2006 * src/locale.cc: Same.
2008 * src/locale.cc: (locale::locale(const char*)): Construct named
2011 * src/locale.cc: Remove numpunct_byname ctors.
2012 * testsuite/22_locale/numpunct_byname.cc: New file.
2013 * testsuite/22_locale/numpunct.cc: New file.
2015 * include/bits/localefwd.h (class locale): Change data members to
2016 protected, from private.
2017 (_Impl::_M_get_c_locale): Add member function.
2018 (locale::facet::_M_get_global_impl()): Add member function.
2019 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2020 a __c_locale pointer.
2021 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2023 * testsuite/22_locale/members.cc: New file, test name and combine.
2025 * include/bits/locale_facets.h (class numpunct): Remove class
2026 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2028 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2029 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2030 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2031 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2032 * testsuite/22_locale/numpunct_char_members.cc: New file.
2034 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2036 * testsuite/README: Add more comment.
2037 * testsuite/lib/libstdc++.exp: Tweak comment.
2039 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2041 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2043 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2045 * testsuite/21_strings/inserters_extractors.cc: Remove
2046 explicit reference to 'testsuite/'.
2048 2001-01-25 Richard Henderson <rth@redhat.com>
2050 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2051 bits. Fixes Tru64 build issues.
2053 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2055 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2056 (use ${MAKE-make}, not ${MAKE:-make}).
2057 * aclocal.m4, configure: Regenerate.
2059 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2061 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2064 * src/Makefile.am (sources): Add globals.cc.
2065 * src/Makefile.in: Regenerated.
2066 * src/globals.cc: New file.
2067 * src/ios.cc (cin): Don't define here, just declare extern.
2076 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2078 * include/bits/std_iterator.h: Do not include stl_relops.h.
2079 * include/bits/std_numeric.h: Ditto.
2080 * include/bits/stl_algobase.h: Ditto.
2081 * include/bits/stl_relops.h: Add comment warning about problems.
2083 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2085 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2086 in testcases. Prepare for the DejaGnu based framework.
2087 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2088 directory -- it is now mkcheck working directory.
2089 * tests_flags.in: Remove reference to $(top_srcdir). Use
2091 * Makefile.am (check, check-install): Change mkcheck invocation
2093 * Makefile.in: Regenerate.
2095 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2097 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2098 (__always_swap): Likewise.
2100 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2102 * libsupc++/exception_support.cc (__terminate_func): Remove
2104 (__terminate_func_ptr): New typedef.
2105 (__terminate, __terminate_set_func): New extern function
2107 (std::terminate): Use __terminate function.
2108 (std::set_terminate): Use __terminate_set_func function.
2110 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2112 * configure.target: Just use os_include_dir always.
2113 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2114 Link atomicity files and ctype files here.
2115 * configure: Regenerate.
2116 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2117 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2118 * aclocal.m4: Regenerate.
2120 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2122 * configure.in: Place definition of MULTISUBDIR in
2123 libsupc++/Makefile as is done for src/Makefile.
2124 * configure: Regenerate.
2126 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2128 * acinclude.m4: Cosmetic changes only.
2129 * aclocal.m4: Regenerated.
2130 * configure: Regenerated.
2131 * configure.target: Update documented list of changed variables.
2132 * docs/html/install.html: Fix typo.
2133 * docs/html/20_util/howto.html: More notes on auto_ptr.
2134 * docs/html/27_io/howto.html: More notes on streabufs.
2135 * docs/html/faq/index.html: Add rel_ops problem and mention the
2136 DEC as(1) .subsection difficulty.
2137 * docs/html/faq/index.txt: Regenerated.
2139 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2141 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2142 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2143 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2144 its already provided in config.target.
2145 * aclocal.m4: Regenerated.
2146 * configure: Likewise.
2147 * configure.target: Set ctype_include_dir for lots of systems.
2148 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2149 * libsupc++/Makefile.in: Regenerated.
2151 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2153 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2156 * testsuite/README: Add comment.
2158 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2160 * docs/html/configopts.html: Update for current status. Fix HTML.
2161 * docs/html/install.html: Update for current status.
2163 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2165 * testsuite/libstdc++.tests/tests.exp: New file.
2166 * testsuite/lib/libstdc++.exp: Itou.
2167 * testsuite/README: Itou.
2169 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2171 * tests_flags.in: Just output the bare minimum to run tests.
2172 Let's the caller do its own arrangement.
2174 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2177 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2179 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2182 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2184 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2186 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2188 * mkcheck.in: Construct file names that match $objdir structure.
2189 * testsuite/27_io/filebuf_members-1.txt: New file.
2190 * testsuite/27_io/ifstream_members-1.txt: New file.
2191 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2193 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2194 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2196 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2198 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2200 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2203 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2204 * src/ios.cc (ios_base::failure): Make definitions match.
2205 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2206 (class bad_cast): Same.
2207 * libsupc++/exception (class exception): Add throw specs.
2208 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2209 (set_unexpected): Same.
2210 (uncaught_exception): Same.
2213 * docs/html/17_intro/C++STYLE (classname): Fix.
2215 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2217 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2218 Use it do explicitly instantiate predicate<T> and value<T> for
2221 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2223 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2224 uninitialized thinko in last change.
2226 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2228 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2231 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2233 * docs/html/17_intro/C++STYLE (classname): Add more existing
2234 and stylish patterns.
2237 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2238 failbit if the state of the stream is not good.
2239 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2240 * testsuite/27_io/istream_manip.cc (test01): Modify.
2243 reported by Paolo Carlini <pcarlini@unitus.it>
2244 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2245 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2248 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2249 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2250 (xsgetn): Same. Simplify.
2251 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2253 reported by Larry Evans <jcampbell3@prodigy.net>
2254 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2255 equality with eof on returned value from overflow.
2257 2001-01-14 Andreas Jaeger <aj@suse.de>
2259 * libio/libio.h: Add test for glibc 2.0.
2261 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2263 * config/os/djgpp/bits/*: Fix dates.
2265 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2266 _CharT* __end, _CharT __c): Remove.
2267 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2268 * include/bits/char_traits.h: Tweak.
2270 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2272 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2273 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2275 * aclocal.m4: regenerated.
2276 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2277 * configure: regenerated.
2278 * config/os/djgpp, config/os/djgpp/bits: new directories.
2279 * config/os/djgpp/bits/ctype_base.h,
2280 config/os/djgpp/bits/ctype_inline.h,
2281 config/os/djgpp/bits/ctype_noninline.h,
2282 config/os/djgpp/bits/os_defines.h: new files.
2284 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2286 * include/c_std/bits/std_cstdio.h: Undef printf.
2288 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2290 * src/ios.cc: Fix typo: change cout->wcout.
2292 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2293 * src/Makefile.in: Regenerate.
2295 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2297 * include/bits/std_complex.h: Fix a typo.
2299 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2302 Fixes for libstdc++/1576
2303 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2304 file, move contents into....
2305 * src/ios.cc: ...Here. Put defines for iostreams objects and
2306 initialization routines into one file to simplify DSO interaction.
2307 * include/bits/std_iostream.h: Touch.
2308 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2309 * src/Makefile.am (sources): Remove stdstreams.cc.
2310 * src/Makefile.in: Regenerate.
2312 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2314 * tests_flags.in (check_directory): Fix typo.
2316 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2318 * include/bits/std_complex.h: Fix a typo.
2320 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2322 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2323 code path:) Remove magic constants and restructure to handle
2324 ctype.h bit mask layout changes more gracefully. (Make fast
2325 code path:) Use __maskrune (), if available.
2326 (is): Remove special case for digit and xdigit masks.
2328 2001-01-09 Robert Lipe <robertlipe@usa.net>
2330 * include/c_std/bits/std_ctime.h: Undefine difftime.
2332 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2334 * src/gen-num-limits.cc (signal_adapter): New template function.
2335 (signal_handler): Use it, instead of signal.
2336 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2337 require both tests to trap to set trap_flag.
2339 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2341 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2342 initialize mbstate_t member, name offset data members *off, not pos.
2343 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2345 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2347 reported by Chris G. Demetriou <cgd@sibyte.com>
2348 * configure.in: Change -linux-* to -linux*.
2349 * configure: Regenerate.
2351 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2353 Fix 27_io/filebuf_members.cc
2354 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2355 const string& __name, category __cat, size_t __refs): Set
2356 _M_has_name with _M_name.
2357 * include/bits/localefwd.h (locale::operator!=): Protect member
2358 function call with this->.
2359 * src/locale.cc (locale::operator==): Make fast checks first.
2360 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2362 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2364 * src/ios.cc (ios_base::Init::Init): Initialize here.
2365 (ios_base::sync_with_stdio): Set here.
2367 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2369 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2370 systems that support it, call dup() before fdopen().
2372 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2374 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2375 * testsuite/17_intro/header_cwctype.cc (main): New file.
2377 * src/Makefile.am (base_headers): Change.
2378 * include/bits/std_string.h: And here.
2379 * include/bits/string.tcc: Tweaks, move to...
2380 * include/bits/basic_string.tcc: ...Here.
2381 * src/string-inst.cc: Simplify, just instantiate the whole class,
2382 not member-by-member.
2384 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2386 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2387 * aclocal.m4: Regenerate.
2388 * configure: Regenerate.
2390 * include/bits/c++config (__GLIBCPP__): Bump version number.
2392 * ChangeLog: Start new log for year 2001
2393 * ChangeLog-2000: New file.
2395 * docs/html/configopts.html: Make sure default values are current,
2398 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2400 * include/c_std/bits/std_cwchar.h: Same.
2401 * testsuite/17_intro/header_cwchar.cc: Same.
2402 * include/c_std/bits/std_ctime.h: Same.
2403 * testsuite/17_intro/header_ctime.cc: Same.
2404 * include/c_std/bits/std_cstdlib.h: Same.
2405 Clean up undefs, make consistent with cwchar and cmath, etc.
2406 * testsuite/17_intro/header_cstdlib.cc: Same.
2407 * include/c_std/bits/std_cstdio.h: Same here.
2408 * testsuite/17_intro/header_cstring.cc: Same.
2409 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2410 * testsuite/17_intro/header_cstring.cc: New file. Check for
2411 size_t in namespace std.
2413 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2414 * acconfig.h (HAVE_MBSTATE_T): Add.
2415 * config.h.in: Regenerate.
2416 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2418 * aclocal.m4: Regenerate.
2419 * configure: Regenerate.
2420 * testsuite/17_intro/headers_c++.cc: New file.
2421 * testsuite/17_intro/headers_c.cc: Small changes.
2423 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2425 * tests_flags.in: Fix typo in usage.
2427 * tests_flags.in: Set target specific LIBS for cygwin.