History log of /external/harfbuzz_ng/src/hb-common.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
80c8855cfeffa028d74a25df884d0e5577c95c6c 11-Feb-2016 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-common.cc
8ab797c5b86c33eab6ee024471fd3c147325d26a 29-Dec-2015 Khaled Hosny <khaledhosny@eglug.org> [docs] A bit more buffers documentation
/external/harfbuzz_ng/src/hb-common.cc
ea512f71084296be3bd893f78650def894066de0 27-Nov-2015 Behdad Esfahbod <behdad@behdad.org> Use C-style casts instead of compare to 0, to convert hb_bool_t to bool
/external/harfbuzz_ng/src/hb-common.cc
766963adba6770dcd45de4417481ed8eda60a716 24-Nov-2015 Behdad Esfahbod <behdad@behdad.org> Merge pull request #114 from ThePhD/vc++-fixes

Fix all VC++ warnings and errors
f3159ba5141c2ab0e430e64742972df140f91c43 29-Sep-2015 Behdad Esfahbod <behdad@behdad.org> Micro-optimize hb_language_from_string()

As measured / improved by Benson Limketkai.
/external/harfbuzz_ng/src/hb-common.cc
b8811429b6810c4f13be087b593a862c17d9d987 03-Sep-2015 Behdad Esfahbod <behdad@behdad.org> Fix Since tags

Fixes https://github.com/behdad/harfbuzz/issues/103
/external/harfbuzz_ng/src/hb-common.cc
5c99cf93d6242803bddcac2ca8300fdec7e0f8a7 14-Aug-2015 ThePhD <phdofthehouse@gmail.com> Merge branch 'master' into vc++-fixes
64a2726e2c6efce4379a7609024ec21eb4b5e4dc 15-Jul-2015 Behdad Esfahbod <behdad@behdad.org> Add Unicode 8.0 scripts

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1183209
/external/harfbuzz_ng/src/hb-common.cc
e0a828ecbd708757d67977f7e92a6f4c1b0b92fd 23-Jun-2015 ThePhD <phdofthehouse@gmail.com> Back to using regular `strdup`, with an `hb-private.hh` fix that special-cases VC++'s
definition and usage of the words
/external/harfbuzz_ng/src/hb-common.cc
8e545d59610211261e684c10158b9e5df6fae24d 23-Jun-2015 ThePhD <phdofthehouse@gmail.com> Fix all VC++ warnings and errors in the current commit's builds.
/external/harfbuzz_ng/src/hb-common.cc
351f68f4e01a107f62e4eb3458d7c7ae379939fb 13-Jun-2015 Behdad Esfahbod <behdad@behdad.org> [bindings] Fix hb_language_get_default() and hb_ot_tag_to_language()

Part of https://github.com/behdad/harfbuzz/issues/91
/external/harfbuzz_ng/src/hb-common.cc
01c3a88543850c87483fd8671044df53b368c520 01-Jun-2015 Sascha Brawer <sascha@brawer.ch> Fix "Since:" tags

Based on data from http://upstream-tracker.org/versions/harfbuzz.html
Resolves #103
/external/harfbuzz_ng/src/hb-common.cc
04f89e8f7dfdb882e8c98afb613cba3f1d02ed7d 10-Apr-2015 Khaled Hosny <khaledhosny@eglug.org> [bindings] Fix ownership of returned hb_language_t

It should not be freed by the caller.
/external/harfbuzz_ng/src/hb-common.cc
f3b170bdd970e31e9dbfed94c07c3cda41269aed 09-Apr-2015 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-common.cc
a394bb66707184c995fe2d08c80e98220e6ec0b0 22-Mar-2015 Khaled Hosny <khaledhosny@eglug.org> [bindings] Fix *_from_string functions

Without the element-type they will be getting garbage, at least with
Python.
/external/harfbuzz_ng/src/hb-common.cc
675956aca01fc4e005a338af43d1c1f4f938abd1 27-Jan-2015 Konstantin Ritt <ritt.ks@gmail.com> Do not leak hb_language_t on hb_language_item_t destruction
/external/harfbuzz_ng/src/hb-common.cc
fb85d618f5883458bacf0ecb0894772291a2d738 05-Jan-2015 Chris Peterson <cpeterson@mozilla.com> Add #ifdef HB_USE_ATEXIT to fix -Wunused-function warnings
/external/harfbuzz_ng/src/hb-common.cc
d1897a98d8da40cffb57c07099a9a93cfeaacc36 04-Jan-2015 Chris Peterson <cpeterson@mozilla.com> Fix hb_atomic_ptr_cmpexch -Wunused-value warnings
/external/harfbuzz_ng/src/hb-common.cc
38fb30d7420a4b01f99cee31baa8c3990a1d1c5f 06-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Use atexit() only if it's safe to call from shared library

Apparently they are not (advertised as?) safe on BSD systems.
We ignore the case of static libraries.

Whitelisted on glibc, Android, and MSVC / mingw.

