summaryrefslogtreecommitdiff
path: root/glib/gen-unicode-tables.pl
Commit message (Collapse)AuthorAgeFilesLines
* Size compose_table correctly. (#123421, Simon Josefsson)Noah Levitt2004-01-301-5/+7
| | | | | | | | | | | | 2004-01-30 Noah Levitt <nlevitt@columbia.edu> * glib/gunicomp.h: * glib/gunidecomp.c: * glib/gen-unicode-tables.pl: Size compose_table correctly. (#123421, Simon Josefsson) * glib/gen-unicode-tables.pl: Get rid of some new warnings from perl 5.8.1.
* Take a directory where to look for the unicode files on the command lineNoah Levitt2003-09-121-13/+33
| | | | | | | 2003-09-12 Noah Levitt <nlevitt@columbia.edu> * glib/gen-unicode-tables.pl: Take a directory where to look for the unicode files on the command line instead of 7 individual files.
* Add g_unichar_get_mirror_char. (#114749)Noah Levitt2003-09-121-2/+34
| | | | | | | | | 2003-09-12 Noah Levitt <nlevitt@columbia.edu> * glib/gen-unicode-tables.pl: * glib/gunichartables.h: * glib/gunicode.h: * glib/guniprop.c: Add g_unichar_get_mirror_char. (#114749)
* Update Unicode data to 4.0. (#107974)Noah Levitt2003-07-311-103/+210
| | | | | | | | | | | | | | | | | | 2003-07-30 Noah Levitt <nlevitt@columbia.edu> * glib/gen-unicode-tables.pl: * glib/gunibreak.c: * glib/gunibreak.h: * glib/gunichartables.h: * glib/gunicode.h: * glib/gunicomp.h: * glib/gunidecomp.c: * glib/gunidecomp.h: * glib/guniprop.c: * tests/casefold.txt: * tests/casemap.txt: * tests/gen-casefold-txt.pl: * tests/gen-casemap-txt.pl: Update Unicode data to 4.0. (#107974)
* Avoid literal UTF-8. (Allow it to build with IRIX cc, #72757, Tomas Ogren)Owen Taylor2002-12-061-0/+2
| | | | | | | | | | | | | | | | | | Fri Dec 6 14:34:42 2002 Owen Taylor <otaylor@redhat.com> Avoid literal UTF-8. (Allow it to build with IRIX cc, #72757, Tomas Ogren) * tests/patterntest.c (main): Convert literal iso-8859-1 high bit characters in tests to string escapes. * glib/gunichartable.h glib/gen-unicode-tables.pl: Use hex \xMN escapes rather than literal UTF-8 for casefold tables. * configure.in: AC_PREREQ(2.53). needed for recent GLIB_SIZEOF() changes.
* glib/gconvert.c glib/gen-unicode-tables.pl fixed cast/type problems toErwann Chenede2002-03-131-1/+1
| | | | | | | | | | | | 2002-03-13 Erwann Chenede <erwann.chenede@sun.com> * glib/gconvert.c * glib/gen-unicode-tables.pl * glib/gunidecomp.h : fixed cast/type problems to avoid warnings (with forte compiler) * gobject/gclosure.c * gobject/gobject.c * gobject/gsignal.c: fixed cast problems with function pointer to avoid warnings (with forte compiler) (#73898)
* Patch from Andrew Taylor to optimize the decomposition table to eliminateOwen Taylor2001-11-211-6/+15
| | | | | | | Tue Nov 20 20:54:25 2001 Owen Taylor <otaylor@redhat.com> * glib/gunidecomp.[ch] glib/gen-unicode-tables.pl: Patch from Andrew Taylor to optimize the decomposition table to eliminate relocations and save space. (#64982)
* Patch from Andrew Taylor to improve tables and reduce relocations by usingOwen Taylor2001-11-141-33/+48
| | | | | | | | | | | | | Tue Nov 13 21:25:35 2001 Owen Taylor <otaylor@redhat.com> * glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h, gunichartables.h, gunicomp.h, gunidecomp.[ch], guniprop.c}: Patch from Andrew Taylor to improve tables and reduce relocations by using indices rather than pointers. (#64433) * tests/unicode-normalize.c (main): Fix for changes to g_strsplit().
* Patch from Andrew Taylor to make much of the unicode table data const soOwen Taylor2001-09-261-13/+13
| | | | | | | | | | Wed Sep 26 14:37:52 2001 Owen Taylor <otaylor@redhat.com> * glib/gen-unicode-tables.pl glib/guniprop.c glib/{gunibreak,gunichartables,gunidecomp}.h: Patch from Andrew Taylor to make much of the unicode table data const so that it can be made read-only and shared.
* Fix some variables that should have been static.Owen Taylor2001-09-021-5/+5
| | | | | | | | Sun Sep 2 11:10:42 2001 Owen Taylor <otaylor@redhat.com> * glib/gen-unicode-tables.pl glib/gunicomp.h glib/gunichartables.h glib/giounix.c: Fix some variables that should have been static.
* Use G_N_ELEMENTS rather than a custom macro.Owen Taylor2001-07-021-53/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Jul 1 20:16:25 2001 Owen Taylor <otaylor@redhat.com> * glib/guniprop.c (g_unichar_totitle): Use G_N_ELEMENTS rather than a custom macro. * glib/gen-unicode-tables.pl: Adapt to changes in table formats for Unicode 3.1 * glib/gunicode.h glib/guniprop.c glib/gunichartables.h glib/gen-unicode-tables.pl: Add case conversion functions g_utf8_casefold, g_utf8_strup, g_utf8_strdown. * tests/unicode-caseconv.c tests/gen-casefold-txt.pl tests/gen-casemap-txt.pl tests/casefold.txt tests/casemap.txt: Test cases for case conversion. * glib/gunicode.h glib/gunidecomp.[ch] glib/gunicomp.h glib/gen-unicode-tables.pl: Add function to do Unicode normalization g_utf8_normalize(). * tests/unicode-normalize.c: Test program for case conversion. * glib/gunicode.h glib/gunicollate.c: Add collation functions g_utf8_collate, g_utf8_collate_key. * test/unicode-collate.c: Test program for collation. * glib/gdate.c (g_date_fill_parse_tokens): Fix uninitialized variable. * glib/gdate.c (g_date_strftime) docs/Changes-2.0.txt: Make work with UTF-8 even if the locale isn't UTF-8 based. Still somewhat of broken, if the format string contains characters not representable in the current locale, will warn and not work. * glib/gdate.c: Use UTF-8 normalization and casefolding.
* s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/Havoc Pennington2000-11-291-0/+609
2000-11-29 Havoc Pennington <hp@redhat.com> * gunidecomp.c (COMBINING_CLASS): s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ * gunichartables.h: Update for data in Unicode 3.0.1, and include tables for line break properties * gunidecomp.h: Ditto * gunicode.h (GUnicodeBreakType): Enum for line break properties (g_unichar_break_type): Get the break property for a char * gunibreak.h: Autogenerated line break property tables * gunibreak.c (g_unichar_break_type): added * Makefile.am (EXTRA_DIST): dist gen-unicode-tables.pl * Makefile.am (libglib_1_3_la_SOURCES): Add gunibreak.h, gunibreak.c * gen-unicode-tables.pl: Include the script to update the unicode char tables