OSDN Git Service

PR libstdc++/10689
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 5b18668..6f3c110 100644 (file)
@@ -1,3 +1,775 @@
+2003-05-20  Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+       PR libstdc++/10689
+       * include/std/std_complex.h (pow): Tidy.
+       
+2003-05-19  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
+       that upon filebuf::close() 27.8.1.1,3 is enforced.
+
+2003-05-15  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
+
+2003-05-15  Paolo Carlini  <pcarlini@unitus.it>
+           Nathan Myers  <ncm@cantrip.org>
+
+       * include/bits/fstream.tcc (_M_overflow): Rewrote to call
+       _M_convert_to_external only once (_M_buf_size is now the size of
+       the put area + 1 for the overflow char of a full area); call
+       _M_set_buffer instead of _M_set_indeterminate.
+       (setbuf): Don't accept a buffer smaller than 2 chars.
+       (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
+       instead of _M_set_determinate.
+       (open): Call _M_set_buffer, instead of _M_set_indeterminate.
+       (seekoff): Likewise.
+       * include/ext/stdio_filebuf.h (stdio_filebuf(int,
+       std::ios_base::openmode, bool, size_t),
+       stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
+       Likewise.
+       * include/std/std_fstream.h (_M_set_indeterminate): Remove.
+       (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
+       _M_buf_size - 1.
+       * include/std/std_streambuf.h: Tweak _M_out_lim comment.
+       * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
+       into account that, for _M_buf_size == BUFSIZ == 8192, the size of
+       the put area is now BUFSIZ - 1.
+       * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
+       that now the smallest _M_buf_size is 2 (still fails, for the same
+       reason, with 3.2.3)
+
+2003-05-14  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite/thread/pthread4.cc: Tweak test.
+
+2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
+       excess errors dg marker, use dg-errors instead.
+       * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
+       * testsuite/20_util/auto_ptr_neg.cc: Same.
+       
+2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
+       cached member.
+       * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
+       Initialize _M_codecvt.
+       (basic_filebuf::imbue): Same.
+       (basic_filebuf::showmanyc): Use it.
+       (basic_filebuf::underflow): Use it.
+       (basic_filebuf::_M_convert_to_external): Use it.
+       (basic_filebuf::seekoff): Use it.
+       (basic_filebuf::imbue): Use it, tweaks.
+       * include/bits/localefwd.h (__check_facet): New.
+       * include/bits/locale_classes.h: Tweaks.
+       * include/bits/locale_facets.tcc: Tweaks.       
+       * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
+       _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
+       _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
+       * include/bits/basic_ios.tcc: Same.     
+       * include/bits/istream.tcc: Same.
+       * include/bits/ostream.tcc: Same.
+       * include/std/std_streambuf.h: Same.
+       * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
+       
+2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
+       unnecessary includes and unused string literals.
+       * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
+
+2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
+
+2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_fstream.h (_M_convert_to_external): Change
+       to return bool, take two less streamsize parameters.
+       * include/bits/fstream.tcc (_M_convert_to_external): Tweak
+       consistently definition.
+       (_M_overflow): Adjust call points.
+
+2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
+
+2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
+
+       * testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
+       * testsuite/Makefile.in:  Regenerate.
+
+2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
+
+       * testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
+       * testsuite/Makefile.in:  Regenerate.
+
+2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+       PR libstdc++/3181
+       * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
+       (acos): Handle integer argument.
+       (asin): Likewise.
+       (atan): Likewise.
+       (atan2): Likewise.
+       (ceil): Likewise.
+       (cos): Likewise.
+       (cosh): Likewise.
+       (exp): Likewise.
+       (fabs): Likewise.
+       (floor): Likewise.
+       (frexp): Likewise.
+       (ldexp): Likewise.
+       (log): Likewise.
+       (log10): Likewise.
+       (sin): Likewise.
+       (sinh): Likewise.
+       (sqrt): Likewise.
+       (tan): Likewise.
+       (tanh): Likewise.
+       * include/bits/cpp_type_traits.h (__are_same<>): New traits.
+       (__enable_if): Likewise.
+       * testsuite/26_numerics/cmath/overloads.C: New test.
+       
+2003-05-10  Petur Runolfsson  <peturr02@ru.is>
+
+       PR libstdc++/9027
+       PR libstdc++/9520
+       PR libstdc++/10096
+       * include/bits/fstream.tcc (basic_file::_M_underflow):  Add generic
+       implementation, based on old wchar_t specialization, add support
+       for codecvt::in() return value of codecvt_base::noconv, remove
+       _M_file.sys_ungetc() call.
+       * include/std/std_fstream.h (basic_file::underflow,
+       basic_file::uflow, basic_file::_M_underflow):  Remove
+       specialization declarations, call _M_underflow from generic versions
+       of underflow and uflow.
+       * src/fstream.cc (basic_file::underflow, basic_file::uflow,
+       basic_file::_M_underflow):  Remove specializations.
+       * src/Makefile.am (sources):  Remove fstream.cc.
+       * src/Makefile.in:  Regenerated.
+       * testsuite/27_io/basic_filebuf/underflow/10096.cc:  New test.
+       * testsuite/27_io/basic_filebuf/underflow/char/1.cc:  New test.
+       * testsuite/27_io/basic_filebuf/underflow/char/9027.cc:  New test.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc:  New test.
+
+2003-05-10  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
+       buffer.
+       * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
+       unbuffered bits.
+       (__basic_file::xsputn): Same.
+       (__basic_file::seekoff): Same.
+       (__basic_file::seekpos): Same.
+       (__basic_file::showmanyc): Same.
+       * config/io/basic_file_stdio.cc: Same.
+       * include/std/std_fstream.h: Same.
+       * include/bits/fstream.tcc: Same.
+       * src/fstream.cc: Same.
+       * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
+       
+2003-05-10  Petur Runolfsson  <peturr02@ru.is>
+
+       PR libstdc++/9520
+       PR libstdc++/9661
+       PR libstdc++/9662
+       * include/ext/stdio_sync_filebuf.h:  New file.
+       (basic_stdiobuf):  New.
+       * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
+       * include/Makefile.in: Regenerate.
+       * include/bits/ios_base.h (Init::_S_create_buffers,
+       Init::_S_destroy_buffers):  Remove declarations.
+       * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync, 
+       buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync):  Define.
+       * src/ios.cc (Init::_S_create_buffers,
+       Init::_S_destroy_buffers):  Remove.
+       (Init::Init):  Create and use syncronized buffers.
+       (ios_base::sync_with_stdio):  Destroy syncronized buffers,
+       create and install unsyncronized buffers.
+       * testsuite/27_io/objects/char/10.cc:  New test.
+       * testsuite/27_io/objects/char/9.cc:  New test.
+       * testsuite/27_io/objects/char/9661-1.cc:  New test.
+       * testsuite/27_io/objects/char/9661-2_xin.cc:  New test.
+       * testsuite/27_io/objects/char/9661-2_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/1.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/10.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/2.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/2523-1_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/2523-1_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/2523-2_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/2523-2_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/3045.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/3647.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/3_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/3_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/4_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/4_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/5.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/5268.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/5280_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/5280_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/6.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/6548_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/6548_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/6648-1_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/6648-1_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/6648-2_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/6648-2_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/7.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/7744_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/7744_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/8.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/9_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/9_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/9520.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/9661-1.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/9661-2_xin.cc:  New test.
+       * testsuite/27_io/objects/wchar_t/9661-2_xin.in:  New.
+       * testsuite/27_io/objects/wchar_t/9662.cc:  New test.
+       * testsuite/ext/stdiobuf_char.cc:  New test.
+       * testsuite/ext/stdiobuf_wchar_t.cc:  New test.
+
+2003-05-10  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
+       unnecessary includes and unused string literals.
+       * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
+
+2003-05-08  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
+
+2003-05-07  Richard Henderson  <rth@redhat.com>
+
+        PR c++/10570
+        * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
+        (__cxa_end_catch): Likewise.
+        * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
+        _Unwind_Resume_or_Rethrow.
+        * libsupc++/eh_personality.cc (empty_exception_spec): New.
+        (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
+        for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
+        exceptions.  Don't push terminate/unexpected to cxa functions.
+        (__cxa_call_unexpected): Remove foreign exception fixmes.
+
+2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>
+       
+       * testsuite/27_io/ios_base/cons: New.
+       * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
+       * testsuite/27_io/ios_base/cons/copy_neg.cc: New.       
+
+2003-05-07  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_fstream.h (_M_is_indeterminate): Remove.
+       * src/fstream.cc
+       (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
+       there is no buffer or __testget == !__testinit.
+
+       * src/fstream.cc
+       (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
+       automatically sets, if appropriate, _M_out_cur == _M_in_cur.
+
+       * include/std/std_fstream.h (_M_destroy_pback): Don't set
+       unnecessarily _M_pback_cur_save and _M_pback_end_save.
+
+       * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
+
+       * include/std/std_sstream.h (_M_sync): Minor tweak.
+
+       * include/bits/fstream.tcc (close): No need to call
+       _M_destroy_pback, setting _M_pback_init to false suffices
+       to clean up.
+
+2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>
+       
+       * include/bits/stl_algo.h: Enums as _S_.
+       * include/bits/stl_tree.h: Same.
+       * include/bits/stl_bvector.h: Same.
+       * include/bits/ios_base.h: Same.
+       * include/bits/stl_alloc.h: Same.
+       * include/ext/stl_hashtable.h: Same.
+       * src/ios.cc: And here.
+       
+       * include/std/std_sstream.h: Replace _M_really_sync to _M_sync. 
+       * include/bits/sstream.tcc: Same.
+
+        * include/bits/basic_ios.h: Correct spacing for '< ctype'.
+       * include/bits/locale_facets.tcc: Replace __temp to __tmp.
+
+       * include/bits/locale_facets.h (__num_base): Remove protected.
+       Use _S_[io]* names for enumerations.
+       (_S_format_int): Remove.
+       * include/bits/locale_facets.tcc: Same.
+       * src/locale.cc: Same.
+       
+       * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
+       
+2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
+       * docs/html/faq/index.txt:  Regenerated.
+
+2003-05-06  Michael Ritzert <Ritzert@t-online.de>
+           Matt Kraai <kraai@alumni.cmu.edu>
+
+       * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
+       And retweak.
+
+2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.target (mips*): Use the generic atomicity.h by default.
+
+2003-05-05  Loren J. Rittle  <ljrittle@acm.org>
+           (Inspired by an alternate patch from Danny Smith.)
+
+       * include/bits/stl_threads.h (_Atomic_swap): Kill it...
+       (_Swap_lock_struct<>): ...and the horse it rode in on.
+       * src/globals.cc (_Swap_lock_struct<>): Likewise.
+       * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
+       member to support...
+       * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
+       visibility rules related to POSIX threads.
+       * testsuite/thread/pthread7-rope.cc: New test.
+
+2003-05-04  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/21_strings/basic_string/find/char/3.cc: New
+       file, testing basic_string<char>::find_first_not_of.
+       * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
+       Likewise for basic_string<wchar_t>.
+
+2003-05-03  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
+
+2003-05-02  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/Makefile.am (CLEANFILES): Remove PCH files in target
+       directory.
+       * include/Makefile.in: Regenerate.
+
+2003-05-02  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_sstream.h (str()): Tidy.
+
+2003-05-02  Nathan Myers  <ncm@cantrip.org>
+           Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
+
+2003-05-02  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * include/bits/basic_string.h (swap): Remove redundant template
+       parameters from declaration of non-template member function.
+
+2003-05-01  Phil Edwards  <pme@gcc.gnu.org>
+
+       * acconfig.h (_GLIBCPP_USE_NLS):  New symbol.
+       * configure.in:  Move libintl.h header test...
+       * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  ...to here.  Gather all
+       the NLS-related test results into one symbol.
+       * src/functexcept.cc:  Use it here.
+       * aclocal.m4, config.h.in, configure:  Regenerated.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/sstream.tcc (overflow): Instead of calling
+       str(), then _M_string.reserve, thus copying the contents
+       of the current buffer two times, just copy the latter in
+       a temporary, then use the 'swap trick'.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_sstream.h (str()): Revert the best of the
+       previous 'improvement', incorrect due to the COW nature of
+       v3 basic_string; simplify.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
+       type of __avail to ptrdiff_t to avoid signed-unsigned warning.
+
+2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/abi_check.cc (check_version): Update known versions.
+       Check added symbols for version_name != base version. Add missing
+       symbols to incompatible list.
+       
+2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
+       * aclocal.m4: Regenerated.
+       * configure: Regenerated.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
+       Const-ify some variables.
+       (basic_streambuf::xsputn): Likewise; change the type of some
+       variables to size_t.
+       (__copy_streambufs): Change some variables to size_t.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_sstream.h (str()): Avoid constructing
+       a basic_string temporary not only when it would turn out
+       to be zero-sized but also when identical to the current
+       _M_string buffer.
+
+2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/ext/stdio_filebuf.h
+       (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
+       stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
+       Shorten a bit (-10 lines) by factoring out some code.
+
+2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
+
+       * acinclude.m4:  Add bit missing from previous patch.
+       * aclocal.m4, configure:  Regenerated.
+
+2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/doxygen/mainpage.html:  Bring up to date.
+       * docs/doxygen/run_doxygen:  Cosmetic tweaks.  Work around a bug
+       in Doxygen.
+       * docs/doxygen/user.cfg.in:  Scanning the precompiled headers
+       breaks everything.  Don't scan them.
+       * docs/html/documentation.html:  Point to "Write after approval"
+       notes.
+
+2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
+
+       * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
+       of libc if message translations are being used.  Fix info text in
+       xieee_1003.1-2001 case.
+       * aclocal.m4, configure:  Regenerate.
+
+2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
+          Loren J. Rittle <ljrittle@acm.org>
+          Martin v. Loewis  <martin@v.loewis.de>
+
+       * config/cpu/i386/atomicity.h: New file.
+
+2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/fstream.tcc (open): Change to single return.
+
+2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_sstream.h (underflow): Change to single return.
+
+2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (_M_buf): is currently
+       used only for basic_filebuf, therefore move it there.
+       (basic_streambuf(), ~basic_streambuf()): Adjust.
+       * include/std/std_fstream.h (_M_buf): Moved here.
+       * include/std/std_sstream.h (setbuf): Don't set _M_buf,
+       is actually redundant for basic_stringbuf.
+       (_M_really_sync): Likewise.
+       * include/bits/fstream.tcc (basic_filebuf()): Adjust.
+       * include/bits/sstream.tcc (seekoff): Adjust.
+
+2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/localename.cc: Standardize exception strings.
+       * src/locale.cc: Same.
+       * src/ios.cc: Same.
+       * include/bits/basic_string.tcc: Same.
+       * include/bits/basic_ios.tcc: Same.
+       * include/std/std_bitset.h: Same.
+       * include/ext/ropeimpl.h: Same.
+       * include/bits/stl_vector.h: Same.
+       * include/bits/stl_deque.h: Same.
+       * include/bits/stl_bvector.h: Same.
+       * config/locale/generic/c_locale.cc: Same.
+       * config/locale/gnu/c_locale.cc: Same.
+       * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
+
+       * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
+       
+2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (_M_buf_size): is currently
+       used only for basic_filebuf, therefore move it there.
+       (basic_streambuf(), ~basic_streambuf()): Adjust.
+       * include/std/std_fstream.h (_M_buf_size): Moved here.
+       * include/bits/fstream.tcc (basic_filebuf()): Adjust.
+
+2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/streambuf.tcc (__copy_streambufs): Don't use
+       _M_buf_size (synced input is now correctly dealt with
+       elsewhere); when the output buffer is full don't fall back
+       to a snextc-sputc loop, call overflow instead.
+
+2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
+       the innermost 'if' by factoring out some code.
+
+2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
+
+       * configure.in:  Test for libintl.h.
+       * include/bits/c++config:  Define __N for everybody.
+       * include/bits/basic_string.h, include/bits/stl_bvector.h,
+       include/bits/stl_deque.h, include/bits/stl_vector.h,
+       include/std/std_bitset.h:  Wrap all __throw* text with __N.
+       * po/Makefile.am (pot):  New rule, mostly working.
+       * src/functexcept.cc:  Call gettext on all __throw* arguments when
+       -fexceptions is in effect.
+       * po/Makefile.in, config.h.in, configure:  Regenerate.
+
+2003-04-28  Petur Runolfsson  <peturr02@ru.is>
+        PR libstdc++/9523
+        * include/bits/ios_base.h (Init::_S_ios_create,
+        Init::_S_ios_destroy):  Remove declarations.
+        (Init::_S_create_buffers,
+        Init::_S_destroy_buffers):  Declare
+        * src/ios.cc (Init::_S_ios_create):  Remove
+        (Init::_S_create_buffers):  Create buffers and add to streams.
+        (Init::_S_ios_destroy):  Rename to...
+        (Init::_S_destroy_buffers):  this.
+        (Init::Init):  Only construct streams once.
+        (Init::~Init):  Flush streams, don't destroy them.
+        (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
+        * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
+        * testsuite/27_io/objects/char/5.cc:  New test.
+        * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
+        * testsuite/27_io/objects/char/6.cc:  New test.
+        * testsuite/27_io/objects/char/7.cc:  New test.
+
+2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+        * testsuite/27_io/objects/char/8.cc:  New test.
+       
+2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
+       * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
+       
+2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
+       _M_destroy_pback. _M_pback_create to
+       _M_create_pback. _M_underflow_common to
+       _M_underflow. _M_really_overflow to _M_overflow.
+       * include/bits/fstream.tcc: Same.
+       * src/fstream.cc: Same.
+       * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
+       _M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
+       * include/bits/streambuf.tcc: Same.
+       * include/bits/fstream.tcc: Same.
+       * include/bits/sstream.tcc: Same.
+       
+2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/locale_classes.h (locale::_Impl): Change _M_names
+       from fixed size array.
+       (locale): Change _S_categories as well.
+       Formatting tweaks.
+       * include/bits/locale_facets.tcc: Tweak.
+       * config/locale/gnu/c_locale.cc: Assign _S_categories.
+       * config/locale/generic/c_locale.cc: Same.
+       * src/locale.cc: Tweak.
+       * src/globals.cc: Change facet_name to name_vec, add names_c.
+       * src/localename.cc: Use them.
+       (locale::_Impl::~_Impl): Destroy _M_names.
+       (locale::_Impl::_Impl): Create _M_names.
+       
+2003-04-27  Andreas Schwab  <schwab@suse.de>
+
+       * config/locale/ieee_1003.1-2001/codecvt_specializations.h
+       (__enc_traits): Use __ibom and __ebom instead of ignoring them.
+
+2003-04-27  Nathan Myers  <ncm@cantrip.org>
+
+       Move some basic_string members out of line because
+       they are too big to reasonably be inline.
+       * include/bits/basic_string.h
+       (assign(const basic_string&, size_type, size_type),
+       assign(const _CharT*, size_type),
+       insert(size_type, const basic_string&, size_type, size_type),
+       insert(size_type, const _CharT*, size_type),
+       replace(size_type, size_type, const _CharT*, size_type)):
+       Move from here to...
+       * include/bits/basic_string.tcc: ...here.
+       
+2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
+       the innermost 'if' by factoring out some code.
+
+2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/streambuf.tcc (__copy_streambufs): Don't
+       use in_avail(), simplify.
+
+2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
+       in basic_stringbuf it's unused.
+       
+       * include/std/std_sstream.h (underflow): consistently use
+       _M_in_cur, not gptr().
+
+2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
+            Phil Edwards  <pme@gcc.gnu.org>
+       
+       * testsuite_flags.in: Guard against the possibility
+       of having "xgcc" as a part of a folder name in the
+       path to the GCC build folder.
+       * testsuite/Makefile.am: Likewise.
+       * testsuite/Makefile.in: Regenerated.
+       
+2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/10132
+       * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
+       exception specifications.
+       (basic_filebuf::close): Same.
+       (basic_filebuf::_M_pback_destroy): Same.
+       (basic_filebuf::_M_destroy_internal_buffer): Same.
+       (basic_filebuf): Remove __res_type typedef.     
+       * src/fstream.cc: Same.
+       * include/bits/fstream.tcc
+       (basic_filebuf::_M_convert_to_external): Simplify.
+       (basic_filebuf::seekoff): Use has_facet before use_facet.
+       (basic_filebuf::close): Add exception specification of throw().
+       * testsuite/27_io/basic_filebuf/cons: New.
+       * testsuite/27_io/basic_filebuf/cons/wchar_t: New.      
+       * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.   
+       * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
+       * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
+
+2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
+       
+       * include/bits/locale_classes.h
+       (locale::_S_extra_categories_size): Remove.
+       * src/locale.cc: Remove _S_extra_categories_size.
+       * src/localename.cc: Same.
+       * config/locale/gnu/c_locale.cc: Same.
+       * config/locale/generic/c_locale.cc: Same.
+       
+2003-04-24  Richard Sandiford  <rsandifo@redhat.com>
+
+       * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
+
+2003-04-24  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/17_intro/howto.html:  Update some links.
+       * docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
+       * docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
+       * docs/html/ext/howto.html:  Link to demangler notes and API.
+       * docs/html/faq/index.html:  Remove trailing whitespace.
+       (1.4, 2.4, 3.8, 4.1):  Bring up to date.
+       (5.6):  Change to a bulleted list.
+
+       * docs/html/faq/index.txt, docs/html/documentation.html,
+       docs/html/17_intro/porting.html:  Regenerate.
+
+2003-04-23  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
+       belongs to basic_filebuf.
+       * testsuite/27_io/basic_fstream/3.cc: Likewise.
+       * testsuite/27_io/basic_ifstream/3.cc: Likewise.
+       * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
+       instantiation (now belongs to basic_filebuf).
+       * testsuite/27_io/basic_iostream/3.cc: Likewise.
+       * testsuite/27_io/basic_istream/3.cc: Likewise.
+       * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
+       _S_pback_size now belongs to basic_filebuf.
+       * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
+       instantiation (now belongs to basic_filebuf).
+       * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
+       belongs to basic_filebuf.
+       * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
+       instantiation (now belongs to basic_filebuf).
+       * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
+       _S_pback_size now belongs to basic_filebuf.
+       * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
+       instantiation (now belongs to basic_filebuf).
+       * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
+       to basic_filebuf.
+       * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
+       instantiation (now belongs to basic_filebuf).
+       * testsuite/27_io/basic_stringstream/3.cc: Likewise.
+
+2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
+       * configure: Regenerated.
+       
+2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
+       
+       * config/locale/generic/c_locale.h (__convert_from_v): Use
+       attribute unused.
+
+2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
+       implementation only.
+       * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
+       Comment and change to comply with DR 60 and the effect on gcount().
+       * include/std/std_istream.h:  Update comments.
+       * testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
+       comments about reasons for tests.  Test sync() against gcount().
+       * testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
+       for effect on gcount().
+       * testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
+       for effect on gcount().
+
+2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
+       Adjust timing.
+
+2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (_S_pback_size, _M_pback,
+       _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
+       _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
+       (basic_streambuf::basic_streambuf()): Adjust.
+       * include/std/std_fstream.h (_S_pback_size, _M_pback,
+       _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
+       _M_pback_create(), _M_pback_destroy()): Moved here
+       from basic_streambuf.
+       * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
+       Adjust.
+       (basic_filebuf::_S_pback_size): Add declaration.
+       * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
+       Remove declaration.
+
+2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
+
+       Consistently use _M_in_beg instead of eback(), _M_in_cur
+       instead of gptr(), and so on.
+       * include/bits/fstream.tcc (pbackfail, imbue): Here.
+       * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
+       * include/bits/streambuf.tcc (sbumpc, sputbackc,
+       __copy_streambufs): Ditto.
+       * include/std/std_streambuf.h (sgetc): Ditto.
+
+2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/sstream.tcc (pbackfail, overflow):
+       Formatting fixes.
+
 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
 
        * include/std/std_streambuf.h (uflow()): It's used only by