newlib/newlib/libc/ctype
Corinna Vinschen 4bc42c05aa * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
source files.  Add a dependency rule for ctype_o to note
	changes in ctype_iso.h and ctype_cp.h.
	* libc/ctype/Makefile.in: Regenerate.
	* libc/ctype/_tolower.c: Remove file.
	* libc/ctype/_toupper.c: Remove file.
	* libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
	is always defined on Cygwin.
	(_ctype_b): Don't make `static const' on Cygwin.
	(ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
	(ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
	(__ctype_ptr): Drop definition.
	(__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
	(_ctype_): Add Cygwin-specifc asm define.
	(__set_ctype): New function to set __ctype_ptr__ according to
	current charset.
	* libc/ctype/ctype_cp.h: New file containing Windows codepage
	specific character class tables.
	* libc/ctype/ctype_iso.h: New file containing ISO-8859-x
	specific character class tables.
	* libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
	charset if one of the extended charsets is enabled.
	* libc/ctype/toupper.c (toupper): Ditto.
	* libc/include/ctype.h (_tolower): Define as macro per POSIX.
	(_toupper): Ditto.
	(__ctype_ptr__): De-constify.
	(toupper): Disable macro on systems supporting extended charsets.
	(tolower): Ditto.
	* libc/include/sys/config.h (__EXPORT): Define empty if not defined.
	* libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
	(__set_ctype): Declare unconditionally.
	(loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
2009-03-31 09:31:38 +00:00
..
Makefile.am * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
Makefile.in * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
ctype.tex 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
ctype_.c * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
ctype_cp.h * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
ctype_iso.h * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
isalnum.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isalpha.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isascii.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
isblank.c * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character. 2009-03-26 09:45:11 +00:00
iscntrl.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isdigit.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
islower.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isprint.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
ispunct.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isspace.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
isupper.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
iswalnum.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
iswalpha.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswblank.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswcntrl.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswctype.c 2004-01-08 Joel Sherrill <joel@oarcorp.com> 2004-01-08 19:33:13 +00:00
iswdigit.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
iswgraph.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
iswlower.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
iswprint.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswpunct.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswspace.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
iswupper.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
iswxdigit.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
isxdigit.c 2008-07-21 Jeff Johnston <jjohnstn@redhat.com> 2008-07-21 21:28:34 +00:00
jp2uc.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
jp2uc.h 2002-09-27 Jeff Johnston <jjohnstn@redhat.com> 2002-09-27 20:17:52 +00:00
local.h * libc/locale/locale.c (_setlocale_r): New implementation based on 2009-03-03 09:28:45 +00:00
toascii.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
tolower.c * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
toupper.c * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c 2009-03-31 09:31:38 +00:00
towctrans.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
towlower.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
towupper.c * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on 2009-03-24 10:13:27 +00:00
utf8alpha.h 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00
utf8print.h 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00
utf8punct.h 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00
wctrans.c 2002-09-20 Jeff Johnston <jjohnstn@redhat.com> 2002-09-20 20:13:11 +00:00
wctype.c * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as 2003-09-05 02:21:41 +00:00