History log of /external/harfbuzz_ng/src/hb-buffer.cc
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/src/hb-buffer.cc
bcba8b45024e1eca8be77ca2657de1dc44dbf8fb 16-Jul-2014 Behdad Esfahbod <behdad@behdad.org> New API hb_buffer_add_codepoints()

Like hb_buffer_add_utf32, but doesn't do any Unicode validation.
This is like what hb_buffer_add_utf32 used to be until a couple
commits ago.
/external/harfbuzz_ng/src/hb-buffer.cc
625dbf141a05f1ae81a7b8cbc529996370101284 16-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [buffer] Templatize UTF-* functions
/external/harfbuzz_ng/src/hb-buffer.cc
66c6a48b6ce9dab6375ba1a23d7e450d6974852a 15-Apr-2014 Behdad Esfahbod <behdad@behdad.org> Add HB_NO_MERGE_CLUSTERS

Disables any cluster-merging. Added for testing purposes while
we investigate what kind of API to add for this.
/external/harfbuzz_ng/src/hb-buffer.cc
02c6c8cd6e8c93b63c75b25de6bf76bb45755bb4 15-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Set buffer content type to INVALID in hb_buffer_set_length(0)

Previously we were only setting this in hb_buffer_clear_contents(),
but set_length(0) is a valid way to reinitialize buffer to use with
new text.
/external/harfbuzz_ng/src/hb-buffer.cc
061cb4649342b005fb1de93abae25e889cc560bd 13-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Use long alignment for scratch buffer

Fixes last of scratch alignment warnings in hb-coretext.
/external/harfbuzz_ng/src/hb-buffer.cc
68c372ed2eac76a6d347811293fe2ba2fd6a1eed 13-Nov-2013 Behdad Esfahbod <behdad@behdad.org> More scratch-buffer cleanup
/external/harfbuzz_ng/src/hb-buffer.cc
16f175cb2e081e605fe7f9cd01bbe8c24380278a 12-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Fix scratch-buffer alignment warnings
/external/harfbuzz_ng/src/hb-buffer.cc
da72042c52ed3cc0ee19d3eabb8db7c7dd34d3ed 17-Oct-2013 Behdad Esfahbod <behdad@behdad.org> [otlayout] Fix up recent Context matching change

Commit 6b65a76b40522a4f57a6fedcbdfc5a4d736f1d3c. "end" was becoming
negative. Was trigerred by Lohit-Kannada 2.5.3 and the sequence:
U+0CB0,U+200D,U+0CBE,U+0CB7,U+0CCD,U+0C9F,U+0CCD,U+0CB0,U+0C97,U+0CB3
Two glyphs were being duplicated.
/external/harfbuzz_ng/src/hb-buffer.cc
6b65a76b40522a4f57a6fedcbdfc5a4d736f1d3c 14-Oct-2013 Behdad Esfahbod <behdad@behdad.org> [otlayout] Fix (Chain)Context recursion!

Previously we only supported recursive sublookups with
ascending indices. We were also not correctly handling
non-1-to-1 recursed lookups.

Fix all that!

Fixes the three tests in test/shaping/tests/context-matching.tests,
which were derived from NotoSansBengali and NotoSansDevanagari
among others.
/external/harfbuzz_ng/src/hb-buffer.cc
085d4291a9f253a4b8e2eec8003ac11d02a9394f 12-Sep-2013 Behdad Esfahbod <behdad@behdad.org> [introspection] Disable constructors for now

Since our types are not associated with their methods, marking
constructors makes them inaccessible from bindings. Undo for now.
/external/harfbuzz_ng/src/hb-buffer.cc
288f2899979bcc9e68f8115cb76e3271ed0e17bc 06-Sep-2013 Behdad Esfahbod <behdad@behdad.org> [docs/introspection] More annotations
/external/harfbuzz_ng/src/hb-buffer.cc
c44b81833d5bfb9a926d348a76463314c3ec2018 06-Sep-2013 Behdad Esfahbod <behdad@behdad.org> Whitespace
/external/harfbuzz_ng/src/hb-buffer.cc
5f512017ba615ba6ac8e5da2ea0c57a72db2c26b 05-Sep-2013 Behdad Esfahbod <behdad@behdad.org> [docs] Document a few symbols
/external/harfbuzz_ng/src/hb-buffer.cc
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/src/hb-buffer.cc
6c15ddfe2b45383824b64058ae69939d002183a6 30-Apr-2013 Behdad Esfahbod <behdad@behdad.org> Renamed DEBUG to something else

