platform/upstream/libHarfBuzzSharp.git
5 years agoCorrect "nonunihan" to "nounihan"
David Corbett [Tue, 25 Jun 2019 01:54:26 +0000 (21:54 -0400)]
Correct "nonunihan" to "nounihan"

5 years agoReplace create_from_file with empty blob if HB_NO_OPEN is defined
Ebrahim Byagowi [Mon, 24 Jun 2019 21:12:42 +0000 (01:42 +0430)]
Replace create_from_file with empty blob if HB_NO_OPEN is defined

5 years agoCast long->size_t to ensure comparison of similar types
GaryQian [Mon, 24 Jun 2019 19:57:13 +0000 (12:57 -0700)]
Cast long->size_t to ensure comparison of similar types

5 years ago[ucd] Use custom encoding to shrink composition data
Behdad Esfahbod [Mon, 24 Jun 2019 19:37:23 +0000 (12:37 -0700)]
[ucd] Use custom encoding to shrink composition data

Saves another 2.5kb.

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[ucd] Save a few more bytes
Behdad Esfahbod [Mon, 24 Jun 2019 00:14:27 +0000 (17:14 -0700)]
[ucd] Save a few more bytes

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[subset] VORG table to use _subset2 method and new iterator frameworks
Qunxin Liu [Wed, 12 Jun 2019 18:02:48 +0000 (11:02 -0700)]
[subset] VORG table to use _subset2 method and new iterator frameworks

5 years agoMerge pull request #1788 from jameshilliard/configure-svg
Ebrahim Byagowi [Sun, 23 Jun 2019 06:49:48 +0000 (11:19 +0430)]
Merge pull request #1788 from jameshilliard/configure-svg

Add missing cairo-svg dependency to test-ot-color

5 years agoAdd missing cairo-svg dependency to test-ot-color
James Hilliard [Sun, 23 Jun 2019 01:38:48 +0000 (19:38 -0600)]
Add missing cairo-svg dependency to test-ot-color

5 years ago[config/ucd] Add HB_NO_UNICODE_UNASSIGNED and activate in HB_TINY
Behdad Esfahbod [Fri, 21 Jun 2019 07:44:29 +0000 (00:44 -0700)]
[config/ucd] Add HB_NO_UNICODE_UNASSIGNED and activate in HB_TINY

Saves another 12kb:

$ python ./gen-ucd-table.py ucd.nounihan.grouped.zip > hb-ucd-table.hh && make -j5 CPPFLAGS='-Os -DHB_TINY' -C ~/hb/build/src/  && size ~/hb/build/src/.libs/libharfbuzz_la-hb-ucd.o
INFO: Loading UCDXML...
INFO: Preparing data tables...
INFO: Generating output...
INFO:   Compression=1:
INFO:       Dataset=gc       FullCost=18612
INFO:       Dataset=ccc      FullCost=3550
INFO:       Dataset=bmg      FullCost=1548
INFO:       Dataset=sc       FullCost=17765
INFO:       Dataset=dm       FullCost=13325
INFO:   Compression=3:
INFO:       Dataset=gc       FullCost=10726
INFO:       Dataset=ccc      FullCost=2389
INFO:       Dataset=bmg      FullCost=1052
INFO:       Dataset=sc       FullCost=13669
INFO:       Dataset=dm       FullCost=7780
INFO:   Compression=5:
INFO:       Dataset=gc       FullCost=8274
INFO:       Dataset=ccc      FullCost=2055
INFO:       Dataset=bmg      FullCost=908
INFO:       Dataset=sc       FullCost=4073
INFO:       Dataset=dm       FullCost=7780
INFO: Done.

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Make test build under HB_TINY
Behdad Esfahbod [Fri, 21 Jun 2019 07:42:06 +0000 (00:42 -0700)]
[config] Make test build under HB_TINY

5 years agoDon't define hb_blob_create_from_file if HB_NO_OPEN is defined
Ebrahim Byagowi [Fri, 21 Jun 2019 18:09:42 +0000 (22:39 +0430)]
Don't define hb_blob_create_from_file if HB_NO_OPEN is defined

5 years agoFix build with -O0
Behdad Esfahbod [Thu, 20 Jun 2019 21:24:43 +0000 (14:24 -0700)]
Fix build with -O0

message_impl was not defined.  That causes trouble if compiler didn't
optimize the unreachable call out...

5 years ago2.5.2
Behdad Esfahbod [Thu, 20 Jun 2019 18:57:19 +0000 (11:57 -0700)]
2.5.2

