src/hb-icu.cc


Log

Author Commit Date CI Message
Ebrahim Byagowi 70d36543 2018-03-30T05:00:28 Make atexit callbacks threadsafe (#930)
Behdad Esfahbod 93f7c165 2017-11-14T10:59:54 Revert "[glib/ucdn/icu/ft/ot] Make returned funcs inert" This reverts commit 5daf3bd4494cce6b4fb074533be9e99c4d9e0edd. If other atexit callbacks try to destruct the objects we destruct in atexit callbacks, bad things will happen. I'll come up with some other way to catch premature destruction of HB-owned objects. Fixes https://github.com/behdad/harfbuzz/issues/618
Behdad Esfahbod 5daf3bd4 2017-10-27T16:34:01 [glib/ucdn/icu/ft/ot] Make returned funcs inert Such that client cannot accidentally destroy them, even though that will be a bug in their code...
Behdad Esfahbod bfa7f37a 2017-10-27T16:03:51 Fix previous commit Oops.
Behdad Esfahbod 8864864b 2017-10-27T15:26:45 [glib/icu/ucdn] Make the funcs object allocated on demand
Behdad Esfahbod ce979454 2017-10-22T18:23:38 [icu] Fix error check
Fredrik Roubert 41b1984b 2017-10-17T15:06:31 Switch from ICU deprecated unorm_normalize to unorm2_normalize. (#569) The new unorm2_normalize has been public API since ICU 4.4, while the old unorm_normalize has been deprecated since ICU 56. Now, beginning with ICU 60, unorm_normalize will also be annotated U_DEPRECATED and trigger the compiler -Wdeprecated-declarations warning.
Behdad Esfahbod dbdbfe3d 2017-10-15T12:11:08 Use nullptr instead of NULL
Kal Conley 5f995db1 2016-02-26T00:36:17 Fix missing ICU #include Fix compile error in hb-icu.cc when ICU configured with U_NO_DEFAULT_INCLUDE_UTF_HEADERS=1
Chris Peterson d1897a98 2015-01-03T19:46:19 Fix hb_atomic_ptr_cmpexch -Wunused-value warnings
Behdad Esfahbod 90364843 2014-03-24T14:26:36 Start fleshing out builtin font functions
Behdad Esfahbod daf07318 2012-08-16T07:32:59 [ICU] Fix includes As reported by Steven Loomis, including uversion.h works everywhere.
Behdad Esfahbod 4ac4c6f2 2012-08-13T10:52:52 Fix ICU build with older ICUs
Behdad Esfahbod d5045a5f 2012-08-11T21:26:25 [ICU] Use new normalizer2 compose/decompose API It's considerably faster than the fallback implementation we had previously!
Behdad Esfahbod b1914b8b 2012-08-07T16:57:48 Fix warnings
Behdad Esfahbod 3a7e137a 2012-08-03T17:23:40 Dn't use gint
Behdad Esfahbod 21fdcee0 2012-08-01T16:23:44 Add hb_unicode_combining_class_t
Behdad Esfahbod 378d279b 2012-07-31T21:36:16 Implement Unicode compatibility decompositions Based on patch from Philip Withnall. https://bugs.freedesktop.org/show_bug.cgi?id=41095
Behdad Esfahbod a18280a8 2012-06-07T15:44:12 Fix warnings produced by clang analyzer
Behdad Esfahbod 0594a244 2012-06-05T20:35:40 Cleanup TRUE/FALSE vs true/false
Behdad Esfahbod be4560a3 2012-06-05T18:14:03 Undo default unicode-funcs to avoid static initializer again
Behdad Esfahbod f06ab8a4 2012-06-05T12:31:51 Better hide nil objects and make them const
Behdad Esfahbod 889caa52 2012-01-18T22:32:52 [icu] Use U_FAILURE
Behdad Esfahbod 36a4f4a4 2012-01-18T22:16:49 Replace u_strlen() with u_countChar32() The latter is what I meant.
Behdad Esfahbod 299ae0c3 2012-01-14T21:29:45 [icu] Remove glib-ism
Behdad Esfahbod 4c9fe88d 2011-08-26T09:18:53 [API] Make all _from_string() functions take a len parameter Can be -1 for NUL-terminated string. This is useful for passing parts of a larger string to a function without having to copy or modify the string first. Affected functions: hb_tag_t hb_tag_from_string() hb_direction_from_string() hb_language_from_string() hb_script_from_string()
Behdad Esfahbod c605bbbb 2011-08-04T20:00:53 Remove C++ guards from source files Where causing issues for people with MSVC.
Behdad Esfahbod 63c0ef4a 2011-07-21T20:58:42 Fix decompose() implementations to work with non-starter non-composables Add tests.
Behdad Esfahbod 5157e12a 2011-07-21T00:12:33 Rename HB_UNICODE_GENERAL_CATEGORY_COMBINING_MARK to HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK Spacing_Mark is the current Unicode long-name for this property value. The previous name was wrongly carried from glib.
Behdad Esfahbod 498e1a9b 2011-07-20T23:19:49 [icu] Implement compose()/decompose()
Behdad Esfahbod fca0923b 2011-07-20T22:16:13 Minor
Behdad Esfahbod c4641723 2011-07-07T23:47:19 [API] Add compose() and decompose() unicode funcs, rename other ones Add compose() and decompose() unicode funcs. These implement pair-wise canonical composition/decomposition. The glib/icu implementations are lacking for now. We are adding API for this to glib, but I cannot find any useful API in ICU. May end of implementing these in-house. Changed all unicode_funcs callback names to remove the "_get" part. Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t, and hb_unicode_get_script() is hb_unicode_script() now.
Behdad Esfahbod b9452bfc 2011-06-14T14:47:07 Fix compiler warnings with -pedantic
Behdad Esfahbod 03034acb 2011-05-02T12:37:45 [icu] Make sure we return script UNKNOWN instead of INVALID
Behdad Esfahbod d4bee9f8 2011-04-27T09:24:37 [API] Add hb_unicode_funcs_get_default()
Behdad Esfahbod fca368c4 2011-04-21T18:24:02 Add hb_object_header_t which is the common part of all objects Makes way for adding arbitrary user_data support.
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod 4d559cdd 2011-04-21T14:58:23 [icu] Remove big script switch(), rely on reverse-lookup
Behdad Esfahbod c57d454a 2011-04-20T18:50:27 Rename all private sources and headers to C++ files So we can liberally use the simple features of C++ that parts of the codebase is already using.
Behdad Esfahbod f144a8ea 2011-04-20T02:54:42 [icu] Add two-way script conversion functions Also optimizes the common-direction script lookup.
Behdad Esfahbod 5c8c1b68 2011-04-20T02:29:22 Remove verbose comments
Behdad Esfahbod fb194b87 2011-04-20T02:00:47 unicode: Cleanup implementation