src


Log

Author Commit Date CI Message
Behdad Esfahbod 47e538a3 2019-04-12T22:50:22 Add HB_NO_SUBSET_LAYOUT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod a98e4068 2019-04-12T22:42:44 Revert "Hide symbols in hb-iter" This reverts commit 98f14c4cdb837a962083a6702f401d41b4c1ec5c. Same as previous commit.
Behdad Esfahbod 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.
Behdad Esfahbod 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.
Behdad Esfahbod 2e86d509 2019-04-12T18:07:42 Hide more symbols Exposed by: $ make -j5 CPPFLAGS="-O0" CXXFLAGS=-flto=thin LDFLAGS=-lc++ && ./check-symbols.sh
Behdad Esfahbod caa20e4e 2019-04-12T17:59:18 Hide a few more symbols Exposed by: $ make CPPFLAGS=-O0
Behdad Esfahbod 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++
Behdad Esfahbod 2f4be4ba 2019-04-12T16:21:58 Add HB_NO_OPTIONS Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 079d2dcb 2019-04-12T15:00:37 Add HB_NO_NAME_TABLE_AAT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 60a58aa6 2019-04-12T14:58:53 Add HB_NO_OT_FONT_BITMAP Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 160c4d8b 2019-04-12T14:57:49 Add HB_NO_OT_FONT_CFF Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 35f3b97f 2019-04-12T10:16:12 Add HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 414c5de2 2019-04-12T10:12:11 Add HB_NO_OT_SHAPE_FALLBACK Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod fe0018f7 2019-04-12T09:35:29 Add HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 9ddbfa00 2019-04-12T09:33:25 Add HB_NO_OT_LAYOUT_BLACKLIST Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 571fad4c 2019-04-11T17:54:38 Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Nathan Willis af5230bc 2019-03-18T14:03:16 [Docs] Minor; fix formatting for gtk-doc multiple-annotations.
Nathan Willis 6c0a1e8c 2019-03-17T14:50:47 [Docs] Annotate gtk-doc formatting with some un-annotated (out)s.
Nathan Willis 5122805c 2019-03-17T14:43:06 [Docs] Fix gtk-doc formatting for (out) and (inout).
Nathan Willis d3178aa5 2019-03-17T14:27:27 [Docs] Fix gtk-doc references to 'kern' table functions, clarifying that GPOS is not examined.
Nathan Willis 3449031f 2019-03-16T15:38:08 [Docs] Add inline gtk-doc documentation of GDEF glyph classes.
Nathan Willis 930f6fc3 2019-03-16T15:10:21 [Docs] Add inlind gtk-doc comments for hb-ot-layout functions.
Nathan Willis 3db22726 2019-04-02T18:49:40 Update gtk-doc annotations for inout counts on various getter functions.
Nathan Willis c08ddbd9 2019-03-24T15:07:07 [Docs] Minor edits to gtk-doc inline comment review.
Behdad Esfahbod b52c0e54 2019-04-11T11:20:10 Use injected class name to simplify macros
Behdad Esfahbod baf1e790 2019-04-11T11:18:04 [C++11] Use deleted methods
Behdad Esfahbod 824fd342 2019-04-11T11:16:01 Rename a few macros
Behdad Esfahbod 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
Behdad Esfahbod 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
Behdad Esfahbod 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
Behdad Esfahbod c5509be9 2019-04-08T14:50:58 [coretext] Fix unused-variable error Fixes https://github.com/harfbuzz/harfbuzz/issues/1659
Maks Naumov 4c19aa26 2019-04-05T21:46:27 Fix MSVC C4068 warning (#1656)
Maks Naumov a96d003d 2019-04-05T12:29:56 Fix MSVC C4138 warning (#1657)
Behdad Esfahbod c68eb700 2019-04-03T16:24:12 Minor
Behdad Esfahbod 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
Behdad Esfahbod ecabdffc 2019-04-03T16:06:34 [algs] Add hb_min() and hb_max()
Behdad Esfahbod 7b863142 2019-04-03T15:48:27 [serialize] Make putting breakpoint on out-of-memory easier
Behdad Esfahbod 2bd27502 2019-04-03T15:31:53 [iter] Tweak SFINAE again Don't think we need hb_is_same().
Behdad Esfahbod f02ebc89 2019-04-03T15:23:06 [array] Add compy assignment operator since copy constructor is explicit
Behdad Esfahbod 20a73da2 2019-04-03T14:32:15 [array] Add default copy constructor MSVC seems to need it.
Behdad Esfahbod 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.
Behdad Esfahbod 2778df79 2019-04-03T14:15:01 [meta] Add hb_is_same()
Behdad Esfahbod 6215fb8e 2019-04-02T23:10:03 [serialize] Actually reclaim storage from duplicate objects
Behdad Esfahbod 3305a2ca 2019-04-02T22:42:22 [serialize] Port to use object pool Tested, but feels fragile :(.
Behdad Esfahbod 5efbc011 2019-04-02T22:41:06 [pool] Uses memset() instead of assigning Null() Assignment is invalid on invalid object.
Behdad Esfahbod 434d78bf 2019-04-02T21:46:40 Add hb_pool_t<> for pooled memory allocation
Behdad Esfahbod 8e4df1a1 2019-04-02T20:20:53 [serialize] Disable packed_map again Ugh. Need to think of something else.
Behdad Esfahbod 31c1a838 2019-04-02T20:17:27 [map] Protect more against pointer deref
Behdad Esfahbod 5bffa9e3 2019-04-02T20:13:16 More
Behdad Esfahbod 5b66b033 2019-04-02T19:27:02 [serialize] Fix hb_hashmap_t<> for pointers and use in packed_map
Behdad Esfahbod 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.
Behdad Esfahbod d0da547b 2019-04-02T18:22:39 [array] Use dagger for hashing array Also switch to better mixing.
Behdad Esfahbod 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.
Behdad Esfahbod fc24bb90 2019-04-02T17:49:52 [serialize] Towards maintaining packed_map
Behdad Esfahbod aa2293a5 2019-04-02T17:42:10 [serialize] Minor
Behdad Esfahbod e42b82c8 2019-04-02T17:21:54 [serialize] Handle non-nullable offsets
Behdad Esfahbod e04518ba 2019-04-02T17:20:04 [serialize] Movce empty-object handling earlier
Behdad Esfahbod 7f73c974 2019-04-02T17:12:24 [serialize] Minor
Behdad Esfahbod 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.
Ebrahim Byagowi edad6b2c 2019-04-03T00:48:59 [test][iter] minor, fix double promotion warning
Ebrahim Byagowi 062f5d6e 2019-04-02T20:27:00 [test] minor, c style comments
Ebrahim Byagowi afdbf960 2019-04-02T20:25:06 [iter][test] Add another test for hb_reduce Different initial and accumulator types
Behdad Esfahbod bfa02bef 2019-04-01T21:36:13 [serialize] Switch to tetris-packing
Behdad Esfahbod f0ea3ac1 2019-04-01T21:36:03 [serialize] Fix linking
Behdad Esfahbod 7c0e2054 2019-04-01T21:32:29 [serialize] Minor
Behdad Esfahbod 64d0f089 2019-04-01T16:50:28 [cmap] Minor
Behdad Esfahbod 2e675cc7 2019-04-01T16:45:50 [subset] Call serialize start/end around it To be cleaned up.
Behdad Esfahbod abe33c61 2019-04-01T16:45:40 [serialize] Assert stack
Behdad Esfahbod 72e9b2c1 2019-04-01T16:17:30 [serialize] Add add_link() to add link
Behdad Esfahbod 74addbec 2019-04-01T14:17:09 [serialize] Add default template type to push()
Ebrahim Byagowi b8642087 2019-04-02T00:30:06 [iter] hb_reduce, accumulator with a different type
Ebrahim Byagowi e526414c 2019-03-31T12:41:58 [iter] Implement hb_reduce
Behdad Esfahbod f3aca6aa 2019-03-31T21:37:14 [serialize] Implement linking Untested!
Behdad Esfahbod 17f0cfa7 2019-03-31T21:34:19 Move BEInt to hb.hh I knows...
Behdad Esfahbod 78fc43f2 2019-03-31T19:17:07 [iter] Fix up build, ouch Yeah, some things not very clear...
Jonathan Kew 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
Behdad Esfahbod 8a8d45b9 2019-03-31T19:00:09 [iter] Adjust hb_copy() and use it Untested.
Ebrahim Byagowi 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
Behdad Esfahbod d6005b49 2019-03-30T19:49:56 [serialize] Start implementing linking
Behdad Esfahbod 313b3057 2019-03-30T19:46:35 [serializer] Implement dedup!
Behdad Esfahbod b189bbc4 2019-03-30T19:41:48 Implement hashing of objects Should be improved for hb_bytes_t.
Behdad Esfahbod d6b28057 2019-03-30T19:31:51 Fix hb_hash(pointer)
Behdad Esfahbod d74dc3ef 2019-03-30T19:26:37 [serialize] Don't insert empty object into tree
Behdad Esfahbod 7fd82283 2019-03-30T19:16:20 [serialize] Towards maintaining hashmap
Behdad Esfahbod f254f45a 2019-03-30T19:05:51 [serialize] Only pack main object if there are other objects Avoids a memmove for tables that don't use the object packing mechanism.
Behdad Esfahbod 946d446f 2019-03-30T19:03:55 [serialize] Copy both sides of the buffer
Behdad Esfahbod 8512dc56 2019-03-30T19:01:23 [serialize] Simplify copy
Behdad Esfahbod 0b1fe7b7 2019-03-30T18:48:26 [serializer] Unbreak for now
Behdad Esfahbod 10f06223 2019-03-30T18:44:01 [map] Shuffle fini code
Behdad Esfahbod e6b78003 2019-03-30T18:33:30 [vector] Add move semantics
Behdad Esfahbod 4c4d3c3e 2019-03-30T18:30:50 [vector] Add some move and forwarding
Behdad Esfahbod 7c9ceabc 2019-03-30T18:19:36 [meta] Add hb_move and hb_forward ala std::
Behdad Esfahbod 9a19b885 2019-03-30T18:14:30 [serialize] Flesh out packing
Behdad Esfahbod 357c7c61 2019-03-30T18:13:57 [vector] Add copy constructor and assignment operator
Behdad Esfahbod 6f69c9d2 2019-03-30T18:00:03 [serialize] Minor
Behdad Esfahbod a4329019 2019-03-30T17:51:26 [serialize] Add packed_map
Behdad Esfahbod bed150bd 2019-03-30T17:26:35 [serialize] Start fleshing out object stack
Behdad Esfahbod 63c35651 2019-03-30T17:12:40 [serialize] Simplify propagate_error()
Behdad Esfahbod dbe9ba67 2019-03-30T17:10:59 [serialize] Add object_t, link_t, and snapshot_t
Behdad Esfahbod 38d57b9a 2019-03-30T16:38:06 [map] Add another TODO item