5 years ago[config] Adjust description of HB_LEAN
Behdad Esfahbod [Thu, 20 Jun 2019 18:48:44 +0000 (11:48 -0700)]
[config] Adjust description of HB_LEAN

https://github.com/harfbuzz/harfbuzz/commit/d84932ba50482b3b47e393714eb77b19173d1f14

5 years ago[config] Add HB_NO_LAYOUT_COLLECT_GLYPHS
Behdad Esfahbod [Thu, 20 Jun 2019 03:34:29 +0000 (20:34 -0700)]
[config] Add HB_NO_LAYOUT_COLLECT_GLYPHS

Part of

5 years ago[config] Add HB_NO_LAYOUT_FEATURE_PARAMS
Behdad Esfahbod [Thu, 20 Jun 2019 03:12:25 +0000 (20:12 -0700)]
[config] Add HB_NO_LAYOUT_FEATURE_PARAMS

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_FACE_COLLECT_UNICODES
Behdad Esfahbod [Thu, 20 Jun 2019 03:07:02 +0000 (20:07 -0700)]
[config] Add HB_NO_FACE_COLLECT_UNICODES

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_CMAP_LEGACY_SUBTABLES
Behdad Esfahbod [Thu, 20 Jun 2019 02:50:54 +0000 (19:50 -0700)]
[config] Add HB_NO_CMAP_LEGACY_SUBTABLES

Part of https://vimeo.com/331852453/06eec89c65

5 years agoFix MSVC build
Behdad Esfahbod [Thu, 20 Jun 2019 02:58:24 +0000 (19:58 -0700)]
Fix MSVC build

MSVC warning:

c:\projects\harfbuzz\src\hb-ot-layout-gsubgpos.hh(2732): error C2121: '#': invalid character: possibly the result of a macro expansion [C:\projects\harfbuzz\build\harfbuzz.vcxproj]

Clang warning for it:

./hb-ot-layout-gsubgpos.hh:2729:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]

5 years ago[config] Add HB_NO_HINTING, enabled by HB_TINY
Behdad Esfahbod [Thu, 20 Jun 2019 02:33:15 +0000 (19:33 -0700)]
[config] Add HB_NO_HINTING, enabled by HB_TINY

Disables HintingDevice tables and Anchors addressing contour points.

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_VAR to disable variations support, enabled by HB_TINY
Behdad Esfahbod [Thu, 20 Jun 2019 02:26:22 +0000 (19:26 -0700)]
[config] Add HB_NO_VAR to disable variations support, enabled by HB_TINY

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_OT_FONT_GLYPH_NAMES
Behdad Esfahbod [Thu, 20 Jun 2019 01:49:52 +0000 (18:49 -0700)]
[config] Add HB_NO_OT_FONT_GLYPH_NAMES

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[subset] Simplify collect_name_ids
Behdad Esfahbod [Thu, 20 Jun 2019 01:42:39 +0000 (18:42 -0700)]
[subset] Simplify collect_name_ids

5 years ago[config] Add HB_NO_STAT
Behdad Esfahbod [Thu, 20 Jun 2019 01:36:35 +0000 (18:36 -0700)]
[config] Add HB_NO_STAT

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't include name table in face if HB_NO_NAME
Behdad Esfahbod [Thu, 20 Jun 2019 01:33:29 +0000 (18:33 -0700)]
[config] Don't include name table in face if HB_NO_NAME

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Disable hb-ot-font code if HB_NO_OT_FONT
Behdad Esfahbod [Thu, 20 Jun 2019 01:32:40 +0000 (18:32 -0700)]
[config] Disable hb-ot-font code if HB_NO_OT_FONT

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[ucd] Print out table sizes
Behdad Esfahbod [Thu, 20 Jun 2019 00:34:12 +0000 (17:34 -0700)]
[ucd] Print out table sizes