https://bugs.freedesktop.org/show_bug.cgi?id=82246
/external/harfbuzz_ng/src/hb-common.cc
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-common.cc
2b051c6057920c564c13c5d6a3e6dca93446fa12 20-Jun-2014 Behdad Esfahbod <behdad@behdad.org> 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
/external/harfbuzz_ng/src/hb-common.cc
a4a7899cd93fb9d1bc2163a4bbabfa733ee5bd52 29-Apr-2014 Behdad Esfahbod <behdad@behdad.org> [unicode7] Mark right-to-left scripts
/external/harfbuzz_ng/src/hb-common.cc
dac86026a6bae5a8a03cfe885bf93f32e5f48614 03-Jun-2014 Behdad Esfahbod <behdad@behdad.org> Fix some cppcheck warnings

Bug 77800 - cppcheck reports
/external/harfbuzz_ng/src/hb-common.cc
0082dbeae6c25a7859960b7e791a540ad04246d9 16-Mar-2014 jfkthame <jfkthame@gmail.com> wrap definition of free_langs() with HAVE_ATEXIT

...to avoid an unused function warning; see mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=984081.
/external/harfbuzz_ng/src/hb-common.cc
2a8c49ade07a0bd4f2c9543f4bd129da82083ea0 12-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Remove unnecessary includes
/external/harfbuzz_ng/src/hb-common.cc
48360ec03b225dfec5f90bc5cb93122203d2dd6b 26-Sep-2013 Behdad Esfahbod <behdad@behdad.org> Bug 68990 - test-common fails on i686-linux

Fix use-after-end-of-scope.
/external/harfbuzz_ng/src/hb-common.cc
70303cf23b22647bf641be22c8650310128322a9 06-Sep-2013 Behdad Esfahbod <behdad@behdad.org> [docs/introspection] Some more annotations
/external/harfbuzz_ng/src/hb-common.cc
cd361c3cbe4a288e3019b9a029f44e4c5f24436c 06-Sep-2013 Behdad Esfahbod <behdad@behdad.org> Minor change to hb_language_t

Let me know if this breaks anyone's anything.
/external/harfbuzz_ng/src/hb-common.cc
7235f33f9e5e031622a00a84f4b2e98f16803579 10-Jun-2013 Behdad Esfahbod <behdad@behdad.org> Fix misc warnings reported by cppcheck

https://bugs.freedesktop.org/show_bug.cgi?id=65544
/external/harfbuzz_ng/src/hb-common.cc
bab02d339f39ed5168daaef9461227f78e596a2f 12-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Rename HB_OT_INDIC_OPTIONS env var to HB_OPTIONS

The Myanmar shaper now respects the uniscribe-bug-compatibility
option too.
/external/harfbuzz_ng/src/hb-common.cc
e9171af55cc6a402eb20db4ea74c86a0b1e70e85 30-Jan-2013 Behdad Esfahbod <behdad@behdad.org> Bug 60053 - hb-common.cc:181:6: warning: ‘void free_langs()’ defined but not used
/external/harfbuzz_ng/src/hb-common.cc
7babfe5a7904c26060c5b8441ca1bf23e1444f35 03-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Move object mutext into the user-data array

We are not using it for anything lse it seems.
/external/harfbuzz_ng/src/hb-common.cc
e30ebd2794b37bd8ec716a258d5cb017fb1dfadc 07-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_feature_to/from_string()
/external/harfbuzz_ng/src/hb-common.cc
7e7d245b332306949a19c628bacd920717434769 08-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Make default_language threadsafe
/external/harfbuzz_ng/src/hb-common.cc
1bc1cb3603167f5da309336f7018c8b0608ac104 16-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Make source more digestable for gobject-introspection
/external/harfbuzz_ng/src/hb-common.cc
04aed572f112b96a6033cd6c3df7bdba5e29e93c 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Make hb-ft static-initializer free
/external/harfbuzz_ng/src/hb-common.cc
093171cceca63e48e735bbf05a2c11b1b7e95ef1 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Implement lock-free hb_language_t

Another static-initialization down. One more to go.
/external/harfbuzz_ng/src/hb-common.cc
0e253e97af71e2a7ead153589f61fd579a247502 05-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Add a mutex to object header

Removes one more static-initialization. A few more to go.
/external/harfbuzz_ng/src/hb-common.cc
4bf90f648313e35d21b427a956aa1fe762bae757 12-Apr-2012 Behdad Esfahbod <behdad@behdad.org> 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.
/external/harfbuzz_ng/src/hb-common.cc
cad3821f3d5b68d490b0728bd37bd57428ec809c 07-Mar-2012 Behdad Esfahbod <behdad@behdad.org> More sorting by Unicode version

This is the most convenient way to browse scripts.
/external/harfbuzz_ng/src/hb-common.cc
fa2673c1ee954ddbbfbfca7cced7b839d7776fc0 07-Mar-2012 Behdad Esfahbod <behdad@behdad.org> More Unicode script age annotation, and a couple more RTL scripts

Cross-checked with Mark Davis's spreadsheet at http://goo.gl/x9ilM
/external/harfbuzz_ng/src/hb-common.cc
50e810cd0e55c25fddb0a2fd0861c51fbf65700e 07-Mar-2012 Behdad Esfahbod <behdad@behdad.org> Lydian and Kharoshthi are right-to-left
/external/harfbuzz_ng/src/hb-common.cc
4c9fe88d30036340fe592bcbc375049b84602b8b 26-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Make all _from_string() functions take a len parameter

