OSDN Git Service

2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 5c7ce9d..a6a2909 100644 (file)
@@ -1,3 +1,335 @@
+2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
+       * testsuite/20_util/hash/quality.cc: Same.
+
+2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47921
+       * include/std/streambuf (basic_streambuf<>::__safe_gbump,
+       __safe_pbump): Add.
+       * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
+       xputn): Use the latter.
+       * include/bits/streambuf_iterator.h: Likewise.
+       * src/strstream.cc: Likewise.
+       * src/streambuf.cc: Likewise.
+       * src/compatibility.cc: Likewise.
+       * src/istream.cc: Likewise.
+       * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
+       instead of gbump.
+       * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
+       * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
+       seekpos, _M_sync): Use setg, setp, and _M_pbump.
+       * config/abi/pre/gnu.ver: Tweak.
+
+2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/20_util/ratio/comparisons/comp3.cc: New.
+
+2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
+
+       PR libstdc++/42622
+       * include/std/ratio (ratio_less): Reimplement to never overflow.
+       * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
+
+2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/18_support/type_info/fundamental.cc: New.
+
+       * testsuite/Makefile.am: Make clean fixups.
+       * testsuite/Makefile.in: Regenerate.
+
+2011-02-19  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/string (basic_string::insert): Add iterator check and
+       pass normal iterator to normal insert.
+       * include/debug/macros.h (__glibcxx_check_heap,
+       __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
+       already done.
+
+2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47776
+       * testsuite/ext/vstring/hash/char/1.cc: Fix.
+       * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
+
+2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (basic_regex::traits_type): Add typedef.
+       (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
+       (basic_regex::operator=(basic_regex&&)): Likewise.
+       (basic_regex::assign(basic_regex&&)): Likewise.
+       (operator==(sub_match,...)): Implement DR 1181.
+       (match_results::match_results(match_results&&)): Define.
+       (match_results::operator=(const match_results&)): Fix parameter type.
+       (match_results::operator=(match_results&&)): Define.
+
+2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/47724
+       * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
+       line anchors as metacharacters.
+       * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
+
+2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47773
+       * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
+       hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
+       hash<__gnu_cxx::__u32vstring>): Add.
+       * testsuite/ext/vstring/hash/char/1.cc: New.
+       * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
+
+2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (match_results::format): Use char_traits.
+
+2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/std/atomic: Remove atomic_address, uplift to N3225.
+       * include/bits/atomic_0.h: Same.
+       * include/bits/atomic_2.h: Same.
+       * include/bits/atomic_base.h: Same.
+       * testsuite/29_atomics/atomic_address/*: Delete.
+
+2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex.h (sub_match::sub_match): Add.
+       (match_results::ready): Add.
+       (match_results::empty): Adjust.
+       (match_results::length): Add missing dereference.
+       (match_results::operator[],prefix,suffix): Add debug mode checks.
+       (match_results::cend): Re-use end().
+       (match_results::format): Adjust signatures.
+       (operator==(match_results,match_results)): Implement.
+       * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
+       * include/bits/regex_constants.h (syntax_option_type): Likewise.
+       * include/bits/regex_grep_matcher.h: Fix comment typo.
+       (_SpecializedResults::_SpecializedResults): Simplify.
+       * include/bits/regex_cursor.h: Fix comment typo.
+       * include/bits/regex_nfa.h: Likewise.
+       * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
+       Fix error code, remove xfail.
+       * testsuite/28_regex/basic_regex/ctors/extended/
+       string_range_01_02_03.cc: Likewise.
+
+2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
+       * include/bits/regex_nfa.h: Remove unnecessary base classes.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47709
+       * include/ext/algorithm (is_heap): In C++0x mode import from
+       namespace std.
+       * testsuite/ext/is_heap/47709.cc: New.
+
+2011-02-12  Jakub Jelinek  <jakub@redhat.com>
+           Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/47662
+       * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
+       * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
+
+2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/tr1/cmath (fabs): Define.
+       * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
+       in C++0x mode.
+
+2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/tr1/headers/c++200x/complex.cc: New.
+
+2011-02-11  Johannes Singler  <singler@kit.edu>
+
+       PR libstdc++/47433
+       * include/parallel/losertree.h
+       (_LoserTreeUnguarded<>::__delete_min_insert):
+       Add missing "using std::swap;", as for other variants.
+
+2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/Makefile.am (sources): Add regex.cc.
+       * src/Makefile.in: Regenerate.
+       * src/regex.cc: New.
+       * include/bits/regex_error.h (error_type): Use constexpr.
+       (regex_error): Move ctor and dtor out of line.
+
+       * testsuite/28_regex/03_requirements: To...
+       * testsuite/28_regex/requirements: ... this.
+       * testsuite/28_regex/04_header: To...
+       * testsuite/28_regex/headers: ... this.
+       * testsuite/28_regex/05_constants: To...
+       * testsuite/28_regex/constants: ... this.
+       * testsuite/28_regex/06_exception_type: To...
+       * testsuite/28_regex/regex_error: ... this.
+       * testsuite/28_regex/07_traits: To...
+       * testsuite/28_regex/traits: ... this.
+       * testsuite/28_regex/08_basic_regex: To...
+       * testsuite/28_regex/basic_regex: ... this.
+       * testsuite/28_regex/09_sub_match: To...
+       * testsuite/28_regex/sub_match: ... this.
+       * testsuite/28_regex/10_match_results: To...
+       * testsuite/28_regex/match_results: ... this.
+       * testsuite/28_regex/11_algorithms: To...
+       * testsuite/28_regex/algorithms: ... this.
+       * testsuite/28_regex/12_iterators: To...
+       * testsuite/28_regex/iterators: ... this.
+
+2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/47662
+       * include/bits/c++config: Do not use alternative token.
+       * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
+
+2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * src/future.cc (future_error_category::message): Handle no_state.
+
+2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
+       not test in C++0x mode.
+       * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
+       * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
+       in C++0x mode too.
+
+2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/status_cxx200x.xml: Update.
+       * doc/html/*: Regenerate.
+
+2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/debug.xml: Improve data race docs.
+
+2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47668
+       * include/debug/map.h (map): Remove unnecessary using-declaration.
+       * include/debug/multimap.h (multimap): Likewise.
+       * include/profile/map.h (map): Likewise.
+       * include/profile/multimap.h (multimap): Likewise.
+
+2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/43863
+       * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
+       Move to ...
+       * libsupc++/guard_error.cc: ... new file.
+       * libsupc++/Makefile.am: Update.
+       * libsupc++/Makefile.in: Regenerate.
+
+2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future (packaged_task::operator bool): Rename to...
+       (packaged_task::valid): ...this.
+       * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
+       * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
+       * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
+       * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
+       * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
+       * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
+       * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
+       * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
+       * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
+       * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
+       * testsuite/30_threads/packaged_task/members/valid.cc: Add.
+
+2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * doc/xml/manual/io.xml: Fix typo.
+       * doc/html/manual/streambufs.html: Likewise.
+
+2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * config/abi/pre/gnu.ver: Fix.
+
+2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * doc/xml/manual/appendix_porting.xml: Add doc section.
+       * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
+       * doc/xml/manual/documentation_hacking.xml: ...here.
+
+       * doc/xml/manual/debug_mode.xml: Adjust.
+       * doc/xml/manual/prerequisites.xml: Adjust.
+       * doc/Makefile.am (xml_sources): Add dot files,
+       documentation_hacking.xml.
+       * doc/Makefile.in: Regenerate.
+
+       * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
+       * doc/xml/images/confdeps.pdf: Add.
+
+       * doc/html/*: Regenerate.
+
+2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/gnu/fdl-1.2.xml: Remove.
+       * doc/xml/gnu/gpl-2.0.xml: Remove.
+       * doc/Makefile.am: Update.
+       * doc/Makefile.in: Regenerate.
+
+2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/47628
+       * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
+       iterator)): Add back in C++03 mode.
+       * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
+       * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
+
+2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/47560 try two
+       * config/os/hpux/os_defines.h: Guard for C++.
+
+2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/xml/faq.xml: Adjust link to bug database.
+       Remove old item on broken header files.
+
+2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/regex_error.h (__throw_regex_error): Not inline.
+       * src/functexcept.cc: Add definition.
+       * config/abi/pre/gnu.ver: Export.
+
+2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
+       * configure: Regenerate.
+
+2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/46914
+       * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
+       _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
+       avoid name conflicts.
+
+2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/47560
+       * config/os/hpux/os_defines.h: Remove use of macros on namespace.
+
+2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * scripts/run_doxygen: Allow doxygen 1.7.0 again.
+       * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
+       (COMPACT_LATEX): Enable.
+
+       * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
+       * include/profile/impl/profiler_hash_func.h: Same.
+       * include/bits/hashtable.h: Same.
+       * include/backward/auto_ptr.h: Same.
+       * include/backward/strstream: Same.
+       * include/backward/backward_warning.h: Same.
+       * include/backward/binders.h: Same.
+
 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/xml/manual/debug.xml: Use GDB instead of gdb.
        * include/backward/auto_ptr.h: Same.
        * include/backward/binders.h: Same.
 
+2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * doc/html/ext/lwg-active.html: Update to Revision D73.
+       * doc/html/ext/lwg-closed.html: Likewise.
+       * doc/html/ext/lwg-defects.html: Likewise.
+       * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
+
 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/36104 part four