OSDN Git Service

2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 3af7631..6d2eed8 100644 (file)
@@ -1,3 +1,273 @@
+2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
+            Per Bothner  <per@bothner.com>
+           Mohan Embar  <gnustuff@thisiscool.com>
+
+       PR libstdc++/16248
+       * include/bits/concurrence.h (__glibcxx_mutex_type): New.
+       (__glibcxx_mutex): Encapsulate mutex init function into type for
+       threaded configurations without __GTHREAD_MUTEX_INIT.
+       (lock::lock): Make device member a reference.
+       (lock::~lock): Same.
+       * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
+       to mutex_type.
+       * src/allocator.cc: Same.
+       
+2004-06-30  Brad Spencer  <spencer@infointeractive.com>
+
+       * include/ext/mt_allocator.h: Handle allocations at static
+       initialization that happen before _S_options is (automatically)
+       constructed; set _S_init even if _M_force_new is true.
+       
+2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * config/linker-map.gnu: Revert new exports.
+
+2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
+            Stuart Anderson  <anderson@netsweng.com>
+       
+       * config/linker-map.gnu: Add destructor exports for abstract base
+       classes to conform to LSB.
+
+2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+            Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/cpp_type_traits.h: Add __is_pointer and
+       __is_trivially_copyable.
+       * include/bits/stl_algobase.h (fill, fill_n): Slightly
+       tweak to use the latter.
+       (__copy_backward_dispatch): Remove.
+       (__copy_backward_aux): Rewrite to use __is_pointer and
+       __is_trivially_copyable and __copy_backward::copy_b.
+       (__copy_backward): Rewrite as a class template and two
+       specializations.
+
+2004-06-30  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/25_algorithms/copy.cc: Move to...
+       * testsuite/25_algorithms/copy/1.cc: ... here, extend.
+       * testsuite/25_algorithms/copy/2.cc: New.
+       * testsuite/25_algorithms/copy/3.cc: New.
+       * testsuite/25_algorithms/copy/4.cc: New.
+
+2004-06-29  Paul Brook  <paul@codesourcery.com>
+
+       * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
+       element size in the cookie.
+
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/cpp_type_traits.h: Move the additions to
+       namespace __gnu_internal outside of namespace std; trivial
+       formatting fixes.
+
+2004-06-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
+       Revert -Weffc++ changes that defined copy ctory and or assignment
+       operator.
+       * libsupc++/tinfo.cc (__upcast_result): Same.
+       
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * src/localename.cc (locale::_Impl::_Impl): Slightly improve
+       the algorithm used to name the categories.
+
+2004-06-28  Paolo Bonzini  <bonzini@gnu.org>
+
+       * include/Makefile.am: Give a .gch extension to
+       the PCH files, not only to the directory.
+       * include/Makefile.in: Regenerate.
+
+2004-06-28  Paolo Carlini  <pcarlini@suse.de>
+
+       * config/locale/gnu/monetary_members.cc
+       (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
+       assignments of _M_decimal_point and _M_thousands_sep.
+
+2004-06-27  Paolo Carlini  <pcarlini@suse.de>
+
+       * docs/html/17_intro/contribute.html: Update some links.
+       * docs/html/17_intro/porting-howto.html: Likewise.
+       * docs/html/17_intro/porting-howto.xml: Likewise.
+       * docs/html/18_support/howto.html: Likewise.
+       * docs/html/21_strings/howto.html: Likewise.
+       * docs/html/27_io/howto.html: Likewise.
+       * docs/html/configopts.html: Likewise.
+       * docs/html/ext/howto.html: Likewise.
+       * docs/html/faq/index.html: Likewise.
+       * docs/html/install.html: Don't mention 2.x compilers.
+
+2004-06-27  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/ext/rope: Trivial formatting fixes.
+       * include/ext/ropeimpl.h: Likewise.
+
+2004-06-26  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/16210
+       * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
+       availability of strto(u)ll, not used anymore in the iostreams.
+       * configure: Regenerate.
+
+2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/16182      
+       * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
+       AC_DEFINE_UNQUOTED.
+       * configure: Regenerate.
+
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * libsupc++/cxxabi.h: Define __ARM_EABI__
+       (__guard): Use it.
+       * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
+
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * include/bits/concurrence.h: Still create mutex object when
+       single-threaded.
+
+2004-06-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algobase.h (fill, fill_n): Revert last
+       change: actually we need to copy construct an object of type
+       _Tp, not of type iterator_traits<>::value_type, therefore the
+       code is ok.
+
+2004-06-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algobase.h (fill, fill_n): Tighten the
+       dispatch: use iterator_traits<>::value_type, not _Tp.
+
+2004-06-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
+       * testsuite/25_algorithms/fill/2.cc: Likewise.
+
+2004-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
+           Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
+       for fill and fill_n, respectively: when copying is cheap, use a
+       temporary to avoid a memory read in each iteration.
+
+2004-06-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/25_algorithms/fill/1.cc: New.
+       * testsuite/25_algorithms/fill/2.cc: Likewise.
+
+2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/debug/formatter.h (__gnu_debug::_Error_formatter):
+       Remove copy constructor and assignment operator.
+
+2004-06-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/concurrence.h (__gnu_cxx::lock): New.
+       * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
+       (__pool_base::_M_get_mutex): New.
+       * include/bits/allocator.h: Tweak.
+       * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
+       * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
+       * include/bits/stl_threads.h: Remove.
+       * include/Makefile.am: Also here.
+       * include/Makefile.in: Regenerate.
+
+       * src/locale_init.cc: Use __gnu_cxx::lock.
+
+       * src/allocator.cc: Move all instantiations...
+       * src/allocator-inst.cc: ...here.
+       
+2004-06-23  Andrew Pinski  <apinski@apple.com>
+
+       * linkage.m4: Remove check for libmx.   
+       * configure: Regenerate.
+
+2004-06-23  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/16154
+       * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
+       Don't require the _DefaultConstructibleConcept.
+       (struct _ForwardIteratorConcept): Require it here.
+
+2004-06-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * include/bits/istream.tcc (getline): Make sure arguments passed
+       to min/max have the same type.
+       * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
+       * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
+
+2004-06-22  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * docs/html/abi.html: Update links.
+
+2004-06-22  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/26_numerics/complex_inserters_extractors.cc,
+       complex_value.cc, buggy_complex.cc: Move to...
+       * testsuite/26_numerics/complex/: ... here.
+       * testsuite/26_numerics/c99_classification_macros_c++.cc,
+       c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
+       fabs_inline.cc: Move to...
+       * testsuite/26_numerics/cmath/: ... here.
+       * testsuite/26_numerics/binary_closure.cc, slice.cc,
+       slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
+       valarray_name_lookup.cc, valarray_operators.cc,
+       valarray_subset_assignment.cc: Move to...
+       * testsuite/26_numerics/valarray/: ... here (new dir).
+       * testsuite/26_numerics/sum_diff.cc: Move to...
+       * testsuite/26_numerics/numeric/: ... here (new dir).
+
+2004-06-22  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/std/std_istream.h (ignore(streamsize __n = 1,
+       int_type __delim = traits_type::eof())): Split into...
+       (ignore(), ignore(streamsize __n), ignore(streamsize __n,
+       int_type __delim)): The first two can be much more simpler
+       and efficient than the fully general case; also, the last
+       two can take advantage of the same mechanism already used
+       for getline.
+       * include/bits/istream.tcc (ignore(streamsize __n = 1,
+       int_type __delim = traits_type::eof()): Remove.
+       (ignore(), ignore(streamsize __n), ignore(streamsize __n,
+       int_type __delim)): New.
+
+2004-06-21  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/linker-map.gnu: Use wildcards for
+       __basic_file::sys_open(FILE*, _Ios_Openmode).
+
+2004-06-20  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
+
+2004-06-18  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
+       the alignment requested.
+       (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
+       (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
+       (__mt_alloc<>::deallocate): Likewise.
+
+2004-06-18  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/16020
+       * include/debug/safe_base.h
+       (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
+       _Safe_sequence_base::operator=): Provide definitions.
+       * testsuite/23_containers/bitset/cons/16020.cc: New.
+
+2004-06-18  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
+       (__pool_base): Remove unused template parameter.  Add
+       protected. Move lock data into __pool_base::_Lock. Remove static
+       on member functions.
+       (__pool_base::_M_get_free_list): New.
+       (__pool_alloc): Move _S_force new here.
+       * src/allocator.cc: Move out of line __pool_base definitions here.
+       * config/linker-map.gnu: Export bits from __pool_base.
+       
 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
 
        * config/locale/gnu/numeric_members.cc