Behdad Esfahbod
b931e0b0ce
Fix warnings
...
Part of https://github.com/behdad/harfbuzz/pull/68
10 years ago
Behdad Esfahbod
cdcdfe61b9
Err, instead of warn, if mutex / atomic / unicode funcs are missing
...
Hopefully this results in fewer badly built HarfBuzz integrations.
10 years ago
Behdad Esfahbod
fc3c59a1d7
Fix unused var warnings
10 years ago
Konstantin Ritt
3f174cd020
Minor refactoring to the atomics implementation
...
s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/
to bring it in par with hb_mutex_impl_t, then re-introduce
hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t.
In hb_reference_count_t, make it clear the non-atomic get and set
are intentional due to nature of the cases they are used in
(comparison to -1 and the debug output/tracing).
10 years ago
Behdad Esfahbod
24930d544e
Minor
10 years ago
Behdad Esfahbod
45a8b46f47
Allow implementing atomic and mutex ops in config
...
Motivated by
https://github.com/behdad/harfbuzz/pull/92
10 years ago
Behdad Esfahbod
3fe4e92bc5
Minor
10 years ago
Behdad Esfahbod
9868749abe
[test] Use /usr/bin/env python instead of /usr/bin/python
...
Bug 76494 - #!/usr/bin/python in testsuite
https://bugs.freedesktop.org/show_bug.cgi?id=76494
10 years ago
Behdad Esfahbod
bfcddd32a6
Merge pull request #93 from ebraminio/archpy3
...
Make hb_test_tools.py compatible with python 3
10 years ago
Behdad Esfahbod
ce01ad7c2f
MSVC 2015 supports snprintf and not _snprintf
10 years ago
Behdad Esfahbod
560718862f
Move WinCE define to better place
10 years ago
Ebrahim Byagowi
363ceec3fb
Make hb_test_tools.py compatible with python 3
...
On ArchLinux, /usr/bin/python is linked to python 3 so
HarfBuzz `make check` is broken there.
This makes hb_test_tools.py compatible with python 3 while
no breaking it on python 2.
10 years ago
Behdad Esfahbod
aee685086c
Fix VC++ /analyze warnings
...
out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using
uninitialized memory 'pos'.
10 years ago
Behdad Esfahbod
8886ab430c
Merge pull request #90 from khaledhosny/introspection-fixes
...
[bindings] Fix *_from_string functions
10 years ago
Khaled Hosny
a394bb6670
[bindings] Fix *_from_string functions
...
Without the element-type they will be getting garbage, at least with
Python.
10 years ago
Behdad Esfahbod
e3671b8f8b
0.9.40
10 years ago
Behdad Esfahbod
9e401f6890
Fix reverse_range() for empty range
...
Fixes coretext notdef loop consisting of all default_ignorable glyphs
https://code.google.com/p/chromium/issues/detail?id=464755
10 years ago
Behdad Esfahbod
7481bd49d5
Fix previous commit
...
I misunderstood how which works.
10 years ago
Behdad Esfahbod
6763e21afb
Accept glibtoolize as libtoolize
...
Of course, we don't really run it, autoreconf does. We just
err if neither is available. glibtoolize is the name it is
shipped under on OS X. Reported by Adam.
10 years ago
Behdad Esfahbod
02a04e6afb
0.9.39
10 years ago
Behdad Esfahbod
98e3ea8e34
Fix hb-uniscribe build
10 years ago
Behdad Esfahbod
8ac345e5c0
Fix reverse_range() to only reverse alt array if positions are used
...
In hb-coretext, when we were using scratch buffer for book-keeping,
a reverse_range() caused by the notdef-insertion loop could mess up
our log_clusters. Ouch!
10 years ago
Behdad Esfahbod
1e03d7ac83
Better error message if libtool is not installed
...
Fixes https://github.com/behdad/harfbuzz/pull/88
10 years ago
Behdad Esfahbod
6c918e2997
Clean up gtk-doc.make
10 years ago
Behdad Esfahbod
5ec5875acb
Install git.mk in docs/
10 years ago
Behdad Esfahbod
d146678d10
Update git.mk from upstream
10 years ago
Behdad Esfahbod
5f541f8f7b
Minor refactoring
10 years ago
Behdad Esfahbod
ef79bdf73b
Minor
10 years ago
Behdad Esfahbod
68e04afbb1
Typo
10 years ago
Behdad Esfahbod
55553699b3
Minor
10 years ago
Behdad Esfahbod
5175300fba
[layout] Fix comparison of GlyphID and hb_codepoint_t
...
Before, the IntType::cmp functions providing this and was truncating
the hb_codepoint_t to 16bits before comparison. I have no idea how
this was never discovered, and I'm too lazy to try to reproduce this
with Pango (which uses non-16bit codepoint numbers for missing glyphs).
10 years ago
Behdad Esfahbod
7cce809cb1
Remove unused (and wrong as of a few commits ago) cmp() function
10 years ago
Behdad Esfahbod
8e3d4bae03
Minor
10 years ago
Behdad Esfahbod
f47cf1f12d
Minor
10 years ago
Behdad Esfahbod
640b66c634
[layout] If lookup has only one subtable, move the forward loop down to subtable
...
I was hoping to see a nice speedup, but it resulted in a very minor one.
10 years ago
Behdad Esfahbod
e2f50f2a7e
[layout] Add apply_forward / apply_backward
10 years ago
Behdad Esfahbod
1d4a328472
[layout] Remove unneeded return value from apply()
10 years ago
Behdad Esfahbod
bbdd6fd21c
Minor simpilfy BEInt
10 years ago
Behdad Esfahbod
88a399acdc
Optimize IntType comparison to avoid branches for 16bit numbers
10 years ago
Behdad Esfahbod
37de2d5331
Minor simplify IntType
10 years ago
Behdad Esfahbod
bd047d3b7f
[layout] Minor
10 years ago
Behdad Esfahbod
b9d3f60520
[layout] Minor
10 years ago
Behdad Esfahbod
1a2322134a
[layout] Don't check glyph props against lookup flags when recursing
...
Shouldn't be needed. I have a hard time imagining this breaking any
legitimate use case.
10 years ago
Behdad Esfahbod
095a1257cc
[layout] Port sanitize() to use dispatch()
...
Needed some rework of Extension table. Hopefully I got it right, and
the new template usage doesn't break any compilers...
10 years ago
Behdad Esfahbod
758fb20630
Remove unused macro
10 years ago
Behdad Esfahbod
40c58923cb
[layout] Refactor Lookup::dispatch()
10 years ago
Behdad Esfahbod
70366f5d19
[layout] Refactor get_subtable()
10 years ago
Behdad Esfahbod
f72f326aea
Minor
10 years ago
Behdad Esfahbod
8e36ccfd4f
[layout] Use dispatch() for add_coverage()
10 years ago
Behdad Esfahbod
50b8dc79da
[layout] Add may_dispatch()
...
No functional change right now.
10 years ago