|
54ece299
|
2019-04-16T16:45:53
|
|
Use type aliasing for meta-functions, ie. those returning a type
|
|
1ce11b44
|
2019-04-16T10:04:45
|
|
Reduce LangTag from 3 language system tags to 1
|
|
155e92f2
|
2019-04-16T11:35:09
|
|
Reduce NullPool size
|
|
4fc2d2d7
|
2019-04-16T11:24:42
|
|
[meta] Flesh out hb_invoke()
|
|
e03d9395
|
2019-04-16T11:20:16
|
|
Comment
|
|
b8e763fd
|
2019-04-16T10:50:22
|
|
[meta] Add hb_invoke()
|
|
a3fcb9a3
|
2019-04-16T10:45:20
|
|
[meta] Add HB_AUTO_RETURN_EXPR, HB_VOID_RETURN_EXPR, hb_priority, hb_has(), hb_get()
The first three based on range-v3.
|
|
ff68be31
|
2019-04-16T09:59:08
|
|
Add hb_void_tt<> ala std::void_t
|
|
89fea216
|
2019-04-15T17:36:09
|
|
Fix copyright
|
|
b7384c89
|
2019-04-15T16:53:10
|
|
[fuzzing] Run valgrind with --leak-check=full
|
|
3ff66c00
|
2019-04-15T16:52:21
|
|
[fuzzing] Fail if valgrind is requested but not found
|
|
07776b60
|
2019-04-15T16:43:34
|
|
More tweaks to previous commit
Delete assignment operator of OffsetTo<> instead of Offset<>.
In simple ArrayOf<>::sanitize() assert that Type has assignment operator.
Ideally we should SFINAE this and fallback to calling Type::sanitize()
if assignment operator is not available. But we don't have a case of
that in the codebase.
|
|
699de689
|
2019-04-15T16:00:20
|
|
Delete default assignment operator Offset<>
|
|
02d864aa
|
2019-04-15T15:39:03
|
|
Add HB_FUNCOBJ()
Fixes https://github.com/harfbuzz/harfbuzz/issues/1651
|
|
60be1450
|
2019-04-15T18:05:14
|
|
[Usermanual]: fix Tamil error in Why-do-I-need-a-shaping-engine section.
|
|
38b1d0b9
|
2019-04-15T12:44:31
|
|
Move static const to post-struct for a function object
Just sending this to bots to see if all happy, then turn it into macro and
apply everywhere.
Part of https://github.com/harfbuzz/harfbuzz/issues/1651
|
|
19e800c9
|
2019-04-15T12:07:00
|
|
Ugh. Another try, to unbreak gcc this time!
Jenga.
|
|
3a88f55c
|
2019-04-15T11:59:57
|
|
Move location of HB_UNUSED to make MSVC happy
|
|
1ae26588
|
2019-04-15T11:31:40
|
|
Fix gcc warning
|
|
c0ea37b5
|
2019-04-15T00:34:04
|
|
[ci] Fix macOS glib issue
|
|
47e538a3
|
2019-04-12T22:50:22
|
|
Add HB_NO_SUBSET_LAYOUT
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
a98e4068
|
2019-04-12T22:42:44
|
|
Revert "Hide symbols in hb-iter"
This reverts commit 98f14c4cdb837a962083a6702f401d41b4c1ec5c.
Same as previous commit.
|
|
dab92bdd
|
2019-04-12T22:39:38
|
|
Revert "Hide more symbols"
This reverts commit 2e86d50915cf1a791da9acb95245aa820a3d70f4.
I think the setup that caused me to do this is faulty and not hiding inlines.
|
|
98f14c4c
|
2019-04-12T18:11:18
|
|
Hide symbols in hb-iter
Painful. All template methods need to be explicitly hidden :(.
Maybe we should switch to -fvisibility=hidden pragma.
A LOT more to go.
|
|
2e86d509
|
2019-04-12T18:07:42
|
|
Hide more symbols
Exposed by:
$ make -j5 CPPFLAGS="-O0" CXXFLAGS=-flto=thin LDFLAGS=-lc++ && ./check-symbols.sh
|
|
caa20e4e
|
2019-04-12T17:59:18
|
|
Hide a few more symbols
Exposed by:
$ make CPPFLAGS=-O0
|
|
95df00ae
|
2019-04-12T17:50:03
|
|
Hide a few static methods
Looks like static methods that do not get inlined end up exported.
We have a lot more. Need to protect all at some point. Wish there
was an easier way, like the visibility flag we pass that automatically
hides all inline methods.
Was exposed by check-symbols.sh when compiling on OS X 10.14 with:
$ make CPPFLAGS=-Oz CXXFLAGS=-flto=thin LDFLAGS=-lc++
|
|
2f4be4ba
|
2019-04-12T16:21:58
|
|
Add HB_NO_OPTIONS
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
079d2dcb
|
2019-04-12T15:00:37
|
|
Add HB_NO_NAME_TABLE_AAT
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
60a58aa6
|
2019-04-12T14:58:53
|
|
Add HB_NO_OT_FONT_BITMAP
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
160c4d8b
|
2019-04-12T14:57:49
|
|
Add HB_NO_OT_FONT_CFF
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
35f3b97f
|
2019-04-12T10:16:12
|
|
Add HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
414c5de2
|
2019-04-12T10:12:11
|
|
Add HB_NO_OT_SHAPE_FALLBACK
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
fe0018f7
|
2019-04-12T09:35:29
|
|
Add HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
9ddbfa00
|
2019-04-12T09:33:25
|
|
Add HB_NO_OT_LAYOUT_BLACKLIST
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
571fad4c
|
2019-04-11T17:54:38
|
|
Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
3db22726
|
2019-04-02T18:49:40
|
|
Update gtk-doc annotations for inout counts on various getter functions.
|
|
c08ddbd9
|
2019-03-24T15:07:07
|
|
[Docs] Minor edits to gtk-doc inline comment review.
|
|
af5230bc
|
2019-03-18T14:03:16
|
|
[Docs] Minor; fix formatting for gtk-doc multiple-annotations.
|
|
6c0a1e8c
|
2019-03-17T14:50:47
|
|
[Docs] Annotate gtk-doc formatting with some un-annotated (out)s.
|
|
5122805c
|
2019-03-17T14:43:06
|
|
[Docs] Fix gtk-doc formatting for (out) and (inout).
|
|
d3178aa5
|
2019-03-17T14:27:27
|
|
[Docs] Fix gtk-doc references to 'kern' table functions, clarifying that GPOS is not examined.
|
|
3449031f
|
2019-03-16T15:38:08
|
|
[Docs] Add inline gtk-doc documentation of GDEF glyph classes.
|
|
930f6fc3
|
2019-03-16T15:10:21
|
|
[Docs] Add inlind gtk-doc comments for hb-ot-layout functions.
|
|
b52c0e54
|
2019-04-11T11:20:10
|
|
Use injected class name to simplify macros
|
|
baf1e790
|
2019-04-11T11:18:04
|
|
[C++11] Use deleted methods
|
|
824fd342
|
2019-04-11T11:16:01
|
|
Rename a few macros
|
|
edfc6be4
|
2019-04-10T15:53:48
|
|
[arabic] Disable fallback shaping if HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK defined
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
4d31662b
|
2019-04-10T15:40:03
|
|
Don't install ot-font funcs on new fonts if HB_NO_OT_FONT defined
Currently linker cannot GC hb-ot-font completely because we install
it on fonts by default. Don't do that if HB_NO_OT_FONT defined.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
b111b3de
|
2019-04-10T15:38:15
|
|
Don't use any default unicode funcs if HB_NO_UNICODE_FUNCS is defined
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
c5509be9
|
2019-04-08T14:50:58
|
|
[coretext] Fix unused-variable error
Fixes https://github.com/harfbuzz/harfbuzz/issues/1659
|
|
4c19aa26
|
2019-04-05T21:46:27
|
|
Fix MSVC C4068 warning (#1656)
|
|
e44b83aa
|
2019-04-05T10:15:08
|
|
replace test font SourceHanSans with its subet
|
|
a96d003d
|
2019-04-05T12:29:56
|
|
Fix MSVC C4138 warning (#1657)
|
|
c68eb700
|
2019-04-03T16:24:12
|
|
Minor
|
|
85adf4ad
|
2019-04-03T16:06:55
|
|
[GDEF] Don't assume glyphlist is sorted
As was hit by the fuzzer.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14032
|
|
ecabdffc
|
2019-04-03T16:06:34
|
|
[algs] Add hb_min() and hb_max()
|
|
7b863142
|
2019-04-03T15:48:27
|
|
[serialize] Make putting breakpoint on out-of-memory easier
|
|
2bd27502
|
2019-04-03T15:31:53
|
|
[iter] Tweak SFINAE again
Don't think we need hb_is_same().
|
|
f02ebc89
|
2019-04-03T15:23:06
|
|
[array] Add compy assignment operator since copy constructor is explicit
|
|
20a73da2
|
2019-04-03T14:32:15
|
|
[array] Add default copy constructor
MSVC seems to need it.
|
|
d419a9a4
|
2019-04-03T14:18:19
|
|
[iter] Use different SFINAE scheme to make MSVC happy
From Orvid King: TLDR; MSVC has some issues using sizeof(declval<T>()) for
SFINAE of templated types, so I just used SFINAE in a different context where
MSVC doesn't have the issue.
|
|
2778df79
|
2019-04-03T14:15:01
|
|
[meta] Add hb_is_same()
|
|
6215fb8e
|
2019-04-02T23:10:03
|
|
[serialize] Actually reclaim storage from duplicate objects
|
|
3305a2ca
|
2019-04-02T22:42:22
|
|
[serialize] Port to use object pool
Tested, but feels fragile :(.
|
|
5efbc011
|
2019-04-02T22:41:06
|
|
[pool] Uses memset() instead of assigning Null()
Assignment is invalid on invalid object.
|
|
434d78bf
|
2019-04-02T21:46:40
|
|
Add hb_pool_t<> for pooled memory allocation
|
|
8e4df1a1
|
2019-04-02T20:20:53
|
|
[serialize] Disable packed_map again
Ugh. Need to think of something else.
|
|
31c1a838
|
2019-04-02T20:17:27
|
|
[map] Protect more against pointer deref
|
|
5bffa9e3
|
2019-04-02T20:13:16
|
|
More
|
|
5b66b033
|
2019-04-02T19:27:02
|
|
[serialize] Fix hb_hashmap_t<> for pointers and use in packed_map
|
|
42ab32cb
|
2019-04-02T18:41:33
|
|
[iter] Remove passing pointer to hb_iter()
While doable with hb_deref_pointer() as well, we also would then
need to do it in a ton of places. Not worth it / messy.
|
|
d0da547b
|
2019-04-02T18:22:39
|
|
[array] Use dagger for hashing array
Also switch to better mixing.
|
|
b6f29bf1
|
2019-04-02T18:12:01
|
|
[iter] Accept pointers in hb_iter()
No idea how to avoid dupicating code. Was hoping hb_deref_pointer()
would do it, but looks like a pointer can't bind to a universal
reference T&&. Humm.
|
|
fc24bb90
|
2019-04-02T17:49:52
|
|
[serialize] Towards maintaining packed_map
|
|
aa2293a5
|
2019-04-02T17:42:10
|
|
[serialize] Minor
|
|
e42b82c8
|
2019-04-02T17:21:54
|
|
[serialize] Handle non-nullable offsets
|
|
e04518ba
|
2019-04-02T17:20:04
|
|
[serialize] Movce empty-object handling earlier
|
|
7f73c974
|
2019-04-02T17:12:24
|
|
[serialize] Minor
|
|
5a3de4f4
|
2019-04-02T16:53:05
|
|
[serialize] Allow offset links that have base offset from the object base
Rarely used, but used, in name table or similar constructs.
|
|
edad6b2c
|
2019-04-03T00:48:59
|
|
[test][iter] minor, fix double promotion warning
|
|
062f5d6e
|
2019-04-02T20:27:00
|
|
[test] minor, c style comments
|
|
afdbf960
|
2019-04-02T20:25:06
|
|
[iter][test] Add another test for hb_reduce
Different initial and accumulator types
|
|
bfa02bef
|
2019-04-01T21:36:13
|
|
[serialize] Switch to tetris-packing
|
|
f0ea3ac1
|
2019-04-01T21:36:03
|
|
[serialize] Fix linking
|
|
7c0e2054
|
2019-04-01T21:32:29
|
|
[serialize] Minor
|
|
64d0f089
|
2019-04-01T16:50:28
|
|
[cmap] Minor
|
|
2e675cc7
|
2019-04-01T16:45:50
|
|
[subset] Call serialize start/end around it
To be cleaned up.
|
|
abe33c61
|
2019-04-01T16:45:40
|
|
[serialize] Assert stack
|
|
72e9b2c1
|
2019-04-01T16:17:30
|
|
[serialize] Add add_link() to add link
|
|
74addbec
|
2019-04-01T14:17:09
|
|
[serialize] Add default template type to push()
|
|
b8642087
|
2019-04-02T00:30:06
|
|
[iter] hb_reduce, accumulator with a different type
|
|
e526414c
|
2019-03-31T12:41:58
|
|
[iter] Implement hb_reduce
|
|
f3aca6aa
|
2019-03-31T21:37:14
|
|
[serialize] Implement linking
Untested!
|
|
17f0cfa7
|
2019-03-31T21:34:19
|
|
Move BEInt to hb.hh
I knows...
|
|
78fc43f2
|
2019-03-31T19:17:07
|
|
[iter] Fix up build, ouch
Yeah, some things not very clear...
|
|
e5d6fe97
|
2019-03-31T19:17:32
|
|
Don't skip setting the .end field of the first range
Fixes a bug in CoverageFormat2::serialize whereby the first range
was not serialized correctly if it consists of only a single glyph ID.
This broke shaping of U+0626 in the Arabic fallback shaper, because it
is not found in the coverage table of the 'init' and 'medi' lookups.
Also fix similar bug in ClassDefFormat2::serialize, noted during code
inspection (I haven't observed a case that was actually affected by
this, but it looks broken).
Fixes https://github.com/harfbuzz/harfbuzz/issues/1504
|
|
8a8d45b9
|
2019-03-31T19:00:09
|
|
[iter] Adjust hb_copy() and use it
Untested.
|
|
ba4b7be4
|
2019-03-31T01:32:30
|
|
Remove coretext_aat shaper (#1581)
coretext_aat was a temporary shaper to redirect shaping of AAT fonts
to CoreText and leaving the rest for HarfBuzz. As HarfBuzz now supports
AAT and Chrome now actually ships that on a stable version on macOS,
we no longer care about such use-case. If a client really wants 100%
metrics compatibility with CoreText better to use it directly or through
our API. Replicating the same behavior still is possible using
hb_shape_full, something we don't care or like to offer anymore.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1478
|
|
d6005b49
|
2019-03-30T19:49:56
|
|
[serialize] Start implementing linking
|