test/api


Log

Author Commit Date CI Message
Behdad Esfahbod 976c8f45 2014-07-16T15:34:20 New API: hb_buffer_[sg]et_replacement_codepoint() With this change, we now by default replace broken UTF-8/16/32 bits with U+FFFD. This can be changed by calling new API on the buffer. Previously the replacement value used to be (hb_codepoint_t)-1. Note that hb_buffer_clear_contents() does NOT reset the replacement character. See discussion here: https://github.com/behdad/harfbuzz/commit/6f13b6d62daae4989e3cc2fe4b168e5c59650964 New API: hb_buffer_set_replacement_codepoint() hb_buffer_get_replacement_codepoint()
Behdad Esfahbod e634fed4 2014-07-16T14:17:26 [buffer] Validate UTF-32 input Same as what we do for UTF-8 and UTF-16.
Behdad Esfahbod af2490c0 2014-07-11T16:10:58 Only accept well-formed UTF-8 sequences Enable tests that were disabled before, and adjust one test, and add more tests.
Behdad Esfahbod 24b2ba9d 2014-07-10T19:31:16 [test-buffer] Add test for lonely low-surrogate Currenty fails. Ouch!
Behdad Esfahbod 6334495a 2014-07-10T19:22:07 Use zh-Hans / zh-Hant when converting OT language tag to hb_language_t
Behdad Esfahbod f381e320 2014-07-10T19:20:35 Fix lang matching logic Previous code was broken logically, but harmless.
Behdad Esfahbod ee5350d6 2014-07-10T19:06:45 Accept BCP 47 zh-Hans / zh-Hant language tags
Behdad Esfahbod 2b051c60 2014-06-20T14:09:57 Rename HB_VERSION_CHECK and hb_version_check to "atleast" HB_VERSION_CHECK's comparison was originally written wrongly by mistake. When API tests were written, they were also written wrongly to pass given the wrong implementation... Sigh. Given the purpose of this API, there's no point in fixing it without renaming it. As such, rename. API changes: HB_VERSION_CHECK -> HB_VERSION_ATLEAST hb_version_check -> hb_version_atleast
Luis de Bethencourt 1eacde00 2014-02-06T23:20:47 check hb_set_is_emtpy in test-set.c
Behdad Esfahbod c77d1ade 2013-10-27T23:52:26 Fix warnings
Behdad Esfahbod 20cbc1f8 2013-09-06T15:29:22 Annotate hb-set a bit; add HB_SET_VALUE_INVALID
Behdad Esfahbod 4dc798de 2013-08-26T20:39:00 Add hb-deprecated.h, and rename a couple enum values Add deprecated alias for old name.
Behdad Esfahbod 54e6f6c5 2013-08-09T14:34:54 Clean up list of Unicode scripts Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS and a macro for the old name.
Behdad Esfahbod 7235f33f 2013-06-10T14:39:51 Fix misc warnings reported by cppcheck https://bugs.freedesktop.org/show_bug.cgi?id=65544
Behdad Esfahbod a4446b10 2013-06-03T18:39:14 Fix build for C89 compilers
Behdad Esfahbod 2966d360 2013-05-28T17:34:37 Fix test build
Behdad Esfahbod d9afa111 2013-05-28T15:27:40 Build hb-icu into libharfbuzz-icu.so
Behdad Esfahbod 7d395c2a 2013-05-28T15:25:06 Minor
Behdad Esfahbod dfbd115e 2013-05-14T15:30:17 [test] Add test for hb_set_get_min() bug Failing now. Bug 64476 - Typo in hb_set_t.get_min()
Behdad Esfahbod 0a2b2a50 2013-03-21T16:26:39 Remove gthread leftovers We don't use gthread anymore, remove leftovers.
Behdad Esfahbod ea11abfc 2013-03-06T20:21:11 [build] Port to newer automake recommended syntax
Behdad Esfahbod c39def9b 2013-03-06T20:20:45 Move valgrind suppressions to the correct directory
Behdad Esfahbod 9e5ac7b8 2013-02-25T17:54:10 Fix blob test to match c3ba49b6fa1865e8318926eaa6c0f2063d1053bb
Behdad Esfahbod 5898fa94 2013-02-06T15:29:07 Don't use $(ENV) As reported by Peter Breitenlohner: I think this is a very bad idea because ENV is used to specify a startup file to be read by some/all shells.
Behdad Esfahbod 1172dc73 2013-01-07T16:46:37 Rename hb_buffer_clear() to hb_buffer_clear_contents() The previous name was clashing with harfbuzz.old. There are systems that need to link both... Clash-free now again.
Behdad Esfahbod e81aff9e 2013-01-02T23:22:54 [tests] Finish test-set.c All passing now.
Behdad Esfahbod 8165f276 2013-01-02T22:50:36 [tests] Start adding tests for hb-set.h Fails now. Fixing.
Behdad Esfahbod b9d28f69 2013-01-02T22:49:58 [tests] Add set object to test-object.c
Behdad Esfahbod d04b1285 2012-11-14T10:53:10 Fix test
Behdad Esfahbod 0c7df222 2012-11-13T14:42:35 Add buffer flags New API: hb_buffer_flags_t HB_BUFFER_FLAGS_DEFAULT HB_BUFFER_FLAG_BOT HB_BUFFER_FLAG_EOT HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES hb_buffer_set_flags() hb_buffer_get_flags() We use the BOT flag to decide whether to insert dottedcircle if the first char in the buffer is a combining mark. The PRESERVE_DEFAULT_IGNORABLES flag prevents removal of characters like ZWNJ/ZWJ/...
Behdad Esfahbod c8d4f8b0 2012-11-13T14:10:19 Minor
Behdad Esfahbod 82ecaff7 2012-11-13T13:57:52 Add hb_buffer_clear() Which is like _reset(), but does NOT clear unicode-funcs.
Behdad Esfahbod de796a6f 2012-11-12T17:27:51 Add "new" Myanmar OT Script tag Windows 8 added support for Myanmar shaping using the "mym2" script tag, even though Windows never supported the old "mymr" tag.
Behdad Esfahbod 431bef2e 2012-11-01T16:26:01 Minor build fix
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 5e113a4b 2012-06-16T15:26:13 g_thread_init() is deprecated
Behdad Esfahbod a18280a8 2012-06-07T15:44:12 Fix warnings produced by clang analyzer
Behdad Esfahbod fe28b997 2012-04-14T19:19:26 Add HB_DIRECTION_IS_VALID
Behdad Esfahbod 4bf90f64 2012-04-12T17:38:23 Make HB_DIRECTION_INVALID be zero This changes all the HB_DIRECTION_* enum member values, but is nicer, in preparation for making hb_segment_properties_t public.
Behdad Esfahbod 66aa0800 2012-01-20T17:36:10 Remove test-shape-complex New shaping testsuite and framework coming.
Behdad Esfahbod 36fe87d1 2012-01-19T16:55:26 More Indic tests from Pravin
Behdad Esfahbod 4d6dafd4 2012-01-19T14:52:02 Rename test/ to test/api/