History log of /external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
11fb16cb849285a178d9e80991b1d60a960326ee 17-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Use unsigned enums for mask types
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
e54dd26300f50eb19907a9d39269a363279b3e07 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Start implementing buffer deserialization
/external/harfbuzz_ng/src/hb-buffer.h
bcc8f32b4c46cd73f591924c64a6f63df6eaf9e7 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Minor
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
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.h
c54599ad269380c7aa28d885fcfd660fc2c10a7b 16-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.h
072ae7a982bf640804eee0b41525e7c328806bf5 15-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_serialize_list_formats()
/external/harfbuzz_ng/src/hb-buffer.h
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.h
92f9bfed42f720c1fd78e795845542661aaf4f8a 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
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.h
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.h
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.h
560d68af8168d1baff607b9616a3590af70fe9ec 08-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Use a export-file for Windows builds

Apparently even that doesn't make check-internal-symbols.sh happy with
mingw32. Going to disable that for DLLs again, but hopefully the
export-file is doing *something*.
/external/harfbuzz_ng/src/hb-buffer.h
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.h
1bc1cb3603167f5da309336f7018c8b0608ac104 16-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Make source more digestable for gobject-introspection
/external/harfbuzz_ng/src/hb-buffer.h
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-buffer.h
d1c9eb458c843215da8df84b596bfae51fee135b 12-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Make it an error to include non-top-level headers

Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but
never things like hb-shape.h directly. This makes it easier to
refactor headers later on without breaking compatibility.
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
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.h
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.h
80a6833b032bc63b4e8c3da6489d3767af1168f3 12-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_*_get_empty() for all objects
/external/harfbuzz_ng/src/hb-buffer.h
5fa849b77d49da2212825ebb1bea9145713b8449 28-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add _set/get_user_data() for all objects
/external/harfbuzz_ng/src/hb-buffer.h
2409d5f8d7dd8b535ce5ea29e933f7db27d33793 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Update Copyright headers
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
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.h
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.h
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.h
b54cd07b2623b68171e00179a9dc3ecbea7aa6a1 16-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Mark internal buffer variables private
/external/harfbuzz_ng/src/hb-buffer.h
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.h
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.h
c910bec863215f918c659f58debbc7fe5264d7b6 13-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_reset() and hb_buffer_set_length()
/external/harfbuzz_ng/src/hb-buffer.h
8e4bb3cacc269ed32187aaaeaa166c64f41a0418 11-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Fold hb-language.[ch] into hb-common.[ch]
/external/harfbuzz_ng/src/hb-buffer.h
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.h
6cb8c3493019e1497921666fc268cb81943f9f1f 27-Oct-2010 Behdad Esfahbod <behdad@behdad.org> Add hb_var_int_t
/external/harfbuzz_ng/src/hb-buffer.h
acdba3f90b232fc12fcb200dca2584481b339118 23-Jul-2010 Behdad Esfahbod <behdad@behdad.org> Prefer C linkage
/external/harfbuzz_ng/src/hb-buffer.h
a6a79df5fe2ed2cd307e7a991346faee164e70d9 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Handle malloc failture in the buffer
/external/harfbuzz_ng/src/hb-buffer.h
c755cb3e3ac55156d0d2ec05adea7a650b97cc41 22-Apr-2010 Behdad Esfahbod <behdad@behdad.org> Change header comment
/external/harfbuzz_ng/src/hb-buffer.h
ff44f88df2c46920f3ec2384ef321a4c7bb0f6ef 07-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Handle shaping in non-native direction
/external/harfbuzz_ng/src/hb-buffer.h
9db8ad75317d589807e7725455f49cafece58d5d 06-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Add hb_ot_layout_position_finish()