Some infrastructures use DEBUG as a generic symbol.
/external/harfbuzz_ng/src/hb-buffer.cc
847794e929831750e97525137ab5e285ccd1064e 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Implement buffer deserialization for format=text

Using a ragel machine.
/external/harfbuzz_ng/src/hb-buffer.cc
d3e14aafff60e1314d0ef66e42cdde6bf949bb66 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Move buffer serialization code to a new file
/external/harfbuzz_ng/src/hb-buffer.cc
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/src/hb-buffer.cc
f4abcbfc628718bb276363746440df06e7658f6e 21-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
8465a05a89742295d4b009a9b4442eb0a899fd80 30-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Fix hb_buffer_guess_segment_properties() for empty buffer

Was causing assertion failure in shape_plan().
/external/harfbuzz_ng/src/hb-buffer.cc
3f82f8ff07a9d16a7c047129658c1bbedfdb5436 16-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()
/external/harfbuzz_ng/src/hb-buffer.cc
f30641038ba96e83950729b1bd9d86d2e98e46c5 16-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Bunch of independent changes (ouch)

API additions:

hb_segment_properties_t
HB_SEGMENT_PROPERTIES_DEFAULT
hb_segment_properties_equal()
hb_segment_properties_hash()

hb_buffer_set_segment_properties()
hb_buffer_get_segment_properties()

hb_ot_layout_glyph_class_t

hb_shape_plan_t
hb_shape_plan_create()
hb_shape_plan_create_cached()
hb_shape_plan_get_empty()
hb_shape_plan_reference()
hb_shape_plan_destroy()
hb_shape_plan_set_user_data()
hb_shape_plan_get_user_data()
hb_shape_plan_execute()

hb_ot_shape_plan_collect_lookups()

API changes:

Rename hb_ot_layout_feature_get_lookup_indexes() to
hb_ot_layout_feature_get_lookups().

New header file:

hb-shape-plan.h

And a bunch of prototyped but not implemented stuff. Coming soon.
(Tests fail because of the prototypes right now.)
/external/harfbuzz_ng/src/hb-buffer.cc
c54599ad269380c7aa28d885fcfd660fc2c10a7b 16-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
072ae7a982bf640804eee0b41525e7c328806bf5 15-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_serialize_list_formats()
/external/harfbuzz_ng/src/hb-buffer.cc
f9edf1672511c3bcc3796cc79578ffea43b2bda1 15-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Add buffer serialization / deserialization API

Two output formats for now: TEXT, and JSON. For example:

hb-shape --output-format=json

Deserialization API is added, but not implemented yet.
/external/harfbuzz_ng/src/hb-buffer.cc
66ac2ff32e24f0d5658ca172147613081a133847 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> API change: Remove "mask" from hb_buffer_add()

I don't expect anybody using hb_buffer_add(), so this shouldn't break
anyone's code.
/external/harfbuzz_ng/src/hb-buffer.cc
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/src/hb-buffer.cc
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/src/hb-buffer.cc
da70111ab234e8b740ce6fb1789a1809fbec0c44 31-Oct-2012 Behdad Esfahbod <behdad@behdad.org> Don't clear buffer pre-context if no new context is being provided

Patch from Jonathan Kew.

Part of fixing:

Mozilla Bug 801410 - avoid inserting dotted-circle for run-initial
Unicode combining characters in "simple" scripts such as Latin

https://bugzilla.mozilla.org/show_bug.cgi?id=801410
/external/harfbuzz_ng/src/hb-buffer.cc
0bc7a38463bfb37f12efeb1b8cb2024cf4a347bc 30-Oct-2012 Behdad Esfahbod <behdad@behdad.org> [OT] Fix ReverseChainingSubst

