OSDN Git Service

2003-11-18 Jonathan Wakely <redi@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 8329b33..e1622f9 100644 (file)
@@ -1,3 +1,137 @@
+2003-11-18  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * docs/html/configopts.html, docs/html/debug.html,
+       docs/html/documentation.html, docs/html/explanations.html,
+       docs/html/install.html, docs/html/17_intro/contribute.html,
+       docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
+       docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
+       docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
+       docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
+       docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
+       docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
+       docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
+       docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
+       docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.
+
+2003-11-18  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/12868
+       * include/bits/fstream.tcc (imbue): For encodings != -1 it's
+       always ok to imbue a new locale, provided seekoff(0, cur, ...)
+       doesn't fail, of course.
+       (underflow): In order for the above to work, deal gracefully
+       with _M_codecvt->in returning codecvt_base::error while 
+       (__ilen = __iend - this->eback()) > 0: it just means __ilen
+       correctly converted internal characters before an error.        
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.
+
+2003-11-17  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/locale_facets.tcc: Fix typo in comment.
+
+2003-11-17  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/22_locale/num_put/put/char/8.cc: New test,
+       summarizing the discussion ensuing libstdc++/12988.
+       * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.
+
+2003-11-15  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/std/std_fstream.h: Tweak a comment.
+
+2003-11-15  Roger Sayle  <roger@eyesopen.com>
+
+       * include/c_std/std_cmath.h: Don't import C99's float transcendentals
+       into the __gnu_cxx::__c99_binding namespace.
+       (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
+       ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
+       GCC's math builtins, i.e. __builtin_foo.
+       * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
+       ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
+       ldexpf, ldexpl, modff, modfl): Provide stub implementations.
+
+2003-11-14  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/22_locale/locale/cons/12352.cc: Use
+       __gnu_test::try_named_locale.
+
+2003-11-14  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/ext/howto.html: Add entries for DR 63, 75
+       and 305; tweak entries for DR 60 and 328.
+
+2003-11-13  Douglas Gregor  <gregod@cs.rpi.edu>
+
+       * docs/html/debug.html: Users are allowed to specialize in
+       namespace __gnu_debug, unlike in the Apple version of the debug
+       mode. Clear up a confusing double-negative. Note that
+       std::basic_string does provide extra debugging capabilities, but
+       not safe iterators.
+       * include/bits/basic_string.tcc: Make sure there's never an
+       ambiguity when calling __is_null_pointer. 
+       * include/debug/deque: (deque::erase) Properly handle invalidation
+       when erasing at the end of the deque.
+       * include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity. 
+       (vector::clear): Set the guaranteed capacity to 0.
+       * testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
+       iterator invalidation when erasing at the end of the deque.
+
+2003-11-13  Paolo Carlini  <pcarlini@suse.de>
+           Petur Runolfsson  <peturr02@ru.is>
+
+       PR libstdc++/13007
+       * include/bits/fstream.tcc (imbue): Don't touch the stored
+       locale.
+       * include/std/std_streambuf.h (imbue): According to the
+       standard, base class version does nothing.
+       (pubimbue): Store the locale.
+       * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
+       * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
+       * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
+       * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
+       * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
+       * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
+       * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
+
+2003-11-13  Petur Runolfsson  <peturr02@ru.is>
+
+       PR libstdc++/12594
+       * include/bits/ostream.tcc
+       (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
+       basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
+       basic_ostream::operator<<(ios_base& (*)(ios_base&))):
+       Implement the resolution of DR 60 (TC): These are not formatted
+       output functions so don't construct sentry objects and don't
+       catch exceptions.
+       (basic_ostream::put, basic_ostream::write): Implement the
+       resolution of DR 63 (TC) by catching exceptions and setting
+       badbit.
+       (basic_ostream::flush): Implement the resolution of DR 60 (TC):
+       This is not an unformatted output function so don't construct
+       a sentry object.
+       * testsuite/testsuite_io.h (sync_streambuf): Define.
+       * testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
+       * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
+       * testsuite/27_io/basic_ostream/put/char/1.cc: New test.
+       * testsuite/27_io/basic_ostream/write/char/1.cc: New test.
+       
+2003-11-13  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
+       Fix, closely following the testcase included in the PR.
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
+       * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
+
+2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>
+
+       * docs/html/17_intro/configury.html: XHTML tweak.
+
+2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>
+
+       * docs/html/debug_mode.html: XHTML fixes.
+
 2003-11-12  Benjamin Kosnik  <bkoz@redhat.com>
 
        * docs/html/debug_mode.html: Update.