Behdad Esfahbod
99ed6e29d8
[serialize] Fix a TODO
6 years ago
rsheeter
d8a49b53e3
Update TESTING.md
6 years ago
Behdad Esfahbod
25a5b287f2
Fix sanitize fail of extension sublookups
...
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=960331
6 years ago
Behdad Esfahbod
9c0c3589f3
Minor
6 years ago
Behdad Esfahbod
5d773ec600
Minor
6 years ago
Behdad Esfahbod
ac737f8c9e
Minor again
6 years ago
Behdad Esfahbod
5d4437fad0
Minor
6 years ago
Behdad Esfahbod
cd9bc732a7
[gsubgpos] Minor
6 years ago
Behdad Esfahbod
6d63e27ca4
Generate tarball in .xz instead of .bz2
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1662
6 years ago
Behdad Esfahbod
1d870cce68
Fix bot
...
Any way to catch these?
6 years ago
Behdad Esfahbod
30e4ae6bd1
[meta] Add hb_is_base_of
6 years ago
Behdad Esfahbod
98974ac16f
[iter] Adjust is_source_of / is_sink_of
...
There are two cases that we accept. Encode both.
6 years ago
rsheeter
1b58bf22ca
Update TESTING.md
6 years ago
Behdad Esfahbod
ed972d5d73
[iter] Rewrite test functions
...
Notably, add hb_is_source_of(,) and hb_is_sink_of(,) to replace most
uses of hb_is_iterator_of(,).
6 years ago
Behdad Esfahbod
42901d7af9
Minor
6 years ago
Behdad Esfahbod
322627ae1d
Whitespace
6 years ago
Behdad Esfahbod
489f3c35bd
Fix bot
6 years ago
Behdad Esfahbod
790315e0db
[algs] Implement implicit casting between compatible pair types
6 years ago
Behdad Esfahbod
69d9114b53
[meta] Rewrite hb_is_cr_converitble
6 years ago
Behdad Esfahbod
ceda1f03b7
Fix compile
...
NameRecord is not copy-constructible, so should be iterator of
const-reference.
6 years ago
Behdad Esfahbod
3686c3b65c
Adjust is_cr_convertible
...
If To is const& then From doesn't need to be &.
6 years ago
Behdad Esfahbod
726002a6a6
[iter] Make hb_is_iterator_of() check is_convertible
...
Instead of is_cr_convertible.
6 years ago
Behdad Esfahbod
70a49f2e4a
[meta] Add hb_conditional<> and hb_is_convertible()
6 years ago
Garret Rieger
5e3cbed048
[subset] Switch building of glyph maps in subset plan to use iterators.
6 years ago
Garret Rieger
971020eca7
Add sink support for hb_hashmap_t and a reverse call to hb_pair_t.
6 years ago
Behdad Esfahbod
98eec3dd5f
Add hb_pair_t(,) macro as alternative to hb_pair_t<,>
...
Just so it's easier to use it in other macros.
6 years ago
Behdad Esfahbod
c9b287a867
Add hb_lidentity(), and rename hb_rvalue() to hb_ridentity()
6 years ago
Behdad Esfahbod
00195a22ce
[hdmx] Adjust to hb_iota() behavior change
...
Use hb_range() instead.
6 years ago
Behdad Esfahbod
4f2ad75a83
[enumerate] Fix hb_enumerate() len for step=0
6 years ago
Behdad Esfahbod
5da3c9c33f
[iter] Fix hb_zip() end condition
...
We should compare-equal to end if either iterator's end reaches,
not if both reach at the same time. Fixes infinite-loop in test
which was happening after hb_enumerate() switched to using hb_zip().
6 years ago
Behdad Esfahbod
57a5256fbc
[iter] Minor
6 years ago
Behdad Esfahbod
12dd56f857
[iter] Minor
6 years ago
Behdad Esfahbod
57d545932f
[test-iter] Don't walk past end
...
That's not legal.
6 years ago
Behdad Esfahbod
46837910e6
[iter] Allow negative step in hb_iota()
6 years ago
Behdad Esfahbod
087327af1e
[iter] Minor
6 years ago
Behdad Esfahbod
64f0899a9f
[iter] Bug fix
6 years ago
Behdad Esfahbod
5d263556b9
[iter] Fix
6 years ago
Behdad Esfahbod
2c24ea37b1
[iter] Take start value in hb_enumerate()
...
Also rewrite it via composition.
6 years ago
Behdad Esfahbod
7675d0d3a6
[iter] Add hb_range()
...
hb_range() is like Python range. hb_iota() has slightly different API.
Ie. it takes a start, instead of end.
6 years ago
Behdad Esfahbod
05867d9f53
[meta] Add hb_int_max()
6 years ago
Behdad Esfahbod
71537f93e0
[iota] end -> end_ to not shadow
6 years ago
n8willis
6bc8257910
Merge pull request #1680 from n8willis/usermanual-obj
...
Usermanual: object-model chapter
6 years ago
Behdad Esfahbod
3476445420
Remove unnecessary template keyword
...
Should fix MSVC.
6 years ago
Behdad Esfahbod
e2a51ff726
Remove unused var
6 years ago
Behdad Esfahbod
e8b45c1933
[array] Add .copy()
6 years ago
Behdad Esfahbod
afb013f350
Fix msan issue
...
hb_identity returns rvalue-reference if input is rvalue. That, can leak
the reference and cause in bad access to temporaries after they are
destructed. This is unfortunately unfixable given the desired
transparency of hb_identity :(. Just don't use it with hb_map().
6 years ago
Behdad Esfahbod
4c94bc63d9
Move hb_invoke() back to hb-algs.hh
6 years ago
Behdad Esfahbod
b710176ce2
[hdmx] Touch up
6 years ago
Garret Rieger
e8ef0e627c
[subset] WIP convert hdmx subsetting to use iterators.
6 years ago
Garret Rieger
d5decf9bf7
[subset] Move hdmx to subset2.
6 years ago