We should make it clear that we don't want output buffer in this case,
otherwise buffer->backtrack_len() would be wrong.
/external/harfbuzz_ng/src/hb-buffer.cc
38b015e57ffa75d3b078a368c23685beb7c3f946 29-Oct-2012 Behdad Esfahbod <behdad@behdad.org> Fix hb_buffer_set_length(buffer, 0)

Was causing invalid realloc()s.
/external/harfbuzz_ng/src/hb-buffer.cc
05207a79e0ae1769c5feaebe3fd99bdf9cfcf834 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Save pre/post textual context

To be used for a variety of purposes. We save up to five characters
in each direction. No public API changes, everything is taken care
of already. All clients need to do is to call hb_buffer_add_utf* with
the full text + segment info (or at least some context) instead of
just passing in the segment.

Various operations (hb_buffer_reset, hb_buffer_set_length,
hb_buffer_add*) automatically reset the relevant contexts.
/external/harfbuzz_ng/src/hb-buffer.cc
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-buffer.cc
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-buffer.cc
0e0a4da9b7677a09e00d27313236e1f333864dd6 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Towards template'izing different UTF adders
/external/harfbuzz_ng/src/hb-buffer.cc
7d37280600c157f3c4eae8746e99511702a58e8f 25-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
96fdc04e5c6daafce3d45e7508418e4db94df44c 07-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_[sg]et_content_type

And hb_buffer_content_type_t and enum values.
/external/harfbuzz_ng/src/hb-buffer.cc
b85800f9de8976a7418ef9df467d3080c6ab0199 01-Sep-2012 Behdad Esfahbod <behdad@behdad.org> [Indic] Implement dotted-circle insertion for broken clusters

No panic, we reeally insert dotted circle when it's absolutely broken.

Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari
fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being
really bogus...)

I had to make a decision. Apparently Uniscribe adds one dotted circle
to each broken character. I tried that, but that goes wrong easily with
split matras. So I made it add only one dotted circle to an entire
broken syllable tail. As in: "if there was a dotted circle here, this
would have formed a correct cluster." That works better for split
stuff, and I like it more.
/external/harfbuzz_ng/src/hb-buffer.cc
1be368e96fb7de8c77bf992874e0d5bd6b272ebe 31-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
965c280de09b49d711cb78d629da321c802084de 29-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Add HB_BUFFER_ASSERT_VAR

To be used in places we access buffer vars...
/external/harfbuzz_ng/src/hb-buffer.cc
d5045a5f4017631a4660f985fe451c5a64c42ca0 12-Aug-2012 Behdad Esfahbod <behdad@behdad.org> [ICU] Use new normalizer2 compose/decompose API

It's considerably faster than the fallback implementation we had
previously!
/external/harfbuzz_ng/src/hb-buffer.cc
208f70f0553d73d2908b21b9552298029482a8b9 01-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Inline Unicode callbacks internally
/external/harfbuzz_ng/src/hb-buffer.cc
69cc492dc120847ed00cae65ec958593ebf550c5 31-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Minor
/external/harfbuzz_ng/src/hb-buffer.cc
ea278d3895fe0c92801d692cd71d8d9f1de7c048 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Partially switch ot shaper to shape_plan
/external/harfbuzz_ng/src/hb-buffer.cc
47ef931f13778b894090139a64238a5ab9ac1154 20-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [buffer] Make sure out_info = info during GPOS
/external/harfbuzz_ng/src/hb-buffer.cc
39b17837b4064d59c18cebb49c1c0b5b8cc0c117 17-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_normalize_glyphs() and hb-shape --normalize-glyphs

