OSDN Git Service

2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index acc8d56..74ec226 100644 (file)
@@ -1,3 +1,105 @@
+2008-09-28  Chris Fairles <cfairles@gcc.gnu.org>
+
+       * include/std/mutex (try_lock): Implement generic try_lock.
+       * testsuite/30_threads/try_lock/1.cc: New.
+       * testsuite/30_threads/try_lock/2.cc: Likewise.
+       * testsuite/30_threads/try_lock/3.cc: Likewise.
+       * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
+       * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
+       * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
+       Likewise.
+       * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
+       
+2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
+            Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate for new libtool.
+       * aclocal.m4: Ditto.
+       * Makefile.in: Ditto.
+       * src/Makefile.in: Ditto.
+       * doc/Makefile.in: Ditto.
+       * po/Makefile.in: Ditto.
+       * libmath/Makefile.in: Ditto.
+       * include/Makefile.in: Ditto.
+       * libsupc++/Makefile.in: Ditto.
+       * testsuite/Makefile.in: Ditto.
+
+2008-09-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/bitset: Adjust comment to reflect DR 853.
+       * include/debug/bitset: Likewise.
+       * doc/xml/manual/intro.xml: Add an entry for DR 853.
+
+2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       Implement DR 396 [Ready].
+       * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
+       size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
+       char, char), bitset<>::to_string(_CharT, _CharT),
+       bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
+       size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
+       (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
+       const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
+       (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
+       std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
+       * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
+       size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
+       char, char), bitset<>::to_string(_CharT, _CharT)): Add.
+       * doc/xml/manual/intro.xml: Add an entry for DR 396.
+       * testsuite/23_containers/bitset/cons/dr396.cc: Add.
+       * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
+
+2008-09-23  Chris Fairles <cfairles@gcc.gnu.org>
+
+       * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
+       * testsuite/25_algorithms/max/37547.cc: Likewise.
+       * testsuite/25_algorithms/minmax/37547.cc: Likewise.
+
+2008-09-23  Chris Fairles <cfairles@gcc.gnu.org>
+
+       * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
+       typedef monotonic_clock to system_clock and instead declare new class.
+       * src/chrono.cc: Conditionally define monotonic_clock::now().
+       * include/std/condition_variable (wait_until): Throw exception if
+       __gthread_cond_timedwait returns with error other than timed_out. Use
+       system_clock as known clock type (__clock_t) and add overloads for known
+       and unknown clocks. In the unknown case, sync to the known clock.
+       Implement overload taking a predicate.
+       (wait_for): Implement overload taking a predicate.
+       * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
+       * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
+       line numbers.
+       * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
+       Likewise.
+       * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
+       * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
+       * testsuite/30_threads/condition_variable/member/1.cc: New.
+       * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
+
+2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/37624
+       * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
+       when strtold is not available.
+       * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
+
+2008-09-23  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/37391 continued.
+       * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
+       specify full path for source file links.
+       * doc/html/ext/pb_ds/pq_examples.html: Same.
+
+2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
+       by value parameters.
+       * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
+
 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/32422, DR 23 [Ready in R60]
 
        PR libstdc++/37391
        * doc/html/ext/pb_ds/*.html: Fix external links.
-       
+
 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,