gcc/libstdc++-v3/include/bits
Benjamin Kosnik 33590f13b2 Implement std::messages.
2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>

	Implement std::messages.
	Make config a fully-nested directory.
	* config/locale: New directory.
	* config/c_locale_generic.cc: Move into locale subdirectory.
	* config/c_locale_generic.h: Same.
	* config/c_locale_gnu.cc: Same.
	* config/c_locale_gnu.h: Same.
	* config/c_locale_ieee_1003.1-200x.cc: Same.
	* config/c_locale_ieee_1003.1-200x_.h: Same.
	* config/codecvt_specializations_generic.h: Same.
	* config/codecvt_specializations_ieee_1003.1-200x.h: Same.
	* config/messages_members_gnu.h: Same.
	* config/messaages_members_gnu.cc: Same.
	* config/messages_members_generic.h: Same.
	* config/messaages_members_generic.cc: Same.
	* config/messages_members_ieee_1003.1-200x.h: Same.
	* config/messaages_members_ieee_1003.1-200x.cc: Same.
	* config/io: New directory.
	* config/basic_file_libio.h: Move into io subdirectory.
	* config/basic_file_libio.cc: Same.
	* config/c_io_libio.h: Same.
	* config/c_io_libio_codecvt.c: Same.
	* config/basic_file_stdio.h: Same.
	* config/basic_file_stdio.cc: Same.
	* config/c_io_stdio.h: Same.

	* po: New directory.
	* po/POTFILES.in: New file.
	* po/Makefile.am: New file.
	* po/Makefile.in: New file.
	* po/libstdc++.pot: Generic translation file.
	* po/fr.po: Preliminary French translation.
	* po/de.po: Preliminary German translation.
	* intl: New directory.
	* intl/Makefile.am: New file.
	* intl/Makefile.in: New file.
	* intl/string_literals.cc: New file.
	* acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
	requisite setup for gettext. Re-arrange.
	* aclocal.m4: Regenerate.
	* configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
	Output Makefile bits for po and intl.
	* configure: Regenerate.
	* Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
	* Makefile.in: Regenerate.
	* acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
	* config.h.in: Regenerate.

	* acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.

	* include/Makefile.am (install-data-local): Don't install Makefile.
	* include/Makefile.in: Regenerate.

	* include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
	Add member.
	* config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
	* config/locale/c_locale_generic.cc: Same.
	* config/locale/c_locale_ieee_1003.1-200x.cc: Same.

	* include/bits/codecvt.h: Excise non-standard, non-required
	bits. This includes __enc_traits, and partial specializations of
	codecvt for __enc_traits.
	* src/codecvt.cc (__enc_traits::_S_max_size): Guard
	* config/codecvt_partials_ieee_1003.1-200x.h: New file.
	* config/codecvt_partials_generic.h: New file.
	* include/Makefile.am (allstamps): Add stamp-codecvt_model.
	(stamp-codecvt_model): Add.
	* include/Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
	* testsuite/22_locale/codecvt_unicode_char.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: And here.

	* include/bits/localefwd.h (class locale::facet): Add __enc_traits
	as a friend for _S_*_c_locale functions.
	* include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
	argument to default constructor so that CODESET information can be
	deduced.
	* include/bits/locale_facets.h (messages_byname):
	Re-implement. Remove specializations.
	* src/locale.cc (messages_byname<char>): Remove specialization.
	(messages_byname<wchar_t>): Same.
	* config/locale/c_locale_ieee_1003.1-200x.cc: New file.
	* config/locale/c_locale_ieee_1003.1-200x.h: New file.
	* config/locale/messages_members_ieee_1003.1-200x.cc: New file.
	* config/locale/messages_members_ieee_1003.1-200x.h: New file.
	* config/locale/messages_members_gnu.cc: New file.
	* config/locale/messages_members_gnu.h: New file.
	* config/locale/messages_members_generic.cc: New file.
	* config/locale/messages_members_generic.h: New file.

	* docs/html/configopts.html: Add documentation for new locale
	model, ieee_1003.1. Adjust other flags for current defaults.
	* docs/html/22_locale/locale.html: Update.
	* docs/html/22_locale/howto.html: Add link to messages.html. Organize.
	* docs/html/22_locale/messages.html: New.

	* src/Makefile.am (sources): Add messages_virtuals.cc.
	* src/Makefile.in: Regenerate.
	* include/Makefile.am (allstamps): Add stamp-messages_model.
	(stamp-messages_model): Add.
	* include/Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* testsuite_flags.in (--cxxflags): Add LOCALEDIR.
	* testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
	bits for Irix.
	* acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
	build directories message catalog base directory, and export.
	Eventually this should probably be made to deal with build and
	install directories. For now, punt on this as the library itself
	doesn't use message catalogs (yet).
	* testsuite/22_locale/messages.cc: New file.
	* testsuite/22_locale/messages_char_members.cc: New file.
	* testsuite/22_locale/messages_byname.cc: New file.