This reorders glyphs within the cluster to a nominal order. This should
have no visible effect on the output, but helps with testing, for
getting the same hb-shape output for visually-equal glyphs for each
cluster.
/external/harfbuzz_ng/src/hb-buffer.cc
e085fcf7ca302eb7802a032197c022819e7e7074 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Remove unused buffer->replace_glyphs_be16
/external/harfbuzz_ng/src/hb-buffer.cc
fe3dabc08df7501010564f8844bd4d11771cc6a4 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
e88e14421a33ca5bdfd76bc0b2f801fcb6e78911 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Use merge_clusters instead of open-coding
/external/harfbuzz_ng/src/hb-buffer.cc
e51d2b6ed1c794ac28c5610bfd01dbc9fb383633 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Extend into main buffer if extension hit end of out-buffer merging clusters
/external/harfbuzz_ng/src/hb-buffer.cc
5ced012d9f58c51d557a835593c3277e35fe3b35 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Extend end when merging clusters in out-buffer
/external/harfbuzz_ng/src/hb-buffer.cc
72c0a1878313e7232d554bc226f4c6dc01418a95 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Extend clusters backward in out-buffer
/external/harfbuzz_ng/src/hb-buffer.cc
cd5891493df06fdb92e1ae526d29dee8df250235 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Extend clusters backwards, into the out-buffer too
/external/harfbuzz_ng/src/hb-buffer.cc
cafa6f372721fd6b0a7c0da68b9421d3e94931bc 09-Jun-2012 Behdad Esfahbod <behdad@behdad.org> When merging clusters, extend the end
/external/harfbuzz_ng/src/hb-buffer.cc
2a3d911fe0ff5d6442659d3381d5b08c30ee2896 07-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix alignment-requirement missmatch

Detected by clang and lots of cmdline options.
/external/harfbuzz_ng/src/hb-buffer.cc
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-buffer.cc
e1ac38f8dd04c29d2d4140f5a492cdaf25d72901 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix inert buffer set_length() with zero

Oops!
/external/harfbuzz_ng/src/hb-buffer.cc
be4560a3b5e8599cbe2b29a01a60c21c9e2b194f 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Undo default unicode-funcs to avoid static initializer again
/external/harfbuzz_ng/src/hb-buffer.cc
f06ab8a4262c759b4723614fd28f55ee77aa8466 05-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Better hide nil objects and make them const
/external/harfbuzz_ng/src/hb-buffer.cc
8e3715f8a16b315c1c7dd4b256e7f68a36c53e7c 24-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
3b26f96ebe859570d14c6902afc23462bca40712 10-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Add Thai shaper that does SARA AM decomposition / reordering

That's not in the OpenType spec, but it's what MS and Adobe do.
/external/harfbuzz_ng/src/hb-buffer.cc
d4cc44716c1e098f8abbc0e495404598026ef242 08-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Move code around, in prep for Thai/Lao shaper
/external/harfbuzz_ng/src/hb-buffer.cc
c521e793bd6c1dafacb94253a45b9c70ab38525e 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Fix OOB in replace_glyph()

Patch from Kenichi Ishibashi.
/external/harfbuzz_ng/src/hb-buffer.cc
9ebe8c0286856d46430ae184ba7303bd34485883 26-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Add buffer->replace_glyphs()
/external/harfbuzz_ng/src/hb-buffer.cc
e6c09cdf43201ff1b7f38e411ae1f9977e4f9271 17-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Remove the pre_allocate argument from hb_buffer_create()

For two reasons:

1. User can always call hb_buffer_pre_allocate() themselves, and

2. Now we do a pre_alloc in add_utfX anyway, so the total number of
reallocs is limited to a small number (~3) anyway. This just makes the
API cleaner.
/external/harfbuzz_ng/src/hb-buffer.cc
4e9ff1dd6ee3ea63fd91a76a91d9725a10a294a0 15-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Pre-allocate buffers when adding string

We do a conservative estimate of the number of characters, but still,
this limits the number of buffer reallocs to a small constant.
/external/harfbuzz_ng/src/hb-buffer.cc
33ccc77902660ed4b49184e5ec99f4fd0ef63175 09-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Make set_user_data() functions take a replace parameter