5 years ago[config] Disable AAT map
Behdad Esfahbod [Thu, 20 Jun 2019 00:08:26 +0000 (17:08 -0700)]
[config] Disable AAT map

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Disable more legacy kerning
Behdad Esfahbod [Thu, 20 Jun 2019 00:04:16 +0000 (17:04 -0700)]
[config] Disable more legacy kerning

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] More trak disabling
Behdad Esfahbod [Thu, 20 Jun 2019 00:02:32 +0000 (17:02 -0700)]
[config] More trak disabling

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] add HB_NO_OT_SHAPE_FRACTIONS, enabled in HB_LEAN
Behdad Esfahbod [Wed, 19 Jun 2019 23:57:48 +0000 (16:57 -0700)]
[config] add HB_NO_OT_SHAPE_FRACTIONS, enabled in HB_LEAN

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Minor trak disable
Behdad Esfahbod [Wed, 19 Jun 2019 23:51:13 +0000 (16:51 -0700)]
[config] Minor trak disable

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_LANGUAGE_PRIVATE_SUBTAG
Behdad Esfahbod [Wed, 19 Jun 2019 23:37:35 +0000 (16:37 -0700)]
[config] Add HB_NO_LANGUAGE_PRIVATE_SUBTAG

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoRestructure code
Behdad Esfahbod [Wed, 19 Jun 2019 23:36:09 +0000 (16:36 -0700)]
Restructure code

5 years ago[config] Remove remaining AAT context bits if HB_NO_OT_KERN
Behdad Esfahbod [Wed, 19 Jun 2019 23:28:08 +0000 (16:28 -0700)]
[config] Remove remaining AAT context bits if HB_NO_OT_KERN

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Add HB_NO_OT_KERN, enabled by HB_MINI / HB_NO_LEGACY
Behdad Esfahbod [Wed, 19 Jun 2019 23:24:51 +0000 (16:24 -0700)]
[config] Add HB_NO_OT_KERN, enabled by HB_MINI / HB_NO_LEGACY

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoFix build
Behdad Esfahbod [Wed, 19 Jun 2019 22:50:13 +0000 (15:50 -0700)]
Fix build

5 years ago[config] Remove tables from hb_face_t for disabled features
Behdad Esfahbod [Wed, 19 Jun 2019 22:36:14 +0000 (15:36 -0700)]
[config] Remove tables from hb_face_t for disabled features

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agocoretext: remove trailing macro from SCRATCH_RESTORE
Misty De Meo [Tue, 18 Jun 2019 22:20:38 +0000 (15:20 -0700)]
coretext: remove trailing macro from SCRATCH_RESTORE

5 years ago[coretext/uniscribe/directwrite] Remove extra semicolons
Behdad Esfahbod [Tue, 18 Jun 2019 22:15:06 +0000 (15:15 -0700)]
[coretext/uniscribe/directwrite] Remove extra semicolons

Fixes https://github.com/harfbuzz/harfbuzz/pull/1783

5 years agoRemove dead code
Behdad Esfahbod [Tue, 18 Jun 2019 21:40:24 +0000 (14:40 -0700)]
Remove dead code

5 years ago[config] Don't use VORG table if HB_NO_OT_FONT_CFF
Behdad Esfahbod [Tue, 18 Jun 2019 21:38:05 +0000 (14:38 -0700)]
[config] Don't use VORG table if HB_NO_OT_FONT_CFF

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Fixup for AAT ltag table access
Behdad Esfahbod [Tue, 18 Jun 2019 21:33:49 +0000 (14:33 -0700)]
[config] Fixup for AAT ltag table access

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] One more morx disabling
Behdad Esfahbod [Tue, 18 Jun 2019 21:29:27 +0000 (14:29 -0700)]
[config] One more morx disabling

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't compile AAT API if HB_NO_AAT
Behdad Esfahbod [Tue, 18 Jun 2019 21:25:52 +0000 (14:25 -0700)]
[config] Don't compile AAT API if HB_NO_AAT

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't compile unused layout API if HB_NO_LAYOUT_UNUSED
Behdad Esfahbod [Tue, 18 Jun 2019 20:31:35 +0000 (13:31 -0700)]
[config] Don't compile unused layout API if HB_NO_LAYOUT_UNUSED

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Dont' compile buffer message API if HB_NO_BUFFER_MESSAGE
Behdad Esfahbod [Tue, 18 Jun 2019 20:29:55 +0000 (13:29 -0700)]
[config] Dont' compile buffer message API if HB_NO_BUFFER_MESSAGE

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't compile buffer serialize API if HB_NO_BUFFER_SERIALIZE
Behdad Esfahbod [Tue, 18 Jun 2019 20:26:03 +0000 (13:26 -0700)]
[config] Don't compile buffer serialize API if HB_NO_BUFFER_SERIALIZE

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoMinor header include cleanup
Behdad Esfahbod [Tue, 18 Jun 2019 20:21:25 +0000 (13:21 -0700)]
Minor header include cleanup

