Christian Persch
51f1297a6e
Fixup docs comment
2012-02-27 16:25:50 +01:00
Emmanuele Bassi
550fcaddf7
Add versioned deprecation annotation
...
We start from GLib 2.26.
https://bugzilla.gnome.org/show_bug.cgi?id=670542
2012-02-27 00:00:06 -05:00
Christian Persch
48e01af6f1
unicode: Add new line break classes from Unicode 6.1.0
2012-02-26 21:24:07 -05:00
Christian Persch
fb574834c1
unicode: Add new scripts from Unicode 6.1.0
2012-02-26 21:24:07 -05:00
Matthias Clasen
042954de9f
Fix since tag
2011-12-10 21:49:10 -05:00
Philip Withnall
386bb0faad
unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH
...
Raised by Matthias in bgo#665685 but which I didn't spot until after pushing
commit 3ac7c35656
.
Renames G_UNICHAR_MAX_DECOMPOSITION_LEN to G_UNICHAR_MAX_DECOMPOSITION_LENGTH
and fixes a few documentation issues.
See: bgo#665685
2011-12-06 19:41:31 +00:00
Philip Withnall
3ac7c35656
Bug 665685 — Add a #define for the max length of a Unicode decomposition
...
Add G_UNICHAR_MAX_DECOMPOSITION_LEN for the maximum length of the
decomposition of a single Unicode character.
Closes: bgo#665685
2011-12-06 19:09:01 +00:00
Matthias Clasen
03766a1a38
Don't use G_DISABLE_DEPRECATED guards around deprecated functions
...
I'm leaving the old-style deprecation guards in place around
deprecated macros, enumeration values, etc, for now.
2011-11-03 00:04:15 -04:00
Matthias Clasen
6c1d768f7b
Also clean up includes
2011-10-16 18:43:22 -04:00
Matthias Clasen
d0bb1e0b0a
Move g_get_codeset next to g_get_charset
...
g_get_codeset is a close relatove to g_get_charset, and up to now
it lived a shadowy existence without any header presence.
2011-10-15 23:27:28 -04:00
Matthias Clasen
7455dd370e
Make single includes mandatory
...
This has been the official line since 2.17, which seems plenty
long enough for a transition phase.
2011-10-12 00:25:38 -04:00
Chun-wei Fan
08d6e1147d
Use GLIB_DEPRECATED instead of G_GNUC_DEPRECATED in our headers
...
This will let others opt out of seeing GLib deprecation warnings
by defining GLIB_DISABLE_DEPRECATION_WARNINGS.
https://bugzilla.gnome.org/show_bug.cgi?id=661438
2011-10-11 13:42:59 -04:00
Matthias Clasen
f9b29ca034
Add G_GNUC_DEPRECATED to deprecated APIs in glib
2011-10-08 23:16:01 -04:00
Ryan Lortie
3b25e975b3
gtk-doc fixups for glib/
2011-09-05 11:30:58 -04:00
Ryan Lortie
a14f2fa1a0
Rename a few arguments
...
To fix header/function/doc-string mismatches.
2011-07-22 15:47:24 +02:00
Ryan Lortie
668c399077
Add deprecation guard to G_UNICODE_COMBINING_MARK
...
...since it's deprecated now and documented as such.
2011-07-22 15:47:24 +02:00
Behdad Esfahbod
3af40c204d
Bug 655025 - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK
2011-07-21 10:33:00 -04:00
Behdad Esfahbod
9bcb3d7457
Add g_unicode_script_from_iso15924()
...
And adjust g_unicode_script_to_iso1592().
2011-07-20 22:12:03 -04:00
Behdad Esfahbod
7e03b28870
Bug 648271 - Add g_unicode_script_to_iso15924()
...
Add g_unicode_script_to_iso15924() and tests.
2011-07-20 19:13:19 -04:00
Matthias Clasen
9fd0f6c8e2
Fix doc formatting errors
2011-07-19 00:02:57 -04:00
Matthias Clasen
09e2d2a61c
Move Unicode docs inline, ditch template
2011-07-18 23:23:17 -04:00
Behdad Esfahbod
0584fe33de
Bug 654651 - Better g_unicode_canonical_decomposition()
...
Add g_unichar_fully_decompose().
Deprecate g_unicode_canonical_decomposition().
2011-07-18 18:12:35 -04:00
Behdad Esfahbod
7ad2f0eb80
Move declarations around
...
So g_unichar API comes before g_utf8.
2011-07-14 16:55:35 -04:00
Matthias Clasen
761a1841ee
Bug 654195 - Add g_unichar_compose() and g_unichar_decompose()
2011-07-14 16:55:34 -04:00
Matthias Clasen
9eb65dd3ed
Unicode: add a g_utf8_substring convenience api
...
This function is useful in the GTK+ accessibility implementations,
and seems like a nice thing to have around in general.
2011-06-23 21:31:40 -04:00
Ryan Lortie
8073759f8c
Remove all uses of G_CONST_RETURN
...
Just use 'const'.
https://bugzilla.gnome.org/show_bug.cgi?id=644611
2011-06-09 11:15:40 -04:00
Emmanuele Bassi
08f0a31289
Revert "Remove all uses of G_CONST_RETURN"
...
This reverts commit 36741245cc
.
The removal has not been discussed, except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
2011-03-15 09:03:28 +00:00
Ryan Lortie
36741245cc
Remove all uses of G_CONST_RETURN
...
Just use 'const'.
2011-03-15 01:32:22 -04:00
Behdad Esfahbod
0a57086540
Update to Unicode 6.0
...
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.
2011-01-21 16:30:19 -05:00
Matthias Clasen
b0b7aeffc0
Add Unicode 5.2 scripts
2010-06-20 01:14:55 -04:00
Michael Natterer
e0aa9d8a61
#define __GLIB_H_INSIDE__ around including everything.
...
2008-05-05 Michael Natterer <mitch@imendio.com >
* glib/glib.h: #define __GLIB_H_INSIDE__ around including
everything.
* glib/*.h: check for that define instead of __G_LIB_H__ if
G_DISABLE_SINGLE_INCLUDES is defined.
* glib/gdatasetprivate.h: #include <glib.h> instead of
<glib/gdataset.h>
svn path=/trunk/; revision=6875
2008-05-05 15:02:15 +00:00
Behdad Esfahbod
34d6446ec9
Add ISO 15924 code comments for new scripts.
...
2008-04-08 Behdad Esfahbod <behdad@gnome.org >
* glib/gunicode.h: Add ISO 15924 code comments for new scripts.
svn path=/trunk/; revision=6843
2008-04-08 21:31:25 +00:00
Matthias Clasen
db1594e164
Bug 491554 – Update to Unicode 5.1.0
...
* glib/gunichartables.h:
* glib/gunicode.h:
* glib/gunibreak.h:
* glib/gmirroringtable.h:
* glib/gscripttable.h:
* glib/gen-script-table.pl: Update to Unicode 5.1.0. Patch by
Behdad Esfahbod
svn path=/trunk/; revision=6834
2008-04-08 02:59:05 +00:00
Michael Natterer
f4bb21aa1d
make it possible to disable single-file includes by defining
...
2008-03-14 Michael Natterer <mitch@imendio.com >
* glib/*.h: make it possible to disable single-file includes by
defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
Approved by Tim Janik.
* glib/glib.h: include <glib/gslice.h>.
* glib/gi18n.h
* glib/gi18n-lib.h
* glib/gprintf.h: include <glib.h> so the above works when these
files are included without including <glib.h> first.
svn path=/trunk/; revision=6713
2008-03-14 19:30:38 +00:00
Matthias Clasen
ffe3717a3c
Forgotten file
...
svn path=/trunk/; revision=5646
2007-07-20 16:38:50 +00:00
Behdad Esfahbod
613b489b6b
Make g_unichar_combining_class() public. ( #453998 )
...
2007-07-19 Behdad Esfahbod <behdad@gnome.org >
* glib/glib.symbols:
* glib/gunicode.h:
* glib/gunicodeprivate.h:
* glib/gunidecomp.c (g_unichar_combining_class):
* glib/guniprop.c (has_more_above):
Make g_unichar_combining_class() public. (#453998 )
svn path=/trunk/; revision=5644
2007-07-19 13:46:05 +00:00
Behdad Esfahbod
ae2830688d
Add more G_GNUC_CONST and G_GNUC_PURE.
...
2007-06-12 Behdad Esfahbod <behdad@gnome.org >
* glib/gunicode.h: Add more G_GNUC_CONST and G_GNUC_PURE.
svn path=/trunk/; revision=5551
2007-06-12 04:58:07 +00:00
Behdad Esfahbod
3ed6b66e8f
svn path=/trunk/; revision=5482
...
2007-05-03 Behdad Esfahbod <behdad@gnome.org >
* configure.in:
* glib/glib.symbols:
* glib/gthread.h:
* glib/gunicode.h:
* glib/guniprop.c (g_unichar_ismark):
svn path=/trunk/; revision=5482
2007-05-03 23:42:05 +00:00
Behdad Esfahbod
a0c60a62d6
Add g_unichar_iszerowidth(). ( #347645 )
...
2007-01-03 Behdad Esfahbod <behdad@gnome.org >
* glib/glib.symbols:
* glib/gunicode.h:
* glib/guniprop.c: Add g_unichar_iszerowidth(). (#347645 )
svn path=/trunk/; revision=5202
2007-01-03 20:48:24 +00:00
Matthias Clasen
15df020ddd
Cast to const char *, not char *. ( #138153 , Nikolai Weibull)
...
2006-12-11 Matthias Clasen <mclasen@redhat.com >
* glib/gunicode.h (g_utf8_next_char): Cast to const char *,
not char *. (#138153 , Nikolai Weibull)
2006-12-11 14:17:14 +00:00
Matthias Clasen
68e78574db
Add Unicode script support
2006-10-09 04:23:58 +00:00
Matthias Clasen
8f05c1da81
Fix the pthread compiler flag detection.
...
2006-08-25 Matthias Clasen <mclasen@redhat.com >
* configure.in: Fix the pthread compiler flag detection.
* glib/gunicode.h:
* glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
from gconvert.c, move it to gutf8.c, and export it privately.
* glib/gconvert.c (g_filename_display_name): Adjust callers.
* glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
places to ensure error messages are valid UTF-8. (#351853 ,
Simon Budig)
2006-08-26 03:44:45 +00:00
Behdad Esfahbod
8f75a97285
docs/reference/glib/glib-sections.txt, Implement g_unichar_iswide_cjk().
...
2006-04-27 Behdad Esfahbod <behdad@gnome.org >
* docs/reference/glib/glib-sections.txt,
* glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
(#105626 )
2006-04-27 21:14:47 +00:00
Behdad Esfahbod
c83e2b3349
Updated to Unicode 4.1. There are five new GUnicodeBreakType types. That
...
2005-10-01 Behdad Esfahbod <behdad@gnome.org >
* docs/reference/glib/tmpl/unicode.sgml:
* glib/gen-unicode-tables.pl:
* glib/gunibreak.h:
* glib/gunichartables.h:
* glib/gunicode.h:
* tests/casefold.txt:
* tests/casemap.txt: Updated to Unicode 4.1. There are five new
GUnicodeBreakType types. That may break some applications, like
Pango <= 1.10.
2005-10-01 12:34:21 +00:00
Matthias Clasen
8c663934ca
Update the link to Unicode category values. ( #313369 , Behnam Esfahbod)
...
2005-08-15 Matthias Clasen <mclasen@redhat.com >
* glib/gunicode.h: Update the link to Unicode category
values. (#313369 , Behnam Esfahbod)
2005-08-15 18:49:11 +00:00
Matthias Clasen
e6cc98c9cd
New function to calculate collation keys which are more suitable for
...
2005-06-08 Matthias Clasen <mclasen@redhat.com >
* glib/glib.symbols:
* glib/gunicode.h:
* glib/gunicollate.c (g_utf8_collate_key_for_filename):
New function to calculate collation keys which are more
suitable for sorting filenames. (#172690 , Ole Laursen)
2005-06-08 05:22:05 +00:00
Matthias Clasen
379e87466d
Mark functions with G_GNUC_MALLOC when appropriate.
...
2004-11-28 Matthias Clasen <mclasen@redhat.com >
* glib/gconvert.h:
* glib/gkeyfile.h:
* glib/gmem.h:
* glib/gstrfuncs.h:
* glib/gunicode.h:
* glib/gutils.h: Mark functions with G_GNUC_MALLOC when appropriate.
* glib/glib.symbols: Add G_GNUC_MALLOC annotations.
* glib/gmacros.h (G_GNUC_MALLOC): Add a macro for
__attribute__((__malloc__)). (#61780 )
2004-11-28 19:12:04 +00:00
Noah Levitt
244a8e5a0a
Add g_unichar_get_mirror_char. ( #114749 )
...
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 )
2003-09-12 17:54:43 +00:00
Noah Levitt
05f99527eb
Update Unicode data to 4.0. ( #107974 )
...
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 )
2003-07-31 02:27:56 +00:00
Matthias Clasen
1bb885b3b2
New function to revert a utf8 string. Gone, replaced by g_utf8_strreverse.
...
* glib/gunicode.h:
* glib/gutf8.c (g_utf8_strreverse): New function to revert
a utf8 string.
* glib/gpattern.c (g_utf8_reverse): Gone, replaced by
g_utf8_strreverse. (#87725 )
2002-07-26 19:48:02 +00:00