Behdad Esfahbod
a62870506d
[sanitize] Use hb_static_size instead of ::static_size
...
https://github.com/harfbuzz/harfbuzz/issues/1496#issuecomment-448818112
6 years ago
Ebrahim Byagowi
0c9cd5d5f4
[test] Fix test-name-table.cc leak issue
...
Spotted it accidentally but wanted to see if is anything serious so went for fixing it
6 years ago
Behdad Esfahbod
3d9d7dc4dd
[arrays] Add hb_ubytes_t for unsigned char
6 years ago
Behdad Esfahbod
f1e95e40ed
[arrays] Remove hb_supplier_t<>
6 years ago
Behdad Esfahbod
f9417af29b
[serialize] Propagate error from hb-face
6 years ago
Behdad Esfahbod
9aebfb4182
[serialize] Streamline error propagation
6 years ago
Behdad Esfahbod
969ff3c7aa
Remove unused hb-iter.hh
...
The ideas there are all part of hb-array.hh now. To be determined how we
want to use generic iterator patterns.
6 years ago
Behdad Esfahbod
b1094fc2d2
[arrays] Minor tweaks to hb_supplier_t
...
I think I like to keep this hb_supplier_t thing separately from hb_array_t.
6 years ago
Behdad Esfahbod
cf39c24205
[arrays] Rename Supplier to hb_supplier_t
6 years ago
Behdad Esfahbod
6b5eaa7530
Hide hb_addressof()
6 years ago
Behdad Esfahbod
6befa75cdf
Enable __builtin_* on clang
...
We'll see which old clang versions this breaks...
6 years ago
Behdad Esfahbod
8d2d410256
Add hb_addressof() and use it to fix bug after hb_bytes_t merge
...
We cannot take address hb_bytes_t direction. We need to use the
newly added hb_addressof(), ala std::addressof().
6 years ago
Behdad Esfahbod
49334f9b50
Enable system extensions in hb.hh
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1491
6 years ago
prrace
37c14bc745
Fix Solaris use after free ( #1495 )
6 years ago
Behdad Esfahbod
483f2491e4
Remove define GNU_SOURCE
...
Not needed. We get it in our config.h automatically thanks to
AC_USE_SYSTEM_EXTENSIONS. Let's see whose build it breaks...
If we end up putting it back, we should add other things from
that macro and remove the macro.
6 years ago
Behdad Esfahbod
87ff65aea1
Fix more warnings
6 years ago
prrace
f9d219a174
Fix Solaris Trailing comma in enum warnings ( #1490 )
6 years ago
Ebrahim Byagowi
244a8627f7
Lower coretext_aat shaper priority ( #1488 )
...
Related to https://github.com/harfbuzz/harfbuzz/issues/1478
6 years ago
Ebrahim Byagowi
e412008599
Remove redundant void from C++ sources ( #1486 )
6 years ago
Ebrahim Byagowi
7ace10078c
Minor, fix two more ArrayOf incorrect operator logic
6 years ago
Behdad Esfahbod
a1240383aa
[arrays] Minor fix
6 years ago
Behdad Esfahbod
381c3548e9
[array] Add cast operator to add const to Type
...
In lieu of constructor removed in previous commit.
6 years ago
Behdad Esfahbod
15acf33c22
[array] Remove problematic constructor
6 years ago
Behdad Esfahbod
470369a871
[array] Add arithmetic operators
6 years ago
Behdad Esfahbod
6cd60c2f2a
[array] Return Crap instead of Null if Type is not const
...
Ouch!
6 years ago
Behdad Esfahbod
94e72cf1c9
[array] Add operator *
6 years ago
Behdad Esfahbod
68d4a5eee0
[array] Add constructor from fixed-size array
6 years ago
Behdad Esfahbod
a4354d2fd3
[array] Organize
6 years ago
Behdad Esfahbod
84c1865821
[arrays] Reduce Supplier<> even further
6 years ago
Behdad Esfahbod
1bcc4fc9f3
Whitespace
6 years ago
Behdad Esfahbod
f85f6e815f
[array] Add operator +=
6 years ago
Behdad Esfahbod
7c0e3e9b2b
[array] Add constructor from hb_array_t<const Type>
6 years ago
Behdad Esfahbod
92680361ec
[arrays] Move Supplier<> to hb-array.hh
6 years ago
Behdad Esfahbod
2a3fa3f82f
[arrays] Remove unnecessary constructor from Supplier<>
...
Looks like operator hb_array_t<> from vector works here. :)
6 years ago
Behdad Esfahbod
507cac4943
[arrays] Start moving Supplier<> to hb_array_t<>
6 years ago
Behdad Esfahbod
1e2c98126e
[arrays] Remove unused stride from Supplier
6 years ago
Behdad Esfahbod
0d0fe9df46
[arrays] Remove need of stride in Supplier<>
6 years ago
Behdad Esfahbod
dcfa4a8d71
[array] Remove custom hb_bytes_t implementation
6 years ago
Behdad Esfahbod
3656f56d47
[arrays] Minor
6 years ago
Behdad Esfahbod
aa8f94714e
[array] Minor
6 years ago
Behdad Esfahbod
5a552f7546
[array] Move hb_array_t and related types to hb-array.hh
6 years ago
Behdad Esfahbod
01d06e34ff
Minor change to explicit_operator aesthetics
6 years ago
Ebrahim Byagowi
b2ebaa9afa
Remove redundant 'inline' from methods ( #1483 )
6 years ago
Behdad Esfahbod
7251c77290
Whitespace
6 years ago
Behdad Esfahbod
829b56b1a2
Whitespace
6 years ago
Behdad Esfahbod
42a1012562
[subset] Actually subset GDEF
6 years ago
Behdad Esfahbod
c9c746c7f6
[subset] Fix up ClassDef some more
6 years ago
Behdad Esfahbod
7ee6128902
[subset] Fix ClassDefFormat1 subsetting
6 years ago
Behdad Esfahbod
1b6d0c44b3
[subset] Sketch GDEF subsetting
6 years ago
Behdad Esfahbod
705e2f5056
[subset] Implement for ClassDef
6 years ago