2001-02-01 22:08:05 +01:00
|
|
|
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 18:21:50 +01:00
|
|
|
2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* config/c_locale_generic.cc: Remove langinfo include.
|
|
|
|
|
Preliminary named locales.
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.
From-SVN: r39347
2001-01-30 10:18:51 +01:00
|
|
|
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 16:13:08 +01:00
|
|
|
2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/README: Add more comment.
|
|
|
|
* testsuite/lib/libstdc++.exp: Tweak comment.
|
|
|
|
|
2001-01-27 20:00:09 +01:00
|
|
|
2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
|
|
|
|
|
|
|
|
* libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
|
|
|
|
|
2001-01-27 00:31:57 +01:00
|
|
|
2001-01-25 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* testsuite/21_strings/inserters_extractors.cc: Remove
|
|
|
|
explicit reference to 'testsuite/'.
|
|
|
|
|
2001-01-27 00:07:38 +01:00
|
|
|
2001-01-25 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
* config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
|
|
|
|
bits. Fixes Tru64 build issues.
|
|
|
|
|
2001-01-26 07:19:52 +01:00
|
|
|
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 23:39:29 +01:00
|
|
|
2001-01-25 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
2001-01-26 03:25:13 +01:00
|
|
|
* src/ios.cc: Remove accidental inclusion of <stdio.h> in last
|
|
|
|
checkin.
|
|
|
|
|
2001-01-25 23:39:29 +01:00
|
|
|
* 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 16:35:10 +01:00
|
|
|
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 05:09:22 +01:00
|
|
|
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 20:19:26 +01:00
|
|
|
2001-01-24 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
|
|
|
|
(__always_swap): Likewise.
|
|
|
|
|
2001-01-24 04:04:36 +01:00
|
|
|
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 21:58:23 +01:00
|
|
|
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 20:18:29 +01:00
|
|
|
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 18:02:28 +01:00
|
|
|
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 03:48:27 +01:00
|
|
|
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 10:36:09 +01:00
|
|
|
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 06:09:08 +01:00
|
|
|
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 01:55:09 +01:00
|
|
|
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 03:52:27 +01:00
|
|
|
2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/17_intro: Prepare testcases for new style DejaGnu
|
|
|
|
framework.
|
|
|
|
|
2001-01-18 01:30:08 +01:00
|
|
|
2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/libstdc++.tests, testsuite/lib: New directories.
|
|
|
|
|
2001-01-18 08:24:16 +01:00
|
|
|
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 09:30:25 +01:00
|
|
|
2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
|
|
|
* testsuite/27_io/istream_sentry.cc (test02): Fix.
|
|
|
|
|
2001-01-18 08:24:16 +01:00
|
|
|
2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
|
2001-01-17 08:44:57 +01:00
|
|
|
|
|
|
|
libstdc++/1605
|
|
|
|
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
|
|
|
|
* src/ios.cc (ios_base::failure): Make definitions match.
|
|
|
|
* libsupc++/typeinfo (class bad_typeid): Add throw specs.
|
|
|
|
(class bad_cast): Same.
|
|
|
|
* libsupc++/exception (class exception): Add throw specs.
|
|
|
|
* libsupc++/exception_support.cc (set_terminate): Add throw specs.
|
|
|
|
(set_unexpected): Same.
|
|
|
|
(uncaught_exception): Same.
|
|
|
|
(what): Same.
|
|
|
|
|
|
|
|
* docs/html/17_intro/C++STYLE (classname): Fix.
|
|
|
|
|
2001-01-17 08:13:39 +01:00
|
|
|
2001-01-16 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* src/gen-num-limits.cc (INSTANTIATIONS): New macro.
|
|
|
|
Use it do explicitly instantiate predicate<T> and value<T> for
|
|
|
|
all the builtin Ts.
|
|
|
|
|
2001-01-16 10:45:03 +01:00
|
|
|
2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
* libsupc++/exception_support.cc (__cp_pop_exception): Fix
|
|
|
|
uninitialized thinko in last change.
|
|
|
|
|
2001-01-16 09:30:20 +01:00
|
|
|
2001-01-16 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* libsupc++/exception_support.cc (__cp_pop_exception): Change
|
|
|
|
prototype.
|
|
|
|
|
2001-01-16 08:55:26 +01:00
|
|
|
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* docs/html/17_intro/C++STYLE (classname): Add more existing
|
|
|
|
and stylish patterns.
|
|
|
|
|
|
|
|
libstdc++/944
|
|
|
|
* include/bits/istream.tcc (istream::sentry::sentry()): Set
|
2001-01-16 08:58:40 +01:00
|
|
|
failbit if the state of the stream is not good.
|
2001-01-16 08:55:26 +01:00
|
|
|
* testsuite/27_io/istream_sentry.cc (test02): Add test.
|
|
|
|
* testsuite/27_io/istream_manip.cc (test01): Modify.
|
|
|
|
|
|
|
|
libstdc++/1019
|
|
|
|
reported by Paolo Carlini <pcarlini@unitus.it>
|
|
|
|
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
|
|
|
|
* testsuite/21_strings/inserters_extractors.cc (test08): Add test.
|
|
|
|
|
|
|
|
libstdc++/1057
|
|
|
|
* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
|
|
|
|
* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
|
|
|
|
(xsgetn): Same. Simplify.
|
|
|
|
* testsuite/27_io/streambuf.cc (test04): Add testcases.
|
|
|
|
|
|
|
|
reported by Larry Evans <jcampbell3@prodigy.net>
|
|
|
|
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
|
|
|
|
equality with eof on returned value from overflow.
|
|
|
|
|
2001-01-14 20:12:23 +01:00
|
|
|
2001-01-14 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
* libio/libio.h: Add test for glibc 2.0.
|
|
|
|
|
2001-01-12 22:24:15 +01:00
|
|
|
2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
2001-01-12 22:36:32 +01:00
|
|
|
* config/os/djgpp/bits/*: Fix dates.
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-12 22:24:15 +01:00
|
|
|
* include/bits/basic_string.h (_S_find(const _CharT* __beg, const
|
|
|
|
_CharT* __end, _CharT __c): Remove.
|
|
|
|
* include/bits/basic_string.tcc: Substitute traits::find for _S_find.
|
|
|
|
* include/bits/char_traits.h: Tweak.
|
|
|
|
|
2001-01-12 20:39:07 +01:00
|
|
|
2001-01-12 Laurynas Biveinis <lauras@softhome.net>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
|
|
|
|
(LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
|
|
|
|
bash bug.
|
|
|
|
* aclocal.m4: regenerated.
|
|
|
|
* configure.target: set os_include_dir to config/os/djgpp under DJGPP.
|
|
|
|
* configure: regenerated.
|
|
|
|
* config/os/djgpp, config/os/djgpp/bits: new directories.
|
2001-01-14 20:12:23 +01:00
|
|
|
* config/os/djgpp/bits/ctype_base.h,
|
|
|
|
config/os/djgpp/bits/ctype_inline.h,
|
2001-01-12 20:39:07 +01:00
|
|
|
config/os/djgpp/bits/ctype_noninline.h,
|
|
|
|
config/os/djgpp/bits/os_defines.h: new files.
|
|
|
|
|
2001-01-11 19:16:16 +01:00
|
|
|
2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
|
|
|
|
|
|
|
|
* include/c_std/bits/std_cstdio.h: Undef printf.
|
|
|
|
|
2001-01-11 08:27:50 +01:00
|
|
|
2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/ios.cc: Fix typo: change cout->wcout.
|
|
|
|
|
|
|
|
* src/Makefile.am (targetincludep): Fix for version-specific-libs.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
2001-01-10 21:55:03 +01:00
|
|
|
2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
|
|
|
* include/bits/std_complex.h: Fix a typo.
|
|
|
|
|
2001-01-10 18:24:11 +01:00
|
|
|
2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
<kainz@ilm.com>
|
|
|
|
|
|
|
|
Fixes for libstdc++/1576
|
|
|
|
* src/stdstreams.cc: Initialize with NULL filebuf. Delete
|
|
|
|
file, move contents into....
|
|
|
|
* src/ios.cc: ...Here. Put defines for iostreams objects and
|
|
|
|
initialization routines into one file to simplify DSO interaction.
|
|
|
|
* include/bits/std_iostream.h: Touch.
|
|
|
|
* include/bits/ios_base.h (_S_synched_with_stdio): Make static.
|
|
|
|
* src/Makefile.am (sources): Remove stdstreams.cc.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
2001-01-10 03:48:08 +01:00
|
|
|
2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* tests_flags.in (check_directory): Fix typo.
|
|
|
|
|
|
|
|
2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
2001-01-10 18:24:11 +01:00
|
|
|
|
2001-01-10 03:30:57 +01:00
|
|
|
* include/bits/std_complex.h: Fix a typo.
|
|
|
|
|
2001-01-10 18:24:11 +01:00
|
|
|
2001-01-09 Loren J. Rittle <ljrittle@acm.org>
|
2001-01-10 03:08:16 +01:00
|
|
|
|
|
|
|
* config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
|
|
|
|
code path:) Remove magic constants and restructure to handle
|
|
|
|
ctype.h bit mask layout changes more gracefully. (Make fast
|
|
|
|
code path:) Use __maskrune (), if available.
|
|
|
|
(is): Remove special case for digit and xdigit masks.
|
2001-01-09 08:42:45 +01:00
|
|
|
|
|
|
|
2001-01-09 Robert Lipe <robertlipe@usa.net>
|
|
|
|
|
|
|
|
* include/c_std/bits/std_ctime.h: Undefine difftime.
|
|
|
|
|
2001-01-09 04:01:56 +01:00
|
|
|
2001-01-09 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* src/gen-num-limits.cc (signal_adapter): New template function.
|
|
|
|
(signal_handler): Use it, instead of signal.
|
|
|
|
(traps<T>): Likewise. Install SIGTRAP handler too. Don't
|
|
|
|
require both tests to trap to set trap_flag.
|
|
|
|
|
2001-01-09 00:51:57 +01:00
|
|
|
2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
|
|
|
|
initialize mbstate_t member, name offset data members *off, not pos.
|
|
|
|
* include/bits/fstream.tcc (filebuf::filebuf): Same.
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-08 18:53:52 +01:00
|
|
|
2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
reported by Chris G. Demetriou <cgd@sibyte.com>
|
|
|
|
* configure.in: Change -linux-* to -linux*.
|
|
|
|
* configure: Regenerate.
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-06 03:44:11 +01:00
|
|
|
2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Fix 27_io/filebuf_members.cc
|
|
|
|
* src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
|
|
|
|
const string& __name, category __cat, size_t __refs): Set
|
|
|
|
_M_has_name with _M_name.
|
|
|
|
* include/bits/localefwd.h (locale::operator!=): Protect member
|
|
|
|
function call with this->.
|
|
|
|
* src/locale.cc (locale::operator==): Make fast checks first.
|
|
|
|
* include/bits/basic_ios.tcc (basic_ios::init): Simplify.
|
|
|
|
|
|
|
|
* include/bits/ios_base.h (_M_synced_with_stdio): Add data member
|
|
|
|
to ios_base::Init.
|
|
|
|
* src/ios.cc (ios_base::Init::Init): Initialize here.
|
|
|
|
(ios_base::sync_with_stdio): Set here.
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-06 03:44:11 +01:00
|
|
|
2001-01-04 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
|
|
|
* config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
|
|
|
|
systems that support it, call dup() before fdopen().
|
|
|
|
|
2001-01-04 05:21:42 +01:00
|
|
|
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
|
|
|
|
* testsuite/17_intro/header_cwctype.cc (main): New file.
|
|
|
|
|
|
|
|
* src/Makefile.am (base_headers): Change.
|
|
|
|
* include/bits/std_string.h: And here.
|
|
|
|
* include/bits/string.tcc: Tweaks, move to...
|
|
|
|
* include/bits/basic_string.tcc: ...Here.
|
|
|
|
* src/string-inst.cc: Simplify, just instantiate the whole class,
|
|
|
|
not member-by-member.
|
|
|
|
|
2001-01-03 16:53:28 +01:00
|
|
|
2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-03 16:53:28 +01:00
|
|
|
* include/bits/c++config (__GLIBCPP__): Bump version number.
|
|
|
|
|
|
|
|
* ChangeLog: Start new log for year 2001
|
|
|
|
* ChangeLog-2000: New file.
|
|
|
|
|
|
|
|
* docs/html/configopts.html: Make sure default values are current,
|
|
|
|
add commentary.
|
|
|
|
|
2001-01-02 08:38:47 +01:00
|
|
|
2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
|
2001-01-14 20:12:23 +01:00
|
|
|
|
2001-01-02 08:38:47 +01:00
|
|
|
* include/c_std/bits/std_cwchar.h: Same.
|
|
|
|
* testsuite/17_intro/header_cwchar.cc: Same.
|
|
|
|
* include/c_std/bits/std_ctime.h: Same.
|
|
|
|
* testsuite/17_intro/header_ctime.cc: Same.
|
|
|
|
* include/c_std/bits/std_cstdlib.h: Same.
|
|
|
|
Clean up undefs, make consistent with cwchar and cmath, etc.
|
|
|
|
* testsuite/17_intro/header_cstdlib.cc: Same.
|
|
|
|
* include/c_std/bits/std_cstdio.h: Same here.
|
|
|
|
* testsuite/17_intro/header_cstring.cc: Same.
|
|
|
|
* include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
|
|
|
|
* testsuite/17_intro/header_cstring.cc: New file. Check for
|
|
|
|
size_t in namespace std.
|
|
|
|
|
|
|
|
* include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
|
|
|
|
* acconfig.h (HAVE_MBSTATE_T): Add.
|
|
|
|
* config.h.in: Regenerate.
|
|
|
|
* acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
|
|
|
|
mbstate_t.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* testsuite/17_intro/headers_c++.cc: New file.
|
|
|
|
* testsuite/17_intro/headers_c.cc: Small changes.
|
|
|
|
|
2001-01-02 00:14:43 +01:00
|
|
|
2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
|
|
|
|
|
|
|
|
* tests_flags.in: Fix typo in usage.
|
|
|
|
|
|
|
|
* tests_flags.in: Set target specific LIBS for cygwin.
|