We need this to set data on objects safely without worrying that some
other thread unsets it by setting it at the same time.
/external/harfbuzz_ng/src/hb-buffer.cc
944b2ba1ce076385f985212bbdf2df96a8a995f0 09-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [buffer] Make API take signed int length

Since we already switched to accepting -1 as 'zero-terminated'.
/external/harfbuzz_ng/src/hb-buffer.cc
144cd49a0eb3ccc749325d0ee14b3ebf4367c971 07-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [buffer] Accept -1 for text_length and item_length

A -1 text_length means: zero-terminated string.
A -1 item_length means: to the end of string.
/external/harfbuzz_ng/src/hb-buffer.cc
02aeca985b570763342c35e99af90025bfa088d5 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Changes to main shape API

hb_shape() now accepts a shaper_options and a shaper_list argument.
Both can be set to NULL to emulate previous API. And in most situations
they are expected to be set to NULL.

hb_shape() also returns a boolean for now. If shaper_list is NULL, the
return value can be ignored.

shaper_options is ignored for now, but otherwise it should be a
NULL-terminated list of strings.

shaper_list is a NULL-terminated list of strings. Currently recognized
strings are "ot" for native OpenType Layout implementation, "uniscribe"
for the Uniscribe backend, and "fallback" for the non-complex backend
(that will be implemented shortly). The fallback backend never fails.

The env var HB_SHAPER_LIST is also parsed and honored. It's a
colon-separated list of shaper names. The fallback shaper is invoked if
none of the env-listed shapers succeed.

New API hb_buffer_guess_properties() added.
/external/harfbuzz_ng/src/hb-buffer.cc
c605bbbb6d4b2a98b1f40ca818760088d991f7d1 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Remove C++ guards from source files

Where causing issues for people with MSVC.
/external/harfbuzz_ng/src/hb-buffer.cc
e62df43649e31b7815c272f01808b3f726c7d07d 03-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Add internal hb_buffer_t::get_scratch_buffer()
/external/harfbuzz_ng/src/hb-buffer.cc
b65c06025d2b54a44f716e030d4b10072c65bea8 28-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Formalize buffer var allocations
/external/harfbuzz_ng/src/hb-buffer.cc
a9ad3d3460ba863a8d8f3766ccbeab288c3c6822 28-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Move more code around

Buffer var allocation coming into shape
/external/harfbuzz_ng/src/hb-buffer.cc
3a81b1db89beba91fb91791918b9fdd9f8fc9fa0 25-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Minor, fix leak from my previous refactorings
/external/harfbuzz_ng/src/hb-buffer.cc
f4a579bc42fb811ff5c391a0e97b7d8656ef59b1 25-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Add internal API for buffer var allocation
/external/harfbuzz_ng/src/hb-buffer.cc
468e9cb25c9bc14781b7013e447d763f93bf76a3 22-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Move buffer methods into the object
/external/harfbuzz_ng/src/hb-buffer.cc
9111b21ef99d5e53348176f683261b0101eb427f 21-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Add _hb_buffer_output_glyph() and _hb_buffer_skip_glyph()
/external/harfbuzz_ng/src/hb-buffer.cc
dd89d958c139d85efb776fffaf314eead3952c78 21-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Fix cluster calculation for non-LTR text
/external/harfbuzz_ng/src/hb-buffer.cc
2e18c6dbdfbbfdec0490260bb7cb5213551b2188 06-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Fix reverse_range() position loop

Mozilla Bug 669175 - Slow rendering of text sometimes in this case,
using direction: rtl
/external/harfbuzz_ng/src/hb-buffer.cc
80a6833b032bc63b4e8c3da6489d3767af1168f3 12-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_*_get_empty() for all objects
/external/harfbuzz_ng/src/hb-buffer.cc
3935af1c0d0f53a5fd6054e1ee219f3adda42dca 05-May-2011 Behdad Esfahbod <behdad@behdad.org> [buffer] Remove wrong optimization