5 years ago[config] Don't compile color API if HB_NO_COLOR
Behdad Esfahbod [Tue, 18 Jun 2019 20:18:15 +0000 (13:18 -0700)]
[config] Don't compile color API if HB_NO_COLOR

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't compile name table API if HB_NO_NAME
Behdad Esfahbod [Tue, 18 Jun 2019 20:11:41 +0000 (13:11 -0700)]
[config] Don't compile name table API if HB_NO_NAME

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[config] Don't compile math API if HB_NO_MATH
Behdad Esfahbod [Tue, 18 Jun 2019 20:09:22 +0000 (13:09 -0700)]
[config] Don't compile math API if HB_NO_MATH

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoStreamline HB_NO_CFF
Behdad Esfahbod [Tue, 18 Jun 2019 20:07:44 +0000 (13:07 -0700)]
Streamline HB_NO_CFF

5 years agoRemove HB_VECTOR_SIZE
Behdad Esfahbod [Tue, 18 Jun 2019 20:01:11 +0000 (13:01 -0700)]
Remove HB_VECTOR_SIZE

It was cumbersome to get it to work reliably, for dubious performance
gain, mostly in the subsetter maybe...

Life is easier without.  It was disabled forever anyway.

5 years agoAdd hb_bitwise_neg
Behdad Esfahbod [Tue, 18 Jun 2019 19:50:42 +0000 (12:50 -0700)]
Add hb_bitwise_neg

5 years agoRemove accidentally left cruft
Behdad Esfahbod [Tue, 18 Jun 2019 19:44:03 +0000 (12:44 -0700)]
Remove accidentally left cruft

5 years agoRemove (unused) posix_memalign fallback
Behdad Esfahbod [Tue, 18 Jun 2019 19:41:56 +0000 (12:41 -0700)]
Remove (unused) posix_memalign fallback

Was wrong.  The returned pointer couldn't be passed to free().  Ouch!

5 years ago[ci] Test no build system builds
Ebrahim Byagowi [Tue, 18 Jun 2019 07:44:10 +0000 (12:14 +0430)]
[ci] Test no build system builds

Introduced in aa3450c, let's preserve it

5 years agoFix cmake build
Behdad Esfahbod [Tue, 18 Jun 2019 05:57:51 +0000 (22:57 -0700)]
Fix cmake build

Hopefullly.

5 years ago[config] Don't compile disabled features
Behdad Esfahbod [Tue, 18 Jun 2019 05:41:49 +0000 (22:41 -0700)]
[config] Don't compile disabled features

This makes it possible to include all .cc files into build, even if not
building CoreText, Uniscribe, etc.

This was mostly to help custom builders.  But also means that we can
include all files in our own build system.  Not sure if we should.
Definitely simplifies things, but slightly only.

5 years ago[config] Flesh out CONFIG.md
Behdad Esfahbod [Tue, 18 Jun 2019 04:54:20 +0000 (21:54 -0700)]
[config] Flesh out CONFIG.md

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoMinor
Behdad Esfahbod [Tue, 18 Jun 2019 03:35:04 +0000 (20:35 -0700)]
Minor

5 years ago[config] Replace HAVE_FALLBACK with HB_NO_FALLBACK_SHAPE
Behdad Esfahbod [Tue, 18 Jun 2019 03:29:29 +0000 (20:29 -0700)]
[config] Replace HAVE_FALLBACK with HB_NO_FALLBACK_SHAPE

This disables fallback shaper in tiny builds.  Projects that don't
use our build system and want to disable fallback shaper (eg. Firefox)
should define HB_NO_FALLBACK_SHAPE now.

Part of https://github.com/harfbuzz/harfbuzz/issues/1652

5 years agoAdd CONFIG.md
Behdad Esfahbod [Tue, 18 Jun 2019 03:10:36 +0000 (20:10 -0700)]
Add CONFIG.md

https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[serialize] Fix copy() calling operator=
Behdad Esfahbod [Mon, 17 Jun 2019 21:23:04 +0000 (14:23 -0700)]
[serialize] Fix copy() calling operator=

https://github.com/googlefonts/harfbuzz/commit/9f610ae239a11e86f94621e26bc15849b65ce41b#commitcomment-33944686

5 years agoMinor
Behdad Esfahbod [Mon, 17 Jun 2019 21:19:13 +0000 (14:19 -0700)]
Minor

5 years agoUse injected class name
Behdad Esfahbod [Mon, 17 Jun 2019 21:12:11 +0000 (14:12 -0700)]
Use injected class name

