1 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4 get_multilibs to find gcc.
6 2001-05-30 Phil Edwards <pme@sources.redhat.com>
8 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
9 * aclocal.m4: Regenerate.
10 * configure: Regenerate.
12 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
15 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
17 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
19 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
20 * include/c_std/bits/std_cstdlib.h: Same.
21 * include/c_std/bits/std_cwchar.h: Same.
23 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
25 * docs/html/17_intro/howto.html: Update link.
26 * docs/html/23_containers/howto.html: Likewise. Add new link.
28 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
30 * include/c_std/bits/std_cmath.h (sqrt): #undef.
32 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
34 * mknumeric_limits: Stop if gen-num-limits dies.
36 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
39 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
40 * aclocal.m4: Regenerate.
43 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
44 Phil Edwards <pme@sources.redhat.com>
45 Alexandre Oliva <aoliva@redhat.com>
47 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
48 in an amd-safe manner. Revert glibcpp_prefixdir.
50 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
52 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
53 fabs, sin, sqrt. They are now implemented in terms of __builtin_
56 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
59 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
60 * include/bits/ostream.tcc: Format to match istream.tcc.
61 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
63 2001-05-24 Phil Edwards <pme@sources.redhat.com>
65 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
67 (__cxa_free_exception): Likewise with free.
69 2001-05-24 Mark Mitchell <mark@codesourcery.com>
71 * include/c_std/bin/std_cstring.h: #define away all global
72 functions we will redeclare in namespace `std'.
73 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
74 std::memset, instead of memset.
75 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
77 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
80 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
83 * include/bits/basic_ios.tcc: Small tweak.
84 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
85 ctors and dtors, and rdbuf settings.
88 * include/bits/std_sstream.h: Same, but for stringstream classes.
89 * testsuite/27_io/ostringstream_members.cc: New.
90 * testsuite/27_io/stringstream_members.cc: New.
91 * testsuite/27_io/fstream_members.cc: New.
92 * testsuite/27_io/ifstream_members.cc: Add test.
93 * testsuite/27_io/istringstream_members.cc: Add test.
94 * testsuite/27_io/ofstream_members.cc: Add test.
96 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
98 * include/bits/c++config(__NO_MATH_INLINES): Move to...
99 * config/os/gnu-linux/bits/os_defines.h: ...here.
101 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
103 * include/bits/c++config (__NO_MATH_INLINES): New macro.
104 * testsuite/26_numerics/fabs_inline.cc (main): New test.
106 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
109 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
111 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
112 (libstdc++-v3-finish): Remove.
113 (libstdc++-v3_exit): Remove.
115 2001-05-22 Phil Edwards <pme@sources.redhat.com>
117 * docs/html/documentation.html: Point to doxygen output.
119 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
121 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
123 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
124 arguments to be non-null.
125 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
126 try allocations if allocated size is greater than zero.
127 (filebuf::_M_filebuf_init): Change to
128 (filebuf::_M_allocate_file): Which is what it does now.
129 (filebuf::_M_allocate_bufers): Change to
130 (filebuf::_M_allocate_internal_buffer): This, and create
131 (filebuf::_M_allocate_pback_buffer): New.
132 (filebuf::_M_destroy_internal_buffer): New.
133 (filebuf::_M_buf_allocated): New data member.
134 (filebuf::setbuf): Use new logic, allow use of external buffer.
135 * testsuite/27_io/stringbuf_virtuals.cc: New file.
136 * testsuite/27_io/filebuf_virtuals.cc: New file.
138 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
140 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
142 (strchr): Same, but to __glibcpp_strchr.
146 * include/c_std/bits/std_cwchar.h (wcschr): Same.
152 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
154 * testsuite/21_strings/c_strings.cc (main): Fix.
156 2001-05-19 Phil Edwards <pme@sources.redhat.com>
158 * acinclude.m4: Fix --help spacing, correct comments.
159 * aclocal.m4: Regenerate.
160 * configure: Regenerate.
161 * mkcheck.in: Add usage comments.
162 * docs/html/documentation.html: Point to doxygen'd tarball.
164 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
166 * testsuite/README: Add notes.
168 * src/Makefile.am (libstdc++.INC): Remove.
169 * src/Makefile.in: Regenerate.
171 Phil Edwards <pedwards@disaster.jaj.com>
172 * mkcheck.in: Add missing '#'.
174 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
176 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
177 appropriately for remote testing and testing installed files without
180 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
182 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
183 amd glibcpp_prefixdir with absolute paths.
185 * include/bits/c++config (__GLIBCPP__): Bump.
186 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
188 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
190 * include/bits/std_valarray.h (valarray<>::operator[] const):
191 Return a const reference.
192 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
194 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
196 * configure.target (ATOMICITYH): Actually use AIX-specific code on
197 earlier versions of AIX 4.*.
199 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
201 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
202 output_file based on the name of the testcase.
204 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
206 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
207 gluefile and use it if needs_status_wrapper is set.
209 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
211 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
214 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
216 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
217 on earlier versions of AIX.
219 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
221 * testsuite_flags.in (query): Add backwards, ext directories.
223 2001-05-15 Mark Mitchell <mark@codesourcery.com>
225 * porting.texi: Correct documentation about handling
226 _LARRGEFILE_SOURCE and its ilk.
227 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
228 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
230 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
231 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
233 2001-05-15 Zack Weinberg <zackw@stanford.edu>
235 * testsuite/21_strings/inserters_extractors.cc,
236 testsuite/27_io/istream_unformatted.cc,
237 testsuite/27_io/stringstream.cc:
238 Replace multi-line string constants with C89-style
239 concatenated string constants.
241 2001-05-14 Richard Henderson <rth@redhat.com>
243 * mknumeric_limits: Build with -fno-exceptions.
245 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
247 Switch over to new harness.
248 * testsuite_flags.in: Tweaks via Gaby.
249 * testsuite/Makefile.am: Change tool to libstdc++-v3.
250 (EXPECT): Quote directly.
252 * configure.in: Output testsuite_flags.
253 * acinclude.m4: Substitute src, bld, and prefix dirs.
254 Remove glibcpp_expect, glibcpp_runtestflags.
255 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
256 * mkcheck.in: Port to new interface.
258 * aclocal.m4: Regerate.
259 * configure: Regnerate.
260 * Makefile.in: Regnerate.
261 * */Makefile.in: Regenerate.
263 * tests_flags.in: Remove.
264 * testsuite/lib/libstdc++.exp: Remove.
265 * testsuite/libstdc++.tests/tests.exp: Remove.
267 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
269 * configure.target: Remove detection of AIX pthread multilib, now
270 obtained from `gcc -v'.
272 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
274 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
275 size. Add hpux case for HP size.
277 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
279 * testsuite_flags.in: New, simplified interface.
280 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
281 * testsuite/libstdc++-v3.dg: Add.
282 * testsuite/libstdc++-v3.dg/dg.exp: Add.
284 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
286 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
287 * testsuite/config/default.exp: Update bugs email address.
289 2001-05-11 Richard Henderson <rth@redhat.com>
291 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
292 all pointer encoding logic.
293 (struct lsda_header_info): Add ttype_base.
294 (get_ttype_entry): Use it instead of a context.
295 (check_exception_spec): Likewise.
296 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
297 the c++ exception header for __cxa_call_unexpected.
298 (__cxa_call_unexpected): Use it.
300 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
302 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
303 libgloss_link_flags to find crt0.o for targets that use libgloss
305 Change LDFLAGS to LIBS.
306 Consistently name procedures libstdc++-XXX.
307 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
309 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
311 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
316 * include/c_std/bits/std_cwchar.h (wcschr): Same.
321 * testsuite/21_strings/c_strings.cc: Add tests.
323 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
326 * include/bits/std_fstream.h (basic_filebuf): Change signature.
327 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
328 to int_type, pass in buffer size info.
329 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
330 unbuffered situation.
331 (underflow): Remove codecvt bits for the time being.
332 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
333 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
334 values from iterators, clean.
335 * src/locale.cc: Ditto.
336 * include/bits/sbuf_iter.h: Format.
337 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
338 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
339 * testsuite/27_io/filebuf.cc: Tweaks.
340 * testsuite/27_io/filebuf_members.cc: Tweaks.
342 2001-05-07 Mark Mitchell <mark@codesourcery.com>
344 * config/os/solaris/solaris2.7/bits/os_defines.h
345 (_LARGEFILE_SOURCE): Define it.
347 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
349 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
350 -prefer-non-pic depending on whether libtool has shared libraries
352 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
353 $(LIBSUPCXX_PICFLAGS).
354 * configure, */Makefile.in: Rebuilt.
356 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
358 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
359 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
361 * include/bits/std_sstream.h (stringbuf): Leak
363 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
365 2001-05-01 Tom Browder <tbrowder@home.com>
367 * docs/html/ext/howto.html: Fix typo.
369 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
371 * testsuite/libstdc++.tests/tests.exp: Add comment.
373 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
375 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
377 2001-04-30 Mark Mitchell <mark@codesourcery.com>
379 * porting.texi: Use the GFDL.
381 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
384 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
385 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
388 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
391 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
393 2001-04-28 Phil Edwards <pme@sources.redhat.com>
395 * docs/doxygen/run_doxygen: Minor tweaks.
396 * docs/doxygen/style.css: New file.
397 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
398 latest parameters available. Use style.css.
400 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
402 * docs/doxygen/mainpage.doxy: New.
403 * docs/doxygen/user.cfg.in: Change default configuration. Single
406 2001-04-26 Mark Mitchell <mark@codesourcery.com>
408 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
409 Indicate obsolete nature of thelist for G++ 3.0.
411 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
413 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
414 target_thread_file with `gcc -v'.
415 * aclocal.m4, configure: Rebuilt.
417 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
419 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
420 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
421 * include/c_std/bits/std_cwchar.h (std): Same.
422 * acconfig.h (std): Remove c99 injection into std.
423 * config.h.in: Regenerate.
425 * testsuite/README: Fix typo.
427 * include/bits/codecvt.h: Remove warnings.
429 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
431 * include/ext/slist: Include required header files.
433 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
435 * include/c_std/bits/std_cerrno.h (errno): Define macro from
436 identifier declared with external linkage, if needed.
437 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
438 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
440 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
442 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
443 re-configures find the build compiler.
444 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
446 * aclocal.m4: Regenerate.
447 * configure: Regenerate.
449 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
451 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
452 support is enabled correctly before long long is activated.
453 * aclocal.m4: Regenerate.
454 * configure: Regenerate.
456 * include/backward/backward_warning.h: Format correctly.
458 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
459 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
460 * testsuite/26_numerics/c99_macros.cc: Remove.
462 2001-04-20 Phil Edwards <pme@sources.redhat.com>
464 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
467 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
469 * acconfig.h (_GLIBCPP_USE_C99): Add.
470 * config.h.in: Regenerate.
471 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
473 * aclocal.m4: Regenerate.
474 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
475 * configure: Regenerate.
476 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
477 * configure: Regenerate.
478 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
480 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
482 * include/c_std/bits/std_cstdlib.h: Same.
483 * docs/html/configopts.html: Update.
484 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
486 (test_c99_classify): Add.
487 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
488 (_ISOC99_SOURCE): Remove.
490 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
491 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
492 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
493 * aclocal.m4: Regenerate.
494 * configure: Regenerate.
496 2001-04-19 Phil Edwards <pme@sources.redhat.com>
498 * Makefile.am (doxygen): Assume script is missing execute perms.
499 * Makefile.in: Regenerated.
500 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
502 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
504 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
506 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
508 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
509 * testsuite/23_containers/set_operators.cc: Same.
511 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
513 (__GLIBCPP__): Bump from value of last release.
514 * include/bits/concept_check.h: Default to off, edit comments.
515 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
516 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
517 * src/Makefile.in: Regenerate.
519 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
521 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
522 Properly uglify member.
524 2001-04-13 Phil Edwards <pme@sources.redhat.com>
526 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
530 2001-04-13 Phil Edwards <pme@sources.redhat.com>
532 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
533 * include/bits/concept_check.h: Uglify.
534 * include/bits/stl_algo.h: Likewise.
535 * include/bits/stl_algobase.h: Likewise.
536 * include/bits/stl_deque.h: Likewise.
537 * include/bits/stl_heap.h: Likewise.
538 * include/bits/stl_iterator_base_funcs.h: Likewise.
539 * include/bits/stl_list.h: Likewise.
540 * include/bits/stl_map.h: Likewise.
541 * include/bits/stl_multimap.h: Likewise.
542 * include/bits/stl_multiset.h: Likewise.
543 * include/bits/stl_numeric.h: Likewise.
544 * include/bits/stl_queue.h: Likewise.
545 * include/bits/stl_set.h: Likewise.
546 * include/bits/stl_stack.h: Likewise.
547 * include/bits/stl_vector.h: Likewise.
548 * include/ext/hash_map: Likewise.
549 * include/ext/hash_set: Likewise.
550 * include/ext/slist: Likewise.
552 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
554 * testsuite/23_containers/set_operators.cc: Just try to compile.
556 * testsuite/23_containers/map_operators.cc: Same.
558 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
560 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
562 (dg-test): Revert rth's change.
564 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
566 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
567 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
569 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
571 * testsuite/README: Add DejaGnu specific documentation.
573 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
575 * acinclude.m4: AC_CHECK_TOOL for expect.
576 * aclocal.m4: Regenerate.
577 * configure: Regenerate.
578 * testsuite/Makefile.am (RUNTEST): Use substituted.
581 * configure.in: Remove xcompiling substitution.
582 * tests_flags.in (CROSS_LIB_PATH): Remove.
583 (xcompiling): Remove.
584 (CXX): Use substituted CXX.
586 2001-04-11 Richard Henderson <rth@redhat.com>
588 * testsuite/lib/libstdc++.exp: Specify path for output_file.
590 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
592 * include/bits/std_valarray.h(valarray<>::operator[]): Make
595 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
597 * testsuite/25_algorithms/equal.cc: New test.
599 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
601 * stl_algobase.h (std::equal): avoid use of possibly-undefined
602 operator != (one line patch).
604 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
606 * include/backward/backward_warning.h: Re-enable.
608 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
609 Alexandre Oliva <aoliva@redhat.com>
611 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
613 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
615 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
616 * testsuite/26_numerics/c99_macros.cc: Add test.
618 2001-04-06 Phil Edwards <pme@sources.redhat.com>
620 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
621 * docs/html/faq/index.txt: Regenerated.
623 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
625 * include/backward/backward_warning.h: Temporarily disable until
626 g++ testsuite changes go in.
627 * tests_flags.in (CROSS_LIB_PATH): Add.
629 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
631 Warn when using backward headers.
632 * include/backward/algo.h: Include warning file.
633 * include/backward/vector.h: Same.
634 * include/backward/tree.h: Same.
635 * include/backward/tempbuf.h: Same.
636 * include/backward/strstream: Same.
637 * include/backward/streambuf.h: Same.
638 * include/backward/stream.h: Same.
639 * include/backward/stack.h: Same.
640 * include/backward/slist.h: Same.
641 * include/backward/set.h: Same.
642 * include/backward/rope.h:
643 * include/backward/queue.h: Same.
644 * include/backward/pair.h: Same.
645 * include/backward/ostream.h: Same.
646 * include/backward/new.h: Same.
647 * include/backward/multiset.h: Same.
648 * include/backward/multimap.h: Same.
649 * include/backward/map.h: Same.
650 * include/backward/list.h: Same.
651 * include/backward/iterator.h: Same.
652 * include/backward/istream.h: Same.
653 * include/backward/iostream.h:
654 * include/backward/iomanip.h:
655 * include/backward/heap.h: Same.
656 * include/backward/hashtable.h:
657 * include/backward/hash_set.h:
658 * include/backward/hash_map.h:
659 * include/backward/function.h:
660 * include/backward/fstream.h:
661 * include/backward/deque.h:
662 * include/backward/defalloc.h: Same.
663 * include/backward/complex.h: Same.
664 * include/backward/bvector.h:
665 * include/backward/alloc.h:
666 * include/backward/algobase.h: Same.
668 * include/backward/backward_warning.h: New file.
669 * src/Makefile.am (backward_headers): Add backward_warning.h
670 * src/Makefile.in: Regenerate.
672 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
674 * src/Makefile.am (myinstalldirs): Make sure backward directory is
676 (myinstallheaders): Install backward headers in backward directory.
677 * src/Makefile.in: Regenerate.
679 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
681 Prepare for libstdc++-2.92.
682 * docs/html/17_intro/RELEASE-NOTES (New): Update.
683 * docs/html/configopts.html: Fix formatting.
684 * README (file): Updates.
685 * include/bits/c++config (__GLIBCPP__): Update.
687 2001-04-05 Phil Edwards <pme@sources.redhat.com>
689 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
691 2001-04-04 Phil Edwards <pme@sources.redhat.com>
693 * docs/doxygen/user.cfg.in: Extract all non-private members;
694 reduce confusing documentation output.
696 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
698 * include/backward/fstream.h: Add missing semicolons.
700 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
702 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
703 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
704 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
705 (ios_base::Init::_S_ios_create): New.
706 (ios_base::Init::_S_ios_destroy): New.
707 * include/bits/std_fstream.h: Change ctor args.
708 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
709 (ios_base::Init::~Init): Use _S_ios_destroy.
710 (ios_base::sync_with_stdio): Use new members.
711 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
714 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
716 * include/backward/fstream.h: Expose streampos to global
719 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
721 * include/bits/stl_iterator_base_types.h: Fix typo
723 2001-04-03 Andreas Schwab <schwab@suse.de>
725 * include/backward/fstream.h: Define filebuf and wfilebuf.
727 2001-04-02 Phil Edwards <pme@sources.redhat.com>
729 New concept checking implementation.
730 * docs/html/19_diagnostics/howto.html: Document.
731 * docs/html/17_intro/concept_check.diff: New file, for reference.
732 * include/bits/boost_concept_check.h: New file from Boost.
733 * include/bits/c++config: Update comments.
735 * include/bits/concept_check.h: New file.
736 * include/bits/concept_checks.h: Removed.
737 * include/bits/container_concepts.h: Removed.
738 * include/bits/sequence_concepts.h: Removed.
739 * include/bits/stl_iterator_base.h: Removed; split into...
740 * include/bits/stl_iterator_base_funcs.h: ...this new file...
741 * include/bits/stl_iterator_base_types.h: ...and this new file.
743 * include/bits/sbuf_iter.h: Update to use new implementation.
744 * include/bits/std_iterator.h: Likewise.
745 * include/bits/std_memory.h: Likewise.
746 * include/bits/stl_algo.h: Likewise.
747 * include/bits/stl_algobase.h: Likewise.
748 * include/bits/stl_construct.h: Likewise.
749 * include/bits/stl_deque.h: Likewise.
750 * include/bits/stl_heap.h: Likewise.
751 * include/bits/stl_list.h: Likewise.
752 * include/bits/stl_map.h: Likewise.
753 * include/bits/stl_multimap.h: Likewise.
754 * include/bits/stl_multiset.h: Likewise.
755 * include/bits/stl_numeric.h: Likewise.
756 * include/bits/stl_queue.h: Likewise.
757 * include/bits/stl_set.h: Likewise.
758 * include/bits/stl_stack.h: Likewise.
759 * include/bits/stl_uninitialized.h: Likewise.
760 * include/bits/stl_vector.h: Likewise.
761 * include/ext/hash_map: Likewise.
762 * include/ext/hash_set: Likewise.
763 * include/ext/slist: Likewise.
764 * include/ext/stl_hashtable.h: Likewise.
766 * src/Makefile.am (base_headers): Update list of headers.
767 * Makefile.in: Regenerated.
768 * src/Makefile.in: Regenerated.
769 * libio/Makefile.in: Regenerated.
770 * libmath/Makefile.in: Regenerated.
771 * libsupc++/Makefile.in: Regenerated.
772 * testsuite/Makefile.in: Regenerated.
774 * docs/html/install.html: Update contact information.
775 * docs/html/17_intro/howto.html: Ditto.
776 * docs/html/18_support/howto.html: Ditto.
777 * docs/html/20_util/howto.html: Ditto.
778 * docs/html/21_strings/howto.html: Ditto.
779 * docs/html/22_locale/howto.html: Ditto.
780 * docs/html/23_containers/howto.html: Ditto.
781 * docs/html/24_iterators/howto.html: Ditto.
782 * docs/html/25_algorithms/howto.html: Ditto.
783 * docs/html/26_numerics/howto.html: Ditto.
784 * docs/html/27_io/howto.html: Ditto.
785 * docs/html/faq/index.html: Ditto, plus info on new checking code.
786 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
787 * docs/html/faq/index.txt: Regenerated.
789 2001-04-02 Zack Weinberg <zackw@stanford.edu>
791 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
792 messages with $which_library as well as $tool_flags and
793 ${dg-extra-tool-flags}. Factor out annotation text into
796 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
798 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
799 * include/c_std/bits/std_cwchar.h: Same.
800 * testsuite/21_strings/c_strings.cc: Add.
802 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
804 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
806 2001-04-01 Zack Weinberg <zackw@stanford.edu>
808 * tests_flags.in: Use test a = b, not test a == b which is not
811 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
813 * configure.target: Remove duplicate aix entry.
815 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
817 * include/ext/stl_bvector.h: Move to...
818 * include/bits/stl_vector.h: ...here.
819 * include/ext/bvector: Move to...
820 * include/backward/bvector.h: ...here.
821 * include/bits/std_vector.h: Change stl_bvector include.
822 * include/bits/std_queue.h: Remove bvector include.
823 * include/ext/tree: Insert using rb_tree, move to...
824 * include/backward/tree.h: ...here.
825 * include/backward/hash_map.h: Include ext/hash_map.
826 * include/backward/hash_set.h: Include ext/hash_set.
827 * include/backward/queue.h: New file.
828 * include/backward/stack.h: Edit.
829 * include/backward/algo.h: Same.
830 * include/backward/algobase.h: Same.
831 * include/backward/alloc.h: Same.
832 * include/backward/function.h: Same.
833 * include/backward/iomanip.h: Same.
834 * include/backward/istream.h: Same.
835 * include/backward/iterator.h: Same.
836 * include/backward/list.h: Same.
837 * include/backward/map.h: Same.
838 * include/backward/multimap.h: Same.
839 * include/backward/multiset.h: Same.
840 * include/backward/ostream.h: Same.
841 * include/backward/pair.h: Same
842 * include/backward/rope.h: Same.
843 * include/backward/set.h: Same.
844 * include/backward/stream.h: Same.
845 * include/backward/strstream.h: Same.
846 * include/backward/tempbuf.h: Same.
847 * src/Makefile.am (ext_headers): Edit.
848 * src/Makefile.in: Regenerate.
849 * testsuite/ext/headers.cc (main): Fix.
852 2001-03-30 Phil Edwards <pme@sources.redhat.com>
854 * tests_flags.in (LIBS): Pass correct path for installed testing.
856 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
858 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
859 * tests_flags.in (CXX): Construct here.
860 (static_fail): Don't remove compile.out. Format with spaces.
861 (INCLUDES): Deal with xcompiling.
862 * configure.in (xcompiling): Substitute.
863 * testsuite/Makefile.am: Snake libjava configury.
864 * testsuite/Makefile.in: Regenerate.
865 * testsuite/23_containers/map_operators.cc: Tweaks.
866 * testsuite/23_containers/set_operators.cc: Tweaks.
868 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
870 Enable dejagnu testing framework.
871 * configure.in: Generate testsuite/Makefile.
872 * configure: Regenerate.
873 * Makefile.am (check-install): Change rule from this...
874 (check-script-install): ...to this.
875 (check): Change rule from this...
876 (check-script):...to this.
877 * Makefile.in: Regenerate.
879 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
881 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
883 (LIBTOOL): Let automake take care of its definition.
884 * libsupc++/Makefile.in: Rebuilt.
886 2001-03-28 Richard Henderson <rth@redhat.com>
888 IA-64 ABI Exception Handling:
889 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
890 * configure.in: Use it.
891 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
892 * libsupc++/Makefile.am (sources): Update files list.
893 * libsupc++/Makefile.in: Regenerate.
894 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
895 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
896 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
897 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
898 * libsupc++/exception_support.cc: Remove.
899 * libsupc++/exception_support.h: Remove.
900 * libsupc++/pure.cc: Use std::terminate.
901 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
902 (__is_pointer): Remove.
903 * libsupc++/unwind-cxx.h: New file.
904 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
906 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
908 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
910 * src/Makefile.am (CXXLINK): Likewise.
911 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
913 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
915 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
917 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
919 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
922 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
924 * include/bits/basic_file.h (get_fileno): Remove.
926 (_M_cfile_created): Add.
927 (basic_file::basic_file(__c_file_type*, openmode): Add.
928 (basic_file::basic_file(int, const char*, openmode): Remove.
929 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
930 const char*, ios_base::openmode): Don't allocate
931 internal buffers. Turn off internal buffers.
932 (basic_filebuf::overflow): Remove test for null buffer.
933 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
934 * include/bits/streambuf.cc: Tweak.
935 * include/bits/std_ostream.h: Tweak.
936 * config/basic_file_libio.h: Same.
937 * config/basic_file_stdio.h: Same.
938 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
939 * testsuite/27_io/filebuf_members.cc: Tweaks.
940 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
942 2001-03-24 Phil Edwards <pme@sources.redhat.com>
944 * Makefile.am: New targets, doxygen and doxygen-maint.
945 * Makefile.in: Regenerated.
946 * docs/doxygen/run_doxygen: Finally implemented.
947 * docs/doxygen/maint.cfg.in: New file.
948 * docs/doxygen/user.cfg.in: New file.
950 2001-03-24 Phil Edwards <pme@sources.redhat.com>
952 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
953 * src/Makefile.am: Replace leading spaces with tabs on continuation
955 * aclocal.m4: Regenerated.
957 * Makefile.in: Ditto.
958 * src/Makefile.in: Ditto.
959 * libio/Makefile.in: Ditto.
960 * libmath/Makefile.in: Ditto.
961 * libsupc++/Makefile.in: Ditto.
963 2001-03-24 Phil Edwards <pme@sources.redhat.com>
965 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
966 concept-checking code and current status of same.
967 * docs/html/ext/howto.html: Ditto.
968 * docs/html/faq/index.html: Ditto.
969 * docs/html/faq/index.txt: Regenerated.
971 2001-03-24 Phil Edwards <pme@sources.redhat.com>
973 * include/bits/std_bitset.h: Include ostream and istream headers
976 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
978 * include/bits/ostream.tcc: Use __builtin_alloca.
980 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
982 * src/misc-inst.cc (__sink_unused_warning): Move to...
983 * src/locale-inst.cc (__sink_unused_warning): Move to...
984 * src/stl-inst.cc: Here.
985 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
988 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
990 * intclude/bits/basic_file.h: Fix typos in comments.
992 2001-03-20 Richard Henderson <rth@redhat.com>
994 * src/gen-num-limits.cc: Instantiate for wchar_t.
995 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
997 2001-03-20 Jason Merrill <jason@redhat.com>
999 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1000 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1001 * libsupc++/cxxabi.h: Declare it.
1003 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1005 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1006 signal_func with an unspecified argument list.
1008 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1010 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1012 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1014 * include/bits/basic_string.tcc (operator+): Fix thinko.
1016 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1019 * include/bits/std_streambuf.h: Remove cached locale facets.
1020 (basic_streambuf::_M_buf_fctype): Remove.
1021 (basic_streambuf::~basic_streambuf): Remove here.
1022 (basic_streambuf::basic_streambuf): Same.
1023 (basic_streambuf::imbue): Same.
1024 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1025 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1026 (basic_filebuf::~basic_filebuf()): Remove here.
1027 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1028 (basic_filebuf::imbue): Same.
1029 * include/bits/localefwd.h (_Count_ones): Remove.
1030 (locale::_S_num_categories): Just use 6, since this doesn't
1031 actually change, ever.
1032 * include/bits/locale_facets.tcc (has_facet): Simplify.
1034 * testsuite/27_io/filebuf.cc (test06): Add tests.
1036 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1038 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1039 match HP-UX ctype.h header file.
1041 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1043 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1044 duplicate definitions of __dj_ctype_*
1046 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1048 * libsupc++/new: Remove pragma interface.
1049 * libsupc++/typeinfo: Same.
1050 * libsupc++/exception: Same.
1051 * libsupc++/new_handler.cc: Remove pragma implementation.
1052 (bad_alloc::~bad_alloc()): Add.
1053 * libsupc++/exception_support.cc: Same.
1054 (exception::~exception): Add.
1055 (bad_exception::~bad_exception): Add.
1056 * libsupc++/tinfo.cc: Same.
1057 (bad_cast::~bad_cast): Add.
1058 (bad_typeid::~bad_typeid): Add.
1060 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1062 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1064 2001-03-12 Felix Lee <flee@redhat.com>
1066 * mkcheck.in: workaround for bash 2.01 IFS bug.
1068 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1070 Fixups for -fno-for-scope
1071 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1072 * src/valarray-inst.cc (__gslice_to_index): Same.
1074 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1076 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1077 prior to trapping signal (UnixWare 7 workaround).
1079 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1081 * include/backward/hashtable.h: Same.
1082 * include/backward/rope.h: Fix include.
1084 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1086 * include/backward/vector.h: Include std_vector.h.
1088 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1089 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1092 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1094 * include/ext/stl_hashtable.h: Change type of __n to size_t
1095 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1097 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1099 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1100 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1101 Use streamsize, not int_type.
1103 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1105 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1108 2001-03-08 Andreas Schwab <schwab@suse.de>
1110 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1112 * aclocal.m4, configure: Regenerated.
1114 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1116 * include/bits/std_iosfwd.h: Remove string forward decls here.
1117 * include/bits/stringfwd.h: Add forward decls for char_traits
1119 * config/c_io_libio.h (wstreamoff): Delete.
1120 * config/c_io_stdio.h (wstreamoff): Same.
1121 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1122 char_traits<wchar_t>::off_type.
1123 Remove duplicate typedefs.
1124 * include/bits/fpos.h: Define streampos/wstreampos here.
1125 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1128 Changeup output files.
1129 * testsuite/27_io/istream_unformatted.cc: Change output files.
1130 * testsuite/27_io/istream_seeks-1.txt: Add.
1131 * testsuite/27_io/istream_seeks-2.tst: Add.
1132 * testsuite/27_io/istream_seeks-1.tst: Add.
1133 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1134 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1135 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1137 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1139 Add Irix 5.2, 6.3 support.
1140 * config/os/irix/bits: Renamed to...
1141 * config/os/irix/irix6.5/bits: this.
1142 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1143 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1144 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1145 * config/os/irix/irix5.2/bits/ctype_noninline.h
1146 (ctype<char>::ctype): Initialize _M_table with __ctype.
1147 * configure.target: Adjust.
1149 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1152 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1153 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1155 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1156 (*__pf)(__ios_type&)): Same.
1157 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1158 (*__pf)(ios_base&))): Same.
1159 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1160 * testsuite/27_io/istream_manip.cc (test01): Fix.
1162 2001-03-06 Nathan Myers <ncm@cantrip.org>
1163 Benjamin Kosnik <bkoz@redhat.com>
1165 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1166 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1167 * testsuite/17_intro/header_cassert.cc (test01): New file.
1168 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1169 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1170 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1172 2001-03-05 scott snyder <snyder@fnal.gov>
1175 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1177 * include/c_std/bits/std_cstdlib.h: ... to here.
1178 * testsuite/17_intro/header_cstdlib.cc: Add test.
1180 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1182 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1184 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1186 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1187 definition. Replace enum with static const variables.
1189 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1190 throw specification, fix typos, use <static_cast>.
1191 (ctype<char>::scan_is): remove throw specification.
1192 (ctype<char>::scan_not): likewise.
1194 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1195 (ctype<char>::do_toupper(char)): use <static_cast>.
1196 (ctype<char>::do_toupper(char *, const char *)): likewise.
1197 (ctype<char>::do_tolower(char)): likewise.
1198 (ctype<char>::do_tolower(char *, const char *)): likewise.
1200 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1202 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1203 * include/backward/algo.h: Use std not __STD. Remove unneeded
1204 macros and "never happens" code. Adjust to C++STYLE guidelines.
1205 * include/backward/algobase.h: Likewise.
1206 * include/backward/alloc.h: Likewise.
1207 * include/backward/bvector.h: Likewise.
1208 * include/backward/deque.h: Likewise.
1209 * include/backward/function.h: Likewise.
1210 * include/backward/hash_map.h: Likewise.
1211 * include/backward/hash_set.h: Likewise.
1212 * include/backward/hashtable.h: Likewise.
1213 * include/backward/heap.h: Likewise.
1214 * include/backward/iterator.h: Likewise.
1215 * include/backward/list.h: Likewise.
1216 * include/backward/map.h: Likewise.
1217 * include/backward/multimap.h: Likewise.
1218 * include/backward/multiset.h: Likewise.
1219 * include/backward/pair.h: Likewise.
1220 * include/backward/rope.h: Likewise.
1221 * include/backward/set.h: Likewise.
1222 * include/backward/slist.h: Likewise.
1223 * include/backward/stack.h: Likewise.
1224 * include/backward/strstream: Likewise.
1225 * include/backward/tempbuf.h: Likewise.
1226 * include/backward/tree.h: Likewise.
1227 * include/backward/vector.h: Likewise.
1228 * include/bits/basic_ios.h: Likewise.
1229 * include/bits/basic_ios.tcc: Likewise.
1230 * include/bits/basic_string.h: Likewise.
1231 * include/bits/c++config: Likewise.
1232 * include/bits/concept_checks.h: Likewise.
1233 * include/bits/fpos.h: Likewise.
1234 * include/bits/fstream.tcc: Likewise.
1235 * include/bits/functexcept.h: Likewise.
1236 * include/bits/ios_base.h: Likewise.
1237 * include/bits/istream.tcc: Likewise.
1238 * include/bits/mask_array.h: Likewise.
1239 * include/bits/ostream.tcc: Likewise.
1240 * include/bits/pthread_allocimpl.h: Likewise.
1241 * include/bits/sbuf_iter.h: Likewise.
1242 * include/bits/slice.h: Likewise.
1243 * include/bits/slice_array.h: Likewise.
1244 * include/bits/sstream.tcc: Likewise.
1245 * include/bits/std_bitset.h: Likewise.
1246 * include/bits/std_fstream.h: Likewise.
1247 * include/bits/std_iomanip.h: Likewise.
1248 * include/bits/std_ios.h: Likewise.
1249 * include/bits/std_istream.h: Likewise.
1250 * include/bits/std_iterator.h: Likewise.
1251 * include/bits/std_memory.h: Likewise.
1252 * include/bits/std_ostream.h: Likewise.
1253 * include/bits/std_sstream.h: Likewise.
1254 * include/bits/std_streambuf.h: Likewise.
1255 * include/bits/std_string.h: Likewise.
1256 * include/bits/std_valarray.h: Likewise.
1257 * include/bits/stl_algo.h: Likewise.
1258 * include/bits/stl_algobase.h: Likewise.
1259 * include/bits/stl_alloc.h: Likewise.
1260 * include/bits/stl_construct.h: Likewise.
1261 * include/bits/stl_deque.h: Likewise.
1262 * include/bits/stl_function.h: Likewise.
1263 * include/bits/stl_heap.h: Likewise.
1264 * include/bits/stl_iterator.h: Likewise.
1265 * include/bits/stl_iterator_base.h: Likewise.
1266 * include/bits/stl_list.h: Likewise.
1267 * include/bits/stl_map.h: Likewise.
1268 * include/bits/stl_multimap.h: Likewise.
1269 * include/bits/stl_multiset.h: Likewise.
1270 * include/bits/stl_numeric.h: Likewise.
1271 * include/bits/stl_pair.h: Likewise.
1272 * include/bits/stl_pthread_alloc.h: Likewise.
1273 * include/bits/stl_queue.h: Likewise.
1274 * include/bits/stl_raw_storage_iter.h: Likewise.
1275 * include/bits/stl_relops.h: Likewise.
1276 * include/bits/stl_set.h: Likewise.
1277 * include/bits/stl_stack.h: Likewise.
1278 * include/bits/stl_tempbuf.h: Likewise.
1279 * include/bits/stl_threads.h: Likewise.
1280 * include/bits/stl_tree.h: Likewise.
1281 * include/bits/stl_uninitialized.h: Likewise.
1282 * include/bits/stl_vector.h: Likewise.
1283 * include/bits/streambuf.tcc: Likewise.
1284 * include/bits/type_traits.h: Likewise.
1285 * include/bits/valarray_meta.h: Likewise.
1286 * include/ext/bvector: Likewise.
1287 * include/ext/hash_map: Likewise.
1288 * include/ext/hash_set: Likewise.
1289 * include/ext/ropeimpl.h: Likewise.
1290 * include/ext/slist: Likewise.
1291 * include/ext/stl_bvector.h: Likewise.
1292 * include/ext/stl_hash_fun.h: Likewise.
1293 * include/ext/stl_hashtable.h: Likewise.
1294 * include/ext/stl_rope.h: Likewise.
1295 * src/complex_io.cc: Likewise.
1296 * src/ios.cc: Likewise.
1297 * src/locale-inst.cc: Likewise.
1298 * src/locale.cc: Likewise.
1299 * src/localename.cc: Likewise.
1300 * src/misc-inst.cc: Likewise.
1301 * src/stdexcept.cc: Likewise.
1302 * src/stl-inst.cc: Likewise.
1303 * src/strstream.cc: Likewise.
1304 * src/valarray-inst.cc: Likewise.
1306 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1308 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1310 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1312 * include/bits/istream.tcc: change type of __extracted to __size_type
1314 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1316 * src/wstring-inst.cc: New file.
1317 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1318 (libinst_wstring_la_SOURCES): Remove.
1319 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1320 (sources): Add wstring-inst.cc
1321 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1324 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1326 * src/locale.cc: initialise __ret with zero
1327 * src/strstream.cc:cast gptr to int_type
1329 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1331 * docs/html/faq/index.html: Update broken links.
1332 * docs/html/faq/index.txt: Regenerated.
1334 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1337 * configure.target: Change irix* to irix6.5* in target_os table.
1339 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1342 * include/bits/c++config (__GLIBCPP__): Bump number in
1343 anticipation of 2.92.
1345 * include/bits/codecvt.h: Fix typo.
1346 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1348 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1349 instantiations for stdio model.
1351 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1353 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1354 and GLIBCPP_CXXFLAGS as unused variables.
1355 * configure.host: Likewise.
1356 * configure.target: Likewise.
1357 * aclocal.m4: Regenerated.
1358 * configure: Regenerated.
1359 * Makefile.in: Regenerated.
1360 * libio/Makefile.in: Regenerated.
1361 * libmath/Makefile.in: Regenerated.
1362 * libsupc++/Makefile.in: Regenerated.
1363 * src/Makefile.in: Regenerated.
1365 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1368 * include/bits/basic_file.h: Include basic_file_model.h.
1369 * config/c_io_libio.cc: Move to...
1370 * config/basic_file_libio.cc: Here.
1371 * config/basic_file_libio.h: New file.
1372 * config/c_io_stdio.cc: Move to...
1373 * config/basic_file_stdio.cc: Here.
1374 * config/basic_file_stdio.h: New file.
1375 * config/c_io_libio.h: Tweak.
1376 * config/c_io_stdio.h: Tweak.
1377 * src/Makefile.am (build_headers): Add basic_file_model.h.
1378 (sources): Add basic_file.cc, remove c++io.cc.
1379 * src/Makefile.in: Regenerate.
1380 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1381 basic_file_model.h and basic_file.cc.
1382 * aclocal.m4: Regenerate.
1383 * configure: Regenerate.
1384 * testsuite/27_io/filebuf.cc (test05): Add regression.
1386 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1389 * config/cpu/alpha/bits/atomicity.h: Change.
1390 * config/cpu/arm/bits/atomicit3y.h
1391 * config/cpu/generic/bits/atomicity.h
1392 * config/cpu/i386/bits/atomicity.h
1393 * config/cpu/i486/bits/atomicity.h
1394 * config/cpu/ia64/bits/atomicity.h
1395 * config/cpu/powerpc/bits/atomicity.h
1396 * config/cpu/sparc/sparc32/bits/atomicity.h
1397 * config/cpu/sparc/sparc64/bits/atomicity.h
1398 * config/os/aix/bits/atomicity.h
1399 * config/os/irix/bits/atomicity.h
1401 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1403 * include/bits/std_stdexcept.h (runtime_error): Make string
1405 (logic_error): Same.
1406 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1409 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1413 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1414 string object, not reference.
1415 (runtime_error::runtime_error): Same.
1416 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1418 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1420 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1421 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1422 diagnostics. Remove WFMT_FLAGS.
1423 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1424 * libsupc++/Makefile.am: Likewise.
1425 * src/Makefile.am: Likewise.
1426 * aclocal.m4: Regenerated.
1427 * configure: Regenerated.
1428 * Makefile.in: Regenerated.
1429 * libio/Makefile.in: Regenerated.
1430 * libmath/Makefile.in: Regenerated.
1431 * libsupc++/Makefile.in: Regenerated.
1432 * src/Makefile.in: Regenerated.
1434 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1436 Fixes libstdc++/2079
1437 * include/backward/iomanip.h: Expose <ios> manipulators to global
1439 * include/backward/iostream.h: Also expose std::ws.
1441 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1443 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1445 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1447 * include/bits/codecvt.h: Use __builtin_alloca.
1448 * include/bits/ostream.tcc: Same.
1449 * include/bits/fstream.tcc: Same.
1451 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1453 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1455 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1457 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1459 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1462 * include/backward/iostream.h: Expose std::flush in old headers.
1464 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1466 * mknumeric_limits: Remove special-casing on target. Use gcc
1467 instead of g++ to build gen-num-limits.cc
1469 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1471 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1473 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1475 * include/bits/ostream.tcc: Same.
1476 * include/bits/std_ostream.h: Same.
1477 * include/bits/fstream.tcc: Same.
1478 * include/bits/locale_facets.tcc: Add typename.
1479 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1481 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1483 * tests_flags.in: Remove -n flag from call to echo.
1485 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1487 * config/c_locale_gnu.h: Add clocale include.
1489 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1491 * include/bits/stl_config.h: Remove file.
1492 * src/Makefile.am (base_headers): Remove from list.
1493 * configure: Regenerate.
1494 * Makefile.in: Ditto.
1495 * libio/Makefile.in: Ditto.
1496 * libmath/Makefile.in: Ditto.
1497 * libsupc++/Makefile.in: Ditto.
1498 * src/Makefile.in: Ditto.
1500 * include/bits/c++config: Move relevant macros to here.
1501 * include/backward/alloc.h: Include c++config.h instead.
1502 * include/backward/function.h: Ditto.
1503 * include/backward/heap.h: Ditto.
1504 * include/backward/pair.h: Ditto.
1505 * include/bits/pthread_allocimpl.h: Ditto.
1506 * include/bits/std_functional.h: Ditto.
1507 * include/bits/std_iterator.h: Ditto.
1508 * include/bits/std_numeric.h: Ditto.
1509 * include/bits/std_utility.h: Ditto.
1510 * include/bits/stl_algobase.h: Ditto.
1511 * include/bits/type_traits.h: Ditto.
1512 * src/stl-inst.cc: Ditto.
1514 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1516 * include/bits/basic_file.h: Add #pragma system_header
1517 * include/bits/basic_ios.h: Ditto.
1518 * include/bits/basic_string.h: Ditto.
1519 * include/bits/char_traits.h: Ditto.
1520 * include/bits/codecvt.h: Ditto.
1521 * include/bits/cpp_type_traits.h: Ditto.
1522 * include/bits/fpos.h: Ditto.
1523 * include/bits/gslice.h: Ditto.
1524 * include/bits/gslice_array.h: Ditto.
1525 * include/bits/indirect_array.h: Ditto.
1526 * include/bits/ios_base.h: Ditto.
1527 * include/bits/limits_generic.h: Ditto.
1528 * include/bits/locale_facets.h: Ditto.
1529 * include/bits/localefwd.h: Ditto.
1530 * include/bits/mask_array.h: Ditto.
1531 * include/bits/sbuf_iter.h: Ditto.
1532 * include/bits/sequence_concepts.h: Ditto.
1533 * include/bits/slice.h: Ditto.
1534 * include/bits/slice_array.h: Ditto.
1535 * include/bits/std_algorithm.h: Likewise.
1536 * include/bits/std_bitset.h: Likewise.
1537 * include/bits/std_complex.h: Likewise.
1538 * include/bits/std_deque.h: Likewise.
1539 * include/bits/std_fstream.h: Likewise.
1540 * include/bits/std_functional.h: Likewise.
1541 * include/bits/std_iomanip.h: Likewise.
1542 * include/bits/std_ios.h: Likewise.
1543 * include/bits/std_iosfwd.h: Likewise.
1544 * include/bits/std_iostream.h: Likewise.
1545 * include/bits/std_istream.h: Likewise.
1546 * include/bits/std_iterator.h: Likewise.
1547 * include/bits/std_list.h: Likewise.
1548 * include/bits/std_locale.h: Likewise.
1549 * include/bits/std_map.h: Likewise.
1550 * include/bits/std_memory.h: Likewise.
1551 * include/bits/std_numeric.h: Likewise.
1552 * include/bits/std_ostream.h: Likewise.
1553 * include/bits/std_queue.h: Likewise.
1554 * include/bits/std_set.h: Likewise.
1555 * include/bits/std_sstream.h: Likewise.
1556 * include/bits/std_stack.h: Likewise.
1557 * include/bits/std_stdexcept.h: Likewise.
1558 * include/bits/std_streambuf.h: Likewise.
1559 * include/bits/std_string.h: Likewise.
1560 * include/bits/std_utility.h: Likewise.
1561 * include/bits/std_valarray.h: Likewise.
1562 * include/bits/std_vector.h: Likewise.
1563 * include/bits/stringfwd.h: Likewise.
1564 * include/bits/type_traits.h: Likewise.
1565 * include/bits/valarray_array.h: Likewise.
1566 * include/bits/valarray_meta.h: Likewise.
1568 2001-02-19 Andreas Jaeger <aj@suse.de>
1570 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1573 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1576 * include/bits/std_ostream.h: Replaced usage of
1577 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1578 * include/bits/char_traits.h: Removed non-standard
1579 methods that cannot be used elsewhere.
1582 * include/bits/basic_ios.h: Uncommented #include of
1586 * include/bits/codecvt.h: See next...
1587 * include/bits/fstream.tcc: See next...
1588 * include/bits/ostream.tcc: Add __extension__
1589 to variable-length arrays.
1592 * include/bits/localefwd.h: Changed int counter type to size_t.
1595 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1597 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1599 * testsuite/21_strings/char_traits.cc: Move to ...
1600 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1601 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1602 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1604 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1606 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1609 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1611 * include/bits/c++config: Revert.
1613 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1615 * include/bits/istream.tcc: Use ios_base::iostate in place of
1616 iostate throughout. Insert `typename' keyword where necessary.
1617 * include/bits/ostream.tcc: Insert `typename' keyword where
1620 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1622 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1623 Define so library is compliant.
1625 2001-02-15 Anthony Green <green@redhat.com>
1627 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1629 * aclocal.m4: Regenerate.
1630 * configure: Regenerate.
1632 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1634 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1635 Include ieeefp.h for fpclass on UnixWare{2,7}.
1636 * aclocal.m4: Regenerate.
1637 * configure: Regenerate.
1638 * mkcheck.in (size_command): Do without GNU-grep when using
1641 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1643 Remove old ABI support from libsupc++.
1644 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1645 * libsupc++/exception_support.cc: Likewise.
1646 * libsupc++/pure.cc: Likewise.
1647 * libsupc++/tinfo.cc: Likewise.
1648 * libsupc++/tinfo.h: Likewise.
1649 * libsupc++/tinfo2.cc: Likewise.
1650 * libsupc++/typeinfo: Likewise.
1651 * libsupc++/vec.cc: Likewise.
1653 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1655 Add support for -fno-exceptions.
1656 * include/bits/exception_support.h: Remove.
1657 * include/bits/basic_string.h: Remove exception_support.
1658 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1660 (string::substr): Same.
1661 * include/bits/basic_string.tcc (string::reserve): Replace
1662 __LENGTHERROR with __throw_length_error.
1663 (string::_S_create): Same.
1664 (string::resize): Same.
1665 (string::_M_replace): Same.
1666 (string::replace): Same.
1667 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1668 (string::compare): Same.
1669 * include/bits/stl_vector.h: Remove exception_support.
1670 * src/Makefile.am (base_headers): Remove here.
1671 * src/Makefile.in: Regenerate.
1673 * include/bits/stl_range_errors.h: Remove.
1674 * include/bits/stl_deque.h: Use __throw_range_error.
1675 * include/bits/std_deque.h: Include functexcept.h.
1676 * include/bits/std_vector.h: Same.
1677 * src/Makefile.am (base_headers): Remove here.
1678 * src/Makefile.in: Regenerate.
1679 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1680 * include/ext/bvector: Remove stl_range_errors.h
1682 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1684 * include/bits/functexcept.h: New file.
1685 * src/functexcept.cc: New file. Definitions for function-based
1687 * src/Makefile.am (sources): Add functexcept.cc.
1688 * src/Makefile.in: Regenerate.
1690 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1693 * include/bits/localefwd.h: Include functexcept.h.
1694 * include/bits/std_iosfwd.h: Same.
1696 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1697 throw basic_ios::failure.
1698 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1699 Use __throw_exception_again.
1700 (filebuf::_M_filebuf_init): Same.
1701 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1702 * include/bits/ostream.tcc (ostream::operator<<): Same.
1703 * include/bits/istream.tcc (istream::operator>>): Same.
1704 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1705 (string::_S_construct): Same.
1706 (string::_M_clone): Same.
1707 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1709 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1710 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1711 __throw_exception_again.
1712 (locale::_Imp::_Imp(string, size_t): Same.
1713 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1714 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1715 (locale::locale(const char*)): Use __throw_runtime_error.
1716 (locale::classic): Use __throw_exception_again.
1717 (locale::_S_normalize_category): Use __throw_runtime_error.
1719 * src/stdexcept.cc: Remove cruft.
1721 * libsupc++/exception_defines.h: New file.
1722 * libsupc++/new_opnt.cc: Include exception_defines.h.
1723 * libsupc++/vec.cc: Same.
1724 (__cxa_vec_new2): Use __throw_exception_again.
1725 (__cxa_vec_new3): Same.
1726 (__cxa_vec_ctor): Same.
1727 (__cxa_vec_delete3): Same.
1728 (__cxa_vec_cctor): Same.
1729 (__cxa_vec_delete2): Same.
1730 (__cxa_vec_dtor): Same.
1731 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1732 compile exception-handling bits if __EXCEPTIONS is defined.
1733 Remove old ABI support.
1734 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1735 std::__throw_bad_alloc() instead of throw bad_alloc.
1736 * libsupc++/Makefile.am: Add exception_defines.h.
1737 * libsupc++/Makefile.in: Reformat.
1738 * libsupc++/*: Format.
1740 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1742 * docs/html/configopts.html: Minor updates and typo fixes.
1743 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1744 * docs/html/faq/index.txt: Regenerated.
1746 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1748 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1749 dejagnu/dg.exp. Adapt to log options used to run testcases.
1751 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1753 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1756 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1757 Phil Edwards <pme@sources.redhat.com>
1759 * include/backward/function.h: Do not use rel_ops for older
1761 * include/backward/pair.h: Likewise.
1763 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1765 * src/locale.cc: Remove bogus locale::id definitions.
1767 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1769 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1770 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1772 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1773 thinko in member initialisation.
1775 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1777 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1778 comparaison between signed and unsigned integer types.
1779 (valarray<>::cshift): Reformat.
1781 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1783 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1784 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1785 * configure.in: Test for sigsetjmp.
1786 * configure, config.h.in: Rebuilt.
1788 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1790 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1791 lengths and strides.
1792 (__gslice_to_index): Document.
1794 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1796 * include/bits/char_traits.h char_traits<char>::int_type: Change
1797 to `int' to match 21.1.3.1/2.
1799 * testsuite/21_strings/char_traits-int_type.C: New test.
1801 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1803 * testsuite/Makefile.am: New file.
1805 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1807 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1809 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1811 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1813 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1815 * configure.target (aix4*): Remove extra set of brackets.
1817 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1820 * include/bits/stringfwd.h: New file.
1821 * include/bits/stl_string_fwd.h: Remove.
1822 * include/bits/localefwd.h: Remove declaration for allocator.
1823 * include/bits/std_iosfwd: Same.
1824 * include/bits/std_string.h: Include it.
1825 * include/bits/std_ios.h: Remove include.
1826 * include/bits/basic_string.h: Tweak.
1827 * libsupc++/new: Format.
1828 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1830 * src/Makefile.in: Regenerate.
1831 * include/bits/std_stdexcept.h: Rewrite.
1832 * src/stdexcept.cc: Same.
1834 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1836 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1837 install locations too.
1838 * aclocal.m4: Regenerate.
1839 * configure.in: Remove USE_LIBDIR.
1840 * configure: Regenerate.
1841 * src/Makefile.am (toolexecdir): Simplify, use
1842 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1843 * src/Makefile.in: Regenerate.
1844 * libsupc++/Makefile.am: Same.
1845 * libsupc++/Makefile.in: Regenerate.
1847 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1848 misc-inst.cc as no longer necessary.
1850 Follow C++STYLE for naming non-static functions.
1851 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1853 * include/bits/streambuf.tcc: Same.
1854 * include/bits/ostream.tcc: Same.
1855 * include/bits/istream.tcc: Same.
1856 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1857 (_S_output_float): To __output_float.
1858 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1860 * include/bits/locale_facets.tcc (_S_build_float_format): To
1861 __build_float_format.
1862 (_S_format): To __output_integer.
1863 (_S_fill): To __pad.
1864 * src/locale.cc: Same.
1865 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1867 * include/bits/locale_facets.tcc (_S_group_digits): To
1869 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1870 for collate, numpunct.
1872 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1874 * docs/html/configopts.html: Fix HTML markup.
1875 * docs/html/install.html: Bring up to date.
1876 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1877 * docs/html/21_strings/howto.html: More notes.
1878 * docs/html/22_locale/howto.html: Fix HTML markup.
1879 * docs/html/27_io/howto.html: More notes.
1880 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1881 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1883 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1885 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1886 to match header files.
1887 (_S_output_float): Likewise.
1888 (_S_copy_streambufs): Likewise.
1890 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1891 Phil Edwards <pme@sources.redhat.com>
1893 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1894 use reinterpret_cast, not static_cast.
1896 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1898 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1899 * aclocal.m4: Regenerate.
1900 * configure: Regenerate.
1902 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1904 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1905 * libsupc++/pure.cc: Revert.
1907 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1909 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1910 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1911 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1912 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1913 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1914 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1915 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1916 * aclocal.m4: Regenerate.
1917 * configure: Regenerate.
1919 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1921 * include/bits/locale_facets.tcc: Remove `static' keyword on
1922 function definitions.
1923 * include/bits/std_streambuf.h: Likewise.
1924 * src/Makefile.am: Remove use of -fimplicit-templates.
1925 * src/Makefile.in: Regenerated.
1926 * src/locale-inst.cc: Explicitly instantiate more functions.
1927 * src/misc-inst.cc: Likewise.
1928 * src/string-inst.cc: Likewise.
1930 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1932 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1933 macro. Consolidate all the bits to do with where includes might be
1935 * aclocal.m4: Regenerate.
1936 * configure.in: Use it.
1937 * configure: Regenerate.
1938 * src/Makefile.am (targetincludep): Use simplified rules.
1939 (targetincludep): Rename gxx_target_include_dir.
1940 (myincludep): Rename gxx_include_dir.
1941 * src/Makefile.in: Regenerate.
1942 * libsupc++/Makefile.am: Use simplified rules.
1943 * libsupc++/Makefile.in: Regenerate.
1945 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1947 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1948 * include/c_std/bits/std_cctype.h: Same.
1949 * include/c_std/bits/std_cassert.h: Same.
1950 * include/c_std/bits/std_cstdarg.h: Same.
1951 * include/c_std/bits/std_cstddef.h: Same.
1953 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1955 * include/c_std/bits/std_ctime.h: Same.
1956 * include/c_std/bits/std_clocale.h: Same.
1957 * include/c_std/bits/std_cmath.h: Same.
1958 * include/c_std/bits/std_csetjmp.h: Same.
1959 * include/c_std/bits/std_csignal.h: Same.
1960 * include/c_std/bits/std_cstring.h: Same.
1961 * include/c_std/bits/std_cstdlib.h: Same.
1962 * include/c_std/bits/std_cwchar.h: Same.
1964 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1966 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1968 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1970 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1971 (string::_S_construct): Likewise.
1973 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1975 * testsuite/config/default.exp: New file.
1976 * testsuite/config: New directory.
1978 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1980 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1981 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1982 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1983 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1985 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1986 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1988 * Makefile.am (mkinstalldirs): Set.
1989 * src/Makefile.am (mkinstalldirs): Set.
1990 * libmath/Makefile.am (mkinstalldirs): Set.
1991 * libsup++/Makefile.am (mkinstalldirs): Set.
1992 * libio/Makefile.am (mkinstalldirs): Set.
1993 * */Makefile.in: Regenerate.
1995 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1997 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1998 * include/bits/localefwd.h: More initialization cleanups.
2000 2001-02-03 Jeffrey A Law <law@cygnus.com>
2002 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2003 correctly targets with 16bit ints.
2004 (_S_ios_openmode_end): Similarly.
2005 (_S_ios_iostate_end): Similarly.
2006 (_S_ios_Seekdir_end): Similarly.
2008 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2010 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2012 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2014 * configure.in (toplevel_srcdir, auxdir): Set.
2015 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2016 * aclocal.m4, configure, Makefile.in: Rebuilt.
2017 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2018 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2019 * libsupc++-v3/Makefile.in: Rebuilt.
2020 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2021 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2023 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2025 * config/c_locale_generic.cc: Remove langinfo include.
2027 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2029 Preliminary named locales.
2030 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2031 * aclocal.m4: Regenerate.
2032 * configure.in: Use it.
2033 * configure: Regerate.
2034 * src/Makefile.am (sources): Add c++locale.cc.
2035 (build_headers): Add c++locale.h.
2036 * src/Makefile.in: Regenerate.
2037 * config/c_locale_gnu.h: New file.
2038 * config/c_locale_gnu.cc: New file. Non-inline member functions
2039 for named locales, gnu-specific.
2040 * config/c_locale_generic.h: New file.
2041 * config/c_locale_generic.cc: New file. Non-inline member
2042 functions for named locales, generic version.
2043 * docs/html/configopts.html: Add documentation on new options.
2045 * include/bits/locale_facets.h (class _Messages): Remove.
2046 (class _Moneypunct): Remove.
2047 * src/locale-inst.cc: Remove.
2049 * include/bits/locale_facets.h (class _Collate): Remove.
2050 * src/locale-inst.cc (std): Remove.
2051 * src/locale.cc: And here.
2053 * include/bits/localefwd.h (locale::_M_coalesce): New
2054 function. Correctly put together multi-name locales.
2055 (_Impl(const _Impl&, category, size_t)): Remove.
2057 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2059 (_M_normalize_category_names): Remove.
2060 (_M_replace_categories): Fix.
2062 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2063 (locale::_Impl::_M_construct_ctype): Remove.
2064 (locale::_Impl::_M_construct_monetary): Remove.
2065 (locale::_Impl::_M_construct_numeric): Remove.
2066 (locale::_Impl::_M_construct_time): Remove.
2067 (locale::_Impl::_M_construct_messages): Remove.
2069 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2070 (_Use_facet_failure_handle): Remove.
2071 * src/locale.cc: Remove definitions.
2072 * src/locale-inst.cc: And here.
2074 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2076 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2077 create and error-check underlying locale object.
2078 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2079 tearing down underlying locale object.
2080 * include/bits/localefwd.h (locale::facet): Declare.
2081 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2082 correctness, as glibc apparently has incorrect info in it. Test
2083 with it when it works again.....
2085 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2086 Remove. Number of categories is fixed at six, so just simplify and
2087 make this an array of strings.
2088 (locale::_Impl::_M_has_name): Remove.
2089 (locale::_Impl::_M_name): Remove.
2090 (locale::_Impl::_M_category_names): Turns into...
2091 (locale::_Impl::_M_names): ...this.
2092 (locale::_Impl::_M_has_same_name()): New function.
2093 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2094 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2096 * src/locale.cc (locale::name()): Construct mangled name
2097 accurately reflecting combined locale categories.
2099 * src/locale.cc (locale::classic()): Don't initialize here.
2100 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2101 __refs, bool __has_name, string __str): Do it here.
2103 * include/bits/localefwd.h: _S_categories_num to
2104 _S_num_categories. _S_facets_num to _S_num_facets.
2105 (locale::id::id()): Explicitly set _M_index to zero.
2106 * src/locale.cc: Same.
2108 * src/locale.cc: (locale::locale(const char*)): Construct named
2111 * src/locale.cc: Remove numpunct_byname ctors.
2112 * testsuite/22_locale/numpunct_byname.cc: New file.
2113 * testsuite/22_locale/numpunct.cc: New file.
2115 * include/bits/localefwd.h (class locale): Change data members to
2116 protected, from private.
2117 (_Impl::_M_get_c_locale): Add member function.
2118 (locale::facet::_M_get_global_impl()): Add member function.
2119 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2120 a __c_locale pointer.
2121 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2123 * testsuite/22_locale/members.cc: New file, test name and combine.
2125 * include/bits/locale_facets.h (class numpunct): Remove class
2126 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2128 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2129 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2130 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2131 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2132 * testsuite/22_locale/numpunct_char_members.cc: New file.
2134 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2136 * testsuite/README: Add more comment.
2137 * testsuite/lib/libstdc++.exp: Tweak comment.
2139 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2141 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2143 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2145 * testsuite/21_strings/inserters_extractors.cc: Remove
2146 explicit reference to 'testsuite/'.
2148 2001-01-25 Richard Henderson <rth@redhat.com>
2150 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2151 bits. Fixes Tru64 build issues.
2153 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2155 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2156 (use ${MAKE-make}, not ${MAKE:-make}).
2157 * aclocal.m4, configure: Regenerate.
2159 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2161 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2164 * src/Makefile.am (sources): Add globals.cc.
2165 * src/Makefile.in: Regenerated.
2166 * src/globals.cc: New file.
2167 * src/ios.cc (cin): Don't define here, just declare extern.
2176 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2178 * include/bits/std_iterator.h: Do not include stl_relops.h.
2179 * include/bits/std_numeric.h: Ditto.
2180 * include/bits/stl_algobase.h: Ditto.
2181 * include/bits/stl_relops.h: Add comment warning about problems.
2183 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2185 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2186 in testcases. Prepare for the DejaGnu based framework.
2187 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2188 directory -- it is now mkcheck working directory.
2189 * tests_flags.in: Remove reference to $(top_srcdir). Use
2191 * Makefile.am (check, check-install): Change mkcheck invocation
2193 * Makefile.in: Regenerate.
2195 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2197 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2198 (__always_swap): Likewise.
2200 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2202 * libsupc++/exception_support.cc (__terminate_func): Remove
2204 (__terminate_func_ptr): New typedef.
2205 (__terminate, __terminate_set_func): New extern function
2207 (std::terminate): Use __terminate function.
2208 (std::set_terminate): Use __terminate_set_func function.
2210 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2212 * configure.target: Just use os_include_dir always.
2213 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2214 Link atomicity files and ctype files here.
2215 * configure: Regenerate.
2216 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2217 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2218 * aclocal.m4: Regenerate.
2220 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2222 * configure.in: Place definition of MULTISUBDIR in
2223 libsupc++/Makefile as is done for src/Makefile.
2224 * configure: Regenerate.
2226 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2228 * acinclude.m4: Cosmetic changes only.
2229 * aclocal.m4: Regenerated.
2230 * configure: Regenerated.
2231 * configure.target: Update documented list of changed variables.
2232 * docs/html/install.html: Fix typo.
2233 * docs/html/20_util/howto.html: More notes on auto_ptr.
2234 * docs/html/27_io/howto.html: More notes on streabufs.
2235 * docs/html/faq/index.html: Add rel_ops problem and mention the
2236 DEC as(1) .subsection difficulty.
2237 * docs/html/faq/index.txt: Regenerated.
2239 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2241 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2242 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2243 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2244 its already provided in config.target.
2245 * aclocal.m4: Regenerated.
2246 * configure: Likewise.
2247 * configure.target: Set ctype_include_dir for lots of systems.
2248 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2249 * libsupc++/Makefile.in: Regenerated.
2251 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2253 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2256 * testsuite/README: Add comment.
2258 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2260 * docs/html/configopts.html: Update for current status. Fix HTML.
2261 * docs/html/install.html: Update for current status.
2263 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2265 * testsuite/libstdc++.tests/tests.exp: New file.
2266 * testsuite/lib/libstdc++.exp: Itou.
2267 * testsuite/README: Itou.
2269 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2271 * tests_flags.in: Just output the bare minimum to run tests.
2272 Let's the caller do its own arrangement.
2274 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2277 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2279 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2282 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2284 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2286 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2288 * mkcheck.in: Construct file names that match $objdir structure.
2289 * testsuite/27_io/filebuf_members-1.txt: New file.
2290 * testsuite/27_io/ifstream_members-1.txt: New file.
2291 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2293 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2294 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2296 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2298 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2300 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2303 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2304 * src/ios.cc (ios_base::failure): Make definitions match.
2305 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2306 (class bad_cast): Same.
2307 * libsupc++/exception (class exception): Add throw specs.
2308 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2309 (set_unexpected): Same.
2310 (uncaught_exception): Same.
2313 * docs/html/17_intro/C++STYLE (classname): Fix.
2315 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2317 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2318 Use it do explicitly instantiate predicate<T> and value<T> for
2321 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2323 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2324 uninitialized thinko in last change.
2326 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2328 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2331 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2333 * docs/html/17_intro/C++STYLE (classname): Add more existing
2334 and stylish patterns.
2337 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2338 failbit if the state of the stream is not good.
2339 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2340 * testsuite/27_io/istream_manip.cc (test01): Modify.
2343 reported by Paolo Carlini <pcarlini@unitus.it>
2344 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2345 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2348 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2349 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2350 (xsgetn): Same. Simplify.
2351 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2353 reported by Larry Evans <jcampbell3@prodigy.net>
2354 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2355 equality with eof on returned value from overflow.
2357 2001-01-14 Andreas Jaeger <aj@suse.de>
2359 * libio/libio.h: Add test for glibc 2.0.
2361 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2363 * config/os/djgpp/bits/*: Fix dates.
2365 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2366 _CharT* __end, _CharT __c): Remove.
2367 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2368 * include/bits/char_traits.h: Tweak.
2370 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2372 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2373 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2375 * aclocal.m4: regenerated.
2376 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2377 * configure: regenerated.
2378 * config/os/djgpp, config/os/djgpp/bits: new directories.
2379 * config/os/djgpp/bits/ctype_base.h,
2380 config/os/djgpp/bits/ctype_inline.h,
2381 config/os/djgpp/bits/ctype_noninline.h,
2382 config/os/djgpp/bits/os_defines.h: new files.
2384 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2386 * include/c_std/bits/std_cstdio.h: Undef printf.
2388 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2390 * src/ios.cc: Fix typo: change cout->wcout.
2392 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2393 * src/Makefile.in: Regenerate.
2395 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2397 * include/bits/std_complex.h: Fix a typo.
2399 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2402 Fixes for libstdc++/1576
2403 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2404 file, move contents into....
2405 * src/ios.cc: ...Here. Put defines for iostreams objects and
2406 initialization routines into one file to simplify DSO interaction.
2407 * include/bits/std_iostream.h: Touch.
2408 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2409 * src/Makefile.am (sources): Remove stdstreams.cc.
2410 * src/Makefile.in: Regenerate.
2412 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2414 * tests_flags.in (check_directory): Fix typo.
2416 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2418 * include/bits/std_complex.h: Fix a typo.
2420 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2422 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2423 code path:) Remove magic constants and restructure to handle
2424 ctype.h bit mask layout changes more gracefully. (Make fast
2425 code path:) Use __maskrune (), if available.
2426 (is): Remove special case for digit and xdigit masks.
2428 2001-01-09 Robert Lipe <robertlipe@usa.net>
2430 * include/c_std/bits/std_ctime.h: Undefine difftime.
2432 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2434 * src/gen-num-limits.cc (signal_adapter): New template function.
2435 (signal_handler): Use it, instead of signal.
2436 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2437 require both tests to trap to set trap_flag.
2439 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2441 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2442 initialize mbstate_t member, name offset data members *off, not pos.
2443 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2445 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2447 reported by Chris G. Demetriou <cgd@sibyte.com>
2448 * configure.in: Change -linux-* to -linux*.
2449 * configure: Regenerate.
2451 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2453 Fix 27_io/filebuf_members.cc
2454 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2455 const string& __name, category __cat, size_t __refs): Set
2456 _M_has_name with _M_name.
2457 * include/bits/localefwd.h (locale::operator!=): Protect member
2458 function call with this->.
2459 * src/locale.cc (locale::operator==): Make fast checks first.
2460 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2462 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2464 * src/ios.cc (ios_base::Init::Init): Initialize here.
2465 (ios_base::sync_with_stdio): Set here.
2467 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2469 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2470 systems that support it, call dup() before fdopen().
2472 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2474 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2475 * testsuite/17_intro/header_cwctype.cc (main): New file.
2477 * src/Makefile.am (base_headers): Change.
2478 * include/bits/std_string.h: And here.
2479 * include/bits/string.tcc: Tweaks, move to...
2480 * include/bits/basic_string.tcc: ...Here.
2481 * src/string-inst.cc: Simplify, just instantiate the whole class,
2482 not member-by-member.
2484 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2486 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2487 * aclocal.m4: Regenerate.
2488 * configure: Regenerate.
2490 * include/bits/c++config (__GLIBCPP__): Bump version number.
2492 * ChangeLog: Start new log for year 2001
2493 * ChangeLog-2000: New file.
2495 * docs/html/configopts.html: Make sure default values are current,
2498 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2500 * include/c_std/bits/std_cwchar.h: Same.
2501 * testsuite/17_intro/header_cwchar.cc: Same.
2502 * include/c_std/bits/std_ctime.h: Same.
2503 * testsuite/17_intro/header_ctime.cc: Same.
2504 * include/c_std/bits/std_cstdlib.h: Same.
2505 Clean up undefs, make consistent with cwchar and cmath, etc.
2506 * testsuite/17_intro/header_cstdlib.cc: Same.
2507 * include/c_std/bits/std_cstdio.h: Same here.
2508 * testsuite/17_intro/header_cstring.cc: Same.
2509 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2510 * testsuite/17_intro/header_cstring.cc: New file. Check for
2511 size_t in namespace std.
2513 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2514 * acconfig.h (HAVE_MBSTATE_T): Add.
2515 * config.h.in: Regenerate.
2516 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2518 * aclocal.m4: Regenerate.
2519 * configure: Regenerate.
2520 * testsuite/17_intro/headers_c++.cc: New file.
2521 * testsuite/17_intro/headers_c.cc: Small changes.
2523 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2525 * tests_flags.in: Fix typo in usage.
2527 * tests_flags.in: Set target specific LIBS for cygwin.