While the cluster fields of the glyph string are usually sorted, they
wouldn't be in special cases (for example for non-native direction).
Blindly using bsearch is plain wrong. If we want to reintroduce this
optimization we have to make sure we know the buffer clusters are
monotonic and in which direction. Not sure it's worth it though.
/external/harfbuzz_ng/src/hb-buffer.cc
e87867cb88280e3f3a38d829e359cb686168b2cb 03-May-2011 Behdad Esfahbod <behdad@behdad.org> [buffer] Fail in _create() if we cannot pre-allocate the requested size
/external/harfbuzz_ng/src/hb-buffer.cc
243673d601588a6f704ceafbff5dd5cdf66c47b7 29-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [test/buffer] Add more extensive UTF-8 test data from glib
/external/harfbuzz_ng/src/hb-buffer.cc
080a0eb7d82d7195be72c16ece6e0a3ffed636b6 28-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Add _hb_unsigned_int_mul_overflows
/external/harfbuzz_ng/src/hb-buffer.cc
3264042873fd639f3ef8ff0acfad777a0a9f3355 28-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [test/buffer] Test pre_allocate() and allocation_successful()
/external/harfbuzz_ng/src/hb-buffer.cc
e0db4b868f9fdd8e680890f87dd4e13a1c27b7a1 28-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [buffer] More error handling

Should be all set now.
/external/harfbuzz_ng/src/hb-buffer.cc
5fa849b77d49da2212825ebb1bea9145713b8449 28-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add _set/get_user_data() for all objects
/external/harfbuzz_ng/src/hb-buffer.cc
47e71d9661946a4ffb96026bf1d697d788414ab5 27-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [object] Remove unnecessary use of macros
/external/harfbuzz_ng/src/hb-buffer.cc
65e0063eae2f3adb25315b8bd7b0e7757aa960f3 27-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Make buffer size growth start from 32 instead of 8
/external/harfbuzz_ng/src/hb-buffer.cc
d4bee9f813bb299b1c4aab7c33d588be2a7d354b 27-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_unicode_funcs_get_default()
/external/harfbuzz_ng/src/hb-buffer.cc
fca368c4682624346a0aaee690e1ad6ed4c0b337 22-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Add hb_object_header_t which is the common part of all objects

Makes way for adding arbitrary user_data support.
/external/harfbuzz_ng/src/hb-buffer.cc
2409d5f8d7dd8b535ce5ea29e933f7db27d33793 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Update Copyright headers
/external/harfbuzz_ng/src/hb-buffer.cc
af02933739e03a156b9f7761fd7a63e2a02d0df1 20-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Remove hb_*_get_reference_count()

This was a bizzare piece of API that I inherited from cairo. It has
been wrong adding them to cairo in the first place. Remove them before
someone uses them!
/external/harfbuzz_ng/src/hb-buffer.cc
f85faee9b3cb841ea977403945e2c877ab32b97a 19-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Rename hb_buffer_add_glyph() to hb_buffer_add()
/external/harfbuzz_ng/src/hb-buffer.cc
aab0de50e23727b69fa8c3d4e05c50c114c62835 19-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_buffer_allocation_successful()

Returns the error status of the buffer.
/external/harfbuzz_ng/src/hb-buffer.cc
02a534b23f2d1e7475109563b9f61221ed020e8b 16-Apr-2011 Ryan Lortie <desrt@desrt.ca> [API] Rename hb_buffer_ensure() to hb_buffer_pre_allocate()

The new name is self-documenting.
/external/harfbuzz_ng/src/hb-buffer.cc
70566befc59cfa8b9c43ac682749c40ea783b1dd 16-Apr-2011 Ryan Lortie <desrt@desrt.ca> [API} hb_buffer_get_glyph_{infos,positions}: Add length out parameter

Return the length, whenever we return an array. Makes it easier on the
language bindings.
/external/harfbuzz_ng/src/hb-buffer.cc
c0af193c8e25c4f11d23b8893e9ce1c2d2615bb2 16-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Change buffer default properties to invalid

This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID.

