1 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4 * include/bits/basic_ios.tcc: Small tweak.
5 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
6 ctors and dtors, and rdbuf settings.
9 * include/bits/std_sstream.h: Same, but for stringstream classes.
10 * testsuite/27_io/ostringstream_members.cc: New.
11 * testsuite/27_io/stringstream_members.cc: New.
12 * testsuite/27_io/fstream_members.cc: New.
13 * testsuite/27_io/ifstream_members.cc: Add test.
14 * testsuite/27_io/istringstream_members.cc: Add test.
15 * testsuite/27_io/ofstream_members.cc: Add test.
17 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
19 * include/bits/c++config(__NO_MATH_INLINES): Move to...
20 * config/os/gnu-linux/bits/os_defines.h: ...here.
22 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
24 * include/bits/c++config (__NO_MATH_INLINES): New macro.
25 * testsuite/26_numerics/fabs_inline.cc (main): New test.
27 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
30 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
32 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
33 (libstdc++-v3-finish): Remove.
34 (libstdc++-v3_exit): Remove.
36 2001-05-22 Phil Edwards <pme@sources.redhat.com>
38 * docs/html/documentation.html: Point to doxygen output.
40 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
42 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
44 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
45 arguments to be non-null.
46 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
47 try allocations if allocated size is greater than zero.
48 (filebuf::_M_filebuf_init): Change to
49 (filebuf::_M_allocate_file): Which is what it does now.
50 (filebuf::_M_allocate_bufers): Change to
51 (filebuf::_M_allocate_internal_buffer): This, and create
52 (filebuf::_M_allocate_pback_buffer): New.
53 (filebuf::_M_destroy_internal_buffer): New.
54 (filebuf::_M_buf_allocated): New data member.
55 (filebuf::setbuf): Use new logic, allow use of external buffer.
56 * testsuite/27_io/stringbuf_virtuals.cc: New file.
57 * testsuite/27_io/filebuf_virtuals.cc: New file.
59 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
61 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
63 (strchr): Same, but to __glibcpp_strchr.
67 * include/c_std/bits/std_cwchar.h (wcschr): Same.
73 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
75 * testsuite/21_strings/c_strings.cc (main): Fix.
77 2001-05-19 Phil Edwards <pme@sources.redhat.com>
79 * acinclude.m4: Fix --help spacing, correct comments.
80 * aclocal.m4: Regenerate.
81 * configure: Regenerate.
82 * mkcheck.in: Add usage comments.
83 * docs/html/documentation.html: Point to doxygen'd tarball.
85 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
87 * testsuite/README: Add notes.
89 * src/Makefile.am (libstdc++.INC): Remove.
90 * src/Makefile.in: Regenerate.
92 Phil Edwards <pedwards@disaster.jaj.com>
93 * mkcheck.in: Add missing '#'.
95 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
97 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
98 appropriately for remote testing and testing installed files without
101 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
103 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
104 amd glibcpp_prefixdir with absolute paths.
106 * include/bits/c++config (__GLIBCPP__): Bump.
107 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
109 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
111 * include/bits/std_valarray.h (valarray<>::operator[] const):
112 Return a const reference.
113 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
115 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
117 * configure.target (ATOMICITYH): Actually use AIX-specific code on
118 earlier versions of AIX 4.*.
120 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
122 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
123 output_file based on the name of the testcase.
125 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
127 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
128 gluefile and use it if needs_status_wrapper is set.
130 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
132 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
135 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
137 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
138 on earlier versions of AIX.
140 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
142 * testsuite_flags.in (query): Add backwards, ext directories.
144 2001-05-15 Mark Mitchell <mark@codesourcery.com>
146 * porting.texi: Correct documentation about handling
147 _LARRGEFILE_SOURCE and its ilk.
148 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
149 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
151 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
152 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
154 2001-05-15 Zack Weinberg <zackw@stanford.edu>
156 * testsuite/21_strings/inserters_extractors.cc,
157 testsuite/27_io/istream_unformatted.cc,
158 testsuite/27_io/stringstream.cc:
159 Replace multi-line string constants with C89-style
160 concatenated string constants.
162 2001-05-14 Richard Henderson <rth@redhat.com>
164 * mknumeric_limits: Build with -fno-exceptions.
166 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
168 Switch over to new harness.
169 * testsuite_flags.in: Tweaks via Gaby.
170 * testsuite/Makefile.am: Change tool to libstdc++-v3.
171 (EXPECT): Quote directly.
173 * configure.in: Output testsuite_flags.
174 * acinclude.m4: Substitute src, bld, and prefix dirs.
175 Remove glibcpp_expect, glibcpp_runtestflags.
176 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
177 * mkcheck.in: Port to new interface.
179 * aclocal.m4: Regerate.
180 * configure: Regnerate.
181 * Makefile.in: Regnerate.
182 * */Makefile.in: Regenerate.
184 * tests_flags.in: Remove.
185 * testsuite/lib/libstdc++.exp: Remove.
186 * testsuite/libstdc++.tests/tests.exp: Remove.
188 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
190 * configure.target: Remove detection of AIX pthread multilib, now
191 obtained from `gcc -v'.
193 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
195 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
196 size. Add hpux case for HP size.
198 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
200 * testsuite_flags.in: New, simplified interface.
201 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
202 * testsuite/libstdc++-v3.dg: Add.
203 * testsuite/libstdc++-v3.dg/dg.exp: Add.
205 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
207 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
208 * testsuite/config/default.exp: Update bugs email address.
210 2001-05-11 Richard Henderson <rth@redhat.com>
212 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
213 all pointer encoding logic.
214 (struct lsda_header_info): Add ttype_base.
215 (get_ttype_entry): Use it instead of a context.
216 (check_exception_spec): Likewise.
217 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
218 the c++ exception header for __cxa_call_unexpected.
219 (__cxa_call_unexpected): Use it.
221 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
223 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
224 libgloss_link_flags to find crt0.o for targets that use libgloss
226 Change LDFLAGS to LIBS.
227 Consistently name procedures libstdc++-XXX.
228 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
230 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
232 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
237 * include/c_std/bits/std_cwchar.h (wcschr): Same.
242 * testsuite/21_strings/c_strings.cc: Add tests.
244 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
247 * include/bits/std_fstream.h (basic_filebuf): Change signature.
248 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
249 to int_type, pass in buffer size info.
250 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
251 unbuffered situation.
252 (underflow): Remove codecvt bits for the time being.
253 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
254 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
255 values from iterators, clean.
256 * src/locale.cc: Ditto.
257 * include/bits/sbuf_iter.h: Format.
258 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
259 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
260 * testsuite/27_io/filebuf.cc: Tweaks.
261 * testsuite/27_io/filebuf_members.cc: Tweaks.
263 2001-05-07 Mark Mitchell <mark@codesourcery.com>
265 * config/os/solaris/solaris2.7/bits/os_defines.h
266 (_LARGEFILE_SOURCE): Define it.
268 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
270 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
271 -prefer-non-pic depending on whether libtool has shared libraries
273 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
274 $(LIBSUPCXX_PICFLAGS).
275 * configure, */Makefile.in: Rebuilt.
277 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
279 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
280 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
282 * include/bits/std_sstream.h (stringbuf): Leak
284 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
286 2001-05-01 Tom Browder <tbrowder@home.com>
288 * docs/html/ext/howto.html: Fix typo.
290 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
292 * testsuite/libstdc++.tests/tests.exp: Add comment.
294 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
296 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
298 2001-04-30 Mark Mitchell <mark@codesourcery.com>
300 * porting.texi: Use the GFDL.
302 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
305 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
306 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
309 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
312 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
314 2001-04-28 Phil Edwards <pme@sources.redhat.com>
316 * docs/doxygen/run_doxygen: Minor tweaks.
317 * docs/doxygen/style.css: New file.
318 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
319 latest parameters available. Use style.css.
321 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
323 * docs/doxygen/mainpage.doxy: New.
324 * docs/doxygen/user.cfg.in: Change default configuration. Single
327 2001-04-26 Mark Mitchell <mark@codesourcery.com>
329 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
330 Indicate obsolete nature of thelist for G++ 3.0.
332 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
334 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
335 target_thread_file with `gcc -v'.
336 * aclocal.m4, configure: Rebuilt.
338 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
340 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
341 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
342 * include/c_std/bits/std_cwchar.h (std): Same.
343 * acconfig.h (std): Remove c99 injection into std.
344 * config.h.in: Regenerate.
346 * testsuite/README: Fix typo.
348 * include/bits/codecvt.h: Remove warnings.
350 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
352 * include/ext/slist: Include required header files.
354 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
356 * include/c_std/bits/std_cerrno.h (errno): Define macro from
357 identifier declared with external linkage, if needed.
358 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
359 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
361 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
363 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
364 re-configures find the build compiler.
365 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
367 * aclocal.m4: Regenerate.
368 * configure: Regenerate.
370 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
372 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
373 support is enabled correctly before long long is activated.
374 * aclocal.m4: Regenerate.
375 * configure: Regenerate.
377 * include/backward/backward_warning.h: Format correctly.
379 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
380 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
381 * testsuite/26_numerics/c99_macros.cc: Remove.
383 2001-04-20 Phil Edwards <pme@sources.redhat.com>
385 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
388 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
390 * acconfig.h (_GLIBCPP_USE_C99): Add.
391 * config.h.in: Regenerate.
392 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
394 * aclocal.m4: Regenerate.
395 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
396 * configure: Regenerate.
397 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
398 * configure: Regenerate.
399 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
401 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
403 * include/c_std/bits/std_cstdlib.h: Same.
404 * docs/html/configopts.html: Update.
405 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
407 (test_c99_classify): Add.
408 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
409 (_ISOC99_SOURCE): Remove.
411 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
412 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
413 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
414 * aclocal.m4: Regenerate.
415 * configure: Regenerate.
417 2001-04-19 Phil Edwards <pme@sources.redhat.com>
419 * Makefile.am (doxygen): Assume script is missing execute perms.
420 * Makefile.in: Regenerated.
421 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
423 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
425 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
427 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
429 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
430 * testsuite/23_containers/set_operators.cc: Same.
432 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
434 (__GLIBCPP__): Bump from value of last release.
435 * include/bits/concept_check.h: Default to off, edit comments.
436 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
437 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
438 * src/Makefile.in: Regenerate.
440 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
442 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
443 Properly uglify member.
445 2001-04-13 Phil Edwards <pme@sources.redhat.com>
447 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
451 2001-04-13 Phil Edwards <pme@sources.redhat.com>
453 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
454 * include/bits/concept_check.h: Uglify.
455 * include/bits/stl_algo.h: Likewise.
456 * include/bits/stl_algobase.h: Likewise.
457 * include/bits/stl_deque.h: Likewise.
458 * include/bits/stl_heap.h: Likewise.
459 * include/bits/stl_iterator_base_funcs.h: Likewise.
460 * include/bits/stl_list.h: Likewise.
461 * include/bits/stl_map.h: Likewise.
462 * include/bits/stl_multimap.h: Likewise.
463 * include/bits/stl_multiset.h: Likewise.
464 * include/bits/stl_numeric.h: Likewise.
465 * include/bits/stl_queue.h: Likewise.
466 * include/bits/stl_set.h: Likewise.
467 * include/bits/stl_stack.h: Likewise.
468 * include/bits/stl_vector.h: Likewise.
469 * include/ext/hash_map: Likewise.
470 * include/ext/hash_set: Likewise.
471 * include/ext/slist: Likewise.
473 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
475 * testsuite/23_containers/set_operators.cc: Just try to compile.
477 * testsuite/23_containers/map_operators.cc: Same.
479 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
481 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
483 (dg-test): Revert rth's change.
485 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
487 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
488 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
490 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
492 * testsuite/README: Add DejaGnu specific documentation.
494 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
496 * acinclude.m4: AC_CHECK_TOOL for expect.
497 * aclocal.m4: Regenerate.
498 * configure: Regenerate.
499 * testsuite/Makefile.am (RUNTEST): Use substituted.
502 * configure.in: Remove xcompiling substitution.
503 * tests_flags.in (CROSS_LIB_PATH): Remove.
504 (xcompiling): Remove.
505 (CXX): Use substituted CXX.
507 2001-04-11 Richard Henderson <rth@redhat.com>
509 * testsuite/lib/libstdc++.exp: Specify path for output_file.
511 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
513 * include/bits/std_valarray.h(valarray<>::operator[]): Make
516 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
518 * testsuite/25_algorithms/equal.cc: New test.
520 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
522 * stl_algobase.h (std::equal): avoid use of possibly-undefined
523 operator != (one line patch).
525 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
527 * include/backward/backward_warning.h: Re-enable.
529 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
530 Alexandre Oliva <aoliva@redhat.com>
532 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
534 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
536 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
537 * testsuite/26_numerics/c99_macros.cc: Add test.
539 2001-04-06 Phil Edwards <pme@sources.redhat.com>
541 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
542 * docs/html/faq/index.txt: Regenerated.
544 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
546 * include/backward/backward_warning.h: Temporarily disable until
547 g++ testsuite changes go in.
548 * tests_flags.in (CROSS_LIB_PATH): Add.
550 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
552 Warn when using backward headers.
553 * include/backward/algo.h: Include warning file.
554 * include/backward/vector.h: Same.
555 * include/backward/tree.h: Same.
556 * include/backward/tempbuf.h: Same.
557 * include/backward/strstream: Same.
558 * include/backward/streambuf.h: Same.
559 * include/backward/stream.h: Same.
560 * include/backward/stack.h: Same.
561 * include/backward/slist.h: Same.
562 * include/backward/set.h: Same.
563 * include/backward/rope.h:
564 * include/backward/queue.h: Same.
565 * include/backward/pair.h: Same.
566 * include/backward/ostream.h: Same.
567 * include/backward/new.h: Same.
568 * include/backward/multiset.h: Same.
569 * include/backward/multimap.h: Same.
570 * include/backward/map.h: Same.
571 * include/backward/list.h: Same.
572 * include/backward/iterator.h: Same.
573 * include/backward/istream.h: Same.
574 * include/backward/iostream.h:
575 * include/backward/iomanip.h:
576 * include/backward/heap.h: Same.
577 * include/backward/hashtable.h:
578 * include/backward/hash_set.h:
579 * include/backward/hash_map.h:
580 * include/backward/function.h:
581 * include/backward/fstream.h:
582 * include/backward/deque.h:
583 * include/backward/defalloc.h: Same.
584 * include/backward/complex.h: Same.
585 * include/backward/bvector.h:
586 * include/backward/alloc.h:
587 * include/backward/algobase.h: Same.
589 * include/backward/backward_warning.h: New file.
590 * src/Makefile.am (backward_headers): Add backward_warning.h
591 * src/Makefile.in: Regenerate.
593 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
595 * src/Makefile.am (myinstalldirs): Make sure backward directory is
597 (myinstallheaders): Install backward headers in backward directory.
598 * src/Makefile.in: Regenerate.
600 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
602 Prepare for libstdc++-2.92.
603 * docs/html/17_intro/RELEASE-NOTES (New): Update.
604 * docs/html/configopts.html: Fix formatting.
605 * README (file): Updates.
606 * include/bits/c++config (__GLIBCPP__): Update.
608 2001-04-05 Phil Edwards <pme@sources.redhat.com>
610 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
612 2001-04-04 Phil Edwards <pme@sources.redhat.com>
614 * docs/doxygen/user.cfg.in: Extract all non-private members;
615 reduce confusing documentation output.
617 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
619 * include/backward/fstream.h: Add missing semicolons.
621 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
623 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
624 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
625 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
626 (ios_base::Init::_S_ios_create): New.
627 (ios_base::Init::_S_ios_destroy): New.
628 * include/bits/std_fstream.h: Change ctor args.
629 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
630 (ios_base::Init::~Init): Use _S_ios_destroy.
631 (ios_base::sync_with_stdio): Use new members.
632 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
635 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
637 * include/backward/fstream.h: Expose streampos to global
640 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
642 * include/bits/stl_iterator_base_types.h: Fix typo
644 2001-04-03 Andreas Schwab <schwab@suse.de>
646 * include/backward/fstream.h: Define filebuf and wfilebuf.
648 2001-04-02 Phil Edwards <pme@sources.redhat.com>
650 New concept checking implementation.
651 * docs/html/19_diagnostics/howto.html: Document.
652 * docs/html/17_intro/concept_check.diff: New file, for reference.
653 * include/bits/boost_concept_check.h: New file from Boost.
654 * include/bits/c++config: Update comments.
656 * include/bits/concept_check.h: New file.
657 * include/bits/concept_checks.h: Removed.
658 * include/bits/container_concepts.h: Removed.
659 * include/bits/sequence_concepts.h: Removed.
660 * include/bits/stl_iterator_base.h: Removed; split into...
661 * include/bits/stl_iterator_base_funcs.h: ...this new file...
662 * include/bits/stl_iterator_base_types.h: ...and this new file.
664 * include/bits/sbuf_iter.h: Update to use new implementation.
665 * include/bits/std_iterator.h: Likewise.
666 * include/bits/std_memory.h: Likewise.
667 * include/bits/stl_algo.h: Likewise.
668 * include/bits/stl_algobase.h: Likewise.
669 * include/bits/stl_construct.h: Likewise.
670 * include/bits/stl_deque.h: Likewise.
671 * include/bits/stl_heap.h: Likewise.
672 * include/bits/stl_list.h: Likewise.
673 * include/bits/stl_map.h: Likewise.
674 * include/bits/stl_multimap.h: Likewise.
675 * include/bits/stl_multiset.h: Likewise.
676 * include/bits/stl_numeric.h: Likewise.
677 * include/bits/stl_queue.h: Likewise.
678 * include/bits/stl_set.h: Likewise.
679 * include/bits/stl_stack.h: Likewise.
680 * include/bits/stl_uninitialized.h: Likewise.
681 * include/bits/stl_vector.h: Likewise.
682 * include/ext/hash_map: Likewise.
683 * include/ext/hash_set: Likewise.
684 * include/ext/slist: Likewise.
685 * include/ext/stl_hashtable.h: Likewise.
687 * src/Makefile.am (base_headers): Update list of headers.
688 * Makefile.in: Regenerated.
689 * src/Makefile.in: Regenerated.
690 * libio/Makefile.in: Regenerated.
691 * libmath/Makefile.in: Regenerated.
692 * libsupc++/Makefile.in: Regenerated.
693 * testsuite/Makefile.in: Regenerated.
695 * docs/html/install.html: Update contact information.
696 * docs/html/17_intro/howto.html: Ditto.
697 * docs/html/18_support/howto.html: Ditto.
698 * docs/html/20_util/howto.html: Ditto.
699 * docs/html/21_strings/howto.html: Ditto.
700 * docs/html/22_locale/howto.html: Ditto.
701 * docs/html/23_containers/howto.html: Ditto.
702 * docs/html/24_iterators/howto.html: Ditto.
703 * docs/html/25_algorithms/howto.html: Ditto.
704 * docs/html/26_numerics/howto.html: Ditto.
705 * docs/html/27_io/howto.html: Ditto.
706 * docs/html/faq/index.html: Ditto, plus info on new checking code.
707 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
708 * docs/html/faq/index.txt: Regenerated.
710 2001-04-02 Zack Weinberg <zackw@stanford.edu>
712 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
713 messages with $which_library as well as $tool_flags and
714 ${dg-extra-tool-flags}. Factor out annotation text into
717 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
719 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
720 * include/c_std/bits/std_cwchar.h: Same.
721 * testsuite/21_strings/c_strings.cc: Add.
723 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
725 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
727 2001-04-01 Zack Weinberg <zackw@stanford.edu>
729 * tests_flags.in: Use test a = b, not test a == b which is not
732 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
734 * configure.target: Remove duplicate aix entry.
736 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
738 * include/ext/stl_bvector.h: Move to...
739 * include/bits/stl_vector.h: ...here.
740 * include/ext/bvector: Move to...
741 * include/backward/bvector.h: ...here.
742 * include/bits/std_vector.h: Change stl_bvector include.
743 * include/bits/std_queue.h: Remove bvector include.
744 * include/ext/tree: Insert using rb_tree, move to...
745 * include/backward/tree.h: ...here.
746 * include/backward/hash_map.h: Include ext/hash_map.
747 * include/backward/hash_set.h: Include ext/hash_set.
748 * include/backward/queue.h: New file.
749 * include/backward/stack.h: Edit.
750 * include/backward/algo.h: Same.
751 * include/backward/algobase.h: Same.
752 * include/backward/alloc.h: Same.
753 * include/backward/function.h: Same.
754 * include/backward/iomanip.h: Same.
755 * include/backward/istream.h: Same.
756 * include/backward/iterator.h: Same.
757 * include/backward/list.h: Same.
758 * include/backward/map.h: Same.
759 * include/backward/multimap.h: Same.
760 * include/backward/multiset.h: Same.
761 * include/backward/ostream.h: Same.
762 * include/backward/pair.h: Same
763 * include/backward/rope.h: Same.
764 * include/backward/set.h: Same.
765 * include/backward/stream.h: Same.
766 * include/backward/strstream.h: Same.
767 * include/backward/tempbuf.h: Same.
768 * src/Makefile.am (ext_headers): Edit.
769 * src/Makefile.in: Regenerate.
770 * testsuite/ext/headers.cc (main): Fix.
773 2001-03-30 Phil Edwards <pme@sources.redhat.com>
775 * tests_flags.in (LIBS): Pass correct path for installed testing.
777 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
779 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
780 * tests_flags.in (CXX): Construct here.
781 (static_fail): Don't remove compile.out. Format with spaces.
782 (INCLUDES): Deal with xcompiling.
783 * configure.in (xcompiling): Substitute.
784 * testsuite/Makefile.am: Snake libjava configury.
785 * testsuite/Makefile.in: Regenerate.
786 * testsuite/23_containers/map_operators.cc: Tweaks.
787 * testsuite/23_containers/set_operators.cc: Tweaks.
789 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
791 Enable dejagnu testing framework.
792 * configure.in: Generate testsuite/Makefile.
793 * configure: Regenerate.
794 * Makefile.am (check-install): Change rule from this...
795 (check-script-install): ...to this.
796 (check): Change rule from this...
797 (check-script):...to this.
798 * Makefile.in: Regenerate.
800 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
802 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
804 (LIBTOOL): Let automake take care of its definition.
805 * libsupc++/Makefile.in: Rebuilt.
807 2001-03-28 Richard Henderson <rth@redhat.com>
809 IA-64 ABI Exception Handling:
810 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
811 * configure.in: Use it.
812 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
813 * libsupc++/Makefile.am (sources): Update files list.
814 * libsupc++/Makefile.in: Regenerate.
815 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
816 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
817 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
818 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
819 * libsupc++/exception_support.cc: Remove.
820 * libsupc++/exception_support.h: Remove.
821 * libsupc++/pure.cc: Use std::terminate.
822 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
823 (__is_pointer): Remove.
824 * libsupc++/unwind-cxx.h: New file.
825 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
827 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
829 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
831 * src/Makefile.am (CXXLINK): Likewise.
832 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
834 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
836 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
838 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
840 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
843 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
845 * include/bits/basic_file.h (get_fileno): Remove.
847 (_M_cfile_created): Add.
848 (basic_file::basic_file(__c_file_type*, openmode): Add.
849 (basic_file::basic_file(int, const char*, openmode): Remove.
850 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
851 const char*, ios_base::openmode): Don't allocate
852 internal buffers. Turn off internal buffers.
853 (basic_filebuf::overflow): Remove test for null buffer.
854 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
855 * include/bits/streambuf.cc: Tweak.
856 * include/bits/std_ostream.h: Tweak.
857 * config/basic_file_libio.h: Same.
858 * config/basic_file_stdio.h: Same.
859 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
860 * testsuite/27_io/filebuf_members.cc: Tweaks.
861 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
863 2001-03-24 Phil Edwards <pme@sources.redhat.com>
865 * Makefile.am: New targets, doxygen and doxygen-maint.
866 * Makefile.in: Regenerated.
867 * docs/doxygen/run_doxygen: Finally implemented.
868 * docs/doxygen/maint.cfg.in: New file.
869 * docs/doxygen/user.cfg.in: New file.
871 2001-03-24 Phil Edwards <pme@sources.redhat.com>
873 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
874 * src/Makefile.am: Replace leading spaces with tabs on continuation
876 * aclocal.m4: Regenerated.
878 * Makefile.in: Ditto.
879 * src/Makefile.in: Ditto.
880 * libio/Makefile.in: Ditto.
881 * libmath/Makefile.in: Ditto.
882 * libsupc++/Makefile.in: Ditto.
884 2001-03-24 Phil Edwards <pme@sources.redhat.com>
886 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
887 concept-checking code and current status of same.
888 * docs/html/ext/howto.html: Ditto.
889 * docs/html/faq/index.html: Ditto.
890 * docs/html/faq/index.txt: Regenerated.
892 2001-03-24 Phil Edwards <pme@sources.redhat.com>
894 * include/bits/std_bitset.h: Include ostream and istream headers
897 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
899 * include/bits/ostream.tcc: Use __builtin_alloca.
901 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
903 * src/misc-inst.cc (__sink_unused_warning): Move to...
904 * src/locale-inst.cc (__sink_unused_warning): Move to...
905 * src/stl-inst.cc: Here.
906 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
909 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
911 * intclude/bits/basic_file.h: Fix typos in comments.
913 2001-03-20 Richard Henderson <rth@redhat.com>
915 * src/gen-num-limits.cc: Instantiate for wchar_t.
916 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
918 2001-03-20 Jason Merrill <jason@redhat.com>
920 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
921 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
922 * libsupc++/cxxabi.h: Declare it.
924 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
926 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
927 signal_func with an unspecified argument list.
929 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
931 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
933 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
935 * include/bits/basic_string.tcc (operator+): Fix thinko.
937 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
940 * include/bits/std_streambuf.h: Remove cached locale facets.
941 (basic_streambuf::_M_buf_fctype): Remove.
942 (basic_streambuf::~basic_streambuf): Remove here.
943 (basic_streambuf::basic_streambuf): Same.
944 (basic_streambuf::imbue): Same.
945 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
946 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
947 (basic_filebuf::~basic_filebuf()): Remove here.
948 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
949 (basic_filebuf::imbue): Same.
950 * include/bits/localefwd.h (_Count_ones): Remove.
951 (locale::_S_num_categories): Just use 6, since this doesn't
952 actually change, ever.
953 * include/bits/locale_facets.tcc (has_facet): Simplify.
955 * testsuite/27_io/filebuf.cc (test06): Add tests.
957 2001-03-13 Steve Ellcey <sje@cup.hp.com>
959 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
960 match HP-UX ctype.h header file.
962 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
964 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
965 duplicate definitions of __dj_ctype_*
967 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
969 * libsupc++/new: Remove pragma interface.
970 * libsupc++/typeinfo: Same.
971 * libsupc++/exception: Same.
972 * libsupc++/new_handler.cc: Remove pragma implementation.
973 (bad_alloc::~bad_alloc()): Add.
974 * libsupc++/exception_support.cc: Same.
975 (exception::~exception): Add.
976 (bad_exception::~bad_exception): Add.
977 * libsupc++/tinfo.cc: Same.
978 (bad_cast::~bad_cast): Add.
979 (bad_typeid::~bad_typeid): Add.
981 2001-03-13 Phil Edwards <pme@sources.redhat.com>
983 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
985 2001-03-12 Felix Lee <flee@redhat.com>
987 * mkcheck.in: workaround for bash 2.01 IFS bug.
989 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
991 Fixups for -fno-for-scope
992 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
993 * src/valarray-inst.cc (__gslice_to_index): Same.
995 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
997 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
998 prior to trapping signal (UnixWare 7 workaround).
1000 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1002 * include/backward/hashtable.h: Same.
1003 * include/backward/rope.h: Fix include.
1005 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1007 * include/backward/vector.h: Include std_vector.h.
1009 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1010 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1013 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1015 * include/ext/stl_hashtable.h: Change type of __n to size_t
1016 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1018 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1020 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1021 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1022 Use streamsize, not int_type.
1024 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1026 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1029 2001-03-08 Andreas Schwab <schwab@suse.de>
1031 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1033 * aclocal.m4, configure: Regenerated.
1035 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1037 * include/bits/std_iosfwd.h: Remove string forward decls here.
1038 * include/bits/stringfwd.h: Add forward decls for char_traits
1040 * config/c_io_libio.h (wstreamoff): Delete.
1041 * config/c_io_stdio.h (wstreamoff): Same.
1042 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1043 char_traits<wchar_t>::off_type.
1044 Remove duplicate typedefs.
1045 * include/bits/fpos.h: Define streampos/wstreampos here.
1046 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1049 Changeup output files.
1050 * testsuite/27_io/istream_unformatted.cc: Change output files.
1051 * testsuite/27_io/istream_seeks-1.txt: Add.
1052 * testsuite/27_io/istream_seeks-2.tst: Add.
1053 * testsuite/27_io/istream_seeks-1.tst: Add.
1054 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1055 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1056 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1058 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1060 Add Irix 5.2, 6.3 support.
1061 * config/os/irix/bits: Renamed to...
1062 * config/os/irix/irix6.5/bits: this.
1063 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1064 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1065 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1066 * config/os/irix/irix5.2/bits/ctype_noninline.h
1067 (ctype<char>::ctype): Initialize _M_table with __ctype.
1068 * configure.target: Adjust.
1070 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1073 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1074 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1076 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1077 (*__pf)(__ios_type&)): Same.
1078 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1079 (*__pf)(ios_base&))): Same.
1080 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1081 * testsuite/27_io/istream_manip.cc (test01): Fix.
1083 2001-03-06 Nathan Myers <ncm@cantrip.org>
1084 Benjamin Kosnik <bkoz@redhat.com>
1086 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1087 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1088 * testsuite/17_intro/header_cassert.cc (test01): New file.
1089 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1090 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1091 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1093 2001-03-05 scott snyder <snyder@fnal.gov>
1096 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1098 * include/c_std/bits/std_cstdlib.h: ... to here.
1099 * testsuite/17_intro/header_cstdlib.cc: Add test.
1101 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1103 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1105 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1107 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1108 definition. Replace enum with static const variables.
1110 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1111 throw specification, fix typos, use <static_cast>.
1112 (ctype<char>::scan_is): remove throw specification.
1113 (ctype<char>::scan_not): likewise.
1115 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1116 (ctype<char>::do_toupper(char)): use <static_cast>.
1117 (ctype<char>::do_toupper(char *, const char *)): likewise.
1118 (ctype<char>::do_tolower(char)): likewise.
1119 (ctype<char>::do_tolower(char *, const char *)): likewise.
1121 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1123 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1124 * include/backward/algo.h: Use std not __STD. Remove unneeded
1125 macros and "never happens" code. Adjust to C++STYLE guidelines.
1126 * include/backward/algobase.h: Likewise.
1127 * include/backward/alloc.h: Likewise.
1128 * include/backward/bvector.h: Likewise.
1129 * include/backward/deque.h: Likewise.
1130 * include/backward/function.h: Likewise.
1131 * include/backward/hash_map.h: Likewise.
1132 * include/backward/hash_set.h: Likewise.
1133 * include/backward/hashtable.h: Likewise.
1134 * include/backward/heap.h: Likewise.
1135 * include/backward/iterator.h: Likewise.
1136 * include/backward/list.h: Likewise.
1137 * include/backward/map.h: Likewise.
1138 * include/backward/multimap.h: Likewise.
1139 * include/backward/multiset.h: Likewise.
1140 * include/backward/pair.h: Likewise.
1141 * include/backward/rope.h: Likewise.
1142 * include/backward/set.h: Likewise.
1143 * include/backward/slist.h: Likewise.
1144 * include/backward/stack.h: Likewise.
1145 * include/backward/strstream: Likewise.
1146 * include/backward/tempbuf.h: Likewise.
1147 * include/backward/tree.h: Likewise.
1148 * include/backward/vector.h: Likewise.
1149 * include/bits/basic_ios.h: Likewise.
1150 * include/bits/basic_ios.tcc: Likewise.
1151 * include/bits/basic_string.h: Likewise.
1152 * include/bits/c++config: Likewise.
1153 * include/bits/concept_checks.h: Likewise.
1154 * include/bits/fpos.h: Likewise.
1155 * include/bits/fstream.tcc: Likewise.
1156 * include/bits/functexcept.h: Likewise.
1157 * include/bits/ios_base.h: Likewise.
1158 * include/bits/istream.tcc: Likewise.
1159 * include/bits/mask_array.h: Likewise.
1160 * include/bits/ostream.tcc: Likewise.
1161 * include/bits/pthread_allocimpl.h: Likewise.
1162 * include/bits/sbuf_iter.h: Likewise.
1163 * include/bits/slice.h: Likewise.
1164 * include/bits/slice_array.h: Likewise.
1165 * include/bits/sstream.tcc: Likewise.
1166 * include/bits/std_bitset.h: Likewise.
1167 * include/bits/std_fstream.h: Likewise.
1168 * include/bits/std_iomanip.h: Likewise.
1169 * include/bits/std_ios.h: Likewise.
1170 * include/bits/std_istream.h: Likewise.
1171 * include/bits/std_iterator.h: Likewise.
1172 * include/bits/std_memory.h: Likewise.
1173 * include/bits/std_ostream.h: Likewise.
1174 * include/bits/std_sstream.h: Likewise.
1175 * include/bits/std_streambuf.h: Likewise.
1176 * include/bits/std_string.h: Likewise.
1177 * include/bits/std_valarray.h: Likewise.
1178 * include/bits/stl_algo.h: Likewise.
1179 * include/bits/stl_algobase.h: Likewise.
1180 * include/bits/stl_alloc.h: Likewise.
1181 * include/bits/stl_construct.h: Likewise.
1182 * include/bits/stl_deque.h: Likewise.
1183 * include/bits/stl_function.h: Likewise.
1184 * include/bits/stl_heap.h: Likewise.
1185 * include/bits/stl_iterator.h: Likewise.
1186 * include/bits/stl_iterator_base.h: Likewise.
1187 * include/bits/stl_list.h: Likewise.
1188 * include/bits/stl_map.h: Likewise.
1189 * include/bits/stl_multimap.h: Likewise.
1190 * include/bits/stl_multiset.h: Likewise.
1191 * include/bits/stl_numeric.h: Likewise.
1192 * include/bits/stl_pair.h: Likewise.
1193 * include/bits/stl_pthread_alloc.h: Likewise.
1194 * include/bits/stl_queue.h: Likewise.
1195 * include/bits/stl_raw_storage_iter.h: Likewise.
1196 * include/bits/stl_relops.h: Likewise.
1197 * include/bits/stl_set.h: Likewise.
1198 * include/bits/stl_stack.h: Likewise.
1199 * include/bits/stl_tempbuf.h: Likewise.
1200 * include/bits/stl_threads.h: Likewise.
1201 * include/bits/stl_tree.h: Likewise.
1202 * include/bits/stl_uninitialized.h: Likewise.
1203 * include/bits/stl_vector.h: Likewise.
1204 * include/bits/streambuf.tcc: Likewise.
1205 * include/bits/type_traits.h: Likewise.
1206 * include/bits/valarray_meta.h: Likewise.
1207 * include/ext/bvector: Likewise.
1208 * include/ext/hash_map: Likewise.
1209 * include/ext/hash_set: Likewise.
1210 * include/ext/ropeimpl.h: Likewise.
1211 * include/ext/slist: Likewise.
1212 * include/ext/stl_bvector.h: Likewise.
1213 * include/ext/stl_hash_fun.h: Likewise.
1214 * include/ext/stl_hashtable.h: Likewise.
1215 * include/ext/stl_rope.h: Likewise.
1216 * src/complex_io.cc: Likewise.
1217 * src/ios.cc: Likewise.
1218 * src/locale-inst.cc: Likewise.
1219 * src/locale.cc: Likewise.
1220 * src/localename.cc: Likewise.
1221 * src/misc-inst.cc: Likewise.
1222 * src/stdexcept.cc: Likewise.
1223 * src/stl-inst.cc: Likewise.
1224 * src/strstream.cc: Likewise.
1225 * src/valarray-inst.cc: Likewise.
1227 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1229 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1231 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1233 * include/bits/istream.tcc: change type of __extracted to __size_type
1235 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1237 * src/wstring-inst.cc: New file.
1238 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1239 (libinst_wstring_la_SOURCES): Remove.
1240 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1241 (sources): Add wstring-inst.cc
1242 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1245 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1247 * src/locale.cc: initialise __ret with zero
1248 * src/strstream.cc:cast gptr to int_type
1250 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1252 * docs/html/faq/index.html: Update broken links.
1253 * docs/html/faq/index.txt: Regenerated.
1255 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1258 * configure.target: Change irix* to irix6.5* in target_os table.
1260 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/bits/c++config (__GLIBCPP__): Bump number in
1264 anticipation of 2.92.
1266 * include/bits/codecvt.h: Fix typo.
1267 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1269 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1270 instantiations for stdio model.
1272 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1274 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1275 and GLIBCPP_CXXFLAGS as unused variables.
1276 * configure.host: Likewise.
1277 * configure.target: Likewise.
1278 * aclocal.m4: Regenerated.
1279 * configure: Regenerated.
1280 * Makefile.in: Regenerated.
1281 * libio/Makefile.in: Regenerated.
1282 * libmath/Makefile.in: Regenerated.
1283 * libsupc++/Makefile.in: Regenerated.
1284 * src/Makefile.in: Regenerated.
1286 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1289 * include/bits/basic_file.h: Include basic_file_model.h.
1290 * config/c_io_libio.cc: Move to...
1291 * config/basic_file_libio.cc: Here.
1292 * config/basic_file_libio.h: New file.
1293 * config/c_io_stdio.cc: Move to...
1294 * config/basic_file_stdio.cc: Here.
1295 * config/basic_file_stdio.h: New file.
1296 * config/c_io_libio.h: Tweak.
1297 * config/c_io_stdio.h: Tweak.
1298 * src/Makefile.am (build_headers): Add basic_file_model.h.
1299 (sources): Add basic_file.cc, remove c++io.cc.
1300 * src/Makefile.in: Regenerate.
1301 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1302 basic_file_model.h and basic_file.cc.
1303 * aclocal.m4: Regenerate.
1304 * configure: Regenerate.
1305 * testsuite/27_io/filebuf.cc (test05): Add regression.
1307 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1310 * config/cpu/alpha/bits/atomicity.h: Change.
1311 * config/cpu/arm/bits/atomicit3y.h
1312 * config/cpu/generic/bits/atomicity.h
1313 * config/cpu/i386/bits/atomicity.h
1314 * config/cpu/i486/bits/atomicity.h
1315 * config/cpu/ia64/bits/atomicity.h
1316 * config/cpu/powerpc/bits/atomicity.h
1317 * config/cpu/sparc/sparc32/bits/atomicity.h
1318 * config/cpu/sparc/sparc64/bits/atomicity.h
1319 * config/os/aix/bits/atomicity.h
1320 * config/os/irix/bits/atomicity.h
1322 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1324 * include/bits/std_stdexcept.h (runtime_error): Make string
1326 (logic_error): Same.
1327 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1330 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1334 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1335 string object, not reference.
1336 (runtime_error::runtime_error): Same.
1337 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1339 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1341 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1342 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1343 diagnostics. Remove WFMT_FLAGS.
1344 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1345 * libsupc++/Makefile.am: Likewise.
1346 * src/Makefile.am: Likewise.
1347 * aclocal.m4: Regenerated.
1348 * configure: Regenerated.
1349 * Makefile.in: Regenerated.
1350 * libio/Makefile.in: Regenerated.
1351 * libmath/Makefile.in: Regenerated.
1352 * libsupc++/Makefile.in: Regenerated.
1353 * src/Makefile.in: Regenerated.
1355 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1357 Fixes libstdc++/2079
1358 * include/backward/iomanip.h: Expose <ios> manipulators to global
1360 * include/backward/iostream.h: Also expose std::ws.
1362 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1364 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1366 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1368 * include/bits/codecvt.h: Use __builtin_alloca.
1369 * include/bits/ostream.tcc: Same.
1370 * include/bits/fstream.tcc: Same.
1372 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1374 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1376 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1378 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1380 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1383 * include/backward/iostream.h: Expose std::flush in old headers.
1385 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1387 * mknumeric_limits: Remove special-casing on target. Use gcc
1388 instead of g++ to build gen-num-limits.cc
1390 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1392 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1394 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1396 * include/bits/ostream.tcc: Same.
1397 * include/bits/std_ostream.h: Same.
1398 * include/bits/fstream.tcc: Same.
1399 * include/bits/locale_facets.tcc: Add typename.
1400 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1402 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1404 * tests_flags.in: Remove -n flag from call to echo.
1406 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1408 * config/c_locale_gnu.h: Add clocale include.
1410 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1412 * include/bits/stl_config.h: Remove file.
1413 * src/Makefile.am (base_headers): Remove from list.
1414 * configure: Regenerate.
1415 * Makefile.in: Ditto.
1416 * libio/Makefile.in: Ditto.
1417 * libmath/Makefile.in: Ditto.
1418 * libsupc++/Makefile.in: Ditto.
1419 * src/Makefile.in: Ditto.
1421 * include/bits/c++config: Move relevant macros to here.
1422 * include/backward/alloc.h: Include c++config.h instead.
1423 * include/backward/function.h: Ditto.
1424 * include/backward/heap.h: Ditto.
1425 * include/backward/pair.h: Ditto.
1426 * include/bits/pthread_allocimpl.h: Ditto.
1427 * include/bits/std_functional.h: Ditto.
1428 * include/bits/std_iterator.h: Ditto.
1429 * include/bits/std_numeric.h: Ditto.
1430 * include/bits/std_utility.h: Ditto.
1431 * include/bits/stl_algobase.h: Ditto.
1432 * include/bits/type_traits.h: Ditto.
1433 * src/stl-inst.cc: Ditto.
1435 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1437 * include/bits/basic_file.h: Add #pragma system_header
1438 * include/bits/basic_ios.h: Ditto.
1439 * include/bits/basic_string.h: Ditto.
1440 * include/bits/char_traits.h: Ditto.
1441 * include/bits/codecvt.h: Ditto.
1442 * include/bits/cpp_type_traits.h: Ditto.
1443 * include/bits/fpos.h: Ditto.
1444 * include/bits/gslice.h: Ditto.
1445 * include/bits/gslice_array.h: Ditto.
1446 * include/bits/indirect_array.h: Ditto.
1447 * include/bits/ios_base.h: Ditto.
1448 * include/bits/limits_generic.h: Ditto.
1449 * include/bits/locale_facets.h: Ditto.
1450 * include/bits/localefwd.h: Ditto.
1451 * include/bits/mask_array.h: Ditto.
1452 * include/bits/sbuf_iter.h: Ditto.
1453 * include/bits/sequence_concepts.h: Ditto.
1454 * include/bits/slice.h: Ditto.
1455 * include/bits/slice_array.h: Ditto.
1456 * include/bits/std_algorithm.h: Likewise.
1457 * include/bits/std_bitset.h: Likewise.
1458 * include/bits/std_complex.h: Likewise.
1459 * include/bits/std_deque.h: Likewise.
1460 * include/bits/std_fstream.h: Likewise.
1461 * include/bits/std_functional.h: Likewise.
1462 * include/bits/std_iomanip.h: Likewise.
1463 * include/bits/std_ios.h: Likewise.
1464 * include/bits/std_iosfwd.h: Likewise.
1465 * include/bits/std_iostream.h: Likewise.
1466 * include/bits/std_istream.h: Likewise.
1467 * include/bits/std_iterator.h: Likewise.
1468 * include/bits/std_list.h: Likewise.
1469 * include/bits/std_locale.h: Likewise.
1470 * include/bits/std_map.h: Likewise.
1471 * include/bits/std_memory.h: Likewise.
1472 * include/bits/std_numeric.h: Likewise.
1473 * include/bits/std_ostream.h: Likewise.
1474 * include/bits/std_queue.h: Likewise.
1475 * include/bits/std_set.h: Likewise.
1476 * include/bits/std_sstream.h: Likewise.
1477 * include/bits/std_stack.h: Likewise.
1478 * include/bits/std_stdexcept.h: Likewise.
1479 * include/bits/std_streambuf.h: Likewise.
1480 * include/bits/std_string.h: Likewise.
1481 * include/bits/std_utility.h: Likewise.
1482 * include/bits/std_valarray.h: Likewise.
1483 * include/bits/std_vector.h: Likewise.
1484 * include/bits/stringfwd.h: Likewise.
1485 * include/bits/type_traits.h: Likewise.
1486 * include/bits/valarray_array.h: Likewise.
1487 * include/bits/valarray_meta.h: Likewise.
1489 2001-02-19 Andreas Jaeger <aj@suse.de>
1491 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1494 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1497 * include/bits/std_ostream.h: Replaced usage of
1498 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1499 * include/bits/char_traits.h: Removed non-standard
1500 methods that cannot be used elsewhere.
1503 * include/bits/basic_ios.h: Uncommented #include of
1507 * include/bits/codecvt.h: See next...
1508 * include/bits/fstream.tcc: See next...
1509 * include/bits/ostream.tcc: Add __extension__
1510 to variable-length arrays.
1513 * include/bits/localefwd.h: Changed int counter type to size_t.
1516 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1518 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1520 * testsuite/21_strings/char_traits.cc: Move to ...
1521 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1522 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1523 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1525 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1527 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1530 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1532 * include/bits/c++config: Revert.
1534 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1536 * include/bits/istream.tcc: Use ios_base::iostate in place of
1537 iostate throughout. Insert `typename' keyword where necessary.
1538 * include/bits/ostream.tcc: Insert `typename' keyword where
1541 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1543 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1544 Define so library is compliant.
1546 2001-02-15 Anthony Green <green@redhat.com>
1548 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1550 * aclocal.m4: Regenerate.
1551 * configure: Regenerate.
1553 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1555 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1556 Include ieeefp.h for fpclass on UnixWare{2,7}.
1557 * aclocal.m4: Regenerate.
1558 * configure: Regenerate.
1559 * mkcheck.in (size_command): Do without GNU-grep when using
1562 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1564 Remove old ABI support from libsupc++.
1565 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1566 * libsupc++/exception_support.cc: Likewise.
1567 * libsupc++/pure.cc: Likewise.
1568 * libsupc++/tinfo.cc: Likewise.
1569 * libsupc++/tinfo.h: Likewise.
1570 * libsupc++/tinfo2.cc: Likewise.
1571 * libsupc++/typeinfo: Likewise.
1572 * libsupc++/vec.cc: Likewise.
1574 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1576 Add support for -fno-exceptions.
1577 * include/bits/exception_support.h: Remove.
1578 * include/bits/basic_string.h: Remove exception_support.
1579 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1581 (string::substr): Same.
1582 * include/bits/basic_string.tcc (string::reserve): Replace
1583 __LENGTHERROR with __throw_length_error.
1584 (string::_S_create): Same.
1585 (string::resize): Same.
1586 (string::_M_replace): Same.
1587 (string::replace): Same.
1588 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1589 (string::compare): Same.
1590 * include/bits/stl_vector.h: Remove exception_support.
1591 * src/Makefile.am (base_headers): Remove here.
1592 * src/Makefile.in: Regenerate.
1594 * include/bits/stl_range_errors.h: Remove.
1595 * include/bits/stl_deque.h: Use __throw_range_error.
1596 * include/bits/std_deque.h: Include functexcept.h.
1597 * include/bits/std_vector.h: Same.
1598 * src/Makefile.am (base_headers): Remove here.
1599 * src/Makefile.in: Regenerate.
1600 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1601 * include/ext/bvector: Remove stl_range_errors.h
1603 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1605 * include/bits/functexcept.h: New file.
1606 * src/functexcept.cc: New file. Definitions for function-based
1608 * src/Makefile.am (sources): Add functexcept.cc.
1609 * src/Makefile.in: Regenerate.
1611 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1614 * include/bits/localefwd.h: Include functexcept.h.
1615 * include/bits/std_iosfwd.h: Same.
1617 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1618 throw basic_ios::failure.
1619 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1620 Use __throw_exception_again.
1621 (filebuf::_M_filebuf_init): Same.
1622 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1623 * include/bits/ostream.tcc (ostream::operator<<): Same.
1624 * include/bits/istream.tcc (istream::operator>>): Same.
1625 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1626 (string::_S_construct): Same.
1627 (string::_M_clone): Same.
1628 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1630 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1631 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1632 __throw_exception_again.
1633 (locale::_Imp::_Imp(string, size_t): Same.
1634 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1635 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1636 (locale::locale(const char*)): Use __throw_runtime_error.
1637 (locale::classic): Use __throw_exception_again.
1638 (locale::_S_normalize_category): Use __throw_runtime_error.
1640 * src/stdexcept.cc: Remove cruft.
1642 * libsupc++/exception_defines.h: New file.
1643 * libsupc++/new_opnt.cc: Include exception_defines.h.
1644 * libsupc++/vec.cc: Same.
1645 (__cxa_vec_new2): Use __throw_exception_again.
1646 (__cxa_vec_new3): Same.
1647 (__cxa_vec_ctor): Same.
1648 (__cxa_vec_delete3): Same.
1649 (__cxa_vec_cctor): Same.
1650 (__cxa_vec_delete2): Same.
1651 (__cxa_vec_dtor): Same.
1652 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1653 compile exception-handling bits if __EXCEPTIONS is defined.
1654 Remove old ABI support.
1655 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1656 std::__throw_bad_alloc() instead of throw bad_alloc.
1657 * libsupc++/Makefile.am: Add exception_defines.h.
1658 * libsupc++/Makefile.in: Reformat.
1659 * libsupc++/*: Format.
1661 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1663 * docs/html/configopts.html: Minor updates and typo fixes.
1664 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1665 * docs/html/faq/index.txt: Regenerated.
1667 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1669 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1670 dejagnu/dg.exp. Adapt to log options used to run testcases.
1672 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1674 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1677 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1678 Phil Edwards <pme@sources.redhat.com>
1680 * include/backward/function.h: Do not use rel_ops for older
1682 * include/backward/pair.h: Likewise.
1684 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1686 * src/locale.cc: Remove bogus locale::id definitions.
1688 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1690 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1691 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1693 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1694 thinko in member initialisation.
1696 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1698 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1699 comparaison between signed and unsigned integer types.
1700 (valarray<>::cshift): Reformat.
1702 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1704 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1705 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1706 * configure.in: Test for sigsetjmp.
1707 * configure, config.h.in: Rebuilt.
1709 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1711 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1712 lengths and strides.
1713 (__gslice_to_index): Document.
1715 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1717 * include/bits/char_traits.h char_traits<char>::int_type: Change
1718 to `int' to match 21.1.3.1/2.
1720 * testsuite/21_strings/char_traits-int_type.C: New test.
1722 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1724 * testsuite/Makefile.am: New file.
1726 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1728 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1730 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1732 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1734 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1736 * configure.target (aix4*): Remove extra set of brackets.
1738 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1741 * include/bits/stringfwd.h: New file.
1742 * include/bits/stl_string_fwd.h: Remove.
1743 * include/bits/localefwd.h: Remove declaration for allocator.
1744 * include/bits/std_iosfwd: Same.
1745 * include/bits/std_string.h: Include it.
1746 * include/bits/std_ios.h: Remove include.
1747 * include/bits/basic_string.h: Tweak.
1748 * libsupc++/new: Format.
1749 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1751 * src/Makefile.in: Regenerate.
1752 * include/bits/std_stdexcept.h: Rewrite.
1753 * src/stdexcept.cc: Same.
1755 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1757 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1758 install locations too.
1759 * aclocal.m4: Regenerate.
1760 * configure.in: Remove USE_LIBDIR.
1761 * configure: Regenerate.
1762 * src/Makefile.am (toolexecdir): Simplify, use
1763 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1764 * src/Makefile.in: Regenerate.
1765 * libsupc++/Makefile.am: Same.
1766 * libsupc++/Makefile.in: Regenerate.
1768 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1769 misc-inst.cc as no longer necessary.
1771 Follow C++STYLE for naming non-static functions.
1772 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1774 * include/bits/streambuf.tcc: Same.
1775 * include/bits/ostream.tcc: Same.
1776 * include/bits/istream.tcc: Same.
1777 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1778 (_S_output_float): To __output_float.
1779 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1781 * include/bits/locale_facets.tcc (_S_build_float_format): To
1782 __build_float_format.
1783 (_S_format): To __output_integer.
1784 (_S_fill): To __pad.
1785 * src/locale.cc: Same.
1786 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1788 * include/bits/locale_facets.tcc (_S_group_digits): To
1790 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1791 for collate, numpunct.
1793 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1795 * docs/html/configopts.html: Fix HTML markup.
1796 * docs/html/install.html: Bring up to date.
1797 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1798 * docs/html/21_strings/howto.html: More notes.
1799 * docs/html/22_locale/howto.html: Fix HTML markup.
1800 * docs/html/27_io/howto.html: More notes.
1801 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1802 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1804 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1806 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1807 to match header files.
1808 (_S_output_float): Likewise.
1809 (_S_copy_streambufs): Likewise.
1811 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1812 Phil Edwards <pme@sources.redhat.com>
1814 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1815 use reinterpret_cast, not static_cast.
1817 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1819 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1820 * aclocal.m4: Regenerate.
1821 * configure: Regenerate.
1823 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1825 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1826 * libsupc++/pure.cc: Revert.
1828 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1830 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1831 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1832 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1833 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1834 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1835 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1836 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1837 * aclocal.m4: Regenerate.
1838 * configure: Regenerate.
1840 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1842 * include/bits/locale_facets.tcc: Remove `static' keyword on
1843 function definitions.
1844 * include/bits/std_streambuf.h: Likewise.
1845 * src/Makefile.am: Remove use of -fimplicit-templates.
1846 * src/Makefile.in: Regenerated.
1847 * src/locale-inst.cc: Explicitly instantiate more functions.
1848 * src/misc-inst.cc: Likewise.
1849 * src/string-inst.cc: Likewise.
1851 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1853 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1854 macro. Consolidate all the bits to do with where includes might be
1856 * aclocal.m4: Regenerate.
1857 * configure.in: Use it.
1858 * configure: Regenerate.
1859 * src/Makefile.am (targetincludep): Use simplified rules.
1860 (targetincludep): Rename gxx_target_include_dir.
1861 (myincludep): Rename gxx_include_dir.
1862 * src/Makefile.in: Regenerate.
1863 * libsupc++/Makefile.am: Use simplified rules.
1864 * libsupc++/Makefile.in: Regenerate.
1866 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1868 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1869 * include/c_std/bits/std_cctype.h: Same.
1870 * include/c_std/bits/std_cassert.h: Same.
1871 * include/c_std/bits/std_cstdarg.h: Same.
1872 * include/c_std/bits/std_cstddef.h: Same.
1874 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1876 * include/c_std/bits/std_ctime.h: Same.
1877 * include/c_std/bits/std_clocale.h: Same.
1878 * include/c_std/bits/std_cmath.h: Same.
1879 * include/c_std/bits/std_csetjmp.h: Same.
1880 * include/c_std/bits/std_csignal.h: Same.
1881 * include/c_std/bits/std_cstring.h: Same.
1882 * include/c_std/bits/std_cstdlib.h: Same.
1883 * include/c_std/bits/std_cwchar.h: Same.
1885 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1887 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1889 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1891 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1892 (string::_S_construct): Likewise.
1894 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1896 * testsuite/config/default.exp: New file.
1897 * testsuite/config: New directory.
1899 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1901 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1902 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1903 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1904 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1906 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1907 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1909 * Makefile.am (mkinstalldirs): Set.
1910 * src/Makefile.am (mkinstalldirs): Set.
1911 * libmath/Makefile.am (mkinstalldirs): Set.
1912 * libsup++/Makefile.am (mkinstalldirs): Set.
1913 * libio/Makefile.am (mkinstalldirs): Set.
1914 * */Makefile.in: Regenerate.
1916 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1918 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1919 * include/bits/localefwd.h: More initialization cleanups.
1921 2001-02-03 Jeffrey A Law <law@cygnus.com>
1923 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1924 correctly targets with 16bit ints.
1925 (_S_ios_openmode_end): Similarly.
1926 (_S_ios_iostate_end): Similarly.
1927 (_S_ios_Seekdir_end): Similarly.
1929 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1931 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1933 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1935 * configure.in (toplevel_srcdir, auxdir): Set.
1936 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1937 * aclocal.m4, configure, Makefile.in: Rebuilt.
1938 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1939 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1940 * libsupc++-v3/Makefile.in: Rebuilt.
1941 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1942 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1944 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1946 * config/c_locale_generic.cc: Remove langinfo include.
1948 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1950 Preliminary named locales.
1951 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1952 * aclocal.m4: Regenerate.
1953 * configure.in: Use it.
1954 * configure: Regerate.
1955 * src/Makefile.am (sources): Add c++locale.cc.
1956 (build_headers): Add c++locale.h.
1957 * src/Makefile.in: Regenerate.
1958 * config/c_locale_gnu.h: New file.
1959 * config/c_locale_gnu.cc: New file. Non-inline member functions
1960 for named locales, gnu-specific.
1961 * config/c_locale_generic.h: New file.
1962 * config/c_locale_generic.cc: New file. Non-inline member
1963 functions for named locales, generic version.
1964 * docs/html/configopts.html: Add documentation on new options.
1966 * include/bits/locale_facets.h (class _Messages): Remove.
1967 (class _Moneypunct): Remove.
1968 * src/locale-inst.cc: Remove.
1970 * include/bits/locale_facets.h (class _Collate): Remove.
1971 * src/locale-inst.cc (std): Remove.
1972 * src/locale.cc: And here.
1974 * include/bits/localefwd.h (locale::_M_coalesce): New
1975 function. Correctly put together multi-name locales.
1976 (_Impl(const _Impl&, category, size_t)): Remove.
1978 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1980 (_M_normalize_category_names): Remove.
1981 (_M_replace_categories): Fix.
1983 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1984 (locale::_Impl::_M_construct_ctype): Remove.
1985 (locale::_Impl::_M_construct_monetary): Remove.
1986 (locale::_Impl::_M_construct_numeric): Remove.
1987 (locale::_Impl::_M_construct_time): Remove.
1988 (locale::_Impl::_M_construct_messages): Remove.
1990 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1991 (_Use_facet_failure_handle): Remove.
1992 * src/locale.cc: Remove definitions.
1993 * src/locale-inst.cc: And here.
1995 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1997 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1998 create and error-check underlying locale object.
1999 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2000 tearing down underlying locale object.
2001 * include/bits/localefwd.h (locale::facet): Declare.
2002 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2003 correctness, as glibc apparently has incorrect info in it. Test
2004 with it when it works again.....
2006 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2007 Remove. Number of categories is fixed at six, so just simplify and
2008 make this an array of strings.
2009 (locale::_Impl::_M_has_name): Remove.
2010 (locale::_Impl::_M_name): Remove.
2011 (locale::_Impl::_M_category_names): Turns into...
2012 (locale::_Impl::_M_names): ...this.
2013 (locale::_Impl::_M_has_same_name()): New function.
2014 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2015 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2017 * src/locale.cc (locale::name()): Construct mangled name
2018 accurately reflecting combined locale categories.
2020 * src/locale.cc (locale::classic()): Don't initialize here.
2021 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2022 __refs, bool __has_name, string __str): Do it here.
2024 * include/bits/localefwd.h: _S_categories_num to
2025 _S_num_categories. _S_facets_num to _S_num_facets.
2026 (locale::id::id()): Explicitly set _M_index to zero.
2027 * src/locale.cc: Same.
2029 * src/locale.cc: (locale::locale(const char*)): Construct named
2032 * src/locale.cc: Remove numpunct_byname ctors.
2033 * testsuite/22_locale/numpunct_byname.cc: New file.
2034 * testsuite/22_locale/numpunct.cc: New file.
2036 * include/bits/localefwd.h (class locale): Change data members to
2037 protected, from private.
2038 (_Impl::_M_get_c_locale): Add member function.
2039 (locale::facet::_M_get_global_impl()): Add member function.
2040 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2041 a __c_locale pointer.
2042 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2044 * testsuite/22_locale/members.cc: New file, test name and combine.
2046 * include/bits/locale_facets.h (class numpunct): Remove class
2047 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2049 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2050 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2051 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2052 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2053 * testsuite/22_locale/numpunct_char_members.cc: New file.
2055 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2057 * testsuite/README: Add more comment.
2058 * testsuite/lib/libstdc++.exp: Tweak comment.
2060 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2062 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2064 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2066 * testsuite/21_strings/inserters_extractors.cc: Remove
2067 explicit reference to 'testsuite/'.
2069 2001-01-25 Richard Henderson <rth@redhat.com>
2071 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2072 bits. Fixes Tru64 build issues.
2074 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2076 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2077 (use ${MAKE-make}, not ${MAKE:-make}).
2078 * aclocal.m4, configure: Regenerate.
2080 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2082 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2085 * src/Makefile.am (sources): Add globals.cc.
2086 * src/Makefile.in: Regenerated.
2087 * src/globals.cc: New file.
2088 * src/ios.cc (cin): Don't define here, just declare extern.
2097 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2099 * include/bits/std_iterator.h: Do not include stl_relops.h.
2100 * include/bits/std_numeric.h: Ditto.
2101 * include/bits/stl_algobase.h: Ditto.
2102 * include/bits/stl_relops.h: Add comment warning about problems.
2104 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2106 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2107 in testcases. Prepare for the DejaGnu based framework.
2108 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2109 directory -- it is now mkcheck working directory.
2110 * tests_flags.in: Remove reference to $(top_srcdir). Use
2112 * Makefile.am (check, check-install): Change mkcheck invocation
2114 * Makefile.in: Regenerate.
2116 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2118 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2119 (__always_swap): Likewise.
2121 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2123 * libsupc++/exception_support.cc (__terminate_func): Remove
2125 (__terminate_func_ptr): New typedef.
2126 (__terminate, __terminate_set_func): New extern function
2128 (std::terminate): Use __terminate function.
2129 (std::set_terminate): Use __terminate_set_func function.
2131 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2133 * configure.target: Just use os_include_dir always.
2134 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2135 Link atomicity files and ctype files here.
2136 * configure: Regenerate.
2137 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2138 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2139 * aclocal.m4: Regenerate.
2141 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2143 * configure.in: Place definition of MULTISUBDIR in
2144 libsupc++/Makefile as is done for src/Makefile.
2145 * configure: Regenerate.
2147 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2149 * acinclude.m4: Cosmetic changes only.
2150 * aclocal.m4: Regenerated.
2151 * configure: Regenerated.
2152 * configure.target: Update documented list of changed variables.
2153 * docs/html/install.html: Fix typo.
2154 * docs/html/20_util/howto.html: More notes on auto_ptr.
2155 * docs/html/27_io/howto.html: More notes on streabufs.
2156 * docs/html/faq/index.html: Add rel_ops problem and mention the
2157 DEC as(1) .subsection difficulty.
2158 * docs/html/faq/index.txt: Regenerated.
2160 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2162 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2163 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2164 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2165 its already provided in config.target.
2166 * aclocal.m4: Regenerated.
2167 * configure: Likewise.
2168 * configure.target: Set ctype_include_dir for lots of systems.
2169 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2170 * libsupc++/Makefile.in: Regenerated.
2172 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2174 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2177 * testsuite/README: Add comment.
2179 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2181 * docs/html/configopts.html: Update for current status. Fix HTML.
2182 * docs/html/install.html: Update for current status.
2184 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2186 * testsuite/libstdc++.tests/tests.exp: New file.
2187 * testsuite/lib/libstdc++.exp: Itou.
2188 * testsuite/README: Itou.
2190 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2192 * tests_flags.in: Just output the bare minimum to run tests.
2193 Let's the caller do its own arrangement.
2195 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2198 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2200 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2203 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2205 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2207 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2209 * mkcheck.in: Construct file names that match $objdir structure.
2210 * testsuite/27_io/filebuf_members-1.txt: New file.
2211 * testsuite/27_io/ifstream_members-1.txt: New file.
2212 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2214 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2215 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2217 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2219 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2221 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2224 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2225 * src/ios.cc (ios_base::failure): Make definitions match.
2226 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2227 (class bad_cast): Same.
2228 * libsupc++/exception (class exception): Add throw specs.
2229 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2230 (set_unexpected): Same.
2231 (uncaught_exception): Same.
2234 * docs/html/17_intro/C++STYLE (classname): Fix.
2236 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2238 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2239 Use it do explicitly instantiate predicate<T> and value<T> for
2242 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2244 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2245 uninitialized thinko in last change.
2247 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2249 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2252 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2254 * docs/html/17_intro/C++STYLE (classname): Add more existing
2255 and stylish patterns.
2258 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2259 failbit if the state of the stream is not good.
2260 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2261 * testsuite/27_io/istream_manip.cc (test01): Modify.
2264 reported by Paolo Carlini <pcarlini@unitus.it>
2265 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2266 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2269 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2270 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2271 (xsgetn): Same. Simplify.
2272 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2274 reported by Larry Evans <jcampbell3@prodigy.net>
2275 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2276 equality with eof on returned value from overflow.
2278 2001-01-14 Andreas Jaeger <aj@suse.de>
2280 * libio/libio.h: Add test for glibc 2.0.
2282 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2284 * config/os/djgpp/bits/*: Fix dates.
2286 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2287 _CharT* __end, _CharT __c): Remove.
2288 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2289 * include/bits/char_traits.h: Tweak.
2291 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2293 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2294 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2296 * aclocal.m4: regenerated.
2297 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2298 * configure: regenerated.
2299 * config/os/djgpp, config/os/djgpp/bits: new directories.
2300 * config/os/djgpp/bits/ctype_base.h,
2301 config/os/djgpp/bits/ctype_inline.h,
2302 config/os/djgpp/bits/ctype_noninline.h,
2303 config/os/djgpp/bits/os_defines.h: new files.
2305 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2307 * include/c_std/bits/std_cstdio.h: Undef printf.
2309 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2311 * src/ios.cc: Fix typo: change cout->wcout.
2313 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2314 * src/Makefile.in: Regenerate.
2316 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2318 * include/bits/std_complex.h: Fix a typo.
2320 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2323 Fixes for libstdc++/1576
2324 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2325 file, move contents into....
2326 * src/ios.cc: ...Here. Put defines for iostreams objects and
2327 initialization routines into one file to simplify DSO interaction.
2328 * include/bits/std_iostream.h: Touch.
2329 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2330 * src/Makefile.am (sources): Remove stdstreams.cc.
2331 * src/Makefile.in: Regenerate.
2333 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2335 * tests_flags.in (check_directory): Fix typo.
2337 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2339 * include/bits/std_complex.h: Fix a typo.
2341 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2343 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2344 code path:) Remove magic constants and restructure to handle
2345 ctype.h bit mask layout changes more gracefully. (Make fast
2346 code path:) Use __maskrune (), if available.
2347 (is): Remove special case for digit and xdigit masks.
2349 2001-01-09 Robert Lipe <robertlipe@usa.net>
2351 * include/c_std/bits/std_ctime.h: Undefine difftime.
2353 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2355 * src/gen-num-limits.cc (signal_adapter): New template function.
2356 (signal_handler): Use it, instead of signal.
2357 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2358 require both tests to trap to set trap_flag.
2360 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2362 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2363 initialize mbstate_t member, name offset data members *off, not pos.
2364 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2366 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2368 reported by Chris G. Demetriou <cgd@sibyte.com>
2369 * configure.in: Change -linux-* to -linux*.
2370 * configure: Regenerate.
2372 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2374 Fix 27_io/filebuf_members.cc
2375 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2376 const string& __name, category __cat, size_t __refs): Set
2377 _M_has_name with _M_name.
2378 * include/bits/localefwd.h (locale::operator!=): Protect member
2379 function call with this->.
2380 * src/locale.cc (locale::operator==): Make fast checks first.
2381 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2383 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2385 * src/ios.cc (ios_base::Init::Init): Initialize here.
2386 (ios_base::sync_with_stdio): Set here.
2388 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2390 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2391 systems that support it, call dup() before fdopen().
2393 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2395 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2396 * testsuite/17_intro/header_cwctype.cc (main): New file.
2398 * src/Makefile.am (base_headers): Change.
2399 * include/bits/std_string.h: And here.
2400 * include/bits/string.tcc: Tweaks, move to...
2401 * include/bits/basic_string.tcc: ...Here.
2402 * src/string-inst.cc: Simplify, just instantiate the whole class,
2403 not member-by-member.
2405 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2407 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2408 * aclocal.m4: Regenerate.
2409 * configure: Regenerate.
2411 * include/bits/c++config (__GLIBCPP__): Bump version number.
2413 * ChangeLog: Start new log for year 2001
2414 * ChangeLog-2000: New file.
2416 * docs/html/configopts.html: Make sure default values are current,
2419 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2421 * include/c_std/bits/std_cwchar.h: Same.
2422 * testsuite/17_intro/header_cwchar.cc: Same.
2423 * include/c_std/bits/std_ctime.h: Same.
2424 * testsuite/17_intro/header_ctime.cc: Same.
2425 * include/c_std/bits/std_cstdlib.h: Same.
2426 Clean up undefs, make consistent with cwchar and cmath, etc.
2427 * testsuite/17_intro/header_cstdlib.cc: Same.
2428 * include/c_std/bits/std_cstdio.h: Same here.
2429 * testsuite/17_intro/header_cstring.cc: Same.
2430 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2431 * testsuite/17_intro/header_cstring.cc: New file. Check for
2432 size_t in namespace std.
2434 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2435 * acconfig.h (HAVE_MBSTATE_T): Add.
2436 * config.h.in: Regenerate.
2437 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2439 * aclocal.m4: Regenerate.
2440 * configure: Regenerate.
2441 * testsuite/17_intro/headers_c++.cc: New file.
2442 * testsuite/17_intro/headers_c.cc: Small changes.
2444 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2446 * tests_flags.in: Fix typo in usage.
2448 * tests_flags.in: Set target specific LIBS for cygwin.