gcc/libstdc++-v3/config/locale
Benjamin Kosnik 4b9aaf6379 Audit for LANG independence.
2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

	Audit for LANG independence.
	* include/bits/localefwd.h: Tweaks.
	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
	Use __convert_to_v.
	(time_get::do_get_year): Same.
	(__convert_from_v): Add.
	(num_put::_M_convert_float): Use.
	(num_put::_M_convert_int): Same.
	(money_put::do_put): Same.

	* src/locale-inst.cc: Add instantiations for __convert_from_v.
	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
	* config/locale/time_members_generic.cc:
	* config/locale/messages_members_gnu.cc: Same.
	* config/locale/messages_members_gnu.h: Same.

	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/collate_members_char.cc (test02): New.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/ctype_members_char.cc (test03): New.
	* testsuite/22_locale/messages_members_char.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_get_members_char.cc (test04): New.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_put_members_char.cc (test04): New.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/time_put_members_char.cc (test03): New.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
	* testsuite/22_locale/time_get_members_char.cc (test07): New.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_get_members_char.cc (test03): New.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_put_members_char.cc (test03): New.

	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
	locale issues.
	* testsuite/22_locale/time_get_members_char.cc: Same.

2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5280
	* include/bits/localefwd.h: Tweak comments.
	* include/bits/locale_facets.h (__convert_to_v): Add.
	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
	(num_get::do_get(float)): Same.
	(num_get::do_get(long double)): Same.
	(num_get::do_get(bool)): Same.
	(num_get::do_get(long)): Same.
	(num_get::do_get(long long)): Same.
	(num_get::do_get(unsigned int)): Same.
	(num_get::do_get(unsigned short)): Same.
	(num_get::do_get(unsigned long)): Same.
	(num_get::do_get(unsigned long long)): Same.
	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
	* config/locale/c_locale_generic.cc: Same.

From-SVN: r49108
2002-01-22 23:09:04 +00:00
..
c_locale_generic.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
c_locale_generic.h Implement std::time_put. 2001-09-20 08:30:01 +00:00
c_locale_gnu.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
c_locale_gnu.h Named locale support for ctype<char>. 2001-12-12 23:16:35 +00:00
c_locale_ieee_1003.1-200x.cc Implement std::messages. 2001-08-08 02:49:01 +00:00
c_locale_ieee_1003.1-200x.h Implement std::messages. 2001-08-08 02:49:01 +00:00
codecvt_specializations_generic.h Implement std::messages. 2001-08-08 02:49:01 +00:00
codecvt_specializations_ieee_1003.1-200x.h 2001-10-26 Benjamin Kosnik <bkoz@redhat.com> 2001-10-26 07:21:56 +00:00
collate_members_generic.cc c_locale_gnu.cc: Move facet info to separate files... 2001-08-28 06:19:35 +00:00
collate_members_gnu.cc Clean up initialization and simplfy caching of underlying "C" locale objects. 2001-12-15 07:05:04 +00:00
ctype_members_generic.cc Clean up initialization and simplfy caching of underlying "C" locale objects. 2001-12-15 07:05:04 +00:00
ctype_members_gnu.cc Clean up initialization and simplfy caching of underlying "C" locale objects. 2001-12-15 07:05:04 +00:00
messages_members_generic.cc Implement std::messages. 2001-08-08 02:49:01 +00:00
messages_members_generic.h locale_facets.tcc (collate::do_transform): Adjust implicit typename. 2001-12-27 12:13:23 +00:00
messages_members_gnu.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
messages_members_gnu.h Audit for LANG independence. 2002-01-22 23:09:04 +00:00
messages_members_ieee_1003.1-200x.cc Implement std::messages. 2001-08-08 02:49:01 +00:00
messages_members_ieee_1003.1-200x.h locale_facets.tcc (collate::do_transform): Adjust implicit typename. 2001-12-27 12:13:23 +00:00
moneypunct_members_generic.cc 2001-09-10 Benjamin Kosnik <bkoz@redhat.com> 2001-09-10 20:14:15 +00:00
moneypunct_members_gnu.cc 2001-11-28 Benjamin Kosnik <bkoz@redhat.com> 2001-11-28 07:40:12 +00:00
numpunct_members_generic.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
numpunct_members_gnu.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_members_generic.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_members_gnu.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00