2001-04-06 16:00:55 +08:00
|
|
|
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/backward/backward_warning.h: Temporarily disable until
|
|
|
|
g++ testsuite changes go in.
|
|
|
|
* tests_flags.in (CROSS_LIB_PATH): Add.
|
|
|
|
|
2001-04-06 14:08:17 +08:00
|
|
|
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Warn when using backward headers.
|
|
|
|
* include/backward/algo.h: Include warning file.
|
|
|
|
* include/backward/vector.h: Same.
|
|
|
|
* include/backward/tree.h: Same.
|
|
|
|
* include/backward/tempbuf.h: Same.
|
|
|
|
* include/backward/strstream: Same.
|
|
|
|
* include/backward/streambuf.h: Same.
|
|
|
|
* include/backward/stream.h: Same.
|
|
|
|
* include/backward/stack.h: Same.
|
|
|
|
* include/backward/slist.h: Same.
|
|
|
|
* include/backward/set.h: Same.
|
|
|
|
* include/backward/rope.h:
|
|
|
|
* include/backward/queue.h: Same.
|
|
|
|
* include/backward/pair.h: Same.
|
|
|
|
* include/backward/ostream.h: Same.
|
|
|
|
* include/backward/new.h: Same.
|
|
|
|
* include/backward/multiset.h: Same.
|
|
|
|
* include/backward/multimap.h: Same.
|
|
|
|
* include/backward/map.h: Same.
|
|
|
|
* include/backward/list.h: Same.
|
|
|
|
* include/backward/iterator.h: Same.
|
|
|
|
* include/backward/istream.h: Same.
|
|
|
|
* include/backward/iostream.h:
|
|
|
|
* include/backward/iomanip.h:
|
|
|
|
* include/backward/heap.h: Same.
|
|
|
|
* include/backward/hashtable.h:
|
|
|
|
* include/backward/hash_set.h:
|
|
|
|
* include/backward/hash_map.h:
|
|
|
|
* include/backward/function.h:
|
|
|
|
* include/backward/fstream.h:
|
|
|
|
* include/backward/deque.h:
|
|
|
|
* include/backward/defalloc.h: Same.
|
|
|
|
* include/backward/complex.h: Same.
|
|
|
|
* include/backward/bvector.h:
|
|
|
|
* include/backward/alloc.h:
|
|
|
|
* include/backward/algobase.h: Same.
|
|
|
|
|
|
|
|
* include/backward/backward_warning.h: New file.
|
|
|
|
* src/Makefile.am (backward_headers): Add backward_warning.h
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/Makefile.am (myinstalldirs): Make sure backward directory is
|
|
|
|
created.
|
|
|
|
(myinstallheaders): Install backward headers in backward directory.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
2001-04-06 09:47:11 +08:00
|
|
|
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Prepare for libstdc++-2.92.
|
|
|
|
* docs/html/17_intro/RELEASE-NOTES (New): Update.
|
|
|
|
* docs/html/configopts.html: Fix formatting.
|
|
|
|
* README (file): Updates.
|
|
|
|
* include/bits/c++config (__GLIBCPP__): Update.
|
|
|
|
|
2001-04-06 05:09:24 +08:00
|
|
|
2001-04-05 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* docs/doxygen/run_doxygen: Check for the existence of Doxygen.
|
|
|
|
|
2001-04-05 06:20:52 +08:00
|
|
|
2001-04-04 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* docs/doxygen/user.cfg.in: Extract all non-private members;
|
|
|
|
reduce confusing documentation output.
|
|
|
|
|
2001-04-05 02:04:52 +08:00
|
|
|
2001-04-04 Geoffrey Keating <geoffk@redhat.com>
|
|
|
|
|
|
|
|
* include/backward/fstream.h: Add missing semicolons.
|
|
|
|
|
2001-04-04 09:02:26 +08:00
|
|
|
2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
|
|
|
|
* include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
|
|
|
|
_M_cerr, _M_wcout, _M_wcin, _M_wcerr.
|
|
|
|
(ios_base::Init::_S_ios_create): New.
|
|
|
|
(ios_base::Init::_S_ios_destroy): New.
|
|
|
|
* include/bits/std_fstream.h: Change ctor args.
|
|
|
|
* src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
|
|
|
|
(ios_base::Init::~Init): Use _S_ios_destroy.
|
|
|
|
(ios_base::sync_with_stdio): Use new members.
|
|
|
|
* testsuite/27_io/filebuf_members.cc: Fix calling conventions for
|
|
|
|
filebuf ctor.
|
|
|
|
|
2001-04-04 05:02:43 +08:00
|
|
|
2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
|
|
|
* include/backward/fstream.h: Expose streampos to global
|
|
|
|
namespace.
|
|
|
|
|
2001-04-04 04:40:26 +08:00
|
|
|
2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
|
|
|
* include/bits/stl_iterator_base_types.h: Fix typo
|
|
|
|
|
2001-04-03 16:49:38 +08:00
|
|
|
2001-04-03 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
* include/backward/fstream.h: Define filebuf and wfilebuf.
|
|
|
|
|
2001-04-03 08:26:58 +08:00
|
|
|
2001-04-02 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
New concept checking implementation.
|
|
|
|
* docs/html/19_diagnostics/howto.html: Document.
|
|
|
|
* docs/html/17_intro/concept_check.diff: New file, for reference.
|
|
|
|
* include/bits/boost_concept_check.h: New file from Boost.
|
|
|
|
* include/bits/c++config: Update comments.
|
|
|
|
|
|
|
|
* include/bits/concept_check.h: New file.
|
|
|
|
* include/bits/concept_checks.h: Removed.
|
|
|
|
* include/bits/container_concepts.h: Removed.
|
|
|
|
* include/bits/sequence_concepts.h: Removed.
|
|
|
|
* include/bits/stl_iterator_base.h: Removed; split into...
|
|
|
|
* include/bits/stl_iterator_base_funcs.h: ...this new file...
|
|
|
|
* include/bits/stl_iterator_base_types.h: ...and this new file.
|
|
|
|
|
|
|
|
* include/bits/sbuf_iter.h: Update to use new implementation.
|
|
|
|
* include/bits/std_iterator.h: Likewise.
|
|
|
|
* include/bits/std_memory.h: Likewise.
|
|
|
|
* include/bits/stl_algo.h: Likewise.
|
|
|
|
* include/bits/stl_algobase.h: Likewise.
|
|
|
|
* include/bits/stl_construct.h: Likewise.
|
|
|
|
* include/bits/stl_deque.h: Likewise.
|
|
|
|
* include/bits/stl_heap.h: Likewise.
|
|
|
|
* include/bits/stl_list.h: Likewise.
|
|
|
|
* include/bits/stl_map.h: Likewise.
|
|
|
|
* include/bits/stl_multimap.h: Likewise.
|
|
|
|
* include/bits/stl_multiset.h: Likewise.
|
|
|
|
* include/bits/stl_numeric.h: Likewise.
|
|
|
|
* include/bits/stl_queue.h: Likewise.
|
|
|
|
* include/bits/stl_set.h: Likewise.
|
|
|
|
* include/bits/stl_stack.h: Likewise.
|
|
|
|
* include/bits/stl_uninitialized.h: Likewise.
|
|
|
|
* include/bits/stl_vector.h: Likewise.
|
|
|
|
* include/ext/hash_map: Likewise.
|
|
|
|
* include/ext/hash_set: Likewise.
|
|
|
|
* include/ext/slist: Likewise.
|
|
|
|
* include/ext/stl_hashtable.h: Likewise.
|
|
|
|
|
|
|
|
* src/Makefile.am (base_headers): Update list of headers.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* src/Makefile.in: Regenerated.
|
|
|
|
* libio/Makefile.in: Regenerated.
|
|
|
|
* libmath/Makefile.in: Regenerated.
|
|
|
|
* libsupc++/Makefile.in: Regenerated.
|
|
|
|
* testsuite/Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
* docs/html/install.html: Update contact information.
|
|
|
|
* docs/html/17_intro/howto.html: Ditto.
|
|
|
|
* docs/html/18_support/howto.html: Ditto.
|
|
|
|
* docs/html/20_util/howto.html: Ditto.
|
|
|
|
* docs/html/21_strings/howto.html: Ditto.
|
|
|
|
* docs/html/22_locale/howto.html: Ditto.
|
|
|
|
* docs/html/23_containers/howto.html: Ditto.
|
|
|
|
* docs/html/24_iterators/howto.html: Ditto.
|
|
|
|
* docs/html/25_algorithms/howto.html: Ditto.
|
|
|
|
* docs/html/26_numerics/howto.html: Ditto.
|
|
|
|
* docs/html/27_io/howto.html: Ditto.
|
|
|
|
* docs/html/faq/index.html: Ditto, plus info on new checking code.
|
|
|
|
* docs/html/ext/howto.html: Ditto, plus info on new checking code.
|
|
|
|
* docs/html/faq/index.txt: Regenerated.
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
2001-04-02 Zack Weinberg <zackw@stanford.edu>
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp (dg-test): Annotate result
|
|
|
|
messages with $which_library as well as $tool_flags and
|
|
|
|
${dg-extra-tool-flags}. Factor out annotation text into
|
|
|
|
a single variable.
|
|
|
|
|
|
|
|
2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
|
|
|
|
|
2001-04-03 06:51:25 +08:00
|
|
|
* include/c_std/bits/std_cstring.h: Fix for const-correctness.
|
|
|
|
* include/c_std/bits/std_cwchar.h: Same.
|
|
|
|
* testsuite/21_strings/c_strings.cc: Add.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-04-03 03:00:13 +08:00
|
|
|
2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
|
|
|
|
|
|
|
|
* docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
|
|
|
|
|
2001-04-02 03:19:57 +08:00
|
|
|
2001-04-01 Zack Weinberg <zackw@stanford.edu>
|
|
|
|
|
|
|
|
* tests_flags.in: Use test a = b, not test a == b which is not
|
|
|
|
portable.
|
|
|
|
|
2001-04-01 04:15:43 +08:00
|
|
|
2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* configure.target: Remove duplicate aix entry.
|
|
|
|
|
|
|
|
2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/ext/stl_bvector.h: Move to...
|
|
|
|
* include/bits/stl_vector.h: ...here.
|
|
|
|
* include/ext/bvector: Move to...
|
|
|
|
* include/backward/bvector.h: ...here.
|
|
|
|
* include/bits/std_vector.h: Change stl_bvector include.
|
|
|
|
* include/bits/std_queue.h: Remove bvector include.
|
|
|
|
* include/ext/tree: Insert using rb_tree, move to...
|
|
|
|
* include/backward/tree.h: ...here.
|
|
|
|
* include/backward/hash_map.h: Include ext/hash_map.
|
|
|
|
* include/backward/hash_set.h: Include ext/hash_set.
|
|
|
|
* include/backward/queue.h: New file.
|
|
|
|
* include/backward/stack.h: Edit.
|
|
|
|
* include/backward/algo.h: Same.
|
|
|
|
* include/backward/algobase.h: Same.
|
|
|
|
* include/backward/alloc.h: Same.
|
|
|
|
* include/backward/function.h: Same.
|
|
|
|
* include/backward/iomanip.h: Same.
|
|
|
|
* include/backward/istream.h: Same.
|
|
|
|
* include/backward/iterator.h: Same.
|
|
|
|
* include/backward/list.h: Same.
|
|
|
|
* include/backward/map.h: Same.
|
|
|
|
* include/backward/multimap.h: Same.
|
|
|
|
* include/backward/multiset.h: Same.
|
|
|
|
* include/backward/ostream.h: Same.
|
|
|
|
* include/backward/pair.h: Same
|
|
|
|
* include/backward/rope.h: Same.
|
|
|
|
* include/backward/set.h: Same.
|
|
|
|
* include/backward/stream.h: Same.
|
|
|
|
* include/backward/strstream.h: Same.
|
|
|
|
* include/backward/tempbuf.h: Same.
|
|
|
|
* src/Makefile.am (ext_headers): Edit.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
* testsuite/ext/headers.cc (main): Fix.
|
|
|
|
* mkcheck.in: Fix.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-31 05:59:12 +08:00
|
|
|
2001-03-30 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* tests_flags.in (LIBS): Pass correct path for installed testing.
|
|
|
|
|
2001-03-30 16:14:15 +08:00
|
|
|
2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* mkcheck.in (LIBTOOL): Don't construct -B argument here...
|
|
|
|
* tests_flags.in (CXX): Construct here.
|
|
|
|
(static_fail): Don't remove compile.out. Format with spaces.
|
|
|
|
(INCLUDES): Deal with xcompiling.
|
|
|
|
* configure.in (xcompiling): Substitute.
|
|
|
|
* testsuite/Makefile.am: Snake libjava configury.
|
|
|
|
* testsuite/Makefile.in: Regenerate.
|
|
|
|
* testsuite/23_containers/map_operators.cc: Tweaks.
|
|
|
|
* testsuite/23_containers/set_operators.cc: Tweaks.
|
|
|
|
|
|
|
|
2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
Enable dejagnu testing framework.
|
|
|
|
* configure.in: Generate testsuite/Makefile.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.am (check-install): Change rule from this...
|
|
|
|
(check-script-install): ...to this.
|
|
|
|
(check): Change rule from this...
|
|
|
|
(check-script):...to this.
|
|
|
|
* Makefile.in: Regenerate.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-29 05:18:21 +08:00
|
|
|
2001-03-28 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
|
|
|
|
--tag CXX.
|
|
|
|
(LIBTOOL): Let automake take care of its definition.
|
|
|
|
* libsupc++/Makefile.in: Rebuilt.
|
|
|
|
|
2001-03-28 19:04:51 +08:00
|
|
|
2001-03-28 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
IA-64 ABI Exception Handling:
|
|
|
|
* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
|
|
|
|
* configure.in: Use it.
|
|
|
|
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
|
2001-04-03 07:40:01 +08:00
|
|
|
* libsupc++/Makefile.am (sources): Update files list.
|
|
|
|
* libsupc++/Makefile.in: Regenerate.
|
|
|
|
* libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
|
|
|
|
* libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
|
2001-03-28 19:04:51 +08:00
|
|
|
* libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
|
2001-04-03 07:40:01 +08:00
|
|
|
* libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
|
|
|
|
* libsupc++/exception_support.cc: Remove.
|
|
|
|
* libsupc++/exception_support.h: Remove.
|
|
|
|
* libsupc++/pure.cc: Use std::terminate.
|
|
|
|
* libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
|
|
|
|
(__is_pointer): Remove.
|
|
|
|
* libsupc++/unwind-cxx.h: New file.
|
|
|
|
* libsupc++/vec.cc (uncatch_exception): Update for new abi.
|
2001-03-28 19:04:51 +08:00
|
|
|
|
2001-03-28 09:19:42 +08:00
|
|
|
2001-03-27 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
|
|
|
|
CXX tag explicitly.
|
|
|
|
* src/Makefile.am (CXXLINK): Likewise.
|
|
|
|
* libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
|
|
|
|
|
2001-03-28 03:40:46 +08:00
|
|
|
2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
|
|
|
|
|
2001-03-28 03:17:16 +08:00
|
|
|
2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* libstdc++-v3/tests_flags.in: Change the order of libstdc++
|
|
|
|
and libc
|
2001-03-28 03:17:16 +08:00
|
|
|
|
2001-03-27 11:48:17 +08:00
|
|
|
2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/basic_file.h (get_fileno): Remove.
|
|
|
|
(_M_fileno): Remove.
|
|
|
|
(_M_cfile_created): Add.
|
|
|
|
(basic_file::basic_file(__c_file_type*, openmode): Add.
|
|
|
|
(basic_file::basic_file(int, const char*, openmode): Remove.
|
|
|
|
* include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
|
|
|
|
const char*, ios_base::openmode): Don't allocate
|
|
|
|
internal buffers. Turn off internal buffers.
|
|
|
|
(basic_filebuf::overflow): Remove test for null buffer.
|
|
|
|
(basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
|
|
|
|
* include/bits/streambuf.cc: Tweak.
|
|
|
|
* include/bits/std_ostream.h: Tweak.
|
|
|
|
* config/basic_file_libio.h: Same.
|
|
|
|
* config/basic_file_stdio.h: Same.
|
|
|
|
* src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
|
|
|
|
* testsuite/27_io/filebuf_members.cc: Tweaks.
|
2001-04-03 07:40:01 +08:00
|
|
|
* testsuite/27_io/ios_base_members_static.cc: Tweaks.
|
|
|
|
|
2001-03-25 10:28:07 +08:00
|
|
|
2001-03-24 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* Makefile.am: New targets, doxygen and doxygen-maint.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* docs/doxygen/run_doxygen: Finally implemented.
|
|
|
|
* docs/doxygen/maint.cfg.in: New file.
|
|
|
|
* docs/doxygen/user.cfg.in: New file.
|
|
|
|
|
2001-03-25 08:16:58 +08:00
|
|
|
2001-03-24 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
|
|
|
|
* src/Makefile.am: Replace leading spaces with tabs on continuation
|
|
|
|
lines.
|
|
|
|
* aclocal.m4: Regenerated.
|
|
|
|
* configure: Ditto.
|
|
|
|
* Makefile.in: Ditto.
|
|
|
|
* src/Makefile.in: Ditto.
|
|
|
|
* libio/Makefile.in: Ditto.
|
|
|
|
* libmath/Makefile.in: Ditto.
|
|
|
|
* libsupc++/Makefile.in: Ditto.
|
|
|
|
|
2001-03-25 08:01:57 +08:00
|
|
|
2001-03-24 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* docs/html/19_diagnostics/howto.html: HTML fixup. Describe
|
|
|
|
concept-checking code and current status of same.
|
|
|
|
* docs/html/ext/howto.html: Ditto.
|
|
|
|
* docs/html/faq/index.html: Ditto.
|
|
|
|
* docs/html/faq/index.txt: Regenerated.
|
|
|
|
|
2001-03-25 07:46:38 +08:00
|
|
|
2001-03-24 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* include/bits/std_bitset.h: Include ostream and istream headers
|
|
|
|
instead of iostream.
|
|
|
|
|
2001-03-24 04:29:14 +08:00
|
|
|
2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
|
|
|
|
|
|
|
|
* include/bits/ostream.tcc: Use __builtin_alloca.
|
|
|
|
|
2001-03-24 04:02:03 +08:00
|
|
|
2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/misc-inst.cc (__sink_unused_warning): Move to...
|
|
|
|
* src/locale-inst.cc (__sink_unused_warning): Move to...
|
|
|
|
* src/stl-inst.cc: Here.
|
|
|
|
* include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
|
|
|
|
commented it out.
|
|
|
|
|
2001-03-22 03:26:49 +08:00
|
|
|
2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
|
|
|
|
|
|
|
|
* intclude/bits/basic_file.h: Fix typos in comments.
|
|
|
|
|
2001-03-21 03:39:45 +08:00
|
|
|
2001-03-20 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
* src/gen-num-limits.cc: Instantiate for wchar_t.
|
|
|
|
* config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
|
|
|
|
|
2001-03-21 00:59:44 +08:00
|
|
|
2001-03-20 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
* libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
|
|
|
|
(__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
|
|
|
|
* libsupc++/cxxabi.h: Declare it.
|
|
|
|
|
2001-03-16 14:58:58 +08:00
|
|
|
2001-03-16 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* src/gen-num-limits.cc (signal_adapter): Overloaded to match
|
|
|
|
signal_func with an unspecified argument list.
|
|
|
|
|
2001-03-16 06:49:46 +08:00
|
|
|
2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
|
|
|
|
|
2001-03-15 16:46:23 +08:00
|
|
|
2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* include/bits/basic_string.tcc (operator+): Fix thinko.
|
|
|
|
|
2001-03-15 04:46:34 +08:00
|
|
|
2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/2020
|
|
|
|
* include/bits/std_streambuf.h: Remove cached locale facets.
|
|
|
|
(basic_streambuf::_M_buf_fctype): Remove.
|
|
|
|
(basic_streambuf::~basic_streambuf): Remove here.
|
|
|
|
(basic_streambuf::basic_streambuf): Same.
|
|
|
|
(basic_streambuf::imbue): Same.
|
|
|
|
* include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
|
|
|
|
* include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
|
|
|
|
(basic_filebuf::~basic_filebuf()): Remove here.
|
|
|
|
* include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
|
|
|
|
(basic_filebuf::imbue): Same.
|
|
|
|
* include/bits/localefwd.h (_Count_ones): Remove.
|
|
|
|
(locale::_S_num_categories): Just use 6, since this doesn't
|
|
|
|
actually change, ever.
|
|
|
|
* include/bits/locale_facets.tcc (has_facet): Simplify.
|
|
|
|
(use_facet): Same.
|
|
|
|
* testsuite/27_io/filebuf.cc (test06): Add tests.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-14 12:32:44 +08:00
|
|
|
2001-03-13 Steve Ellcey <sje@cup.hp.com>
|
|
|
|
|
|
|
|
* libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
|
|
|
|
match HP-UX ctype.h header file.
|
|
|
|
|
2001-03-14 04:10:01 +08:00
|
|
|
2001-03-13 Andris Pavenis <pavenis@latnet.lv>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/djgpp/bits/ctype_noninline.h: Fix typo and remove
|
2001-03-14 04:10:01 +08:00
|
|
|
duplicate definitions of __dj_ctype_*
|
|
|
|
|
2001-03-14 03:32:00 +08:00
|
|
|
2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* libsupc++/new: Remove pragma interface.
|
|
|
|
* libsupc++/typeinfo: Same.
|
|
|
|
* libsupc++/exception: Same.
|
2001-04-03 07:40:01 +08:00
|
|
|
* libsupc++/new_handler.cc: Remove pragma implementation.
|
2001-03-14 03:32:00 +08:00
|
|
|
(bad_alloc::~bad_alloc()): Add.
|
|
|
|
* libsupc++/exception_support.cc: Same.
|
|
|
|
(exception::~exception): Add.
|
|
|
|
(bad_exception::~bad_exception): Add.
|
|
|
|
* libsupc++/tinfo.cc: Same.
|
|
|
|
(bad_cast::~bad_cast): Add.
|
|
|
|
(bad_typeid::~bad_typeid): Add.
|
|
|
|
|
2001-03-14 01:56:30 +08:00
|
|
|
2001-03-13 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
|
|
|
|
|
2001-03-13 05:52:29 +08:00
|
|
|
2001-03-12 Felix Lee <flee@redhat.com>
|
|
|
|
|
|
|
|
* mkcheck.in: workaround for bash 2.01 IFS bug.
|
|
|
|
|
2001-03-13 05:42:57 +08:00
|
|
|
2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Fixups for -fno-for-scope
|
|
|
|
* include/bits/locale_facets.tcc (__match_parallel): Fixup.
|
|
|
|
* src/valarray-inst.cc (__gslice_to_index): Same.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-13 03:21:29 +08:00
|
|
|
2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
|
|
|
|
prior to trapping signal (UnixWare 7 workaround).
|
2001-03-13 03:21:29 +08:00
|
|
|
|
2001-03-13 02:49:33 +08:00
|
|
|
2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
|
|
|
|
|
|
|
|
* include/backward/hashtable.h: Same.
|
|
|
|
* include/backward/rope.h: Fix include.
|
|
|
|
|
2001-03-13 02:30:29 +08:00
|
|
|
2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
2001-03-13 03:58:04 +08:00
|
|
|
* include/backward/vector.h: Include std_vector.h.
|
|
|
|
|
2001-03-13 02:30:29 +08:00
|
|
|
* include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
|
|
|
|
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
|
|
|
|
Fix typo.
|
|
|
|
|
2001-03-13 02:18:34 +08:00
|
|
|
2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/ext/stl_hashtable.h: Change type of __n to size_t
|
|
|
|
* include/backward/bvector.h: Include <ext/stl_bvector.h>
|
2001-03-13 02:18:34 +08:00
|
|
|
|
2001-03-10 09:36:23 +08:00
|
|
|
2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
|
|
|
|
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
|
|
|
|
Use streamsize, not int_type.
|
|
|
|
|
|
|
|
2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/27_io/streambuf.cc (test06): New test, disabled at the
|
|
|
|
moment.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-09 01:38:49 +08:00
|
|
|
2001-03-08 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
|
|
|
|
command.
|
2001-04-03 07:40:01 +08:00
|
|
|
* aclocal.m4, configure: Regenerated.
|
2001-03-09 01:38:49 +08:00
|
|
|
|
2001-03-08 06:22:41 +08:00
|
|
|
2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/std_iosfwd.h: Remove string forward decls here.
|
|
|
|
* include/bits/stringfwd.h: Add forward decls for char_traits
|
|
|
|
specializations.
|
|
|
|
* config/c_io_libio.h (wstreamoff): Delete.
|
|
|
|
* config/c_io_stdio.h (wstreamoff): Same.
|
|
|
|
* include/bits/char_traits.h: Use streamoff not wstreamoff for
|
|
|
|
char_traits<wchar_t>::off_type.
|
|
|
|
Remove duplicate typedefs.
|
|
|
|
* include/bits/fpos.h: Define streampos/wstreampos here.
|
|
|
|
* testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
|
|
|
|
values to off_type.
|
|
|
|
(test05): Same.
|
|
|
|
Changeup output files.
|
2001-04-03 07:40:01 +08:00
|
|
|
* testsuite/27_io/istream_unformatted.cc: Change output files.
|
2001-03-08 06:22:41 +08:00
|
|
|
* testsuite/27_io/istream_seeks-1.txt: Add.
|
|
|
|
* testsuite/27_io/istream_seeks-2.tst: Add.
|
|
|
|
* testsuite/27_io/istream_seeks-1.tst: Add.
|
|
|
|
* testsuite/27_io/istream_unformatted-2.tst: Delete.
|
|
|
|
* testsuite/27_io/istream_unformatted-3.tst: Delete.
|
|
|
|
* testsuite/27_io/istream_unformatted-3.txt: Delete.
|
|
|
|
|
2001-03-08 02:35:46 +08:00
|
|
|
2001-03-07 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
Add Irix 5.2, 6.3 support.
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/os/irix/bits: Renamed to...
|
|
|
|
* config/os/irix/irix6.5/bits: this.
|
|
|
|
* config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
|
|
|
|
* config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
|
|
|
|
_X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
|
|
|
|
* config/os/irix/irix5.2/bits/ctype_noninline.h
|
|
|
|
(ctype<char>::ctype): Initialize _M_table with __ctype.
|
|
|
|
* configure.target: Adjust.
|
|
|
|
|
2001-03-07 10:08:59 +08:00
|
|
|
2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/2181
|
|
|
|
* include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
|
|
|
|
operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
|
|
|
|
sentry.
|
|
|
|
(basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
|
|
|
|
(*__pf)(__ios_type&)): Same.
|
|
|
|
(basic_istream<_CharT, _Traits>:: operator>>(ios_base&
|
|
|
|
(*__pf)(ios_base&))): Same.
|
|
|
|
* testsuite/27_io/istream_extractor_other.cc: Add tests.
|
|
|
|
* testsuite/27_io/istream_manip.cc (test01): Fix.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
|
|
|
2001-03-06 Nathan Myers <ncm@cantrip.org>
|
2001-03-07 07:32:59 +08:00
|
|
|
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.
|
|
|
|
* testsuite/17_intro/header_cassert.cc (test01): New file.
|
|
|
|
* testsuite/17_intro/header_cstddef.cc (test01): New file.
|
2001-04-03 07:40:01 +08:00
|
|
|
* testsuite/17_intro/header_csetjmp.cc (test01): New file.
|
|
|
|
* testsuite/17_intro/header_cstdarg.cc (test01): New file.
|
2001-03-07 07:32:59 +08:00
|
|
|
|
2001-03-06 10:51:15 +08:00
|
|
|
2001-03-05 scott snyder <snyder@fnal.gov>
|
|
|
|
|
|
|
|
libstdc++/2190
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
|
|
|
|
from here...
|
|
|
|
* include/c_std/bits/std_cstdlib.h: ... to here.
|
2001-03-06 10:51:15 +08:00
|
|
|
* testsuite/17_intro/header_cstdlib.cc: Add test.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-06 09:31:09 +08:00
|
|
|
2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
|
|
|
|
|
|
|
|
* libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
|
|
|
|
|
2001-03-05 12:44:16 +08:00
|
|
|
2001-03-05 Laurynas Biveinis <lauras@softhome.net>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
|
2001-03-05 12:44:16 +08:00
|
|
|
definition. Replace enum with static const variables.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-05 12:44:16 +08:00
|
|
|
* config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
|
|
|
|
throw specification, fix typos, use <static_cast>.
|
|
|
|
(ctype<char>::scan_is): remove throw specification.
|
|
|
|
(ctype<char>::scan_not): likewise.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-03-05 12:44:16 +08:00
|
|
|
* config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
|
|
|
|
(ctype<char>::do_toupper(char)): use <static_cast>.
|
|
|
|
(ctype<char>::do_toupper(char *, const char *)): likewise.
|
|
|
|
(ctype<char>::do_tolower(char)): likewise.
|
|
|
|
(ctype<char>::do_tolower(char *, const char *)): likewise.
|
2001-03-06 09:31:09 +08:00
|
|
|
|
2001-03-05 05:34:02 +08:00
|
|
|
2001-03-04 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
|
|
|
|
* include/backward/algo.h: Use std not __STD. Remove unneeded
|
|
|
|
macros and "never happens" code. Adjust to C++STYLE guidelines.
|
|
|
|
* include/backward/algobase.h: Likewise.
|
|
|
|
* include/backward/alloc.h: Likewise.
|
|
|
|
* include/backward/bvector.h: Likewise.
|
|
|
|
* include/backward/deque.h: Likewise.
|
|
|
|
* include/backward/function.h: Likewise.
|
|
|
|
* include/backward/hash_map.h: Likewise.
|
|
|
|
* include/backward/hash_set.h: Likewise.
|
|
|
|
* include/backward/hashtable.h: Likewise.
|
|
|
|
* include/backward/heap.h: Likewise.
|
|
|
|
* include/backward/iterator.h: Likewise.
|
|
|
|
* include/backward/list.h: Likewise.
|
|
|
|
* include/backward/map.h: Likewise.
|
|
|
|
* include/backward/multimap.h: Likewise.
|
|
|
|
* include/backward/multiset.h: Likewise.
|
|
|
|
* include/backward/pair.h: Likewise.
|
|
|
|
* include/backward/rope.h: Likewise.
|
|
|
|
* include/backward/set.h: Likewise.
|
|
|
|
* include/backward/slist.h: Likewise.
|
|
|
|
* include/backward/stack.h: Likewise.
|
|
|
|
* include/backward/strstream: Likewise.
|
|
|
|
* include/backward/tempbuf.h: Likewise.
|
|
|
|
* include/backward/tree.h: Likewise.
|
|
|
|
* include/backward/vector.h: Likewise.
|
|
|
|
* include/bits/basic_ios.h: Likewise.
|
|
|
|
* include/bits/basic_ios.tcc: Likewise.
|
|
|
|
* include/bits/basic_string.h: Likewise.
|
|
|
|
* include/bits/c++config: Likewise.
|
|
|
|
* include/bits/concept_checks.h: Likewise.
|
|
|
|
* include/bits/fpos.h: Likewise.
|
|
|
|
* include/bits/fstream.tcc: Likewise.
|
|
|
|
* include/bits/functexcept.h: Likewise.
|
|
|
|
* include/bits/ios_base.h: Likewise.
|
|
|
|
* include/bits/istream.tcc: Likewise.
|
|
|
|
* include/bits/mask_array.h: Likewise.
|
|
|
|
* include/bits/ostream.tcc: Likewise.
|
|
|
|
* include/bits/pthread_allocimpl.h: Likewise.
|
|
|
|
* include/bits/sbuf_iter.h: Likewise.
|
|
|
|
* include/bits/slice.h: Likewise.
|
|
|
|
* include/bits/slice_array.h: Likewise.
|
|
|
|
* include/bits/sstream.tcc: Likewise.
|
|
|
|
* include/bits/std_bitset.h: Likewise.
|
|
|
|
* include/bits/std_fstream.h: Likewise.
|
|
|
|
* include/bits/std_iomanip.h: Likewise.
|
|
|
|
* include/bits/std_ios.h: Likewise.
|
|
|
|
* include/bits/std_istream.h: Likewise.
|
|
|
|
* include/bits/std_iterator.h: Likewise.
|
|
|
|
* include/bits/std_memory.h: Likewise.
|
|
|
|
* include/bits/std_ostream.h: Likewise.
|
|
|
|
* include/bits/std_sstream.h: Likewise.
|
|
|
|
* include/bits/std_streambuf.h: Likewise.
|
|
|
|
* include/bits/std_string.h: Likewise.
|
|
|
|
* include/bits/std_valarray.h: Likewise.
|
|
|
|
* include/bits/stl_algo.h: Likewise.
|
|
|
|
* include/bits/stl_algobase.h: Likewise.
|
|
|
|
* include/bits/stl_alloc.h: Likewise.
|
|
|
|
* include/bits/stl_construct.h: Likewise.
|
|
|
|
* include/bits/stl_deque.h: Likewise.
|
|
|
|
* include/bits/stl_function.h: Likewise.
|
|
|
|
* include/bits/stl_heap.h: Likewise.
|
|
|
|
* include/bits/stl_iterator.h: Likewise.
|
|
|
|
* include/bits/stl_iterator_base.h: Likewise.
|
|
|
|
* include/bits/stl_list.h: Likewise.
|
|
|
|
* include/bits/stl_map.h: Likewise.
|
|
|
|
* include/bits/stl_multimap.h: Likewise.
|
|
|
|
* include/bits/stl_multiset.h: Likewise.
|
|
|
|
* include/bits/stl_numeric.h: Likewise.
|
|
|
|
* include/bits/stl_pair.h: Likewise.
|
|
|
|
* include/bits/stl_pthread_alloc.h: Likewise.
|
|
|
|
* include/bits/stl_queue.h: Likewise.
|
|
|
|
* include/bits/stl_raw_storage_iter.h: Likewise.
|
|
|
|
* include/bits/stl_relops.h: Likewise.
|
|
|
|
* include/bits/stl_set.h: Likewise.
|
|
|
|
* include/bits/stl_stack.h: Likewise.
|
|
|
|
* include/bits/stl_tempbuf.h: Likewise.
|
|
|
|
* include/bits/stl_threads.h: Likewise.
|
|
|
|
* include/bits/stl_tree.h: Likewise.
|
|
|
|
* include/bits/stl_uninitialized.h: Likewise.
|
|
|
|
* include/bits/stl_vector.h: Likewise.
|
|
|
|
* include/bits/streambuf.tcc: Likewise.
|
|
|
|
* include/bits/type_traits.h: Likewise.
|
|
|
|
* include/bits/valarray_meta.h: Likewise.
|
|
|
|
* include/ext/bvector: Likewise.
|
|
|
|
* include/ext/hash_map: Likewise.
|
|
|
|
* include/ext/hash_set: Likewise.
|
|
|
|
* include/ext/ropeimpl.h: Likewise.
|
|
|
|
* include/ext/slist: Likewise.
|
|
|
|
* include/ext/stl_bvector.h: Likewise.
|
|
|
|
* include/ext/stl_hash_fun.h: Likewise.
|
|
|
|
* include/ext/stl_hashtable.h: Likewise.
|
|
|
|
* include/ext/stl_rope.h: Likewise.
|
|
|
|
* src/complex_io.cc: Likewise.
|
|
|
|
* src/ios.cc: Likewise.
|
|
|
|
* src/locale-inst.cc: Likewise.
|
|
|
|
* src/locale.cc: Likewise.
|
|
|
|
* src/localename.cc: Likewise.
|
|
|
|
* src/misc-inst.cc: Likewise.
|
|
|
|
* src/stdexcept.cc: Likewise.
|
|
|
|
* src/stl-inst.cc: Likewise.
|
|
|
|
* src/strstream.cc: Likewise.
|
|
|
|
* src/valarray-inst.cc: Likewise.
|
|
|
|
|
2001-03-03 18:42:05 +08:00
|
|
|
2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
|
|
|
|
|
2001-03-03 05:38:26 +08:00
|
|
|
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/istream.tcc: change type of __extracted to __size_type
|
2001-03-03 05:38:26 +08:00
|
|
|
|
|
|
|
2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* src/wstring-inst.cc: New file.
|
|
|
|
* src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
|
|
|
|
(libinst_wstring_la_SOURCES): Remove.
|
|
|
|
(libstdc___la_LIBADD): Remove libinst_wstring_la.
|
|
|
|
(sources): Add wstring-inst.cc
|
|
|
|
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
|
|
|
|
libinst_wstring_la.
|
|
|
|
|
2001-03-03 01:18:54 +08:00
|
|
|
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* src/locale.cc: initialise __ret with zero
|
|
|
|
* src/strstream.cc:cast gptr to int_type
|
2001-03-03 01:18:54 +08:00
|
|
|
|
2001-03-02 06:32:23 +08:00
|
|
|
2001-03-01 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* docs/html/faq/index.html: Update broken links.
|
|
|
|
* docs/html/faq/index.txt: Regenerated.
|
|
|
|
|
2001-03-01 09:19:21 +08:00
|
|
|
2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/2064
|
|
|
|
* configure.target: Change irix* to irix6.5* in target_os table.
|
|
|
|
|
2001-03-01 08:37:18 +08:00
|
|
|
2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/2103
|
|
|
|
* include/bits/c++config (__GLIBCPP__): Bump number in
|
|
|
|
anticipation of 2.92.
|
|
|
|
|
|
|
|
* include/bits/codecvt.h: Fix typo.
|
|
|
|
* include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
|
|
|
|
stdio model.
|
|
|
|
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
|
|
|
|
instantiations for stdio model.
|
|
|
|
|
2001-03-01 02:42:47 +08:00
|
|
|
2001-02-28 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
|
|
|
|
and GLIBCPP_CXXFLAGS as unused variables.
|
|
|
|
* configure.host: Likewise.
|
|
|
|
* configure.target: Likewise.
|
|
|
|
* aclocal.m4: Regenerated.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* libio/Makefile.in: Regenerated.
|
|
|
|
* libmath/Makefile.in: Regenerated.
|
|
|
|
* libsupc++/Makefile.in: Regenerated.
|
|
|
|
* src/Makefile.in: Regenerated.
|
|
|
|
|
2001-02-28 11:20:36 +08:00
|
|
|
2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/1886
|
|
|
|
* include/bits/basic_file.h: Include basic_file_model.h.
|
|
|
|
* config/c_io_libio.cc: Move to...
|
|
|
|
* config/basic_file_libio.cc: Here.
|
|
|
|
* config/basic_file_libio.h: New file.
|
|
|
|
* config/c_io_stdio.cc: Move to...
|
|
|
|
* config/basic_file_stdio.cc: Here.
|
|
|
|
* config/basic_file_stdio.h: New file.
|
|
|
|
* config/c_io_libio.h: Tweak.
|
|
|
|
* config/c_io_stdio.h: Tweak.
|
|
|
|
* src/Makefile.am (build_headers): Add basic_file_model.h.
|
|
|
|
(sources): Add basic_file.cc, remove c++io.cc.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
|
|
|
|
basic_file_model.h and basic_file.cc.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* testsuite/27_io/filebuf.cc (test05): Add regression.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-02-28 08:14:16 +08:00
|
|
|
2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Correct license.
|
|
|
|
* config/cpu/alpha/bits/atomicity.h: Change.
|
2001-03-03 01:18:54 +08:00
|
|
|
* config/cpu/arm/bits/atomicit3y.h
|
2001-02-28 08:14:16 +08:00
|
|
|
* config/cpu/generic/bits/atomicity.h
|
|
|
|
* config/cpu/i386/bits/atomicity.h
|
|
|
|
* config/cpu/i486/bits/atomicity.h
|
|
|
|
* config/cpu/ia64/bits/atomicity.h
|
|
|
|
* config/cpu/powerpc/bits/atomicity.h
|
|
|
|
* config/cpu/sparc/sparc32/bits/atomicity.h
|
|
|
|
* config/cpu/sparc/sparc64/bits/atomicity.h
|
|
|
|
* config/os/aix/bits/atomicity.h
|
|
|
|
* config/os/irix/bits/atomicity.h
|
|
|
|
|
2001-02-28 00:16:12 +08:00
|
|
|
2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
2001-02-28 07:00:35 +08:00
|
|
|
* include/bits/std_stdexcept.h (runtime_error): Make string
|
|
|
|
member non-const.
|
|
|
|
(logic_error): Same.
|
|
|
|
* testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
|
|
|
|
(test03): Fix.
|
2001-02-28 00:16:12 +08:00
|
|
|
|
2001-02-27 12:13:17 +08:00
|
|
|
2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
libstdc++/1972
|
|
|
|
libstdc++/2089
|
|
|
|
* include/bits/std_stdexcept.h (logic_error::logic_error): Use
|
|
|
|
string object, not reference.
|
|
|
|
(runtime_error::runtime_error): Same.
|
|
|
|
* testsuite/19_diagnostics/stdexceptions.cc: New file.
|
|
|
|
|
2001-02-27 05:48:01 +08:00
|
|
|
2001-02-26 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
|
|
|
|
(GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
|
|
|
|
diagnostics. Remove WFMT_FLAGS.
|
|
|
|
* configure.in: Replace WFMT_FLAGS with diagnostics options.
|
|
|
|
* libsupc++/Makefile.am: Likewise.
|
|
|
|
* src/Makefile.am: Likewise.
|
|
|
|
* aclocal.m4: Regenerated.
|
|
|
|
* configure: Regenerated.
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
* libio/Makefile.in: Regenerated.
|
|
|
|
* libmath/Makefile.in: Regenerated.
|
|
|
|
* libsupc++/Makefile.in: Regenerated.
|
|
|
|
* src/Makefile.in: Regenerated.
|
|
|
|
|
2001-02-27 04:33:09 +08:00
|
|
|
2001-02-26 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
Fixes libstdc++/2079
|
|
|
|
* include/backward/iomanip.h: Expose <ios> manipulators to global
|
|
|
|
namespace.
|
|
|
|
* include/backward/iostream.h: Also expose std::ws.
|
|
|
|
|
2001-02-25 17:24:10 +08:00
|
|
|
2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
|
|
|
|
|
|
|
|
* libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
|
|
|
|
|
2001-02-24 03:22:04 +08:00
|
|
|
2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/codecvt.h: Use __builtin_alloca.
|
|
|
|
* include/bits/ostream.tcc: Same.
|
|
|
|
* include/bits/fstream.tcc: Same.
|
|
|
|
|
2001-02-24 03:13:33 +08:00
|
|
|
2001-02-23 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
* mknumeric_limits (CC): Use VAR=${VAR=...} form.
|
|
|
|
|
2001-02-24 03:06:23 +08:00
|
|
|
2001-02-23 David Edelsohn <dje@watson.ibm.com>
|
|
|
|
|
|
|
|
* mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
|
|
|
|
|
2001-02-24 01:47:34 +08:00
|
|
|
2001-02-23 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
c++/2052
|
|
|
|
* include/backward/iostream.h: Expose std::flush in old headers.
|
|
|
|
|
2001-02-23 17:30:47 +08:00
|
|
|
2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* mknumeric_limits: Remove special-casing on target. Use gcc
|
|
|
|
instead of g++ to build gen-num-limits.cc
|
|
|
|
|
2001-02-23 15:12:03 +08:00
|
|
|
2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
|
|
|
|
|
|
|
|
* include/bits/codecvt.h: Use alloca instead of __extension__ for
|
|
|
|
the time being.
|
|
|
|
* include/bits/ostream.tcc: Same.
|
|
|
|
* include/bits/std_ostream.h: Same.
|
|
|
|
* include/bits/fstream.tcc: Same.
|
|
|
|
* include/bits/locale_facets.tcc: Add typename.
|
|
|
|
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
|
|
|
|
|
2001-02-22 05:58:20 +08:00
|
|
|
2001-02-21 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* tests_flags.in: Remove -n flag from call to echo.
|
|
|
|
|
2001-02-22 03:07:33 +08:00
|
|
|
2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* config/c_locale_gnu.h: Add clocale include.
|
|
|
|
|
2001-02-21 04:20:48 +08:00
|
|
|
2001-02-20 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* include/bits/stl_config.h: Remove file.
|
|
|
|
* src/Makefile.am (base_headers): Remove from list.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* Makefile.in: Ditto.
|
|
|
|
* libio/Makefile.in: Ditto.
|
|
|
|
* libmath/Makefile.in: Ditto.
|
|
|
|
* libsupc++/Makefile.in: Ditto.
|
|
|
|
* src/Makefile.in: Ditto.
|
|
|
|
|
|
|
|
* include/bits/c++config: Move relevant macros to here.
|
|
|
|
* include/backward/alloc.h: Include c++config.h instead.
|
|
|
|
* include/backward/function.h: Ditto.
|
|
|
|
* include/backward/heap.h: Ditto.
|
|
|
|
* include/backward/pair.h: Ditto.
|
|
|
|
* include/bits/pthread_allocimpl.h: Ditto.
|
|
|
|
* include/bits/std_functional.h: Ditto.
|
|
|
|
* include/bits/std_iterator.h: Ditto.
|
|
|
|
* include/bits/std_numeric.h: Ditto.
|
|
|
|
* include/bits/std_utility.h: Ditto.
|
|
|
|
* include/bits/stl_algobase.h: Ditto.
|
|
|
|
* include/bits/type_traits.h: Ditto.
|
|
|
|
* src/stl-inst.cc: Ditto.
|
|
|
|
|
2001-02-20 02:52:25 +08:00
|
|
|
2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* include/bits/basic_file.h: Add #pragma system_header
|
|
|
|
* include/bits/basic_ios.h: Ditto.
|
|
|
|
* include/bits/basic_string.h: Ditto.
|
|
|
|
* include/bits/char_traits.h: Ditto.
|
|
|
|
* include/bits/codecvt.h: Ditto.
|
|
|
|
* include/bits/cpp_type_traits.h: Ditto.
|
|
|
|
* include/bits/fpos.h: Ditto.
|
|
|
|
* include/bits/gslice.h: Ditto.
|
|
|
|
* include/bits/gslice_array.h: Ditto.
|
|
|
|
* include/bits/indirect_array.h: Ditto.
|
|
|
|
* include/bits/ios_base.h: Ditto.
|
|
|
|
* include/bits/limits_generic.h: Ditto.
|
|
|
|
* include/bits/locale_facets.h: Ditto.
|
|
|
|
* include/bits/localefwd.h: Ditto.
|
|
|
|
* include/bits/mask_array.h: Ditto.
|
|
|
|
* include/bits/sbuf_iter.h: Ditto.
|
|
|
|
* include/bits/sequence_concepts.h: Ditto.
|
|
|
|
* include/bits/slice.h: Ditto.
|
|
|
|
* include/bits/slice_array.h: Ditto.
|
|
|
|
* include/bits/std_algorithm.h: Likewise.
|
|
|
|
* include/bits/std_bitset.h: Likewise.
|
|
|
|
* include/bits/std_complex.h: Likewise.
|
|
|
|
* include/bits/std_deque.h: Likewise.
|
|
|
|
* include/bits/std_fstream.h: Likewise.
|
|
|
|
* include/bits/std_functional.h: Likewise.
|
|
|
|
* include/bits/std_iomanip.h: Likewise.
|
|
|
|
* include/bits/std_ios.h: Likewise.
|
|
|
|
* include/bits/std_iosfwd.h: Likewise.
|
|
|
|
* include/bits/std_iostream.h: Likewise.
|
|
|
|
* include/bits/std_istream.h: Likewise.
|
|
|
|
* include/bits/std_iterator.h: Likewise.
|
|
|
|
* include/bits/std_list.h: Likewise.
|
|
|
|
* include/bits/std_locale.h: Likewise.
|
|
|
|
* include/bits/std_map.h: Likewise.
|
|
|
|
* include/bits/std_memory.h: Likewise.
|
|
|
|
* include/bits/std_numeric.h: Likewise.
|
|
|
|
* include/bits/std_ostream.h: Likewise.
|
|
|
|
* include/bits/std_queue.h: Likewise.
|
|
|
|
* include/bits/std_set.h: Likewise.
|
|
|
|
* include/bits/std_sstream.h: Likewise.
|
|
|
|
* include/bits/std_stack.h: Likewise.
|
|
|
|
* include/bits/std_stdexcept.h: Likewise.
|
|
|
|
* include/bits/std_streambuf.h: Likewise.
|
|
|
|
* include/bits/std_string.h: Likewise.
|
|
|
|
* include/bits/std_utility.h: Likewise.
|
|
|
|
* include/bits/std_valarray.h: Likewise.
|
|
|
|
* include/bits/std_vector.h: Likewise.
|
|
|
|
* include/bits/stringfwd.h: Likewise.
|
|
|
|
* include/bits/type_traits.h: Likewise.
|
|
|
|
* include/bits/valarray_array.h: Likewise.
|
|
|
|
* include/bits/valarray_meta.h: Likewise.
|
|
|
|
|
2001-02-19 23:41:46 +08:00
|
|
|
2001-02-19 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
* config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
|
|
|
|
Fix typo.
|
|
|
|
|
2001-02-18 01:51:45 +08:00
|
|
|
2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
|
|
|
|
|
|
|
|
libstdc++/1734
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/std_ostream.h: Replaced usage of
|
|
|
|
_Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
|
|
|
|
* include/bits/char_traits.h: Removed non-standard
|
|
|
|
methods that cannot be used elsewhere.
|
|
|
|
|
2001-02-18 01:51:45 +08:00
|
|
|
libstdc++/1885
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/basic_ios.h: Uncommented #include of
|
|
|
|
bits/basic_ios.tcc
|
|
|
|
|
2001-02-18 01:51:45 +08:00
|
|
|
libstdc++/1897
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/codecvt.h: See next...
|
|
|
|
* include/bits/fstream.tcc: See next...
|
|
|
|
* include/bits/ostream.tcc: Add __extension__
|
|
|
|
to variable-length arrays.
|
|
|
|
|
2001-02-18 01:51:45 +08:00
|
|
|
libstdc++/1967
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/localefwd.h: Changed int counter type to size_t.
|
2001-02-18 01:51:45 +08:00
|
|
|
|
|
|
|
libstdc++/1968
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/std_fstream.h: Added typedef for __ctype_type.
|
2001-02-18 01:51:45 +08:00
|
|
|
|
2001-02-17 07:58:28 +08:00
|
|
|
2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* testsuite/21_strings/char_traits.cc: Move to ...
|
|
|
|
* testsuite/21_strings/char_traits_requirements.cc: ..here.
|
|
|
|
* testsuite/21_strings/char_traits-int_type.cc: Move to ...
|
|
|
|
* testsuite/21_strings/char_traits_typedefs.cc: ..here.
|
|
|
|
|
2001-02-17 01:06:06 +08:00
|
|
|
2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
|
2001-04-03 07:40:01 +08:00
|
|
|
definitions.
|
2001-02-17 01:06:06 +08:00
|
|
|
|
2001-02-16 13:39:47 +08:00
|
|
|
2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* include/bits/c++config: Revert.
|
|
|
|
|
2001-02-16 11:35:50 +08:00
|
|
|
2001-02-15 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* include/bits/istream.tcc: Use ios_base::iostate in place of
|
|
|
|
iostate throughout. Insert `typename' keyword where necessary.
|
|
|
|
* include/bits/ostream.tcc: Insert `typename' keyword where
|
|
|
|
necessary.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-02-16 10:45:26 +08:00
|
|
|
2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
|
2001-02-16 10:38:35 +08:00
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
|
|
|
|
Define so library is compliant.
|
2001-02-16 10:38:35 +08:00
|
|
|
|
2001-02-16 09:56:07 +08:00
|
|
|
2001-02-15 Anthony Green <green@redhat.com>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
|
|
|
|
compilation.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
2001-02-16 09:56:07 +08:00
|
|
|
|
2001-02-16 09:39:06 +08:00
|
|
|
2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
|
|
|
|
Include ieeefp.h for fpclass on UnixWare{2,7}.
|
2001-02-16 09:39:06 +08:00
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
2001-04-03 07:40:01 +08:00
|
|
|
* mkcheck.in (size_command): Do without GNU-grep when using
|
|
|
|
size from binutils.
|
2001-02-16 09:39:06 +08:00
|
|
|
|
2001-02-16 09:26:14 +08:00
|
|
|
2001-02-15 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
Remove old ABI support from libsupc++.
|
|
|
|
* libsupc++/cxxabi.h: Remove conditionally compiled code.
|
|
|
|
* libsupc++/exception_support.cc: Likewise.
|
|
|
|
* libsupc++/pure.cc: Likewise.
|
|
|
|
* libsupc++/tinfo.cc: Likewise.
|
|
|
|
* libsupc++/tinfo.h: Likewise.
|
|
|
|
* libsupc++/tinfo2.cc: Likewise.
|
|
|
|
* libsupc++/typeinfo: Likewise.
|
|
|
|
* libsupc++/vec.cc: Likewise.
|
|
|
|
|
2001-02-16 08:44:44 +08:00
|
|
|
2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
Add support for -fno-exceptions.
|
|
|
|
* include/bits/exception_support.h: Remove.
|
|
|
|
* include/bits/basic_string.h: Remove exception_support.
|
|
|
|
(string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
|
|
|
|
(string::at): Same.
|
|
|
|
(string::substr): Same.
|
|
|
|
* include/bits/basic_string.tcc (string::reserve): Replace
|
|
|
|
__LENGTHERROR with __throw_length_error.
|
|
|
|
(string::_S_create): Same.
|
|
|
|
(string::resize): Same.
|
|
|
|
(string::_M_replace): Same.
|
|
|
|
(string::replace): Same.
|
|
|
|
(string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
|
|
|
|
(string::compare): Same.
|
|
|
|
* include/bits/stl_vector.h: Remove exception_support.
|
|
|
|
* src/Makefile.am (base_headers): Remove here.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
* include/bits/stl_range_errors.h: Remove.
|
|
|
|
* include/bits/stl_deque.h: Use __throw_range_error.
|
|
|
|
* include/bits/std_deque.h: Include functexcept.h.
|
|
|
|
* include/bits/std_vector.h: Same.
|
|
|
|
* src/Makefile.am (base_headers): Remove here.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
* include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
|
|
|
|
* include/ext/bvector: Remove stl_range_errors.h
|
|
|
|
|
|
|
|
* include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
|
|
|
|
|
|
|
|
* include/bits/functexcept.h: New file.
|
|
|
|
* src/functexcept.cc: New file. Definitions for function-based
|
|
|
|
exception routines.
|
|
|
|
* src/Makefile.am (sources): Add functexcept.cc.
|
|
|
|
* src/Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
* include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
|
|
|
|
__EXCEPTIONS.
|
|
|
|
|
|
|
|
* include/bits/localefwd.h: Include functexcept.h.
|
|
|
|
* include/bits/std_iosfwd.h: Same.
|
|
|
|
|
|
|
|
* include/bits/basic_ios.h: Use __throw_ios_failure instead of
|
|
|
|
throw basic_ios::failure.
|
|
|
|
* include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
|
|
|
|
Use __throw_exception_again.
|
|
|
|
(filebuf::_M_filebuf_init): Same.
|
|
|
|
* include/bits/streambuf.tcc (__copy_streambufs): Same.
|
|
|
|
* include/bits/ostream.tcc (ostream::operator<<): Same.
|
|
|
|
* include/bits/istream.tcc (istream::operator>>): Same.
|
|
|
|
* include/bits/basic_string.tcc (string::_M_mutate): Same.
|
|
|
|
(string::_S_construct): Same.
|
|
|
|
(string::_M_clone): Same.
|
|
|
|
* include/bits/locale_facets.tcc (use_facet(const locale&)): Use
|
|
|
|
__throw_bad_cast.
|
|
|
|
(num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
|
|
|
|
* src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
|
|
|
|
__throw_exception_again.
|
|
|
|
(locale::_Imp::_Imp(string, size_t): Same.
|
|
|
|
(locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
|
|
|
|
* src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
|
|
|
|
(locale::locale(const char*)): Use __throw_runtime_error.
|
|
|
|
(locale::classic): Use __throw_exception_again.
|
|
|
|
(locale::_S_normalize_category): Use __throw_runtime_error.
|
|
|
|
|
|
|
|
* src/stdexcept.cc: Remove cruft.
|
|
|
|
|
|
|
|
* libsupc++/exception_defines.h: New file.
|
|
|
|
* libsupc++/new_opnt.cc: Include exception_defines.h.
|
|
|
|
* libsupc++/vec.cc: Same.
|
|
|
|
(__cxa_vec_new2): Use __throw_exception_again.
|
|
|
|
(__cxa_vec_new3): Same.
|
|
|
|
(__cxa_vec_ctor): Same.
|
|
|
|
(__cxa_vec_delete3): Same.
|
|
|
|
(__cxa_vec_cctor): Same.
|
|
|
|
(__cxa_vec_delete2): Same.
|
|
|
|
(__cxa_vec_dtor): Same.
|
|
|
|
* libsupc++/exception_support.cc: Include exception_defines.h. Only
|
|
|
|
compile exception-handling bits if __EXCEPTIONS is defined.
|
|
|
|
Remove old ABI support.
|
|
|
|
* libsupc++/new_op.cc (new): Include exception_defines.h. Use
|
|
|
|
std::__throw_bad_alloc() instead of throw bad_alloc.
|
|
|
|
* libsupc++/Makefile.am: Add exception_defines.h.
|
|
|
|
* libsupc++/Makefile.in: Reformat.
|
|
|
|
* libsupc++/*: Format.
|
|
|
|
|
2001-02-16 06:21:12 +08:00
|
|
|
2001-02-15 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* docs/html/configopts.html: Minor updates and typo fixes.
|
|
|
|
* docs/html/faq/index.html: Updates of the "not really bugs" list.
|
|
|
|
* docs/html/faq/index.txt: Regenerated.
|
|
|
|
|
2001-02-15 11:57:39 +08:00
|
|
|
2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp: Lift, temporarily, out of
|
2001-04-03 07:40:01 +08:00
|
|
|
dejagnu/dg.exp. Adapt to log options used to run testcases.
|
2001-02-15 11:57:39 +08:00
|
|
|
|
|
|
|
2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
|
|
|
|
dejagnu/dg.exp.
|
|
|
|
|
2001-02-14 00:09:05 +08:00
|
|
|
2001-02-13 Dirk Mueller <dmuell@gmx.net>
|
2001-04-03 07:40:01 +08:00
|
|
|
Phil Edwards <pme@sources.redhat.com>
|
2001-02-14 00:09:05 +08:00
|
|
|
|
|
|
|
* include/backward/function.h: Do not use rel_ops for older
|
|
|
|
headers either.
|
|
|
|
* include/backward/pair.h: Likewise.
|
|
|
|
|
2001-02-12 17:06:39 +08:00
|
|
|
2001-02-12 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* src/locale.cc: Remove bogus locale::id definitions.
|
|
|
|
|
2001-02-12 06:25:50 +08:00
|
|
|
2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
|
|
|
|
2001-02-12 06:42:36 +08:00
|
|
|
* include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
|
|
|
|
not _DEFINE_VALARRAY_OPERATOR which is not existent.
|
|
|
|
|
2001-02-12 06:25:50 +08:00
|
|
|
* include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
|
|
|
|
thinko in member initialisation.
|
|
|
|
|
2001-02-12 06:16:48 +08:00
|
|
|
2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* include/bits/std_valarray.h(valarray<>::shift): Avoid
|
|
|
|
comparaison between signed and unsigned integer types.
|
|
|
|
(valarray<>::cshift): Reformat.
|
|
|
|
|
2001-02-12 02:15:49 +08:00
|
|
|
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 14:39:14 +08:00
|
|
|
2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
|
2001-02-11 14:39:14 +08:00
|
|
|
lengths and strides.
|
|
|
|
(__gslice_to_index): Document.
|
|
|
|
|
2001-02-11 12:43:44 +08:00
|
|
|
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 08:58:16 +08:00
|
|
|
2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/Makefile.am: New file.
|
|
|
|
|
2001-02-09 22:12:51 +08:00
|
|
|
2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
* include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
|
|
|
|
|
2001-02-09 04:33:19 +08:00
|
|
|
2001-02-08 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
|
2001-02-09 04:33:19 +08:00
|
|
|
|
|
|
|
2001-02-08 David Edelsohn <edelsohn@gnu.org>
|
2001-02-09 03:53:19 +08:00
|
|
|
|
|
|
|
* configure.target (aix4*): Remove extra set of brackets.
|
|
|
|
|
2001-02-08 04:26:24 +08:00
|
|
|
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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-07 09:58:27 +08:00
|
|
|
2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
|
2001-02-07 09:54:21 +08:00
|
|
|
|
|
|
|
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
|
|
|
|
install locations too.
|
2001-02-07 09:58:27 +08:00
|
|
|
* aclocal.m4: Regenerate.
|
2001-02-07 09:54:21 +08:00
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-07 08:03:21 +08:00
|
|
|
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-07 01:41:44 +08:00
|
|
|
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 23:59:35 +08:00
|
|
|
2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
|
2001-04-03 07:40:01 +08:00
|
|
|
Phil Edwards <pme@sources.redhat.com>
|
2001-02-06 23:52:37 +08:00
|
|
|
|
|
|
|
* include/bits/std_istream.h (op>> signed,unsigned char): Must
|
|
|
|
use reinterpret_cast, not static_cast.
|
|
|
|
|
2001-02-06 16:18:29 +08:00
|
|
|
2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
|
|
|
* acinclude.m4 (gxx_include_dir): Quote, fix regression.
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
* configure: Regenerate.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-02-06 16:18:29 +08:00
|
|
|
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
|
2001-02-06 15:21:41 +08:00
|
|
|
|
|
|
|
* include/bits/locale_facets.h (class moneypunct): Fix typos.
|
2001-02-06 15:27:25 +08:00
|
|
|
* libsupc++/pure.cc: Revert.
|
2001-02-06 15:21:41 +08:00
|
|
|
|
2001-02-06 16:18:29 +08:00
|
|
|
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
|
2001-02-06 15:06:15 +08:00
|
|
|
|
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-06 14:36:18 +08:00
|
|
|
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.
|
2001-02-07 09:54:21 +08:00
|
|
|
* src/misc-inst.cc: Likewise.
|
2001-02-06 14:36:18 +08:00
|
|
|
* src/string-inst.cc: Likewise.
|
2001-02-06 15:06:15 +08:00
|
|
|
|
2001-02-06 14:32:01 +08:00
|
|
|
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.
|
2001-04-03 07:40:01 +08:00
|
|
|
* configure: Regenerate.
|
2001-02-06 14:32:01 +08:00
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-06 06:27:40 +08:00
|
|
|
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.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-02-06 06:27:40 +08:00
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-06 06:08:47 +08:00
|
|
|
2001-02-05 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
|
|
|
|
|
2001-02-06 03:46:22 +08:00
|
|
|
2001-02-05 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* src/string-inst.cc (string::_M_replace): Explicitly instantiate.
|
|
|
|
(string::_S_construct): Likewise.
|
|
|
|
|
2001-02-05 10:48:17 +08:00
|
|
|
2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/config/default.exp: New file.
|
|
|
|
* testsuite/config: New directory.
|
|
|
|
|
2001-02-04 16:37:50 +08:00
|
|
|
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 17:01:44 +08:00
|
|
|
2001-02-03 Alexandre Oliva <aoliva@redhat.com>
|
2001-04-03 07:40:01 +08:00
|
|
|
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
2001-02-03 17:01:44 +08:00
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* Makefile.am (mkinstalldirs): Set.
|
|
|
|
* src/Makefile.am (mkinstalldirs): Set.
|
|
|
|
* libmath/Makefile.am (mkinstalldirs): Set.
|
|
|
|
* libsup++/Makefile.am (mkinstalldirs): Set.
|
|
|
|
* libio/Makefile.am (mkinstalldirs): Set.
|
2001-02-03 17:01:44 +08:00
|
|
|
* */Makefile.in: Regenerate.
|
|
|
|
|
2001-02-03 16:33:35 +08:00
|
|
|
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>
|
2001-02-03 15:24:06 +08:00
|
|
|
|
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-02-03 04:32:35 +08:00
|
|
|
2001-02-02 Phil Edwards <pme@sources.redhat.com>
|
|
|
|
|
|
|
|
* mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
|
|
|
|
|
2001-02-02 05:08:05 +08: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-31 01:21:50 +08: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 17:18:51 +08: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.
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/c_locale_gnu.h: New file.
|
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 17:18:51 +08:00
|
|
|
* config/c_locale_gnu.cc: New file. Non-inline member functions
|
|
|
|
for named locales, gnu-specific.
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/c_locale_generic.h: New file.
|
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 17:18:51 +08:00
|
|
|
* 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.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
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 17:18:51 +08:00
|
|
|
* include/bits/locale_facets.h (class _Collate): Remove.
|
|
|
|
* src/locale-inst.cc (std): Remove.
|
|
|
|
* src/locale.cc: And here.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
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 17:18:51 +08:00
|
|
|
* 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.
|
2001-04-03 07:40:01 +08:00
|
|
|
(locale::_Impl::_M_construct_monetary): Remove.
|
|
|
|
(locale::_Impl::_M_construct_numeric): Remove.
|
|
|
|
(locale::_Impl::_M_construct_time): Remove.
|
|
|
|
(locale::_Impl::_M_construct_messages): Remove.
|
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 17:18:51 +08:00
|
|
|
|
|
|
|
* 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.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
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 17:18:51 +08:00
|
|
|
* 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
|
2001-04-03 07:40:01 +08:00
|
|
|
with it when it works again.....
|
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 17:18:51 +08:00
|
|
|
|
|
|
|
* 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.
|
2001-04-03 07:40:01 +08:00
|
|
|
(locale::_Impl::_M_name): Remove.
|
|
|
|
(locale::_Impl::_M_category_names): Turns into...
|
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 17:18:51 +08:00
|
|
|
(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.
|
2001-04-03 07:40:01 +08:00
|
|
|
* testsuite/22_locale/numpunct.cc: New file.
|
|
|
|
|
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 17:18:51 +08:00
|
|
|
* 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.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
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 17:18:51 +08:00
|
|
|
* 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-04-03 07:40:01 +08:00
|
|
|
|
2001-01-28 23:13:08 +08:00
|
|
|
2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/README: Add more comment.
|
|
|
|
* testsuite/lib/libstdc++.exp: Tweak comment.
|
|
|
|
|
2001-01-28 03:00:09 +08:00
|
|
|
2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
|
|
|
|
|
|
|
|
* libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
|
|
|
|
|
2001-01-27 07:31:57 +08:00
|
|
|
2001-01-25 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* testsuite/21_strings/inserters_extractors.cc: Remove
|
|
|
|
explicit reference to 'testsuite/'.
|
2001-01-27 07:31:57 +08:00
|
|
|
|
2001-01-27 07:07:38 +08:00
|
|
|
2001-01-25 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
* config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
|
|
|
|
bits. Fixes Tru64 build issues.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-01-26 14:19:52 +08: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-26 06:39:29 +08:00
|
|
|
2001-01-25 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
2001-01-26 10:25:13 +08:00
|
|
|
* src/ios.cc: Remove accidental inclusion of <stdio.h> in last
|
|
|
|
checkin.
|
|
|
|
|
2001-01-26 06:39:29 +08: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 23:35:10 +08: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 12:09:22 +08: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
|
2001-04-03 07:40:01 +08:00
|
|
|
logic.
|
2001-01-25 12:09:22 +08:00
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
2001-01-25 03:19:26 +08: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 11:04:36 +08: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-24 04:58:23 +08: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-04-03 07:40:01 +08:00
|
|
|
|
2001-01-24 03:18:29 +08: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-24 01:02:28 +08: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>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* 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-24 01:02:28 +08:00
|
|
|
|
2001-01-23 10:48:27 +08: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 17:36:09 +08: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 13:09:08 +08: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 08:55:09 +08: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 10:52:27 +08:00
|
|
|
2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/17_intro: Prepare testcases for new style DejaGnu
|
2001-04-03 07:40:01 +08:00
|
|
|
framework.
|
2001-01-19 10:52:27 +08:00
|
|
|
|
2001-01-18 08:30:08 +08:00
|
|
|
2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
|
|
|
|
|
|
|
|
* testsuite/libstdc++.tests, testsuite/lib: New directories.
|
|
|
|
|
2001-01-18 15:24:16 +08:00
|
|
|
2001-01-17 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* 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.
|
2001-01-18 15:24:16 +08:00
|
|
|
|
|
|
|
* 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 16:30:25 +08:00
|
|
|
2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
|
|
|
* testsuite/27_io/istream_sentry.cc (test02): Fix.
|
|
|
|
|
2001-01-18 15:24:16 +08:00
|
|
|
2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
|
2001-01-17 15:44:57 +08:00
|
|
|
|
|
|
|
libstdc++/1605
|
|
|
|
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
|
|
|
|
* src/ios.cc (ios_base::failure): Make definitions match.
|
2001-04-03 07:40:01 +08:00
|
|
|
* 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.
|
2001-01-17 15:44:57 +08:00
|
|
|
|
|
|
|
* docs/html/17_intro/C++STYLE (classname): Fix.
|
2001-04-03 07:40:01 +08:00
|
|
|
|
2001-01-17 15:13:39 +08: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 17:45:03 +08: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 16:30:20 +08:00
|
|
|
2001-01-16 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
* libsupc++/exception_support.cc (__cp_pop_exception): Change
|
|
|
|
prototype.
|
|
|
|
|
2001-01-16 15:55:26 +08: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 15:58:40 +08:00
|
|
|
failbit if the state of the stream is not good.
|
2001-01-16 15:55:26 +08: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>
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
|
2001-01-16 15:55:26 +08:00
|
|
|
* 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.
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
reported by Larry Evans <jcampbell3@prodigy.net>
|
2001-01-16 15:55:26 +08:00
|
|
|
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
|
|
|
|
equality with eof on returned value from overflow.
|
|
|
|
|
2001-01-15 03:12:23 +08:00
|
|
|
2001-01-14 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
* libio/libio.h: Add test for glibc 2.0.
|
|
|
|
|
2001-01-13 05:24:15 +08:00
|
|
|
2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
|
2001-01-13 05:36:32 +08:00
|
|
|
* config/os/djgpp/bits/*: Fix dates.
|
2001-01-15 03:12:23 +08:00
|
|
|
|
2001-01-13 05:24:15 +08: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-13 03:39:07 +08: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-15 03:12:23 +08:00
|
|
|
* config/os/djgpp/bits/ctype_base.h,
|
|
|
|
config/os/djgpp/bits/ctype_inline.h,
|
2001-01-13 03:39:07 +08:00
|
|
|
config/os/djgpp/bits/ctype_noninline.h,
|
|
|
|
config/os/djgpp/bits/os_defines.h: new files.
|
|
|
|
|
2001-01-12 02:16:16 +08:00
|
|
|
2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
|
|
|
|
|
|
|
|
* include/c_std/bits/std_cstdio.h: Undef printf.
|
|
|
|
|
2001-01-11 15:27:50 +08: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-11 04:55:03 +08:00
|
|
|
2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/std_complex.h: Fix a typo.
|
2001-01-11 04:55:03 +08:00
|
|
|
|
2001-01-11 01:24:11 +08:00
|
|
|
2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
|
2001-04-03 07:40:01 +08:00
|
|
|
<kainz@ilm.com>
|
2001-01-11 01:24:11 +08:00
|
|
|
|
|
|
|
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 10:48:08 +08: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-11 01:24:11 +08:00
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* include/bits/std_complex.h: Fix a typo.
|
2001-01-10 10:30:57 +08:00
|
|
|
|
2001-01-11 01:24:11 +08:00
|
|
|
2001-01-09 Loren J. Rittle <ljrittle@acm.org>
|
2001-01-10 10:08:16 +08: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 15:42:45 +08:00
|
|
|
|
|
|
|
2001-01-09 Robert Lipe <robertlipe@usa.net>
|
|
|
|
|
|
|
|
* include/c_std/bits/std_ctime.h: Undefine difftime.
|
|
|
|
|
2001-01-09 11:01:56 +08: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 07:51:57 +08: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-15 03:12:23 +08:00
|
|
|
|
2001-01-09 01:53:52 +08: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-15 03:12:23 +08:00
|
|
|
|
2001-01-06 10:44:11 +08: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-15 03:12:23 +08:00
|
|
|
|
2001-01-06 10:44:11 +08:00
|
|
|
2001-01-04 Loren J. Rittle <ljrittle@acm.org>
|
|
|
|
|
2001-04-03 07:40:01 +08:00
|
|
|
* config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
|
|
|
|
systems that support it, call dup() before fdopen().
|
2001-01-06 10:44:11 +08:00
|
|
|
|
2001-01-04 12:21:42 +08: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 23:53:28 +08: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-15 03:12:23 +08:00
|
|
|
|
2001-01-03 23:53:28 +08: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 15:38:47 +08:00
|
|
|
2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
|
2001-01-15 03:12:23 +08:00
|
|
|
|
2001-01-02 15:38:47 +08: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 07:14:43 +08: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.
|