OSDN Git Service

* config/cpu/sparc/sparc32/bits/atomicity.h
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 5ecc47f..81929d9 100644 (file)
@@ -1,9 +1,275 @@
+2001-12-11  Loren Rittle <ljrittle@acm.org>
+
+       * config/cpu/sparc/sparc32/bits/atomicity.h
+       (__Atomicity_lock<0>::_S_atomicity_lock): Add.
+
+2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
+       * include/bits/basic_string.h:  Fix typos.
+
+2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
+            Nathan Myers  <ncm@cantrip.org>
+
+       * include/bits/basic_string.tcc (_M_replace_safe):  New function.
+       (_M_replace(input_iterator_tag), append members):  Use it.
+       (_M_replace(forward_iterator_tag)):  Remove.
+       * include/bits/basic_string.h:  Adjust declarations.
+       * src/string-inst.cc:  Adjust declarations.
+
+2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
+           Philip Martin <pmartin@uklinux.net>
+       
+       * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
+       (__num_base::_S_scale_oct): Add.
+       * src/locale.cc: Add definitions.
+       * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
+
+       * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
+       
+2001-12-07  Nathan Myers  <ncm@cantrip.org>
+           Loren Rittle <ljrittle@acm.org>
+
+       libstdc++/5037
+       * config/cpu/sparc/sparc32/bits/atomicity.h
+       (struct __Atomicity_lock<__inst>): Add.
+       (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
+       (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
+       instead of lock local to static function.
+       (__atomic_add): Likewise.
+
+2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
+
+       * src/globals.cc:  Remove __GTHREADS guard.
+
+2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
+        
+       * include/bits/locale_facets.tcc (num_put::_M_convert_float):
+       Extend comment, reduce __cs_size for non-fixed outputs.
+
+2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/basic_string.tcc (_M_mutate): Fix typo
+       in the previous check in.
+
+2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
+           Loren J. Rittle <ljrittle@acm.org>
+
+       * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
+       exponential growth policy to meet linear amortized time
+       requirements of the standard.
+        (_S_create): Adjust comment.
+
+2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/3720
+       * include/bits/locale_facets.tcc (num_put): Clean.
+       (num_get::_M_extract_float): Change argument to string. 
+       (num_get::do_get(float)): Fixup.
+       (num_get::do_get(double)): Same.
+       (num_get::do_get(long double)): Same.
+       (num_get::_M_extract_int): Add maximum length parameter, __max.
+       (num_get::_M_extract_float): Correct zeros, use string.
+       * include/bits/locale_facets.h (num_get::_M_extract_float): Change
+       declaration here.
+       * src/locale.cc (__num_base::_S_atoms): Remove x, X.
+       * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
+       
+2001-12-06  Philip Martin  <pmartin@uklinux.net>
+
+       * testsuite/27_io/istream_extractor_arith.cc (test12): Add
+       tests for excess input digits.
+
+2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
+
+       * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
+       * include/bits/stl_algo.h:  Likewise.
+       * include/bits/stl_algobase.h:  Likewise.
+       * include/bits/stl_bvector.h:  Likewise.
+       * include/bits/stl_deque.h:  Likewise.
+       * include/bits/stl_function.h:  Likewise.
+       * include/bits/stl_iterator.h:  Likewise.
+       * include/bits/stl_iterator_base_funcs.h:  Likewise.
+       * include/bits/stl_iterator_base_types.h:  Likewise.
+       * include/bits/stl_list.h:  Likewise.
+       * include/bits/stl_multimap.h:  Likewise.
+       * include/bits/stl_multiset.h:  Likewise.
+       * include/bits/stl_pair.h:  Likewise.
+       * include/bits/stl_queue.h:  Likewise.
+       * include/bits/stl_set.h:  Likewise.
+       * include/bits/stl_stack.h:  Likewise.
+       * include/bits/stl_tempbuf.h:  Likewise.
+       * include/bits/stl_tree.h:  Likewise.
+       * include/bits/stl_vector.h:  Likewise.
+
+       * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
+       Doxygenate more comments.  Correct historical artifacts in comments.
+       (alloc, single_alloc):  Uglify non-standard names.
+       (__default_alloc_template::_NFREELISTS):  Calculate from other
+       parameters.
+       (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
+       (__default_alloc_template::_Lock):  Mark as "unused".
+       * include/backward/alloc.h:  Update.
+       * include/bits/stl_bvector.h:  Likewise.
+       * include/ext/ropeimpl.h:  Likewise.
+       * include/ext/stl_hashtable.h:  Likewise.
+
+2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       DR/282
+       * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
+       grouping to floating point types.
+       * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
+       
+2001-12-04  Paolo Carlini <pcarlini@unitus.it>
+
+        libstdc++/4402
+        * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
+       from the PR.
+        * include/bits/locale_facets.tcc (num_put::_M_convert_float):
+        Deal properly with long ios_base::fixed floats.
+        (num_put::_M_widen_float): use
+       __len in __builtin_alloca call.
+
+2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/Makefile.am (sources): Add ext-inst.cc.
+       * src/Makefile.in: Regenerate.
+       * src/ext-inst.cc: New file.
+       * include/bits/stl_threads.h: Format.
+       * src/globals.cc: Add instantiation for _S_swap_lock.
+
+       * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
+       instantiation.
+
+2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
+       and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
+       * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
+       for explicit instantiation of class std::basic_string<char,
+       gnu_char_traits, std::allocator<char> >.
+
+2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/22_locale/collate.cc: Compile-only.
+       * testsuite/22_locale/time_get.cc: Same.
+       * testsuite/22_locale/time_put.cc: Same.
+       * testsuite/22_locale/numpunct.cc: Same.
+       * testsuite/22_locale/num_put.cc: Same.
+       * testsuite/22_locale/num_get.cc: Same.
+       * testsuite/22_locale/moneypunct.cc: Same.
+       * testsuite/22_locale/money_get.cc: Same.
+       * testsuite/22_locale/messages.cc: Same.
+       * testsuite/22_locale/ctype.cc: Same.
+
+2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
+       member instantiations.
+
+2001-12-03  Steve Ellcey  <sje@cup.hp.com>
+
+        * libstdc++-v3/configure.in: Add support for hpux cross compiles,
+        combine common linux/hpux/generic cross compile support to reduce
+        redundent lines.
+        * libstdc++-v3/configure: Regenerate.
+
+2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
+
+       * docs/html/ext/howto.html: Update commentary.
+       * include/bits/c++config: Update threading configuration comment.
+       (__STL_GTHREADS): Remove macro definition.
+       (__STL_THREADS): Likewise.
+       * include/bits/stl_threads.h: Leave only the configuration
+       path which had been guarded by __STL_GTHREADS.  Remove all
+       guards related to __STL_GTHREADS, __STL_SGI_THREADS,
+       __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
+       * include/bits/stl_alloc.h: Leave only the configuration path
+       which had been guarded by __STL_THREADS.  Remove configuration
+       path and guards for __STL_SGI_THREADS.
+       (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
+       (__NODE_ALLOCATOR_LOCK): Likewise.
+       (__NODE_ALLOCATOR_UNLOCK): Likewise.
+       (_NOTHREADS): Remove guards related to macro.
+       * include/ext/stl_rope.h: Remove configuration path and guards
+       for __STL_SGI_THREADS.
+       * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
+
+2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/ext/howto.html:  Update list of implemented DRs.
+       * docs/html/ext/lwg-active.html:  Import R20 from upstream.
+       * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
+
+2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/3150
+       DR/266
+       * libsupc++/exception (bad_exception::~bad_exception()): Remove
+       declaration.
+       * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
+       * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
+       (bad_typeid::~bad_typeid()): Remove.
+       * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
+       (bad_typeid::~bad_typeid()): Same.
+       * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
+       * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
+
+       * include/bits/std_iomanip.h: Tweak.
+       
+2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
+
+       libstdc++/3655
+       * include/bits/locale_facets.tcc (__pad): Add bool parameter to
+       correctly pad internal-adjusted const char*-type objects.
+       * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
+       * include/bits/ostream.tcc (operator<<(_CharT , char, const
+       _CharT*, const char*, const basic_string&): Update calls.
+       * src/locale-inst.tcc: Update declarations.
+       * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
+
+2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
+
+2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/locale_facets.tcc (num_get::do_get(long double)):
+       Fix __traits_type typo.
+
+2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/locale_facets.tcc (__pad): Correctly pad
+       internal-adjusted hex numbers.
+       * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
+
+2001-11-28  Paolo Carlini <pcarlini@unitus.it>
+           Loren J. Rittle <ljrittle@acm.org>
+
+       * include/bits/basic_string.h
+       (basic_string::_Rep::__default_excess, _S_excess_slop):
+       Unused, remove.
+       * include/bits/basic_string.tcc: Remove dead code.
+       * include/bits/c++config: Remove comment.
+
+2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * config/locale/moneypunct_members_gnu.cc
+       (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
+       for ia64, others.
+       * config/locale/numpunct_members_gnu.cc
+       (numpunct<wchar_t>::_M_initialize_numpunct): Same.
+
 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/locale_facets.tcc: Formatting tweaks.
 
        * testsuite/23_containers/map_operators.cc: Don't xfail.
        * testsuite/23_containers/set_operators.cc: Same.
+       * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
+       * testsuite/backward/header_deque_h.cc: Same.
 
 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
            Paolo Carlini  <pcarlini@unitus.it>
        * testsuite/21_strings/replace.cc (test02): Add test.
        * testsuite/21_strings/assign.cc (test01): New file.
        
-001-10-30  Jakub Jelinek  <jakub@redhat.com>
+2001-10-30  Jakub Jelinek  <jakub@redhat.com>
 
        * include/bits/stl_deque.h (_M_new_elements_at_front): Use
        __throw_exception_again.