The INVALID will cause a "guess whatever from the text" in hb_shape().
While it's not ideal, it works better than the previous defaults at
least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
/external/harfbuzz_ng/src/hb-buffer.cc
8f0d7e0c3fd4b05c43ac449be4f374dc2dc56127 16-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Remove hb_buffer_clear_positions(), add hb_ot_layout_position_start()
/external/harfbuzz_ng/src/hb-buffer.cc
2fc56edff6d64f190271454ccb1b5fd347d4f172 16-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Remove hb_buffer_clear()

One should use hb_buffer_reset() really.
/external/harfbuzz_ng/src/hb-buffer.cc
c910bec863215f918c659f58debbc7fe5264d7b6 13-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_reset() and hb_buffer_set_length()
/external/harfbuzz_ng/src/hb-buffer.cc
69ea23cb5d47dd1cfd3129f68375021ef79bf63b 13-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.cc
b5dd44e24669cd35affcd92788d39ff56cac94db 28-Feb-2011 Behdad Esfahbod <behdad@behdad.org> Fix possible overflow
/external/harfbuzz_ng/src/hb-buffer.cc
cc1a8a938b4c13e76b58825a9e1951c4134e634a 06-Jan-2011 Behdad Esfahbod <behdad@behdad.org> Fix ChanContext backtrack matching with GPOS

Reported on mailing list by Keith Stribley and Khaled Hosny.
/external/harfbuzz_ng/src/hb-buffer.cc
1c3183027fe823cd673866ba29d169b69f8efba1 06-Jan-2011 Behdad Esfahbod <behdad@behdad.org> Remove unused realloc

We always allocate and grow str and pos together.
/external/harfbuzz_ng/src/hb-buffer.cc
98370e89d1bff248737b482d129c2a4deb8bfd95 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> WIP removing external synthesized GDEF support and implementing it internally
/external/harfbuzz_ng/src/hb-buffer.cc
870e2d6eac01d004c72a925ea93e6823251d5fa2 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Remove unused function
/external/harfbuzz_ng/src/hb-buffer.cc
dbf56b1d94910f04823e53e39ace1e5145bddc04 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> More lig-id cleanup
/external/harfbuzz_ng/src/hb-buffer.cc
f6a23a0b9171958f76c1d0473b09fc08d2b3a0d0 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> More removal of lig-id code from buffer
/external/harfbuzz_ng/src/hb-buffer.cc
dd2ffd282c059194fd87fb1664e2e0cdb56a87a0 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Minor renaming
/external/harfbuzz_ng/src/hb-buffer.cc
fe263272a2b26204bc39829a94d90ab537517f3f 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Move setting lig_id/component out of buffer and to the gsub code
/external/harfbuzz_ng/src/hb-buffer.cc
37ab877149582c7ce7416425bb402340e3f948a2 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Remove comment
/external/harfbuzz_ng/src/hb-buffer.cc
88474c6fdaf35c56368694a5b164f4988a004d49 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Get rid of the OpenType-specific internal buffer representation

Add variant integers to buffer item types. More cleanup coming.
/external/harfbuzz_ng/src/hb-buffer.cc
bd7378b2ef9793de4e7f57b920f29f48ac9d0c25 14-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Massage mask setting a bit more

Still finding the exact correct way the masks should be set.
/external/harfbuzz_ng/src/hb-buffer.cc
961f9baa7bc3556f1e4e7135859cebe1351f73a4 13-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Oops, actually set global mask
/external/harfbuzz_ng/src/hb-buffer.cc
3506b2e78db27e7835bd2c09c053a9807c9cac40 13-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Return early if mask is 0
/external/harfbuzz_ng/src/hb-buffer.cc
5c1c8c9c50ddbe66ea595afb245a208b7775b27c 13-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Make sure feature values don't leak out of their mask
/external/harfbuzz_ng/src/hb-buffer.cc
57ac0ecb7843533b2e6e6d6c8a12b2a44437cc1c 12-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Merge clearing masks and setting global masks
/external/harfbuzz_ng/src/hb-buffer.cc
34db6f031d7ac009f554386ef990bad44886b9ee 07-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Add XXX note
/external/harfbuzz_ng/src/hb-buffer.cc
4e4ef24e46f273ad2bdda2f718223e05b37dd50f 23-Jul-2010 Behdad Esfahbod <behdad@behdad.org> Towards separating bit allocation from shaping
/external/harfbuzz_ng/src/hb-buffer.cc
acdba3f90b232fc12fcb200dca2584481b339118 23-Jul-2010 Behdad Esfahbod <behdad@behdad.org> Prefer C linkage
/external/harfbuzz_ng/src/hb-buffer.cc
81c5e8724b740c6e42ed3a45e0574c7c5f3ad8e6 29-May-2010 Behdad Esfahbod <behdad@behdad.org> Allow disabling default features

