-2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
+2001-02-11 Alexandre Oliva <aoliva@redhat.com>
+
+ * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
+ * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
+ * configure.in: Test for sigsetjmp.
+ * configure, config.h.in: Rebuilt.
+
+2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
+ lengths and strides.
+ (__gslice_to_index): Document.
+
+2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * include/bits/char_traits.h char_traits<char>::int_type: Change
+ to `int' to match 21.1.3.1/2.
+
+ * testsuite/21_strings/char_traits-int_type.C: New test.
+
+2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/Makefile.am: New file.
+
+2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
+
+ * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
+
+2001-02-08 Loren J. Rittle <ljrittle@acm.org>
+
+ * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
+
+2001-02-08 David Edelsohn <edelsohn@gnu.org>
+
+ * configure.target (aix4*): Remove extra set of brackets.
+
+2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
+
+ Clean up stdexcept.
+ * include/bits/stringfwd.h: New file.
+ * include/bits/stl_string_fwd.h: Remove.
+ * include/bits/localefwd.h: Remove declaration for allocator.
+ * include/bits/std_iosfwd: Same.
+ * include/bits/std_string.h: Include it.
+ * include/bits/std_ios.h: Remove include.
+ * include/bits/basic_string.h: Tweak.
+ * libsupc++/new: Format.
+ * src/Makefile.am (base_headers): Add stringfwd.h, remove
+ stl_string_fwd.h
+ * src/Makefile.in: Regenerate.
+ * include/bits/std_stdexcept.h: Rewrite.
+ * src/stdexcept.cc: Same.
+
+2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
+ install locations too.
+ * aclocal.m4: Regenerate.
+ * configure.in: Remove USE_LIBDIR.
+ * configure: Regenerate.
+ * src/Makefile.am (toolexecdir): Simplify, use
+ glibcpp_toolexecdir, glibcpp_toolexeclibdir.
+ * src/Makefile.in: Regenerate.
+ * libsupc++/Makefile.am: Same.
+ * libsupc++/Makefile.in: Regenerate.
+
+ * src/Makefile.am: Just remove special rules for locale-inst.cc and
+ misc-inst.cc as no longer necessary.
+
+ Follow C++STYLE for naming non-static functions.
+ * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
+ __pad_char.
+ * include/bits/streambuf.tcc: Same.
+ * include/bits/ostream.tcc: Same.
+ * include/bits/istream.tcc: Same.
+ * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
+ (_S_output_float): To __output_float.
+ * include/bits/std_streambuf.h (_S_copy_streambufs): To
+ __copy_streambufs.
+ * include/bits/locale_facets.tcc (_S_build_float_format): To
+ __build_float_format.
+ (_S_format): To __output_integer.
+ (_S_fill): To __pad.
+ * src/locale.cc: Same.
+ * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
+ names.
+ * include/bits/locale_facets.tcc (_S_group_digits): To
+ __group_digits.
+ * src/locale-inst.cc: Fixup names. Add use_facet instantiations
+ for collate, numpunct.
+
+2001-02-06 Phil Edwards <pme@sources.redhat.com>
+
+ * docs/html/configopts.html: Fix HTML markup.
+ * docs/html/install.html: Bring up to date.
+ * docs/html/17_intro/C++STYLE: Add global variable conventions.
+ * docs/html/21_strings/howto.html: More notes.
+ * docs/html/22_locale/howto.html: Fix HTML markup.
+ * docs/html/27_io/howto.html: More notes.
+ * docs/html/27_io/binary_iostreams_kanze.txt: New file.
+ * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
+
+2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
+
+ * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
+ to match header files.
+ (_S_output_float): Likewise.
+ (_S_copy_streambufs): Likewise.
+
+2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
+ Phil Edwards <pme@sources.redhat.com>
+
+ * include/bits/std_istream.h (op>> signed,unsigned char): Must
+ use reinterpret_cast, not static_cast.
+
+2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (gxx_include_dir): Quote, fix regression.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/locale_facets.h (class moneypunct): Fix typos.
+ * libsupc++/pure.cc: Revert.
+
+2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
+ (GLIBCPP_CHECK_MATH_DECL_2): New macro.
+ (GLIBCPP_CHECK_MATH_DECL_3): New macro.
+ (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
+ (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
+ (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
+ (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2001-02-05 Mark Mitchell <mark@codesourcery.com>
+
+ * include/bits/locale_facets.tcc: Remove `static' keyword on
+ function definitions.
+ * include/bits/std_streambuf.h: Likewise.
+ * src/Makefile.am: Remove use of -fimplicit-templates.
+ * src/Makefile.in: Regenerated.
+ * src/locale-inst.cc: Explicitly instantiate more functions.
+ * src/misc-inst.cc: Likewise.
+ * src/string-inst.cc: Likewise.
+
+2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
+ macro. Consolidate all the bits to do with where includes might be
+ installed.
+ * aclocal.m4: Regenerate.
+ * configure.in: Use it.
+ * configure: Regenerate.
+ * src/Makefile.am (targetincludep): Use simplified rules.
+ (targetincludep): Rename gxx_target_include_dir.
+ (myincludep): Rename gxx_include_dir.
+ * src/Makefile.in: Regenerate.
+ * libsupc++/Makefile.am: Use simplified rules.
+ * libsupc++/Makefile.in: Regenerate.
+
+2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
+ * include/c_std/bits/std_cctype.h: Same.
+ * include/c_std/bits/std_cassert.h: Same.
+ * include/c_std/bits/std_cstdarg.h: Same.
+ * include/c_std/bits/std_cstddef.h: Same.
+
+ * include/c_std/bits/std_cstdio.h: Undefine all names brought into
+ namespace std.
+ * include/c_std/bits/std_ctime.h: Same.
+ * include/c_std/bits/std_clocale.h: Same.
+ * include/c_std/bits/std_cmath.h: Same.
+ * include/c_std/bits/std_csetjmp.h: Same.
+ * include/c_std/bits/std_csignal.h: Same.
+ * include/c_std/bits/std_cstring.h: Same.
+ * include/c_std/bits/std_cstdlib.h: Same.
+ * include/c_std/bits/std_cwchar.h: Same.
+
+2001-02-05 Phil Edwards <pme@sources.redhat.com>
+
+ * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
+
+2001-02-05 Mark Mitchell <mark@codesourcery.com>
+
+ * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
+ (string::_S_construct): Likewise.
+
+2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/config/default.exp: New file.
+ * testsuite/config: New directory.
+
+2001-02-04 Mark Mitchell <mark@codesourcery.com>
+
+ * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
+ * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
+ whenever !__GXX_MERGED_TYPEINFO_NAMES.
+ * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
+
+2001-02-03 Alexandre Oliva <aoliva@redhat.com>
+ Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * Makefile.am (mkinstalldirs): Set.
+ * src/Makefile.am (mkinstalldirs): Set.
+ * libmath/Makefile.am (mkinstalldirs): Set.
+ * libsup++/Makefile.am (mkinstalldirs): Set.
+ * libio/Makefile.am (mkinstalldirs): Set.
+ * */Makefile.in: Regenerate.
+
+2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
+ * include/bits/localefwd.h: More initialization cleanups.
+
+2001-02-03 Jeffrey A Law <law@cygnus.com>
+
+ * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
+ correctly targets with 16bit ints.
+ (_S_ios_openmode_end): Similarly.
+ (_S_ios_iostate_end): Similarly.
+ (_S_ios_Seekdir_end): Similarly.
+
+2001-02-02 Phil Edwards <pme@sources.redhat.com>
+
+ * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
+
+2001-02-01 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (toplevel_srcdir, auxdir): Set.
+ * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
+ * aclocal.m4, configure, Makefile.in: Rebuilt.
+ * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
+ * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
+ * libsupc++-v3/Makefile.in: Rebuilt.
+ * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
+ * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
+
+2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
+
+ * config/c_locale_generic.cc: Remove langinfo include.
+
+2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
+
+ Preliminary named locales.
+ * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
+ * aclocal.m4: Regenerate.
+ * configure.in: Use it.
+ * configure: Regerate.
+ * src/Makefile.am (sources): Add c++locale.cc.
+ (build_headers): Add c++locale.h.
+ * src/Makefile.in: Regenerate.
+ * config/c_locale_gnu.h: New file.
+ * config/c_locale_gnu.cc: New file. Non-inline member functions
+ for named locales, gnu-specific.
+ * config/c_locale_generic.h: New file.
+ * config/c_locale_generic.cc: New file. Non-inline member
+ functions for named locales, generic version.
+ * docs/html/configopts.html: Add documentation on new options.
+
+ * include/bits/locale_facets.h (class _Messages): Remove.
+ (class _Moneypunct): Remove.
+ * src/locale-inst.cc: Remove.
+
+ * include/bits/locale_facets.h (class _Collate): Remove.
+ * src/locale-inst.cc (std): Remove.
+ * src/locale.cc: And here.
+
+ * include/bits/localefwd.h (locale::_M_coalesce): New
+ function. Correctly put together multi-name locales.
+ (_Impl(const _Impl&, category, size_t)): Remove.
+
+ * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
+ member functions.
+ (_M_normalize_category_names): Remove.
+ (_M_replace_categories): Fix.
+
+ * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
+ (locale::_Impl::_M_construct_ctype): Remove.
+ (locale::_Impl::_M_construct_monetary): Remove.
+ (locale::_Impl::_M_construct_numeric): Remove.
+ (locale::_Impl::_M_construct_time): Remove.
+ (locale::_Impl::_M_construct_messages): Remove.
+
+ * include/bits/locale_facets.h (_Bad_use_facet): Remove.
+ (_Use_facet_failure_handle): Remove.
+ * src/locale.cc: Remove definitions.
+ * src/locale-inst.cc: And here.
+
+ * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
+
+ * src/localename.cc (locale::facet::_S_create_c_locale): Properly
+ create and error-check underlying locale object.
+ (locale::facet::_S_destroy_c_locale): Add, take care of properly
+ tearing down underlying locale object.
+ * include/bits/localefwd.h (locale::facet): Declare.
+ * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
+ correctness, as glibc apparently has incorrect info in it. Test
+ with it when it works again.....
+
+ * include/bits/localefwd.h (locale::_Impl::__vec_string):
+ Remove. Number of categories is fixed at six, so just simplify and
+ make this an array of strings.
+ (locale::_Impl::_M_has_name): Remove.
+ (locale::_Impl::_M_name): Remove.
+ (locale::_Impl::_M_category_names): Turns into...
+ (locale::_Impl::_M_names): ...this.
+ (locale::_Impl::_M_has_same_name()): New function.
+ * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
+ (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
+ signature.
+ * src/locale.cc (locale::name()): Construct mangled name
+ accurately reflecting combined locale categories.
+
+ * src/locale.cc (locale::classic()): Don't initialize here.
+ * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
+ __refs, bool __has_name, string __str): Do it here.
+
+ * include/bits/localefwd.h: _S_categories_num to
+ _S_num_categories. _S_facets_num to _S_num_facets.
+ (locale::id::id()): Explicitly set _M_index to zero.
+ * src/locale.cc: Same.
+
+ * src/locale.cc: (locale::locale(const char*)): Construct named
+ locales uniquely.
+
+ * src/locale.cc: Remove numpunct_byname ctors.
+ * testsuite/22_locale/numpunct_byname.cc: New file.
+ * testsuite/22_locale/numpunct.cc: New file.
+
+ * include/bits/localefwd.h (class locale): Change data members to
+ protected, from private.
+ (_Impl::_M_get_c_locale): Add member function.
+ (locale::facet::_M_get_global_impl()): Add member function.
+ * include/bits/locale_facets.h (numpunct::_M_init): Change to take
+ a __c_locale pointer.
+ (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
+ named locales.
+ * testsuite/22_locale/members.cc: New file, test name and combine.
+
+ * include/bits/locale_facets.h (class numpunct): Remove class
+ _Punct and _Numpunct. Rewrite class numpunct to be correct for
+ named locales.
+ * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
+ * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
+ (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
+ * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
+ * testsuite/22_locale/numpunct_char_members.cc: New file.
+
+2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/README: Add more comment.
+ * testsuite/lib/libstdc++.exp: Tweak comment.
+
+2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
+
+ * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
+
+2001-01-25 Loren J. Rittle <ljrittle@acm.org>
+
+ * testsuite/21_strings/inserters_extractors.cc: Remove
+ explicit reference to 'testsuite/'.
+
+2001-01-25 Richard Henderson <rth@redhat.com>
+
+ * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
+ bits. Fixes Tru64 build issues.
+
+2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
+ (use ${MAKE-make}, not ${MAKE:-make}).
+ * aclocal.m4, configure: Regenerate.
+
+2001-01-25 Mark Mitchell <mark@codesourcery.com>
+
+ * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
+ checkin.
+
+ * src/Makefile.am (sources): Add globals.cc.
+ * src/Makefile.in: Regenerated.
+ * src/globals.cc: New file.
+ * src/ios.cc (cin): Don't define here, just declare extern.
+ (cout): Likewise.
+ (cerr): Likewise.
+ (clog): Likewise.
+ (wcin): Likewise.
+ (wcout): Likewise.
+ (wcerr): Likewise.
+ (wclog): Likewise.
+
+2001-01-25 Phil Edwards <pme@sources.redhat.com>
+
+ * include/bits/std_iterator.h: Do not include stl_relops.h.
+ * include/bits/std_numeric.h: Ditto.
+ * include/bits/stl_algobase.h: Ditto.
+ * include/bits/stl_relops.h: Add comment warning about problems.
+
+2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
+ in testcases. Prepare for the DejaGnu based framework.
+ * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
+ directory -- it is now mkcheck working directory.
+ * tests_flags.in: Remove reference to $(top_srcdir). Use
+ ${SRC_DIR} instead.
+ * Makefile.am (check, check-install): Change mkcheck invocation
+ logic.
+ * Makefile.in: Regenerate.
+
+2001-01-24 Mark Mitchell <mark@codesourcery.com>
+
+ * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
+ (__always_swap): Likewise.
+
+2001-01-23 Chris Demetriou <cgd@broadcom.com>
+
+ * libsupc++/exception_support.cc (__terminate_func): Remove
+ declaration.
+ (__terminate_func_ptr): New typedef.
+ (__terminate, __terminate_set_func): New extern function
+ prototypes.
+ (std::terminate): Use __terminate function.
+ (std::set_terminate): Use __terminate_set_func function.
+
+2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
+
+ * configure.target: Just use os_include_dir always.
+ * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
+ Link atomicity files and ctype files here.
+ * configure: Regenerate.
+ * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
+ (GLIBCPP_ENABLE_ATOMICITY): Remove.
+ * aclocal.m4: Regenerate.
+
+2001-01-23 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.in: Place definition of MULTISUBDIR in
+ libsupc++/Makefile as is done for src/Makefile.
+ * configure: Regenerate.
+
+2001-01-23 Phil Edwards <pme@sources.redhat.com>
+
+ * acinclude.m4: Cosmetic changes only.
+ * aclocal.m4: Regenerated.
+ * configure: Regenerated.
+ * configure.target: Update documented list of changed variables.
+ * docs/html/install.html: Fix typo.
+ * docs/html/20_util/howto.html: More notes on auto_ptr.
+ * docs/html/27_io/howto.html: More notes on streabufs.
+ * docs/html/faq/index.html: Add rel_ops problem and mention the
+ DEC as(1) .subsection difficulty.
+ * docs/html/faq/index.txt: Regenerated.
+
+2001-01-23 Mark Mitchell <mark@codesourcery.com>
+
+ * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
+ (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
+ (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
+ its already provided in config.target.
+ * aclocal.m4: Regenerated.
+ * configure: Likewise.
+ * configure.target: Set ctype_include_dir for lots of systems.
+ * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
+ * libsupc++/Makefile.in: Regenerated.
+
+2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
+ keyword capability.
+
+ * testsuite/README: Add comment.
+
+2001-01-21 Phil Edwards <pme@sources.redhat.com>
+
+ * docs/html/configopts.html: Update for current status. Fix HTML.
+ * docs/html/install.html: Update for current status.
+
+2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * testsuite/libstdc++.tests/tests.exp: New file.
+ * testsuite/lib/libstdc++.exp: Itou.
+ * testsuite/README: Itou.
+
+2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * tests_flags.in: Just output the bare minimum to run tests.
+ Let's the caller do its own arrangement.
+
+ * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
+ computations.
+
+2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/17_intro: Prepare testcases for new style DejaGnu
+ framework.
+
+2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/libstdc++.tests, testsuite/lib: New directories.
+
+2001-01-17 Loren J. Rittle <ljrittle@acm.org>
+
+ * mkcheck.in: Construct file names that match $objdir structure.
+ * testsuite/27_io/filebuf_members-1.txt: New file.
+ * testsuite/27_io/ifstream_members-1.txt: New file.
+ * testsuite/27_io/ostream_inserter_char-1.txt: New file.
+
+ * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
+ * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
+
+2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+
+ * testsuite/27_io/istream_sentry.cc (test02): Fix.
+
+2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/1605
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.