We expect buffer to be setup with default positions before GPOS.
/external/harfbuzz_ng/src/hb-buffer.h
3d14528b8b2e7da425a9df7057fc9fb326d8298c 06-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Rename hb_buffer_get_len() to hb_buffer_get_length()
/external/harfbuzz_ng/src/hb-buffer.h
9bef3611f07b45ba8199a4a339c72f49d266216a 05-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Rename [xy]_pos to [xy]_offset since we don't accumulate positions
/external/harfbuzz_ng/src/hb-buffer.h
ae070b7d39d03bd8bc1244f687b24db505f4af3f 05-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Add script and language to buffer
/external/harfbuzz_ng/src/hb-buffer.h
5ebabecef382c3e8b0a2a5657b2c01f7ff37d796 03-Nov-2009 Behdad Esfahbod <behdad@behdad.org> Move unicode_funcs to buffer
/external/harfbuzz_ng/src/hb-buffer.h
2f5931e404cb56e31d24b2eb7ff0a849fb077b55 19-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Hide lig_id and component members of hb_glyph_info_t
/external/harfbuzz_ng/src/hb-buffer.h
864e2560b627f1e73be3b0635e02f00844cb67c3 18-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Fix pedantic warnings
/external/harfbuzz_ng/src/hb-buffer.h
2866d2974b6768e93cc7d473d14c5a8abae5f7fd 13-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Bitfield packing *is* very delicate

Fix the second instance.
/external/harfbuzz_ng/src/hb-buffer.h
299f08961ffcea27e8def4f0743d0c86ef8dadf1 11-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Implement buffer UTF-X input
/external/harfbuzz_ng/src/hb-buffer.h
1b7b97f28ac192006ca5b6d1cc9fbc80fa2bdb55 11-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Add buffer UTF-X API
/external/harfbuzz_ng/src/hb-buffer.h
fbaf8ffa098bd2b6fb4f4bc2d04b360a319c4af5 11-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Add hb_buffer_reverse()
/external/harfbuzz_ng/src/hb-buffer.h
468769b8f5332940278244e744ec2bd5a5dc5ee9 08-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Rename hb_ot_layout_feature_mask_t to hb_mask_t
/external/harfbuzz_ng/src/hb-buffer.h
f1322e52d557726baa010be8d35a594748e8fa1a 02-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Cleanup public buffer structs
/external/harfbuzz_ng/src/hb-buffer.h
6d5bb18e93d2a53350b342869a3ec8f25f0396c2 02-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [OT] Match struct with HB's
/external/harfbuzz_ng/src/hb-buffer.h
11fbb5487d9900a019440ef8235f35c9f525decb 02-Aug-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Port buffert to new object API
/external/harfbuzz_ng/src/hb-buffer.h
02a370697d25b986dbf1d5c38f46a89a4833b495 30-Jul-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Move direction to buffer
/external/harfbuzz_ng/src/hb-buffer.h
f9cd1014f8f4d0394b5e0e9eefc1e2af13c59cab 28-Jul-2009 Behdad Esfahbod <behdad@behdad.org> Apply patch from Jonathan Kew
/external/harfbuzz_ng/src/hb-buffer.h
2ebb89d63dd27e800f2b6cbf624924601105f48a 26-Jul-2009 Behdad Esfahbod <behdad@behdad.org> Revert "XX"

This reverts commit c939f6aff405ca7b10b1f1538f46148bff719fcb.
/external/harfbuzz_ng/src/hb-buffer.h
55520d2af172f5f6617b909e80cbd7d898f2bc15 11-Jun-2009 Behdad Esfahbod <behdad@behdad.org> XX
/external/harfbuzz_ng/src/hb-buffer.h
e35bbd570a5d914f86f1ea83941ee4328f268059 30-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Improve buffer. Don't dup out buffer unless out is longer than in

That is, we work in-place even for ligatures now.
/external/harfbuzz_ng/src/hb-buffer.h
c968fc2dc87cf85b53f60a40db59d5ee7b992edf 25-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] More buffer cleanup
/external/harfbuzz_ng/src/hb-buffer.h
d9d2a07f4a8696666a12f5a206aa9cfb56dc2b35 25-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Remove one XXX, add another
/external/harfbuzz_ng/src/hb-buffer.h
6c78683c042250a7b5a6fc6ebae4717b03fadf9e 25-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Update copyright years
/external/harfbuzz_ng/src/hb-buffer.h
f96ffd43bce0ac6d9c897933c9be0e51d543e570 24-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] simplify macros
/external/harfbuzz_ng/src/hb-buffer.h
5c0adce1ccc739415c4b26ff13ffd2d77ea4bc6c 20-May-2009 Behdad Esfahbod <behdad@behdad.org> [HB] Rename harfbuzz-buffer to hb-buffer
/external/harfbuzz_ng/src/hb-buffer.h