regex_compiler.h: Nest namespace versioning.
[gcc.git] / libstdc++-v3 / ChangeLog
index 44c87bece9fd1cc497a046d12e579ebdacdf64b5..1c4be426a26d98fe878b605871937fe9f39f9a94 100644 (file)
+2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/Makefile.am: Add functional.cc, shared_ptr.cc.
+       * src/Makefile.in: Regenerate.
+       * libsupc++/Makefile.am: Add nested_exception.cc.
+       * libsupc++/Makefile.in: Regenerate.
+       * src/system_error.cc: Add ctor and dtor definitions for error_category.
+       * src/functional.cc: New. Add dtor definition for bad_function_call.
+       * src/stdexcept.cc: Add dtor definitions for domain_error,
+       invalid_argument, length_error, out_of_range, range_error,
+       overflow_error, underflow_error.
+       * src/future.cc: Add dtor definition for __future_base::_Result_base.
+       * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
+       * src/thread.cc: Add dtor for thread::_Impl_base.
+       * include/std/system_error: Adjust.
+       * include/std/stdexcept: Same.
+       * include/std/future: Same.
+       * include/std/functional: Same.
+       * include/std/thread: Same.
+       * include/bits/shared_ptr_base.h: Same.
+       * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
+       * libsupc++/nested_exception.h: Adjust.
+       * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
+       * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
+       * config/abi/pre/gnu.ver: Add new exports.
+
+2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/regex_compiler.h: Nest namespace versioning.
+       * include/bits/regex_grep_matcher.tcc: Same.
+       * include/bits/regex_grep_matcher.h: Same.
+       * include/bits/regex_cursor.h: Same.
+       * include/bits/regex_nfa.h: Same.
+       * include/bits/regex_nfa.tcc: Same.
+
+       * include/bits/regex_grep_matcher.h: Version forward declarations.
+       * include/bits/c++config: Add namespace association for __regex.
+       * include/bits/regex.h: Make sub_match consistent.
+
+2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
+       equivalents.
+       * doc/html/manual/abi.html: Regenerate.
+
+2011-03-14  Tom Tromey  <tromey@redhat.com>
+
+       * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
+       Try to import `gdb.printing' module.
+       (UniquePointerPrinter.__init__): Add 'typename' argument.
+       (StdSlistPrinter.__init__): Likewise.
+       (StdSlistIteratorPrinter.__init__): Likewise.
+       (StdVectorIteratorPrinter.__init__): Likewise.
+       (StdRbtreeIteratorPrinter.__init__): Likewise.
+       (StdDebugIteratorPrinter.__init__): Likewise.
+       (StdDequeIteratorPrinter.__init__): Likewise.
+       (StdStringPrinter.__init__): Likewise.
+       (RxPrinter, Printer): New class.
+       (libstdcxx_printer): New global.
+       (register_libstdcxx_printers): Rewrite.
+       (build_libstdcxx_dictionary): Rewrite.
+       (pretty_printers_dict): Remove.
+
+2011-03-14  Andrey Zholos  <aaz@althenia.net>
+
+       PR libstdc++/48114
+       * include/bits/random.h (geometric_distribution): Correct formula
+       in comment, per C++0x.
+       (geometric_distribution<>::param_type::param_type(double)): Fix check.
+       (geometric_distribution<>::param_type::_M_initialize):
+       Store log(1 - p).
+       * include/bits/random.tcc (geometric_distribution<>::operator()):
+       Fix computation.
+       (binomial_distribution<>::operator()): Likewise.
+
+2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/util/testsuite_rvalref.h: Minor tweaks.
+
+2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
+           Chris Jefferson  <chris@bubblescope.net>
+           Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
+       New.
+       * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
+       Likewise.
+       * testsuite/25_algorithms/partial_sort/check_compare_by_value:
+       Likewise.
+       * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
+       Likewise.
+       * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
+
+2011-03-09  Chris Jefferson  <chris@bubblescope.net>
+
+       PR libstdc++/48038
+       * include/bits/stl_algo.h (__merge_backward): Rename to
+       __move_merge_backward and change to always move rather than copy.
+       (__move_merge): New function similar to std::merge except values
+       are moved instead of copied.
+       (__merge_adaptive, __merge_sort_loop): Change from using std::merge
+       and __merge_backward to __move_merge and __move_merge_backward.
+
 2011-03-07  Jason Merrill  <jason@redhat.com>
 
        * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
        expected errors.
 
 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
-            Matthias Klose  <doko@ubuntu.com>
+           Matthias Klose  <doko@ubuntu.com>
            Jonathan Wakely  <redi@gcc.gnu.org>
 
        PR libstdc++/47145