From-SVN: r44702
2001-08-08 02:49:01 +00:00
..
basic_file.h porting.texi: Add documentation about libstdc++-v3-specific macros that are currently... 2001-06-12 23:09:09 +00:00
basic_ios.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
basic_ios.tcc basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
basic_string.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
basic_string.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
boost_concept_check.h boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member. 2001-04-14 09:46:13 +00:00
c++config Daily bump. 2001-08-07 07:16:13 +00:00
char_traits.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
codecvt.h Implement std::messages. 2001-08-08 02:49:01 +00:00
concept_check.h map_operators.cc: Add dg-excess-errors. 2001-04-18 01:06:05 +00:00
cpp_type_traits.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
fpos.h fpos.h (fpos::operator-): Don't return reference, return original, non-modified version. 2001-06-13 01:14:42 +00:00
fstream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
functexcept.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
generic_shadow.h include: New directory. 2000-10-05 11:27:02 +00:00
gslice_array.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
gslice.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
indirect_array.h indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public. 2001-06-21 12:01:09 +00:00
ios_base.h basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
istream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
limits_generic.h limits_generic.h (int): Set digits and digits10 appropriately for word size. 2001-07-23 12:41:03 -04:00
locale_facets.h Implement std::messages. 2001-08-08 02:49:01 +00:00
locale_facets.tcc localefwd.h: Format. 2001-07-04 02:39:02 +00:00
localefwd.h Implement std::messages. 2001-08-08 02:49:01 +00:00
mask_array.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
ostream.tcc ostream.tcc (ostream::put): Fixed error condition check. 2001-07-18 17:58:37 +00:00
pthread_allocimpl.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
slice_array.h slice_array_assignment.cc (main): New test. 2001-06-13 22:16:24 +00:00
slice.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
sstream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
std_algorithm.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_bitset.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_complex.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_deque.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_fstream.h threads-no.h: Remove file. 2001-06-08 03:53:35 +00:00
std_functional.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_iomanip.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_ios.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_iosfwd.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
std_iostream.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_istream.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
std_iterator.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_list.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_locale.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_map.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_memory.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_numeric.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_ostream.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_queue.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_set.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_sstream.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
std_stack.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_stdexcept.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
std_streambuf.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_string.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
std_utility.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_valarray.h std_valarray.h (valarray<>::operator[] const): Return a const reference. 2001-05-18 05:47:46 +00:00
std_vector.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_algo.h stl_algo.h: Fix typos. 2001-07-20 01:17:13 +00:00
stl_algobase.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_alloc.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_bvector.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_construct.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_deque.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_function.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_heap.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator_base_funcs.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator_base_types.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
stl_list.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_map.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_multimap.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_multiset.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_numeric.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_pair.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
stl_pthread_alloc.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_queue.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_raw_storage_iter.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_relops.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_set.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_stack.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_tempbuf.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_threads.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_tree.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_uninitialized.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_vector.h stl_vector.h (vector::_M_initialize_aux): Fix typo. 2001-07-06 12:28:48 +00:00
stream_iterator.h stream_iterator.h (istream_iterator): Add copy ctor. 2001-06-26 23:12:45 +00:00
streambuf_iterator.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
streambuf.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
stringfwd.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
type_traits.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
valarray_array.h indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public. 2001-06-21 12:01:09 +00:00
valarray_array.tcc include: New directory. 2000-10-05 11:27:02 +00:00
valarray_meta.h valarray_meta.h (_Expr::operator+): Use qualified id for _Expr template template argument. 2001-07-09 12:21:56 +00:00