OSDN Git Service

libstdc++-v3/
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 371c2c9..483b420 100644 (file)
@@ -1,3 +1,321 @@
+2009-07-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * python/Makefile.in: Regenerate.
+
+2009-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * python/Makefile.am (install-data-local): Use DESTDIR
+       correctly.
+
+2009-07-24  Jason Merrill  <jason@redhat.com>
+
+       Core issue 901
+       * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Handle NULL
+       dealloc.
+
+2009-07-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * include/c_global/cwchar (swprintf, vswprintf): Do not use if
+       _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
+       * testsuite/lib/libstdc++.exp (check_v3_target_swprintf): New.
+       * testsuite/lib/dg-options.exp (dg-require-swprintf): New.
+       * testsuite/21_strings/headers/cwchar/functions_std.cc,
+       testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc,
+       testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
+       Use dg-require-swprintf.
+
+2009-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/26_numerics/valarray/dr630-2.cc: Extend.
+
+2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/c_std/cmath (abs(_Tp)): Add.
+       * include/c_global/cmath (abs(_Tp)): Likewise.
+       * testsuite/26_numerics/headers/cmath/overloads.cc: Extend.
+
+2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * doc/html/ext/lwg-closed.html: Update to R65.
+       * doc/html/ext/lwg-defects.html: Likewise.
+       * doc/html/ext/lwg-active.html: Likewise.
+       * doc/xml/manual/intro.xml: Update DRs entries.
+
+2009-07-22  Jason Merrill  <jason@redhat.com>
+
+       * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): Default to 0.
+
+2009-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/valarray (valarray<>::operator=(const valarray<>&),
+       valarray<>::operator=(initializer_list<>)): Implement resolution
+       of DR 630, [Ready] in Frankfurt.
+       * testsuite/26_numerics/valarray/dr630-1.cc: New.
+       * testsuite/26_numerics/valarray/dr630-2.cc: Likewise.
+       * doc/xml/manual/intro.xml: Add an entry for DR 630.
+
+2009-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/chrono (duration<>::operator%=,  operator%):
+       Add, per DR 934.
+       * testsuite/20_util/duration/arithmetic/dr934-1.cc: New.
+       * testsuite/20_util/duration/arithmetic/dr934-2.cc: Likewise.
+
+       * include/std/chrono (operator/): Simplify implementation.
+
+2009-07-20  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * doc/xml/manual/intro.xml: Escape '&', validate.
+       * doc/xml/manual/using.xml: Validate, dead link check.
+       * doc/xml/manual/strings.xml: Same.
+       * doc/xml/manual/appendix_contributing.xml: Same.
+       * doc/xml/manual/iterators.xml: Same.
+       * doc/xml/manual/spine.xml: Same.
+
+       * doc/xml/faq.xml: Remove redundant xreflabel entities.
+       * doc/xml/gnu/gpl-3.0.xml: Same.
+       * doc/xml/manual/mt_allocator.xml: Same.
+       * doc/xml/manual/allocator.xml: Same.
+       * doc/xml/manual/ctype.xml: Same.
+       * doc/xml/manual/codecvt.xml: Same.
+       * doc/xml/manual/backwards_compatibility.xml: Same.
+       * doc/xml/manual/shared_ptr.xml: Same.
+       * doc/xml/manual/abi.xml: Same.
+       * doc/xml/manual/auto_ptr.xml: Same.
+       * doc/xml/manual/internals.xml: Same.
+       * doc/xml/manual/parallel_mode.xml: Same.
+       * doc/xml/manual/bitmap_allocator.xml: Same.
+       * doc/xml/manual/build_hacking.xml: Same.
+       * doc/xml/manual/evolution.xml: Same.
+       * doc/xml/manual/debug.xml: Same.
+       * doc/xml/manual/localization.xml: Same.
+       * doc/xml/manual/appendix_contributing.xml: Same.
+       * doc/xml/manual/locale.xml: Same.
+       * doc/xml/manual/messages.xml: Same.
+       * doc/xml/manual/spine.xml: Same.
+       * doc/xml/manual/test.xml: Same.
+       * doc/xml/book.txml: Same.
+       * doc/xml/spine.xml: Same.
+
+       * doc/xml/api.xml: Clean up ulink targets, convert to link if possible.
+       * doc/xml/manual/backwards_compatibility.xml: Same.
+       * doc/xml/manual/concurrency.xml: Same.
+       * doc/xml/manual/intro.xml: Same.
+       * doc/xml/manual/parallel_mode.xml: Same.
+       * doc/xml/manual/status_cxx1998.xml: Same.
+       * doc/xml/manual/containers.xml: Same.
+       * doc/xml/manual/io.xml: Same.
+       * doc/xml/manual/support.xml: Same.
+       * doc/xml/manual/strings.xml: Same.
+       * doc/xml/manual/debug_mode.xml: Same.
+       * doc/xml/manual/extensions.xml: Same.
+       * doc/xml/manual/appendix_contributing.xml: Same.
+       * doc/xml/manual/messages.xml: Same.
+       * doc/xml/manual/test.xml: Same.
+
+       * doc/xml/manual/abi.xml: Same.
+       * doc/xml/manual/auto_ptr.xml: Same.
+       * doc/xml/manual/parallel_mode.xml: Same.
+       * doc/xml/manual/build_hacking.xml: Same.
+       * doc/xml/manual/evolution.xml: Same.
+       * doc/xml/manual/using.xml: Same.
+       * doc/xml/manual/debug_mode.xml: Same.
+       * doc/xml/manual/extensions.xml: Same.
+       * doc/xml/manual/diagnostics.xml: Same.
+       * doc/xml/manual/algorithms.xml: Same.
+
+       * doc/html: Regenerate.
+
+2009-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/40712
+       * config/locale/gnu/numeric_members.cc (numpunct<>::
+       _M_initialize_numpunct): Dynamically allocate _M_data->_M_grouping
+       and copy the langinfo data into it.
+       (numpunct<>::~numpunct): Free the allocated memory.
+       * config/locale/gnu/monetary_members.cc (moneypunct<>::
+       _M_initialize_moneypunct): Dynamically allocate _M_data->_M_grouping,
+       _M_data->_M_positive_sign, _M_data->_M_negative_sign,
+       _M_data->_M_curr_symbol.
+       (moneypunct<>::~moneypunct): Free the allocated memory.
+       * testsuite/22_locale/moneypunct/40712.cc: New.
+
+       * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache):
+       Do not leak memory if new throws.
+       * include/bits/locale_facets_nonio.tcc
+       (__moneypunct_cache<>::_M_cache): Likewise.
+
+2009-07-17  Joseph Myers  <joseph@codesourcery.com>
+
+       PR other/40784
+       * configure: Regenerate.
+
+2009-07-16  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/util/testsuite_common_types.h (standard_layout): Activate.
+       * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
+       line numbers.
+       * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
+       * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
+       * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
+
+2009-07-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2009-07-16  Jason Merrill  <jason@redhat.com>
+
+       PR libstdc++/37907
+       * include/std/type_traits: Add is_standard_layout, is_trivial.
+       * testsuite/20_util/make_signed/requirements/typedefs_neg.cc,
+       testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
+       Update line numbers.
+
+2009-07-16  Phil Muldoon <pmuldoon@redhat.com>
+           Tom Tromey <tromey@redhat.com>
+
+       * python/libstdcxx/v6/printers.py (StdStringPrinter.to_string):
+       Fetch std::string to the given length.
+
+2009-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/istream.tcc (basic_istream<>::operator>>(short&),
+       basic_istream<>::operator>>(int&)): Implement resolution of DR 696,
+       [Ready] in Frankfurt.
+       * include/tr1_impl/regex (regex_traits<>::value): Adjust.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc:
+       New.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc:
+       Likewise.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
+       Adjust.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
+       Likewise.
+       * doc/xml/manual/intro.xml: Add an entry for DR 696.
+
+       * include/bits/istream.tcc: Minor clean-up to the initializers of the
+       __err locals.
+       * include/bits/ostream.tcc: Likewise.
+       * src/compatibility.cc: Likewise.
+       * src/istream.cc: Likewise.
+
+2009-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/type_traits (common_type): Remove workaround for
+       PR36628, now fixed.
+
+2009-07-11  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR testsuite/40699
+       PR testsuite/40707
+       PR testsuite/40709
+       * testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit.
+
+2009-07-08  Janis Johnson  <janis187@us.ibm.com>
+
+       PR libstdc++/40691
+       * include/bits/valarray_after.h (_Expr::operator!): Fix return type.
+       * testsuite/26_numerics/valarray/40691.cc: New test.
+
+2009-07-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/21_strings/c_strings/wchar_t/3.cc: Add copyright.
+       * testsuite/21_strings/c_strings/char/3.cc: Same.
+
+2009-07-06  Jason Merrill  <jason@redhat.com>
+
+       * libsupc++/vmi_class_type_info.cc (__do_dyncast): Use src2dst hint
+       to defer searching bases that don't overlap the desired address.
+
+2009-07-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc,
+       testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
+       to_wstring.cc, testsuite/ext/vstring/element_access/char/front_back.cc,
+       testsuite/ext/vstring/element_access/wchar_t/front_back.cc,
+       testsuite/ext/vstring/init-list.cc,
+       testsuite/ext/vstring/moveable.cc,
+       testsuite/ext/vstring/requirements/citerators.cc,
+       testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc,
+       testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc:
+       Use dg-require-string-conversions.
+
+2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
+       to ld_library_path.  Use add_path.  Add just find_libgcc_s to
+       ld_library_path, not every libgcc multilib directory.
+
+2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/40600
+       * testsuite/25_algorithms/minmax/2.cc: Fix consistently with
+       std::minmax return type.
+       * testsuite/25_algorithms/minmax/3.cc: Likewise.
+
+2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/40511
+       * config/locale/gnu/c_locale.cc: Don't use LC_CTYPE_MASK together
+       with glibc2.2.x.
+
+2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/random.tcc
+       (linear_congruential_engine<>::seed(seed_seq&)): Use uint_least32_t
+       as array type.
+
+2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/random.h (__mod(_Tp)): Use defaults.
+       (struct _Mod): Adjust template parameters.
+       (linear_congruential_engine<>::operator()()): Adjust.
+       (typedef _UInt32Type): Remove.
+       (mersenne_twister_engine<>::initialization_multiplier): Fix type.
+       * include/bits/random.tcc (struct _Mod): Adjust template parameters.
+       (linear_congruential_engine<>::seed(result_type)): Adjust __mod
+       calls.
+       (mersenne_twister_engine<>::seed(result_type)): Likewise.
+       (mersenne_twister_engine<>::seed(seed_seq&)): Likewise.
+       (subtract_with_carry_engine<>::seed(result_type)): Likewise.
+       (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise.
+       (seed_seq::seed_seq(std::initializer_list<>)): Likewise.
+       (seed_seq::seed_seq(_InputIterator, _InputIterator)): Likewise.
+       (seed_seq::generate(_RandomAccessIterator, _RandomAccessIterator)):
+       Likewise.
+
+       * include/bits/random.tcc
+       (mersenne_twister_engine<>::seed(result_type)): Fix i usage in the
+       formula (i mod n).
+       (mersenne_twister_engine<>::seed(seed_seq&)): Use uint_least32_t
+       as array type.
+       (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise; fix array
+       size.
+       (subtract_with_carry_engine<>::seed(result_type)): Fix; also use
+       uint_least32_t.
+
+2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future (shared_future): Adjust doxygen comment.
+
+2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/40297
+       * include/bits/atomic_0.h: Reverse debug assertions.
+       * include/bits/atomic_2.h: Likewise.
+
+2009-06-23  DJ Delorie  <dj@redhat.com>
+
+       Add MeP port.
+       * configure.host: Add mep support.
+
 2009-06-23  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/doxygen/user.cfg.in (PREDEFINED): Add _GLIBCXX_ATOMIC_BUILTINS_*.