X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libstdc%2B%2B-v3%2FChangeLog;h=9ca9ce1a0eb720c3e29291d5b5ead6fce3204ff5;hp=e3cd6ef3f4e7da78f25b880b0a0602f09750d701;hb=49cd593e185c9d342dd9a4ca9d5ccdbb15e1b067;hpb=ec874bb2071e2c87706121d6e62f757be739d90a diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e3cd6ef3f4e..9ca9ce1a0eb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,364 @@ +2003-05-06 Michael Ritzert + Matt Kraai + + * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak. + And retweak. + +2003-05-06 Richard Sandiford + + * configure.target (mips*): Use the generic atomicity.h by default. + +2003-05-05 Loren J. Rittle + (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 + + * testsuite/21_strings/basic_string/find/char/3.cc: New + file, testing basic_string::find_first_not_of. + * testsuite/21_strings/basic_string/find/wchar_t/3.cc: + Likewise for basic_string. + +2003-05-03 Loren J. Rittle + + * testsuite/thread/pthread1.cc: Remove special case for FreeBSD. + +2003-05-02 Benjamin Kosnik + + * include/Makefile.am (CLEANFILES): Remove PCH files in target + directory. + * include/Makefile.in: Regenerate. + +2003-05-02 Paolo Carlini + + * include/std/std_sstream.h (str()): Tidy. + +2003-05-02 Nathan Myers + Paolo Carlini + + * include/bits/streambuf.tcc (__copy_streambufs): Rewrote. + +2003-05-02 Jonathan Wakely + + * include/bits/basic_string.h (swap): Remove redundant template + parameters from declaration of non-template member function. + +2003-05-01 Phil Edwards + + * 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 + + * 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 + + * 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 + + * include/bits/streambuf.tcc (__copy_streambufs): Adjust the + type of __avail to ptrdiff_t to avoid signed-unsigned warning. + +2003-05-01 Benjamin Kosnik + + * 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 + + * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline. + * aclocal.m4: Regenerated. + * configure: Regenerated. + +2003-05-01 Paolo Carlini + + * 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 + + * 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 + + * 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 + + * acinclude.m4: Add bit missing from previous patch. + * aclocal.m4, configure: Regenerated. + +2003-04-29 Phil Edwards + + * 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 + + * 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 + Loren J. Rittle + Martin v. Loewis + + * config/cpu/i386/atomicity.h: New file. + +2003-04-29 Paolo Carlini + + * include/bits/fstream.tcc (open): Change to single return. + +2003-04-29 Paolo Carlini + + * include/std/std_sstream.h (underflow): Change to single return. + +2003-04-28 Paolo Carlini + + * 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 + + * 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 + + * 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 + + * 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 + + * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines) + the innermost 'if' by factoring out some code. + +2003-04-28 Phil Edwards + + * 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 + + 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 + + * testsuite/27_io/objects/char/8.cc: New test. + +2003-04-28 Benjamin Kosnik + + * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage. + * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same. + +2003-04-27 Benjamin Kosnik + + * 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 + + * 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 + + * config/locale/ieee_1003.1-2001/codecvt_specializations.h + (__enc_traits): Use __ibom and __ebom instead of ignoring them. + +2003-04-27 Nathan Myers + + 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 + + * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines) + the innermost 'if' by factoring out some code. + +2003-04-26 Paolo Carlini + + * include/bits/streambuf.tcc (__copy_streambufs): Don't + use in_avail(), simplify. + +2003-04-26 Paolo Carlini + + * 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 + Phil Edwards + + * 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 + + 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 + + * 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 + + * src/localename.cc (__gnu_cxx::facet_vec): Correct types. + +2003-04-24 Phil Edwards + + * 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 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now