5 years agoDisable non-OpenType kerning with hb-ft in HB_TINY
Behdad Esfahbod [Mon, 17 Jun 2019 21:06:04 +0000 (14:06 -0700)]
Disable non-OpenType kerning with hb-ft in HB_TINY

5 years agoDeprecate v_kerning callback again
Behdad Esfahbod [Mon, 17 Jun 2019 21:02:47 +0000 (14:02 -0700)]
Deprecate v_kerning callback again

Part of https://github.com/harfbuzz/harfbuzz/issues/1682

5 years agoMinor
Behdad Esfahbod [Mon, 17 Jun 2019 20:42:53 +0000 (13:42 -0700)]
Minor

5 years agoPartially revert "[ft/ot] Remove implementation of deprecated kerning funcs"
Behdad Esfahbod [Mon, 17 Jun 2019 20:39:49 +0000 (13:39 -0700)]
Partially revert "[ft/ot] Remove implementation of deprecated kerning funcs"

This reverts commit 47030b1855f04c0d75899ffb6f5021fea3c19b90.

Reverts only the hb-ft part, to reinstate non-OpenType kerning with
FreeType.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1682

5 years agoRevert "Deprecate font kern API"
Behdad Esfahbod [Mon, 17 Jun 2019 20:38:08 +0000 (13:38 -0700)]
Revert "Deprecate font kern API"

This reverts commit d219f899f4b2fb4b39ebc1dff9fb648fc5d6d112.

API change: Un-deprecate font kern API.

Part of https://github.com/harfbuzz/harfbuzz/issues/1682

We should document that this API is only necessary to hook up
non-OpenType kerning.  hb-ot-font will continue to NOT implement them.

5 years agoCanonically reorder U+0C55 and U+0C56
David Corbett [Sun, 16 Jun 2019 01:38:27 +0000 (21:38 -0400)]
Canonically reorder U+0C55 and U+0C56

5 years agoenable cff subset tests
Michiharu Ariza [Fri, 14 Jun 2019 17:49:42 +0000 (10:49 -0700)]
enable cff subset tests

add Unicode UCS-4 cmap
fix Unicode bits in OS/2
add Unicode cmap sub-table in SourceHanSans-Regular_subset.otf
regenerate cff subset test expected results

5 years ago[cff] minor format (#1774)
Ebrahim Byagowi [Thu, 13 Jun 2019 10:34:51 +0000 (15:04 +0430)]
[cff] minor format (#1774)

5 years agoRemove 'mym3'
David Corbett [Tue, 11 Jun 2019 21:55:31 +0000 (17:55 -0400)]
Remove 'mym3'

5 years agochange assert(false) to failure
Michiharu Ariza [Tue, 11 Jun 2019 19:28:30 +0000 (12:28 -0700)]
change assert(false) to failure

5 years agoFix typo :)
Behdad Esfahbod [Mon, 10 Jun 2019 21:06:25 +0000 (14:06 -0700)]
Fix typo :)

