Behdad Esfahbod
56738429d6
[test] Fix warnings
6 years ago
Behdad Esfahbod
138f9e0f25
Minor
6 years ago
Behdad Esfahbod
83a612739a
[util] Minor
6 years ago
Behdad Esfahbod
64e41d2c89
[test] Fix Python3
6 years ago
Ebrahim Byagowi
f7a08cd41d
Fix extra semicolon issues and test that on CI ( #1330 )
6 years ago
Behdad Esfahbod
422debb830
[test/shaping] Spawn one hb-shape per test file
...
Speeds up runnings in-house tests from over 20s to 2s.
6 years ago
Behdad Esfahbod
58e20f53bf
[util] Add hb-shape --batch
6 years ago
Behdad Esfahbod
6131fb6283
[util] Don't close stdin/stdout
6 years ago
Behdad Esfahbod
7e998d193a
Fix spurious warning re uninitialized use
6 years ago
Ebrahim Byagowi
1b7bfb5e18
[cmake] Make build of tests and subset optional ( #1329 )
6 years ago
Behdad Esfahbod
b186274362
[set/map] Fix uninitialized memory
...
I keep forgetting that primitive types are NOT initialized during construction. :|
6 years ago
Behdad Esfahbod
ad3cededdd
[fuzzing] Make test runners less verbose
6 years ago
Behdad Esfahbod
4ef671f25f
[unicode] Fix a long-standing double-declaration warning
6 years ago
Behdad Esfahbod
166ae8b0aa
Remove now unused hb_auto_t<>
6 years ago
Behdad Esfahbod
56e0fd345c
Remove last use of hb_auto_t<>
6 years ago
Behdad Esfahbod
ca5e5a4979
Port Coverage::Iter off hb_auto_t<>
6 years ago
Behdad Esfahbod
3a4e5dd425
Remove a few unnecessary hb_auto_t<>'s
...
See a85641446c30247c4e948263f0f8c1147ed4efb9
6 years ago
Behdad Esfahbod
67a22f377d
[set/map/vector] Make constructable, but not copy or assignable
...
Disable copy/assign on them, as they shouldn't.
Make constructor / destructor call init_shallow/fini_shallow,
and make those idempotent. So, these three can be constructed
on stack now and no init/fini call is needed. As such,
hb_auto_t<> is not needed anymore. I'll remove that separately.
6 years ago
Behdad Esfahbod
ea0e51d1b1
Add HB_NO_CREATE_COPY_ASSIGN
6 years ago
Behdad Esfahbod
5b563640b2
Remove HB_DISALLOW_COPY_AND_ASSIGN from hb_ot_shape_planner_t
...
It was arbitrary that this struct had it and not dozens of others.
6 years ago
Behdad Esfahbod
14b353c185
One more iteration
6 years ago
Behdad Esfahbod
c7c5df9ffd
Try fixing older bots
...
Older C++ doesn't allow struct-with-constructor in union.
6 years ago
Behdad Esfahbod
be87959a67
[cmap] Minor
6 years ago
Behdad Esfahbod
35d410f2ba
Remove ASSERT_POD
...
Newer compilers / language allows structs with constructor in union.
So, this was not actually testing anything. Indeed, the recent
change in DISALLOW_COPY *is* making some of our types non-POD.
That broke some bots.
Just remove this since it wasn't doing much, and I'd rather have
DISALLOW_COPY.
6 years ago
Behdad Esfahbod
6f0454e176
Fix extra-semicolon warnings
6 years ago
Behdad Esfahbod
a256a92b3f
Make Array types uncopyable-unassignable
...
Finally! Catches hard-to-find errors like this:
- const SortedArrayOf<SVGDocumentIndexEntry> docs = this+svgDocEntries;
+ const SortedArrayOf<SVGDocumentIndexEntry> &docs = this+svgDocEntries;
We implement this for our array types. This, in turn, trickles down
into all types that embed the arrays. So, as long as we define all
open-ended structs in terms of Array types (all can be done using
UnsizedArrayOf), this achieves the goal of making uncopyable all
structs that are variable-sized. Yay!
6 years ago
Behdad Esfahbod
31cc1f74b7
[svg] Minor
6 years ago
Behdad Esfahbod
1366bb9760
Fix g-i warnings
6 years ago
Ebrahim Byagowi
ae802c2c6e
[test-ot-color] Minor
6 years ago
Ebrahim Byagowi
7170e35096
Rename deprecated symbols list file name and clean it up ( #1328 )
6 years ago
Ebrahim Byagowi
1dfe964378
Merge pull request #1326 from ebraminio/test-ot-color
...
Revive and rename dump-emoji to test-ot-color but use public APIs instead
6 years ago
Ebrahim Byagowi
9c692e5b8d
[test-ot-color] Use public APIs on the tool
6 years ago
Ebrahim Byagowi
fb525f8943
Rename dump-emoji to test-ot-color
6 years ago
Ebrahim Byagowi
81bcf47e9e
Revive dump-emoji
6 years ago
Ebrahim Byagowi
f10252b4b6
[svg] Fix incorrect array referencing
6 years ago
Behdad Esfahbod
5eb251aab0
[cbdt] Implement strike selection logic
6 years ago
Behdad Esfahbod
98bddbc8ef
[sbix] Minor
6 years ago
Behdad Esfahbod
8cffee0577
[cbdt] Simplify more
6 years ago
Behdad Esfahbod
574579d376
[color] Rename get_strike() to choose_strike()
6 years ago
Behdad Esfahbod
0aa90271fd
[tests] Fix for recent rounding change in CBDT
6 years ago
Behdad Esfahbod
e2ba96da4c
[cbdt] Refactor get_strike()
6 years ago
Behdad Esfahbod
6983cca9c8
[cbdt] Minor
6 years ago
Behdad Esfahbod
e998fb9fbf
[color] Round extents when scaling
6 years ago
Ebrahim Byagowi
c929ccfcea
[ot-color/png] Consider strike ppem on scaling
6 years ago
Behdad Esfahbod
a8c9facf7a
[svg] Cosmetic
6 years ago
Behdad Esfahbod
9c1460e568
[svg] Use SortedArrayOf.bsearch
6 years ago
Behdad Esfahbod
18dd6363a5
[svg] Minor
6 years ago
Behdad Esfahbod
4876c938a2
[sbix] Comment
6 years ago
Behdad Esfahbod
519fca1014
[color] Minor
6 years ago
Behdad Esfahbod
e8ff27c208
Minor
6 years ago