Behdad Esfahbod
f64b2ebf82
Remove last static initializer
...
We're free! Lazy or immediate...
13 years ago
Behdad Esfahbod
4a8a529068
Make hb-view err if all shapers failed
13 years ago
Behdad Esfahbod
04aed572f1
Make hb-ft static-initializer free
13 years ago
Behdad Esfahbod
be4560a3b5
Undo default unicode-funcs to avoid static initializer again
13 years ago
Behdad Esfahbod
093171ccec
Implement lock-free hb_language_t
...
Another static-initialization down. One more to go.
13 years ago
Behdad Esfahbod
6843ce01be
Add atomic-pointer functions
...
Gonig to use these for lock-free linked-lists, to be used for
hb_language_t among other things.
13 years ago
Behdad Esfahbod
cdafe3a7d8
Add gcc intrinsics implementations for atomic and mutex
13 years ago
Behdad Esfahbod
d970d2899b
Add gcc implementation for atomic ops
13 years ago
Behdad Esfahbod
0e253e97af
Add a mutex to object header
...
Removes one more static-initialization. A few more to go.
13 years ago
Behdad Esfahbod
a2b471df82
Remove static initializers from indic
13 years ago
Behdad Esfahbod
f06ab8a426
Better hide nil objects and make them const
13 years ago
Behdad Esfahbod
bf93b636c4
Remove constructor from hb_prealloced_array_t
...
This was causing all object types to be non-POD and have static
initializers. We don't need that!
Now, most nil objects just moved from .bss to .data. Fixing for that
coming soon.
13 years ago
Behdad Esfahbod
7037291aac
Check for atexit()
13 years ago
Behdad Esfahbod
f1971a2174
Fix warnings
13 years ago
Behdad Esfahbod
b0a6e58bb3
s/script-punjabi/script-gurmukhi/
13 years ago
Behdad Esfahbod
c188548312
Add --verbose to hb-shape
...
Just turns all --show-* options on.
13 years ago
Behdad Esfahbod
9fc7a11469
Remove comma at the end of enum
...
As reported by Jonathan Kew on the list.
13 years ago
Behdad Esfahbod
3b8fd9c48f
Remove const from ref_count.ref_count
...
According to Tom Hacohen this was breaking build with some compilers.
In file included from hb-buffer-private.hh:35:0,
from hb-ot-map-private.hh:32,
from hb-ot-shape-private.hh:32,
from hb-ot-shape.cc:29:
hb-object-private.hh: In constructor '_hb_object_header_t::_hb_object_header_t()':
hb-object-private.hh:97:8: error: uninitialized const member in 'struct hb_reference_count_t'
hb-object-private.hh:51:25: note: 'hb_reference_count_t::ref_count' should be initialized
In file included from hb-ot-shape.cc:33:0:
hb-set-private.hh: In constructor '_hb_set_t::_hb_set_t()':
hb-set-private.hh:37:8: note: synthesized method '_hb_object_header_t::_hb_object_header_t()' first required here
hb-ot-shape.cc: In function 'void hb_ot_shape_glyphs_closure(hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int, hb_set_t*)':
hb-ot-shape.cc:521:12: note: synthesized method '_hb_set_t::_hb_set_t()' first required here
13 years ago
Behdad Esfahbod
70600dbf62
Minor
13 years ago
Behdad Esfahbod
ae62166519
[util] Minor
13 years ago
Behdad Esfahbod
5db0683a82
[util] Make hb-shape continue shaping other lines if shapers failed
13 years ago
Behdad Esfahbod
96a9ef0c9f
Remove tab character like other "zero-width" characters
...
Uniscribe does that, this make comparing results to Uniscribe
easier.
13 years ago
Behdad Esfahbod
cd6a549341
Remove unused variable
13 years ago
Behdad Esfahbod
0558d55bac
Remove hb_atomic_int_set/get()
...
We never use them in fact...
I'm just adjusting these as I better understand the requirements of
the code and the guarantees of each operation.
13 years ago
Behdad Esfahbod
4efdffec09
Minor Malayalam test case
...
From https://bugs.freedesktop.org/show_bug.cgi?id=45166
13 years ago
Behdad Esfahbod
dfff5b3021
Add Myanmar test case
13 years ago
Behdad Esfahbod
bce095524b
Add hb_font_get_glyph_name() and hb_font_get_glyph_from_name()
13 years ago
Behdad Esfahbod
bc145658bd
Warn if no Unicode functions implementation is found
13 years ago
Behdad Esfahbod
a3547330fa
Cleanup atomic ops on OS X
13 years ago
Behdad Esfahbod
e4b6d503c5
Don't use atomic ops in hb_cache_t
...
We don't care about linearizability, so unprotected int read/write
are enough, no need for expensive memory barriers. It's a cache,
that's all.
13 years ago
Behdad Esfahbod
819faa0530
Minor
13 years ago
Behdad Esfahbod
303d5850ec
Fix Windows atomic get/set
...
According to:
http://msdn.microsoft.com/en-us/library/65tt87y8.aspx
MemoryBarrier() is the right macro to protect these, not _ReadBarrier()
and/or _WriteBarrier().
13 years ago
Behdad Esfahbod
8f8956a55f
[util] Add hidden --shaper that is equivalent of --shapers
13 years ago
Behdad Esfahbod
29ce446d31
Add set iterator
13 years ago
Behdad Esfahbod
62c3e111fc
Add set symmetric difference
13 years ago
Behdad Esfahbod
27aba594c9
Minor
13 years ago
Behdad Esfahbod
cde1c0114b
Fix hb_atomic_int_set() implementation for HB_NO_MT
...
As pointed out by Jonathan Kew.
13 years ago
Behdad Esfahbod
3b9b7133be
Update TODO
13 years ago
Behdad Esfahbod
ff3524c21a
Add Arabic diacritics tests
13 years ago
Behdad Esfahbod
ed2f1363a3
Fix substitution glyph class propagation
...
The old code was doing nothing.
Still got to find an example font+string that makes this matter, but
need this for fixing synthetic GDEF anyway.
13 years ago
Behdad Esfahbod
a6de53664d
Add CJK Compatibility Ideographs tests
...
From:
http://people.mozilla.org/~jdaggett/tests/cjkcompat.html
13 years ago
Behdad Esfahbod
20fdb0f41d
Add a lock-free cache type for int->int functions
...
To be used for cmap and advance caching if desired.
13 years ago
Behdad Esfahbod
bd908b4f10
Implement hb_atomic_int_set() for OS X
13 years ago
Behdad Esfahbod
022a05ae90
Minor
13 years ago
Behdad Esfahbod
22afd66a30
Add hb_atomic_int_set() again
13 years ago
Behdad Esfahbod
4aa7258cb1
Fix type conflicts on Windows without glib
13 years ago
Behdad Esfahbod
f039e79d54
Don't use min/max as function names
...
They can be macros on some systems. Eg. mingw32.
13 years ago
Behdad Esfahbod
34961e3198
Prefer native atomic/mutex ops to glib's
13 years ago
Behdad Esfahbod
ec3ba4b96f
Move atomic ops into their own header
13 years ago
Behdad Esfahbod
de0878395b
Update TODO
13 years ago