diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-05-15 11:40:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-05-15 11:40:28 +0000 |
commit | 098a75dc51caa98f369d98a9809d773bc45329aa (patch) | |
tree | a441415fa099d4397975c99da216e6c928f67055 /newlib/ChangeLog | |
parent | 73535010d72d1a7d46e4f5c6c98f41fab90df489 (diff) | |
download | cygnal-098a75dc51caa98f369d98a9809d773bc45329aa.tar.gz cygnal-098a75dc51caa98f369d98a9809d773bc45329aa.tar.bz2 cygnal-098a75dc51caa98f369d98a9809d773bc45329aa.zip |
* libc/string/local.h: New file.
* libc/string/wcswidth.c (wcswidth): Convert japanese wide
characters to Unicode here. Handle surrogate pairs for UTF-16
systems. Call __wcwidth rather than wcwidth.
* libc/string/wcwidth.c: New implementation using Markus Kuhn's
wcwidth implementation for Unicode.
(bisearch): New static function.
(__wcwidth): New function. Take wint_t rather than wchar_t as
parameter to allow full Unicode handling on UTF-16 systems.
Move old wcwidth implementation here for non-multibyte aware
systems.
(wcwidth): Convert japanese wide characters to Unicode here.
Call __wcwidth rather than using iswprint/iswcntrl.
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r-- | newlib/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 642ecec61..df9847083 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,19 @@ +2009-05-15 Corinna Vinschen <corinna@vinschen.de> + + * libc/string/local.h: New file. + * libc/string/wcswidth.c (wcswidth): Convert japanese wide + characters to Unicode here. Handle surrogate pairs for UTF-16 + systems. Call __wcwidth rather than wcwidth. + * libc/string/wcwidth.c: New implementation using Markus Kuhn's + wcwidth implementation for Unicode. + (bisearch): New static function. + (__wcwidth): New function. Take wint_t rather than wchar_t as + parameter to allow full Unicode handling on UTF-16 systems. + Move old wcwidth implementation here for non-multibyte aware + systems. + (wcwidth): Convert japanese wide characters to Unicode here. + Call __wcwidth rather than using iswprint/iswcntrl. + 2009-05-14 Corinna Vinschen <corinna@vinschen.de> * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition |