+2003-03-14 Loren J. Rittle <ljrittle@acm.org>
+
+ * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
+ missing named locale.
+
+2003-03-14 Andreas Schwab <schwab@suse.de>
+
+ * configure.in: Only append to makefiles that are newly created to
+ avoid multiple multi-do/multi-clean rules.
+ * configure: Rebuilt.
+
+2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/configopts.html, docs/html/documentation.html,
+ docs/html/explanations.html, docs/html/install.html,
+ docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
+ invalid XHTML and make page header style consistent.
+
+2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
+ * docs/html/faq/index.txt: Regenerate.
+ * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
+
+2003-03-12 Andreas Schwab <schwab@suse.de>
+
+ * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
+ glibcpp_toolexeclibdir.
+ * aclocal.m4, configure: Rebuilt.
+
+2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/faq/index.html: Update text about location of headers.
+ * docs/html/faq/index.txt: Regenerate.
+
+2003-03-11 Carlo Wood <carlo@alinoe.com>
+
+ * include/bits/demangle.h: Prepend accessors of
+ class qualifier with 'get_' in order to fix warnings
+ when compiling with -Wshadow.
+
+2003-03-11 Loren J. Rittle <ljrittle@acm.org>
+
+ * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
+ when so installed.
+ * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
+
+ * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
+ report lack of setenv().
+
+2003-03-09 Paolo Carlini <pcarlini@unitus.it>
+
+ * config/io/basic_file_stdio.cc: include <unistd.h>.
+
+2003-03-09 Paolo Carlini <pcarlini@unitus.it>
+ Nathan Myers <ncm@cantrip.org>
+
+ PR libstdc++/7744
+ * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
+ seekoff, seekpos): Add a boolean parameter __stdio.
+ * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
+ seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
+ fseek/ftell, respectively), otherwise read (write, lseek, lseek,
+ respectively).
+ * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
+ _M_really_overflow, seekoff): Use the boolean parameter in the calls.
+ * include/std/std_fstream.h (sync): Likewise.
+ * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
+ * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
+ libstdc++/8399 commit involving isatty(0).
+ * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
+ (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
+ * configure.in: Remove call.
+ * aclocal.m4: Regenerate.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
+
+2003-03-09 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9988
+ * include/bits/fstream.tcc (overflow): don't write EOF to file.
+ * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
+
+2003-03-08 Jerry Quinn <jlquinn@optonline.net>
+
+ PR libstdc++/9561
+ * include/bits/basic_ios.h (_M_setstate): New.
+ * include/bits/ostream.tcc (operator<<): Use it.
+ * include/bits/istream.tcc (operator>>): Use it.
+ * include/std/std_ostream.h (operator<<): Make friends.
+ * include/std/std_istream.h (operator>>): Make friends.
+ * testsuite/27_io/ostream_exception.cc,
+ testsuite/27_io/istream_exception.cc: New tests.
+
+2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/locale_facets.tcc: Fix typo.
+
+2003-03-08 Loren J. Rittle <ljrittle@acm.org>
+
+ * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
+
+ * config/locale/generic/c_locale.cc
+ (locale::facet::_S_create_c_locale): Throw runtime exception when
+ unsupported language is specified.
+ * testsuite/testsuite_hooks.h
+ (run_test_wrapped_generic_locale_exception_catcher): New function.
+ * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
+ Suppress runtime exception thrown by generic implementation.
+ (run_tests_wrapped_env): Likewise.
+ (run_test_wrapped_generic_locale_exception_catcher): New function.
+ * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
+ * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
+ * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
+ * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
+ * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
+ * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
+ * testsuite/22_locale/collate_byname/1.cc: New test wrap.
+ * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
+ * testsuite/22_locale/facet/2.cc: New test wrap.
+ * testsuite/22_locale/locale/cons/4.cc: New test wrap.
+ * testsuite/22_locale/locale/cons/5.cc: New test wrap.
+ * testsuite/22_locale/locale/cons/7.cc: New test wrap.
+ * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
+ * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
+ * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
+ * testsuite/22_locale/messages_byname/1.cc: New test wrap.
+ * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
+ * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
+ * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
+ * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
+ * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
+ * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
+ * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
+ * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
+ * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
+ * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
+ * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
+ * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
+ * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
+ * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
+ * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
+ * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
+ * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
+ * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
+ * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
+ * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
+ * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
+ * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
+ * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
+ * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
+ * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
+ * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
+ * testsuite/27_io/ios_members.cc: New test wrap.
+ * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
+ New test wrap.
+ * testsuite/27_io/streambuf_members.cc: New test wrap.
+ * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
+
+2003-03-08 Paolo Carlini <pcarlini@unitus.it>
+ Petur Runolfsson <peturr02@ru.is>
+
+ PR libstdc++/9424
+ * include/bits/streambuf.tcc (__copy_streambufs): Use
+ sgetn-sputn only when sputn cannot fail, otherwise fall back
+ to safe snextc-sputc.
+ * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
+
+2003-03-08 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
+ locale cache for truename and falsename.
+
+2003-03-08 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
+ _M_word_size initialization.
+
+2003-03-07 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/fstream.tcc (_M_convert_to_external):
+ Set __elen to zero if codecvt::out eventually fails.
+
+2003-03-07 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9182
+ * include/bits/fstream.tcc (_M_really_overflow): Check
+ for _M_convert_to_external possible failures.
+ * include/std/std_fstream.h (sync): Check _M_really_overflow
+ return value and return -1 in case of failure.
+ * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
+
+2003-03-07 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9826
+ * include/bits/istream.tcc (operator>>(_CharT*),
+ operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
+ * testsuite/27_io/stringstream.cc (test02): Add.
+
+ * include/bits/istream.tcc (operator>>(_CharT*)):
+ Assign a char_type to *__s.
+
+2003-03-07 Petur Runolfsson <peturr02@ru.is>
+
+ PR libstdc++/9817
+ * include/bits/locale_facets.tcc
+ (collate::do_compare, collate::do_transform):
+ Handle nul characters in input.
+ * testsuite/22_locale/collate/compare/char/3.cc: New test.
+ * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
+ * testsuite/22_locale/collate/transform/char/3.cc: New test.
+ * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
+
+2003-03-07 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
+ sputn fails.
+ * testsuite/27_io/ostream_fail.cc: New test.
+
+2003-03-07 Matthias Klose <doko@debian.org>
+
+ * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
+ FLAGS_TO_PASS: Set to AM_MAKEFLAGS
+ * Makefile.in: Regenerate.
+ * libsupc++/Makefile.am: Express glibcppinstalldir in terms
+ of gxx_include_dir.
+ AM_MAKEFLAGS: Pass gxx_include_dir.
+ * libsupc++/Makefile.in: Regenerate.
+
+2003-03-06 Jerry Quinn <jlquinn@optonline.net>
+
+ * testsuite/27_io/ios_base_storage.cc (test02): Set exception
+ mask. Test setting small-numbered pword and iword slots. Test
+ behavior at limit of numeric_limits::max. Check that values are
+ still good after failures.
+
+2003-03-06 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
+ (ios_base::ios_base): Set _M_word, _M_word_size.
+ (ios_base::~ios_base): Remove redundant test.
+ * testsuite/27_io/ios_base_storage.cc (test03): New.
+
+2003-03-04 Alexandre Oliva <aoliva@redhat.com>
+
+ * src/strstream.cc, include/bits/basic_string.tcc: Remove
+ incorrect whitespace added in my previous change.
+
+2003-03-05 Carlo Wood <carlo@alinoe.com>
+
+ * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
+ _S_initialized() in order to allow debugging libraries to detect
+ when the std streams are initialized from an overloaded operator
+ new.
+
+2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * libsupc++/demangle.h: Move to..
+ * include/bits/demangle.h: ...here.
+ * src/demangle.cc: Adjust include.
+ * include/Makefile.am (bits_headers): Add.
+ * include/Makefile.in: Regenerate.
+
+2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
+
+ * config/linker-map.gnu: Filter typeinfo and vtable info.
+
+2003-03-04 Jerry Quinn <jlquinn@optonline.net>
+
+ * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
+ new failure. Throw exception if badbit and exception mask when ix
+ >= numeric_limits<int>::max().
+
+2003-03-04 Alexandre Oliva <aoliva@redhat.com>
+
+ * src/strstream.cc (strstreambuf::overflow): Make sure operands of
+ min and max have the same type.
+ * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
+
+2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/Makefile.am (allstamps): Remove stamp-std-precompile.
+ * include/Makefile.in: Regenerate.
+
+2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/abi_check.cc (report_symbol_info): Add version info.
+
+ * config/linker-map.gnu: Hide more stuff.
+ * include/Makefile.am: Cleanups.
+ * include/Makefile.in: Regenerate.
+
+2003-02-27 Jerry Quinn <jlquinn@optonline.net>
+
+ * config/locale/generic/messages_members.h (messages::messages):
+ Remove name from unused parameter.
+
+2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
+
+ * src/Makefile.am (sources): Add demangle.cc.
+ (demangle.o): Add.
+ (demangle.lo): Add.
+ * src/Makefile.in: Regenerate.
+ * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
+ * libsupc++/Makefile.in: Regenerate.
+
+ * testsuite/testsuite_hooks.h
+ (__gnu_cxx_test::verify_demangle): New.
+ * testsuite/testsuite_hooks.cc: Define.
+
+2003-02-27 Carlo Wood <carlo@alinoe.com>
+
+ * src/demangle.cc: New.
+ * libsupc++/demangle.h: New.
+
+2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
+ Carlo Wood <carlo@alinoe.com>
+
+ * testsuite/demangle/abi_examples/01.cc: New.
+ * testsuite/demangle/abi_examples/02.cc: New.
+ * testsuite/demangle/abi_examples/03.cc: New.
+ * testsuite/demangle/abi_examples/04.cc: New.
+ * testsuite/demangle/abi_examples/05.cc: New.
+ * testsuite/demangle/abi_examples/06.cc: New.
+ * testsuite/demangle/abi_examples/07.cc: New.
+ * testsuite/demangle/abi_examples/08.cc: New.
+ * testsuite/demangle/abi_examples/09.cc: New.
+ * testsuite/demangle/abi_examples/10.cc: New.
+ * testsuite/demangle/abi_examples/11.cc: New.
+ * testsuite/demangle/abi_examples/12.cc: New.
+ * testsuite/demangle/abi_examples/13.cc: New.
+ * testsuite/demangle/abi_examples/14.cc: New.
+ * testsuite/demangle/abi_examples/15.cc: New.
+ * testsuite/demangle/abi_examples/16.cc: New.
+ * testsuite/demangle/abi_examples/17.cc: New.
+ * testsuite/demangle/abi_examples/18.cc: New.
+ * testsuite/demangle/abi_examples/19.cc: New.
+ * testsuite/demangle/abi_examples/20.cc: New.
+ * testsuite/demangle/abi_examples/21.cc: New.
+ * testsuite/demangle/abi_examples/22.cc: New.
+ * testsuite/demangle/abi_examples/23.cc: New.
+ * testsuite/demangle/abi_examples/24.cc: New.
+ * testsuite/demangle/abi_examples/25.cc: New.
+ * testsuite/demangle/abi_examples/26.cc: New.
+ * testsuite/demangle/abi_text/01.cc: New.
+ * testsuite/demangle/abi_text/02.cc: New.
+ * testsuite/demangle/abi_text/03.cc: New.
+ * testsuite/demangle/abi_text/04.cc: New.
+ * testsuite/demangle/abi_text/05.cc: New.
+ * testsuite/demangle/abi_text/06.cc: New.
+ * testsuite/demangle/abi_text/07.cc: New.
+ * testsuite/demangle/abi_text/08.cc: New.
+ * testsuite/demangle/abi_text/09.cc: New.
+ * testsuite/demangle/abi_text/10.cc: New.
+ * testsuite/demangle/abi_text/11.cc: New.
+ * testsuite/demangle/abi_text/12.cc: New.
+ * testsuite/demangle/abi_text/13.cc: New.
+ * testsuite/demangle/abi_text/14.cc: New.
+ * testsuite/demangle/regression/3111-1.cc: New.
+ * testsuite/demangle/regression/3111-2.cc: New.
+ * testsuite/demangle/regression/7986-01.cc: New.
+ * testsuite/demangle/regression/7986-02.cc: New.
+ * testsuite/demangle/regression/7986-03.cc: New.
+ * testsuite/demangle/regression/7986-04.cc: New.
+ * testsuite/demangle/regression/7986-05.cc: New.
+ * testsuite/demangle/regression/7986-06.cc: New.
+ * testsuite/demangle/regression/7986-07.cc: New.
+ * testsuite/demangle/regression/7986-08.cc: New.
+ * testsuite/demangle/regression/7986-09.cc: New.
+ * testsuite/demangle/regression/7986-10.cc: New.
+ * testsuite/demangle/regression/7986-11.cc: New.
+ * testsuite/demangle/regression/7986-12.cc: New.
+ * testsuite/demangle/regression/7986.cc: New.
+ * testsuite/demangle/regression/8897.cc: New.
+ * testsuite/demangle/regression/cw-01.cc: New.
+ * testsuite/demangle/regression/cw-02.cc: New.
+ * testsuite/demangle/regression/cw-03.cc: New.
+ * testsuite/demangle/regression/cw-04.cc: New.
+ * testsuite/demangle/regression/cw-05.cc: New.
+ * testsuite/demangle/regression/cw-06.cc: New.
+ * testsuite/demangle/regression/cw-07.cc: New.
+ * testsuite/demangle/regression/cw-08.cc: New.
+ * testsuite/demangle/regression/cw-09.cc: New.
+ * testsuite/demangle/regression/cw-10.cc: New.
+ * testsuite/demangle/regression/cw-11.cc: New.
+ * testsuite/demangle/regression/cw-12.cc: New.
+ * testsuite/demangle/regression/cw-13.cc: New.
+ * testsuite/demangle/regression/cw-14.cc: New.
+ * testsuite/demangle/regression/old.cc: New.
+
+2003-02-25 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/doxygen/Intro.3: Update with new (proper) names.
+ * docs/doxygen/TODO: Update.
+ * docs/doxygen/run_doxygen: More comments, fix up man pages.
+ Fake entries for standard typedefs.
+ * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
+ * docs/html/documentation.html: Top-level man page is now called
+ C++Intro.
+ * include/std/std_limits.h: Doxygenate.
+
+2003-02-25 Scott Snyder <snyder@fnal.gov>
+
+ PR libstdc++/9811
+ * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
+ Correct documentation.
+ * include/bits/stl_multimap.h (lower_bound, upper_bound,
+ equal_range): Likewise.
+
+2003-02-24 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9825
+ * src/fstream.cc
+ (basic_filebuf<char/wchar_t>::_M_underflow_common): When
+ __bump is true (uflow), always increment the read pointer
+ (_M_in_cur) before returning successfully.
+ * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
+
+2003-02-24 Paolo Carlini <pcarlini@unitus.it>
+ Nathan Myers <ncm@cantrip.org>
+
+ PR libstdc++/9404, PR libstdc++/9701 (partial)
+ (aka pptr == epptr implies overflow)
+ * include/bits/fstream.tcc (_M_allocate_internal_buffer):
+ Consistently, _M_out_end points to the end of the buffer just
+ created.
+ (overflow): Tweak to use _M_out_buf_size().
+ (_M_convert_to_external): The role of the old _M_out_end is
+ now played by _M_out_lim.
+ (_M_really_overflow): Likewise.
+ (seekoff): Likewise.
+ (setbuf): _M_out_end points to the end of the external buffer.
+ * include/bits/sstream.tcc (overflow): Rewrote, taking into
+ account the resolution of DR 169 (TC).
+ (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
+ (seekpos): Use _M_string.capacity(); tweak.
+ * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
+ * include/std/std_fstream.h (sync): The role of the old
+ _M_out_end is now played by _M_out_lim.
+ (_M_set_indeterminate): Use _M_set_determinate.
+ (_M_set_determinate): _M_out_end is now _M_out_lim.
+ (_M_is_indeterminate): Likewise.
+ * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
+ (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
+ which have the information readily available as _M_string.capacity();
+ for ate and app modes, pass the string size to _M_really_sync.
+ (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
+ point to the end of the buffer (i.e., epptr) and to the string end,
+ respectively.
+ * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
+ which points to the right limit of the used put area.
+ (_M_out_cur_move): The role of the old _M_out_end is now played
+ by _M_out_lim.
+ (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
+ _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
+ of the standard.
+ (basic_streambuf()): Initialize _M_out_lim too.
+ * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
+ * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
+ * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
+
+2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/27_io/ios_base_storage.cc (main): Call
+ set_memory_limits.
+
+2003-02-21 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/locale_facets.tcc (_M_convert_float): Replace
+ numpunct facet accesses with data from __locale_cache.
+
+2003-02-20 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
+ * docs/html/faq/index.txt: Regenerate.
+
+2003-02-20 Phil Edwards <pme@gcc.gnu.org>
+
+ * config/linker-map.gnu: Also export locking symbols needed for the
+ generic atomicity.h case.
+
+2003-02-20 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
+ config.status.
+ * configure: Rebuilt.
+
+2003-02-19 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/sstream.tcc (overflow): According to
+ 27.7.1.3, p5, actual output is performed by sputc(c).
+
+2003-02-19 Phil Edwards <pme@gcc.gnu.org>
+
+ PR libstdc++/9582
+ * include/bits/stl_alloc.h: Remove all traces of assert().
+
+2003-02-18 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_sstream.h (str()): the size of the
+ current string may be different from the initial one
+ whenever _M_out_end > _M_out_beg.
+ * testsuite/27_io/stringbuf_members.cc (test07): Add.
+
+2003-02-18 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9582
+ * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
+
+2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
+ * testsuite/27_io/ios_members.cc (test03): New.
+
+2003-02-17 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
+ (basic_ios::_M_cache_facets): Move into above.
+ * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
+ cache.
+ (basic_ios::imbue): Force locale cache to be built.
+ (basic_ios::_M_init): Create and initialize locale cache.
+ * include/bits/ios_base.h (__locale_cache_base): Declare.
+ (ios_base::_M_locale_cache): New.
+ (ios_base::_M_cache): Define.
+ * include/bits/locale_facets.h: (__num_base): Fix comment. Add
+ _S_end.
+ (__locale_cache_base,__locale_cache<_CharT>): New classes.
+ (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
+ * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
+ cache literal string, grouping flag, thousands separator.
+ (__locale_cache<_CharT>::__locale_cache): New.
+ (__locale_cache<_CharT>::_M_init): New.
+ * src/ios.cc: Clear _M_locale_cache in constructor.
+ * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
+ New.
+
+2003-02-17 Paolo Carlini <pcarlini@unitus.it>
+
+ * src/locale-inst.cc: Do not include <cassert>.
+ * src/locale.cc: Likewise.
+
+2003-02-17 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9580
+ * include/std/std_fstream.h: Declare underflow and uflow
+ specializations, change generic definitions to do nothing.
+ * src/fstream.cc: Add underflow and uflow specializations.
+
+2003-02-17 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9169
+ * include/bits/fstream.tcc (_M_convert_to_external):
+ Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
+ * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
+
+2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
+ * include/bits/basic_ios.tcc: Guard use of extern template.
+ * include/std/std_iomanip.h: Same.
+ * include/bits/streambuf.tcc: Same.
+ * include/bits/stl_alloc.h: Same.
+ * include/bits/locale_facets.tcc: Same.
+ * include/bits/ostream.tcc: Same.
+ * include/bits/istream.tcc: Same.
+ * include/bits/fstream.tcc: Same.
+ * include/bits/basic_string.tcc: Same.
+
+2003-02-13 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/ostream.tcc (sentry::sentry): Improve
+ performance-wise the fix for libstdc++/9563.
+
+2003-02-12 Phil Edwards <pme@gcc.gnu.org>
+
+ * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
+ (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
+ (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
+ when we don't have static mutex initialization.
+ (__exchange_and_add): Use _Atomic_add_mutex_once.
+ * src/misc-inst.cc: Definitions of all the above.
+
+2003-02-12 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9563
+ * include/bits/ostream.tcc (sentry::sentry): Check
+ the state of the stream after the preparation.
+ * testsuite/27_io/ostream_sentry.cc (test02): Add.
+
+2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/Makefile.am (stamp-std-precompile): Add rule.
+ * include/Makefile.in: Regenerated.
+
+2003-02-11 Jerry Quinn <jlquinn@optonline.net>
+ Benjamin Kosnik <benjamin@redhat.com>
+
+ * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
+ Add indexes into this array.
+ (__num_base::_S_atoms): To _S_atoms_in.
+ (num_put::_M_insert): Rename to _M_pad.
+ (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
+ (num_put::_M_widen_int): Rename to _M_group_int.
+ (num_put::_M_widen_float): Rename to _M_group_float.
+ * include/bits/locale_facets.tcc (__int_to_char): New inline
+ function and adapter functions.
+ (num_put::_M_group_int): Streamline.
+ (num_put::_M_group_float): Streamline.
+ (num_put::_M_convert_int): Remove unused parameter names. Choose
+ large enough buffer for text. Use __int_to_char instead of
+ __convert_from_v. Formatted text is now at the end of the buffer.
+ (num_put::_M_convert_float): Preliminary fixups.
+ * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
+ (__int_to_char<unsigned long long>): Same.
+ (__int_to_char<char, unsigned long>): New.
+ (__int_to_char<char, unsigned long long>): New.
+ (__int_to_char<wchar_t, unsigned long>): New.
+ (__int_to_char<wchar_t, unsigned long long>): New.
+
+2003-02-11 Scott Snyder <snyder@fnal.gov>
+
+ PR libstdc++/9659
+ * include/bits/fstream.tcc (seekoff): Avoid operator+
+ for pos_type.
+
+2003-02-11 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9320
+ * include/ext/stdio_filebuf.h
+ (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
+ stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
+ Change to take a __size parameter of type size_t, not
+ of type (template parameter dependent) int_type.
+ * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
+ size vars to size_t.
+ * testsuite/ext/stdio_filebuf.cc: Add.
+
+2003-02-11 Paolo Carlini <pcarlini@unitus.it>
+ Petur Runolfsson <peturr02@ru.is>
+
+ PR libstdc++/9318
+ * include/bits/streambuf.tcc (__copy_streambufs):
+ Don't conditionalize the copy to __testput.
+ * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
+
+2002-02-11 DJ Delorie <dj@redhat.com>
+
+ * acinclude.m4: Check for native targets that can't link at
+ this point in the build.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
+ Correct alignment.
+ (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
+ lock.
+
+2003-02-07 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
+ unsigned char platforms.
+
+2003-02-06 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9562
+ * include/std/std_istream.h
+ (basic_istream::sentry::operator bool()): Make const.
+ * include/std/std_ostream.h
+ (basic_ostream::sentry::operator bool()): Likewise.
+ * testsuite/27_io/istream_sentry.cc (test03): Add.
+ * testsuite/27_io/ostream_sentry.cc: Add.
+
+2003-02-06 Paolo Carlini <pcarlini@unitus.it>
+
+ PR libstdc++/9548
+ Implement resolution of DR 231 (Ready)
+ * include/bits/locale_facets.h (__num_base::_S_format_float):
+ Change declaration: return void, remove __prec parameter.
+ * src/locale.cc (__num_base::_S_format_float): Implement
+ resolution of DR 231.
+ * include/bits/locale_facets.tcc (num_put::_M_convert_float):
+ Tweak uses. Check for negative precision.
+ * testsuite/22_locale/num_put/put/char/6.cc: Add
+ * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
+
+2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
+
+ * config/io/basic_file_libio.h: Fixups.
+ * config/io/c_io_libio.h: Same.
+ * libio/Makefile.am: Same.
+ * libio/Makefile.in: Regenerated.
+
+2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
+ Explicitly use the "C" locale.
+ * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
+
+2003-02-06 Petur Runolfsson <peturr02@ru.is>
+
+ DR 75
+ DR 305
+ PR libstdc++/9028 (partial)
+ PR libstdc++/9224
+ PR libstdc++/9246
+ PR libstdc++/9247
+
+ * src/codecvt.cc
+ (codecvt<wchar_t, char, mbstate_t>::do_encoding,
+ codecvt<wchar_t, char, mbstate_t>::do_length,
+ codecvt<wchar_t, char, mbstate_t>::do_max_length):
+ Move...
+ * config/locale/generic/codecvt_members.cc: ...here.
+ * config/locale/gnu/codecvt_members.cc: ...and here.
+
+ * config/locale/generic/codecvt_members.cc,
+ * config/locale/gnu/codecvt_members.cc
+ (codecvt<wchar_t, char, mbstate_t>::do_encoding
+ codecvt<wchar_t, char, mbstate_t>::do_in,
+ codecvt<wchar_t, char, mbstate_t>::do_length,
+ codecvt<wchar_t, char, mbstate_t>::do_max_length,
+ codecvt<wchar_t, char, mbstate_t>::do_out):
+ New implementation that handles stateless encodings,
+ including UTF-8.
+
+ * config/locale/generic/codecvt_members.cc,
+ * config/locale/gnu/codecvt_members.cc,
+ * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
+ * include/bits/codecvt.h,
+ * src/codecvt.cc
+ (codecvt::length, codecvt::do_length):
+ Change type of first argument of length and do_length from
+ 'const state_type&' to 'state_type&' according to DR 75.
+
+ * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
+ Cleanup and check for correct return value from encoding
+ for "C" locale.
+ * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
+ * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
+ * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/length/char/2.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
+ * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
+ * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
+ * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
+ * testsuite/22_locale/codecvt/unicode/1.cc: New test.
+ * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
+ * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
+ * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
+ * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
+
+2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
+ (money_put::do_put): Same.
+
+2003-02-05 Jerry Quinn <jlquinn@optonline.net>
+
+ * include/bits/ios_base.h (ios_base): Document reserved storage.
+
+ * include/bits/locale_facets.h: (struct __pad): Comment on
+ implementation.
+ (__verify_grouping): Same.
+ (__add_grouping): Same.
+ * include/bits/locale_facets.tcc (__verify_grouping): Move
+ comments to declaration.
+ (__add_grouping): Same.
+
+ * include/bits/locale_facets.tcc:
+ (__write<_CharT, _OutIter>): New function.
+ (__write<_CharT>): New function specialization.
+ (num_put::_M_insert): Remove explicit loop over iterator. Use
+ __write.
+ (num_put::_M_widen_float): Remove __basefield.
+ (num_put::_M_widen_int): Move __basefield to within grouping block.
+
+ * include/bits/streambuf_iterator.h: Include <streambuf>.
+ (ostreambuf_iterator::_M_put): Add.
+
+2003-02-05 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
+
2003-02-04 Nathan Myers <ncm@cantrip.org>
* testsuite/25_algorithms/min_max.cc (test02): Add.