summaryrefslogtreecommitdiff
path: root/glib/gunicomp.h
Commit message (Collapse)AuthorAgeFilesLines
* unicode: Avoid adding trailing spaces to tables definitionsMarco Trevisan (TreviƱo)2022-09-151-238/+238
|
* glib: Update Unicode Character Database to version 13.0.0Philip Withnall2020-03-181-26/+44
| | | | | | | | | | | | | | | | | | | Using commands: ``` glib/gen-unicode-tables.pl -both 13.0.0 path/to/UCD tests/gen-casefold-txt.py 13.0.0 path/to/UCD/CaseFolding.txt \ > tests/casefold.txt tests/gen-casemap-txt.py 13.0.0 path/to/UCD/UnicodeData.txt \ path/to/UCD/SpecialCasing.txt > tests/casemap.txt ``` Using UCD release https://www.unicode.org/Public/zipped/13.0.0/UCD.zip With some manual additions to `GUnicodeScript` for the 4 new scripts added in 13.0, using the first assigned character in each block in `glib/tests/unicode.c`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* unicode: Update to unicode 7.0.0Christian Persch2014-06-281-101/+153
| | | | See bug https://bugzilla.gnome.org/show_bug.cgi?id=731929.
* unicode: Update to unicode 6.2.0 betaChristian Persch2012-10-031-23/+39
|
* Update to Unicode 6.0Behdad Esfahbod2011-01-211-24/+264
| | | | | | | One new GUnicodeBreak enum member. Three new GUnicodeScript members, and one member renamed to fix a typo. Tests, docs, and scripts are updated. PCRE update still needed.
* Update to final Unicode Character Database 5.0.0. (#336281)Behdad Esfahbod2006-07-191-65/+89
| | | | | | | | | | 2006-07-19 Behdad Esfahbod <behdad@gnome.org> * glib/gunibreak.h: * glib/gunichartables.h: * glib/gunicomp.h: * glib/gunidecomp.h: Update to final Unicode Character Database 5.0.0. (#336281)
* Size compose_table correctly. (#123421, Simon Josefsson)Noah Levitt2004-01-301-1/+3
| | | | | | | | | | | | 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.
* Update Unicode data to 4.0. (#107974)Noah Levitt2003-07-311-5/+5
| | | | | | | | | | | | | | | | | | 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)
* Patch from Andrew Taylor to improve tables and reduce relocations by usingOwen Taylor2001-11-141-278/+267
| | | | | | | | | | | | | 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-20/+20
| | | | | | | | | | 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-3/+3
| | | | | | | | 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-0/+667
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.