1 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3 * mknumeric_limits: Stop if gen-num-limits dies.
5 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
8 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
9 * aclocal.m4: Regenerate.
12 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13 Phil Edwards <pme@sources.redhat.com>
14 Alexandre Oliva <aoliva@redhat.com>
16 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
17 in an amd-safe manner. Revert glibcpp_prefixdir.
19 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
21 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
22 fabs, sin, sqrt. They are now implemented in terms of __builtin_
25 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
28 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
29 * include/bits/ostream.tcc: Format to match istream.tcc.
30 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
32 2001-05-24 Phil Edwards <pme@sources.redhat.com>
34 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
36 (__cxa_free_exception): Likewise with free.
38 2001-05-24 Mark Mitchell <mark@codesourcery.com>
40 * include/c_std/bin/std_cstring.h: #define away all global
41 functions we will redeclare in namespace `std'.
42 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
43 std::memset, instead of memset.
44 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
46 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
49 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
52 * include/bits/basic_ios.tcc: Small tweak.
53 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
54 ctors and dtors, and rdbuf settings.
57 * include/bits/std_sstream.h: Same, but for stringstream classes.
58 * testsuite/27_io/ostringstream_members.cc: New.
59 * testsuite/27_io/stringstream_members.cc: New.
60 * testsuite/27_io/fstream_members.cc: New.
61 * testsuite/27_io/ifstream_members.cc: Add test.
62 * testsuite/27_io/istringstream_members.cc: Add test.
63 * testsuite/27_io/ofstream_members.cc: Add test.
65 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
67 * include/bits/c++config(__NO_MATH_INLINES): Move to...
68 * config/os/gnu-linux/bits/os_defines.h: ...here.
70 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
72 * include/bits/c++config (__NO_MATH_INLINES): New macro.
73 * testsuite/26_numerics/fabs_inline.cc (main): New test.
75 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
78 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
80 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
81 (libstdc++-v3-finish): Remove.
82 (libstdc++-v3_exit): Remove.
84 2001-05-22 Phil Edwards <pme@sources.redhat.com>
86 * docs/html/documentation.html: Point to doxygen output.
88 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
90 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
92 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
93 arguments to be non-null.
94 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
95 try allocations if allocated size is greater than zero.
96 (filebuf::_M_filebuf_init): Change to
97 (filebuf::_M_allocate_file): Which is what it does now.
98 (filebuf::_M_allocate_bufers): Change to
99 (filebuf::_M_allocate_internal_buffer): This, and create
100 (filebuf::_M_allocate_pback_buffer): New.
101 (filebuf::_M_destroy_internal_buffer): New.
102 (filebuf::_M_buf_allocated): New data member.
103 (filebuf::setbuf): Use new logic, allow use of external buffer.
104 * testsuite/27_io/stringbuf_virtuals.cc: New file.
105 * testsuite/27_io/filebuf_virtuals.cc: New file.
107 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
109 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
111 (strchr): Same, but to __glibcpp_strchr.
115 * include/c_std/bits/std_cwchar.h (wcschr): Same.
121 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
123 * testsuite/21_strings/c_strings.cc (main): Fix.
125 2001-05-19 Phil Edwards <pme@sources.redhat.com>
127 * acinclude.m4: Fix --help spacing, correct comments.
128 * aclocal.m4: Regenerate.
129 * configure: Regenerate.
130 * mkcheck.in: Add usage comments.
131 * docs/html/documentation.html: Point to doxygen'd tarball.
133 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
135 * testsuite/README: Add notes.
137 * src/Makefile.am (libstdc++.INC): Remove.
138 * src/Makefile.in: Regenerate.
140 Phil Edwards <pedwards@disaster.jaj.com>
141 * mkcheck.in: Add missing '#'.
143 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
145 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
146 appropriately for remote testing and testing installed files without
149 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
151 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
152 amd glibcpp_prefixdir with absolute paths.
154 * include/bits/c++config (__GLIBCPP__): Bump.
155 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
157 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
159 * include/bits/std_valarray.h (valarray<>::operator[] const):
160 Return a const reference.
161 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
163 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
165 * configure.target (ATOMICITYH): Actually use AIX-specific code on
166 earlier versions of AIX 4.*.
168 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
170 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
171 output_file based on the name of the testcase.
173 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
175 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
176 gluefile and use it if needs_status_wrapper is set.
178 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
180 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
183 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
185 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
186 on earlier versions of AIX.
188 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
190 * testsuite_flags.in (query): Add backwards, ext directories.
192 2001-05-15 Mark Mitchell <mark@codesourcery.com>
194 * porting.texi: Correct documentation about handling
195 _LARRGEFILE_SOURCE and its ilk.
196 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
197 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
199 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
200 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
202 2001-05-15 Zack Weinberg <zackw@stanford.edu>
204 * testsuite/21_strings/inserters_extractors.cc,
205 testsuite/27_io/istream_unformatted.cc,
206 testsuite/27_io/stringstream.cc:
207 Replace multi-line string constants with C89-style
208 concatenated string constants.
210 2001-05-14 Richard Henderson <rth@redhat.com>
212 * mknumeric_limits: Build with -fno-exceptions.
214 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
216 Switch over to new harness.
217 * testsuite_flags.in: Tweaks via Gaby.
218 * testsuite/Makefile.am: Change tool to libstdc++-v3.
219 (EXPECT): Quote directly.
221 * configure.in: Output testsuite_flags.
222 * acinclude.m4: Substitute src, bld, and prefix dirs.
223 Remove glibcpp_expect, glibcpp_runtestflags.
224 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
225 * mkcheck.in: Port to new interface.
227 * aclocal.m4: Regerate.
228 * configure: Regnerate.
229 * Makefile.in: Regnerate.
230 * */Makefile.in: Regenerate.
232 * tests_flags.in: Remove.
233 * testsuite/lib/libstdc++.exp: Remove.
234 * testsuite/libstdc++.tests/tests.exp: Remove.
236 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
238 * configure.target: Remove detection of AIX pthread multilib, now
239 obtained from `gcc -v'.
241 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
243 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
244 size. Add hpux case for HP size.
246 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
248 * testsuite_flags.in: New, simplified interface.
249 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
250 * testsuite/libstdc++-v3.dg: Add.
251 * testsuite/libstdc++-v3.dg/dg.exp: Add.
253 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
255 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
256 * testsuite/config/default.exp: Update bugs email address.
258 2001-05-11 Richard Henderson <rth@redhat.com>
260 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
261 all pointer encoding logic.
262 (struct lsda_header_info): Add ttype_base.
263 (get_ttype_entry): Use it instead of a context.
264 (check_exception_spec): Likewise.
265 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
266 the c++ exception header for __cxa_call_unexpected.
267 (__cxa_call_unexpected): Use it.
269 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
271 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
272 libgloss_link_flags to find crt0.o for targets that use libgloss
274 Change LDFLAGS to LIBS.
275 Consistently name procedures libstdc++-XXX.
276 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
278 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
280 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
285 * include/c_std/bits/std_cwchar.h (wcschr): Same.
290 * testsuite/21_strings/c_strings.cc: Add tests.
292 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
295 * include/bits/std_fstream.h (basic_filebuf): Change signature.
296 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
297 to int_type, pass in buffer size info.
298 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
299 unbuffered situation.
300 (underflow): Remove codecvt bits for the time being.
301 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
302 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
303 values from iterators, clean.
304 * src/locale.cc: Ditto.
305 * include/bits/sbuf_iter.h: Format.
306 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
307 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
308 * testsuite/27_io/filebuf.cc: Tweaks.
309 * testsuite/27_io/filebuf_members.cc: Tweaks.
311 2001-05-07 Mark Mitchell <mark@codesourcery.com>
313 * config/os/solaris/solaris2.7/bits/os_defines.h
314 (_LARGEFILE_SOURCE): Define it.
316 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
318 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
319 -prefer-non-pic depending on whether libtool has shared libraries
321 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
322 $(LIBSUPCXX_PICFLAGS).
323 * configure, */Makefile.in: Rebuilt.
325 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
327 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
328 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
330 * include/bits/std_sstream.h (stringbuf): Leak
332 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
334 2001-05-01 Tom Browder <tbrowder@home.com>
336 * docs/html/ext/howto.html: Fix typo.
338 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
340 * testsuite/libstdc++.tests/tests.exp: Add comment.
342 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
344 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
346 2001-04-30 Mark Mitchell <mark@codesourcery.com>
348 * porting.texi: Use the GFDL.
350 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
353 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
354 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
357 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
360 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
362 2001-04-28 Phil Edwards <pme@sources.redhat.com>
364 * docs/doxygen/run_doxygen: Minor tweaks.
365 * docs/doxygen/style.css: New file.
366 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
367 latest parameters available. Use style.css.
369 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
371 * docs/doxygen/mainpage.doxy: New.
372 * docs/doxygen/user.cfg.in: Change default configuration. Single
375 2001-04-26 Mark Mitchell <mark@codesourcery.com>
377 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
378 Indicate obsolete nature of thelist for G++ 3.0.
380 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
382 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
383 target_thread_file with `gcc -v'.
384 * aclocal.m4, configure: Rebuilt.
386 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
388 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
389 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
390 * include/c_std/bits/std_cwchar.h (std): Same.
391 * acconfig.h (std): Remove c99 injection into std.
392 * config.h.in: Regenerate.
394 * testsuite/README: Fix typo.
396 * include/bits/codecvt.h: Remove warnings.
398 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
400 * include/ext/slist: Include required header files.
402 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
404 * include/c_std/bits/std_cerrno.h (errno): Define macro from
405 identifier declared with external linkage, if needed.
406 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
407 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
409 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
411 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
412 re-configures find the build compiler.
413 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
415 * aclocal.m4: Regenerate.
416 * configure: Regenerate.
418 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
420 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
421 support is enabled correctly before long long is activated.
422 * aclocal.m4: Regenerate.
423 * configure: Regenerate.
425 * include/backward/backward_warning.h: Format correctly.
427 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
428 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
429 * testsuite/26_numerics/c99_macros.cc: Remove.
431 2001-04-20 Phil Edwards <pme@sources.redhat.com>
433 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
436 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
438 * acconfig.h (_GLIBCPP_USE_C99): Add.
439 * config.h.in: Regenerate.
440 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
442 * aclocal.m4: Regenerate.
443 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
444 * configure: Regenerate.
445 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
446 * configure: Regenerate.
447 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
449 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
451 * include/c_std/bits/std_cstdlib.h: Same.
452 * docs/html/configopts.html: Update.
453 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
455 (test_c99_classify): Add.
456 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
457 (_ISOC99_SOURCE): Remove.
459 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
460 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
461 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
462 * aclocal.m4: Regenerate.
463 * configure: Regenerate.
465 2001-04-19 Phil Edwards <pme@sources.redhat.com>
467 * Makefile.am (doxygen): Assume script is missing execute perms.
468 * Makefile.in: Regenerated.
469 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
471 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
473 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
475 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
477 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
478 * testsuite/23_containers/set_operators.cc: Same.
480 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
482 (__GLIBCPP__): Bump from value of last release.
483 * include/bits/concept_check.h: Default to off, edit comments.
484 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
485 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
486 * src/Makefile.in: Regenerate.
488 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
490 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
491 Properly uglify member.
493 2001-04-13 Phil Edwards <pme@sources.redhat.com>
495 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
499 2001-04-13 Phil Edwards <pme@sources.redhat.com>
501 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
502 * include/bits/concept_check.h: Uglify.
503 * include/bits/stl_algo.h: Likewise.
504 * include/bits/stl_algobase.h: Likewise.
505 * include/bits/stl_deque.h: Likewise.
506 * include/bits/stl_heap.h: Likewise.
507 * include/bits/stl_iterator_base_funcs.h: Likewise.
508 * include/bits/stl_list.h: Likewise.
509 * include/bits/stl_map.h: Likewise.
510 * include/bits/stl_multimap.h: Likewise.
511 * include/bits/stl_multiset.h: Likewise.
512 * include/bits/stl_numeric.h: Likewise.
513 * include/bits/stl_queue.h: Likewise.
514 * include/bits/stl_set.h: Likewise.
515 * include/bits/stl_stack.h: Likewise.
516 * include/bits/stl_vector.h: Likewise.
517 * include/ext/hash_map: Likewise.
518 * include/ext/hash_set: Likewise.
519 * include/ext/slist: Likewise.
521 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
523 * testsuite/23_containers/set_operators.cc: Just try to compile.
525 * testsuite/23_containers/map_operators.cc: Same.
527 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
529 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
531 (dg-test): Revert rth's change.
533 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
535 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
536 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
538 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
540 * testsuite/README: Add DejaGnu specific documentation.
542 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
544 * acinclude.m4: AC_CHECK_TOOL for expect.
545 * aclocal.m4: Regenerate.
546 * configure: Regenerate.
547 * testsuite/Makefile.am (RUNTEST): Use substituted.
550 * configure.in: Remove xcompiling substitution.
551 * tests_flags.in (CROSS_LIB_PATH): Remove.
552 (xcompiling): Remove.
553 (CXX): Use substituted CXX.
555 2001-04-11 Richard Henderson <rth@redhat.com>
557 * testsuite/lib/libstdc++.exp: Specify path for output_file.
559 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
561 * include/bits/std_valarray.h(valarray<>::operator[]): Make
564 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
566 * testsuite/25_algorithms/equal.cc: New test.
568 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
570 * stl_algobase.h (std::equal): avoid use of possibly-undefined
571 operator != (one line patch).
573 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
575 * include/backward/backward_warning.h: Re-enable.
577 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
578 Alexandre Oliva <aoliva@redhat.com>
580 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
582 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
584 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
585 * testsuite/26_numerics/c99_macros.cc: Add test.
587 2001-04-06 Phil Edwards <pme@sources.redhat.com>
589 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
590 * docs/html/faq/index.txt: Regenerated.
592 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
594 * include/backward/backward_warning.h: Temporarily disable until
595 g++ testsuite changes go in.
596 * tests_flags.in (CROSS_LIB_PATH): Add.
598 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
600 Warn when using backward headers.
601 * include/backward/algo.h: Include warning file.
602 * include/backward/vector.h: Same.
603 * include/backward/tree.h: Same.
604 * include/backward/tempbuf.h: Same.
605 * include/backward/strstream: Same.
606 * include/backward/streambuf.h: Same.
607 * include/backward/stream.h: Same.
608 * include/backward/stack.h: Same.
609 * include/backward/slist.h: Same.
610 * include/backward/set.h: Same.
611 * include/backward/rope.h:
612 * include/backward/queue.h: Same.
613 * include/backward/pair.h: Same.
614 * include/backward/ostream.h: Same.
615 * include/backward/new.h: Same.
616 * include/backward/multiset.h: Same.
617 * include/backward/multimap.h: Same.
618 * include/backward/map.h: Same.
619 * include/backward/list.h: Same.
620 * include/backward/iterator.h: Same.
621 * include/backward/istream.h: Same.
622 * include/backward/iostream.h:
623 * include/backward/iomanip.h:
624 * include/backward/heap.h: Same.
625 * include/backward/hashtable.h:
626 * include/backward/hash_set.h:
627 * include/backward/hash_map.h:
628 * include/backward/function.h:
629 * include/backward/fstream.h:
630 * include/backward/deque.h:
631 * include/backward/defalloc.h: Same.
632 * include/backward/complex.h: Same.
633 * include/backward/bvector.h:
634 * include/backward/alloc.h:
635 * include/backward/algobase.h: Same.
637 * include/backward/backward_warning.h: New file.
638 * src/Makefile.am (backward_headers): Add backward_warning.h
639 * src/Makefile.in: Regenerate.
641 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
643 * src/Makefile.am (myinstalldirs): Make sure backward directory is
645 (myinstallheaders): Install backward headers in backward directory.
646 * src/Makefile.in: Regenerate.
648 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
650 Prepare for libstdc++-2.92.
651 * docs/html/17_intro/RELEASE-NOTES (New): Update.
652 * docs/html/configopts.html: Fix formatting.
653 * README (file): Updates.
654 * include/bits/c++config (__GLIBCPP__): Update.
656 2001-04-05 Phil Edwards <pme@sources.redhat.com>
658 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
660 2001-04-04 Phil Edwards <pme@sources.redhat.com>
662 * docs/doxygen/user.cfg.in: Extract all non-private members;
663 reduce confusing documentation output.
665 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
667 * include/backward/fstream.h: Add missing semicolons.
669 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
671 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
672 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
673 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
674 (ios_base::Init::_S_ios_create): New.
675 (ios_base::Init::_S_ios_destroy): New.
676 * include/bits/std_fstream.h: Change ctor args.
677 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
678 (ios_base::Init::~Init): Use _S_ios_destroy.
679 (ios_base::sync_with_stdio): Use new members.
680 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
683 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
685 * include/backward/fstream.h: Expose streampos to global
688 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
690 * include/bits/stl_iterator_base_types.h: Fix typo
692 2001-04-03 Andreas Schwab <schwab@suse.de>
694 * include/backward/fstream.h: Define filebuf and wfilebuf.
696 2001-04-02 Phil Edwards <pme@sources.redhat.com>
698 New concept checking implementation.
699 * docs/html/19_diagnostics/howto.html: Document.
700 * docs/html/17_intro/concept_check.diff: New file, for reference.
701 * include/bits/boost_concept_check.h: New file from Boost.
702 * include/bits/c++config: Update comments.
704 * include/bits/concept_check.h: New file.
705 * include/bits/concept_checks.h: Removed.
706 * include/bits/container_concepts.h: Removed.
707 * include/bits/sequence_concepts.h: Removed.
708 * include/bits/stl_iterator_base.h: Removed; split into...
709 * include/bits/stl_iterator_base_funcs.h: ...this new file...
710 * include/bits/stl_iterator_base_types.h: ...and this new file.
712 * include/bits/sbuf_iter.h: Update to use new implementation.
713 * include/bits/std_iterator.h: Likewise.
714 * include/bits/std_memory.h: Likewise.
715 * include/bits/stl_algo.h: Likewise.
716 * include/bits/stl_algobase.h: Likewise.
717 * include/bits/stl_construct.h: Likewise.
718 * include/bits/stl_deque.h: Likewise.
719 * include/bits/stl_heap.h: Likewise.
720 * include/bits/stl_list.h: Likewise.
721 * include/bits/stl_map.h: Likewise.
722 * include/bits/stl_multimap.h: Likewise.
723 * include/bits/stl_multiset.h: Likewise.
724 * include/bits/stl_numeric.h: Likewise.
725 * include/bits/stl_queue.h: Likewise.
726 * include/bits/stl_set.h: Likewise.
727 * include/bits/stl_stack.h: Likewise.
728 * include/bits/stl_uninitialized.h: Likewise.
729 * include/bits/stl_vector.h: Likewise.
730 * include/ext/hash_map: Likewise.
731 * include/ext/hash_set: Likewise.
732 * include/ext/slist: Likewise.
733 * include/ext/stl_hashtable.h: Likewise.
735 * src/Makefile.am (base_headers): Update list of headers.
736 * Makefile.in: Regenerated.
737 * src/Makefile.in: Regenerated.
738 * libio/Makefile.in: Regenerated.
739 * libmath/Makefile.in: Regenerated.
740 * libsupc++/Makefile.in: Regenerated.
741 * testsuite/Makefile.in: Regenerated.
743 * docs/html/install.html: Update contact information.
744 * docs/html/17_intro/howto.html: Ditto.
745 * docs/html/18_support/howto.html: Ditto.
746 * docs/html/20_util/howto.html: Ditto.
747 * docs/html/21_strings/howto.html: Ditto.
748 * docs/html/22_locale/howto.html: Ditto.
749 * docs/html/23_containers/howto.html: Ditto.
750 * docs/html/24_iterators/howto.html: Ditto.
751 * docs/html/25_algorithms/howto.html: Ditto.
752 * docs/html/26_numerics/howto.html: Ditto.
753 * docs/html/27_io/howto.html: Ditto.
754 * docs/html/faq/index.html: Ditto, plus info on new checking code.
755 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
756 * docs/html/faq/index.txt: Regenerated.
758 2001-04-02 Zack Weinberg <zackw@stanford.edu>
760 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
761 messages with $which_library as well as $tool_flags and
762 ${dg-extra-tool-flags}. Factor out annotation text into
765 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
767 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
768 * include/c_std/bits/std_cwchar.h: Same.
769 * testsuite/21_strings/c_strings.cc: Add.
771 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
773 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
775 2001-04-01 Zack Weinberg <zackw@stanford.edu>
777 * tests_flags.in: Use test a = b, not test a == b which is not
780 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
782 * configure.target: Remove duplicate aix entry.
784 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
786 * include/ext/stl_bvector.h: Move to...
787 * include/bits/stl_vector.h: ...here.
788 * include/ext/bvector: Move to...
789 * include/backward/bvector.h: ...here.
790 * include/bits/std_vector.h: Change stl_bvector include.
791 * include/bits/std_queue.h: Remove bvector include.
792 * include/ext/tree: Insert using rb_tree, move to...
793 * include/backward/tree.h: ...here.
794 * include/backward/hash_map.h: Include ext/hash_map.
795 * include/backward/hash_set.h: Include ext/hash_set.
796 * include/backward/queue.h: New file.
797 * include/backward/stack.h: Edit.
798 * include/backward/algo.h: Same.
799 * include/backward/algobase.h: Same.
800 * include/backward/alloc.h: Same.
801 * include/backward/function.h: Same.
802 * include/backward/iomanip.h: Same.
803 * include/backward/istream.h: Same.
804 * include/backward/iterator.h: Same.
805 * include/backward/list.h: Same.
806 * include/backward/map.h: Same.
807 * include/backward/multimap.h: Same.
808 * include/backward/multiset.h: Same.
809 * include/backward/ostream.h: Same.
810 * include/backward/pair.h: Same
811 * include/backward/rope.h: Same.
812 * include/backward/set.h: Same.
813 * include/backward/stream.h: Same.
814 * include/backward/strstream.h: Same.
815 * include/backward/tempbuf.h: Same.
816 * src/Makefile.am (ext_headers): Edit.
817 * src/Makefile.in: Regenerate.
818 * testsuite/ext/headers.cc (main): Fix.
821 2001-03-30 Phil Edwards <pme@sources.redhat.com>
823 * tests_flags.in (LIBS): Pass correct path for installed testing.
825 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
827 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
828 * tests_flags.in (CXX): Construct here.
829 (static_fail): Don't remove compile.out. Format with spaces.
830 (INCLUDES): Deal with xcompiling.
831 * configure.in (xcompiling): Substitute.
832 * testsuite/Makefile.am: Snake libjava configury.
833 * testsuite/Makefile.in: Regenerate.
834 * testsuite/23_containers/map_operators.cc: Tweaks.
835 * testsuite/23_containers/set_operators.cc: Tweaks.
837 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
839 Enable dejagnu testing framework.
840 * configure.in: Generate testsuite/Makefile.
841 * configure: Regenerate.
842 * Makefile.am (check-install): Change rule from this...
843 (check-script-install): ...to this.
844 (check): Change rule from this...
845 (check-script):...to this.
846 * Makefile.in: Regenerate.
848 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
850 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
852 (LIBTOOL): Let automake take care of its definition.
853 * libsupc++/Makefile.in: Rebuilt.
855 2001-03-28 Richard Henderson <rth@redhat.com>
857 IA-64 ABI Exception Handling:
858 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
859 * configure.in: Use it.
860 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
861 * libsupc++/Makefile.am (sources): Update files list.
862 * libsupc++/Makefile.in: Regenerate.
863 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
864 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
865 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
866 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
867 * libsupc++/exception_support.cc: Remove.
868 * libsupc++/exception_support.h: Remove.
869 * libsupc++/pure.cc: Use std::terminate.
870 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
871 (__is_pointer): Remove.
872 * libsupc++/unwind-cxx.h: New file.
873 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
875 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
877 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
879 * src/Makefile.am (CXXLINK): Likewise.
880 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
882 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
884 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
886 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
888 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
891 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
893 * include/bits/basic_file.h (get_fileno): Remove.
895 (_M_cfile_created): Add.
896 (basic_file::basic_file(__c_file_type*, openmode): Add.
897 (basic_file::basic_file(int, const char*, openmode): Remove.
898 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
899 const char*, ios_base::openmode): Don't allocate
900 internal buffers. Turn off internal buffers.
901 (basic_filebuf::overflow): Remove test for null buffer.
902 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
903 * include/bits/streambuf.cc: Tweak.
904 * include/bits/std_ostream.h: Tweak.
905 * config/basic_file_libio.h: Same.
906 * config/basic_file_stdio.h: Same.
907 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
908 * testsuite/27_io/filebuf_members.cc: Tweaks.
909 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
911 2001-03-24 Phil Edwards <pme@sources.redhat.com>
913 * Makefile.am: New targets, doxygen and doxygen-maint.
914 * Makefile.in: Regenerated.
915 * docs/doxygen/run_doxygen: Finally implemented.
916 * docs/doxygen/maint.cfg.in: New file.
917 * docs/doxygen/user.cfg.in: New file.
919 2001-03-24 Phil Edwards <pme@sources.redhat.com>
921 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
922 * src/Makefile.am: Replace leading spaces with tabs on continuation
924 * aclocal.m4: Regenerated.
926 * Makefile.in: Ditto.
927 * src/Makefile.in: Ditto.
928 * libio/Makefile.in: Ditto.
929 * libmath/Makefile.in: Ditto.
930 * libsupc++/Makefile.in: Ditto.
932 2001-03-24 Phil Edwards <pme@sources.redhat.com>
934 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
935 concept-checking code and current status of same.
936 * docs/html/ext/howto.html: Ditto.
937 * docs/html/faq/index.html: Ditto.
938 * docs/html/faq/index.txt: Regenerated.
940 2001-03-24 Phil Edwards <pme@sources.redhat.com>
942 * include/bits/std_bitset.h: Include ostream and istream headers
945 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
947 * include/bits/ostream.tcc: Use __builtin_alloca.
949 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
951 * src/misc-inst.cc (__sink_unused_warning): Move to...
952 * src/locale-inst.cc (__sink_unused_warning): Move to...
953 * src/stl-inst.cc: Here.
954 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
957 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
959 * intclude/bits/basic_file.h: Fix typos in comments.
961 2001-03-20 Richard Henderson <rth@redhat.com>
963 * src/gen-num-limits.cc: Instantiate for wchar_t.
964 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
966 2001-03-20 Jason Merrill <jason@redhat.com>
968 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
969 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
970 * libsupc++/cxxabi.h: Declare it.
972 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
974 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
975 signal_func with an unspecified argument list.
977 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
979 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
981 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
983 * include/bits/basic_string.tcc (operator+): Fix thinko.
985 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
988 * include/bits/std_streambuf.h: Remove cached locale facets.
989 (basic_streambuf::_M_buf_fctype): Remove.
990 (basic_streambuf::~basic_streambuf): Remove here.
991 (basic_streambuf::basic_streambuf): Same.
992 (basic_streambuf::imbue): Same.
993 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
994 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
995 (basic_filebuf::~basic_filebuf()): Remove here.
996 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
997 (basic_filebuf::imbue): Same.
998 * include/bits/localefwd.h (_Count_ones): Remove.
999 (locale::_S_num_categories): Just use 6, since this doesn't
1000 actually change, ever.
1001 * include/bits/locale_facets.tcc (has_facet): Simplify.
1003 * testsuite/27_io/filebuf.cc (test06): Add tests.
1005 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1007 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1008 match HP-UX ctype.h header file.
1010 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1012 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1013 duplicate definitions of __dj_ctype_*
1015 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1017 * libsupc++/new: Remove pragma interface.
1018 * libsupc++/typeinfo: Same.
1019 * libsupc++/exception: Same.
1020 * libsupc++/new_handler.cc: Remove pragma implementation.
1021 (bad_alloc::~bad_alloc()): Add.
1022 * libsupc++/exception_support.cc: Same.
1023 (exception::~exception): Add.
1024 (bad_exception::~bad_exception): Add.
1025 * libsupc++/tinfo.cc: Same.
1026 (bad_cast::~bad_cast): Add.
1027 (bad_typeid::~bad_typeid): Add.
1029 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1031 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1033 2001-03-12 Felix Lee <flee@redhat.com>
1035 * mkcheck.in: workaround for bash 2.01 IFS bug.
1037 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1039 Fixups for -fno-for-scope
1040 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1041 * src/valarray-inst.cc (__gslice_to_index): Same.
1043 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1045 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1046 prior to trapping signal (UnixWare 7 workaround).
1048 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1050 * include/backward/hashtable.h: Same.
1051 * include/backward/rope.h: Fix include.
1053 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/backward/vector.h: Include std_vector.h.
1057 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1058 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1061 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1063 * include/ext/stl_hashtable.h: Change type of __n to size_t
1064 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1066 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1068 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1069 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1070 Use streamsize, not int_type.
1072 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1074 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1077 2001-03-08 Andreas Schwab <schwab@suse.de>
1079 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1081 * aclocal.m4, configure: Regenerated.
1083 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1085 * include/bits/std_iosfwd.h: Remove string forward decls here.
1086 * include/bits/stringfwd.h: Add forward decls for char_traits
1088 * config/c_io_libio.h (wstreamoff): Delete.
1089 * config/c_io_stdio.h (wstreamoff): Same.
1090 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1091 char_traits<wchar_t>::off_type.
1092 Remove duplicate typedefs.
1093 * include/bits/fpos.h: Define streampos/wstreampos here.
1094 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1097 Changeup output files.
1098 * testsuite/27_io/istream_unformatted.cc: Change output files.
1099 * testsuite/27_io/istream_seeks-1.txt: Add.
1100 * testsuite/27_io/istream_seeks-2.tst: Add.
1101 * testsuite/27_io/istream_seeks-1.tst: Add.
1102 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1103 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1104 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1106 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1108 Add Irix 5.2, 6.3 support.
1109 * config/os/irix/bits: Renamed to...
1110 * config/os/irix/irix6.5/bits: this.
1111 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1112 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1113 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1114 * config/os/irix/irix5.2/bits/ctype_noninline.h
1115 (ctype<char>::ctype): Initialize _M_table with __ctype.
1116 * configure.target: Adjust.
1118 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1121 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1122 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1124 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1125 (*__pf)(__ios_type&)): Same.
1126 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1127 (*__pf)(ios_base&))): Same.
1128 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1129 * testsuite/27_io/istream_manip.cc (test01): Fix.
1131 2001-03-06 Nathan Myers <ncm@cantrip.org>
1132 Benjamin Kosnik <bkoz@redhat.com>
1134 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1135 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1136 * testsuite/17_intro/header_cassert.cc (test01): New file.
1137 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1138 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1139 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1141 2001-03-05 scott snyder <snyder@fnal.gov>
1144 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1146 * include/c_std/bits/std_cstdlib.h: ... to here.
1147 * testsuite/17_intro/header_cstdlib.cc: Add test.
1149 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1151 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1153 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1155 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1156 definition. Replace enum with static const variables.
1158 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1159 throw specification, fix typos, use <static_cast>.
1160 (ctype<char>::scan_is): remove throw specification.
1161 (ctype<char>::scan_not): likewise.
1163 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1164 (ctype<char>::do_toupper(char)): use <static_cast>.
1165 (ctype<char>::do_toupper(char *, const char *)): likewise.
1166 (ctype<char>::do_tolower(char)): likewise.
1167 (ctype<char>::do_tolower(char *, const char *)): likewise.
1169 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1171 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1172 * include/backward/algo.h: Use std not __STD. Remove unneeded
1173 macros and "never happens" code. Adjust to C++STYLE guidelines.
1174 * include/backward/algobase.h: Likewise.
1175 * include/backward/alloc.h: Likewise.
1176 * include/backward/bvector.h: Likewise.
1177 * include/backward/deque.h: Likewise.
1178 * include/backward/function.h: Likewise.
1179 * include/backward/hash_map.h: Likewise.
1180 * include/backward/hash_set.h: Likewise.
1181 * include/backward/hashtable.h: Likewise.
1182 * include/backward/heap.h: Likewise.
1183 * include/backward/iterator.h: Likewise.
1184 * include/backward/list.h: Likewise.
1185 * include/backward/map.h: Likewise.
1186 * include/backward/multimap.h: Likewise.
1187 * include/backward/multiset.h: Likewise.
1188 * include/backward/pair.h: Likewise.
1189 * include/backward/rope.h: Likewise.
1190 * include/backward/set.h: Likewise.
1191 * include/backward/slist.h: Likewise.
1192 * include/backward/stack.h: Likewise.
1193 * include/backward/strstream: Likewise.
1194 * include/backward/tempbuf.h: Likewise.
1195 * include/backward/tree.h: Likewise.
1196 * include/backward/vector.h: Likewise.
1197 * include/bits/basic_ios.h: Likewise.
1198 * include/bits/basic_ios.tcc: Likewise.
1199 * include/bits/basic_string.h: Likewise.
1200 * include/bits/c++config: Likewise.
1201 * include/bits/concept_checks.h: Likewise.
1202 * include/bits/fpos.h: Likewise.
1203 * include/bits/fstream.tcc: Likewise.
1204 * include/bits/functexcept.h: Likewise.
1205 * include/bits/ios_base.h: Likewise.
1206 * include/bits/istream.tcc: Likewise.
1207 * include/bits/mask_array.h: Likewise.
1208 * include/bits/ostream.tcc: Likewise.
1209 * include/bits/pthread_allocimpl.h: Likewise.
1210 * include/bits/sbuf_iter.h: Likewise.
1211 * include/bits/slice.h: Likewise.
1212 * include/bits/slice_array.h: Likewise.
1213 * include/bits/sstream.tcc: Likewise.
1214 * include/bits/std_bitset.h: Likewise.
1215 * include/bits/std_fstream.h: Likewise.
1216 * include/bits/std_iomanip.h: Likewise.
1217 * include/bits/std_ios.h: Likewise.
1218 * include/bits/std_istream.h: Likewise.
1219 * include/bits/std_iterator.h: Likewise.
1220 * include/bits/std_memory.h: Likewise.
1221 * include/bits/std_ostream.h: Likewise.
1222 * include/bits/std_sstream.h: Likewise.
1223 * include/bits/std_streambuf.h: Likewise.
1224 * include/bits/std_string.h: Likewise.
1225 * include/bits/std_valarray.h: Likewise.
1226 * include/bits/stl_algo.h: Likewise.
1227 * include/bits/stl_algobase.h: Likewise.
1228 * include/bits/stl_alloc.h: Likewise.
1229 * include/bits/stl_construct.h: Likewise.
1230 * include/bits/stl_deque.h: Likewise.
1231 * include/bits/stl_function.h: Likewise.
1232 * include/bits/stl_heap.h: Likewise.
1233 * include/bits/stl_iterator.h: Likewise.
1234 * include/bits/stl_iterator_base.h: Likewise.
1235 * include/bits/stl_list.h: Likewise.
1236 * include/bits/stl_map.h: Likewise.
1237 * include/bits/stl_multimap.h: Likewise.
1238 * include/bits/stl_multiset.h: Likewise.
1239 * include/bits/stl_numeric.h: Likewise.
1240 * include/bits/stl_pair.h: Likewise.
1241 * include/bits/stl_pthread_alloc.h: Likewise.
1242 * include/bits/stl_queue.h: Likewise.
1243 * include/bits/stl_raw_storage_iter.h: Likewise.
1244 * include/bits/stl_relops.h: Likewise.
1245 * include/bits/stl_set.h: Likewise.
1246 * include/bits/stl_stack.h: Likewise.
1247 * include/bits/stl_tempbuf.h: Likewise.
1248 * include/bits/stl_threads.h: Likewise.
1249 * include/bits/stl_tree.h: Likewise.
1250 * include/bits/stl_uninitialized.h: Likewise.
1251 * include/bits/stl_vector.h: Likewise.
1252 * include/bits/streambuf.tcc: Likewise.
1253 * include/bits/type_traits.h: Likewise.
1254 * include/bits/valarray_meta.h: Likewise.
1255 * include/ext/bvector: Likewise.
1256 * include/ext/hash_map: Likewise.
1257 * include/ext/hash_set: Likewise.
1258 * include/ext/ropeimpl.h: Likewise.
1259 * include/ext/slist: Likewise.
1260 * include/ext/stl_bvector.h: Likewise.
1261 * include/ext/stl_hash_fun.h: Likewise.
1262 * include/ext/stl_hashtable.h: Likewise.
1263 * include/ext/stl_rope.h: Likewise.
1264 * src/complex_io.cc: Likewise.
1265 * src/ios.cc: Likewise.
1266 * src/locale-inst.cc: Likewise.
1267 * src/locale.cc: Likewise.
1268 * src/localename.cc: Likewise.
1269 * src/misc-inst.cc: Likewise.
1270 * src/stdexcept.cc: Likewise.
1271 * src/stl-inst.cc: Likewise.
1272 * src/strstream.cc: Likewise.
1273 * src/valarray-inst.cc: Likewise.
1275 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1277 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1279 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1281 * include/bits/istream.tcc: change type of __extracted to __size_type
1283 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1285 * src/wstring-inst.cc: New file.
1286 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1287 (libinst_wstring_la_SOURCES): Remove.
1288 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1289 (sources): Add wstring-inst.cc
1290 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1293 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1295 * src/locale.cc: initialise __ret with zero
1296 * src/strstream.cc:cast gptr to int_type
1298 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1300 * docs/html/faq/index.html: Update broken links.
1301 * docs/html/faq/index.txt: Regenerated.
1303 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1306 * configure.target: Change irix* to irix6.5* in target_os table.
1308 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1311 * include/bits/c++config (__GLIBCPP__): Bump number in
1312 anticipation of 2.92.
1314 * include/bits/codecvt.h: Fix typo.
1315 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1317 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1318 instantiations for stdio model.
1320 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1322 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1323 and GLIBCPP_CXXFLAGS as unused variables.
1324 * configure.host: Likewise.
1325 * configure.target: 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-27 Benjamin Kosnik <bkoz@redhat.com>
1337 * include/bits/basic_file.h: Include basic_file_model.h.
1338 * config/c_io_libio.cc: Move to...
1339 * config/basic_file_libio.cc: Here.
1340 * config/basic_file_libio.h: New file.
1341 * config/c_io_stdio.cc: Move to...
1342 * config/basic_file_stdio.cc: Here.
1343 * config/basic_file_stdio.h: New file.
1344 * config/c_io_libio.h: Tweak.
1345 * config/c_io_stdio.h: Tweak.
1346 * src/Makefile.am (build_headers): Add basic_file_model.h.
1347 (sources): Add basic_file.cc, remove c++io.cc.
1348 * src/Makefile.in: Regenerate.
1349 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1350 basic_file_model.h and basic_file.cc.
1351 * aclocal.m4: Regenerate.
1352 * configure: Regenerate.
1353 * testsuite/27_io/filebuf.cc (test05): Add regression.
1355 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1358 * config/cpu/alpha/bits/atomicity.h: Change.
1359 * config/cpu/arm/bits/atomicit3y.h
1360 * config/cpu/generic/bits/atomicity.h
1361 * config/cpu/i386/bits/atomicity.h
1362 * config/cpu/i486/bits/atomicity.h
1363 * config/cpu/ia64/bits/atomicity.h
1364 * config/cpu/powerpc/bits/atomicity.h
1365 * config/cpu/sparc/sparc32/bits/atomicity.h
1366 * config/cpu/sparc/sparc64/bits/atomicity.h
1367 * config/os/aix/bits/atomicity.h
1368 * config/os/irix/bits/atomicity.h
1370 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1372 * include/bits/std_stdexcept.h (runtime_error): Make string
1374 (logic_error): Same.
1375 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1378 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1382 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1383 string object, not reference.
1384 (runtime_error::runtime_error): Same.
1385 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1387 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1389 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1390 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1391 diagnostics. Remove WFMT_FLAGS.
1392 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1393 * libsupc++/Makefile.am: Likewise.
1394 * src/Makefile.am: Likewise.
1395 * aclocal.m4: Regenerated.
1396 * configure: Regenerated.
1397 * Makefile.in: Regenerated.
1398 * libio/Makefile.in: Regenerated.
1399 * libmath/Makefile.in: Regenerated.
1400 * libsupc++/Makefile.in: Regenerated.
1401 * src/Makefile.in: Regenerated.
1403 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1405 Fixes libstdc++/2079
1406 * include/backward/iomanip.h: Expose <ios> manipulators to global
1408 * include/backward/iostream.h: Also expose std::ws.
1410 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1412 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1414 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1416 * include/bits/codecvt.h: Use __builtin_alloca.
1417 * include/bits/ostream.tcc: Same.
1418 * include/bits/fstream.tcc: Same.
1420 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1422 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1424 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1426 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1428 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1431 * include/backward/iostream.h: Expose std::flush in old headers.
1433 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1435 * mknumeric_limits: Remove special-casing on target. Use gcc
1436 instead of g++ to build gen-num-limits.cc
1438 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1440 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1442 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1444 * include/bits/ostream.tcc: Same.
1445 * include/bits/std_ostream.h: Same.
1446 * include/bits/fstream.tcc: Same.
1447 * include/bits/locale_facets.tcc: Add typename.
1448 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1450 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1452 * tests_flags.in: Remove -n flag from call to echo.
1454 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1456 * config/c_locale_gnu.h: Add clocale include.
1458 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1460 * include/bits/stl_config.h: Remove file.
1461 * src/Makefile.am (base_headers): Remove from list.
1462 * configure: Regenerate.
1463 * Makefile.in: Ditto.
1464 * libio/Makefile.in: Ditto.
1465 * libmath/Makefile.in: Ditto.
1466 * libsupc++/Makefile.in: Ditto.
1467 * src/Makefile.in: Ditto.
1469 * include/bits/c++config: Move relevant macros to here.
1470 * include/backward/alloc.h: Include c++config.h instead.
1471 * include/backward/function.h: Ditto.
1472 * include/backward/heap.h: Ditto.
1473 * include/backward/pair.h: Ditto.
1474 * include/bits/pthread_allocimpl.h: Ditto.
1475 * include/bits/std_functional.h: Ditto.
1476 * include/bits/std_iterator.h: Ditto.
1477 * include/bits/std_numeric.h: Ditto.
1478 * include/bits/std_utility.h: Ditto.
1479 * include/bits/stl_algobase.h: Ditto.
1480 * include/bits/type_traits.h: Ditto.
1481 * src/stl-inst.cc: Ditto.
1483 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1485 * include/bits/basic_file.h: Add #pragma system_header
1486 * include/bits/basic_ios.h: Ditto.
1487 * include/bits/basic_string.h: Ditto.
1488 * include/bits/char_traits.h: Ditto.
1489 * include/bits/codecvt.h: Ditto.
1490 * include/bits/cpp_type_traits.h: Ditto.
1491 * include/bits/fpos.h: Ditto.
1492 * include/bits/gslice.h: Ditto.
1493 * include/bits/gslice_array.h: Ditto.
1494 * include/bits/indirect_array.h: Ditto.
1495 * include/bits/ios_base.h: Ditto.
1496 * include/bits/limits_generic.h: Ditto.
1497 * include/bits/locale_facets.h: Ditto.
1498 * include/bits/localefwd.h: Ditto.
1499 * include/bits/mask_array.h: Ditto.
1500 * include/bits/sbuf_iter.h: Ditto.
1501 * include/bits/sequence_concepts.h: Ditto.
1502 * include/bits/slice.h: Ditto.
1503 * include/bits/slice_array.h: Ditto.
1504 * include/bits/std_algorithm.h: Likewise.
1505 * include/bits/std_bitset.h: Likewise.
1506 * include/bits/std_complex.h: Likewise.
1507 * include/bits/std_deque.h: Likewise.
1508 * include/bits/std_fstream.h: Likewise.
1509 * include/bits/std_functional.h: Likewise.
1510 * include/bits/std_iomanip.h: Likewise.
1511 * include/bits/std_ios.h: Likewise.
1512 * include/bits/std_iosfwd.h: Likewise.
1513 * include/bits/std_iostream.h: Likewise.
1514 * include/bits/std_istream.h: Likewise.
1515 * include/bits/std_iterator.h: Likewise.
1516 * include/bits/std_list.h: Likewise.
1517 * include/bits/std_locale.h: Likewise.
1518 * include/bits/std_map.h: Likewise.
1519 * include/bits/std_memory.h: Likewise.
1520 * include/bits/std_numeric.h: Likewise.
1521 * include/bits/std_ostream.h: Likewise.
1522 * include/bits/std_queue.h: Likewise.
1523 * include/bits/std_set.h: Likewise.
1524 * include/bits/std_sstream.h: Likewise.
1525 * include/bits/std_stack.h: Likewise.
1526 * include/bits/std_stdexcept.h: Likewise.
1527 * include/bits/std_streambuf.h: Likewise.
1528 * include/bits/std_string.h: Likewise.
1529 * include/bits/std_utility.h: Likewise.
1530 * include/bits/std_valarray.h: Likewise.
1531 * include/bits/std_vector.h: Likewise.
1532 * include/bits/stringfwd.h: Likewise.
1533 * include/bits/type_traits.h: Likewise.
1534 * include/bits/valarray_array.h: Likewise.
1535 * include/bits/valarray_meta.h: Likewise.
1537 2001-02-19 Andreas Jaeger <aj@suse.de>
1539 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1542 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1545 * include/bits/std_ostream.h: Replaced usage of
1546 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1547 * include/bits/char_traits.h: Removed non-standard
1548 methods that cannot be used elsewhere.
1551 * include/bits/basic_ios.h: Uncommented #include of
1555 * include/bits/codecvt.h: See next...
1556 * include/bits/fstream.tcc: See next...
1557 * include/bits/ostream.tcc: Add __extension__
1558 to variable-length arrays.
1561 * include/bits/localefwd.h: Changed int counter type to size_t.
1564 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1566 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1568 * testsuite/21_strings/char_traits.cc: Move to ...
1569 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1570 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1571 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1573 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1575 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1578 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1580 * include/bits/c++config: Revert.
1582 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1584 * include/bits/istream.tcc: Use ios_base::iostate in place of
1585 iostate throughout. Insert `typename' keyword where necessary.
1586 * include/bits/ostream.tcc: Insert `typename' keyword where
1589 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1591 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1592 Define so library is compliant.
1594 2001-02-15 Anthony Green <green@redhat.com>
1596 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1598 * aclocal.m4: Regenerate.
1599 * configure: Regenerate.
1601 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1603 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1604 Include ieeefp.h for fpclass on UnixWare{2,7}.
1605 * aclocal.m4: Regenerate.
1606 * configure: Regenerate.
1607 * mkcheck.in (size_command): Do without GNU-grep when using
1610 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1612 Remove old ABI support from libsupc++.
1613 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1614 * libsupc++/exception_support.cc: Likewise.
1615 * libsupc++/pure.cc: Likewise.
1616 * libsupc++/tinfo.cc: Likewise.
1617 * libsupc++/tinfo.h: Likewise.
1618 * libsupc++/tinfo2.cc: Likewise.
1619 * libsupc++/typeinfo: Likewise.
1620 * libsupc++/vec.cc: Likewise.
1622 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1624 Add support for -fno-exceptions.
1625 * include/bits/exception_support.h: Remove.
1626 * include/bits/basic_string.h: Remove exception_support.
1627 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1629 (string::substr): Same.
1630 * include/bits/basic_string.tcc (string::reserve): Replace
1631 __LENGTHERROR with __throw_length_error.
1632 (string::_S_create): Same.
1633 (string::resize): Same.
1634 (string::_M_replace): Same.
1635 (string::replace): Same.
1636 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1637 (string::compare): Same.
1638 * include/bits/stl_vector.h: Remove exception_support.
1639 * src/Makefile.am (base_headers): Remove here.
1640 * src/Makefile.in: Regenerate.
1642 * include/bits/stl_range_errors.h: Remove.
1643 * include/bits/stl_deque.h: Use __throw_range_error.
1644 * include/bits/std_deque.h: Include functexcept.h.
1645 * include/bits/std_vector.h: Same.
1646 * src/Makefile.am (base_headers): Remove here.
1647 * src/Makefile.in: Regenerate.
1648 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1649 * include/ext/bvector: Remove stl_range_errors.h
1651 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1653 * include/bits/functexcept.h: New file.
1654 * src/functexcept.cc: New file. Definitions for function-based
1656 * src/Makefile.am (sources): Add functexcept.cc.
1657 * src/Makefile.in: Regenerate.
1659 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1662 * include/bits/localefwd.h: Include functexcept.h.
1663 * include/bits/std_iosfwd.h: Same.
1665 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1666 throw basic_ios::failure.
1667 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1668 Use __throw_exception_again.
1669 (filebuf::_M_filebuf_init): Same.
1670 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1671 * include/bits/ostream.tcc (ostream::operator<<): Same.
1672 * include/bits/istream.tcc (istream::operator>>): Same.
1673 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1674 (string::_S_construct): Same.
1675 (string::_M_clone): Same.
1676 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1678 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1679 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1680 __throw_exception_again.
1681 (locale::_Imp::_Imp(string, size_t): Same.
1682 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1683 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1684 (locale::locale(const char*)): Use __throw_runtime_error.
1685 (locale::classic): Use __throw_exception_again.
1686 (locale::_S_normalize_category): Use __throw_runtime_error.
1688 * src/stdexcept.cc: Remove cruft.
1690 * libsupc++/exception_defines.h: New file.
1691 * libsupc++/new_opnt.cc: Include exception_defines.h.
1692 * libsupc++/vec.cc: Same.
1693 (__cxa_vec_new2): Use __throw_exception_again.
1694 (__cxa_vec_new3): Same.
1695 (__cxa_vec_ctor): Same.
1696 (__cxa_vec_delete3): Same.
1697 (__cxa_vec_cctor): Same.
1698 (__cxa_vec_delete2): Same.
1699 (__cxa_vec_dtor): Same.
1700 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1701 compile exception-handling bits if __EXCEPTIONS is defined.
1702 Remove old ABI support.
1703 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1704 std::__throw_bad_alloc() instead of throw bad_alloc.
1705 * libsupc++/Makefile.am: Add exception_defines.h.
1706 * libsupc++/Makefile.in: Reformat.
1707 * libsupc++/*: Format.
1709 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1711 * docs/html/configopts.html: Minor updates and typo fixes.
1712 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1713 * docs/html/faq/index.txt: Regenerated.
1715 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1717 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1718 dejagnu/dg.exp. Adapt to log options used to run testcases.
1720 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1722 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1725 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1726 Phil Edwards <pme@sources.redhat.com>
1728 * include/backward/function.h: Do not use rel_ops for older
1730 * include/backward/pair.h: Likewise.
1732 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1734 * src/locale.cc: Remove bogus locale::id definitions.
1736 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1738 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1739 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1741 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1742 thinko in member initialisation.
1744 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1746 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1747 comparaison between signed and unsigned integer types.
1748 (valarray<>::cshift): Reformat.
1750 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1752 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1753 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1754 * configure.in: Test for sigsetjmp.
1755 * configure, config.h.in: Rebuilt.
1757 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1759 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1760 lengths and strides.
1761 (__gslice_to_index): Document.
1763 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1765 * include/bits/char_traits.h char_traits<char>::int_type: Change
1766 to `int' to match 21.1.3.1/2.
1768 * testsuite/21_strings/char_traits-int_type.C: New test.
1770 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1772 * testsuite/Makefile.am: New file.
1774 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1776 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1778 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1780 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1782 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1784 * configure.target (aix4*): Remove extra set of brackets.
1786 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1789 * include/bits/stringfwd.h: New file.
1790 * include/bits/stl_string_fwd.h: Remove.
1791 * include/bits/localefwd.h: Remove declaration for allocator.
1792 * include/bits/std_iosfwd: Same.
1793 * include/bits/std_string.h: Include it.
1794 * include/bits/std_ios.h: Remove include.
1795 * include/bits/basic_string.h: Tweak.
1796 * libsupc++/new: Format.
1797 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1799 * src/Makefile.in: Regenerate.
1800 * include/bits/std_stdexcept.h: Rewrite.
1801 * src/stdexcept.cc: Same.
1803 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1805 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1806 install locations too.
1807 * aclocal.m4: Regenerate.
1808 * configure.in: Remove USE_LIBDIR.
1809 * configure: Regenerate.
1810 * src/Makefile.am (toolexecdir): Simplify, use
1811 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1812 * src/Makefile.in: Regenerate.
1813 * libsupc++/Makefile.am: Same.
1814 * libsupc++/Makefile.in: Regenerate.
1816 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1817 misc-inst.cc as no longer necessary.
1819 Follow C++STYLE for naming non-static functions.
1820 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1822 * include/bits/streambuf.tcc: Same.
1823 * include/bits/ostream.tcc: Same.
1824 * include/bits/istream.tcc: Same.
1825 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1826 (_S_output_float): To __output_float.
1827 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1829 * include/bits/locale_facets.tcc (_S_build_float_format): To
1830 __build_float_format.
1831 (_S_format): To __output_integer.
1832 (_S_fill): To __pad.
1833 * src/locale.cc: Same.
1834 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1836 * include/bits/locale_facets.tcc (_S_group_digits): To
1838 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1839 for collate, numpunct.
1841 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1843 * docs/html/configopts.html: Fix HTML markup.
1844 * docs/html/install.html: Bring up to date.
1845 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1846 * docs/html/21_strings/howto.html: More notes.
1847 * docs/html/22_locale/howto.html: Fix HTML markup.
1848 * docs/html/27_io/howto.html: More notes.
1849 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1850 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1852 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1854 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1855 to match header files.
1856 (_S_output_float): Likewise.
1857 (_S_copy_streambufs): Likewise.
1859 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1860 Phil Edwards <pme@sources.redhat.com>
1862 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1863 use reinterpret_cast, not static_cast.
1865 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1867 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1868 * aclocal.m4: Regenerate.
1869 * configure: Regenerate.
1871 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1873 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1874 * libsupc++/pure.cc: Revert.
1876 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1878 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1879 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1880 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1881 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1882 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1883 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1884 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1885 * aclocal.m4: Regenerate.
1886 * configure: Regenerate.
1888 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1890 * include/bits/locale_facets.tcc: Remove `static' keyword on
1891 function definitions.
1892 * include/bits/std_streambuf.h: Likewise.
1893 * src/Makefile.am: Remove use of -fimplicit-templates.
1894 * src/Makefile.in: Regenerated.
1895 * src/locale-inst.cc: Explicitly instantiate more functions.
1896 * src/misc-inst.cc: Likewise.
1897 * src/string-inst.cc: Likewise.
1899 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1901 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1902 macro. Consolidate all the bits to do with where includes might be
1904 * aclocal.m4: Regenerate.
1905 * configure.in: Use it.
1906 * configure: Regenerate.
1907 * src/Makefile.am (targetincludep): Use simplified rules.
1908 (targetincludep): Rename gxx_target_include_dir.
1909 (myincludep): Rename gxx_include_dir.
1910 * src/Makefile.in: Regenerate.
1911 * libsupc++/Makefile.am: Use simplified rules.
1912 * libsupc++/Makefile.in: Regenerate.
1914 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1916 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1917 * include/c_std/bits/std_cctype.h: Same.
1918 * include/c_std/bits/std_cassert.h: Same.
1919 * include/c_std/bits/std_cstdarg.h: Same.
1920 * include/c_std/bits/std_cstddef.h: Same.
1922 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1924 * include/c_std/bits/std_ctime.h: Same.
1925 * include/c_std/bits/std_clocale.h: Same.
1926 * include/c_std/bits/std_cmath.h: Same.
1927 * include/c_std/bits/std_csetjmp.h: Same.
1928 * include/c_std/bits/std_csignal.h: Same.
1929 * include/c_std/bits/std_cstring.h: Same.
1930 * include/c_std/bits/std_cstdlib.h: Same.
1931 * include/c_std/bits/std_cwchar.h: Same.
1933 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1935 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1937 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1939 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1940 (string::_S_construct): Likewise.
1942 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1944 * testsuite/config/default.exp: New file.
1945 * testsuite/config: New directory.
1947 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1949 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1950 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1951 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1952 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1954 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1955 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1957 * Makefile.am (mkinstalldirs): Set.
1958 * src/Makefile.am (mkinstalldirs): Set.
1959 * libmath/Makefile.am (mkinstalldirs): Set.
1960 * libsup++/Makefile.am (mkinstalldirs): Set.
1961 * libio/Makefile.am (mkinstalldirs): Set.
1962 * */Makefile.in: Regenerate.
1964 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1966 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1967 * include/bits/localefwd.h: More initialization cleanups.
1969 2001-02-03 Jeffrey A Law <law@cygnus.com>
1971 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1972 correctly targets with 16bit ints.
1973 (_S_ios_openmode_end): Similarly.
1974 (_S_ios_iostate_end): Similarly.
1975 (_S_ios_Seekdir_end): Similarly.
1977 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1979 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1981 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1983 * configure.in (toplevel_srcdir, auxdir): Set.
1984 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1985 * aclocal.m4, configure, Makefile.in: Rebuilt.
1986 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1987 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1988 * libsupc++-v3/Makefile.in: Rebuilt.
1989 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1990 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1992 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1994 * config/c_locale_generic.cc: Remove langinfo include.
1996 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1998 Preliminary named locales.
1999 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2000 * aclocal.m4: Regenerate.
2001 * configure.in: Use it.
2002 * configure: Regerate.
2003 * src/Makefile.am (sources): Add c++locale.cc.
2004 (build_headers): Add c++locale.h.
2005 * src/Makefile.in: Regenerate.
2006 * config/c_locale_gnu.h: New file.
2007 * config/c_locale_gnu.cc: New file. Non-inline member functions
2008 for named locales, gnu-specific.
2009 * config/c_locale_generic.h: New file.
2010 * config/c_locale_generic.cc: New file. Non-inline member
2011 functions for named locales, generic version.
2012 * docs/html/configopts.html: Add documentation on new options.
2014 * include/bits/locale_facets.h (class _Messages): Remove.
2015 (class _Moneypunct): Remove.
2016 * src/locale-inst.cc: Remove.
2018 * include/bits/locale_facets.h (class _Collate): Remove.
2019 * src/locale-inst.cc (std): Remove.
2020 * src/locale.cc: And here.
2022 * include/bits/localefwd.h (locale::_M_coalesce): New
2023 function. Correctly put together multi-name locales.
2024 (_Impl(const _Impl&, category, size_t)): Remove.
2026 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2028 (_M_normalize_category_names): Remove.
2029 (_M_replace_categories): Fix.
2031 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2032 (locale::_Impl::_M_construct_ctype): Remove.
2033 (locale::_Impl::_M_construct_monetary): Remove.
2034 (locale::_Impl::_M_construct_numeric): Remove.
2035 (locale::_Impl::_M_construct_time): Remove.
2036 (locale::_Impl::_M_construct_messages): Remove.
2038 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2039 (_Use_facet_failure_handle): Remove.
2040 * src/locale.cc: Remove definitions.
2041 * src/locale-inst.cc: And here.
2043 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2045 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2046 create and error-check underlying locale object.
2047 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2048 tearing down underlying locale object.
2049 * include/bits/localefwd.h (locale::facet): Declare.
2050 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2051 correctness, as glibc apparently has incorrect info in it. Test
2052 with it when it works again.....
2054 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2055 Remove. Number of categories is fixed at six, so just simplify and
2056 make this an array of strings.
2057 (locale::_Impl::_M_has_name): Remove.
2058 (locale::_Impl::_M_name): Remove.
2059 (locale::_Impl::_M_category_names): Turns into...
2060 (locale::_Impl::_M_names): ...this.
2061 (locale::_Impl::_M_has_same_name()): New function.
2062 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2063 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2065 * src/locale.cc (locale::name()): Construct mangled name
2066 accurately reflecting combined locale categories.
2068 * src/locale.cc (locale::classic()): Don't initialize here.
2069 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2070 __refs, bool __has_name, string __str): Do it here.
2072 * include/bits/localefwd.h: _S_categories_num to
2073 _S_num_categories. _S_facets_num to _S_num_facets.
2074 (locale::id::id()): Explicitly set _M_index to zero.
2075 * src/locale.cc: Same.
2077 * src/locale.cc: (locale::locale(const char*)): Construct named
2080 * src/locale.cc: Remove numpunct_byname ctors.
2081 * testsuite/22_locale/numpunct_byname.cc: New file.
2082 * testsuite/22_locale/numpunct.cc: New file.
2084 * include/bits/localefwd.h (class locale): Change data members to
2085 protected, from private.
2086 (_Impl::_M_get_c_locale): Add member function.
2087 (locale::facet::_M_get_global_impl()): Add member function.
2088 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2089 a __c_locale pointer.
2090 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2092 * testsuite/22_locale/members.cc: New file, test name and combine.
2094 * include/bits/locale_facets.h (class numpunct): Remove class
2095 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2097 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2098 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2099 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2100 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2101 * testsuite/22_locale/numpunct_char_members.cc: New file.
2103 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2105 * testsuite/README: Add more comment.
2106 * testsuite/lib/libstdc++.exp: Tweak comment.
2108 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2110 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2112 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2114 * testsuite/21_strings/inserters_extractors.cc: Remove
2115 explicit reference to 'testsuite/'.
2117 2001-01-25 Richard Henderson <rth@redhat.com>
2119 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2120 bits. Fixes Tru64 build issues.
2122 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2124 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2125 (use ${MAKE-make}, not ${MAKE:-make}).
2126 * aclocal.m4, configure: Regenerate.
2128 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2130 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2133 * src/Makefile.am (sources): Add globals.cc.
2134 * src/Makefile.in: Regenerated.
2135 * src/globals.cc: New file.
2136 * src/ios.cc (cin): Don't define here, just declare extern.
2145 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2147 * include/bits/std_iterator.h: Do not include stl_relops.h.
2148 * include/bits/std_numeric.h: Ditto.
2149 * include/bits/stl_algobase.h: Ditto.
2150 * include/bits/stl_relops.h: Add comment warning about problems.
2152 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2154 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2155 in testcases. Prepare for the DejaGnu based framework.
2156 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2157 directory -- it is now mkcheck working directory.
2158 * tests_flags.in: Remove reference to $(top_srcdir). Use
2160 * Makefile.am (check, check-install): Change mkcheck invocation
2162 * Makefile.in: Regenerate.
2164 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2166 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2167 (__always_swap): Likewise.
2169 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2171 * libsupc++/exception_support.cc (__terminate_func): Remove
2173 (__terminate_func_ptr): New typedef.
2174 (__terminate, __terminate_set_func): New extern function
2176 (std::terminate): Use __terminate function.
2177 (std::set_terminate): Use __terminate_set_func function.
2179 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2181 * configure.target: Just use os_include_dir always.
2182 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2183 Link atomicity files and ctype files here.
2184 * configure: Regenerate.
2185 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2186 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2187 * aclocal.m4: Regenerate.
2189 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2191 * configure.in: Place definition of MULTISUBDIR in
2192 libsupc++/Makefile as is done for src/Makefile.
2193 * configure: Regenerate.
2195 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2197 * acinclude.m4: Cosmetic changes only.
2198 * aclocal.m4: Regenerated.
2199 * configure: Regenerated.
2200 * configure.target: Update documented list of changed variables.
2201 * docs/html/install.html: Fix typo.
2202 * docs/html/20_util/howto.html: More notes on auto_ptr.
2203 * docs/html/27_io/howto.html: More notes on streabufs.
2204 * docs/html/faq/index.html: Add rel_ops problem and mention the
2205 DEC as(1) .subsection difficulty.
2206 * docs/html/faq/index.txt: Regenerated.
2208 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2210 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2211 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2212 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2213 its already provided in config.target.
2214 * aclocal.m4: Regenerated.
2215 * configure: Likewise.
2216 * configure.target: Set ctype_include_dir for lots of systems.
2217 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2218 * libsupc++/Makefile.in: Regenerated.
2220 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2222 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2225 * testsuite/README: Add comment.
2227 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2229 * docs/html/configopts.html: Update for current status. Fix HTML.
2230 * docs/html/install.html: Update for current status.
2232 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2234 * testsuite/libstdc++.tests/tests.exp: New file.
2235 * testsuite/lib/libstdc++.exp: Itou.
2236 * testsuite/README: Itou.
2238 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2240 * tests_flags.in: Just output the bare minimum to run tests.
2241 Let's the caller do its own arrangement.
2243 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2246 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2248 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2251 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2253 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2255 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2257 * mkcheck.in: Construct file names that match $objdir structure.
2258 * testsuite/27_io/filebuf_members-1.txt: New file.
2259 * testsuite/27_io/ifstream_members-1.txt: New file.
2260 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2262 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2263 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2265 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2267 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2269 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2272 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2273 * src/ios.cc (ios_base::failure): Make definitions match.
2274 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2275 (class bad_cast): Same.
2276 * libsupc++/exception (class exception): Add throw specs.
2277 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2278 (set_unexpected): Same.
2279 (uncaught_exception): Same.
2282 * docs/html/17_intro/C++STYLE (classname): Fix.
2284 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2286 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2287 Use it do explicitly instantiate predicate<T> and value<T> for
2290 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2292 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2293 uninitialized thinko in last change.
2295 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2297 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2300 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2302 * docs/html/17_intro/C++STYLE (classname): Add more existing
2303 and stylish patterns.
2306 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2307 failbit if the state of the stream is not good.
2308 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2309 * testsuite/27_io/istream_manip.cc (test01): Modify.
2312 reported by Paolo Carlini <pcarlini@unitus.it>
2313 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2314 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2317 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2318 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2319 (xsgetn): Same. Simplify.
2320 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2322 reported by Larry Evans <jcampbell3@prodigy.net>
2323 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2324 equality with eof on returned value from overflow.
2326 2001-01-14 Andreas Jaeger <aj@suse.de>
2328 * libio/libio.h: Add test for glibc 2.0.
2330 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2332 * config/os/djgpp/bits/*: Fix dates.
2334 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2335 _CharT* __end, _CharT __c): Remove.
2336 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2337 * include/bits/char_traits.h: Tweak.
2339 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2341 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2342 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2344 * aclocal.m4: regenerated.
2345 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2346 * configure: regenerated.
2347 * config/os/djgpp, config/os/djgpp/bits: new directories.
2348 * config/os/djgpp/bits/ctype_base.h,
2349 config/os/djgpp/bits/ctype_inline.h,
2350 config/os/djgpp/bits/ctype_noninline.h,
2351 config/os/djgpp/bits/os_defines.h: new files.
2353 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2355 * include/c_std/bits/std_cstdio.h: Undef printf.
2357 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2359 * src/ios.cc: Fix typo: change cout->wcout.
2361 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2362 * src/Makefile.in: Regenerate.
2364 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2366 * include/bits/std_complex.h: Fix a typo.
2368 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2371 Fixes for libstdc++/1576
2372 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2373 file, move contents into....
2374 * src/ios.cc: ...Here. Put defines for iostreams objects and
2375 initialization routines into one file to simplify DSO interaction.
2376 * include/bits/std_iostream.h: Touch.
2377 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2378 * src/Makefile.am (sources): Remove stdstreams.cc.
2379 * src/Makefile.in: Regenerate.
2381 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2383 * tests_flags.in (check_directory): Fix typo.
2385 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2387 * include/bits/std_complex.h: Fix a typo.
2389 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2391 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2392 code path:) Remove magic constants and restructure to handle
2393 ctype.h bit mask layout changes more gracefully. (Make fast
2394 code path:) Use __maskrune (), if available.
2395 (is): Remove special case for digit and xdigit masks.
2397 2001-01-09 Robert Lipe <robertlipe@usa.net>
2399 * include/c_std/bits/std_ctime.h: Undefine difftime.
2401 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2403 * src/gen-num-limits.cc (signal_adapter): New template function.
2404 (signal_handler): Use it, instead of signal.
2405 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2406 require both tests to trap to set trap_flag.
2408 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2410 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2411 initialize mbstate_t member, name offset data members *off, not pos.
2412 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2414 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2416 reported by Chris G. Demetriou <cgd@sibyte.com>
2417 * configure.in: Change -linux-* to -linux*.
2418 * configure: Regenerate.
2420 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2422 Fix 27_io/filebuf_members.cc
2423 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2424 const string& __name, category __cat, size_t __refs): Set
2425 _M_has_name with _M_name.
2426 * include/bits/localefwd.h (locale::operator!=): Protect member
2427 function call with this->.
2428 * src/locale.cc (locale::operator==): Make fast checks first.
2429 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2431 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2433 * src/ios.cc (ios_base::Init::Init): Initialize here.
2434 (ios_base::sync_with_stdio): Set here.
2436 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2438 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2439 systems that support it, call dup() before fdopen().
2441 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2443 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2444 * testsuite/17_intro/header_cwctype.cc (main): New file.
2446 * src/Makefile.am (base_headers): Change.
2447 * include/bits/std_string.h: And here.
2448 * include/bits/string.tcc: Tweaks, move to...
2449 * include/bits/basic_string.tcc: ...Here.
2450 * src/string-inst.cc: Simplify, just instantiate the whole class,
2451 not member-by-member.
2453 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2455 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2456 * aclocal.m4: Regenerate.
2457 * configure: Regenerate.
2459 * include/bits/c++config (__GLIBCPP__): Bump version number.
2461 * ChangeLog: Start new log for year 2001
2462 * ChangeLog-2000: New file.
2464 * docs/html/configopts.html: Make sure default values are current,
2467 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2469 * include/c_std/bits/std_cwchar.h: Same.
2470 * testsuite/17_intro/header_cwchar.cc: Same.
2471 * include/c_std/bits/std_ctime.h: Same.
2472 * testsuite/17_intro/header_ctime.cc: Same.
2473 * include/c_std/bits/std_cstdlib.h: Same.
2474 Clean up undefs, make consistent with cwchar and cmath, etc.
2475 * testsuite/17_intro/header_cstdlib.cc: Same.
2476 * include/c_std/bits/std_cstdio.h: Same here.
2477 * testsuite/17_intro/header_cstring.cc: Same.
2478 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2479 * testsuite/17_intro/header_cstring.cc: New file. Check for
2480 size_t in namespace std.
2482 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2483 * acconfig.h (HAVE_MBSTATE_T): Add.
2484 * config.h.in: Regenerate.
2485 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2487 * aclocal.m4: Regenerate.
2488 * configure: Regenerate.
2489 * testsuite/17_intro/headers_c++.cc: New file.
2490 * testsuite/17_intro/headers_c.cc: Small changes.
2492 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2494 * tests_flags.in: Fix typo in usage.
2496 * tests_flags.in: Set target specific LIBS for cygwin.