History log of /external/harfbuzz_ng/test/api/test-buffer.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
976c8f455221eb599d1c446eafd88d51d7d2aa65 16-Jul-2014 Behdad Esfahbod <behdad@behdad.org> 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()
/external/harfbuzz_ng/test/api/test-buffer.c
e634fed4285ce440d277345727ed01757df6d779 16-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [buffer] Validate UTF-32 input

Same as what we do for UTF-8 and UTF-16.
/external/harfbuzz_ng/test/api/test-buffer.c
af2490c0959daa0fe7f32a8b3b3a3699c7fc5f48 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Only accept well-formed UTF-8 sequences

Enable tests that were disabled before, and adjust one test,
and add more tests.
/external/harfbuzz_ng/test/api/test-buffer.c
24b2ba9dfa7c35769cd843a07079ef88fa594bf8 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [test-buffer] Add test for lonely low-surrogate

Currenty fails. Ouch!
/external/harfbuzz_ng/test/api/test-buffer.c
4dc798de19c767b91fd3025c85593fa6809d1340 27-Aug-2013 Behdad Esfahbod <behdad@behdad.org> Add hb-deprecated.h, and rename a couple enum values

Add deprecated alias for old name.
/external/harfbuzz_ng/test/api/test-buffer.c
a4446b10bfe0a9e7236bf941fa69a96697939e11 04-Jun-2013 Behdad Esfahbod <behdad@behdad.org> Fix build for C89 compilers
/external/harfbuzz_ng/test/api/test-buffer.c
1172dc736280566426eb6dade1a886b2a0ca9aa4 07-Jan-2013 Behdad Esfahbod <behdad@behdad.org> 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.
/external/harfbuzz_ng/test/api/test-buffer.c
d04b12853167d756a8cccaf4154f0fd894bce6de 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Fix test
/external/harfbuzz_ng/test/api/test-buffer.c
0c7df2222862122ebbdc8665a21d6771ef5e0252 13-Nov-2012 Behdad Esfahbod <behdad@behdad.org> 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/...
/external/harfbuzz_ng/test/api/test-buffer.c
82ecaff736e245e117d70b6ec1497508c6eb08d2 13-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_clear()

Which is like _reset(), but does NOT clear unicode-funcs.
/external/harfbuzz_ng/test/api/test-buffer.c
a18280a8ce9128fc9d75f8a367ae8ce0886a9599 07-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix warnings produced by clang analyzer
/external/harfbuzz_ng/test/api/test-buffer.c
4d6dafd47f4271549e528d2e8047d50562aef399 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Rename test/ to test/api/
/external/harfbuzz_ng/test/api/test-buffer.c