OSDN Git Service

* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 5298239..9c0fa21 100644 (file)
@@ -1,3 +1,202 @@
+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