1 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4 * aclocal.m4: Regenerate.
5 * configure: Regenerate.
7 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
9 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
10 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
12 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
15 * include/c_std/bits/std_cstdlib.h: Same.
16 * include/c_std/bits/std_cwchar.h: Same.
18 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
20 * docs/html/17_intro/howto.html: Update link.
21 * docs/html/23_containers/howto.html: Likewise. Add new link.
23 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
25 * include/c_std/bits/std_cmath.h (sqrt): #undef.
27 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
29 * mknumeric_limits: Stop if gen-num-limits dies.
31 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
34 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
35 * aclocal.m4: Regenerate.
38 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
39 Phil Edwards <pme@sources.redhat.com>
40 Alexandre Oliva <aoliva@redhat.com>
42 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
43 in an amd-safe manner. Revert glibcpp_prefixdir.
45 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
47 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
48 fabs, sin, sqrt. They are now implemented in terms of __builtin_
51 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
54 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
55 * include/bits/ostream.tcc: Format to match istream.tcc.
56 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
58 2001-05-24 Phil Edwards <pme@sources.redhat.com>
60 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
62 (__cxa_free_exception): Likewise with free.
64 2001-05-24 Mark Mitchell <mark@codesourcery.com>
66 * include/c_std/bin/std_cstring.h: #define away all global
67 functions we will redeclare in namespace `std'.
68 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
69 std::memset, instead of memset.
70 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
72 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
75 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
78 * include/bits/basic_ios.tcc: Small tweak.
79 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
80 ctors and dtors, and rdbuf settings.
83 * include/bits/std_sstream.h: Same, but for stringstream classes.
84 * testsuite/27_io/ostringstream_members.cc: New.
85 * testsuite/27_io/stringstream_members.cc: New.
86 * testsuite/27_io/fstream_members.cc: New.
87 * testsuite/27_io/ifstream_members.cc: Add test.
88 * testsuite/27_io/istringstream_members.cc: Add test.
89 * testsuite/27_io/ofstream_members.cc: Add test.
91 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
93 * include/bits/c++config(__NO_MATH_INLINES): Move to...
94 * config/os/gnu-linux/bits/os_defines.h: ...here.
96 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
98 * include/bits/c++config (__NO_MATH_INLINES): New macro.
99 * testsuite/26_numerics/fabs_inline.cc (main): New test.
101 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
104 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
106 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
107 (libstdc++-v3-finish): Remove.
108 (libstdc++-v3_exit): Remove.
110 2001-05-22 Phil Edwards <pme@sources.redhat.com>
112 * docs/html/documentation.html: Point to doxygen output.
114 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
116 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
118 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
119 arguments to be non-null.
120 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
121 try allocations if allocated size is greater than zero.
122 (filebuf::_M_filebuf_init): Change to
123 (filebuf::_M_allocate_file): Which is what it does now.
124 (filebuf::_M_allocate_bufers): Change to
125 (filebuf::_M_allocate_internal_buffer): This, and create
126 (filebuf::_M_allocate_pback_buffer): New.
127 (filebuf::_M_destroy_internal_buffer): New.
128 (filebuf::_M_buf_allocated): New data member.
129 (filebuf::setbuf): Use new logic, allow use of external buffer.
130 * testsuite/27_io/stringbuf_virtuals.cc: New file.
131 * testsuite/27_io/filebuf_virtuals.cc: New file.
133 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
135 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
137 (strchr): Same, but to __glibcpp_strchr.
141 * include/c_std/bits/std_cwchar.h (wcschr): Same.
147 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
149 * testsuite/21_strings/c_strings.cc (main): Fix.
151 2001-05-19 Phil Edwards <pme@sources.redhat.com>
153 * acinclude.m4: Fix --help spacing, correct comments.
154 * aclocal.m4: Regenerate.
155 * configure: Regenerate.
156 * mkcheck.in: Add usage comments.
157 * docs/html/documentation.html: Point to doxygen'd tarball.
159 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
161 * testsuite/README: Add notes.
163 * src/Makefile.am (libstdc++.INC): Remove.
164 * src/Makefile.in: Regenerate.
166 Phil Edwards <pedwards@disaster.jaj.com>
167 * mkcheck.in: Add missing '#'.
169 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
171 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
172 appropriately for remote testing and testing installed files without
175 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
177 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
178 amd glibcpp_prefixdir with absolute paths.
180 * include/bits/c++config (__GLIBCPP__): Bump.
181 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
183 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
185 * include/bits/std_valarray.h (valarray<>::operator[] const):
186 Return a const reference.
187 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
189 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
191 * configure.target (ATOMICITYH): Actually use AIX-specific code on
192 earlier versions of AIX 4.*.
194 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
196 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
197 output_file based on the name of the testcase.
199 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
201 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
202 gluefile and use it if needs_status_wrapper is set.
204 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
206 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
209 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
211 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
212 on earlier versions of AIX.
214 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
216 * testsuite_flags.in (query): Add backwards, ext directories.
218 2001-05-15 Mark Mitchell <mark@codesourcery.com>
220 * porting.texi: Correct documentation about handling
221 _LARRGEFILE_SOURCE and its ilk.
222 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
223 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
225 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
226 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
228 2001-05-15 Zack Weinberg <zackw@stanford.edu>
230 * testsuite/21_strings/inserters_extractors.cc,
231 testsuite/27_io/istream_unformatted.cc,
232 testsuite/27_io/stringstream.cc:
233 Replace multi-line string constants with C89-style
234 concatenated string constants.
236 2001-05-14 Richard Henderson <rth@redhat.com>
238 * mknumeric_limits: Build with -fno-exceptions.
240 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
242 Switch over to new harness.
243 * testsuite_flags.in: Tweaks via Gaby.
244 * testsuite/Makefile.am: Change tool to libstdc++-v3.
245 (EXPECT): Quote directly.
247 * configure.in: Output testsuite_flags.
248 * acinclude.m4: Substitute src, bld, and prefix dirs.
249 Remove glibcpp_expect, glibcpp_runtestflags.
250 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
251 * mkcheck.in: Port to new interface.
253 * aclocal.m4: Regerate.
254 * configure: Regnerate.
255 * Makefile.in: Regnerate.
256 * */Makefile.in: Regenerate.
258 * tests_flags.in: Remove.
259 * testsuite/lib/libstdc++.exp: Remove.
260 * testsuite/libstdc++.tests/tests.exp: Remove.
262 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
264 * configure.target: Remove detection of AIX pthread multilib, now
265 obtained from `gcc -v'.
267 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
269 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
270 size. Add hpux case for HP size.
272 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
274 * testsuite_flags.in: New, simplified interface.
275 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
276 * testsuite/libstdc++-v3.dg: Add.
277 * testsuite/libstdc++-v3.dg/dg.exp: Add.
279 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
281 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
282 * testsuite/config/default.exp: Update bugs email address.
284 2001-05-11 Richard Henderson <rth@redhat.com>
286 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
287 all pointer encoding logic.
288 (struct lsda_header_info): Add ttype_base.
289 (get_ttype_entry): Use it instead of a context.
290 (check_exception_spec): Likewise.
291 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
292 the c++ exception header for __cxa_call_unexpected.
293 (__cxa_call_unexpected): Use it.
295 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
297 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
298 libgloss_link_flags to find crt0.o for targets that use libgloss
300 Change LDFLAGS to LIBS.
301 Consistently name procedures libstdc++-XXX.
302 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
304 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
306 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
311 * include/c_std/bits/std_cwchar.h (wcschr): Same.
316 * testsuite/21_strings/c_strings.cc: Add tests.
318 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
321 * include/bits/std_fstream.h (basic_filebuf): Change signature.
322 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
323 to int_type, pass in buffer size info.
324 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
325 unbuffered situation.
326 (underflow): Remove codecvt bits for the time being.
327 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
328 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
329 values from iterators, clean.
330 * src/locale.cc: Ditto.
331 * include/bits/sbuf_iter.h: Format.
332 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
333 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
334 * testsuite/27_io/filebuf.cc: Tweaks.
335 * testsuite/27_io/filebuf_members.cc: Tweaks.
337 2001-05-07 Mark Mitchell <mark@codesourcery.com>
339 * config/os/solaris/solaris2.7/bits/os_defines.h
340 (_LARGEFILE_SOURCE): Define it.
342 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
344 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
345 -prefer-non-pic depending on whether libtool has shared libraries
347 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
348 $(LIBSUPCXX_PICFLAGS).
349 * configure, */Makefile.in: Rebuilt.
351 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
353 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
354 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
356 * include/bits/std_sstream.h (stringbuf): Leak
358 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
360 2001-05-01 Tom Browder <tbrowder@home.com>
362 * docs/html/ext/howto.html: Fix typo.
364 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
366 * testsuite/libstdc++.tests/tests.exp: Add comment.
368 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
370 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
372 2001-04-30 Mark Mitchell <mark@codesourcery.com>
374 * porting.texi: Use the GFDL.
376 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
379 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
380 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
383 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
386 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
388 2001-04-28 Phil Edwards <pme@sources.redhat.com>
390 * docs/doxygen/run_doxygen: Minor tweaks.
391 * docs/doxygen/style.css: New file.
392 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
393 latest parameters available. Use style.css.
395 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
397 * docs/doxygen/mainpage.doxy: New.
398 * docs/doxygen/user.cfg.in: Change default configuration. Single
401 2001-04-26 Mark Mitchell <mark@codesourcery.com>
403 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
404 Indicate obsolete nature of thelist for G++ 3.0.
406 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
408 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
409 target_thread_file with `gcc -v'.
410 * aclocal.m4, configure: Rebuilt.
412 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
414 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
415 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
416 * include/c_std/bits/std_cwchar.h (std): Same.
417 * acconfig.h (std): Remove c99 injection into std.
418 * config.h.in: Regenerate.
420 * testsuite/README: Fix typo.
422 * include/bits/codecvt.h: Remove warnings.
424 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
426 * include/ext/slist: Include required header files.
428 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
430 * include/c_std/bits/std_cerrno.h (errno): Define macro from
431 identifier declared with external linkage, if needed.
432 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
433 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
435 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
437 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
438 re-configures find the build compiler.
439 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
441 * aclocal.m4: Regenerate.
442 * configure: Regenerate.
444 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
446 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
447 support is enabled correctly before long long is activated.
448 * aclocal.m4: Regenerate.
449 * configure: Regenerate.
451 * include/backward/backward_warning.h: Format correctly.
453 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
454 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
455 * testsuite/26_numerics/c99_macros.cc: Remove.
457 2001-04-20 Phil Edwards <pme@sources.redhat.com>
459 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
462 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
464 * acconfig.h (_GLIBCPP_USE_C99): Add.
465 * config.h.in: Regenerate.
466 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
468 * aclocal.m4: Regenerate.
469 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
470 * configure: Regenerate.
471 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
472 * configure: Regenerate.
473 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
475 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
477 * include/c_std/bits/std_cstdlib.h: Same.
478 * docs/html/configopts.html: Update.
479 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
481 (test_c99_classify): Add.
482 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
483 (_ISOC99_SOURCE): Remove.
485 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
486 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
487 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
488 * aclocal.m4: Regenerate.
489 * configure: Regenerate.
491 2001-04-19 Phil Edwards <pme@sources.redhat.com>
493 * Makefile.am (doxygen): Assume script is missing execute perms.
494 * Makefile.in: Regenerated.
495 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
497 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
499 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
501 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
503 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
504 * testsuite/23_containers/set_operators.cc: Same.
506 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
508 (__GLIBCPP__): Bump from value of last release.
509 * include/bits/concept_check.h: Default to off, edit comments.
510 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
511 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
512 * src/Makefile.in: Regenerate.
514 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
516 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
517 Properly uglify member.
519 2001-04-13 Phil Edwards <pme@sources.redhat.com>
521 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
525 2001-04-13 Phil Edwards <pme@sources.redhat.com>
527 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
528 * include/bits/concept_check.h: Uglify.
529 * include/bits/stl_algo.h: Likewise.
530 * include/bits/stl_algobase.h: Likewise.
531 * include/bits/stl_deque.h: Likewise.
532 * include/bits/stl_heap.h: Likewise.
533 * include/bits/stl_iterator_base_funcs.h: Likewise.
534 * include/bits/stl_list.h: Likewise.
535 * include/bits/stl_map.h: Likewise.
536 * include/bits/stl_multimap.h: Likewise.
537 * include/bits/stl_multiset.h: Likewise.
538 * include/bits/stl_numeric.h: Likewise.
539 * include/bits/stl_queue.h: Likewise.
540 * include/bits/stl_set.h: Likewise.
541 * include/bits/stl_stack.h: Likewise.
542 * include/bits/stl_vector.h: Likewise.
543 * include/ext/hash_map: Likewise.
544 * include/ext/hash_set: Likewise.
545 * include/ext/slist: Likewise.
547 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
549 * testsuite/23_containers/set_operators.cc: Just try to compile.
551 * testsuite/23_containers/map_operators.cc: Same.
553 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
555 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
557 (dg-test): Revert rth's change.
559 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
561 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
562 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
564 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
566 * testsuite/README: Add DejaGnu specific documentation.
568 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
570 * acinclude.m4: AC_CHECK_TOOL for expect.
571 * aclocal.m4: Regenerate.
572 * configure: Regenerate.
573 * testsuite/Makefile.am (RUNTEST): Use substituted.
576 * configure.in: Remove xcompiling substitution.
577 * tests_flags.in (CROSS_LIB_PATH): Remove.
578 (xcompiling): Remove.
579 (CXX): Use substituted CXX.
581 2001-04-11 Richard Henderson <rth@redhat.com>
583 * testsuite/lib/libstdc++.exp: Specify path for output_file.
585 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
587 * include/bits/std_valarray.h(valarray<>::operator[]): Make
590 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
592 * testsuite/25_algorithms/equal.cc: New test.
594 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
596 * stl_algobase.h (std::equal): avoid use of possibly-undefined
597 operator != (one line patch).
599 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
601 * include/backward/backward_warning.h: Re-enable.
603 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
604 Alexandre Oliva <aoliva@redhat.com>
606 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
608 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
610 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
611 * testsuite/26_numerics/c99_macros.cc: Add test.
613 2001-04-06 Phil Edwards <pme@sources.redhat.com>
615 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
616 * docs/html/faq/index.txt: Regenerated.
618 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
620 * include/backward/backward_warning.h: Temporarily disable until
621 g++ testsuite changes go in.
622 * tests_flags.in (CROSS_LIB_PATH): Add.
624 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
626 Warn when using backward headers.
627 * include/backward/algo.h: Include warning file.
628 * include/backward/vector.h: Same.
629 * include/backward/tree.h: Same.
630 * include/backward/tempbuf.h: Same.
631 * include/backward/strstream: Same.
632 * include/backward/streambuf.h: Same.
633 * include/backward/stream.h: Same.
634 * include/backward/stack.h: Same.
635 * include/backward/slist.h: Same.
636 * include/backward/set.h: Same.
637 * include/backward/rope.h:
638 * include/backward/queue.h: Same.
639 * include/backward/pair.h: Same.
640 * include/backward/ostream.h: Same.
641 * include/backward/new.h: Same.
642 * include/backward/multiset.h: Same.
643 * include/backward/multimap.h: Same.
644 * include/backward/map.h: Same.
645 * include/backward/list.h: Same.
646 * include/backward/iterator.h: Same.
647 * include/backward/istream.h: Same.
648 * include/backward/iostream.h:
649 * include/backward/iomanip.h:
650 * include/backward/heap.h: Same.
651 * include/backward/hashtable.h:
652 * include/backward/hash_set.h:
653 * include/backward/hash_map.h:
654 * include/backward/function.h:
655 * include/backward/fstream.h:
656 * include/backward/deque.h:
657 * include/backward/defalloc.h: Same.
658 * include/backward/complex.h: Same.
659 * include/backward/bvector.h:
660 * include/backward/alloc.h:
661 * include/backward/algobase.h: Same.
663 * include/backward/backward_warning.h: New file.
664 * src/Makefile.am (backward_headers): Add backward_warning.h
665 * src/Makefile.in: Regenerate.
667 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
669 * src/Makefile.am (myinstalldirs): Make sure backward directory is
671 (myinstallheaders): Install backward headers in backward directory.
672 * src/Makefile.in: Regenerate.
674 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
676 Prepare for libstdc++-2.92.
677 * docs/html/17_intro/RELEASE-NOTES (New): Update.
678 * docs/html/configopts.html: Fix formatting.
679 * README (file): Updates.
680 * include/bits/c++config (__GLIBCPP__): Update.
682 2001-04-05 Phil Edwards <pme@sources.redhat.com>
684 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
686 2001-04-04 Phil Edwards <pme@sources.redhat.com>
688 * docs/doxygen/user.cfg.in: Extract all non-private members;
689 reduce confusing documentation output.
691 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
693 * include/backward/fstream.h: Add missing semicolons.
695 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
697 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
698 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
699 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
700 (ios_base::Init::_S_ios_create): New.
701 (ios_base::Init::_S_ios_destroy): New.
702 * include/bits/std_fstream.h: Change ctor args.
703 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
704 (ios_base::Init::~Init): Use _S_ios_destroy.
705 (ios_base::sync_with_stdio): Use new members.
706 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
709 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
711 * include/backward/fstream.h: Expose streampos to global
714 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
716 * include/bits/stl_iterator_base_types.h: Fix typo
718 2001-04-03 Andreas Schwab <schwab@suse.de>
720 * include/backward/fstream.h: Define filebuf and wfilebuf.
722 2001-04-02 Phil Edwards <pme@sources.redhat.com>
724 New concept checking implementation.
725 * docs/html/19_diagnostics/howto.html: Document.
726 * docs/html/17_intro/concept_check.diff: New file, for reference.
727 * include/bits/boost_concept_check.h: New file from Boost.
728 * include/bits/c++config: Update comments.
730 * include/bits/concept_check.h: New file.
731 * include/bits/concept_checks.h: Removed.
732 * include/bits/container_concepts.h: Removed.
733 * include/bits/sequence_concepts.h: Removed.
734 * include/bits/stl_iterator_base.h: Removed; split into...
735 * include/bits/stl_iterator_base_funcs.h: ...this new file...
736 * include/bits/stl_iterator_base_types.h: ...and this new file.
738 * include/bits/sbuf_iter.h: Update to use new implementation.
739 * include/bits/std_iterator.h: Likewise.
740 * include/bits/std_memory.h: Likewise.
741 * include/bits/stl_algo.h: Likewise.
742 * include/bits/stl_algobase.h: Likewise.
743 * include/bits/stl_construct.h: Likewise.
744 * include/bits/stl_deque.h: Likewise.
745 * include/bits/stl_heap.h: Likewise.
746 * include/bits/stl_list.h: Likewise.
747 * include/bits/stl_map.h: Likewise.
748 * include/bits/stl_multimap.h: Likewise.
749 * include/bits/stl_multiset.h: Likewise.
750 * include/bits/stl_numeric.h: Likewise.
751 * include/bits/stl_queue.h: Likewise.
752 * include/bits/stl_set.h: Likewise.
753 * include/bits/stl_stack.h: Likewise.
754 * include/bits/stl_uninitialized.h: Likewise.
755 * include/bits/stl_vector.h: Likewise.
756 * include/ext/hash_map: Likewise.
757 * include/ext/hash_set: Likewise.
758 * include/ext/slist: Likewise.
759 * include/ext/stl_hashtable.h: Likewise.
761 * src/Makefile.am (base_headers): Update list of headers.
762 * Makefile.in: Regenerated.
763 * src/Makefile.in: Regenerated.
764 * libio/Makefile.in: Regenerated.
765 * libmath/Makefile.in: Regenerated.
766 * libsupc++/Makefile.in: Regenerated.
767 * testsuite/Makefile.in: Regenerated.
769 * docs/html/install.html: Update contact information.
770 * docs/html/17_intro/howto.html: Ditto.
771 * docs/html/18_support/howto.html: Ditto.
772 * docs/html/20_util/howto.html: Ditto.
773 * docs/html/21_strings/howto.html: Ditto.
774 * docs/html/22_locale/howto.html: Ditto.
775 * docs/html/23_containers/howto.html: Ditto.
776 * docs/html/24_iterators/howto.html: Ditto.
777 * docs/html/25_algorithms/howto.html: Ditto.
778 * docs/html/26_numerics/howto.html: Ditto.
779 * docs/html/27_io/howto.html: Ditto.
780 * docs/html/faq/index.html: Ditto, plus info on new checking code.
781 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
782 * docs/html/faq/index.txt: Regenerated.
784 2001-04-02 Zack Weinberg <zackw@stanford.edu>
786 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
787 messages with $which_library as well as $tool_flags and
788 ${dg-extra-tool-flags}. Factor out annotation text into
791 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
793 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
794 * include/c_std/bits/std_cwchar.h: Same.
795 * testsuite/21_strings/c_strings.cc: Add.
797 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
799 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
801 2001-04-01 Zack Weinberg <zackw@stanford.edu>
803 * tests_flags.in: Use test a = b, not test a == b which is not
806 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
808 * configure.target: Remove duplicate aix entry.
810 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
812 * include/ext/stl_bvector.h: Move to...
813 * include/bits/stl_vector.h: ...here.
814 * include/ext/bvector: Move to...
815 * include/backward/bvector.h: ...here.
816 * include/bits/std_vector.h: Change stl_bvector include.
817 * include/bits/std_queue.h: Remove bvector include.
818 * include/ext/tree: Insert using rb_tree, move to...
819 * include/backward/tree.h: ...here.
820 * include/backward/hash_map.h: Include ext/hash_map.
821 * include/backward/hash_set.h: Include ext/hash_set.
822 * include/backward/queue.h: New file.
823 * include/backward/stack.h: Edit.
824 * include/backward/algo.h: Same.
825 * include/backward/algobase.h: Same.
826 * include/backward/alloc.h: Same.
827 * include/backward/function.h: Same.
828 * include/backward/iomanip.h: Same.
829 * include/backward/istream.h: Same.
830 * include/backward/iterator.h: Same.
831 * include/backward/list.h: Same.
832 * include/backward/map.h: Same.
833 * include/backward/multimap.h: Same.
834 * include/backward/multiset.h: Same.
835 * include/backward/ostream.h: Same.
836 * include/backward/pair.h: Same
837 * include/backward/rope.h: Same.
838 * include/backward/set.h: Same.
839 * include/backward/stream.h: Same.
840 * include/backward/strstream.h: Same.
841 * include/backward/tempbuf.h: Same.
842 * src/Makefile.am (ext_headers): Edit.
843 * src/Makefile.in: Regenerate.
844 * testsuite/ext/headers.cc (main): Fix.
847 2001-03-30 Phil Edwards <pme@sources.redhat.com>
849 * tests_flags.in (LIBS): Pass correct path for installed testing.
851 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
853 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
854 * tests_flags.in (CXX): Construct here.
855 (static_fail): Don't remove compile.out. Format with spaces.
856 (INCLUDES): Deal with xcompiling.
857 * configure.in (xcompiling): Substitute.
858 * testsuite/Makefile.am: Snake libjava configury.
859 * testsuite/Makefile.in: Regenerate.
860 * testsuite/23_containers/map_operators.cc: Tweaks.
861 * testsuite/23_containers/set_operators.cc: Tweaks.
863 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
865 Enable dejagnu testing framework.
866 * configure.in: Generate testsuite/Makefile.
867 * configure: Regenerate.
868 * Makefile.am (check-install): Change rule from this...
869 (check-script-install): ...to this.
870 (check): Change rule from this...
871 (check-script):...to this.
872 * Makefile.in: Regenerate.
874 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
876 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
878 (LIBTOOL): Let automake take care of its definition.
879 * libsupc++/Makefile.in: Rebuilt.
881 2001-03-28 Richard Henderson <rth@redhat.com>
883 IA-64 ABI Exception Handling:
884 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
885 * configure.in: Use it.
886 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
887 * libsupc++/Makefile.am (sources): Update files list.
888 * libsupc++/Makefile.in: Regenerate.
889 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
890 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
891 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
892 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
893 * libsupc++/exception_support.cc: Remove.
894 * libsupc++/exception_support.h: Remove.
895 * libsupc++/pure.cc: Use std::terminate.
896 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
897 (__is_pointer): Remove.
898 * libsupc++/unwind-cxx.h: New file.
899 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
901 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
903 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
905 * src/Makefile.am (CXXLINK): Likewise.
906 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
908 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
910 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
912 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
914 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
917 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
919 * include/bits/basic_file.h (get_fileno): Remove.
921 (_M_cfile_created): Add.
922 (basic_file::basic_file(__c_file_type*, openmode): Add.
923 (basic_file::basic_file(int, const char*, openmode): Remove.
924 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
925 const char*, ios_base::openmode): Don't allocate
926 internal buffers. Turn off internal buffers.
927 (basic_filebuf::overflow): Remove test for null buffer.
928 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
929 * include/bits/streambuf.cc: Tweak.
930 * include/bits/std_ostream.h: Tweak.
931 * config/basic_file_libio.h: Same.
932 * config/basic_file_stdio.h: Same.
933 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
934 * testsuite/27_io/filebuf_members.cc: Tweaks.
935 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
937 2001-03-24 Phil Edwards <pme@sources.redhat.com>
939 * Makefile.am: New targets, doxygen and doxygen-maint.
940 * Makefile.in: Regenerated.
941 * docs/doxygen/run_doxygen: Finally implemented.
942 * docs/doxygen/maint.cfg.in: New file.
943 * docs/doxygen/user.cfg.in: New file.
945 2001-03-24 Phil Edwards <pme@sources.redhat.com>
947 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
948 * src/Makefile.am: Replace leading spaces with tabs on continuation
950 * aclocal.m4: Regenerated.
952 * Makefile.in: Ditto.
953 * src/Makefile.in: Ditto.
954 * libio/Makefile.in: Ditto.
955 * libmath/Makefile.in: Ditto.
956 * libsupc++/Makefile.in: Ditto.
958 2001-03-24 Phil Edwards <pme@sources.redhat.com>
960 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
961 concept-checking code and current status of same.
962 * docs/html/ext/howto.html: Ditto.
963 * docs/html/faq/index.html: Ditto.
964 * docs/html/faq/index.txt: Regenerated.
966 2001-03-24 Phil Edwards <pme@sources.redhat.com>
968 * include/bits/std_bitset.h: Include ostream and istream headers
971 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
973 * include/bits/ostream.tcc: Use __builtin_alloca.
975 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
977 * src/misc-inst.cc (__sink_unused_warning): Move to...
978 * src/locale-inst.cc (__sink_unused_warning): Move to...
979 * src/stl-inst.cc: Here.
980 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
983 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
985 * intclude/bits/basic_file.h: Fix typos in comments.
987 2001-03-20 Richard Henderson <rth@redhat.com>
989 * src/gen-num-limits.cc: Instantiate for wchar_t.
990 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
992 2001-03-20 Jason Merrill <jason@redhat.com>
994 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
995 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
996 * libsupc++/cxxabi.h: Declare it.
998 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1000 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1001 signal_func with an unspecified argument list.
1003 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1005 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1007 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1009 * include/bits/basic_string.tcc (operator+): Fix thinko.
1011 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1014 * include/bits/std_streambuf.h: Remove cached locale facets.
1015 (basic_streambuf::_M_buf_fctype): Remove.
1016 (basic_streambuf::~basic_streambuf): Remove here.
1017 (basic_streambuf::basic_streambuf): Same.
1018 (basic_streambuf::imbue): Same.
1019 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1020 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1021 (basic_filebuf::~basic_filebuf()): Remove here.
1022 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1023 (basic_filebuf::imbue): Same.
1024 * include/bits/localefwd.h (_Count_ones): Remove.
1025 (locale::_S_num_categories): Just use 6, since this doesn't
1026 actually change, ever.
1027 * include/bits/locale_facets.tcc (has_facet): Simplify.
1029 * testsuite/27_io/filebuf.cc (test06): Add tests.
1031 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1033 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1034 match HP-UX ctype.h header file.
1036 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1038 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1039 duplicate definitions of __dj_ctype_*
1041 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1043 * libsupc++/new: Remove pragma interface.
1044 * libsupc++/typeinfo: Same.
1045 * libsupc++/exception: Same.
1046 * libsupc++/new_handler.cc: Remove pragma implementation.
1047 (bad_alloc::~bad_alloc()): Add.
1048 * libsupc++/exception_support.cc: Same.
1049 (exception::~exception): Add.
1050 (bad_exception::~bad_exception): Add.
1051 * libsupc++/tinfo.cc: Same.
1052 (bad_cast::~bad_cast): Add.
1053 (bad_typeid::~bad_typeid): Add.
1055 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1057 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1059 2001-03-12 Felix Lee <flee@redhat.com>
1061 * mkcheck.in: workaround for bash 2.01 IFS bug.
1063 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1065 Fixups for -fno-for-scope
1066 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1067 * src/valarray-inst.cc (__gslice_to_index): Same.
1069 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1071 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1072 prior to trapping signal (UnixWare 7 workaround).
1074 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1076 * include/backward/hashtable.h: Same.
1077 * include/backward/rope.h: Fix include.
1079 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1081 * include/backward/vector.h: Include std_vector.h.
1083 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1084 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1087 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1089 * include/ext/stl_hashtable.h: Change type of __n to size_t
1090 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1092 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1094 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1095 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1096 Use streamsize, not int_type.
1098 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1100 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1103 2001-03-08 Andreas Schwab <schwab@suse.de>
1105 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1107 * aclocal.m4, configure: Regenerated.
1109 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1111 * include/bits/std_iosfwd.h: Remove string forward decls here.
1112 * include/bits/stringfwd.h: Add forward decls for char_traits
1114 * config/c_io_libio.h (wstreamoff): Delete.
1115 * config/c_io_stdio.h (wstreamoff): Same.
1116 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1117 char_traits<wchar_t>::off_type.
1118 Remove duplicate typedefs.
1119 * include/bits/fpos.h: Define streampos/wstreampos here.
1120 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1123 Changeup output files.
1124 * testsuite/27_io/istream_unformatted.cc: Change output files.
1125 * testsuite/27_io/istream_seeks-1.txt: Add.
1126 * testsuite/27_io/istream_seeks-2.tst: Add.
1127 * testsuite/27_io/istream_seeks-1.tst: Add.
1128 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1129 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1130 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1132 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1134 Add Irix 5.2, 6.3 support.
1135 * config/os/irix/bits: Renamed to...
1136 * config/os/irix/irix6.5/bits: this.
1137 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1138 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1139 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1140 * config/os/irix/irix5.2/bits/ctype_noninline.h
1141 (ctype<char>::ctype): Initialize _M_table with __ctype.
1142 * configure.target: Adjust.
1144 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1147 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1148 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1150 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1151 (*__pf)(__ios_type&)): Same.
1152 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1153 (*__pf)(ios_base&))): Same.
1154 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1155 * testsuite/27_io/istream_manip.cc (test01): Fix.
1157 2001-03-06 Nathan Myers <ncm@cantrip.org>
1158 Benjamin Kosnik <bkoz@redhat.com>
1160 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1161 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1162 * testsuite/17_intro/header_cassert.cc (test01): New file.
1163 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1164 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1165 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1167 2001-03-05 scott snyder <snyder@fnal.gov>
1170 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1172 * include/c_std/bits/std_cstdlib.h: ... to here.
1173 * testsuite/17_intro/header_cstdlib.cc: Add test.
1175 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1177 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1179 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1181 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1182 definition. Replace enum with static const variables.
1184 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1185 throw specification, fix typos, use <static_cast>.
1186 (ctype<char>::scan_is): remove throw specification.
1187 (ctype<char>::scan_not): likewise.
1189 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1190 (ctype<char>::do_toupper(char)): use <static_cast>.
1191 (ctype<char>::do_toupper(char *, const char *)): likewise.
1192 (ctype<char>::do_tolower(char)): likewise.
1193 (ctype<char>::do_tolower(char *, const char *)): likewise.
1195 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1197 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1198 * include/backward/algo.h: Use std not __STD. Remove unneeded
1199 macros and "never happens" code. Adjust to C++STYLE guidelines.
1200 * include/backward/algobase.h: Likewise.
1201 * include/backward/alloc.h: Likewise.
1202 * include/backward/bvector.h: Likewise.
1203 * include/backward/deque.h: Likewise.
1204 * include/backward/function.h: Likewise.
1205 * include/backward/hash_map.h: Likewise.
1206 * include/backward/hash_set.h: Likewise.
1207 * include/backward/hashtable.h: Likewise.
1208 * include/backward/heap.h: Likewise.
1209 * include/backward/iterator.h: Likewise.
1210 * include/backward/list.h: Likewise.
1211 * include/backward/map.h: Likewise.
1212 * include/backward/multimap.h: Likewise.
1213 * include/backward/multiset.h: Likewise.
1214 * include/backward/pair.h: Likewise.
1215 * include/backward/rope.h: Likewise.
1216 * include/backward/set.h: Likewise.
1217 * include/backward/slist.h: Likewise.
1218 * include/backward/stack.h: Likewise.
1219 * include/backward/strstream: Likewise.
1220 * include/backward/tempbuf.h: Likewise.
1221 * include/backward/tree.h: Likewise.
1222 * include/backward/vector.h: Likewise.
1223 * include/bits/basic_ios.h: Likewise.
1224 * include/bits/basic_ios.tcc: Likewise.
1225 * include/bits/basic_string.h: Likewise.
1226 * include/bits/c++config: Likewise.
1227 * include/bits/concept_checks.h: Likewise.
1228 * include/bits/fpos.h: Likewise.
1229 * include/bits/fstream.tcc: Likewise.
1230 * include/bits/functexcept.h: Likewise.
1231 * include/bits/ios_base.h: Likewise.
1232 * include/bits/istream.tcc: Likewise.
1233 * include/bits/mask_array.h: Likewise.
1234 * include/bits/ostream.tcc: Likewise.
1235 * include/bits/pthread_allocimpl.h: Likewise.
1236 * include/bits/sbuf_iter.h: Likewise.
1237 * include/bits/slice.h: Likewise.
1238 * include/bits/slice_array.h: Likewise.
1239 * include/bits/sstream.tcc: Likewise.
1240 * include/bits/std_bitset.h: Likewise.
1241 * include/bits/std_fstream.h: Likewise.
1242 * include/bits/std_iomanip.h: Likewise.
1243 * include/bits/std_ios.h: Likewise.
1244 * include/bits/std_istream.h: Likewise.
1245 * include/bits/std_iterator.h: Likewise.
1246 * include/bits/std_memory.h: Likewise.
1247 * include/bits/std_ostream.h: Likewise.
1248 * include/bits/std_sstream.h: Likewise.
1249 * include/bits/std_streambuf.h: Likewise.
1250 * include/bits/std_string.h: Likewise.
1251 * include/bits/std_valarray.h: Likewise.
1252 * include/bits/stl_algo.h: Likewise.
1253 * include/bits/stl_algobase.h: Likewise.
1254 * include/bits/stl_alloc.h: Likewise.
1255 * include/bits/stl_construct.h: Likewise.
1256 * include/bits/stl_deque.h: Likewise.
1257 * include/bits/stl_function.h: Likewise.
1258 * include/bits/stl_heap.h: Likewise.
1259 * include/bits/stl_iterator.h: Likewise.
1260 * include/bits/stl_iterator_base.h: Likewise.
1261 * include/bits/stl_list.h: Likewise.
1262 * include/bits/stl_map.h: Likewise.
1263 * include/bits/stl_multimap.h: Likewise.
1264 * include/bits/stl_multiset.h: Likewise.
1265 * include/bits/stl_numeric.h: Likewise.
1266 * include/bits/stl_pair.h: Likewise.
1267 * include/bits/stl_pthread_alloc.h: Likewise.
1268 * include/bits/stl_queue.h: Likewise.
1269 * include/bits/stl_raw_storage_iter.h: Likewise.
1270 * include/bits/stl_relops.h: Likewise.
1271 * include/bits/stl_set.h: Likewise.
1272 * include/bits/stl_stack.h: Likewise.
1273 * include/bits/stl_tempbuf.h: Likewise.
1274 * include/bits/stl_threads.h: Likewise.
1275 * include/bits/stl_tree.h: Likewise.
1276 * include/bits/stl_uninitialized.h: Likewise.
1277 * include/bits/stl_vector.h: Likewise.
1278 * include/bits/streambuf.tcc: Likewise.
1279 * include/bits/type_traits.h: Likewise.
1280 * include/bits/valarray_meta.h: Likewise.
1281 * include/ext/bvector: Likewise.
1282 * include/ext/hash_map: Likewise.
1283 * include/ext/hash_set: Likewise.
1284 * include/ext/ropeimpl.h: Likewise.
1285 * include/ext/slist: Likewise.
1286 * include/ext/stl_bvector.h: Likewise.
1287 * include/ext/stl_hash_fun.h: Likewise.
1288 * include/ext/stl_hashtable.h: Likewise.
1289 * include/ext/stl_rope.h: Likewise.
1290 * src/complex_io.cc: Likewise.
1291 * src/ios.cc: Likewise.
1292 * src/locale-inst.cc: Likewise.
1293 * src/locale.cc: Likewise.
1294 * src/localename.cc: Likewise.
1295 * src/misc-inst.cc: Likewise.
1296 * src/stdexcept.cc: Likewise.
1297 * src/stl-inst.cc: Likewise.
1298 * src/strstream.cc: Likewise.
1299 * src/valarray-inst.cc: Likewise.
1301 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1303 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1305 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1307 * include/bits/istream.tcc: change type of __extracted to __size_type
1309 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1311 * src/wstring-inst.cc: New file.
1312 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1313 (libinst_wstring_la_SOURCES): Remove.
1314 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1315 (sources): Add wstring-inst.cc
1316 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1319 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1321 * src/locale.cc: initialise __ret with zero
1322 * src/strstream.cc:cast gptr to int_type
1324 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1326 * docs/html/faq/index.html: Update broken links.
1327 * docs/html/faq/index.txt: Regenerated.
1329 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1332 * configure.target: Change irix* to irix6.5* in target_os table.
1334 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1337 * include/bits/c++config (__GLIBCPP__): Bump number in
1338 anticipation of 2.92.
1340 * include/bits/codecvt.h: Fix typo.
1341 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1343 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1344 instantiations for stdio model.
1346 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1348 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1349 and GLIBCPP_CXXFLAGS as unused variables.
1350 * configure.host: Likewise.
1351 * configure.target: Likewise.
1352 * aclocal.m4: Regenerated.
1353 * configure: Regenerated.
1354 * Makefile.in: Regenerated.
1355 * libio/Makefile.in: Regenerated.
1356 * libmath/Makefile.in: Regenerated.
1357 * libsupc++/Makefile.in: Regenerated.
1358 * src/Makefile.in: Regenerated.
1360 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1363 * include/bits/basic_file.h: Include basic_file_model.h.
1364 * config/c_io_libio.cc: Move to...
1365 * config/basic_file_libio.cc: Here.
1366 * config/basic_file_libio.h: New file.
1367 * config/c_io_stdio.cc: Move to...
1368 * config/basic_file_stdio.cc: Here.
1369 * config/basic_file_stdio.h: New file.
1370 * config/c_io_libio.h: Tweak.
1371 * config/c_io_stdio.h: Tweak.
1372 * src/Makefile.am (build_headers): Add basic_file_model.h.
1373 (sources): Add basic_file.cc, remove c++io.cc.
1374 * src/Makefile.in: Regenerate.
1375 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1376 basic_file_model.h and basic_file.cc.
1377 * aclocal.m4: Regenerate.
1378 * configure: Regenerate.
1379 * testsuite/27_io/filebuf.cc (test05): Add regression.
1381 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1384 * config/cpu/alpha/bits/atomicity.h: Change.
1385 * config/cpu/arm/bits/atomicit3y.h
1386 * config/cpu/generic/bits/atomicity.h
1387 * config/cpu/i386/bits/atomicity.h
1388 * config/cpu/i486/bits/atomicity.h
1389 * config/cpu/ia64/bits/atomicity.h
1390 * config/cpu/powerpc/bits/atomicity.h
1391 * config/cpu/sparc/sparc32/bits/atomicity.h
1392 * config/cpu/sparc/sparc64/bits/atomicity.h
1393 * config/os/aix/bits/atomicity.h
1394 * config/os/irix/bits/atomicity.h
1396 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1398 * include/bits/std_stdexcept.h (runtime_error): Make string
1400 (logic_error): Same.
1401 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1404 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1408 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1409 string object, not reference.
1410 (runtime_error::runtime_error): Same.
1411 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1413 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1415 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1416 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1417 diagnostics. Remove WFMT_FLAGS.
1418 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1419 * libsupc++/Makefile.am: Likewise.
1420 * src/Makefile.am: Likewise.
1421 * aclocal.m4: Regenerated.
1422 * configure: Regenerated.
1423 * Makefile.in: Regenerated.
1424 * libio/Makefile.in: Regenerated.
1425 * libmath/Makefile.in: Regenerated.
1426 * libsupc++/Makefile.in: Regenerated.
1427 * src/Makefile.in: Regenerated.
1429 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1431 Fixes libstdc++/2079
1432 * include/backward/iomanip.h: Expose <ios> manipulators to global
1434 * include/backward/iostream.h: Also expose std::ws.
1436 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1438 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1440 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1442 * include/bits/codecvt.h: Use __builtin_alloca.
1443 * include/bits/ostream.tcc: Same.
1444 * include/bits/fstream.tcc: Same.
1446 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1448 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1450 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1452 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1454 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1457 * include/backward/iostream.h: Expose std::flush in old headers.
1459 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1461 * mknumeric_limits: Remove special-casing on target. Use gcc
1462 instead of g++ to build gen-num-limits.cc
1464 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1466 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1468 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1470 * include/bits/ostream.tcc: Same.
1471 * include/bits/std_ostream.h: Same.
1472 * include/bits/fstream.tcc: Same.
1473 * include/bits/locale_facets.tcc: Add typename.
1474 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1476 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1478 * tests_flags.in: Remove -n flag from call to echo.
1480 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1482 * config/c_locale_gnu.h: Add clocale include.
1484 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1486 * include/bits/stl_config.h: Remove file.
1487 * src/Makefile.am (base_headers): Remove from list.
1488 * configure: Regenerate.
1489 * Makefile.in: Ditto.
1490 * libio/Makefile.in: Ditto.
1491 * libmath/Makefile.in: Ditto.
1492 * libsupc++/Makefile.in: Ditto.
1493 * src/Makefile.in: Ditto.
1495 * include/bits/c++config: Move relevant macros to here.
1496 * include/backward/alloc.h: Include c++config.h instead.
1497 * include/backward/function.h: Ditto.
1498 * include/backward/heap.h: Ditto.
1499 * include/backward/pair.h: Ditto.
1500 * include/bits/pthread_allocimpl.h: Ditto.
1501 * include/bits/std_functional.h: Ditto.
1502 * include/bits/std_iterator.h: Ditto.
1503 * include/bits/std_numeric.h: Ditto.
1504 * include/bits/std_utility.h: Ditto.
1505 * include/bits/stl_algobase.h: Ditto.
1506 * include/bits/type_traits.h: Ditto.
1507 * src/stl-inst.cc: Ditto.
1509 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1511 * include/bits/basic_file.h: Add #pragma system_header
1512 * include/bits/basic_ios.h: Ditto.
1513 * include/bits/basic_string.h: Ditto.
1514 * include/bits/char_traits.h: Ditto.
1515 * include/bits/codecvt.h: Ditto.
1516 * include/bits/cpp_type_traits.h: Ditto.
1517 * include/bits/fpos.h: Ditto.
1518 * include/bits/gslice.h: Ditto.
1519 * include/bits/gslice_array.h: Ditto.
1520 * include/bits/indirect_array.h: Ditto.
1521 * include/bits/ios_base.h: Ditto.
1522 * include/bits/limits_generic.h: Ditto.
1523 * include/bits/locale_facets.h: Ditto.
1524 * include/bits/localefwd.h: Ditto.
1525 * include/bits/mask_array.h: Ditto.
1526 * include/bits/sbuf_iter.h: Ditto.
1527 * include/bits/sequence_concepts.h: Ditto.
1528 * include/bits/slice.h: Ditto.
1529 * include/bits/slice_array.h: Ditto.
1530 * include/bits/std_algorithm.h: Likewise.
1531 * include/bits/std_bitset.h: Likewise.
1532 * include/bits/std_complex.h: Likewise.
1533 * include/bits/std_deque.h: Likewise.
1534 * include/bits/std_fstream.h: Likewise.
1535 * include/bits/std_functional.h: Likewise.
1536 * include/bits/std_iomanip.h: Likewise.
1537 * include/bits/std_ios.h: Likewise.
1538 * include/bits/std_iosfwd.h: Likewise.
1539 * include/bits/std_iostream.h: Likewise.
1540 * include/bits/std_istream.h: Likewise.
1541 * include/bits/std_iterator.h: Likewise.
1542 * include/bits/std_list.h: Likewise.
1543 * include/bits/std_locale.h: Likewise.
1544 * include/bits/std_map.h: Likewise.
1545 * include/bits/std_memory.h: Likewise.
1546 * include/bits/std_numeric.h: Likewise.
1547 * include/bits/std_ostream.h: Likewise.
1548 * include/bits/std_queue.h: Likewise.
1549 * include/bits/std_set.h: Likewise.
1550 * include/bits/std_sstream.h: Likewise.
1551 * include/bits/std_stack.h: Likewise.
1552 * include/bits/std_stdexcept.h: Likewise.
1553 * include/bits/std_streambuf.h: Likewise.
1554 * include/bits/std_string.h: Likewise.
1555 * include/bits/std_utility.h: Likewise.
1556 * include/bits/std_valarray.h: Likewise.
1557 * include/bits/std_vector.h: Likewise.
1558 * include/bits/stringfwd.h: Likewise.
1559 * include/bits/type_traits.h: Likewise.
1560 * include/bits/valarray_array.h: Likewise.
1561 * include/bits/valarray_meta.h: Likewise.
1563 2001-02-19 Andreas Jaeger <aj@suse.de>
1565 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1568 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1571 * include/bits/std_ostream.h: Replaced usage of
1572 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1573 * include/bits/char_traits.h: Removed non-standard
1574 methods that cannot be used elsewhere.
1577 * include/bits/basic_ios.h: Uncommented #include of
1581 * include/bits/codecvt.h: See next...
1582 * include/bits/fstream.tcc: See next...
1583 * include/bits/ostream.tcc: Add __extension__
1584 to variable-length arrays.
1587 * include/bits/localefwd.h: Changed int counter type to size_t.
1590 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1592 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1594 * testsuite/21_strings/char_traits.cc: Move to ...
1595 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1596 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1597 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1599 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1601 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1604 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1606 * include/bits/c++config: Revert.
1608 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1610 * include/bits/istream.tcc: Use ios_base::iostate in place of
1611 iostate throughout. Insert `typename' keyword where necessary.
1612 * include/bits/ostream.tcc: Insert `typename' keyword where
1615 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1617 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1618 Define so library is compliant.
1620 2001-02-15 Anthony Green <green@redhat.com>
1622 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1624 * aclocal.m4: Regenerate.
1625 * configure: Regenerate.
1627 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1629 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1630 Include ieeefp.h for fpclass on UnixWare{2,7}.
1631 * aclocal.m4: Regenerate.
1632 * configure: Regenerate.
1633 * mkcheck.in (size_command): Do without GNU-grep when using
1636 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1638 Remove old ABI support from libsupc++.
1639 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1640 * libsupc++/exception_support.cc: Likewise.
1641 * libsupc++/pure.cc: Likewise.
1642 * libsupc++/tinfo.cc: Likewise.
1643 * libsupc++/tinfo.h: Likewise.
1644 * libsupc++/tinfo2.cc: Likewise.
1645 * libsupc++/typeinfo: Likewise.
1646 * libsupc++/vec.cc: Likewise.
1648 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1650 Add support for -fno-exceptions.
1651 * include/bits/exception_support.h: Remove.
1652 * include/bits/basic_string.h: Remove exception_support.
1653 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1655 (string::substr): Same.
1656 * include/bits/basic_string.tcc (string::reserve): Replace
1657 __LENGTHERROR with __throw_length_error.
1658 (string::_S_create): Same.
1659 (string::resize): Same.
1660 (string::_M_replace): Same.
1661 (string::replace): Same.
1662 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1663 (string::compare): Same.
1664 * include/bits/stl_vector.h: Remove exception_support.
1665 * src/Makefile.am (base_headers): Remove here.
1666 * src/Makefile.in: Regenerate.
1668 * include/bits/stl_range_errors.h: Remove.
1669 * include/bits/stl_deque.h: Use __throw_range_error.
1670 * include/bits/std_deque.h: Include functexcept.h.
1671 * include/bits/std_vector.h: Same.
1672 * src/Makefile.am (base_headers): Remove here.
1673 * src/Makefile.in: Regenerate.
1674 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1675 * include/ext/bvector: Remove stl_range_errors.h
1677 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1679 * include/bits/functexcept.h: New file.
1680 * src/functexcept.cc: New file. Definitions for function-based
1682 * src/Makefile.am (sources): Add functexcept.cc.
1683 * src/Makefile.in: Regenerate.
1685 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1688 * include/bits/localefwd.h: Include functexcept.h.
1689 * include/bits/std_iosfwd.h: Same.
1691 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1692 throw basic_ios::failure.
1693 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1694 Use __throw_exception_again.
1695 (filebuf::_M_filebuf_init): Same.
1696 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1697 * include/bits/ostream.tcc (ostream::operator<<): Same.
1698 * include/bits/istream.tcc (istream::operator>>): Same.
1699 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1700 (string::_S_construct): Same.
1701 (string::_M_clone): Same.
1702 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1704 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1705 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1706 __throw_exception_again.
1707 (locale::_Imp::_Imp(string, size_t): Same.
1708 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1709 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1710 (locale::locale(const char*)): Use __throw_runtime_error.
1711 (locale::classic): Use __throw_exception_again.
1712 (locale::_S_normalize_category): Use __throw_runtime_error.
1714 * src/stdexcept.cc: Remove cruft.
1716 * libsupc++/exception_defines.h: New file.
1717 * libsupc++/new_opnt.cc: Include exception_defines.h.
1718 * libsupc++/vec.cc: Same.
1719 (__cxa_vec_new2): Use __throw_exception_again.
1720 (__cxa_vec_new3): Same.
1721 (__cxa_vec_ctor): Same.
1722 (__cxa_vec_delete3): Same.
1723 (__cxa_vec_cctor): Same.
1724 (__cxa_vec_delete2): Same.
1725 (__cxa_vec_dtor): Same.
1726 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1727 compile exception-handling bits if __EXCEPTIONS is defined.
1728 Remove old ABI support.
1729 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1730 std::__throw_bad_alloc() instead of throw bad_alloc.
1731 * libsupc++/Makefile.am: Add exception_defines.h.
1732 * libsupc++/Makefile.in: Reformat.
1733 * libsupc++/*: Format.
1735 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1737 * docs/html/configopts.html: Minor updates and typo fixes.
1738 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1739 * docs/html/faq/index.txt: Regenerated.
1741 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1743 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1744 dejagnu/dg.exp. Adapt to log options used to run testcases.
1746 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1748 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1751 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1752 Phil Edwards <pme@sources.redhat.com>
1754 * include/backward/function.h: Do not use rel_ops for older
1756 * include/backward/pair.h: Likewise.
1758 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1760 * src/locale.cc: Remove bogus locale::id definitions.
1762 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1764 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1765 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1767 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1768 thinko in member initialisation.
1770 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1772 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1773 comparaison between signed and unsigned integer types.
1774 (valarray<>::cshift): Reformat.
1776 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1778 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1779 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1780 * configure.in: Test for sigsetjmp.
1781 * configure, config.h.in: Rebuilt.
1783 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1785 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1786 lengths and strides.
1787 (__gslice_to_index): Document.
1789 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1791 * include/bits/char_traits.h char_traits<char>::int_type: Change
1792 to `int' to match 21.1.3.1/2.
1794 * testsuite/21_strings/char_traits-int_type.C: New test.
1796 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1798 * testsuite/Makefile.am: New file.
1800 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1802 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1804 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1806 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1808 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1810 * configure.target (aix4*): Remove extra set of brackets.
1812 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1815 * include/bits/stringfwd.h: New file.
1816 * include/bits/stl_string_fwd.h: Remove.
1817 * include/bits/localefwd.h: Remove declaration for allocator.
1818 * include/bits/std_iosfwd: Same.
1819 * include/bits/std_string.h: Include it.
1820 * include/bits/std_ios.h: Remove include.
1821 * include/bits/basic_string.h: Tweak.
1822 * libsupc++/new: Format.
1823 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1825 * src/Makefile.in: Regenerate.
1826 * include/bits/std_stdexcept.h: Rewrite.
1827 * src/stdexcept.cc: Same.
1829 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1831 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1832 install locations too.
1833 * aclocal.m4: Regenerate.
1834 * configure.in: Remove USE_LIBDIR.
1835 * configure: Regenerate.
1836 * src/Makefile.am (toolexecdir): Simplify, use
1837 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1838 * src/Makefile.in: Regenerate.
1839 * libsupc++/Makefile.am: Same.
1840 * libsupc++/Makefile.in: Regenerate.
1842 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1843 misc-inst.cc as no longer necessary.
1845 Follow C++STYLE for naming non-static functions.
1846 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1848 * include/bits/streambuf.tcc: Same.
1849 * include/bits/ostream.tcc: Same.
1850 * include/bits/istream.tcc: Same.
1851 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1852 (_S_output_float): To __output_float.
1853 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1855 * include/bits/locale_facets.tcc (_S_build_float_format): To
1856 __build_float_format.
1857 (_S_format): To __output_integer.
1858 (_S_fill): To __pad.
1859 * src/locale.cc: Same.
1860 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1862 * include/bits/locale_facets.tcc (_S_group_digits): To
1864 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1865 for collate, numpunct.
1867 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1869 * docs/html/configopts.html: Fix HTML markup.
1870 * docs/html/install.html: Bring up to date.
1871 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1872 * docs/html/21_strings/howto.html: More notes.
1873 * docs/html/22_locale/howto.html: Fix HTML markup.
1874 * docs/html/27_io/howto.html: More notes.
1875 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1876 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1878 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1880 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1881 to match header files.
1882 (_S_output_float): Likewise.
1883 (_S_copy_streambufs): Likewise.
1885 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1886 Phil Edwards <pme@sources.redhat.com>
1888 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1889 use reinterpret_cast, not static_cast.
1891 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1893 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1894 * aclocal.m4: Regenerate.
1895 * configure: Regenerate.
1897 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1899 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1900 * libsupc++/pure.cc: Revert.
1902 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1904 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1905 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1906 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1907 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1908 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1909 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1910 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1911 * aclocal.m4: Regenerate.
1912 * configure: Regenerate.
1914 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1916 * include/bits/locale_facets.tcc: Remove `static' keyword on
1917 function definitions.
1918 * include/bits/std_streambuf.h: Likewise.
1919 * src/Makefile.am: Remove use of -fimplicit-templates.
1920 * src/Makefile.in: Regenerated.
1921 * src/locale-inst.cc: Explicitly instantiate more functions.
1922 * src/misc-inst.cc: Likewise.
1923 * src/string-inst.cc: Likewise.
1925 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1927 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1928 macro. Consolidate all the bits to do with where includes might be
1930 * aclocal.m4: Regenerate.
1931 * configure.in: Use it.
1932 * configure: Regenerate.
1933 * src/Makefile.am (targetincludep): Use simplified rules.
1934 (targetincludep): Rename gxx_target_include_dir.
1935 (myincludep): Rename gxx_include_dir.
1936 * src/Makefile.in: Regenerate.
1937 * libsupc++/Makefile.am: Use simplified rules.
1938 * libsupc++/Makefile.in: Regenerate.
1940 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1942 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1943 * include/c_std/bits/std_cctype.h: Same.
1944 * include/c_std/bits/std_cassert.h: Same.
1945 * include/c_std/bits/std_cstdarg.h: Same.
1946 * include/c_std/bits/std_cstddef.h: Same.
1948 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1950 * include/c_std/bits/std_ctime.h: Same.
1951 * include/c_std/bits/std_clocale.h: Same.
1952 * include/c_std/bits/std_cmath.h: Same.
1953 * include/c_std/bits/std_csetjmp.h: Same.
1954 * include/c_std/bits/std_csignal.h: Same.
1955 * include/c_std/bits/std_cstring.h: Same.
1956 * include/c_std/bits/std_cstdlib.h: Same.
1957 * include/c_std/bits/std_cwchar.h: Same.
1959 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1961 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1963 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1965 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1966 (string::_S_construct): Likewise.
1968 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1970 * testsuite/config/default.exp: New file.
1971 * testsuite/config: New directory.
1973 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1975 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1976 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1977 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1978 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1980 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1981 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1983 * Makefile.am (mkinstalldirs): Set.
1984 * src/Makefile.am (mkinstalldirs): Set.
1985 * libmath/Makefile.am (mkinstalldirs): Set.
1986 * libsup++/Makefile.am (mkinstalldirs): Set.
1987 * libio/Makefile.am (mkinstalldirs): Set.
1988 * */Makefile.in: Regenerate.
1990 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1992 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1993 * include/bits/localefwd.h: More initialization cleanups.
1995 2001-02-03 Jeffrey A Law <law@cygnus.com>
1997 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1998 correctly targets with 16bit ints.
1999 (_S_ios_openmode_end): Similarly.
2000 (_S_ios_iostate_end): Similarly.
2001 (_S_ios_Seekdir_end): Similarly.
2003 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2005 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2007 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2009 * configure.in (toplevel_srcdir, auxdir): Set.
2010 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2011 * aclocal.m4, configure, Makefile.in: Rebuilt.
2012 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2013 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2014 * libsupc++-v3/Makefile.in: Rebuilt.
2015 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2016 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2018 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2020 * config/c_locale_generic.cc: Remove langinfo include.
2022 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2024 Preliminary named locales.
2025 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2026 * aclocal.m4: Regenerate.
2027 * configure.in: Use it.
2028 * configure: Regerate.
2029 * src/Makefile.am (sources): Add c++locale.cc.
2030 (build_headers): Add c++locale.h.
2031 * src/Makefile.in: Regenerate.
2032 * config/c_locale_gnu.h: New file.
2033 * config/c_locale_gnu.cc: New file. Non-inline member functions
2034 for named locales, gnu-specific.
2035 * config/c_locale_generic.h: New file.
2036 * config/c_locale_generic.cc: New file. Non-inline member
2037 functions for named locales, generic version.
2038 * docs/html/configopts.html: Add documentation on new options.
2040 * include/bits/locale_facets.h (class _Messages): Remove.
2041 (class _Moneypunct): Remove.
2042 * src/locale-inst.cc: Remove.
2044 * include/bits/locale_facets.h (class _Collate): Remove.
2045 * src/locale-inst.cc (std): Remove.
2046 * src/locale.cc: And here.
2048 * include/bits/localefwd.h (locale::_M_coalesce): New
2049 function. Correctly put together multi-name locales.
2050 (_Impl(const _Impl&, category, size_t)): Remove.
2052 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2054 (_M_normalize_category_names): Remove.
2055 (_M_replace_categories): Fix.
2057 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2058 (locale::_Impl::_M_construct_ctype): Remove.
2059 (locale::_Impl::_M_construct_monetary): Remove.
2060 (locale::_Impl::_M_construct_numeric): Remove.
2061 (locale::_Impl::_M_construct_time): Remove.
2062 (locale::_Impl::_M_construct_messages): Remove.
2064 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2065 (_Use_facet_failure_handle): Remove.
2066 * src/locale.cc: Remove definitions.
2067 * src/locale-inst.cc: And here.
2069 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2071 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2072 create and error-check underlying locale object.
2073 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2074 tearing down underlying locale object.
2075 * include/bits/localefwd.h (locale::facet): Declare.
2076 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2077 correctness, as glibc apparently has incorrect info in it. Test
2078 with it when it works again.....
2080 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2081 Remove. Number of categories is fixed at six, so just simplify and
2082 make this an array of strings.
2083 (locale::_Impl::_M_has_name): Remove.
2084 (locale::_Impl::_M_name): Remove.
2085 (locale::_Impl::_M_category_names): Turns into...
2086 (locale::_Impl::_M_names): ...this.
2087 (locale::_Impl::_M_has_same_name()): New function.
2088 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2089 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2091 * src/locale.cc (locale::name()): Construct mangled name
2092 accurately reflecting combined locale categories.
2094 * src/locale.cc (locale::classic()): Don't initialize here.
2095 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2096 __refs, bool __has_name, string __str): Do it here.
2098 * include/bits/localefwd.h: _S_categories_num to
2099 _S_num_categories. _S_facets_num to _S_num_facets.
2100 (locale::id::id()): Explicitly set _M_index to zero.
2101 * src/locale.cc: Same.
2103 * src/locale.cc: (locale::locale(const char*)): Construct named
2106 * src/locale.cc: Remove numpunct_byname ctors.
2107 * testsuite/22_locale/numpunct_byname.cc: New file.
2108 * testsuite/22_locale/numpunct.cc: New file.
2110 * include/bits/localefwd.h (class locale): Change data members to
2111 protected, from private.
2112 (_Impl::_M_get_c_locale): Add member function.
2113 (locale::facet::_M_get_global_impl()): Add member function.
2114 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2115 a __c_locale pointer.
2116 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2118 * testsuite/22_locale/members.cc: New file, test name and combine.
2120 * include/bits/locale_facets.h (class numpunct): Remove class
2121 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2123 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2124 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2125 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2126 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2127 * testsuite/22_locale/numpunct_char_members.cc: New file.
2129 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2131 * testsuite/README: Add more comment.
2132 * testsuite/lib/libstdc++.exp: Tweak comment.
2134 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2136 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2138 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2140 * testsuite/21_strings/inserters_extractors.cc: Remove
2141 explicit reference to 'testsuite/'.
2143 2001-01-25 Richard Henderson <rth@redhat.com>
2145 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2146 bits. Fixes Tru64 build issues.
2148 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2150 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2151 (use ${MAKE-make}, not ${MAKE:-make}).
2152 * aclocal.m4, configure: Regenerate.
2154 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2156 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2159 * src/Makefile.am (sources): Add globals.cc.
2160 * src/Makefile.in: Regenerated.
2161 * src/globals.cc: New file.
2162 * src/ios.cc (cin): Don't define here, just declare extern.
2171 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2173 * include/bits/std_iterator.h: Do not include stl_relops.h.
2174 * include/bits/std_numeric.h: Ditto.
2175 * include/bits/stl_algobase.h: Ditto.
2176 * include/bits/stl_relops.h: Add comment warning about problems.
2178 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2180 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2181 in testcases. Prepare for the DejaGnu based framework.
2182 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2183 directory -- it is now mkcheck working directory.
2184 * tests_flags.in: Remove reference to $(top_srcdir). Use
2186 * Makefile.am (check, check-install): Change mkcheck invocation
2188 * Makefile.in: Regenerate.
2190 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2192 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2193 (__always_swap): Likewise.
2195 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2197 * libsupc++/exception_support.cc (__terminate_func): Remove
2199 (__terminate_func_ptr): New typedef.
2200 (__terminate, __terminate_set_func): New extern function
2202 (std::terminate): Use __terminate function.
2203 (std::set_terminate): Use __terminate_set_func function.
2205 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2207 * configure.target: Just use os_include_dir always.
2208 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2209 Link atomicity files and ctype files here.
2210 * configure: Regenerate.
2211 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2212 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2213 * aclocal.m4: Regenerate.
2215 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2217 * configure.in: Place definition of MULTISUBDIR in
2218 libsupc++/Makefile as is done for src/Makefile.
2219 * configure: Regenerate.
2221 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2223 * acinclude.m4: Cosmetic changes only.
2224 * aclocal.m4: Regenerated.
2225 * configure: Regenerated.
2226 * configure.target: Update documented list of changed variables.
2227 * docs/html/install.html: Fix typo.
2228 * docs/html/20_util/howto.html: More notes on auto_ptr.
2229 * docs/html/27_io/howto.html: More notes on streabufs.
2230 * docs/html/faq/index.html: Add rel_ops problem and mention the
2231 DEC as(1) .subsection difficulty.
2232 * docs/html/faq/index.txt: Regenerated.
2234 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2236 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2237 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2238 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2239 its already provided in config.target.
2240 * aclocal.m4: Regenerated.
2241 * configure: Likewise.
2242 * configure.target: Set ctype_include_dir for lots of systems.
2243 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2244 * libsupc++/Makefile.in: Regenerated.
2246 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2248 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2251 * testsuite/README: Add comment.
2253 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2255 * docs/html/configopts.html: Update for current status. Fix HTML.
2256 * docs/html/install.html: Update for current status.
2258 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2260 * testsuite/libstdc++.tests/tests.exp: New file.
2261 * testsuite/lib/libstdc++.exp: Itou.
2262 * testsuite/README: Itou.
2264 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2266 * tests_flags.in: Just output the bare minimum to run tests.
2267 Let's the caller do its own arrangement.
2269 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2272 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2274 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2277 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2279 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2281 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2283 * mkcheck.in: Construct file names that match $objdir structure.
2284 * testsuite/27_io/filebuf_members-1.txt: New file.
2285 * testsuite/27_io/ifstream_members-1.txt: New file.
2286 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2288 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2289 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2291 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2293 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2295 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2298 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2299 * src/ios.cc (ios_base::failure): Make definitions match.
2300 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2301 (class bad_cast): Same.
2302 * libsupc++/exception (class exception): Add throw specs.
2303 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2304 (set_unexpected): Same.
2305 (uncaught_exception): Same.
2308 * docs/html/17_intro/C++STYLE (classname): Fix.
2310 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2312 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2313 Use it do explicitly instantiate predicate<T> and value<T> for
2316 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2318 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2319 uninitialized thinko in last change.
2321 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2323 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2326 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2328 * docs/html/17_intro/C++STYLE (classname): Add more existing
2329 and stylish patterns.
2332 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2333 failbit if the state of the stream is not good.
2334 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2335 * testsuite/27_io/istream_manip.cc (test01): Modify.
2338 reported by Paolo Carlini <pcarlini@unitus.it>
2339 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2340 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2343 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2344 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2345 (xsgetn): Same. Simplify.
2346 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2348 reported by Larry Evans <jcampbell3@prodigy.net>
2349 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2350 equality with eof on returned value from overflow.
2352 2001-01-14 Andreas Jaeger <aj@suse.de>
2354 * libio/libio.h: Add test for glibc 2.0.
2356 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2358 * config/os/djgpp/bits/*: Fix dates.
2360 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2361 _CharT* __end, _CharT __c): Remove.
2362 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2363 * include/bits/char_traits.h: Tweak.
2365 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2367 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2368 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2370 * aclocal.m4: regenerated.
2371 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2372 * configure: regenerated.
2373 * config/os/djgpp, config/os/djgpp/bits: new directories.
2374 * config/os/djgpp/bits/ctype_base.h,
2375 config/os/djgpp/bits/ctype_inline.h,
2376 config/os/djgpp/bits/ctype_noninline.h,
2377 config/os/djgpp/bits/os_defines.h: new files.
2379 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2381 * include/c_std/bits/std_cstdio.h: Undef printf.
2383 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2385 * src/ios.cc: Fix typo: change cout->wcout.
2387 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2388 * src/Makefile.in: Regenerate.
2390 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2392 * include/bits/std_complex.h: Fix a typo.
2394 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2397 Fixes for libstdc++/1576
2398 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2399 file, move contents into....
2400 * src/ios.cc: ...Here. Put defines for iostreams objects and
2401 initialization routines into one file to simplify DSO interaction.
2402 * include/bits/std_iostream.h: Touch.
2403 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2404 * src/Makefile.am (sources): Remove stdstreams.cc.
2405 * src/Makefile.in: Regenerate.
2407 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2409 * tests_flags.in (check_directory): Fix typo.
2411 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2413 * include/bits/std_complex.h: Fix a typo.
2415 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2417 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2418 code path:) Remove magic constants and restructure to handle
2419 ctype.h bit mask layout changes more gracefully. (Make fast
2420 code path:) Use __maskrune (), if available.
2421 (is): Remove special case for digit and xdigit masks.
2423 2001-01-09 Robert Lipe <robertlipe@usa.net>
2425 * include/c_std/bits/std_ctime.h: Undefine difftime.
2427 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2429 * src/gen-num-limits.cc (signal_adapter): New template function.
2430 (signal_handler): Use it, instead of signal.
2431 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2432 require both tests to trap to set trap_flag.
2434 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2436 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2437 initialize mbstate_t member, name offset data members *off, not pos.
2438 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2440 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2442 reported by Chris G. Demetriou <cgd@sibyte.com>
2443 * configure.in: Change -linux-* to -linux*.
2444 * configure: Regenerate.
2446 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2448 Fix 27_io/filebuf_members.cc
2449 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2450 const string& __name, category __cat, size_t __refs): Set
2451 _M_has_name with _M_name.
2452 * include/bits/localefwd.h (locale::operator!=): Protect member
2453 function call with this->.
2454 * src/locale.cc (locale::operator==): Make fast checks first.
2455 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2457 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2459 * src/ios.cc (ios_base::Init::Init): Initialize here.
2460 (ios_base::sync_with_stdio): Set here.
2462 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2464 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2465 systems that support it, call dup() before fdopen().
2467 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2469 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2470 * testsuite/17_intro/header_cwctype.cc (main): New file.
2472 * src/Makefile.am (base_headers): Change.
2473 * include/bits/std_string.h: And here.
2474 * include/bits/string.tcc: Tweaks, move to...
2475 * include/bits/basic_string.tcc: ...Here.
2476 * src/string-inst.cc: Simplify, just instantiate the whole class,
2477 not member-by-member.
2479 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2481 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2482 * aclocal.m4: Regenerate.
2483 * configure: Regenerate.
2485 * include/bits/c++config (__GLIBCPP__): Bump version number.
2487 * ChangeLog: Start new log for year 2001
2488 * ChangeLog-2000: New file.
2490 * docs/html/configopts.html: Make sure default values are current,
2493 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2495 * include/c_std/bits/std_cwchar.h: Same.
2496 * testsuite/17_intro/header_cwchar.cc: Same.
2497 * include/c_std/bits/std_ctime.h: Same.
2498 * testsuite/17_intro/header_ctime.cc: Same.
2499 * include/c_std/bits/std_cstdlib.h: Same.
2500 Clean up undefs, make consistent with cwchar and cmath, etc.
2501 * testsuite/17_intro/header_cstdlib.cc: Same.
2502 * include/c_std/bits/std_cstdio.h: Same here.
2503 * testsuite/17_intro/header_cstring.cc: Same.
2504 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2505 * testsuite/17_intro/header_cstring.cc: New file. Check for
2506 size_t in namespace std.
2508 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2509 * acconfig.h (HAVE_MBSTATE_T): Add.
2510 * config.h.in: Regenerate.
2511 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2513 * aclocal.m4: Regenerate.
2514 * configure: Regenerate.
2515 * testsuite/17_intro/headers_c++.cc: New file.
2516 * testsuite/17_intro/headers_c.cc: Small changes.
2518 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2520 * tests_flags.in: Fix typo in usage.
2522 * tests_flags.in: Set target specific LIBS for cygwin.