Behdad Esfahbod
57795bc8dd
[iter] Add operator>> and operator<<
6 years ago
Behdad Esfahbod
8bd96be994
[iter] Use auto c = C.iter() internally
6 years ago
Behdad Esfahbod
073fa4ac5a
Merge branch 'master' into iter
6 years ago
Behdad Esfahbod
9a1df82e3f
[uniscribe] Whitelist function type cast
6 years ago
Behdad Esfahbod
6e1c3eaf70
Fix sign comparison error
6 years ago
Behdad Esfahbod
9db7a7da63
Fix warning
...
c:\projects\harfbuzz\src\hb-ot-color-cbdt-table.hh(59): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
6 years ago
Behdad Esfahbod
51b584880e
[pragma] Silence MSVC unknown-pragma warning
6 years ago
Behdad Esfahbod
d592bd16cd
Try fixing MSVC build
6 years ago
Behdad Esfahbod
0363ce650b
[iter] Accept C arrays in hb_iter()
6 years ago
Behdad Esfahbod
b62e7f9223
[test] Test unary operator+
...
"Test" as in compiles..
6 years ago
Behdad Esfahbod
778c96b8d7
[iter] Fix hb_iter()
6 years ago
Behdad Esfahbod
2f5b1a9104
[iter] Add unary operator+ that returns a copy
6 years ago
Behdad Esfahbod
fbab07f9b3
[iter] Add hb_bool() and make hb_filter default to it for predicate
6 years ago
Behdad Esfahbod
313d63e240
[meta] Back to using _ft suffix for function-object types
...
Seprate namespace, cleaner, more clear.
6 years ago
Behdad Esfahbod
2aff6d9625
[iter] Test that default-constructed iterators are empty
6 years ago
Behdad Esfahbod
f35e7eabf1
pragma GCC diagnostic error "-Winjected-class-name"
...
See 6b6783e158
6 years ago
Behdad Esfahbod
509353357c
[iter] Use hb_declval() instead of Null() to get instance
...
I had used Null to make one of the bots happy before. Not going
to bend to such demands anymore..
6 years ago
Behdad Esfahbod
6b6783e158
[iter/meta] Fix build on newer clang
...
The mystery failure had to do with SFINAE failure because the template
function involved was accessing ::iter_t of a type that was also named iter_t.
In this context, apparently:
warning: ISO C++ specifies that qualified reference to 'iter_t' is a
constructor name rather than a type in this context, despite preceding 'typename' keyword
[-Winjected-class-name]
We use a new macro, also called hb_iter_t(), to get iterator type of
a type. This uses declval/hb_decltype, and has the added benefit
that it returns correct type for const vs non-const objects, if they
have different iterators.
6 years ago
Behdad Esfahbod
5adb113baf
[meta] Mark function-objects as const
6 years ago
Behdad Esfahbod
ac90f17c55
Merge branch 'master' into iter
6 years ago
Behdad Esfahbod
60022ecced
Fix -Wcast-function-type warnings in util/ with gcc 4.8
6 years ago
Behdad Esfahbod
a9321cb5f8
Fix mac test
6 years ago
Behdad Esfahbod
f398097529
More static constexpr
6 years ago
Behdad Esfahbod
090fe56dc6
Merge branch 'master' into iter
6 years ago
Behdad Esfahbod
06358ae974
[AAT] Add test for recent Ligature stack fix, using Zapfino on Mac
6 years ago
Michiharu Ariza
c685644386
Merge branch 'master' into cff-more-arrayof-fixes
6 years ago
Behdad Esfahbod
e970de48bc
[AAT] Minor sign
6 years ago
Behdad Esfahbod
a371a28cda
[AAT] Use a ring buffer for ligature stack
...
I think Apple does very similarly, but probably with a stack size of 16.
We do it with a stack size that is currently set to 64.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1531
6 years ago
Behdad Esfahbod
7886b1578f
Whitespace
6 years ago
Behdad Esfahbod
b976940243
[AAT] Handle transition errors during machine operation
...
Before we used to give up. Now, just ignore error and continue processing.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1531
6 years ago
Michiharu Ariza
0bd0a3311c
Merge branch 'master' into cff-more-arrayof-fixes
6 years ago
Behdad Esfahbod
e234bb6a42
[AAT] Ignore machine errors and continue
6 years ago
Behdad Esfahbod
1ec90514f6
[AAT] Minor
6 years ago
Behdad Esfahbod
299eca0c3b
[AAT] Handle out-of-bounds classes
6 years ago
Behdad Esfahbod
c4623db4a3
[AAT] Minor
6 years ago
Behdad Esfahbod
c4e36f97b6
[AAT] Minor
6 years ago
Behdad Esfahbod
f60282c5bf
More pragma control
...
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=924848
6 years ago
Behdad Esfahbod
fd0889f903
Comment
6 years ago
Behdad Esfahbod
00f06d1aa6
Fix test
6 years ago
Behdad Esfahbod
9f31417733
Form cluster for Emoji sub-region tag sequences
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1556
6 years ago
Behdad Esfahbod
5034f8f2ab
Fix macos tests with previous commit
6 years ago
Behdad Esfahbod
3ecda71041
Adjust mark offsets when zeroing from fallback mark positioning code
...
Adjust tests.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1532
6 years ago
Michiharu Ariza
12cd3171ba
Merge branch 'master' into cff-more-arrayof-fixes
6 years ago
Michiharu Ariza
261a742181
more rewriting with ArrayOf<>
...
CFF1 Encoding0, Encoding1, CFF1SuppEncData
6 years ago
Behdad Esfahbod
36fb2b4da9
[AAT] In InsertionChain, set mark to previous-position if inserting
...
Fixes MORX-31
6 years ago
Behdad Esfahbod
cbe0ed117a
[AAT] Re-enable tests MORX-31 and MORX-41
6 years ago
Behdad Esfahbod
baf4d6a68a
[AAT] Remove mark_set from InsertionChain
6 years ago
Behdad Esfahbod
410731d3fb
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
0b2fa342de
More of previous
6 years ago
Behdad Esfahbod
a5e5dd8b42
Fix sign-compare error resulted from promoting unsigned integers to signed larger ints
...
Clang and gcc know not to warn in these cases, but not nonmainstream compilers
6 years ago