Can be -1 for NUL-terminated string. This is useful for passing parts
of a larger string to a function without having to copy or modify the
string first.

Affected functions:

hb_tag_t hb_tag_from_string()
hb_direction_from_string()
hb_language_from_string()
hb_script_from_string()
/external/harfbuzz_ng/src/hb-common.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-common.cc
c62a8f10f3b9a4ac3ac6b686464ac734ebfa2f7f 06-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Free all static memory upon exit
/external/harfbuzz_ng/src/hb-common.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-common.cc
1a64f6e19a4b483e278c85e4941107be2f71b0a4 14-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add HB_LANGUAGE_INVALID
/external/harfbuzz_ng/src/hb-common.cc
389a7c9e67549b1a9f7c538965e4647077f8e6ec 12-May-2011 Behdad Esfahbod <behdad@behdad.org> Remove hb_static_threadsafe_set_t
/external/harfbuzz_ng/src/hb-common.cc
45bfa99034512e886d75b1d45a5a649647f4711f 11-May-2011 Behdad Esfahbod <behdad@behdad.org> Fix set implementation to be truly threadsafe even with destroy() callbacks

The test/object test is passing again, instead of deadlocking.
/external/harfbuzz_ng/src/hb-common.cc
08611d5194144bbf5d96a1110aeb812db06e0901 06-May-2011 Behdad Esfahbod <behdad@behdad.org> Add note re deadlocks
/external/harfbuzz_ng/src/hb-common.cc
34fb5521a5fbb6b95ceff4bbac42a62628bc9f31 06-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_language_get_default()

It uses locale information to detect default language. It's used by
hb_shape() whenever language is not set on the buffer.

Not sure how to properly test it in the test suite. Tested by observing
that with DejaVu Sans we select the proper local glyph version for U+431
under Serbian locale. See http://www.pango.org/ScriptGallery
/external/harfbuzz_ng/src/hb-common.cc
c78f4485587cc1dee07e772c164a13fde9d2859f 06-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add version macros and functions

Step version up to 0.5.0.

Also, fix to pass "make distcheck"
/external/harfbuzz_ng/src/hb-common.cc
46df6828513d56cd60467e36cbe45aa06648f488 05-May-2011 Behdad Esfahbod <behdad@behdad.org> Make user_data access threadsafe

For now, by taking a global user_data mutex.
/external/harfbuzz_ng/src/hb-common.cc
218e67b9eefa26e2e4fe43f99a84d082b185b1b0 05-May-2011 Behdad Esfahbod <behdad@behdad.org> Shrink code
/external/harfbuzz_ng/src/hb-common.cc
b8d6183ebc4697a434776cf2aec7857d63a7d881 05-May-2011 Behdad Esfahbod <behdad@behdad.org> Use threadsafe set implementation for hb_language lookups

Note that the static variable has to be a global static, as gcc
implements local statics differently and that would require linking
to libstdc++, which we don't want.
/external/harfbuzz_ng/src/hb-common.cc
b45f32ee4e599c515ce93e44315283d236b073bb 05-May-2011 Behdad Esfahbod <behdad@behdad.org> Use hb_array_t for hb_language_t mapping
/external/harfbuzz_ng/src/hb-common.cc
2000179487b49e0d504ec127450dc6fcb5568cec 03-May-2011 Behdad Esfahbod <behdad@behdad.org> Move Win32 thread-safety stuff to hb-object-private.h

The Win32 definitions for LONG, ULONG, etc conflicts with
hb-open-type.h. Avoid that by making sure hb-object-private.h
and hb-open-type.h are not included in the same compilation unit.
/external/harfbuzz_ng/src/hb-common.cc
fc52e9e44c2fe84d63f18dc0098720830f0b467d 03-May-2011 Behdad Esfahbod <behdad@behdad.org> Implement win32 thread-safety stuff

Patch from Bradley Grainger.
/external/harfbuzz_ng/src/hb-common.cc
d02985ec5a24c659a0a133cc6bc103f1d76bcb29 02-May-2011 Behdad Esfahbod <behdad@behdad.org> ISO 15924 fixes

Update to http://unicode.org/iso15924

Fixes some of the test failures in test-unicode with ICU. Still
one more to fix before the test passes.
/external/harfbuzz_ng/src/hb-common.cc
39a840ae65327b173e6eb1bb291e235a8305d7a1 27-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_direction_from/to_string()

And hb-view --direction argument.
/external/harfbuzz_ng/src/hb-common.cc
2409d5f8d7dd8b535ce5ea29e933f7db27d33793 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Update Copyright headers
/external/harfbuzz_ng/src/hb-common.cc
c57d454accff66e5f2c58006e8fb40bc020b6182 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Rename all private sources and headers to C++ files

So we can liberally use the simple features of C++ that parts of the
codebase is already using.
/external/harfbuzz_ng/src/hb-common.cc