OSDN Git Service

2005-04-26 Jones Desougi <jones@ingate.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 0f202ef..8aa4ecc 100644 (file)
@@ -1,3 +1,181 @@
+2005-04-26  Jones Desougi  <jones@ingate.com>
+
+       PR libstdc++/21131
+       * linkage.m4: Fix comments.
+
+2005-04-26  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/21209
+       * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
+       integer overflow, always use a suited unsigned type in the main
+       parsing loop.
+       (struct __to_unsigned_type): New.
+       * testsuite/22_locale/num_get/get/char/16.cc: New.
+       * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
+
+2005-04-25  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/21035
+       * include/bits/basic_string.h (compare): Adjust the documentation
+       to match the implementation and the standard.
+
+2005-04-24  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
+
+2005-04-20  Mark Mitchell  <mark@codesourcery.com>
+
+       * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
+       explicit instantiations for systems without weak symbols.
+       * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
+       Likewise. 
+
+2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
+
+2005-04-17  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/20914
+       * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
+       const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
+       base or sign here, instead...
+       (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
+       after adding the grouping. This fixes the bug and also allows to
+       clean-up the code dealing with integer types.
+       (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
+       _CharT*, int&)): Simplify, remove bits dealing with numeric base.
+       (__int_to_char(_CharT*, unsigned long, const _CharT*,
+       ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
+       const _CharT*, ios_base::fmtflags)): Remove hackish fix for
+       libstdc++/15565.
+       (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
+       __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
+       Simplify, don't pass the sign.
+       (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
+       Deal with a sign at the beginning of __cs; robustify the grouping       
+       check.
+       * testsuite/22_locale/num_put/put/char/20914.cc: New.
+       * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
+
+2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/ext/bitmap_allocator.h
+       (__gnu_cxx::free_list::_M_get_mutex): New.
+       (__gnu_cxx::free_list::_M_get_free_list): New.
+       (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
+       (__gnu_cxx::free_list::_S_free_list): Remove.
+       * src/bitmap_allocator.cc: Same.
+       * config/linker-map.gnu: Remove free_list and mutex export.
+
+2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
+
+       *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
+       (character::to): New.
+       (character::from): New.
+       (operator==): Add state parameter.
+       (operator<): Same.
+       (char_traits::copy): Use std::copy.
+       (char_traits::assign): Use std::fill_n.
+       (char_traits::to_char_type): Use character::from.
+       (char_traits::to_int_type): Use character::to.
+       *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
+       (__gnu_test::conversion_state): Remove.
+       (__gnu_test::pod_char): Remove.
+       (pod_char): New typedef.
+       (pod_uchar): New typedef.
+       (pod_ushort): New typedef.
+       *  testsuite/testsuite_character.cc: Fixups.
+       *  testsuite/21_strings/basic_string/inserters_extractors/pod/
+       10081-in.cc: Same.
+       *  testsuite/21_strings/basic_string/inserters_extractors/pod/
+       10081-out.cc: Same.
+       *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
+       *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
+       *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
+       *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
+       *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
+       *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
+       *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
+       3983-1.cc: Same.
+       *  testsuite/27_io/basic_istream/extractors_character/pod/
+       3983-2.cc: Same.
+       *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
+       *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
+       *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
+
+2005-04-12  Mike Stump  <mrs@apple.com>
+
+       * configure: Regenerate.
+
+2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/Makefile.am: Remove libv3test.a.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
+       
+2005-04-08  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/20909
+       * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
+       Don't even try to group numbers like 2e20, i.e., no decimal
+       point, scientific notation.
+       * testsuite/22_locale/num_put/put/char/20909.cc: New.
+       * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
+       * acconfig.h: Delete file.
+       * Makefile.in, acinclude.m4, configure: Regenerate.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
+       (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
+       GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
+       GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
+       GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
+       GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
+       (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
+       * acconfig.h: Delete redundant macros.
+       * config.h.in, configure: Regenerate.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
+       a subshell and if test fails, test for same functions with 
+       leading underscore.
+       (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
+       * configure: Regenerate.
+
+2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
+           Paolo Carlini  <pcarlini@suse.de>
+                       
+       PR libstdc++/20806
+       * config/os/mingw32/os_defines.h: Define
+       _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
+       * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
+       * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
+       Use it.
+       (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * acconfig.h: Sort the bottom section.
+       * config.h.in: Regenerate.
+
+2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * acconfig.h: Remove redundant HAVE_FLOAT_H.
+       * config.h.in: Regenerate.
+
 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
 
        * configure.ac: Create template for PACKAGE and VERSION.