+2002-01-03 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_numeric.h (power + helpers, iota): Move to...
+ * include/ext/numeric: ...here, new file.
+ * include/bits/stl_function.h (identity_element, unary_compose,
+ binary_compose, compose1, compose2, identity, select1st,
+ select2nd, project1st + helper, project2nd + helper,
+ constant_void_fun + helper, constant_unary_fun + helper,
+ costant_binary_fun + helper, constant0, constant1, constant2,
+ subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
+ * include/ext/functional: ...here, new file.
+ * include/Makefile.am (ext_headers): Add new files.
+ * include/Makefile.in: Regenerate.
+ * testsuite/ext/headers.cc: Include <ext/numeric> and
+ <ext/functional>.
+ * include/backward/algo.h: Include <ext/numeric>, tweak.
+ * include/backward/function.h: Include <ext/functional>, tweak.
+ * include/ext/ropeimpl.h: Include <ext/numeric>.
+
+Thu Jan 3 11:05:41 2002 Jeffrey A Law (law@redhat.com)
+
+ * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
+ __strtoull declarations with __extension__.
+
+2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * testsuite/lib/prune.exp: Correct regular expression for
+ -ffunction-sections
+
+2002-01-02 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
+ Change concept checks, as with lower_bound and PR 2054.
+ * testsuite/ext/concept_checks.cc: Expand test to include those.
+
+2002-01-02 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/boost_concept_check.h: Import some changes from
+ upsteam (Boost) version.
+
+2002-01-02 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_algobase.h (copy_n + helpers,
+ lexicographical_compare_3way + helpers): Move to...
+ * include/ext/algorithm: ...here.
+ * include/bits/stl_uninitialized.h (uninitialized_copy_n +
+ helpers): Move to...
+ * include/ext/memory: ...here, new file.
+ * include/Makefile.am (ext_headers): Add new file.
+ * include/Makefile.in: Regenerate.
+ * testsuite/ext/headers.cc: Include <ext/memory>.
+ * include/backward/algobase.h: Include <ext/memory> and
+ <ext/algorithm>, tweak.
+ * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
+ * include/ext/stl_rope.h: Include <ext/memory>, tweak.
+
+2002-01-01 Roger Sayle <roger@eyesopen.com>
+
+ * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
+ equivalent ___builtin__ versions.
+
+ * include/c_shadow/bits/std_cmath.h: All __builtin math functions
+ are available in libstdc++ as the necessary stub implementations
+ are provided by libmath/stubs.c.
+
+2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * configure.in: Add support for NetBSD cross compiles.
+ * configure: Regenerate.
+
+2001-12-31 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
+ * testsuite/ext/headers.cc: Add <ext/iterator>.
+
+2001-12-31 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/backward/algo.h: Add two more using declarations.
+ * include/backward/iterator.h: Include <ext/iterator>,
+ add using declaration.
+ * include/ext/algorithm: Add #pragma GCC system_header.
+
+2001-12-31 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/stl_bvector.h: Change calls to 3-argument distance()
+ into standard 2-argument version.
+ * include/bits/stl_deque.h: Likewise.
+ * include/bits/stl_tempbuf.h: Likewise.
+ * include/bits/stl_tree.h: Likewise.
+ * include/bits/stl_vector.h: Likewise.
+ * include/ext/stl_hashtable.h: Likewise.
+ * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
+ * include/ext/iterator: to here. New file.
+ * include/Makefile.am (ext_headers): Add new file, alphabatize.
+ * include/Makefile.in: Regenerate.
+
+2001-12-31 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
+ Clean up spacing and indentation.
+
+2001-12-31 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/ext/slist: Move into __gnu_cxx,
+ tweak, add using declarations.
+
+2001-12-31 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/ext/hash_map: Move into __gnu_cxx,
+ tweak, add using declarations.
+ * include/ext/hash_set: Ditto.
+ * include/ext/ropeimpl.h: Ditto.
+ * include/ext/stl_hash_fun.h: Ditto.
+ * include/ext/stl_hashtable.h: Ditto.
+ * include/ext/stl_rope.h: Ditto.
+ * src/ext-inst.cc: Tweak.
+ * testsuite/ext/rope.cc: Tweak.
+
+2001-12-31 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/backward/algo.h: Include <ext/algorithm>,
+ tweak using declarations.
+
+2001-12-29 Richard Henderson <rth@redhat.com>
+
+ * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
+ * config/os/hpux/bits/cpu_limits.h: New file.
+ * configure.target (CPULIMITSH): Use it.
+
+2001-12-28 Richard Henderson <rth@redhat.com>
+
+ * config/cpu/ia64/bits/cpu_limits.h: New file.
+ * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
+ * configure.target (CPULIMITSH): Use them.
+
+2001-12-28 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/c++config: Move doxygen hook comment...
+ * docs/doxygen/doxygroups.cc: ...to here.
+
+2001-12-28 Phil Edwards <pme@gcc.gnu.org>
+
+ PR libstdc++/2054
+ * include/bits/stl_algo.h (lower_bound): Relax concept checks.
+ * testsuite/ext/concept_checks.cc: New file.
+
+2001-12-28 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/stl_algo.h (count returning void,
+ count_if returning void, __random_sample, random_sample,
+ random_sample_n, __is_heap, is_heap, is_sorted): Move to...
+ * include/ext/algorithm: ...here, new file.
+ * include/Makefile.am (ext_headers): Add new file.
+ * include/Makefile.in: Regenerate.
+ * testsuite/ext/headers.cc: Include <ext/algorithm>.
+
+2001-12-28 Paolo Carlini <pcarlini@unitus.it>
+ Nathan Myers <ncm@cantrip.org>
+
+ * include/bits/basic_string.h (insert(__pos, __s, __n)):
+ Optimize by avoiding temporaries and working in-place when possible.
+ (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
+ (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
+ * testsuite/21_strings/insert.cc (test02): New testcases.
+
+2001-12-27 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
+ * testsuite/23_containers/deque_ctor.cc: New file.
+
+2001-12-27 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/bits/locale_facets.tcc (collate::do_transform):
+ Adjust implicit typename.
+ * config/locale/messages_members_generic.h (messages::open,
+ messages::do_open, messages::do_get): Adjust implicit typename.
+ * config/locale/messages_members_gnu.h (messages::open,
+ messages::do_open, messages::do_get): Adjust Implicit typename.
+ * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
+ messages::do_open, messages::do_get): Adjust implicit typename.
+
+2001-12-27 Phil Edwards <pme@gcc.gnu.org>
+
+ PR libstdc++/3829
+ * src/misc-inst.cc: Many additional I/O-related instantiations.
+ * testsuite/27_io/instantiations.cc: New file.
+
+2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
+
+ * testsuite/24_iterators/insert_iterator.cc (test02): Add.
+ * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
+ * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
+ * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
+
+ * include/bits/stl_iterator.h (reverse_iterator): Uglify member
+ current to _M_current.
+ (back_insert_iterator): Uglify member container to _M_container.
+ (front_insert_iterator): Same.
+ (insert_iterator): Same.
+
+2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
+ macros for signed types; default value is true.
+ (numeric_limits<>::is_modulo): Get value from corresponding
+ __glibcpp_xxx_is_modulo macro.
+
+2001-12-23 Jeffrey A Law <law@redhat.com>
+
+ * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
+ Twiddle return types for strtoll and strtoull to avoid using
+ intmax_t and uintmax-t.
+
+2001-12-22 Richard Henderson <rth@redhat.com>
+
+ * configure.target (CPULIMITSH): Fix typo in alpha case.
+
+2001-12-22 Jeffrey A Law <law@redhat.com>
+
+ * config/os/hpux/bits/os_defines.h: Update to avoid #defines
+ for strtoll and strtoull.
+
+2001-12-21 Jeffrey A Law <law@redhat.com>
+
+ * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
+ Define strtoll and strtoull. Provide prototypes for
+ __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
+ unconditionally.
+
+ * src/locale-inst.cc: Include <bits/std_cstdlib.h>
+
+ * configure.target: Fix typo in hpux case.
+
+2001-12-21 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/ext/stl_rope.h (_Rope_iterator):
+ Add local typedef to fix implicit typename problems.
+
+2001-12-19 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/doxygen/Intro.3: New 'Allocators' module.
+ * docs/doxygen/TODO: Update.
+ * docs/doxygen/doxygroups.cc: Update.
+ * docs/doxygen/run_doxygen: Update.
+
+ * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
+ * include/bits/std_memory.h: Doxygenate.
+ * include/bits/stl_iterator_base_types.h: Likewise.
+ * include/bits/stl_raw_storage_iter.h: Likewise.
+ * include/bits/stl_tempbuf.h: Likewise.
+ (get_temporary_buffer): Remove unused nonstandard overload.
+ * include/bits/stl_uninitialized.h: Likewise.
+
+ * include/bits/stl_iterator_base_types.h (input_iterator,
+ output_iterator, forward_iterator, bidirectional_iterator,
+ random_access_iterator): Move old names...
+ * include/backward/iterator.h: ...to here.
+ * include/bits/stl_bvector.h: Update.
+ * include/ext/stl_rope.h: Update.
+
+2001-12-19 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/html/configopts.html: Describe recent options.
+ * docs/html/documentation.html: Point to new doxygen tarballs.
+ * docs/html/install.html: Brief updates.
+ * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
+ * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
+ * docs/html/faq/index.html: Update for 3.0.95.
+ * docs/html/faq/index.txt: Regenerate.
+
+2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ libstdc++-v3/5148
+ * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
+ executable filenames
+
+2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * docs/html/17_intro/TODO: Update.
+ * docs/html/17_intro/RELEASE-NOTES: Edits, update.
+ * README: Edit for clarity, update to reflect current directory
+ structure.
+
+2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
+ enabling gnu model.
+ * aclocal.m4: Rebuild.
+ * configure: Rebuild.
+
+2001-12-18 Paolo Carlini <pcarlini@unitus.it>
+ Nathan Myers <ncm@cantrip.org>
+
+ * include/bits/basic_string.h (assign(__str, __pos, __n)):
+ Call assign(__s, __n).
+ (assign(__s, __n)): Terminate the string with _S_terminal.
+
+2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
+ Set to true, like float and double.
+
+2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ libstdc++/5136
+ * testsuite/lib/prune.exp: New file
+ * testsuite/lib/libstdc++-v3-dg.exp: Use it
+
+2001-12-17 Phil Edwards <pme@gcc.gnu.org>
+
+ * include/bits/basic_file.h (__basic_file::fd): New function.
+ * config/io/basic_file_stdio.h (__basic_file::fd): Define.
+ * include/bits/std_fstream.h (basic_filebuf::fd): New function.
+ * include/bits/fstream.tcc (basic_filebuf::fd): Define.
+ * testsuite/27_io/filebuf_members.cc (test_02): New test.
+
+2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
+
+ * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
+ * po/Makefile.in: Regenerated.
+
+2001-12-16 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/21_strings/assign.cc (test01): Add tests.
+
+2001-12-15 Paolo Carlini <pcarlini@unitus.it>
+ Nathan Myers <ncm@cantrip.org>
+
+ * include/bits/basic_string.h
+ (assign(__str, __pos, __n), assign(__s, __n)): Optimize
+ by avoiding unnecessary temporaries.
+ (assign(__s)): Call assign(__s, __n).
+ * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
+ * include/bits/std_string.h: include stl_function.h.
+ * testsuite/21_strings/assign.cc (test02, test03): New tests.
+
+2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
+ on linux by default.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
+
+ Clean up initialization and simplfy caching of underlying "C"
+ default locale objects.
+ * src/localename.cc (locale::_Impl::_Impl(string, size_t):
+ Unconditionally create __clocale object for all named locales,
+ including "C" and "POSIX".
+ * config/locale/c_locale_generic.cc
+ (locale::facet::_S_create_c_locale): Always set __cloc to zero.
+ * config/locale/c_locale_gnu.cc: Always delete.
+ * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
+ * src/locale.cc (locale::classic()): Initialize
+ locale::facet::_S_c_locale.
+ (locale::facet::_S_c_locale): Define.
+
+ * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
+ specialization.
+ * src/locale.cc: Add definition here.
+ * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
+ * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
+ * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
+ Adjust ctors, dtors.
+ (ctype<char>::_M_toupper): Remove const&.
+ (ctype<char>::_M_tolower): Remove const&.
+ (ctype<char>::_M_ctable): Remove const&.
+
+ * include/bits/locale_facets.h (collate): Clean up initialization
+ of _M_c_locale_collate in ctors and dtors.
+ * config/locale/collate_members_gnu.cc: Always use extended
+ functions.
+
+ * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
+ (messages_byname): Same.
+ * config/locale/messages_members_generic.h (messages::~messages):
+ Remove.
+ * config/locale/messages_members_gnu.h: Same.
+
+ * include/bits/localefwd.h: Clean. Move dtor definitions to
+ * src/locale.cc: Here.
+ * testsuite/22_locale/facet.cc: Fix spelling.
+
+ Named locale support for ctype<wchar_t>.
+ * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
+ ctype_members_* bits.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * src/Makefile.am (sources): Add ctype.cc.
+ * src/Makefile.in: Regenerate.
+ * config/locale/ctype_members_generic.cc: New file.
+ * config/locale/ctype_members_gnu.cc: New file.
+ * src/locale.cc: Remove ctype<wchart_t> definitions.
+
+2001-12-13 Roger Sayle <roger@eyesopen.com>
+
+ * acconfig.h: Test for __builtin_sqrt instead of
+ __builtin_fsqrt.
+ * acinclude.m4: Same.
+ * include/c_shadow/bits/std_cmath.h: Same.
+ * aclocal.m4: Regenerated.
+ * config.h.in: Regenerated.
+ * configure: Regenerated.
+
+2001-12-13 Phil Edwards <pme@gcc.gnu.org>
+
+ * docs/html/ext/howto.html: Fix typos.
+
+2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
+
+ libstdc++/3679
+ * src/locale.cc (locale::locale(const char*)): Deal with locales
+ named "".
+ * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
+
+2001-12-12 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
+ _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
+ _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
+ : Adjust implicit typename.
+ * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
+ Adjust implicit typename.
+ * testsuite/27_io/streambuf.cc: Adjust implicit typename.
+
+2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
+
+ Named locale support for ctype<char>.
+ * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
+ * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
+ definitions for alternate constructor.
+ * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
+ * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
+ * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
+ * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
+ * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
+ * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
+ * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
+ * config/os/generic/bits/ctype_noninline.h (ctype): Same.
+ * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
+ * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
+ * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
+ * config/os/aix/bits/ctype_noninline.h (ctype): Same.
+ * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
+ definitions for all virtual functions. These are now explicitly
+ undefined for non-required factets, ie any non-char, non-wchar_t
+ instantiations.
+ * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
+ locales use alternate constructor for ctype facet.
+ * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
+ mask*, bool, size_t): Add.
+ (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
+ * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
+ definition.
+
+ * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
+ XFAIL for non-gnu locale models.
+
+2001-12-12 Philip Martin <philip@codematters.co.uk>
+ Ross Smith <r-smith@ihug.co.nz>
+ Paolo Carlini <pcarlini@unitus.it>
+
+ libstdc++/5045
+ * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
+ Fix digits10 values for integral types.
+ * include/bits/locale_facets.tcc (num_get::do_get for integral types):
+ Tweak _M_extract_int call.
+ * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
+ Tweak overflowing number of digits.
+ * testsuite/18_support/numeric_limits.cc (test03): New testcase.
+
+2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
+
+ * config/os/generic/bits/ctype_inline.h: Remove spaces.
+ * config/os/gnu-linux/bits/ctype_noninline.h: Same.
+ * include/bits/locale_facets.h (__num_base): Move double data
+ members to first in class.
+ * include/bits/locale_facets.tcc: Re-arrange, tweak.
+ * src/locale.cc: Clean.
+ *include/bits/stl_vector.h: Space typedefs.
+
+2001-12-11 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/ext/allocators.cc: New file.
+