5 years agoMove HB_NO_SETLOCALE to closer place to its to unbreak HB_TINY build (#1768)
Ebrahim Byagowi [Mon, 10 Jun 2019 21:03:30 +0000 (01:33 +0430)]
Move HB_NO_SETLOCALE to closer place to its to unbreak HB_TINY build (#1768)

5 years agoAdd HB_NO_OEPN (#1767)
Ebrahim Byagowi [Mon, 10 Jun 2019 21:03:09 +0000 (01:33 +0430)]
Add HB_NO_OEPN (#1767)

5 years agoAdd HB_NO_SETLOCALE
Ebrahim Byagowi [Mon, 10 Jun 2019 11:18:28 +0000 (15:48 +0430)]
Add HB_NO_SETLOCALE

5 years agoRemove round polyfill
Ebrahim Byagowi [Mon, 10 Jun 2019 11:02:54 +0000 (15:32 +0430)]
Remove round polyfill

Added in 01dff1e and 19256bef, this was targeted at older
msvc versions that don't support C99 but now as we require
C++11 we don't target places those envs thus removing this.

5 years agoSimplify HB_PARTIALIZE impl
Behdad Esfahbod [Mon, 10 Jun 2019 19:48:25 +0000 (12:48 -0700)]
Simplify HB_PARTIALIZE impl

+this works on gcc 4.8 as well as default code path.

5 years agoRevert "Test new solution for HB_PARTIALIZE"
Behdad Esfahbod [Mon, 10 Jun 2019 19:46:54 +0000 (12:46 -0700)]
Revert "Test new solution for HB_PARTIALIZE"

This reverts commit a0c4900799c26e4ff34180842a5ff21048fe31a0.

5 years agoTest new solution for HB_PARTIALIZE
Behdad Esfahbod [Mon, 10 Jun 2019 19:33:23 +0000 (12:33 -0700)]
Test new solution for HB_PARTIALIZE

Just testing bots.  Will finish based on results.

5 years ago[ci] Use HB_OPTIMIZE_SIZE instead of __OPTIMIZE_SIZE__
Ebrahim Byagowi [Mon, 10 Jun 2019 15:16:51 +0000 (08:16 -0700)]
[ci] Use HB_OPTIMIZE_SIZE instead of __OPTIMIZE_SIZE__

5 years ago[ci] Test -Os and optimize size in Alpine bot
Ebrahim Byagowi [Mon, 10 Jun 2019 11:26:36 +0000 (15:56 +0430)]
[ci] Test -Os and optimize size in Alpine bot

__OPTIMIZE_SIZE__ should be defined whenever -Os but some Internet thread
indicate may not so lets do that ourselves as that is the main intention

5 years agominor, add HB_USE_INTERNAL_QSORT
Ebrahim Byagowi [Mon, 10 Jun 2019 10:47:43 +0000 (15:17 +0430)]
minor, add HB_USE_INTERNAL_QSORT

The only thing I need for a working wasm in a minimum libc,
otherwise I have to provide the very same qsort inside that libc

5 years ago[ci] remove wine from fedora bot
Ebrahim Byagowi [Mon, 10 Jun 2019 10:23:14 +0000 (14:53 +0430)]
[ci] remove wine from fedora bot

We are not testing Windows exes in fedora mingw bot, we don't have to as
probably won't go that smoothly and we have real Windows bots anyway
and as wine installation itself is time taking let's remove it

5 years ago[stat] minor format
Ebrahim Byagowi [Sun, 9 Jun 2019 07:28:08 +0000 (11:58 +0430)]
[stat] minor format

5 years ago[stat] minor
Ebrahim Byagowi [Sun, 9 Jun 2019 07:21:58 +0000 (11:51 +0430)]
[stat] minor

5 years ago[algs] minor
Ebrahim Byagowi [Sun, 9 Jun 2019 07:20:36 +0000 (11:50 +0430)]
[algs] minor

5 years ago[cff] Use switch on multi-format structs (#1762)
Ebrahim Byagowi [Sun, 9 Jun 2019 07:19:25 +0000 (11:49 +0430)]
[cff] Use switch on multi-format structs (#1762)

5 years agoUpdate and use internal qsort everywhere
Ebrahim Byagowi [Fri, 7 Jun 2019 08:28:09 +0000 (12:58 +0430)]
Update and use internal qsort everywhere

5 years ago[ucd] Save another 1.5kb
Behdad Esfahbod [Fri, 7 Jun 2019 21:20:45 +0000 (14:20 -0700)]
[ucd] Save another 1.5kb

https://github.com/harfbuzz/harfbuzz/issues/1652

5 years ago[ci] use trusty for its gcc 4.8 again
Ebrahim Byagowi [Fri, 7 Jun 2019 20:10:18 +0000 (00:40 +0430)]
[ci] use trusty for its gcc 4.8 again

5 years agoDisable clang gcc impersonator
Behdad Esfahbod [Fri, 7 Jun 2019 19:49:06 +0000 (12:49 -0700)]
Disable clang gcc impersonator

5 years agoFix build on gcc 4.8
Behdad Esfahbod [Fri, 7 Jun 2019 19:41:09 +0000 (12:41 -0700)]
Fix build on gcc 4.8

Fixes https://github.com/harfbuzz/harfbuzz/issues/1724

5 years agoDowngrade double-promotion from error to warning
Behdad Esfahbod [Fri, 7 Jun 2019 17:56:24 +0000 (10:56 -0700)]
Downgrade double-promotion from error to warning

https://github.com/harfbuzz/harfbuzz/issues/1740

5 years agoMinor, fix gcc maybe-uninitialized complain
Ebrahim Byagowi [Fri, 7 Jun 2019 17:44:53 +0000 (10:44 -0700)]
Minor, fix gcc maybe-uninitialized complain

I guess all of its field will be initialized anyway here but lets make it more defensive