Patch from Jonathan Kew
/external/harfbuzz_ng/src/hb-buffer.cc
2163afbf35044f59dbf449254e65b8c9feb6cdeb 27-May-2010 Behdad Esfahbod <behdad@behdad.org> Add note about UTF-8 decoder
/external/harfbuzz_ng/src/hb-buffer.cc
1ce7b87c4d8d1ab3ec1d5198351d71b7199f7c64 21-May-2010 Behdad Esfahbod <behdad@behdad.org> Cleanup bitmask allocation
/external/harfbuzz_ng/src/hb-buffer.cc
009aad567863c05ee2ec4a3ee76fe0ee79c767bb 20-May-2010 Behdad Esfahbod <behdad@behdad.org> Invert the mask logic

Before, the mask in the buffer was inverted. That is, a 0 bit meant
feature should be applied and 1 meant not applied, whereas in the
lookups, the logic was positive.

Now both are in sync. When calling hb_buffer_add_glyph() manually,
the mask should be 1 instead of 0.
/external/harfbuzz_ng/src/hb-buffer.cc
3567b87cce541dfb0af7caf024ec67c9d3c09214 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Add an inline version of hb_buffer_ensure()
/external/harfbuzz_ng/src/hb-buffer.cc
a6a79df5fe2ed2cd307e7a991346faee164e70d9 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Handle malloc failture in the buffer
/external/harfbuzz_ng/src/hb-buffer.cc
910a33fe8457a8e13f7eb77fc92fa59c31f5e8fd 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Update buffer docs
/external/harfbuzz_ng/src/hb-buffer.cc
36b73c80df91e96492357c6da945e081e9046a93 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_pos to buffer->i
/external/harfbuzz_ng/src/hb-buffer.cc
29427c5c51ac70aca53ed523fa5ddb3de4355fb0 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->out_length to buffer->out_len
/external/harfbuzz_ng/src/hb-buffer.cc
6960350be97f24e97140391025b56369c393a3df 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_length to buffer->len
/external/harfbuzz_ng/src/hb-buffer.cc
1b621823f3e31b48c80cc8b0691dfa873ba086cd 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->positions to buffer->pos
/external/harfbuzz_ng/src/hb-buffer.cc
9d5e26df0877aa5b187764ba09bd7bf221e92968 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->out_string to buffer->out_info
/external/harfbuzz_ng/src/hb-buffer.cc
7e7007a1c9bf2c07a8369752126ece8fa6164248 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_string to buffer->info
/external/harfbuzz_ng/src/hb-buffer.cc
8e6b6bb2932946ebc7b01c3abf575b654c741e20 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Merge buffer->out_pos and buffer->out_length
/external/harfbuzz_ng/src/hb-buffer.cc
1d5e78013696b10751d8a35027619e81978e1312 13-May-2010 Behdad Esfahbod <behdad@behdad.org> Add a few other buffer methods
/external/harfbuzz_ng/src/hb-buffer.cc
8951fc2c82f2db4865da6d9e303fce419b6363bb 13-May-2010 Behdad Esfahbod <behdad@behdad.org> Add buffer->allocate_lig_id()
/external/harfbuzz_ng/src/hb-buffer.cc
22da7fd94d6318c52df69d70470a85464ffc533d 13-May-2010 Behdad Esfahbod <behdad@behdad.org> Rename a few files to be C++ sources

In anticipation for buffer revamp coming.
/external/harfbuzz_ng/src/hb-buffer.cc