1 2001-06-04 Brendan Kehoe <brendan@zen.org>
4 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
5 ctors to match the standard.
7 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
9 * include/bits/char_traits.h (move): Reverse qualification of
11 (copy): Reverse qualification of memcpy with std::.
13 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
15 * include/bits/char_traits.h (move): Qualify memmove with std::.
16 (copy): Qualify memcpy with std::.
17 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
20 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
22 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
24 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
25 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
26 SUN make VPATH peculiarities.
27 * libsupc++/Makefile.in: Regenerate.
29 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
31 * src/Makefile.am (VPATH): Delimit with ":", not space.
32 * src/Makefile.in: Regenerate.
34 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
36 * configure: Regenerate.
38 2001-05-27 scott snyder <snyder@fnal.gov>
41 * include/bits/istream.tcc: Include std_ostream.h.
43 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
46 * src/bitset.cc: Qualify size_t with std::.
48 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
50 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
51 (_GLIBCPP_BUGGY_COMPLEX): Remove.
52 * config.h.in: Regenerate.
53 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
54 * aclocal.m4: Regenerate.
55 * configure.in: Don't call it.
56 * configure: Regenerate.
59 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
60 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
64 * include/bits/std_complex.h: Include sstream. Put definitions for
65 complex inserters and extractors here, and remove them from...
66 * src/complex_io.cc: ...here.
67 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
69 (basic_ios::__numget_type): Same.
70 * include/bits/std_istream.h: Same.
71 * include/bits/std_ostream.h: Same.
72 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
73 class iterator template arguments.
74 * src/locale-inst.cc: Add explicit has_facet instantiations.
75 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
76 (_M_get_fnumput): Remove.
77 (_M_get_fnumget): Remove.
78 (basic_ios::_M_check_facet): New function.
79 (basic_ios::_M_cache_facets): New function.
80 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
81 (basic_ios::imbue): Call _M_cache_facets.
82 (basic_ios::init): Same.
83 * include/bits/istream.tcc: Format, use _M_check_facet.
84 * include/bits/ostream.tcc: Same.
85 * include/bits/locale_facets.tcc (__output_float): Change
86 signature, add _Traits.
87 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
90 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
92 * include/bits/c++config (__USE_MALLOC): Do not define it.
93 Document why not and give pointers to more information.
95 * docs/html/23_containers/howto.html: Update documentation
96 to reflect recent understanding of problem.
97 * docs/html/17_intro/howto.html: Likewise.
99 2001-05-30 Phil Edwards <pme@sources.redhat.com>
101 * docs/doxygen/user.cfg.in: Minor addition.
102 * docs/html/documentation.html: Reorganize. Put most-looked-at
104 * docs/html/install.html: Update for 3.0. HTML fixups.
105 * docs/html/17_intro/howto.html: Likewise.
106 * docs/html/18_support/howto.html: Likewise.
107 * docs/html/19_diagnostics/howto.html: Likewise.
108 * docs/html/20_util/howto.html: Likewise.
109 * docs/html/23_containers/howto.html: Likewise.
110 * docs/html/24_iterators/howto.html: Likewise. More notes.
111 * docs/html/25_algorithms/howto.html: Likewise.
112 * docs/html/26_numerics/howto.html: Likewise. More notes.
113 * docs/html/27_io/howto.html: Likewise.
114 * docs/html/ext/howto.html: Likewise.
115 * docs/html/faq/index.html: Likewise.
116 * docs/html/faq/index.txt: Regenerate.
117 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
118 Doxygen-created documentation.
120 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
122 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
123 get_multilibs to find gcc.
125 2001-05-30 Phil Edwards <pme@sources.redhat.com>
127 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
128 * aclocal.m4: Regenerate.
129 * configure: Regenerate.
131 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
133 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
134 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
136 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
138 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
139 * include/c_std/bits/std_cstdlib.h: Same.
140 * include/c_std/bits/std_cwchar.h: Same.
142 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
144 * docs/html/17_intro/howto.html: Update link.
145 * docs/html/23_containers/howto.html: Likewise. Add new link.
147 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
149 * include/c_std/bits/std_cmath.h (sqrt): #undef.
151 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
153 * mknumeric_limits: Stop if gen-num-limits dies.
155 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
158 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
159 * aclocal.m4: Regenerate.
162 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
163 Phil Edwards <pme@sources.redhat.com>
164 Alexandre Oliva <aoliva@redhat.com>
166 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
167 in an amd-safe manner. Revert glibcpp_prefixdir.
169 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
171 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
172 fabs, sin, sqrt. They are now implemented in terms of __builtin_
175 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
178 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
179 * include/bits/ostream.tcc: Format to match istream.tcc.
180 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
182 2001-05-24 Phil Edwards <pme@sources.redhat.com>
184 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
186 (__cxa_free_exception): Likewise with free.
188 2001-05-24 Mark Mitchell <mark@codesourcery.com>
190 * include/c_std/bin/std_cstring.h: #define away all global
191 functions we will redeclare in namespace `std'.
192 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
193 std::memset, instead of memset.
194 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
196 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
199 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
202 * include/bits/basic_ios.tcc: Small tweak.
203 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
204 ctors and dtors, and rdbuf settings.
207 * include/bits/std_sstream.h: Same, but for stringstream classes.
208 * testsuite/27_io/ostringstream_members.cc: New.
209 * testsuite/27_io/stringstream_members.cc: New.
210 * testsuite/27_io/fstream_members.cc: New.
211 * testsuite/27_io/ifstream_members.cc: Add test.
212 * testsuite/27_io/istringstream_members.cc: Add test.
213 * testsuite/27_io/ofstream_members.cc: Add test.
215 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
217 * include/bits/c++config(__NO_MATH_INLINES): Move to...
218 * config/os/gnu-linux/bits/os_defines.h: ...here.
220 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
222 * include/bits/c++config (__NO_MATH_INLINES): New macro.
223 * testsuite/26_numerics/fabs_inline.cc (main): New test.
225 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
228 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
230 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
231 (libstdc++-v3-finish): Remove.
232 (libstdc++-v3_exit): Remove.
234 2001-05-22 Phil Edwards <pme@sources.redhat.com>
236 * docs/html/documentation.html: Point to doxygen output.
238 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
240 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
242 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
243 arguments to be non-null.
244 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
245 try allocations if allocated size is greater than zero.
246 (filebuf::_M_filebuf_init): Change to
247 (filebuf::_M_allocate_file): Which is what it does now.
248 (filebuf::_M_allocate_bufers): Change to
249 (filebuf::_M_allocate_internal_buffer): This, and create
250 (filebuf::_M_allocate_pback_buffer): New.
251 (filebuf::_M_destroy_internal_buffer): New.
252 (filebuf::_M_buf_allocated): New data member.
253 (filebuf::setbuf): Use new logic, allow use of external buffer.
254 * testsuite/27_io/stringbuf_virtuals.cc: New file.
255 * testsuite/27_io/filebuf_virtuals.cc: New file.
257 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
259 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
261 (strchr): Same, but to __glibcpp_strchr.
265 * include/c_std/bits/std_cwchar.h (wcschr): Same.
271 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
273 * testsuite/21_strings/c_strings.cc (main): Fix.
275 2001-05-19 Phil Edwards <pme@sources.redhat.com>
277 * acinclude.m4: Fix --help spacing, correct comments.
278 * aclocal.m4: Regenerate.
279 * configure: Regenerate.
280 * mkcheck.in: Add usage comments.
281 * docs/html/documentation.html: Point to doxygen'd tarball.
283 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
285 * testsuite/README: Add notes.
287 * src/Makefile.am (libstdc++.INC): Remove.
288 * src/Makefile.in: Regenerate.
290 Phil Edwards <pedwards@disaster.jaj.com>
291 * mkcheck.in: Add missing '#'.
293 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
295 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
296 appropriately for remote testing and testing installed files without
299 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
301 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
302 amd glibcpp_prefixdir with absolute paths.
304 * include/bits/c++config (__GLIBCPP__): Bump.
305 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
307 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
309 * include/bits/std_valarray.h (valarray<>::operator[] const):
310 Return a const reference.
311 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
313 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
315 * configure.target (ATOMICITYH): Actually use AIX-specific code on
316 earlier versions of AIX 4.*.
318 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
320 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
321 output_file based on the name of the testcase.
323 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
325 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
326 gluefile and use it if needs_status_wrapper is set.
328 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
330 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
333 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
335 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
336 on earlier versions of AIX.
338 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
340 * testsuite_flags.in (query): Add backwards, ext directories.
342 2001-05-15 Mark Mitchell <mark@codesourcery.com>
344 * porting.texi: Correct documentation about handling
345 _LARRGEFILE_SOURCE and its ilk.
346 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
347 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
349 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
350 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
352 2001-05-15 Zack Weinberg <zackw@stanford.edu>
354 * testsuite/21_strings/inserters_extractors.cc,
355 testsuite/27_io/istream_unformatted.cc,
356 testsuite/27_io/stringstream.cc:
357 Replace multi-line string constants with C89-style
358 concatenated string constants.
360 2001-05-14 Richard Henderson <rth@redhat.com>
362 * mknumeric_limits: Build with -fno-exceptions.
364 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
366 Switch over to new harness.
367 * testsuite_flags.in: Tweaks via Gaby.
368 * testsuite/Makefile.am: Change tool to libstdc++-v3.
369 (EXPECT): Quote directly.
371 * configure.in: Output testsuite_flags.
372 * acinclude.m4: Substitute src, bld, and prefix dirs.
373 Remove glibcpp_expect, glibcpp_runtestflags.
374 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
375 * mkcheck.in: Port to new interface.
377 * aclocal.m4: Regerate.
378 * configure: Regnerate.
379 * Makefile.in: Regnerate.
380 * */Makefile.in: Regenerate.
382 * tests_flags.in: Remove.
383 * testsuite/lib/libstdc++.exp: Remove.
384 * testsuite/libstdc++.tests/tests.exp: Remove.
386 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
388 * configure.target: Remove detection of AIX pthread multilib, now
389 obtained from `gcc -v'.
391 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
393 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
394 size. Add hpux case for HP size.
396 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
398 * testsuite_flags.in: New, simplified interface.
399 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
400 * testsuite/libstdc++-v3.dg: Add.
401 * testsuite/libstdc++-v3.dg/dg.exp: Add.
403 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
405 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
406 * testsuite/config/default.exp: Update bugs email address.
408 2001-05-11 Richard Henderson <rth@redhat.com>
410 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
411 all pointer encoding logic.
412 (struct lsda_header_info): Add ttype_base.
413 (get_ttype_entry): Use it instead of a context.
414 (check_exception_spec): Likewise.
415 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
416 the c++ exception header for __cxa_call_unexpected.
417 (__cxa_call_unexpected): Use it.
419 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
421 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
422 libgloss_link_flags to find crt0.o for targets that use libgloss
424 Change LDFLAGS to LIBS.
425 Consistently name procedures libstdc++-XXX.
426 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
428 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
430 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
435 * include/c_std/bits/std_cwchar.h (wcschr): Same.
440 * testsuite/21_strings/c_strings.cc: Add tests.
442 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
445 * include/bits/std_fstream.h (basic_filebuf): Change signature.
446 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
447 to int_type, pass in buffer size info.
448 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
449 unbuffered situation.
450 (underflow): Remove codecvt bits for the time being.
451 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
452 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
453 values from iterators, clean.
454 * src/locale.cc: Ditto.
455 * include/bits/sbuf_iter.h: Format.
456 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
457 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
458 * testsuite/27_io/filebuf.cc: Tweaks.
459 * testsuite/27_io/filebuf_members.cc: Tweaks.
461 2001-05-07 Mark Mitchell <mark@codesourcery.com>
463 * config/os/solaris/solaris2.7/bits/os_defines.h
464 (_LARGEFILE_SOURCE): Define it.
466 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
468 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
469 -prefer-non-pic depending on whether libtool has shared libraries
471 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
472 $(LIBSUPCXX_PICFLAGS).
473 * configure, */Makefile.in: Rebuilt.
475 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
477 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
478 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
480 * include/bits/std_sstream.h (stringbuf): Leak
482 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
484 2001-05-01 Tom Browder <tbrowder@home.com>
486 * docs/html/ext/howto.html: Fix typo.
488 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
490 * testsuite/libstdc++.tests/tests.exp: Add comment.
492 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
494 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
496 2001-04-30 Mark Mitchell <mark@codesourcery.com>
498 * porting.texi: Use the GFDL.
500 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
503 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
504 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
507 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
510 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
512 2001-04-28 Phil Edwards <pme@sources.redhat.com>
514 * docs/doxygen/run_doxygen: Minor tweaks.
515 * docs/doxygen/style.css: New file.
516 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
517 latest parameters available. Use style.css.
519 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
521 * docs/doxygen/mainpage.doxy: New.
522 * docs/doxygen/user.cfg.in: Change default configuration. Single
525 2001-04-26 Mark Mitchell <mark@codesourcery.com>
527 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
528 Indicate obsolete nature of thelist for G++ 3.0.
530 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
532 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
533 target_thread_file with `gcc -v'.
534 * aclocal.m4, configure: Rebuilt.
536 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
538 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
539 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
540 * include/c_std/bits/std_cwchar.h (std): Same.
541 * acconfig.h (std): Remove c99 injection into std.
542 * config.h.in: Regenerate.
544 * testsuite/README: Fix typo.
546 * include/bits/codecvt.h: Remove warnings.
548 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
550 * include/ext/slist: Include required header files.
552 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
554 * include/c_std/bits/std_cerrno.h (errno): Define macro from
555 identifier declared with external linkage, if needed.
556 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
557 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
559 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
561 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
562 re-configures find the build compiler.
563 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
565 * aclocal.m4: Regenerate.
566 * configure: Regenerate.
568 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
570 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
571 support is enabled correctly before long long is activated.
572 * aclocal.m4: Regenerate.
573 * configure: Regenerate.
575 * include/backward/backward_warning.h: Format correctly.
577 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
578 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
579 * testsuite/26_numerics/c99_macros.cc: Remove.
581 2001-04-20 Phil Edwards <pme@sources.redhat.com>
583 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
586 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
588 * acconfig.h (_GLIBCPP_USE_C99): Add.
589 * config.h.in: Regenerate.
590 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
592 * aclocal.m4: Regenerate.
593 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
594 * configure: Regenerate.
595 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
596 * configure: Regenerate.
597 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
599 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
601 * include/c_std/bits/std_cstdlib.h: Same.
602 * docs/html/configopts.html: Update.
603 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
605 (test_c99_classify): Add.
606 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
607 (_ISOC99_SOURCE): Remove.
609 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
610 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
611 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
612 * aclocal.m4: Regenerate.
613 * configure: Regenerate.
615 2001-04-19 Phil Edwards <pme@sources.redhat.com>
617 * Makefile.am (doxygen): Assume script is missing execute perms.
618 * Makefile.in: Regenerated.
619 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
621 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
623 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
625 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
627 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
628 * testsuite/23_containers/set_operators.cc: Same.
630 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
632 (__GLIBCPP__): Bump from value of last release.
633 * include/bits/concept_check.h: Default to off, edit comments.
634 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
635 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
636 * src/Makefile.in: Regenerate.
638 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
640 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
641 Properly uglify member.
643 2001-04-13 Phil Edwards <pme@sources.redhat.com>
645 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
649 2001-04-13 Phil Edwards <pme@sources.redhat.com>
651 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
652 * include/bits/concept_check.h: Uglify.
653 * include/bits/stl_algo.h: Likewise.
654 * include/bits/stl_algobase.h: Likewise.
655 * include/bits/stl_deque.h: Likewise.
656 * include/bits/stl_heap.h: Likewise.
657 * include/bits/stl_iterator_base_funcs.h: Likewise.
658 * include/bits/stl_list.h: Likewise.
659 * include/bits/stl_map.h: Likewise.
660 * include/bits/stl_multimap.h: Likewise.
661 * include/bits/stl_multiset.h: Likewise.
662 * include/bits/stl_numeric.h: Likewise.
663 * include/bits/stl_queue.h: Likewise.
664 * include/bits/stl_set.h: Likewise.
665 * include/bits/stl_stack.h: Likewise.
666 * include/bits/stl_vector.h: Likewise.
667 * include/ext/hash_map: Likewise.
668 * include/ext/hash_set: Likewise.
669 * include/ext/slist: Likewise.
671 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
673 * testsuite/23_containers/set_operators.cc: Just try to compile.
675 * testsuite/23_containers/map_operators.cc: Same.
677 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
679 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
681 (dg-test): Revert rth's change.
683 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
685 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
686 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
688 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
690 * testsuite/README: Add DejaGnu specific documentation.
692 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
694 * acinclude.m4: AC_CHECK_TOOL for expect.
695 * aclocal.m4: Regenerate.
696 * configure: Regenerate.
697 * testsuite/Makefile.am (RUNTEST): Use substituted.
700 * configure.in: Remove xcompiling substitution.
701 * tests_flags.in (CROSS_LIB_PATH): Remove.
702 (xcompiling): Remove.
703 (CXX): Use substituted CXX.
705 2001-04-11 Richard Henderson <rth@redhat.com>
707 * testsuite/lib/libstdc++.exp: Specify path for output_file.
709 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
711 * include/bits/std_valarray.h(valarray<>::operator[]): Make
714 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
716 * testsuite/25_algorithms/equal.cc: New test.
718 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
720 * stl_algobase.h (std::equal): avoid use of possibly-undefined
721 operator != (one line patch).
723 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
725 * include/backward/backward_warning.h: Re-enable.
727 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
728 Alexandre Oliva <aoliva@redhat.com>
730 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
732 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
734 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
735 * testsuite/26_numerics/c99_macros.cc: Add test.
737 2001-04-06 Phil Edwards <pme@sources.redhat.com>
739 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
740 * docs/html/faq/index.txt: Regenerated.
742 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
744 * include/backward/backward_warning.h: Temporarily disable until
745 g++ testsuite changes go in.
746 * tests_flags.in (CROSS_LIB_PATH): Add.
748 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
750 Warn when using backward headers.
751 * include/backward/algo.h: Include warning file.
752 * include/backward/vector.h: Same.
753 * include/backward/tree.h: Same.
754 * include/backward/tempbuf.h: Same.
755 * include/backward/strstream: Same.
756 * include/backward/streambuf.h: Same.
757 * include/backward/stream.h: Same.
758 * include/backward/stack.h: Same.
759 * include/backward/slist.h: Same.
760 * include/backward/set.h: Same.
761 * include/backward/rope.h:
762 * include/backward/queue.h: Same.
763 * include/backward/pair.h: Same.
764 * include/backward/ostream.h: Same.
765 * include/backward/new.h: Same.
766 * include/backward/multiset.h: Same.
767 * include/backward/multimap.h: Same.
768 * include/backward/map.h: Same.
769 * include/backward/list.h: Same.
770 * include/backward/iterator.h: Same.
771 * include/backward/istream.h: Same.
772 * include/backward/iostream.h:
773 * include/backward/iomanip.h:
774 * include/backward/heap.h: Same.
775 * include/backward/hashtable.h:
776 * include/backward/hash_set.h:
777 * include/backward/hash_map.h:
778 * include/backward/function.h:
779 * include/backward/fstream.h:
780 * include/backward/deque.h:
781 * include/backward/defalloc.h: Same.
782 * include/backward/complex.h: Same.
783 * include/backward/bvector.h:
784 * include/backward/alloc.h:
785 * include/backward/algobase.h: Same.
787 * include/backward/backward_warning.h: New file.
788 * src/Makefile.am (backward_headers): Add backward_warning.h
789 * src/Makefile.in: Regenerate.
791 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
793 * src/Makefile.am (myinstalldirs): Make sure backward directory is
795 (myinstallheaders): Install backward headers in backward directory.
796 * src/Makefile.in: Regenerate.
798 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
800 Prepare for libstdc++-2.92.
801 * docs/html/17_intro/RELEASE-NOTES (New): Update.
802 * docs/html/configopts.html: Fix formatting.
803 * README (file): Updates.
804 * include/bits/c++config (__GLIBCPP__): Update.
806 2001-04-05 Phil Edwards <pme@sources.redhat.com>
808 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
810 2001-04-04 Phil Edwards <pme@sources.redhat.com>
812 * docs/doxygen/user.cfg.in: Extract all non-private members;
813 reduce confusing documentation output.
815 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
817 * include/backward/fstream.h: Add missing semicolons.
819 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
821 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
822 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
823 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
824 (ios_base::Init::_S_ios_create): New.
825 (ios_base::Init::_S_ios_destroy): New.
826 * include/bits/std_fstream.h: Change ctor args.
827 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
828 (ios_base::Init::~Init): Use _S_ios_destroy.
829 (ios_base::sync_with_stdio): Use new members.
830 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
833 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
835 * include/backward/fstream.h: Expose streampos to global
838 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
840 * include/bits/stl_iterator_base_types.h: Fix typo
842 2001-04-03 Andreas Schwab <schwab@suse.de>
844 * include/backward/fstream.h: Define filebuf and wfilebuf.
846 2001-04-02 Phil Edwards <pme@sources.redhat.com>
848 New concept checking implementation.
849 * docs/html/19_diagnostics/howto.html: Document.
850 * docs/html/17_intro/concept_check.diff: New file, for reference.
851 * include/bits/boost_concept_check.h: New file from Boost.
852 * include/bits/c++config: Update comments.
854 * include/bits/concept_check.h: New file.
855 * include/bits/concept_checks.h: Removed.
856 * include/bits/container_concepts.h: Removed.
857 * include/bits/sequence_concepts.h: Removed.
858 * include/bits/stl_iterator_base.h: Removed; split into...
859 * include/bits/stl_iterator_base_funcs.h: ...this new file...
860 * include/bits/stl_iterator_base_types.h: ...and this new file.
862 * include/bits/sbuf_iter.h: Update to use new implementation.
863 * include/bits/std_iterator.h: Likewise.
864 * include/bits/std_memory.h: Likewise.
865 * include/bits/stl_algo.h: Likewise.
866 * include/bits/stl_algobase.h: Likewise.
867 * include/bits/stl_construct.h: Likewise.
868 * include/bits/stl_deque.h: Likewise.
869 * include/bits/stl_heap.h: Likewise.
870 * include/bits/stl_list.h: Likewise.
871 * include/bits/stl_map.h: Likewise.
872 * include/bits/stl_multimap.h: Likewise.
873 * include/bits/stl_multiset.h: Likewise.
874 * include/bits/stl_numeric.h: Likewise.
875 * include/bits/stl_queue.h: Likewise.
876 * include/bits/stl_set.h: Likewise.
877 * include/bits/stl_stack.h: Likewise.
878 * include/bits/stl_uninitialized.h: Likewise.
879 * include/bits/stl_vector.h: Likewise.
880 * include/ext/hash_map: Likewise.
881 * include/ext/hash_set: Likewise.
882 * include/ext/slist: Likewise.
883 * include/ext/stl_hashtable.h: Likewise.
885 * src/Makefile.am (base_headers): Update list of headers.
886 * Makefile.in: Regenerated.
887 * src/Makefile.in: Regenerated.
888 * libio/Makefile.in: Regenerated.
889 * libmath/Makefile.in: Regenerated.
890 * libsupc++/Makefile.in: Regenerated.
891 * testsuite/Makefile.in: Regenerated.
893 * docs/html/install.html: Update contact information.
894 * docs/html/17_intro/howto.html: Ditto.
895 * docs/html/18_support/howto.html: Ditto.
896 * docs/html/20_util/howto.html: Ditto.
897 * docs/html/21_strings/howto.html: Ditto.
898 * docs/html/22_locale/howto.html: Ditto.
899 * docs/html/23_containers/howto.html: Ditto.
900 * docs/html/24_iterators/howto.html: Ditto.
901 * docs/html/25_algorithms/howto.html: Ditto.
902 * docs/html/26_numerics/howto.html: Ditto.
903 * docs/html/27_io/howto.html: Ditto.
904 * docs/html/faq/index.html: Ditto, plus info on new checking code.
905 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
906 * docs/html/faq/index.txt: Regenerated.
908 2001-04-02 Zack Weinberg <zackw@stanford.edu>
910 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
911 messages with $which_library as well as $tool_flags and
912 ${dg-extra-tool-flags}. Factor out annotation text into
915 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
917 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
918 * include/c_std/bits/std_cwchar.h: Same.
919 * testsuite/21_strings/c_strings.cc: Add.
921 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
923 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
925 2001-04-01 Zack Weinberg <zackw@stanford.edu>
927 * tests_flags.in: Use test a = b, not test a == b which is not
930 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
932 * configure.target: Remove duplicate aix entry.
934 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
936 * include/ext/stl_bvector.h: Move to...
937 * include/bits/stl_vector.h: ...here.
938 * include/ext/bvector: Move to...
939 * include/backward/bvector.h: ...here.
940 * include/bits/std_vector.h: Change stl_bvector include.
941 * include/bits/std_queue.h: Remove bvector include.
942 * include/ext/tree: Insert using rb_tree, move to...
943 * include/backward/tree.h: ...here.
944 * include/backward/hash_map.h: Include ext/hash_map.
945 * include/backward/hash_set.h: Include ext/hash_set.
946 * include/backward/queue.h: New file.
947 * include/backward/stack.h: Edit.
948 * include/backward/algo.h: Same.
949 * include/backward/algobase.h: Same.
950 * include/backward/alloc.h: Same.
951 * include/backward/function.h: Same.
952 * include/backward/iomanip.h: Same.
953 * include/backward/istream.h: Same.
954 * include/backward/iterator.h: Same.
955 * include/backward/list.h: Same.
956 * include/backward/map.h: Same.
957 * include/backward/multimap.h: Same.
958 * include/backward/multiset.h: Same.
959 * include/backward/ostream.h: Same.
960 * include/backward/pair.h: Same
961 * include/backward/rope.h: Same.
962 * include/backward/set.h: Same.
963 * include/backward/stream.h: Same.
964 * include/backward/strstream.h: Same.
965 * include/backward/tempbuf.h: Same.
966 * src/Makefile.am (ext_headers): Edit.
967 * src/Makefile.in: Regenerate.
968 * testsuite/ext/headers.cc (main): Fix.
971 2001-03-30 Phil Edwards <pme@sources.redhat.com>
973 * tests_flags.in (LIBS): Pass correct path for installed testing.
975 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
977 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
978 * tests_flags.in (CXX): Construct here.
979 (static_fail): Don't remove compile.out. Format with spaces.
980 (INCLUDES): Deal with xcompiling.
981 * configure.in (xcompiling): Substitute.
982 * testsuite/Makefile.am: Snake libjava configury.
983 * testsuite/Makefile.in: Regenerate.
984 * testsuite/23_containers/map_operators.cc: Tweaks.
985 * testsuite/23_containers/set_operators.cc: Tweaks.
987 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
989 Enable dejagnu testing framework.
990 * configure.in: Generate testsuite/Makefile.
991 * configure: Regenerate.
992 * Makefile.am (check-install): Change rule from this...
993 (check-script-install): ...to this.
994 (check): Change rule from this...
995 (check-script):...to this.
996 * Makefile.in: Regenerate.
998 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1000 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1002 (LIBTOOL): Let automake take care of its definition.
1003 * libsupc++/Makefile.in: Rebuilt.
1005 2001-03-28 Richard Henderson <rth@redhat.com>
1007 IA-64 ABI Exception Handling:
1008 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1009 * configure.in: Use it.
1010 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1011 * libsupc++/Makefile.am (sources): Update files list.
1012 * libsupc++/Makefile.in: Regenerate.
1013 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1014 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1015 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1016 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1017 * libsupc++/exception_support.cc: Remove.
1018 * libsupc++/exception_support.h: Remove.
1019 * libsupc++/pure.cc: Use std::terminate.
1020 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1021 (__is_pointer): Remove.
1022 * libsupc++/unwind-cxx.h: New file.
1023 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1025 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1027 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1029 * src/Makefile.am (CXXLINK): Likewise.
1030 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1032 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1034 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1036 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1038 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1041 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1043 * include/bits/basic_file.h (get_fileno): Remove.
1044 (_M_fileno): Remove.
1045 (_M_cfile_created): Add.
1046 (basic_file::basic_file(__c_file_type*, openmode): Add.
1047 (basic_file::basic_file(int, const char*, openmode): Remove.
1048 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1049 const char*, ios_base::openmode): Don't allocate
1050 internal buffers. Turn off internal buffers.
1051 (basic_filebuf::overflow): Remove test for null buffer.
1052 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1053 * include/bits/streambuf.cc: Tweak.
1054 * include/bits/std_ostream.h: Tweak.
1055 * config/basic_file_libio.h: Same.
1056 * config/basic_file_stdio.h: Same.
1057 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1058 * testsuite/27_io/filebuf_members.cc: Tweaks.
1059 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1061 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1063 * Makefile.am: New targets, doxygen and doxygen-maint.
1064 * Makefile.in: Regenerated.
1065 * docs/doxygen/run_doxygen: Finally implemented.
1066 * docs/doxygen/maint.cfg.in: New file.
1067 * docs/doxygen/user.cfg.in: New file.
1069 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1071 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1072 * src/Makefile.am: Replace leading spaces with tabs on continuation
1074 * aclocal.m4: Regenerated.
1076 * Makefile.in: Ditto.
1077 * src/Makefile.in: Ditto.
1078 * libio/Makefile.in: Ditto.
1079 * libmath/Makefile.in: Ditto.
1080 * libsupc++/Makefile.in: Ditto.
1082 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1084 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1085 concept-checking code and current status of same.
1086 * docs/html/ext/howto.html: Ditto.
1087 * docs/html/faq/index.html: Ditto.
1088 * docs/html/faq/index.txt: Regenerated.
1090 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1092 * include/bits/std_bitset.h: Include ostream and istream headers
1093 instead of iostream.
1095 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1097 * include/bits/ostream.tcc: Use __builtin_alloca.
1099 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1101 * src/misc-inst.cc (__sink_unused_warning): Move to...
1102 * src/locale-inst.cc (__sink_unused_warning): Move to...
1103 * src/stl-inst.cc: Here.
1104 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1107 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1109 * intclude/bits/basic_file.h: Fix typos in comments.
1111 2001-03-20 Richard Henderson <rth@redhat.com>
1113 * src/gen-num-limits.cc: Instantiate for wchar_t.
1114 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1116 2001-03-20 Jason Merrill <jason@redhat.com>
1118 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1119 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1120 * libsupc++/cxxabi.h: Declare it.
1122 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1124 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1125 signal_func with an unspecified argument list.
1127 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1129 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1131 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1133 * include/bits/basic_string.tcc (operator+): Fix thinko.
1135 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1138 * include/bits/std_streambuf.h: Remove cached locale facets.
1139 (basic_streambuf::_M_buf_fctype): Remove.
1140 (basic_streambuf::~basic_streambuf): Remove here.
1141 (basic_streambuf::basic_streambuf): Same.
1142 (basic_streambuf::imbue): Same.
1143 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1144 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1145 (basic_filebuf::~basic_filebuf()): Remove here.
1146 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1147 (basic_filebuf::imbue): Same.
1148 * include/bits/localefwd.h (_Count_ones): Remove.
1149 (locale::_S_num_categories): Just use 6, since this doesn't
1150 actually change, ever.
1151 * include/bits/locale_facets.tcc (has_facet): Simplify.
1153 * testsuite/27_io/filebuf.cc (test06): Add tests.
1155 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1157 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1158 match HP-UX ctype.h header file.
1160 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1162 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1163 duplicate definitions of __dj_ctype_*
1165 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1167 * libsupc++/new: Remove pragma interface.
1168 * libsupc++/typeinfo: Same.
1169 * libsupc++/exception: Same.
1170 * libsupc++/new_handler.cc: Remove pragma implementation.
1171 (bad_alloc::~bad_alloc()): Add.
1172 * libsupc++/exception_support.cc: Same.
1173 (exception::~exception): Add.
1174 (bad_exception::~bad_exception): Add.
1175 * libsupc++/tinfo.cc: Same.
1176 (bad_cast::~bad_cast): Add.
1177 (bad_typeid::~bad_typeid): Add.
1179 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1181 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1183 2001-03-12 Felix Lee <flee@redhat.com>
1185 * mkcheck.in: workaround for bash 2.01 IFS bug.
1187 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1189 Fixups for -fno-for-scope
1190 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1191 * src/valarray-inst.cc (__gslice_to_index): Same.
1193 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1195 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1196 prior to trapping signal (UnixWare 7 workaround).
1198 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1200 * include/backward/hashtable.h: Same.
1201 * include/backward/rope.h: Fix include.
1203 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1205 * include/backward/vector.h: Include std_vector.h.
1207 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1208 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1211 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1213 * include/ext/stl_hashtable.h: Change type of __n to size_t
1214 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1216 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1218 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1219 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1220 Use streamsize, not int_type.
1222 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1224 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1227 2001-03-08 Andreas Schwab <schwab@suse.de>
1229 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1231 * aclocal.m4, configure: Regenerated.
1233 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1235 * include/bits/std_iosfwd.h: Remove string forward decls here.
1236 * include/bits/stringfwd.h: Add forward decls for char_traits
1238 * config/c_io_libio.h (wstreamoff): Delete.
1239 * config/c_io_stdio.h (wstreamoff): Same.
1240 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1241 char_traits<wchar_t>::off_type.
1242 Remove duplicate typedefs.
1243 * include/bits/fpos.h: Define streampos/wstreampos here.
1244 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1247 Changeup output files.
1248 * testsuite/27_io/istream_unformatted.cc: Change output files.
1249 * testsuite/27_io/istream_seeks-1.txt: Add.
1250 * testsuite/27_io/istream_seeks-2.tst: Add.
1251 * testsuite/27_io/istream_seeks-1.tst: Add.
1252 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1253 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1254 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1256 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1258 Add Irix 5.2, 6.3 support.
1259 * config/os/irix/bits: Renamed to...
1260 * config/os/irix/irix6.5/bits: this.
1261 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1262 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1263 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1264 * config/os/irix/irix5.2/bits/ctype_noninline.h
1265 (ctype<char>::ctype): Initialize _M_table with __ctype.
1266 * configure.target: Adjust.
1268 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1271 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1272 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1274 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1275 (*__pf)(__ios_type&)): Same.
1276 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1277 (*__pf)(ios_base&))): Same.
1278 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1279 * testsuite/27_io/istream_manip.cc (test01): Fix.
1281 2001-03-06 Nathan Myers <ncm@cantrip.org>
1282 Benjamin Kosnik <bkoz@redhat.com>
1284 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1285 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1286 * testsuite/17_intro/header_cassert.cc (test01): New file.
1287 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1288 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1289 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1291 2001-03-05 scott snyder <snyder@fnal.gov>
1294 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1296 * include/c_std/bits/std_cstdlib.h: ... to here.
1297 * testsuite/17_intro/header_cstdlib.cc: Add test.
1299 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1301 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1303 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1305 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1306 definition. Replace enum with static const variables.
1308 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1309 throw specification, fix typos, use <static_cast>.
1310 (ctype<char>::scan_is): remove throw specification.
1311 (ctype<char>::scan_not): likewise.
1313 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1314 (ctype<char>::do_toupper(char)): use <static_cast>.
1315 (ctype<char>::do_toupper(char *, const char *)): likewise.
1316 (ctype<char>::do_tolower(char)): likewise.
1317 (ctype<char>::do_tolower(char *, const char *)): likewise.
1319 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1321 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1322 * include/backward/algo.h: Use std not __STD. Remove unneeded
1323 macros and "never happens" code. Adjust to C++STYLE guidelines.
1324 * include/backward/algobase.h: Likewise.
1325 * include/backward/alloc.h: Likewise.
1326 * include/backward/bvector.h: Likewise.
1327 * include/backward/deque.h: Likewise.
1328 * include/backward/function.h: Likewise.
1329 * include/backward/hash_map.h: Likewise.
1330 * include/backward/hash_set.h: Likewise.
1331 * include/backward/hashtable.h: Likewise.
1332 * include/backward/heap.h: Likewise.
1333 * include/backward/iterator.h: Likewise.
1334 * include/backward/list.h: Likewise.
1335 * include/backward/map.h: Likewise.
1336 * include/backward/multimap.h: Likewise.
1337 * include/backward/multiset.h: Likewise.
1338 * include/backward/pair.h: Likewise.
1339 * include/backward/rope.h: Likewise.
1340 * include/backward/set.h: Likewise.
1341 * include/backward/slist.h: Likewise.
1342 * include/backward/stack.h: Likewise.
1343 * include/backward/strstream: Likewise.
1344 * include/backward/tempbuf.h: Likewise.
1345 * include/backward/tree.h: Likewise.
1346 * include/backward/vector.h: Likewise.
1347 * include/bits/basic_ios.h: Likewise.
1348 * include/bits/basic_ios.tcc: Likewise.
1349 * include/bits/basic_string.h: Likewise.
1350 * include/bits/c++config: Likewise.
1351 * include/bits/concept_checks.h: Likewise.
1352 * include/bits/fpos.h: Likewise.
1353 * include/bits/fstream.tcc: Likewise.
1354 * include/bits/functexcept.h: Likewise.
1355 * include/bits/ios_base.h: Likewise.
1356 * include/bits/istream.tcc: Likewise.
1357 * include/bits/mask_array.h: Likewise.
1358 * include/bits/ostream.tcc: Likewise.
1359 * include/bits/pthread_allocimpl.h: Likewise.
1360 * include/bits/sbuf_iter.h: Likewise.
1361 * include/bits/slice.h: Likewise.
1362 * include/bits/slice_array.h: Likewise.
1363 * include/bits/sstream.tcc: Likewise.
1364 * include/bits/std_bitset.h: Likewise.
1365 * include/bits/std_fstream.h: Likewise.
1366 * include/bits/std_iomanip.h: Likewise.
1367 * include/bits/std_ios.h: Likewise.
1368 * include/bits/std_istream.h: Likewise.
1369 * include/bits/std_iterator.h: Likewise.
1370 * include/bits/std_memory.h: Likewise.
1371 * include/bits/std_ostream.h: Likewise.
1372 * include/bits/std_sstream.h: Likewise.
1373 * include/bits/std_streambuf.h: Likewise.
1374 * include/bits/std_string.h: Likewise.
1375 * include/bits/std_valarray.h: Likewise.
1376 * include/bits/stl_algo.h: Likewise.
1377 * include/bits/stl_algobase.h: Likewise.
1378 * include/bits/stl_alloc.h: Likewise.
1379 * include/bits/stl_construct.h: Likewise.
1380 * include/bits/stl_deque.h: Likewise.
1381 * include/bits/stl_function.h: Likewise.
1382 * include/bits/stl_heap.h: Likewise.
1383 * include/bits/stl_iterator.h: Likewise.
1384 * include/bits/stl_iterator_base.h: Likewise.
1385 * include/bits/stl_list.h: Likewise.
1386 * include/bits/stl_map.h: Likewise.
1387 * include/bits/stl_multimap.h: Likewise.
1388 * include/bits/stl_multiset.h: Likewise.
1389 * include/bits/stl_numeric.h: Likewise.
1390 * include/bits/stl_pair.h: Likewise.
1391 * include/bits/stl_pthread_alloc.h: Likewise.
1392 * include/bits/stl_queue.h: Likewise.
1393 * include/bits/stl_raw_storage_iter.h: Likewise.
1394 * include/bits/stl_relops.h: Likewise.
1395 * include/bits/stl_set.h: Likewise.
1396 * include/bits/stl_stack.h: Likewise.
1397 * include/bits/stl_tempbuf.h: Likewise.
1398 * include/bits/stl_threads.h: Likewise.
1399 * include/bits/stl_tree.h: Likewise.
1400 * include/bits/stl_uninitialized.h: Likewise.
1401 * include/bits/stl_vector.h: Likewise.
1402 * include/bits/streambuf.tcc: Likewise.
1403 * include/bits/type_traits.h: Likewise.
1404 * include/bits/valarray_meta.h: Likewise.
1405 * include/ext/bvector: Likewise.
1406 * include/ext/hash_map: Likewise.
1407 * include/ext/hash_set: Likewise.
1408 * include/ext/ropeimpl.h: Likewise.
1409 * include/ext/slist: Likewise.
1410 * include/ext/stl_bvector.h: Likewise.
1411 * include/ext/stl_hash_fun.h: Likewise.
1412 * include/ext/stl_hashtable.h: Likewise.
1413 * include/ext/stl_rope.h: Likewise.
1414 * src/complex_io.cc: Likewise.
1415 * src/ios.cc: Likewise.
1416 * src/locale-inst.cc: Likewise.
1417 * src/locale.cc: Likewise.
1418 * src/localename.cc: Likewise.
1419 * src/misc-inst.cc: Likewise.
1420 * src/stdexcept.cc: Likewise.
1421 * src/stl-inst.cc: Likewise.
1422 * src/strstream.cc: Likewise.
1423 * src/valarray-inst.cc: Likewise.
1425 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1427 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1429 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1431 * include/bits/istream.tcc: change type of __extracted to __size_type
1433 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1435 * src/wstring-inst.cc: New file.
1436 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1437 (libinst_wstring_la_SOURCES): Remove.
1438 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1439 (sources): Add wstring-inst.cc
1440 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1443 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1445 * src/locale.cc: initialise __ret with zero
1446 * src/strstream.cc:cast gptr to int_type
1448 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1450 * docs/html/faq/index.html: Update broken links.
1451 * docs/html/faq/index.txt: Regenerated.
1453 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1456 * configure.target: Change irix* to irix6.5* in target_os table.
1458 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1461 * include/bits/c++config (__GLIBCPP__): Bump number in
1462 anticipation of 2.92.
1464 * include/bits/codecvt.h: Fix typo.
1465 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1467 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1468 instantiations for stdio model.
1470 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1472 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1473 and GLIBCPP_CXXFLAGS as unused variables.
1474 * configure.host: Likewise.
1475 * configure.target: Likewise.
1476 * aclocal.m4: Regenerated.
1477 * configure: Regenerated.
1478 * Makefile.in: Regenerated.
1479 * libio/Makefile.in: Regenerated.
1480 * libmath/Makefile.in: Regenerated.
1481 * libsupc++/Makefile.in: Regenerated.
1482 * src/Makefile.in: Regenerated.
1484 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1487 * include/bits/basic_file.h: Include basic_file_model.h.
1488 * config/c_io_libio.cc: Move to...
1489 * config/basic_file_libio.cc: Here.
1490 * config/basic_file_libio.h: New file.
1491 * config/c_io_stdio.cc: Move to...
1492 * config/basic_file_stdio.cc: Here.
1493 * config/basic_file_stdio.h: New file.
1494 * config/c_io_libio.h: Tweak.
1495 * config/c_io_stdio.h: Tweak.
1496 * src/Makefile.am (build_headers): Add basic_file_model.h.
1497 (sources): Add basic_file.cc, remove c++io.cc.
1498 * src/Makefile.in: Regenerate.
1499 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1500 basic_file_model.h and basic_file.cc.
1501 * aclocal.m4: Regenerate.
1502 * configure: Regenerate.
1503 * testsuite/27_io/filebuf.cc (test05): Add regression.
1505 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1508 * config/cpu/alpha/bits/atomicity.h: Change.
1509 * config/cpu/arm/bits/atomicit3y.h
1510 * config/cpu/generic/bits/atomicity.h
1511 * config/cpu/i386/bits/atomicity.h
1512 * config/cpu/i486/bits/atomicity.h
1513 * config/cpu/ia64/bits/atomicity.h
1514 * config/cpu/powerpc/bits/atomicity.h
1515 * config/cpu/sparc/sparc32/bits/atomicity.h
1516 * config/cpu/sparc/sparc64/bits/atomicity.h
1517 * config/os/aix/bits/atomicity.h
1518 * config/os/irix/bits/atomicity.h
1520 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1522 * include/bits/std_stdexcept.h (runtime_error): Make string
1524 (logic_error): Same.
1525 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1528 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1532 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1533 string object, not reference.
1534 (runtime_error::runtime_error): Same.
1535 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1537 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1539 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1540 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1541 diagnostics. Remove WFMT_FLAGS.
1542 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1543 * libsupc++/Makefile.am: Likewise.
1544 * src/Makefile.am: Likewise.
1545 * aclocal.m4: Regenerated.
1546 * configure: Regenerated.
1547 * Makefile.in: Regenerated.
1548 * libio/Makefile.in: Regenerated.
1549 * libmath/Makefile.in: Regenerated.
1550 * libsupc++/Makefile.in: Regenerated.
1551 * src/Makefile.in: Regenerated.
1553 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1555 Fixes libstdc++/2079
1556 * include/backward/iomanip.h: Expose <ios> manipulators to global
1558 * include/backward/iostream.h: Also expose std::ws.
1560 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1562 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1564 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1566 * include/bits/codecvt.h: Use __builtin_alloca.
1567 * include/bits/ostream.tcc: Same.
1568 * include/bits/fstream.tcc: Same.
1570 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1572 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1574 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1576 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1578 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1581 * include/backward/iostream.h: Expose std::flush in old headers.
1583 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1585 * mknumeric_limits: Remove special-casing on target. Use gcc
1586 instead of g++ to build gen-num-limits.cc
1588 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1590 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1592 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1594 * include/bits/ostream.tcc: Same.
1595 * include/bits/std_ostream.h: Same.
1596 * include/bits/fstream.tcc: Same.
1597 * include/bits/locale_facets.tcc: Add typename.
1598 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1600 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1602 * tests_flags.in: Remove -n flag from call to echo.
1604 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1606 * config/c_locale_gnu.h: Add clocale include.
1608 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1610 * include/bits/stl_config.h: Remove file.
1611 * src/Makefile.am (base_headers): Remove from list.
1612 * configure: Regenerate.
1613 * Makefile.in: Ditto.
1614 * libio/Makefile.in: Ditto.
1615 * libmath/Makefile.in: Ditto.
1616 * libsupc++/Makefile.in: Ditto.
1617 * src/Makefile.in: Ditto.
1619 * include/bits/c++config: Move relevant macros to here.
1620 * include/backward/alloc.h: Include c++config.h instead.
1621 * include/backward/function.h: Ditto.
1622 * include/backward/heap.h: Ditto.
1623 * include/backward/pair.h: Ditto.
1624 * include/bits/pthread_allocimpl.h: Ditto.
1625 * include/bits/std_functional.h: Ditto.
1626 * include/bits/std_iterator.h: Ditto.
1627 * include/bits/std_numeric.h: Ditto.
1628 * include/bits/std_utility.h: Ditto.
1629 * include/bits/stl_algobase.h: Ditto.
1630 * include/bits/type_traits.h: Ditto.
1631 * src/stl-inst.cc: Ditto.
1633 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1635 * include/bits/basic_file.h: Add #pragma system_header
1636 * include/bits/basic_ios.h: Ditto.
1637 * include/bits/basic_string.h: Ditto.
1638 * include/bits/char_traits.h: Ditto.
1639 * include/bits/codecvt.h: Ditto.
1640 * include/bits/cpp_type_traits.h: Ditto.
1641 * include/bits/fpos.h: Ditto.
1642 * include/bits/gslice.h: Ditto.
1643 * include/bits/gslice_array.h: Ditto.
1644 * include/bits/indirect_array.h: Ditto.
1645 * include/bits/ios_base.h: Ditto.
1646 * include/bits/limits_generic.h: Ditto.
1647 * include/bits/locale_facets.h: Ditto.
1648 * include/bits/localefwd.h: Ditto.
1649 * include/bits/mask_array.h: Ditto.
1650 * include/bits/sbuf_iter.h: Ditto.
1651 * include/bits/sequence_concepts.h: Ditto.
1652 * include/bits/slice.h: Ditto.
1653 * include/bits/slice_array.h: Ditto.
1654 * include/bits/std_algorithm.h: Likewise.
1655 * include/bits/std_bitset.h: Likewise.
1656 * include/bits/std_complex.h: Likewise.
1657 * include/bits/std_deque.h: Likewise.
1658 * include/bits/std_fstream.h: Likewise.
1659 * include/bits/std_functional.h: Likewise.
1660 * include/bits/std_iomanip.h: Likewise.
1661 * include/bits/std_ios.h: Likewise.
1662 * include/bits/std_iosfwd.h: Likewise.
1663 * include/bits/std_iostream.h: Likewise.
1664 * include/bits/std_istream.h: Likewise.
1665 * include/bits/std_iterator.h: Likewise.
1666 * include/bits/std_list.h: Likewise.
1667 * include/bits/std_locale.h: Likewise.
1668 * include/bits/std_map.h: Likewise.
1669 * include/bits/std_memory.h: Likewise.
1670 * include/bits/std_numeric.h: Likewise.
1671 * include/bits/std_ostream.h: Likewise.
1672 * include/bits/std_queue.h: Likewise.
1673 * include/bits/std_set.h: Likewise.
1674 * include/bits/std_sstream.h: Likewise.
1675 * include/bits/std_stack.h: Likewise.
1676 * include/bits/std_stdexcept.h: Likewise.
1677 * include/bits/std_streambuf.h: Likewise.
1678 * include/bits/std_string.h: Likewise.
1679 * include/bits/std_utility.h: Likewise.
1680 * include/bits/std_valarray.h: Likewise.
1681 * include/bits/std_vector.h: Likewise.
1682 * include/bits/stringfwd.h: Likewise.
1683 * include/bits/type_traits.h: Likewise.
1684 * include/bits/valarray_array.h: Likewise.
1685 * include/bits/valarray_meta.h: Likewise.
1687 2001-02-19 Andreas Jaeger <aj@suse.de>
1689 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1692 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1695 * include/bits/std_ostream.h: Replaced usage of
1696 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1697 * include/bits/char_traits.h: Removed non-standard
1698 methods that cannot be used elsewhere.
1701 * include/bits/basic_ios.h: Uncommented #include of
1705 * include/bits/codecvt.h: See next...
1706 * include/bits/fstream.tcc: See next...
1707 * include/bits/ostream.tcc: Add __extension__
1708 to variable-length arrays.
1711 * include/bits/localefwd.h: Changed int counter type to size_t.
1714 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1716 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1718 * testsuite/21_strings/char_traits.cc: Move to ...
1719 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1720 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1721 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1723 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1725 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1728 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1730 * include/bits/c++config: Revert.
1732 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1734 * include/bits/istream.tcc: Use ios_base::iostate in place of
1735 iostate throughout. Insert `typename' keyword where necessary.
1736 * include/bits/ostream.tcc: Insert `typename' keyword where
1739 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1741 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1742 Define so library is compliant.
1744 2001-02-15 Anthony Green <green@redhat.com>
1746 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1748 * aclocal.m4: Regenerate.
1749 * configure: Regenerate.
1751 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1753 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1754 Include ieeefp.h for fpclass on UnixWare{2,7}.
1755 * aclocal.m4: Regenerate.
1756 * configure: Regenerate.
1757 * mkcheck.in (size_command): Do without GNU-grep when using
1760 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1762 Remove old ABI support from libsupc++.
1763 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1764 * libsupc++/exception_support.cc: Likewise.
1765 * libsupc++/pure.cc: Likewise.
1766 * libsupc++/tinfo.cc: Likewise.
1767 * libsupc++/tinfo.h: Likewise.
1768 * libsupc++/tinfo2.cc: Likewise.
1769 * libsupc++/typeinfo: Likewise.
1770 * libsupc++/vec.cc: Likewise.
1772 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1774 Add support for -fno-exceptions.
1775 * include/bits/exception_support.h: Remove.
1776 * include/bits/basic_string.h: Remove exception_support.
1777 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1779 (string::substr): Same.
1780 * include/bits/basic_string.tcc (string::reserve): Replace
1781 __LENGTHERROR with __throw_length_error.
1782 (string::_S_create): Same.
1783 (string::resize): Same.
1784 (string::_M_replace): Same.
1785 (string::replace): Same.
1786 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1787 (string::compare): Same.
1788 * include/bits/stl_vector.h: Remove exception_support.
1789 * src/Makefile.am (base_headers): Remove here.
1790 * src/Makefile.in: Regenerate.
1792 * include/bits/stl_range_errors.h: Remove.
1793 * include/bits/stl_deque.h: Use __throw_range_error.
1794 * include/bits/std_deque.h: Include functexcept.h.
1795 * include/bits/std_vector.h: Same.
1796 * src/Makefile.am (base_headers): Remove here.
1797 * src/Makefile.in: Regenerate.
1798 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1799 * include/ext/bvector: Remove stl_range_errors.h
1801 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1803 * include/bits/functexcept.h: New file.
1804 * src/functexcept.cc: New file. Definitions for function-based
1806 * src/Makefile.am (sources): Add functexcept.cc.
1807 * src/Makefile.in: Regenerate.
1809 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1812 * include/bits/localefwd.h: Include functexcept.h.
1813 * include/bits/std_iosfwd.h: Same.
1815 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1816 throw basic_ios::failure.
1817 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1818 Use __throw_exception_again.
1819 (filebuf::_M_filebuf_init): Same.
1820 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1821 * include/bits/ostream.tcc (ostream::operator<<): Same.
1822 * include/bits/istream.tcc (istream::operator>>): Same.
1823 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1824 (string::_S_construct): Same.
1825 (string::_M_clone): Same.
1826 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1828 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1829 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1830 __throw_exception_again.
1831 (locale::_Imp::_Imp(string, size_t): Same.
1832 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1833 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1834 (locale::locale(const char*)): Use __throw_runtime_error.
1835 (locale::classic): Use __throw_exception_again.
1836 (locale::_S_normalize_category): Use __throw_runtime_error.
1838 * src/stdexcept.cc: Remove cruft.
1840 * libsupc++/exception_defines.h: New file.
1841 * libsupc++/new_opnt.cc: Include exception_defines.h.
1842 * libsupc++/vec.cc: Same.
1843 (__cxa_vec_new2): Use __throw_exception_again.
1844 (__cxa_vec_new3): Same.
1845 (__cxa_vec_ctor): Same.
1846 (__cxa_vec_delete3): Same.
1847 (__cxa_vec_cctor): Same.
1848 (__cxa_vec_delete2): Same.
1849 (__cxa_vec_dtor): Same.
1850 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1851 compile exception-handling bits if __EXCEPTIONS is defined.
1852 Remove old ABI support.
1853 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1854 std::__throw_bad_alloc() instead of throw bad_alloc.
1855 * libsupc++/Makefile.am: Add exception_defines.h.
1856 * libsupc++/Makefile.in: Reformat.
1857 * libsupc++/*: Format.
1859 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1861 * docs/html/configopts.html: Minor updates and typo fixes.
1862 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1863 * docs/html/faq/index.txt: Regenerated.
1865 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1867 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1868 dejagnu/dg.exp. Adapt to log options used to run testcases.
1870 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1872 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1875 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1876 Phil Edwards <pme@sources.redhat.com>
1878 * include/backward/function.h: Do not use rel_ops for older
1880 * include/backward/pair.h: Likewise.
1882 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1884 * src/locale.cc: Remove bogus locale::id definitions.
1886 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1888 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1889 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1891 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1892 thinko in member initialisation.
1894 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1896 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1897 comparaison between signed and unsigned integer types.
1898 (valarray<>::cshift): Reformat.
1900 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1902 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1903 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1904 * configure.in: Test for sigsetjmp.
1905 * configure, config.h.in: Rebuilt.
1907 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1909 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1910 lengths and strides.
1911 (__gslice_to_index): Document.
1913 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1915 * include/bits/char_traits.h char_traits<char>::int_type: Change
1916 to `int' to match 21.1.3.1/2.
1918 * testsuite/21_strings/char_traits-int_type.C: New test.
1920 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1922 * testsuite/Makefile.am: New file.
1924 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1926 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1928 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1930 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1932 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1934 * configure.target (aix4*): Remove extra set of brackets.
1936 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1939 * include/bits/stringfwd.h: New file.
1940 * include/bits/stl_string_fwd.h: Remove.
1941 * include/bits/localefwd.h: Remove declaration for allocator.
1942 * include/bits/std_iosfwd: Same.
1943 * include/bits/std_string.h: Include it.
1944 * include/bits/std_ios.h: Remove include.
1945 * include/bits/basic_string.h: Tweak.
1946 * libsupc++/new: Format.
1947 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1949 * src/Makefile.in: Regenerate.
1950 * include/bits/std_stdexcept.h: Rewrite.
1951 * src/stdexcept.cc: Same.
1953 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1955 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1956 install locations too.
1957 * aclocal.m4: Regenerate.
1958 * configure.in: Remove USE_LIBDIR.
1959 * configure: Regenerate.
1960 * src/Makefile.am (toolexecdir): Simplify, use
1961 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1962 * src/Makefile.in: Regenerate.
1963 * libsupc++/Makefile.am: Same.
1964 * libsupc++/Makefile.in: Regenerate.
1966 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1967 misc-inst.cc as no longer necessary.
1969 Follow C++STYLE for naming non-static functions.
1970 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1972 * include/bits/streambuf.tcc: Same.
1973 * include/bits/ostream.tcc: Same.
1974 * include/bits/istream.tcc: Same.
1975 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1976 (_S_output_float): To __output_float.
1977 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1979 * include/bits/locale_facets.tcc (_S_build_float_format): To
1980 __build_float_format.
1981 (_S_format): To __output_integer.
1982 (_S_fill): To __pad.
1983 * src/locale.cc: Same.
1984 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1986 * include/bits/locale_facets.tcc (_S_group_digits): To
1988 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1989 for collate, numpunct.
1991 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1993 * docs/html/configopts.html: Fix HTML markup.
1994 * docs/html/install.html: Bring up to date.
1995 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1996 * docs/html/21_strings/howto.html: More notes.
1997 * docs/html/22_locale/howto.html: Fix HTML markup.
1998 * docs/html/27_io/howto.html: More notes.
1999 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2000 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2002 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2004 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2005 to match header files.
2006 (_S_output_float): Likewise.
2007 (_S_copy_streambufs): Likewise.
2009 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2010 Phil Edwards <pme@sources.redhat.com>
2012 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2013 use reinterpret_cast, not static_cast.
2015 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2017 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2018 * aclocal.m4: Regenerate.
2019 * configure: Regenerate.
2021 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2023 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2024 * libsupc++/pure.cc: Revert.
2026 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2028 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2029 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2030 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2031 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2032 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2033 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2034 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2035 * aclocal.m4: Regenerate.
2036 * configure: Regenerate.
2038 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2040 * include/bits/locale_facets.tcc: Remove `static' keyword on
2041 function definitions.
2042 * include/bits/std_streambuf.h: Likewise.
2043 * src/Makefile.am: Remove use of -fimplicit-templates.
2044 * src/Makefile.in: Regenerated.
2045 * src/locale-inst.cc: Explicitly instantiate more functions.
2046 * src/misc-inst.cc: Likewise.
2047 * src/string-inst.cc: Likewise.
2049 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2051 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2052 macro. Consolidate all the bits to do with where includes might be
2054 * aclocal.m4: Regenerate.
2055 * configure.in: Use it.
2056 * configure: Regenerate.
2057 * src/Makefile.am (targetincludep): Use simplified rules.
2058 (targetincludep): Rename gxx_target_include_dir.
2059 (myincludep): Rename gxx_include_dir.
2060 * src/Makefile.in: Regenerate.
2061 * libsupc++/Makefile.am: Use simplified rules.
2062 * libsupc++/Makefile.in: Regenerate.
2064 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2066 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2067 * include/c_std/bits/std_cctype.h: Same.
2068 * include/c_std/bits/std_cassert.h: Same.
2069 * include/c_std/bits/std_cstdarg.h: Same.
2070 * include/c_std/bits/std_cstddef.h: Same.
2072 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2074 * include/c_std/bits/std_ctime.h: Same.
2075 * include/c_std/bits/std_clocale.h: Same.
2076 * include/c_std/bits/std_cmath.h: Same.
2077 * include/c_std/bits/std_csetjmp.h: Same.
2078 * include/c_std/bits/std_csignal.h: Same.
2079 * include/c_std/bits/std_cstring.h: Same.
2080 * include/c_std/bits/std_cstdlib.h: Same.
2081 * include/c_std/bits/std_cwchar.h: Same.
2083 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2085 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2087 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2089 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2090 (string::_S_construct): Likewise.
2092 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2094 * testsuite/config/default.exp: New file.
2095 * testsuite/config: New directory.
2097 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2099 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2100 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2101 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2102 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2104 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2105 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2107 * Makefile.am (mkinstalldirs): Set.
2108 * src/Makefile.am (mkinstalldirs): Set.
2109 * libmath/Makefile.am (mkinstalldirs): Set.
2110 * libsup++/Makefile.am (mkinstalldirs): Set.
2111 * libio/Makefile.am (mkinstalldirs): Set.
2112 * */Makefile.in: Regenerate.
2114 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2116 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2117 * include/bits/localefwd.h: More initialization cleanups.
2119 2001-02-03 Jeffrey A Law <law@cygnus.com>
2121 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2122 correctly targets with 16bit ints.
2123 (_S_ios_openmode_end): Similarly.
2124 (_S_ios_iostate_end): Similarly.
2125 (_S_ios_Seekdir_end): Similarly.
2127 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2129 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2131 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2133 * configure.in (toplevel_srcdir, auxdir): Set.
2134 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2135 * aclocal.m4, configure, Makefile.in: Rebuilt.
2136 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2137 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2138 * libsupc++-v3/Makefile.in: Rebuilt.
2139 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2140 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2142 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2144 * config/c_locale_generic.cc: Remove langinfo include.
2146 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2148 Preliminary named locales.
2149 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2150 * aclocal.m4: Regenerate.
2151 * configure.in: Use it.
2152 * configure: Regerate.
2153 * src/Makefile.am (sources): Add c++locale.cc.
2154 (build_headers): Add c++locale.h.
2155 * src/Makefile.in: Regenerate.
2156 * config/c_locale_gnu.h: New file.
2157 * config/c_locale_gnu.cc: New file. Non-inline member functions
2158 for named locales, gnu-specific.
2159 * config/c_locale_generic.h: New file.
2160 * config/c_locale_generic.cc: New file. Non-inline member
2161 functions for named locales, generic version.
2162 * docs/html/configopts.html: Add documentation on new options.
2164 * include/bits/locale_facets.h (class _Messages): Remove.
2165 (class _Moneypunct): Remove.
2166 * src/locale-inst.cc: Remove.
2168 * include/bits/locale_facets.h (class _Collate): Remove.
2169 * src/locale-inst.cc (std): Remove.
2170 * src/locale.cc: And here.
2172 * include/bits/localefwd.h (locale::_M_coalesce): New
2173 function. Correctly put together multi-name locales.
2174 (_Impl(const _Impl&, category, size_t)): Remove.
2176 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2178 (_M_normalize_category_names): Remove.
2179 (_M_replace_categories): Fix.
2181 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2182 (locale::_Impl::_M_construct_ctype): Remove.
2183 (locale::_Impl::_M_construct_monetary): Remove.
2184 (locale::_Impl::_M_construct_numeric): Remove.
2185 (locale::_Impl::_M_construct_time): Remove.
2186 (locale::_Impl::_M_construct_messages): Remove.
2188 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2189 (_Use_facet_failure_handle): Remove.
2190 * src/locale.cc: Remove definitions.
2191 * src/locale-inst.cc: And here.
2193 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2195 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2196 create and error-check underlying locale object.
2197 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2198 tearing down underlying locale object.
2199 * include/bits/localefwd.h (locale::facet): Declare.
2200 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2201 correctness, as glibc apparently has incorrect info in it. Test
2202 with it when it works again.....
2204 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2205 Remove. Number of categories is fixed at six, so just simplify and
2206 make this an array of strings.
2207 (locale::_Impl::_M_has_name): Remove.
2208 (locale::_Impl::_M_name): Remove.
2209 (locale::_Impl::_M_category_names): Turns into...
2210 (locale::_Impl::_M_names): ...this.
2211 (locale::_Impl::_M_has_same_name()): New function.
2212 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2213 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2215 * src/locale.cc (locale::name()): Construct mangled name
2216 accurately reflecting combined locale categories.
2218 * src/locale.cc (locale::classic()): Don't initialize here.
2219 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2220 __refs, bool __has_name, string __str): Do it here.
2222 * include/bits/localefwd.h: _S_categories_num to
2223 _S_num_categories. _S_facets_num to _S_num_facets.
2224 (locale::id::id()): Explicitly set _M_index to zero.
2225 * src/locale.cc: Same.
2227 * src/locale.cc: (locale::locale(const char*)): Construct named
2230 * src/locale.cc: Remove numpunct_byname ctors.
2231 * testsuite/22_locale/numpunct_byname.cc: New file.
2232 * testsuite/22_locale/numpunct.cc: New file.
2234 * include/bits/localefwd.h (class locale): Change data members to
2235 protected, from private.
2236 (_Impl::_M_get_c_locale): Add member function.
2237 (locale::facet::_M_get_global_impl()): Add member function.
2238 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2239 a __c_locale pointer.
2240 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2242 * testsuite/22_locale/members.cc: New file, test name and combine.
2244 * include/bits/locale_facets.h (class numpunct): Remove class
2245 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2247 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2248 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2249 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2250 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2251 * testsuite/22_locale/numpunct_char_members.cc: New file.
2253 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2255 * testsuite/README: Add more comment.
2256 * testsuite/lib/libstdc++.exp: Tweak comment.
2258 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2260 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2262 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2264 * testsuite/21_strings/inserters_extractors.cc: Remove
2265 explicit reference to 'testsuite/'.
2267 2001-01-25 Richard Henderson <rth@redhat.com>
2269 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2270 bits. Fixes Tru64 build issues.
2272 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2274 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2275 (use ${MAKE-make}, not ${MAKE:-make}).
2276 * aclocal.m4, configure: Regenerate.
2278 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2280 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2283 * src/Makefile.am (sources): Add globals.cc.
2284 * src/Makefile.in: Regenerated.
2285 * src/globals.cc: New file.
2286 * src/ios.cc (cin): Don't define here, just declare extern.
2295 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2297 * include/bits/std_iterator.h: Do not include stl_relops.h.
2298 * include/bits/std_numeric.h: Ditto.
2299 * include/bits/stl_algobase.h: Ditto.
2300 * include/bits/stl_relops.h: Add comment warning about problems.
2302 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2304 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2305 in testcases. Prepare for the DejaGnu based framework.
2306 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2307 directory -- it is now mkcheck working directory.
2308 * tests_flags.in: Remove reference to $(top_srcdir). Use
2310 * Makefile.am (check, check-install): Change mkcheck invocation
2312 * Makefile.in: Regenerate.
2314 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2316 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2317 (__always_swap): Likewise.
2319 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2321 * libsupc++/exception_support.cc (__terminate_func): Remove
2323 (__terminate_func_ptr): New typedef.
2324 (__terminate, __terminate_set_func): New extern function
2326 (std::terminate): Use __terminate function.
2327 (std::set_terminate): Use __terminate_set_func function.
2329 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2331 * configure.target: Just use os_include_dir always.
2332 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2333 Link atomicity files and ctype files here.
2334 * configure: Regenerate.
2335 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2336 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2337 * aclocal.m4: Regenerate.
2339 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2341 * configure.in: Place definition of MULTISUBDIR in
2342 libsupc++/Makefile as is done for src/Makefile.
2343 * configure: Regenerate.
2345 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2347 * acinclude.m4: Cosmetic changes only.
2348 * aclocal.m4: Regenerated.
2349 * configure: Regenerated.
2350 * configure.target: Update documented list of changed variables.
2351 * docs/html/install.html: Fix typo.
2352 * docs/html/20_util/howto.html: More notes on auto_ptr.
2353 * docs/html/27_io/howto.html: More notes on streabufs.
2354 * docs/html/faq/index.html: Add rel_ops problem and mention the
2355 DEC as(1) .subsection difficulty.
2356 * docs/html/faq/index.txt: Regenerated.
2358 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2360 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2361 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2362 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2363 its already provided in config.target.
2364 * aclocal.m4: Regenerated.
2365 * configure: Likewise.
2366 * configure.target: Set ctype_include_dir for lots of systems.
2367 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2368 * libsupc++/Makefile.in: Regenerated.
2370 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2372 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2375 * testsuite/README: Add comment.
2377 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2379 * docs/html/configopts.html: Update for current status. Fix HTML.
2380 * docs/html/install.html: Update for current status.
2382 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2384 * testsuite/libstdc++.tests/tests.exp: New file.
2385 * testsuite/lib/libstdc++.exp: Itou.
2386 * testsuite/README: Itou.
2388 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2390 * tests_flags.in: Just output the bare minimum to run tests.
2391 Let's the caller do its own arrangement.
2393 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2396 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2398 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2401 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2403 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2405 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2407 * mkcheck.in: Construct file names that match $objdir structure.
2408 * testsuite/27_io/filebuf_members-1.txt: New file.
2409 * testsuite/27_io/ifstream_members-1.txt: New file.
2410 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2412 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2413 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2415 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2417 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2419 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2422 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2423 * src/ios.cc (ios_base::failure): Make definitions match.
2424 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2425 (class bad_cast): Same.
2426 * libsupc++/exception (class exception): Add throw specs.
2427 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2428 (set_unexpected): Same.
2429 (uncaught_exception): Same.
2432 * docs/html/17_intro/C++STYLE (classname): Fix.
2434 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2436 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2437 Use it do explicitly instantiate predicate<T> and value<T> for
2440 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2442 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2443 uninitialized thinko in last change.
2445 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2447 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2450 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2452 * docs/html/17_intro/C++STYLE (classname): Add more existing
2453 and stylish patterns.
2456 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2457 failbit if the state of the stream is not good.
2458 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2459 * testsuite/27_io/istream_manip.cc (test01): Modify.
2462 reported by Paolo Carlini <pcarlini@unitus.it>
2463 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2464 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2467 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2468 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2469 (xsgetn): Same. Simplify.
2470 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2472 reported by Larry Evans <jcampbell3@prodigy.net>
2473 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2474 equality with eof on returned value from overflow.
2476 2001-01-14 Andreas Jaeger <aj@suse.de>
2478 * libio/libio.h: Add test for glibc 2.0.
2480 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2482 * config/os/djgpp/bits/*: Fix dates.
2484 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2485 _CharT* __end, _CharT __c): Remove.
2486 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2487 * include/bits/char_traits.h: Tweak.
2489 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2491 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2492 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2494 * aclocal.m4: regenerated.
2495 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2496 * configure: regenerated.
2497 * config/os/djgpp, config/os/djgpp/bits: new directories.
2498 * config/os/djgpp/bits/ctype_base.h,
2499 config/os/djgpp/bits/ctype_inline.h,
2500 config/os/djgpp/bits/ctype_noninline.h,
2501 config/os/djgpp/bits/os_defines.h: new files.
2503 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2505 * include/c_std/bits/std_cstdio.h: Undef printf.
2507 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2509 * src/ios.cc: Fix typo: change cout->wcout.
2511 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2512 * src/Makefile.in: Regenerate.
2514 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2516 * include/bits/std_complex.h: Fix a typo.
2518 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2521 Fixes for libstdc++/1576
2522 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2523 file, move contents into....
2524 * src/ios.cc: ...Here. Put defines for iostreams objects and
2525 initialization routines into one file to simplify DSO interaction.
2526 * include/bits/std_iostream.h: Touch.
2527 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2528 * src/Makefile.am (sources): Remove stdstreams.cc.
2529 * src/Makefile.in: Regenerate.
2531 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2533 * tests_flags.in (check_directory): Fix typo.
2535 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2537 * include/bits/std_complex.h: Fix a typo.
2539 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2541 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2542 code path:) Remove magic constants and restructure to handle
2543 ctype.h bit mask layout changes more gracefully. (Make fast
2544 code path:) Use __maskrune (), if available.
2545 (is): Remove special case for digit and xdigit masks.
2547 2001-01-09 Robert Lipe <robertlipe@usa.net>
2549 * include/c_std/bits/std_ctime.h: Undefine difftime.
2551 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2553 * src/gen-num-limits.cc (signal_adapter): New template function.
2554 (signal_handler): Use it, instead of signal.
2555 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2556 require both tests to trap to set trap_flag.
2558 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2560 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2561 initialize mbstate_t member, name offset data members *off, not pos.
2562 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2564 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2566 reported by Chris G. Demetriou <cgd@sibyte.com>
2567 * configure.in: Change -linux-* to -linux*.
2568 * configure: Regenerate.
2570 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2572 Fix 27_io/filebuf_members.cc
2573 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2574 const string& __name, category __cat, size_t __refs): Set
2575 _M_has_name with _M_name.
2576 * include/bits/localefwd.h (locale::operator!=): Protect member
2577 function call with this->.
2578 * src/locale.cc (locale::operator==): Make fast checks first.
2579 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2581 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2583 * src/ios.cc (ios_base::Init::Init): Initialize here.
2584 (ios_base::sync_with_stdio): Set here.
2586 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2588 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2589 systems that support it, call dup() before fdopen().
2591 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2593 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2594 * testsuite/17_intro/header_cwctype.cc (main): New file.
2596 * src/Makefile.am (base_headers): Change.
2597 * include/bits/std_string.h: And here.
2598 * include/bits/string.tcc: Tweaks, move to...
2599 * include/bits/basic_string.tcc: ...Here.
2600 * src/string-inst.cc: Simplify, just instantiate the whole class,
2601 not member-by-member.
2603 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2605 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2606 * aclocal.m4: Regenerate.
2607 * configure: Regenerate.
2609 * include/bits/c++config (__GLIBCPP__): Bump version number.
2611 * ChangeLog: Start new log for year 2001
2612 * ChangeLog-2000: New file.
2614 * docs/html/configopts.html: Make sure default values are current,
2617 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2619 * include/c_std/bits/std_cwchar.h: Same.
2620 * testsuite/17_intro/header_cwchar.cc: Same.
2621 * include/c_std/bits/std_ctime.h: Same.
2622 * testsuite/17_intro/header_ctime.cc: Same.
2623 * include/c_std/bits/std_cstdlib.h: Same.
2624 Clean up undefs, make consistent with cwchar and cmath, etc.
2625 * testsuite/17_intro/header_cstdlib.cc: Same.
2626 * include/c_std/bits/std_cstdio.h: Same here.
2627 * testsuite/17_intro/header_cstring.cc: Same.
2628 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2629 * testsuite/17_intro/header_cstring.cc: New file. Check for
2630 size_t in namespace std.
2632 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2633 * acconfig.h (HAVE_MBSTATE_T): Add.
2634 * config.h.in: Regenerate.
2635 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2637 * aclocal.m4: Regenerate.
2638 * configure: Regenerate.
2639 * testsuite/17_intro/headers_c++.cc: New file.
2640 * testsuite/17_intro/headers_c.cc: Small changes.
2642 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2644 * tests_flags.in: Fix typo in usage.
2646 * tests_flags.in: Set target specific LIBS for cygwin.