History log of /external/harfbuzz_ng/src/hb-utf-private.hh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4d643755a531c82ab91e1e43d6bb0b7bd46453a 17-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-utf-private.hh
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/src/hb-utf-private.hh
625dbf141a05f1ae81a7b8cbc529996370101284 16-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [buffer] Templatize UTF-* functions
/external/harfbuzz_ng/src/hb-utf-private.hh
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/src/hb-utf-private.hh
b7bc0b671d2d568cb64b647dad2ca866a4e0183b 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Simplify / speed up UTF-8 code
/external/harfbuzz_ng/src/hb-utf-private.hh
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/src/hb-utf-private.hh
7323d385cc758c06671cb38239d240eb517b28bc 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Simplify hb_utf_prev<16> to call hb_utf_next<16>
/external/harfbuzz_ng/src/hb-utf-private.hh
7627100f428ac0ec8509d961d368d2d25d8f0b6e 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Mark unsigned integer literals with the u suffix

Simplifies hb_in_range() calls as the type can be inferred.
The rest is obsessiveness, I admit.
/external/harfbuzz_ng/src/hb-utf-private.hh
db8934faa1854dafaf4c4ce34d1818e12f67ef52 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Simplify hb_utf_prev<8> to call hb_utf_next<8>
/external/harfbuzz_ng/src/hb-utf-private.hh
6f13b6d62daae4989e3cc2fe4b168e5c59650964 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> When parsing UTF-16, generate invalid codepoint for lonely low surrogate

Test passes now.
/external/harfbuzz_ng/src/hb-utf-private.hh
0beb66e3a61ae8bb1fa66e54b1ff1abb2f8711e9 06-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Fix warnings
/external/harfbuzz_ng/src/hb-utf-private.hh
e13f8d280bafc6a6b6e31e2eee587660b8333c56 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Fix UTF-8 backward iteration

Ouch!
/external/harfbuzz_ng/src/hb-utf-private.hh
89ac39dbbe028e6379f64392f2e590e3f1fdd847 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_utf_prev()
/external/harfbuzz_ng/src/hb-utf-private.hh
70ea4ac6887c7057113d714a98e55738b6196562 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Slightly optimize UTF-8 parsing
/external/harfbuzz_ng/src/hb-utf-private.hh
4445e5e2ecc257a5d0fa2f2715bb7181a47346da 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Cleanup / optimize UTF-16 parsing a bit
/external/harfbuzz_ng/src/hb-utf-private.hh
1f66c3c1a0eb869c0d85a015235313177e0cec62 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_utf_strlen()

Speeds up UTF-8 parsing by calling strlen().
/external/harfbuzz_ng/src/hb-utf-private.hh
7f19ae7b9f806a2e35206b2ad41651c5f80b2537 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Templatize UTF handling

Also move UTF routines into a separate file, to be reused from shapers
that need it.
/external/harfbuzz_ng/src/hb-utf-private.hh