+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.
* testsuite/ext/headers.cc: Include <ext/algorithm>.
2001-12-28 Paolo Carlini <pcarlini@unitus.it>
- Nathan Myers <ncm@cantrip.org>
+ Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h (insert(__pos, __s, __n)):
Optimize by avoiding temporaries and working in-place when possible.
(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
2001-12-22 Jeffrey A Law <law@redhat.com>
* config/os/hpux/bits/os_defines.h: Update to avoid #defines
- for strtoll and strtoull.
+ 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
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++-v3/5148
- * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
+ * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
executable filenames
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
enabling gnu model.
* aclocal.m4: Rebuild.
* configure: Rebuild.
-
+
2001-12-18 Paolo Carlini <pcarlini@unitus.it>
- Nathan Myers <ncm@cantrip.org>
-
+ 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.
* testsuite/21_strings/assign.cc (test01): Add tests.
2001-12-15 Paolo Carlini <pcarlini@unitus.it>
- Nathan Myers <ncm@cantrip.org>
+ Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h
(assign(__str, __pos, __n), assign(__s, __n)): Optimize
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"
* 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.
+ Adjust ctors, dtors.
(ctype<char>::_M_toupper): Remove const&.
(ctype<char>::_M_tolower): Remove const&.
- (ctype<char>::_M_ctable): 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
* 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.
+ * 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>
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>
+ Ross Smith <r-smith@ihug.co.nz>
+ Paolo Carlini <pcarlini@unitus.it>
libstdc++/5045
* include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
* include/bits/basic_string.h: Fix typos.
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
- Nathan Myers <ncm@cantrip.org>
+ Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.tcc (_M_replace_safe): New function.
(_M_replace(input_iterator_tag), append members): Use it.
* 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.
+ (_S_create): Adjust comment.
2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
2001-12-04 Paolo Carlini <pcarlini@unitus.it>
- libstdc++/4402
- * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
+ 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
+ * 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>
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.
+ * 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>
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
- * testsuite/23_containers/list_capacity.cc: New file.
- * testsuite/23_containers/list_ctor.cc: New file.
- * testsuite/23_containers/list_modifiers.cc: New file.
- * testsuite/23_containers/list_operators.cc: New file.
+ * testsuite/23_containers/list_capacity.cc: New file.
+ * testsuite/23_containers/list_ctor.cc: New file.
+ * testsuite/23_containers/list_modifiers.cc: New file.
+ * testsuite/23_containers/list_operators.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/std_complex.h: Default initialize second argument
+ * include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
+ * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
_Construct instead of construct.
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/basic_string.tcc (find_first_not_of): Take out check for
- __n being non-zero, since the standard does not mandate that.
- e.g., a search for "" in "" should yield position 0, not npos.
- (find_last_not_of): Likewise.
+ * include/bits/basic_string.tcc (find_first_not_of): Take out check for
+ __n being non-zero, since the standard does not mandate that.
+ e.g., a search for "" in "" should yield position 0, not npos.
+ (find_last_not_of): Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
+ * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/stl_iterator.h (reverse_iterator::current): Rename
- member from _M_current, and change all uses; thus sayeth $24.4.1.1.
+ * include/bits/stl_iterator.h (reverse_iterator::current): Rename
+ member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
- template parameter _ValueType.
+ * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
+ template parameter _ValueType.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_limits.h: Clean up extra semicolons.
- * include/bits/locale_facets.h: Likewise.
- * include/bits/type_traits.h: Likewise.
+ * include/bits/locale_facets.h: Likewise.
+ * include/bits/type_traits.h: Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
- * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
- * include/bits/locale_facets.tcc (locale::combine): Likewise.
+ * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
+ * include/bits/locale_facets.tcc (locale::combine): Likewise.
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
PR libstdc++/3349
* include/bits/stl_tree.h (insert_unique): Revert last change.
2001-07-31 Loren J. Rittle <ljrittle@acm.org>
- * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
+ * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/25_algorithms/unique.cc: New file.
2001-07-19 Phil Edwards <pme@sources.redhat.com>
- Mark Mitchell <mark@codesourcery.com>
+ Mark Mitchell <mark@codesourcery.com>
Merge from cp-parser-branch.
* include/bits/basic_string.h: Qualify symbols with 'template'.
* src/locale.cc: Likewise.
2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
- Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
+ Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
* src/gen-num-limits.cc (set_signals_handler): New function.
Factor out signals setting. Set signal handler for SIGILL.
* docs/html/faq/index.txt: Regenerated.
2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
- Roman Sulzhyk <roman_sulzhyk@yahoo.com>
+ Roman Sulzhyk <roman_sulzhyk@yahoo.com>
libstdc++/3599
* include/bits/ostream.tcc (ostream::put): Fixed error condition check.
* include/bits/std_iosfwd.h: Cosmetic spacing.
2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
- Loren J. Rittle <ljrittle@acm.org>
- Phil Edwards <pme@sources.redhat.com>
+ Loren J. Rittle <ljrittle@acm.org>
+ Phil Edwards <pme@sources.redhat.com>
* include/Makefile.am: New file encapsulating header generation rules.
* Makefile.am (SUBDIRS): Prepend 'include' directory.
(istream_iterator::operator*): Same.
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
- Alexandre Petit-Bianco <apbianco@redhat.com>
+ Alexandre Petit-Bianco <apbianco@redhat.com>
* testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
is on 41st, not 14th.
iterator_traits members. Can't imagine why that used to work.
2001-06-25 Phil Edwards <pme@sources.redhat.com>
- Kurt Garloff <garloff@suse.de>
+ Kurt Garloff <garloff@suse.de>
PR libstdc++/3377
* src/cmath.cc: New [version of an old] file; instantiate
* testsuite/20_util/binders.cc: New test.
2001-06-11 Matthias Klose <doko@debian.org>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
* docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
(main script): Echo more information.
* testsuite/22_locale/ctype.cc: Add test.
2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
PR libstdc++/3035 and PR libstdc++/3036
* include/bits/stl_pair.h: Fix pair ctor and make_pair according
* include/bits/stl_set.h: Likewise.
2001-06-04 Brendan Kehoe <brendan@zen.org>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
PR libstdc++/3018
* include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
* configure: Same.
2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
- Phil Edwards <pme@sources.redhat.com>
- Alexandre Oliva <aoliva@redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
+ Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
in an amd-safe manner. Revert glibcpp_prefixdir.
* include/backward/backward_warning.h: Re-enable.
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
- Alexandre Oliva <aoliva@redhat.com>
+ Alexandre Oliva <aoliva@redhat.com>
* tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
* testsuite/27_io/istream_manip.cc (test01): Fix.
2001-03-06 Nathan Myers <ncm@cantrip.org>
- Benjamin Kosnik <bkoz@redhat.com>
+ Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cerrno.h: Don't define errno in std::.
* testsuite/17_intro/header_cerrno.cc (test01): New file.
dejagnu/dg.exp.
2001-02-13 Dirk Mueller <dmuell@gmx.net>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
* include/backward/function.h: Do not use rel_ops for older
headers either.
(_S_copy_streambufs): Likewise.
2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
- Phil Edwards <pme@sources.redhat.com>
+ Phil Edwards <pme@sources.redhat.com>
* include/bits/std_istream.h (op>> signed,unsigned char): Must
use reinterpret_cast, not static_cast.