1 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
5 (__cxa_free_exception): Likewise with free.
7 2001-05-24 Mark Mitchell <mark@codesourcery.com>
9 * include/c_std/bin/std_cstring.h: #define away all global
10 functions we will redeclare in namespace `std'.
11 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
12 std::memset, instead of memset.
13 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
15 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
18 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
21 * include/bits/basic_ios.tcc: Small tweak.
22 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
23 ctors and dtors, and rdbuf settings.
26 * include/bits/std_sstream.h: Same, but for stringstream classes.
27 * testsuite/27_io/ostringstream_members.cc: New.
28 * testsuite/27_io/stringstream_members.cc: New.
29 * testsuite/27_io/fstream_members.cc: New.
30 * testsuite/27_io/ifstream_members.cc: Add test.
31 * testsuite/27_io/istringstream_members.cc: Add test.
32 * testsuite/27_io/ofstream_members.cc: Add test.
34 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
36 * include/bits/c++config(__NO_MATH_INLINES): Move to...
37 * config/os/gnu-linux/bits/os_defines.h: ...here.
39 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
41 * include/bits/c++config (__NO_MATH_INLINES): New macro.
42 * testsuite/26_numerics/fabs_inline.cc (main): New test.
44 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
47 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
49 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
50 (libstdc++-v3-finish): Remove.
51 (libstdc++-v3_exit): Remove.
53 2001-05-22 Phil Edwards <pme@sources.redhat.com>
55 * docs/html/documentation.html: Point to doxygen output.
57 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
59 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
61 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
62 arguments to be non-null.
63 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
64 try allocations if allocated size is greater than zero.
65 (filebuf::_M_filebuf_init): Change to
66 (filebuf::_M_allocate_file): Which is what it does now.
67 (filebuf::_M_allocate_bufers): Change to
68 (filebuf::_M_allocate_internal_buffer): This, and create
69 (filebuf::_M_allocate_pback_buffer): New.
70 (filebuf::_M_destroy_internal_buffer): New.
71 (filebuf::_M_buf_allocated): New data member.
72 (filebuf::setbuf): Use new logic, allow use of external buffer.
73 * testsuite/27_io/stringbuf_virtuals.cc: New file.
74 * testsuite/27_io/filebuf_virtuals.cc: New file.
76 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
78 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
80 (strchr): Same, but to __glibcpp_strchr.
84 * include/c_std/bits/std_cwchar.h (wcschr): Same.
90 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
92 * testsuite/21_strings/c_strings.cc (main): Fix.
94 2001-05-19 Phil Edwards <pme@sources.redhat.com>
96 * acinclude.m4: Fix --help spacing, correct comments.
97 * aclocal.m4: Regenerate.
98 * configure: Regenerate.
99 * mkcheck.in: Add usage comments.
100 * docs/html/documentation.html: Point to doxygen'd tarball.
102 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
104 * testsuite/README: Add notes.
106 * src/Makefile.am (libstdc++.INC): Remove.
107 * src/Makefile.in: Regenerate.
109 Phil Edwards <pedwards@disaster.jaj.com>
110 * mkcheck.in: Add missing '#'.
112 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
114 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
115 appropriately for remote testing and testing installed files without
118 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
120 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
121 amd glibcpp_prefixdir with absolute paths.
123 * include/bits/c++config (__GLIBCPP__): Bump.
124 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
126 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
128 * include/bits/std_valarray.h (valarray<>::operator[] const):
129 Return a const reference.
130 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
132 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
134 * configure.target (ATOMICITYH): Actually use AIX-specific code on
135 earlier versions of AIX 4.*.
137 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
139 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
140 output_file based on the name of the testcase.
142 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
144 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
145 gluefile and use it if needs_status_wrapper is set.
147 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
149 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
152 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
154 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
155 on earlier versions of AIX.
157 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
159 * testsuite_flags.in (query): Add backwards, ext directories.
161 2001-05-15 Mark Mitchell <mark@codesourcery.com>
163 * porting.texi: Correct documentation about handling
164 _LARRGEFILE_SOURCE and its ilk.
165 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
166 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
168 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
169 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
171 2001-05-15 Zack Weinberg <zackw@stanford.edu>
173 * testsuite/21_strings/inserters_extractors.cc,
174 testsuite/27_io/istream_unformatted.cc,
175 testsuite/27_io/stringstream.cc:
176 Replace multi-line string constants with C89-style
177 concatenated string constants.
179 2001-05-14 Richard Henderson <rth@redhat.com>
181 * mknumeric_limits: Build with -fno-exceptions.
183 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
185 Switch over to new harness.
186 * testsuite_flags.in: Tweaks via Gaby.
187 * testsuite/Makefile.am: Change tool to libstdc++-v3.
188 (EXPECT): Quote directly.
190 * configure.in: Output testsuite_flags.
191 * acinclude.m4: Substitute src, bld, and prefix dirs.
192 Remove glibcpp_expect, glibcpp_runtestflags.
193 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
194 * mkcheck.in: Port to new interface.
196 * aclocal.m4: Regerate.
197 * configure: Regnerate.
198 * Makefile.in: Regnerate.
199 * */Makefile.in: Regenerate.
201 * tests_flags.in: Remove.
202 * testsuite/lib/libstdc++.exp: Remove.
203 * testsuite/libstdc++.tests/tests.exp: Remove.
205 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
207 * configure.target: Remove detection of AIX pthread multilib, now
208 obtained from `gcc -v'.
210 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
212 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
213 size. Add hpux case for HP size.
215 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
217 * testsuite_flags.in: New, simplified interface.
218 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
219 * testsuite/libstdc++-v3.dg: Add.
220 * testsuite/libstdc++-v3.dg/dg.exp: Add.
222 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
224 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
225 * testsuite/config/default.exp: Update bugs email address.
227 2001-05-11 Richard Henderson <rth@redhat.com>
229 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
230 all pointer encoding logic.
231 (struct lsda_header_info): Add ttype_base.
232 (get_ttype_entry): Use it instead of a context.
233 (check_exception_spec): Likewise.
234 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
235 the c++ exception header for __cxa_call_unexpected.
236 (__cxa_call_unexpected): Use it.
238 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
240 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
241 libgloss_link_flags to find crt0.o for targets that use libgloss
243 Change LDFLAGS to LIBS.
244 Consistently name procedures libstdc++-XXX.
245 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
247 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
249 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
254 * include/c_std/bits/std_cwchar.h (wcschr): Same.
259 * testsuite/21_strings/c_strings.cc: Add tests.
261 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
264 * include/bits/std_fstream.h (basic_filebuf): Change signature.
265 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
266 to int_type, pass in buffer size info.
267 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
268 unbuffered situation.
269 (underflow): Remove codecvt bits for the time being.
270 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
271 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
272 values from iterators, clean.
273 * src/locale.cc: Ditto.
274 * include/bits/sbuf_iter.h: Format.
275 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
276 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
277 * testsuite/27_io/filebuf.cc: Tweaks.
278 * testsuite/27_io/filebuf_members.cc: Tweaks.
280 2001-05-07 Mark Mitchell <mark@codesourcery.com>
282 * config/os/solaris/solaris2.7/bits/os_defines.h
283 (_LARGEFILE_SOURCE): Define it.
285 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
287 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
288 -prefer-non-pic depending on whether libtool has shared libraries
290 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
291 $(LIBSUPCXX_PICFLAGS).
292 * configure, */Makefile.in: Rebuilt.
294 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
296 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
297 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
299 * include/bits/std_sstream.h (stringbuf): Leak
301 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
303 2001-05-01 Tom Browder <tbrowder@home.com>
305 * docs/html/ext/howto.html: Fix typo.
307 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
309 * testsuite/libstdc++.tests/tests.exp: Add comment.
311 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
313 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
315 2001-04-30 Mark Mitchell <mark@codesourcery.com>
317 * porting.texi: Use the GFDL.
319 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
322 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
323 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
326 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
329 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
331 2001-04-28 Phil Edwards <pme@sources.redhat.com>
333 * docs/doxygen/run_doxygen: Minor tweaks.
334 * docs/doxygen/style.css: New file.
335 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
336 latest parameters available. Use style.css.
338 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
340 * docs/doxygen/mainpage.doxy: New.
341 * docs/doxygen/user.cfg.in: Change default configuration. Single
344 2001-04-26 Mark Mitchell <mark@codesourcery.com>
346 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
347 Indicate obsolete nature of thelist for G++ 3.0.
349 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
351 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
352 target_thread_file with `gcc -v'.
353 * aclocal.m4, configure: Rebuilt.
355 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
357 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
358 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
359 * include/c_std/bits/std_cwchar.h (std): Same.
360 * acconfig.h (std): Remove c99 injection into std.
361 * config.h.in: Regenerate.
363 * testsuite/README: Fix typo.
365 * include/bits/codecvt.h: Remove warnings.
367 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
369 * include/ext/slist: Include required header files.
371 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
373 * include/c_std/bits/std_cerrno.h (errno): Define macro from
374 identifier declared with external linkage, if needed.
375 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
376 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
378 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
380 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
381 re-configures find the build compiler.
382 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
384 * aclocal.m4: Regenerate.
385 * configure: Regenerate.
387 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
389 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
390 support is enabled correctly before long long is activated.
391 * aclocal.m4: Regenerate.
392 * configure: Regenerate.
394 * include/backward/backward_warning.h: Format correctly.
396 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
397 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
398 * testsuite/26_numerics/c99_macros.cc: Remove.
400 2001-04-20 Phil Edwards <pme@sources.redhat.com>
402 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
405 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
407 * acconfig.h (_GLIBCPP_USE_C99): Add.
408 * config.h.in: Regenerate.
409 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
411 * aclocal.m4: Regenerate.
412 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
413 * configure: Regenerate.
414 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
415 * configure: Regenerate.
416 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
418 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
420 * include/c_std/bits/std_cstdlib.h: Same.
421 * docs/html/configopts.html: Update.
422 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
424 (test_c99_classify): Add.
425 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
426 (_ISOC99_SOURCE): Remove.
428 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
429 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
430 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
431 * aclocal.m4: Regenerate.
432 * configure: Regenerate.
434 2001-04-19 Phil Edwards <pme@sources.redhat.com>
436 * Makefile.am (doxygen): Assume script is missing execute perms.
437 * Makefile.in: Regenerated.
438 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
440 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
442 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
444 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
446 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
447 * testsuite/23_containers/set_operators.cc: Same.
449 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
451 (__GLIBCPP__): Bump from value of last release.
452 * include/bits/concept_check.h: Default to off, edit comments.
453 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
454 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
455 * src/Makefile.in: Regenerate.
457 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
459 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
460 Properly uglify member.
462 2001-04-13 Phil Edwards <pme@sources.redhat.com>
464 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
468 2001-04-13 Phil Edwards <pme@sources.redhat.com>
470 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
471 * include/bits/concept_check.h: Uglify.
472 * include/bits/stl_algo.h: Likewise.
473 * include/bits/stl_algobase.h: Likewise.
474 * include/bits/stl_deque.h: Likewise.
475 * include/bits/stl_heap.h: Likewise.
476 * include/bits/stl_iterator_base_funcs.h: Likewise.
477 * include/bits/stl_list.h: Likewise.
478 * include/bits/stl_map.h: Likewise.
479 * include/bits/stl_multimap.h: Likewise.
480 * include/bits/stl_multiset.h: Likewise.
481 * include/bits/stl_numeric.h: Likewise.
482 * include/bits/stl_queue.h: Likewise.
483 * include/bits/stl_set.h: Likewise.
484 * include/bits/stl_stack.h: Likewise.
485 * include/bits/stl_vector.h: Likewise.
486 * include/ext/hash_map: Likewise.
487 * include/ext/hash_set: Likewise.
488 * include/ext/slist: Likewise.
490 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
492 * testsuite/23_containers/set_operators.cc: Just try to compile.
494 * testsuite/23_containers/map_operators.cc: Same.
496 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
498 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
500 (dg-test): Revert rth's change.
502 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
504 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
505 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
507 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
509 * testsuite/README: Add DejaGnu specific documentation.
511 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
513 * acinclude.m4: AC_CHECK_TOOL for expect.
514 * aclocal.m4: Regenerate.
515 * configure: Regenerate.
516 * testsuite/Makefile.am (RUNTEST): Use substituted.
519 * configure.in: Remove xcompiling substitution.
520 * tests_flags.in (CROSS_LIB_PATH): Remove.
521 (xcompiling): Remove.
522 (CXX): Use substituted CXX.
524 2001-04-11 Richard Henderson <rth@redhat.com>
526 * testsuite/lib/libstdc++.exp: Specify path for output_file.
528 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
530 * include/bits/std_valarray.h(valarray<>::operator[]): Make
533 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
535 * testsuite/25_algorithms/equal.cc: New test.
537 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
539 * stl_algobase.h (std::equal): avoid use of possibly-undefined
540 operator != (one line patch).
542 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
544 * include/backward/backward_warning.h: Re-enable.
546 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
547 Alexandre Oliva <aoliva@redhat.com>
549 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
551 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
553 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
554 * testsuite/26_numerics/c99_macros.cc: Add test.
556 2001-04-06 Phil Edwards <pme@sources.redhat.com>
558 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
559 * docs/html/faq/index.txt: Regenerated.
561 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
563 * include/backward/backward_warning.h: Temporarily disable until
564 g++ testsuite changes go in.
565 * tests_flags.in (CROSS_LIB_PATH): Add.
567 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
569 Warn when using backward headers.
570 * include/backward/algo.h: Include warning file.
571 * include/backward/vector.h: Same.
572 * include/backward/tree.h: Same.
573 * include/backward/tempbuf.h: Same.
574 * include/backward/strstream: Same.
575 * include/backward/streambuf.h: Same.
576 * include/backward/stream.h: Same.
577 * include/backward/stack.h: Same.
578 * include/backward/slist.h: Same.
579 * include/backward/set.h: Same.
580 * include/backward/rope.h:
581 * include/backward/queue.h: Same.
582 * include/backward/pair.h: Same.
583 * include/backward/ostream.h: Same.
584 * include/backward/new.h: Same.
585 * include/backward/multiset.h: Same.
586 * include/backward/multimap.h: Same.
587 * include/backward/map.h: Same.
588 * include/backward/list.h: Same.
589 * include/backward/iterator.h: Same.
590 * include/backward/istream.h: Same.
591 * include/backward/iostream.h:
592 * include/backward/iomanip.h:
593 * include/backward/heap.h: Same.
594 * include/backward/hashtable.h:
595 * include/backward/hash_set.h:
596 * include/backward/hash_map.h:
597 * include/backward/function.h:
598 * include/backward/fstream.h:
599 * include/backward/deque.h:
600 * include/backward/defalloc.h: Same.
601 * include/backward/complex.h: Same.
602 * include/backward/bvector.h:
603 * include/backward/alloc.h:
604 * include/backward/algobase.h: Same.
606 * include/backward/backward_warning.h: New file.
607 * src/Makefile.am (backward_headers): Add backward_warning.h
608 * src/Makefile.in: Regenerate.
610 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
612 * src/Makefile.am (myinstalldirs): Make sure backward directory is
614 (myinstallheaders): Install backward headers in backward directory.
615 * src/Makefile.in: Regenerate.
617 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
619 Prepare for libstdc++-2.92.
620 * docs/html/17_intro/RELEASE-NOTES (New): Update.
621 * docs/html/configopts.html: Fix formatting.
622 * README (file): Updates.
623 * include/bits/c++config (__GLIBCPP__): Update.
625 2001-04-05 Phil Edwards <pme@sources.redhat.com>
627 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
629 2001-04-04 Phil Edwards <pme@sources.redhat.com>
631 * docs/doxygen/user.cfg.in: Extract all non-private members;
632 reduce confusing documentation output.
634 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
636 * include/backward/fstream.h: Add missing semicolons.
638 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
640 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
641 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
642 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
643 (ios_base::Init::_S_ios_create): New.
644 (ios_base::Init::_S_ios_destroy): New.
645 * include/bits/std_fstream.h: Change ctor args.
646 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
647 (ios_base::Init::~Init): Use _S_ios_destroy.
648 (ios_base::sync_with_stdio): Use new members.
649 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
652 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
654 * include/backward/fstream.h: Expose streampos to global
657 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
659 * include/bits/stl_iterator_base_types.h: Fix typo
661 2001-04-03 Andreas Schwab <schwab@suse.de>
663 * include/backward/fstream.h: Define filebuf and wfilebuf.
665 2001-04-02 Phil Edwards <pme@sources.redhat.com>
667 New concept checking implementation.
668 * docs/html/19_diagnostics/howto.html: Document.
669 * docs/html/17_intro/concept_check.diff: New file, for reference.
670 * include/bits/boost_concept_check.h: New file from Boost.
671 * include/bits/c++config: Update comments.
673 * include/bits/concept_check.h: New file.
674 * include/bits/concept_checks.h: Removed.
675 * include/bits/container_concepts.h: Removed.
676 * include/bits/sequence_concepts.h: Removed.
677 * include/bits/stl_iterator_base.h: Removed; split into...
678 * include/bits/stl_iterator_base_funcs.h: ...this new file...
679 * include/bits/stl_iterator_base_types.h: ...and this new file.
681 * include/bits/sbuf_iter.h: Update to use new implementation.
682 * include/bits/std_iterator.h: Likewise.
683 * include/bits/std_memory.h: Likewise.
684 * include/bits/stl_algo.h: Likewise.
685 * include/bits/stl_algobase.h: Likewise.
686 * include/bits/stl_construct.h: Likewise.
687 * include/bits/stl_deque.h: Likewise.
688 * include/bits/stl_heap.h: Likewise.
689 * include/bits/stl_list.h: Likewise.
690 * include/bits/stl_map.h: Likewise.
691 * include/bits/stl_multimap.h: Likewise.
692 * include/bits/stl_multiset.h: Likewise.
693 * include/bits/stl_numeric.h: Likewise.
694 * include/bits/stl_queue.h: Likewise.
695 * include/bits/stl_set.h: Likewise.
696 * include/bits/stl_stack.h: Likewise.
697 * include/bits/stl_uninitialized.h: Likewise.
698 * include/bits/stl_vector.h: Likewise.
699 * include/ext/hash_map: Likewise.
700 * include/ext/hash_set: Likewise.
701 * include/ext/slist: Likewise.
702 * include/ext/stl_hashtable.h: Likewise.
704 * src/Makefile.am (base_headers): Update list of headers.
705 * Makefile.in: Regenerated.
706 * src/Makefile.in: Regenerated.
707 * libio/Makefile.in: Regenerated.
708 * libmath/Makefile.in: Regenerated.
709 * libsupc++/Makefile.in: Regenerated.
710 * testsuite/Makefile.in: Regenerated.
712 * docs/html/install.html: Update contact information.
713 * docs/html/17_intro/howto.html: Ditto.
714 * docs/html/18_support/howto.html: Ditto.
715 * docs/html/20_util/howto.html: Ditto.
716 * docs/html/21_strings/howto.html: Ditto.
717 * docs/html/22_locale/howto.html: Ditto.
718 * docs/html/23_containers/howto.html: Ditto.
719 * docs/html/24_iterators/howto.html: Ditto.
720 * docs/html/25_algorithms/howto.html: Ditto.
721 * docs/html/26_numerics/howto.html: Ditto.
722 * docs/html/27_io/howto.html: Ditto.
723 * docs/html/faq/index.html: Ditto, plus info on new checking code.
724 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
725 * docs/html/faq/index.txt: Regenerated.
727 2001-04-02 Zack Weinberg <zackw@stanford.edu>
729 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
730 messages with $which_library as well as $tool_flags and
731 ${dg-extra-tool-flags}. Factor out annotation text into
734 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
736 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
737 * include/c_std/bits/std_cwchar.h: Same.
738 * testsuite/21_strings/c_strings.cc: Add.
740 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
742 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
744 2001-04-01 Zack Weinberg <zackw@stanford.edu>
746 * tests_flags.in: Use test a = b, not test a == b which is not
749 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
751 * configure.target: Remove duplicate aix entry.
753 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
755 * include/ext/stl_bvector.h: Move to...
756 * include/bits/stl_vector.h: ...here.
757 * include/ext/bvector: Move to...
758 * include/backward/bvector.h: ...here.
759 * include/bits/std_vector.h: Change stl_bvector include.
760 * include/bits/std_queue.h: Remove bvector include.
761 * include/ext/tree: Insert using rb_tree, move to...
762 * include/backward/tree.h: ...here.
763 * include/backward/hash_map.h: Include ext/hash_map.
764 * include/backward/hash_set.h: Include ext/hash_set.
765 * include/backward/queue.h: New file.
766 * include/backward/stack.h: Edit.
767 * include/backward/algo.h: Same.
768 * include/backward/algobase.h: Same.
769 * include/backward/alloc.h: Same.
770 * include/backward/function.h: Same.
771 * include/backward/iomanip.h: Same.
772 * include/backward/istream.h: Same.
773 * include/backward/iterator.h: Same.
774 * include/backward/list.h: Same.
775 * include/backward/map.h: Same.
776 * include/backward/multimap.h: Same.
777 * include/backward/multiset.h: Same.
778 * include/backward/ostream.h: Same.
779 * include/backward/pair.h: Same
780 * include/backward/rope.h: Same.
781 * include/backward/set.h: Same.
782 * include/backward/stream.h: Same.
783 * include/backward/strstream.h: Same.
784 * include/backward/tempbuf.h: Same.
785 * src/Makefile.am (ext_headers): Edit.
786 * src/Makefile.in: Regenerate.
787 * testsuite/ext/headers.cc (main): Fix.
790 2001-03-30 Phil Edwards <pme@sources.redhat.com>
792 * tests_flags.in (LIBS): Pass correct path for installed testing.
794 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
796 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
797 * tests_flags.in (CXX): Construct here.
798 (static_fail): Don't remove compile.out. Format with spaces.
799 (INCLUDES): Deal with xcompiling.
800 * configure.in (xcompiling): Substitute.
801 * testsuite/Makefile.am: Snake libjava configury.
802 * testsuite/Makefile.in: Regenerate.
803 * testsuite/23_containers/map_operators.cc: Tweaks.
804 * testsuite/23_containers/set_operators.cc: Tweaks.
806 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
808 Enable dejagnu testing framework.
809 * configure.in: Generate testsuite/Makefile.
810 * configure: Regenerate.
811 * Makefile.am (check-install): Change rule from this...
812 (check-script-install): ...to this.
813 (check): Change rule from this...
814 (check-script):...to this.
815 * Makefile.in: Regenerate.
817 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
819 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
821 (LIBTOOL): Let automake take care of its definition.
822 * libsupc++/Makefile.in: Rebuilt.
824 2001-03-28 Richard Henderson <rth@redhat.com>
826 IA-64 ABI Exception Handling:
827 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
828 * configure.in: Use it.
829 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
830 * libsupc++/Makefile.am (sources): Update files list.
831 * libsupc++/Makefile.in: Regenerate.
832 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
833 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
834 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
835 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
836 * libsupc++/exception_support.cc: Remove.
837 * libsupc++/exception_support.h: Remove.
838 * libsupc++/pure.cc: Use std::terminate.
839 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
840 (__is_pointer): Remove.
841 * libsupc++/unwind-cxx.h: New file.
842 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
844 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
846 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
848 * src/Makefile.am (CXXLINK): Likewise.
849 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
851 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
853 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
855 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
857 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
860 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
862 * include/bits/basic_file.h (get_fileno): Remove.
864 (_M_cfile_created): Add.
865 (basic_file::basic_file(__c_file_type*, openmode): Add.
866 (basic_file::basic_file(int, const char*, openmode): Remove.
867 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
868 const char*, ios_base::openmode): Don't allocate
869 internal buffers. Turn off internal buffers.
870 (basic_filebuf::overflow): Remove test for null buffer.
871 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
872 * include/bits/streambuf.cc: Tweak.
873 * include/bits/std_ostream.h: Tweak.
874 * config/basic_file_libio.h: Same.
875 * config/basic_file_stdio.h: Same.
876 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
877 * testsuite/27_io/filebuf_members.cc: Tweaks.
878 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
880 2001-03-24 Phil Edwards <pme@sources.redhat.com>
882 * Makefile.am: New targets, doxygen and doxygen-maint.
883 * Makefile.in: Regenerated.
884 * docs/doxygen/run_doxygen: Finally implemented.
885 * docs/doxygen/maint.cfg.in: New file.
886 * docs/doxygen/user.cfg.in: New file.
888 2001-03-24 Phil Edwards <pme@sources.redhat.com>
890 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
891 * src/Makefile.am: Replace leading spaces with tabs on continuation
893 * aclocal.m4: Regenerated.
895 * Makefile.in: Ditto.
896 * src/Makefile.in: Ditto.
897 * libio/Makefile.in: Ditto.
898 * libmath/Makefile.in: Ditto.
899 * libsupc++/Makefile.in: Ditto.
901 2001-03-24 Phil Edwards <pme@sources.redhat.com>
903 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
904 concept-checking code and current status of same.
905 * docs/html/ext/howto.html: Ditto.
906 * docs/html/faq/index.html: Ditto.
907 * docs/html/faq/index.txt: Regenerated.
909 2001-03-24 Phil Edwards <pme@sources.redhat.com>
911 * include/bits/std_bitset.h: Include ostream and istream headers
914 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
916 * include/bits/ostream.tcc: Use __builtin_alloca.
918 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
920 * src/misc-inst.cc (__sink_unused_warning): Move to...
921 * src/locale-inst.cc (__sink_unused_warning): Move to...
922 * src/stl-inst.cc: Here.
923 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
926 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
928 * intclude/bits/basic_file.h: Fix typos in comments.
930 2001-03-20 Richard Henderson <rth@redhat.com>
932 * src/gen-num-limits.cc: Instantiate for wchar_t.
933 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
935 2001-03-20 Jason Merrill <jason@redhat.com>
937 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
938 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
939 * libsupc++/cxxabi.h: Declare it.
941 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
943 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
944 signal_func with an unspecified argument list.
946 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
948 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
950 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
952 * include/bits/basic_string.tcc (operator+): Fix thinko.
954 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
957 * include/bits/std_streambuf.h: Remove cached locale facets.
958 (basic_streambuf::_M_buf_fctype): Remove.
959 (basic_streambuf::~basic_streambuf): Remove here.
960 (basic_streambuf::basic_streambuf): Same.
961 (basic_streambuf::imbue): Same.
962 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
963 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
964 (basic_filebuf::~basic_filebuf()): Remove here.
965 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
966 (basic_filebuf::imbue): Same.
967 * include/bits/localefwd.h (_Count_ones): Remove.
968 (locale::_S_num_categories): Just use 6, since this doesn't
969 actually change, ever.
970 * include/bits/locale_facets.tcc (has_facet): Simplify.
972 * testsuite/27_io/filebuf.cc (test06): Add tests.
974 2001-03-13 Steve Ellcey <sje@cup.hp.com>
976 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
977 match HP-UX ctype.h header file.
979 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
981 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
982 duplicate definitions of __dj_ctype_*
984 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
986 * libsupc++/new: Remove pragma interface.
987 * libsupc++/typeinfo: Same.
988 * libsupc++/exception: Same.
989 * libsupc++/new_handler.cc: Remove pragma implementation.
990 (bad_alloc::~bad_alloc()): Add.
991 * libsupc++/exception_support.cc: Same.
992 (exception::~exception): Add.
993 (bad_exception::~bad_exception): Add.
994 * libsupc++/tinfo.cc: Same.
995 (bad_cast::~bad_cast): Add.
996 (bad_typeid::~bad_typeid): Add.
998 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1000 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1002 2001-03-12 Felix Lee <flee@redhat.com>
1004 * mkcheck.in: workaround for bash 2.01 IFS bug.
1006 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1008 Fixups for -fno-for-scope
1009 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1010 * src/valarray-inst.cc (__gslice_to_index): Same.
1012 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1014 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1015 prior to trapping signal (UnixWare 7 workaround).
1017 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1019 * include/backward/hashtable.h: Same.
1020 * include/backward/rope.h: Fix include.
1022 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1024 * include/backward/vector.h: Include std_vector.h.
1026 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1027 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1030 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1032 * include/ext/stl_hashtable.h: Change type of __n to size_t
1033 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1035 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1037 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1038 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1039 Use streamsize, not int_type.
1041 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1043 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1046 2001-03-08 Andreas Schwab <schwab@suse.de>
1048 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1050 * aclocal.m4, configure: Regenerated.
1052 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1054 * include/bits/std_iosfwd.h: Remove string forward decls here.
1055 * include/bits/stringfwd.h: Add forward decls for char_traits
1057 * config/c_io_libio.h (wstreamoff): Delete.
1058 * config/c_io_stdio.h (wstreamoff): Same.
1059 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1060 char_traits<wchar_t>::off_type.
1061 Remove duplicate typedefs.
1062 * include/bits/fpos.h: Define streampos/wstreampos here.
1063 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1066 Changeup output files.
1067 * testsuite/27_io/istream_unformatted.cc: Change output files.
1068 * testsuite/27_io/istream_seeks-1.txt: Add.
1069 * testsuite/27_io/istream_seeks-2.tst: Add.
1070 * testsuite/27_io/istream_seeks-1.tst: Add.
1071 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1072 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1073 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1075 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1077 Add Irix 5.2, 6.3 support.
1078 * config/os/irix/bits: Renamed to...
1079 * config/os/irix/irix6.5/bits: this.
1080 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1081 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1082 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1083 * config/os/irix/irix5.2/bits/ctype_noninline.h
1084 (ctype<char>::ctype): Initialize _M_table with __ctype.
1085 * configure.target: Adjust.
1087 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1090 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1091 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1093 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1094 (*__pf)(__ios_type&)): Same.
1095 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1096 (*__pf)(ios_base&))): Same.
1097 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1098 * testsuite/27_io/istream_manip.cc (test01): Fix.
1100 2001-03-06 Nathan Myers <ncm@cantrip.org>
1101 Benjamin Kosnik <bkoz@redhat.com>
1103 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1104 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1105 * testsuite/17_intro/header_cassert.cc (test01): New file.
1106 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1107 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1108 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1110 2001-03-05 scott snyder <snyder@fnal.gov>
1113 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1115 * include/c_std/bits/std_cstdlib.h: ... to here.
1116 * testsuite/17_intro/header_cstdlib.cc: Add test.
1118 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1120 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1122 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1124 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1125 definition. Replace enum with static const variables.
1127 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1128 throw specification, fix typos, use <static_cast>.
1129 (ctype<char>::scan_is): remove throw specification.
1130 (ctype<char>::scan_not): likewise.
1132 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1133 (ctype<char>::do_toupper(char)): use <static_cast>.
1134 (ctype<char>::do_toupper(char *, const char *)): likewise.
1135 (ctype<char>::do_tolower(char)): likewise.
1136 (ctype<char>::do_tolower(char *, const char *)): likewise.
1138 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1140 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1141 * include/backward/algo.h: Use std not __STD. Remove unneeded
1142 macros and "never happens" code. Adjust to C++STYLE guidelines.
1143 * include/backward/algobase.h: Likewise.
1144 * include/backward/alloc.h: Likewise.
1145 * include/backward/bvector.h: Likewise.
1146 * include/backward/deque.h: Likewise.
1147 * include/backward/function.h: Likewise.
1148 * include/backward/hash_map.h: Likewise.
1149 * include/backward/hash_set.h: Likewise.
1150 * include/backward/hashtable.h: Likewise.
1151 * include/backward/heap.h: Likewise.
1152 * include/backward/iterator.h: Likewise.
1153 * include/backward/list.h: Likewise.
1154 * include/backward/map.h: Likewise.
1155 * include/backward/multimap.h: Likewise.
1156 * include/backward/multiset.h: Likewise.
1157 * include/backward/pair.h: Likewise.
1158 * include/backward/rope.h: Likewise.
1159 * include/backward/set.h: Likewise.
1160 * include/backward/slist.h: Likewise.
1161 * include/backward/stack.h: Likewise.
1162 * include/backward/strstream: Likewise.
1163 * include/backward/tempbuf.h: Likewise.
1164 * include/backward/tree.h: Likewise.
1165 * include/backward/vector.h: Likewise.
1166 * include/bits/basic_ios.h: Likewise.
1167 * include/bits/basic_ios.tcc: Likewise.
1168 * include/bits/basic_string.h: Likewise.
1169 * include/bits/c++config: Likewise.
1170 * include/bits/concept_checks.h: Likewise.
1171 * include/bits/fpos.h: Likewise.
1172 * include/bits/fstream.tcc: Likewise.
1173 * include/bits/functexcept.h: Likewise.
1174 * include/bits/ios_base.h: Likewise.
1175 * include/bits/istream.tcc: Likewise.
1176 * include/bits/mask_array.h: Likewise.
1177 * include/bits/ostream.tcc: Likewise.
1178 * include/bits/pthread_allocimpl.h: Likewise.
1179 * include/bits/sbuf_iter.h: Likewise.
1180 * include/bits/slice.h: Likewise.
1181 * include/bits/slice_array.h: Likewise.
1182 * include/bits/sstream.tcc: Likewise.
1183 * include/bits/std_bitset.h: Likewise.
1184 * include/bits/std_fstream.h: Likewise.
1185 * include/bits/std_iomanip.h: Likewise.
1186 * include/bits/std_ios.h: Likewise.
1187 * include/bits/std_istream.h: Likewise.
1188 * include/bits/std_iterator.h: Likewise.
1189 * include/bits/std_memory.h: Likewise.
1190 * include/bits/std_ostream.h: Likewise.
1191 * include/bits/std_sstream.h: Likewise.
1192 * include/bits/std_streambuf.h: Likewise.
1193 * include/bits/std_string.h: Likewise.
1194 * include/bits/std_valarray.h: Likewise.
1195 * include/bits/stl_algo.h: Likewise.
1196 * include/bits/stl_algobase.h: Likewise.
1197 * include/bits/stl_alloc.h: Likewise.
1198 * include/bits/stl_construct.h: Likewise.
1199 * include/bits/stl_deque.h: Likewise.
1200 * include/bits/stl_function.h: Likewise.
1201 * include/bits/stl_heap.h: Likewise.
1202 * include/bits/stl_iterator.h: Likewise.
1203 * include/bits/stl_iterator_base.h: Likewise.
1204 * include/bits/stl_list.h: Likewise.
1205 * include/bits/stl_map.h: Likewise.
1206 * include/bits/stl_multimap.h: Likewise.
1207 * include/bits/stl_multiset.h: Likewise.
1208 * include/bits/stl_numeric.h: Likewise.
1209 * include/bits/stl_pair.h: Likewise.
1210 * include/bits/stl_pthread_alloc.h: Likewise.
1211 * include/bits/stl_queue.h: Likewise.
1212 * include/bits/stl_raw_storage_iter.h: Likewise.
1213 * include/bits/stl_relops.h: Likewise.
1214 * include/bits/stl_set.h: Likewise.
1215 * include/bits/stl_stack.h: Likewise.
1216 * include/bits/stl_tempbuf.h: Likewise.
1217 * include/bits/stl_threads.h: Likewise.
1218 * include/bits/stl_tree.h: Likewise.
1219 * include/bits/stl_uninitialized.h: Likewise.
1220 * include/bits/stl_vector.h: Likewise.
1221 * include/bits/streambuf.tcc: Likewise.
1222 * include/bits/type_traits.h: Likewise.
1223 * include/bits/valarray_meta.h: Likewise.
1224 * include/ext/bvector: Likewise.
1225 * include/ext/hash_map: Likewise.
1226 * include/ext/hash_set: Likewise.
1227 * include/ext/ropeimpl.h: Likewise.
1228 * include/ext/slist: Likewise.
1229 * include/ext/stl_bvector.h: Likewise.
1230 * include/ext/stl_hash_fun.h: Likewise.
1231 * include/ext/stl_hashtable.h: Likewise.
1232 * include/ext/stl_rope.h: Likewise.
1233 * src/complex_io.cc: Likewise.
1234 * src/ios.cc: Likewise.
1235 * src/locale-inst.cc: Likewise.
1236 * src/locale.cc: Likewise.
1237 * src/localename.cc: Likewise.
1238 * src/misc-inst.cc: Likewise.
1239 * src/stdexcept.cc: Likewise.
1240 * src/stl-inst.cc: Likewise.
1241 * src/strstream.cc: Likewise.
1242 * src/valarray-inst.cc: Likewise.
1244 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1246 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1248 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1250 * include/bits/istream.tcc: change type of __extracted to __size_type
1252 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1254 * src/wstring-inst.cc: New file.
1255 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1256 (libinst_wstring_la_SOURCES): Remove.
1257 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1258 (sources): Add wstring-inst.cc
1259 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1262 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1264 * src/locale.cc: initialise __ret with zero
1265 * src/strstream.cc:cast gptr to int_type
1267 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1269 * docs/html/faq/index.html: Update broken links.
1270 * docs/html/faq/index.txt: Regenerated.
1272 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1275 * configure.target: Change irix* to irix6.5* in target_os table.
1277 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1280 * include/bits/c++config (__GLIBCPP__): Bump number in
1281 anticipation of 2.92.
1283 * include/bits/codecvt.h: Fix typo.
1284 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1286 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1287 instantiations for stdio model.
1289 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1291 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1292 and GLIBCPP_CXXFLAGS as unused variables.
1293 * configure.host: Likewise.
1294 * configure.target: Likewise.
1295 * aclocal.m4: Regenerated.
1296 * configure: Regenerated.
1297 * Makefile.in: Regenerated.
1298 * libio/Makefile.in: Regenerated.
1299 * libmath/Makefile.in: Regenerated.
1300 * libsupc++/Makefile.in: Regenerated.
1301 * src/Makefile.in: Regenerated.
1303 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1306 * include/bits/basic_file.h: Include basic_file_model.h.
1307 * config/c_io_libio.cc: Move to...
1308 * config/basic_file_libio.cc: Here.
1309 * config/basic_file_libio.h: New file.
1310 * config/c_io_stdio.cc: Move to...
1311 * config/basic_file_stdio.cc: Here.
1312 * config/basic_file_stdio.h: New file.
1313 * config/c_io_libio.h: Tweak.
1314 * config/c_io_stdio.h: Tweak.
1315 * src/Makefile.am (build_headers): Add basic_file_model.h.
1316 (sources): Add basic_file.cc, remove c++io.cc.
1317 * src/Makefile.in: Regenerate.
1318 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1319 basic_file_model.h and basic_file.cc.
1320 * aclocal.m4: Regenerate.
1321 * configure: Regenerate.
1322 * testsuite/27_io/filebuf.cc (test05): Add regression.
1324 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1327 * config/cpu/alpha/bits/atomicity.h: Change.
1328 * config/cpu/arm/bits/atomicit3y.h
1329 * config/cpu/generic/bits/atomicity.h
1330 * config/cpu/i386/bits/atomicity.h
1331 * config/cpu/i486/bits/atomicity.h
1332 * config/cpu/ia64/bits/atomicity.h
1333 * config/cpu/powerpc/bits/atomicity.h
1334 * config/cpu/sparc/sparc32/bits/atomicity.h
1335 * config/cpu/sparc/sparc64/bits/atomicity.h
1336 * config/os/aix/bits/atomicity.h
1337 * config/os/irix/bits/atomicity.h
1339 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1341 * include/bits/std_stdexcept.h (runtime_error): Make string
1343 (logic_error): Same.
1344 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1347 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1351 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1352 string object, not reference.
1353 (runtime_error::runtime_error): Same.
1354 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1356 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1358 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1359 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1360 diagnostics. Remove WFMT_FLAGS.
1361 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1362 * libsupc++/Makefile.am: Likewise.
1363 * src/Makefile.am: Likewise.
1364 * aclocal.m4: Regenerated.
1365 * configure: Regenerated.
1366 * Makefile.in: Regenerated.
1367 * libio/Makefile.in: Regenerated.
1368 * libmath/Makefile.in: Regenerated.
1369 * libsupc++/Makefile.in: Regenerated.
1370 * src/Makefile.in: Regenerated.
1372 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1374 Fixes libstdc++/2079
1375 * include/backward/iomanip.h: Expose <ios> manipulators to global
1377 * include/backward/iostream.h: Also expose std::ws.
1379 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1381 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1383 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1385 * include/bits/codecvt.h: Use __builtin_alloca.
1386 * include/bits/ostream.tcc: Same.
1387 * include/bits/fstream.tcc: Same.
1389 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1391 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1393 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1395 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1397 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1400 * include/backward/iostream.h: Expose std::flush in old headers.
1402 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1404 * mknumeric_limits: Remove special-casing on target. Use gcc
1405 instead of g++ to build gen-num-limits.cc
1407 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1409 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1411 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1413 * include/bits/ostream.tcc: Same.
1414 * include/bits/std_ostream.h: Same.
1415 * include/bits/fstream.tcc: Same.
1416 * include/bits/locale_facets.tcc: Add typename.
1417 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1419 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1421 * tests_flags.in: Remove -n flag from call to echo.
1423 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1425 * config/c_locale_gnu.h: Add clocale include.
1427 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1429 * include/bits/stl_config.h: Remove file.
1430 * src/Makefile.am (base_headers): Remove from list.
1431 * configure: Regenerate.
1432 * Makefile.in: Ditto.
1433 * libio/Makefile.in: Ditto.
1434 * libmath/Makefile.in: Ditto.
1435 * libsupc++/Makefile.in: Ditto.
1436 * src/Makefile.in: Ditto.
1438 * include/bits/c++config: Move relevant macros to here.
1439 * include/backward/alloc.h: Include c++config.h instead.
1440 * include/backward/function.h: Ditto.
1441 * include/backward/heap.h: Ditto.
1442 * include/backward/pair.h: Ditto.
1443 * include/bits/pthread_allocimpl.h: Ditto.
1444 * include/bits/std_functional.h: Ditto.
1445 * include/bits/std_iterator.h: Ditto.
1446 * include/bits/std_numeric.h: Ditto.
1447 * include/bits/std_utility.h: Ditto.
1448 * include/bits/stl_algobase.h: Ditto.
1449 * include/bits/type_traits.h: Ditto.
1450 * src/stl-inst.cc: Ditto.
1452 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1454 * include/bits/basic_file.h: Add #pragma system_header
1455 * include/bits/basic_ios.h: Ditto.
1456 * include/bits/basic_string.h: Ditto.
1457 * include/bits/char_traits.h: Ditto.
1458 * include/bits/codecvt.h: Ditto.
1459 * include/bits/cpp_type_traits.h: Ditto.
1460 * include/bits/fpos.h: Ditto.
1461 * include/bits/gslice.h: Ditto.
1462 * include/bits/gslice_array.h: Ditto.
1463 * include/bits/indirect_array.h: Ditto.
1464 * include/bits/ios_base.h: Ditto.
1465 * include/bits/limits_generic.h: Ditto.
1466 * include/bits/locale_facets.h: Ditto.
1467 * include/bits/localefwd.h: Ditto.
1468 * include/bits/mask_array.h: Ditto.
1469 * include/bits/sbuf_iter.h: Ditto.
1470 * include/bits/sequence_concepts.h: Ditto.
1471 * include/bits/slice.h: Ditto.
1472 * include/bits/slice_array.h: Ditto.
1473 * include/bits/std_algorithm.h: Likewise.
1474 * include/bits/std_bitset.h: Likewise.
1475 * include/bits/std_complex.h: Likewise.
1476 * include/bits/std_deque.h: Likewise.
1477 * include/bits/std_fstream.h: Likewise.
1478 * include/bits/std_functional.h: Likewise.
1479 * include/bits/std_iomanip.h: Likewise.
1480 * include/bits/std_ios.h: Likewise.
1481 * include/bits/std_iosfwd.h: Likewise.
1482 * include/bits/std_iostream.h: Likewise.
1483 * include/bits/std_istream.h: Likewise.
1484 * include/bits/std_iterator.h: Likewise.
1485 * include/bits/std_list.h: Likewise.
1486 * include/bits/std_locale.h: Likewise.
1487 * include/bits/std_map.h: Likewise.
1488 * include/bits/std_memory.h: Likewise.
1489 * include/bits/std_numeric.h: Likewise.
1490 * include/bits/std_ostream.h: Likewise.
1491 * include/bits/std_queue.h: Likewise.
1492 * include/bits/std_set.h: Likewise.
1493 * include/bits/std_sstream.h: Likewise.
1494 * include/bits/std_stack.h: Likewise.
1495 * include/bits/std_stdexcept.h: Likewise.
1496 * include/bits/std_streambuf.h: Likewise.
1497 * include/bits/std_string.h: Likewise.
1498 * include/bits/std_utility.h: Likewise.
1499 * include/bits/std_valarray.h: Likewise.
1500 * include/bits/std_vector.h: Likewise.
1501 * include/bits/stringfwd.h: Likewise.
1502 * include/bits/type_traits.h: Likewise.
1503 * include/bits/valarray_array.h: Likewise.
1504 * include/bits/valarray_meta.h: Likewise.
1506 2001-02-19 Andreas Jaeger <aj@suse.de>
1508 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1511 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1514 * include/bits/std_ostream.h: Replaced usage of
1515 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1516 * include/bits/char_traits.h: Removed non-standard
1517 methods that cannot be used elsewhere.
1520 * include/bits/basic_ios.h: Uncommented #include of
1524 * include/bits/codecvt.h: See next...
1525 * include/bits/fstream.tcc: See next...
1526 * include/bits/ostream.tcc: Add __extension__
1527 to variable-length arrays.
1530 * include/bits/localefwd.h: Changed int counter type to size_t.
1533 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1535 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1537 * testsuite/21_strings/char_traits.cc: Move to ...
1538 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1539 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1540 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1542 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1544 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1547 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1549 * include/bits/c++config: Revert.
1551 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1553 * include/bits/istream.tcc: Use ios_base::iostate in place of
1554 iostate throughout. Insert `typename' keyword where necessary.
1555 * include/bits/ostream.tcc: Insert `typename' keyword where
1558 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1560 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1561 Define so library is compliant.
1563 2001-02-15 Anthony Green <green@redhat.com>
1565 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1567 * aclocal.m4: Regenerate.
1568 * configure: Regenerate.
1570 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1572 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1573 Include ieeefp.h for fpclass on UnixWare{2,7}.
1574 * aclocal.m4: Regenerate.
1575 * configure: Regenerate.
1576 * mkcheck.in (size_command): Do without GNU-grep when using
1579 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1581 Remove old ABI support from libsupc++.
1582 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1583 * libsupc++/exception_support.cc: Likewise.
1584 * libsupc++/pure.cc: Likewise.
1585 * libsupc++/tinfo.cc: Likewise.
1586 * libsupc++/tinfo.h: Likewise.
1587 * libsupc++/tinfo2.cc: Likewise.
1588 * libsupc++/typeinfo: Likewise.
1589 * libsupc++/vec.cc: Likewise.
1591 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1593 Add support for -fno-exceptions.
1594 * include/bits/exception_support.h: Remove.
1595 * include/bits/basic_string.h: Remove exception_support.
1596 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1598 (string::substr): Same.
1599 * include/bits/basic_string.tcc (string::reserve): Replace
1600 __LENGTHERROR with __throw_length_error.
1601 (string::_S_create): Same.
1602 (string::resize): Same.
1603 (string::_M_replace): Same.
1604 (string::replace): Same.
1605 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1606 (string::compare): Same.
1607 * include/bits/stl_vector.h: Remove exception_support.
1608 * src/Makefile.am (base_headers): Remove here.
1609 * src/Makefile.in: Regenerate.
1611 * include/bits/stl_range_errors.h: Remove.
1612 * include/bits/stl_deque.h: Use __throw_range_error.
1613 * include/bits/std_deque.h: Include functexcept.h.
1614 * include/bits/std_vector.h: Same.
1615 * src/Makefile.am (base_headers): Remove here.
1616 * src/Makefile.in: Regenerate.
1617 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1618 * include/ext/bvector: Remove stl_range_errors.h
1620 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1622 * include/bits/functexcept.h: New file.
1623 * src/functexcept.cc: New file. Definitions for function-based
1625 * src/Makefile.am (sources): Add functexcept.cc.
1626 * src/Makefile.in: Regenerate.
1628 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1631 * include/bits/localefwd.h: Include functexcept.h.
1632 * include/bits/std_iosfwd.h: Same.
1634 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1635 throw basic_ios::failure.
1636 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1637 Use __throw_exception_again.
1638 (filebuf::_M_filebuf_init): Same.
1639 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1640 * include/bits/ostream.tcc (ostream::operator<<): Same.
1641 * include/bits/istream.tcc (istream::operator>>): Same.
1642 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1643 (string::_S_construct): Same.
1644 (string::_M_clone): Same.
1645 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1647 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1648 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1649 __throw_exception_again.
1650 (locale::_Imp::_Imp(string, size_t): Same.
1651 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1652 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1653 (locale::locale(const char*)): Use __throw_runtime_error.
1654 (locale::classic): Use __throw_exception_again.
1655 (locale::_S_normalize_category): Use __throw_runtime_error.
1657 * src/stdexcept.cc: Remove cruft.
1659 * libsupc++/exception_defines.h: New file.
1660 * libsupc++/new_opnt.cc: Include exception_defines.h.
1661 * libsupc++/vec.cc: Same.
1662 (__cxa_vec_new2): Use __throw_exception_again.
1663 (__cxa_vec_new3): Same.
1664 (__cxa_vec_ctor): Same.
1665 (__cxa_vec_delete3): Same.
1666 (__cxa_vec_cctor): Same.
1667 (__cxa_vec_delete2): Same.
1668 (__cxa_vec_dtor): Same.
1669 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1670 compile exception-handling bits if __EXCEPTIONS is defined.
1671 Remove old ABI support.
1672 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1673 std::__throw_bad_alloc() instead of throw bad_alloc.
1674 * libsupc++/Makefile.am: Add exception_defines.h.
1675 * libsupc++/Makefile.in: Reformat.
1676 * libsupc++/*: Format.
1678 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1680 * docs/html/configopts.html: Minor updates and typo fixes.
1681 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1682 * docs/html/faq/index.txt: Regenerated.
1684 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1686 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1687 dejagnu/dg.exp. Adapt to log options used to run testcases.
1689 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1691 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1694 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1695 Phil Edwards <pme@sources.redhat.com>
1697 * include/backward/function.h: Do not use rel_ops for older
1699 * include/backward/pair.h: Likewise.
1701 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1703 * src/locale.cc: Remove bogus locale::id definitions.
1705 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1707 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1708 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1710 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1711 thinko in member initialisation.
1713 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1715 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1716 comparaison between signed and unsigned integer types.
1717 (valarray<>::cshift): Reformat.
1719 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1721 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1722 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1723 * configure.in: Test for sigsetjmp.
1724 * configure, config.h.in: Rebuilt.
1726 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1728 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1729 lengths and strides.
1730 (__gslice_to_index): Document.
1732 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1734 * include/bits/char_traits.h char_traits<char>::int_type: Change
1735 to `int' to match 21.1.3.1/2.
1737 * testsuite/21_strings/char_traits-int_type.C: New test.
1739 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1741 * testsuite/Makefile.am: New file.
1743 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1745 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1747 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1749 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1751 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1753 * configure.target (aix4*): Remove extra set of brackets.
1755 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1758 * include/bits/stringfwd.h: New file.
1759 * include/bits/stl_string_fwd.h: Remove.
1760 * include/bits/localefwd.h: Remove declaration for allocator.
1761 * include/bits/std_iosfwd: Same.
1762 * include/bits/std_string.h: Include it.
1763 * include/bits/std_ios.h: Remove include.
1764 * include/bits/basic_string.h: Tweak.
1765 * libsupc++/new: Format.
1766 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1768 * src/Makefile.in: Regenerate.
1769 * include/bits/std_stdexcept.h: Rewrite.
1770 * src/stdexcept.cc: Same.
1772 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1774 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1775 install locations too.
1776 * aclocal.m4: Regenerate.
1777 * configure.in: Remove USE_LIBDIR.
1778 * configure: Regenerate.
1779 * src/Makefile.am (toolexecdir): Simplify, use
1780 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1781 * src/Makefile.in: Regenerate.
1782 * libsupc++/Makefile.am: Same.
1783 * libsupc++/Makefile.in: Regenerate.
1785 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1786 misc-inst.cc as no longer necessary.
1788 Follow C++STYLE for naming non-static functions.
1789 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1791 * include/bits/streambuf.tcc: Same.
1792 * include/bits/ostream.tcc: Same.
1793 * include/bits/istream.tcc: Same.
1794 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1795 (_S_output_float): To __output_float.
1796 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1798 * include/bits/locale_facets.tcc (_S_build_float_format): To
1799 __build_float_format.
1800 (_S_format): To __output_integer.
1801 (_S_fill): To __pad.
1802 * src/locale.cc: Same.
1803 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1805 * include/bits/locale_facets.tcc (_S_group_digits): To
1807 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1808 for collate, numpunct.
1810 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1812 * docs/html/configopts.html: Fix HTML markup.
1813 * docs/html/install.html: Bring up to date.
1814 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1815 * docs/html/21_strings/howto.html: More notes.
1816 * docs/html/22_locale/howto.html: Fix HTML markup.
1817 * docs/html/27_io/howto.html: More notes.
1818 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1819 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1821 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1823 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1824 to match header files.
1825 (_S_output_float): Likewise.
1826 (_S_copy_streambufs): Likewise.
1828 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1829 Phil Edwards <pme@sources.redhat.com>
1831 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1832 use reinterpret_cast, not static_cast.
1834 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1836 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1837 * aclocal.m4: Regenerate.
1838 * configure: Regenerate.
1840 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1842 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1843 * libsupc++/pure.cc: Revert.
1845 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1847 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1848 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1849 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1850 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1851 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1852 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1853 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1854 * aclocal.m4: Regenerate.
1855 * configure: Regenerate.
1857 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1859 * include/bits/locale_facets.tcc: Remove `static' keyword on
1860 function definitions.
1861 * include/bits/std_streambuf.h: Likewise.
1862 * src/Makefile.am: Remove use of -fimplicit-templates.
1863 * src/Makefile.in: Regenerated.
1864 * src/locale-inst.cc: Explicitly instantiate more functions.
1865 * src/misc-inst.cc: Likewise.
1866 * src/string-inst.cc: Likewise.
1868 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1870 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1871 macro. Consolidate all the bits to do with where includes might be
1873 * aclocal.m4: Regenerate.
1874 * configure.in: Use it.
1875 * configure: Regenerate.
1876 * src/Makefile.am (targetincludep): Use simplified rules.
1877 (targetincludep): Rename gxx_target_include_dir.
1878 (myincludep): Rename gxx_include_dir.
1879 * src/Makefile.in: Regenerate.
1880 * libsupc++/Makefile.am: Use simplified rules.
1881 * libsupc++/Makefile.in: Regenerate.
1883 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1885 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1886 * include/c_std/bits/std_cctype.h: Same.
1887 * include/c_std/bits/std_cassert.h: Same.
1888 * include/c_std/bits/std_cstdarg.h: Same.
1889 * include/c_std/bits/std_cstddef.h: Same.
1891 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1893 * include/c_std/bits/std_ctime.h: Same.
1894 * include/c_std/bits/std_clocale.h: Same.
1895 * include/c_std/bits/std_cmath.h: Same.
1896 * include/c_std/bits/std_csetjmp.h: Same.
1897 * include/c_std/bits/std_csignal.h: Same.
1898 * include/c_std/bits/std_cstring.h: Same.
1899 * include/c_std/bits/std_cstdlib.h: Same.
1900 * include/c_std/bits/std_cwchar.h: Same.
1902 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1904 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1906 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1908 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1909 (string::_S_construct): Likewise.
1911 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1913 * testsuite/config/default.exp: New file.
1914 * testsuite/config: New directory.
1916 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1918 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1919 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1920 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1921 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1923 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1924 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1926 * Makefile.am (mkinstalldirs): Set.
1927 * src/Makefile.am (mkinstalldirs): Set.
1928 * libmath/Makefile.am (mkinstalldirs): Set.
1929 * libsup++/Makefile.am (mkinstalldirs): Set.
1930 * libio/Makefile.am (mkinstalldirs): Set.
1931 * */Makefile.in: Regenerate.
1933 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1935 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1936 * include/bits/localefwd.h: More initialization cleanups.
1938 2001-02-03 Jeffrey A Law <law@cygnus.com>
1940 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1941 correctly targets with 16bit ints.
1942 (_S_ios_openmode_end): Similarly.
1943 (_S_ios_iostate_end): Similarly.
1944 (_S_ios_Seekdir_end): Similarly.
1946 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1948 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1950 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1952 * configure.in (toplevel_srcdir, auxdir): Set.
1953 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1954 * aclocal.m4, configure, Makefile.in: Rebuilt.
1955 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1956 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1957 * libsupc++-v3/Makefile.in: Rebuilt.
1958 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1959 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1961 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1963 * config/c_locale_generic.cc: Remove langinfo include.
1965 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1967 Preliminary named locales.
1968 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1969 * aclocal.m4: Regenerate.
1970 * configure.in: Use it.
1971 * configure: Regerate.
1972 * src/Makefile.am (sources): Add c++locale.cc.
1973 (build_headers): Add c++locale.h.
1974 * src/Makefile.in: Regenerate.
1975 * config/c_locale_gnu.h: New file.
1976 * config/c_locale_gnu.cc: New file. Non-inline member functions
1977 for named locales, gnu-specific.
1978 * config/c_locale_generic.h: New file.
1979 * config/c_locale_generic.cc: New file. Non-inline member
1980 functions for named locales, generic version.
1981 * docs/html/configopts.html: Add documentation on new options.
1983 * include/bits/locale_facets.h (class _Messages): Remove.
1984 (class _Moneypunct): Remove.
1985 * src/locale-inst.cc: Remove.
1987 * include/bits/locale_facets.h (class _Collate): Remove.
1988 * src/locale-inst.cc (std): Remove.
1989 * src/locale.cc: And here.
1991 * include/bits/localefwd.h (locale::_M_coalesce): New
1992 function. Correctly put together multi-name locales.
1993 (_Impl(const _Impl&, category, size_t)): Remove.
1995 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1997 (_M_normalize_category_names): Remove.
1998 (_M_replace_categories): Fix.
2000 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2001 (locale::_Impl::_M_construct_ctype): Remove.
2002 (locale::_Impl::_M_construct_monetary): Remove.
2003 (locale::_Impl::_M_construct_numeric): Remove.
2004 (locale::_Impl::_M_construct_time): Remove.
2005 (locale::_Impl::_M_construct_messages): Remove.
2007 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2008 (_Use_facet_failure_handle): Remove.
2009 * src/locale.cc: Remove definitions.
2010 * src/locale-inst.cc: And here.
2012 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2014 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2015 create and error-check underlying locale object.
2016 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2017 tearing down underlying locale object.
2018 * include/bits/localefwd.h (locale::facet): Declare.
2019 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2020 correctness, as glibc apparently has incorrect info in it. Test
2021 with it when it works again.....
2023 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2024 Remove. Number of categories is fixed at six, so just simplify and
2025 make this an array of strings.
2026 (locale::_Impl::_M_has_name): Remove.
2027 (locale::_Impl::_M_name): Remove.
2028 (locale::_Impl::_M_category_names): Turns into...
2029 (locale::_Impl::_M_names): ...this.
2030 (locale::_Impl::_M_has_same_name()): New function.
2031 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2032 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2034 * src/locale.cc (locale::name()): Construct mangled name
2035 accurately reflecting combined locale categories.
2037 * src/locale.cc (locale::classic()): Don't initialize here.
2038 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2039 __refs, bool __has_name, string __str): Do it here.
2041 * include/bits/localefwd.h: _S_categories_num to
2042 _S_num_categories. _S_facets_num to _S_num_facets.
2043 (locale::id::id()): Explicitly set _M_index to zero.
2044 * src/locale.cc: Same.
2046 * src/locale.cc: (locale::locale(const char*)): Construct named
2049 * src/locale.cc: Remove numpunct_byname ctors.
2050 * testsuite/22_locale/numpunct_byname.cc: New file.
2051 * testsuite/22_locale/numpunct.cc: New file.
2053 * include/bits/localefwd.h (class locale): Change data members to
2054 protected, from private.
2055 (_Impl::_M_get_c_locale): Add member function.
2056 (locale::facet::_M_get_global_impl()): Add member function.
2057 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2058 a __c_locale pointer.
2059 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2061 * testsuite/22_locale/members.cc: New file, test name and combine.
2063 * include/bits/locale_facets.h (class numpunct): Remove class
2064 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2066 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2067 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2068 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2069 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2070 * testsuite/22_locale/numpunct_char_members.cc: New file.
2072 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2074 * testsuite/README: Add more comment.
2075 * testsuite/lib/libstdc++.exp: Tweak comment.
2077 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2079 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2081 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2083 * testsuite/21_strings/inserters_extractors.cc: Remove
2084 explicit reference to 'testsuite/'.
2086 2001-01-25 Richard Henderson <rth@redhat.com>
2088 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2089 bits. Fixes Tru64 build issues.
2091 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2093 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2094 (use ${MAKE-make}, not ${MAKE:-make}).
2095 * aclocal.m4, configure: Regenerate.
2097 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2099 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2102 * src/Makefile.am (sources): Add globals.cc.
2103 * src/Makefile.in: Regenerated.
2104 * src/globals.cc: New file.
2105 * src/ios.cc (cin): Don't define here, just declare extern.
2114 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2116 * include/bits/std_iterator.h: Do not include stl_relops.h.
2117 * include/bits/std_numeric.h: Ditto.
2118 * include/bits/stl_algobase.h: Ditto.
2119 * include/bits/stl_relops.h: Add comment warning about problems.
2121 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2123 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2124 in testcases. Prepare for the DejaGnu based framework.
2125 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2126 directory -- it is now mkcheck working directory.
2127 * tests_flags.in: Remove reference to $(top_srcdir). Use
2129 * Makefile.am (check, check-install): Change mkcheck invocation
2131 * Makefile.in: Regenerate.
2133 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2135 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2136 (__always_swap): Likewise.
2138 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2140 * libsupc++/exception_support.cc (__terminate_func): Remove
2142 (__terminate_func_ptr): New typedef.
2143 (__terminate, __terminate_set_func): New extern function
2145 (std::terminate): Use __terminate function.
2146 (std::set_terminate): Use __terminate_set_func function.
2148 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2150 * configure.target: Just use os_include_dir always.
2151 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2152 Link atomicity files and ctype files here.
2153 * configure: Regenerate.
2154 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2155 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2156 * aclocal.m4: Regenerate.
2158 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2160 * configure.in: Place definition of MULTISUBDIR in
2161 libsupc++/Makefile as is done for src/Makefile.
2162 * configure: Regenerate.
2164 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2166 * acinclude.m4: Cosmetic changes only.
2167 * aclocal.m4: Regenerated.
2168 * configure: Regenerated.
2169 * configure.target: Update documented list of changed variables.
2170 * docs/html/install.html: Fix typo.
2171 * docs/html/20_util/howto.html: More notes on auto_ptr.
2172 * docs/html/27_io/howto.html: More notes on streabufs.
2173 * docs/html/faq/index.html: Add rel_ops problem and mention the
2174 DEC as(1) .subsection difficulty.
2175 * docs/html/faq/index.txt: Regenerated.
2177 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2179 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2180 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2181 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2182 its already provided in config.target.
2183 * aclocal.m4: Regenerated.
2184 * configure: Likewise.
2185 * configure.target: Set ctype_include_dir for lots of systems.
2186 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2187 * libsupc++/Makefile.in: Regenerated.
2189 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2191 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2194 * testsuite/README: Add comment.
2196 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2198 * docs/html/configopts.html: Update for current status. Fix HTML.
2199 * docs/html/install.html: Update for current status.
2201 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2203 * testsuite/libstdc++.tests/tests.exp: New file.
2204 * testsuite/lib/libstdc++.exp: Itou.
2205 * testsuite/README: Itou.
2207 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2209 * tests_flags.in: Just output the bare minimum to run tests.
2210 Let's the caller do its own arrangement.
2212 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2215 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2217 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2220 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2222 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2224 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2226 * mkcheck.in: Construct file names that match $objdir structure.
2227 * testsuite/27_io/filebuf_members-1.txt: New file.
2228 * testsuite/27_io/ifstream_members-1.txt: New file.
2229 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2231 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2232 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2234 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2236 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2238 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2241 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2242 * src/ios.cc (ios_base::failure): Make definitions match.
2243 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2244 (class bad_cast): Same.
2245 * libsupc++/exception (class exception): Add throw specs.
2246 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2247 (set_unexpected): Same.
2248 (uncaught_exception): Same.
2251 * docs/html/17_intro/C++STYLE (classname): Fix.
2253 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2255 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2256 Use it do explicitly instantiate predicate<T> and value<T> for
2259 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2261 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2262 uninitialized thinko in last change.
2264 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2266 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2269 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2271 * docs/html/17_intro/C++STYLE (classname): Add more existing
2272 and stylish patterns.
2275 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2276 failbit if the state of the stream is not good.
2277 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2278 * testsuite/27_io/istream_manip.cc (test01): Modify.
2281 reported by Paolo Carlini <pcarlini@unitus.it>
2282 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2283 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2286 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2287 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2288 (xsgetn): Same. Simplify.
2289 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2291 reported by Larry Evans <jcampbell3@prodigy.net>
2292 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2293 equality with eof on returned value from overflow.
2295 2001-01-14 Andreas Jaeger <aj@suse.de>
2297 * libio/libio.h: Add test for glibc 2.0.
2299 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2301 * config/os/djgpp/bits/*: Fix dates.
2303 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2304 _CharT* __end, _CharT __c): Remove.
2305 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2306 * include/bits/char_traits.h: Tweak.
2308 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2310 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2311 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2313 * aclocal.m4: regenerated.
2314 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2315 * configure: regenerated.
2316 * config/os/djgpp, config/os/djgpp/bits: new directories.
2317 * config/os/djgpp/bits/ctype_base.h,
2318 config/os/djgpp/bits/ctype_inline.h,
2319 config/os/djgpp/bits/ctype_noninline.h,
2320 config/os/djgpp/bits/os_defines.h: new files.
2322 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2324 * include/c_std/bits/std_cstdio.h: Undef printf.
2326 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2328 * src/ios.cc: Fix typo: change cout->wcout.
2330 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2331 * src/Makefile.in: Regenerate.
2333 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2335 * include/bits/std_complex.h: Fix a typo.
2337 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2340 Fixes for libstdc++/1576
2341 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2342 file, move contents into....
2343 * src/ios.cc: ...Here. Put defines for iostreams objects and
2344 initialization routines into one file to simplify DSO interaction.
2345 * include/bits/std_iostream.h: Touch.
2346 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2347 * src/Makefile.am (sources): Remove stdstreams.cc.
2348 * src/Makefile.in: Regenerate.
2350 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2352 * tests_flags.in (check_directory): Fix typo.
2354 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2356 * include/bits/std_complex.h: Fix a typo.
2358 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2360 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2361 code path:) Remove magic constants and restructure to handle
2362 ctype.h bit mask layout changes more gracefully. (Make fast
2363 code path:) Use __maskrune (), if available.
2364 (is): Remove special case for digit and xdigit masks.
2366 2001-01-09 Robert Lipe <robertlipe@usa.net>
2368 * include/c_std/bits/std_ctime.h: Undefine difftime.
2370 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2372 * src/gen-num-limits.cc (signal_adapter): New template function.
2373 (signal_handler): Use it, instead of signal.
2374 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2375 require both tests to trap to set trap_flag.
2377 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2379 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2380 initialize mbstate_t member, name offset data members *off, not pos.
2381 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2383 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2385 reported by Chris G. Demetriou <cgd@sibyte.com>
2386 * configure.in: Change -linux-* to -linux*.
2387 * configure: Regenerate.
2389 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2391 Fix 27_io/filebuf_members.cc
2392 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2393 const string& __name, category __cat, size_t __refs): Set
2394 _M_has_name with _M_name.
2395 * include/bits/localefwd.h (locale::operator!=): Protect member
2396 function call with this->.
2397 * src/locale.cc (locale::operator==): Make fast checks first.
2398 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2400 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2402 * src/ios.cc (ios_base::Init::Init): Initialize here.
2403 (ios_base::sync_with_stdio): Set here.
2405 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2407 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2408 systems that support it, call dup() before fdopen().
2410 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2412 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2413 * testsuite/17_intro/header_cwctype.cc (main): New file.
2415 * src/Makefile.am (base_headers): Change.
2416 * include/bits/std_string.h: And here.
2417 * include/bits/string.tcc: Tweaks, move to...
2418 * include/bits/basic_string.tcc: ...Here.
2419 * src/string-inst.cc: Simplify, just instantiate the whole class,
2420 not member-by-member.
2422 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2424 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2425 * aclocal.m4: Regenerate.
2426 * configure: Regenerate.
2428 * include/bits/c++config (__GLIBCPP__): Bump version number.
2430 * ChangeLog: Start new log for year 2001
2431 * ChangeLog-2000: New file.
2433 * docs/html/configopts.html: Make sure default values are current,
2436 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2438 * include/c_std/bits/std_cwchar.h: Same.
2439 * testsuite/17_intro/header_cwchar.cc: Same.
2440 * include/c_std/bits/std_ctime.h: Same.
2441 * testsuite/17_intro/header_ctime.cc: Same.
2442 * include/c_std/bits/std_cstdlib.h: Same.
2443 Clean up undefs, make consistent with cwchar and cmath, etc.
2444 * testsuite/17_intro/header_cstdlib.cc: Same.
2445 * include/c_std/bits/std_cstdio.h: Same here.
2446 * testsuite/17_intro/header_cstring.cc: Same.
2447 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2448 * testsuite/17_intro/header_cstring.cc: New file. Check for
2449 size_t in namespace std.
2451 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2452 * acconfig.h (HAVE_MBSTATE_T): Add.
2453 * config.h.in: Regenerate.
2454 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2456 * aclocal.m4: Regenerate.
2457 * configure: Regenerate.
2458 * testsuite/17_intro/headers_c++.cc: New file.
2459 * testsuite/17_intro/headers_c.cc: Small changes.
2461 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2463 * tests_flags.in: Fix typo in usage.
2465 * tests_flags.in: Set target specific LIBS for cygwin.