OSDN Git Service

2010-10-11 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index e3c384d..0ec847a 100644 (file)
@@ -1,3 +1,142 @@
+2010-10-11  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * doc/xml/api.xml: Add link to 4.5 generated docs.
+
+2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/future (_Result_alloc): Derive from _Alloc,
+       exploit the Empty Base Optimization.
+
+2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45403
+       * python/libstdcxx/v6/printers.py: Check for lazy_string support.
+
+2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/future (uses_allocator<packaged_task<>,>): Add;
+       minor formatting tweaks.
+
+2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future: Enable allocator support.
+       * testsuite/30_threads/packaged_task/cons/alloc.cc: Expect PASS.
+       * testsuite/30_threads/promise/cons/alloc.cc: Expect PASS.
+
+2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45893
+       * include/std/functional (bind): Implement DR 817 and add support
+       for volatile-qualified call wrappers.
+       * include/std/mutex (call_once): Implement DR 891.
+       * include/std/thread (thread::thread): Implement DR 929.
+       * include/std/future: Optimise use of std::bind.
+       * testsuite/20_util/bind/cv_quals.cc: Test volatile-qualification.
+       * testsuite/20_util/bind/move.cc: New.
+
+2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR libstdc++/45841
+       * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Rewrite to
+       use an actual testsuite file and machinery, not ".".  Specifically
+       check that incorrectly seeking backwards from 0 yields an error,
+       and that reading, seeking backwards and reading again works.
+
+       * testsuite/libstdc++-dg/conformance.exp: Apply
+       check_v3_target_fileio as a gate for tests in
+       subdirectories matching the substring _filebuf.
+
+2010-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/locale_facets_nonio.tcc (time_get<>::
+       _M_extract_via_format): Tighten somewhat error checking.
+       * testsuite/22_locale/time_get/get_time/char/6.cc: New.
+       * testsuite/22_locale/time_get/get_time/wchar_t/6.cc: Likewise.
+
+2010-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45924
+       * include/std/functional (_Bind_result::operator()): Do not expand
+       template parameter pack in forward call.
+       * testsuite/20_util/bind/45924.cc: New.
+
+2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/functional (struct _Weak_result_type_impl): Add
+       specializazions for cv-qualified function types, for variadic
+       function types and pointers and references to function types,
+       and for pointers to member function types.
+       (struct _Reference_wrapper_base): Add specializations for
+       cv-qualified unary and binary function types.
+       * testsuite/20_util/reference_wrapper/result_type.cc: New.
+       * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
+
+2010-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR libstdc++/45863
+       * scripts/extract_symvers: Restore revision 164879.
+       Only use pvs on SunOS.
+
+2010-10-05  David Krauss  <potswa@mac.com>
+
+       PR libstdc++/45841
+       * include/bits/fstream.h (basic_filebuf::underflow): Overflow
+       success does not preclude returning failure.
+       (basic_filebuf::pbackfail): Likewise.
+       (basic_filebuf::xsputn): Fix indentation problem.
+       (basic_filebuf::xsgetn): Likewise. Also, add similar overflow
+       call to enable optimized case from write mode.
+       * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
+       * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
+
+2010-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
+       (time_get::get_date): Likewise.
+
+2010-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add.
+       * include/std/functional (_Has_result_type_helper,
+       _Has_result_type): Remove; use the above to define __has_result_type.
+       * include/bits/stl_iterator_base_types.h: Use the above to define
+       __has_iterator_category.
+       * include/bits/allocator.h (__has_allocator_type): Use the above.
+       * include/bits/cpp_type_traits.h (__has_iterator_category,
+       __is_iterator): Remove.
+
+2010-10-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+           Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/44647
+       * libsupc++/Makefile.am (sources): Add bad_alloc.cc.
+       * libsupc++/new_handler.cc (bad_alloc): Move to ...
+       * libsupc++/bad_alloc.cc (bad_alloc): ... here, new file.
+       * libsupc++/Makefile.in: Regenerate.
+
+2010-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/functional (function<>::swap): Use std::swap.
+       * include/tr1/functional (function<>::swap): Likewise.
+
+2010-10-04  Andreas Schwab  <schwab@redhat.com>
+
+       * acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to
+       AC_HELP_STRING.  Double quote expansion of _g_help.
+       (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of
+       GLIBCXX_ENABLE.
+       (GLIBCXX_ENABLE_CHEADERS): Likewise.
+       (GLIBCXX_ENABLE_CLOCALE): Likewise.
+       (GLIBCXX_ENABLE_ALLOCATOR): Likewise.
+       (GLIBCXX_ENABLE_CSTDIO): Likewise.
+       (GLIBCXX_ENABLE_SYMVERS): Likewise.
+       * configure: Regenerate.
+
+2010-10-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR libstdc++/45863
+       * scripts/extract_symvers: Revert the pvs change.
+
 2010-10-01  Benjamin Kosnik  <bkoz@redhat.com>
 
        * scripts/extract_symvers: Add support for tracking TLS symbols.
        * configure: Regenerate.
        * include/Makefile.in: Likewise.
 
->>>>>>> .r164755
 2010-09-22  David Krauss  <potswa@mac.com>
 
        PR libstdc++/45628