newlib-cygwin/newlib/libc/locale
Corinna Vinschen fe57329f99 * libc/locale/lmonetary.c (__monetary_load_locale): Take additional
parameters for wide char to multibyte conversion.  Call
	__set_lc_monetary_from_win on Cygwin.
	* libc/locale/lmonetary.h: Make C++-safe.
	(__monetary_load_locale): Change declaration.
	* libc/locale/lnumeric.c (__numeric_load_locale): Take additional
	parameters for wide char to multibyte conversion.  Call
	__set_lc_numeric_from_win on Cygwin.
	* libc/locale/lnumeric.h: Make C++-safe.
	(__numeric_load_locale): Change declaration.
	* libc/locale/locale.c (lconv): De-constify for Cygwin.
	(__set_charset_from_locale): Rename from
	__set_charset_from_codepage.  Take locale as parameter instead of
	a codepage.
	(loadlocale): Allow "EUC-JP" for "EUCJP" and "EUC-KR" for "EUCKR".
	Change documnetation accordingly.  Enable LC_COLLATE, LC_MONETARY,
	LC_NUMERIC, and LC_TIME handling on Cygwin.
	(_localeconv_r): On Cygwin, copy values from monetary and numeric
	domain if change has been noted.
	* libc/locale/nl_langinfo.c (nl_langinfo): Accommodate change of
	am/pm layout in struct lc_time_T.
	* libc/locale/timelocal.c (_C_time_locale): Accommodate
	redefinition of am/pm members.
	(__time_load_locale): Take additional parameters for wide char
	to multibyte conversion.  Call __set_lc_time_from_win on Cygwin.
	* libc/locale/timelocal.h: Make C++-safe.
	(struct lc_time_T): Convert am and pm to a am_pm array for easier
	consumption by strftime and strptime.
	(__time_load_locale): Change declaration.
	* libc/time/strftime.c: Change documentation to reflect changes to
	strftime.  Remove locale constant strings in favor of access to
	locale-specifc data.
	(_ctloc): Define access method for locale-specifc data.
	(TOLOWER): Define for tolower conversion.
	(strftime): Throughout, convert locale-specific formats to use
	locale-specific data.  Add GNU-specific "%P" format.
	* libc/time/strptime.c: Remove locale constant strings in favor of
	access to locale-specifc data.
	(_ctloc): Define access method for locale-specifc data.
	(strptime): Throughout, convert locale-specific formats to use
	locale-specific data.
2010-01-22 13:03:42 +00:00
..
Makefile.am 2006-05-01 Jeff Johnston <jjohnstn@redhat.com> 2006-05-01 22:01:07 +00:00
Makefile.in 2009-10-20 Jeff Johnston <jjohnstn@redhat.com> 2009-10-20 22:44:28 +00:00
fix_grouping.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
ldpart.c 2008-11-24 Craig Howland <howland@LGSInnovations.com> 2008-11-24 21:27:33 +00:00
ldpart.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
lmessages.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
lmessages.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
lmonetary.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
lmonetary.h * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
lnumeric.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
lnumeric.h * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
locale.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
locale.tex 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
nl_langinfo.3 * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
nl_langinfo.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
setlocale.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
timelocal.c * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00
timelocal.h * libc/locale/lmonetary.c (__monetary_load_locale): Take additional 2010-01-22 13:03:42 +00:00