platform/upstream/libHarfBuzzSharp.git
6 years ago[aat] Cosmetic touch-ups to trak table
Behdad Esfahbod [Tue, 20 Feb 2018 23:02:25 +0000 (15:02 -0800)]
[aat] Cosmetic touch-ups to trak table

6 years agoAdd Ragel-generated files to git
Behdad Esfahbod [Tue, 20 Feb 2018 22:34:16 +0000 (14:34 -0800)]
Add Ragel-generated files to git

I know it's bad form; I know I've said no to this multiple times...
But this is part of an experiment to see if we can make rolling HarfBuzz
into Chrome much faster. That will give us a lot more testing exposure
that currently Chrome does.

Doing this while those files are still considered ignored by our
gitignore rules; will see how that flies.

6 years agoDon't use %zu
Behdad Esfahbod [Tue, 20 Feb 2018 18:32:09 +0000 (10:32 -0800)]
Don't use %zu

Some of our bots / compilers don't like it. Wasn't caught by bots because this
is only in debug code.

https://github.com/harfbuzz/harfbuzz/pull/809/commits/825ad378e0f0e6e6bb690894a0d5d25f198be21b

6 years ago[dev-run] minor
Ebrahim Byagowi [Tue, 20 Feb 2018 14:29:04 +0000 (17:59 +0330)]
[dev-run] minor

6 years ago[dev-run] Support autotools builds
Ebrahim Byagowi [Tue, 20 Feb 2018 14:19:29 +0000 (17:49 +0330)]
[dev-run] Support autotools builds

6 years agoUse %zu format specifier for size_t to fix cross platform build
Dominik Röttsches [Tue, 20 Feb 2018 08:26:07 +0000 (10:26 +0200)]
Use %zu format specifier for size_t to fix cross platform build

Fixes Chromium Android builds, compare
https://ci.chromium.org/buildbot/tryserver.chromium.android/linux_android_rel_ng/491787

6 years agoChange Alpine and ArchLinux bot to test O3 and O0 on gcc, #801
Ebrahim Byagowi [Tue, 20 Feb 2018 07:23:10 +0000 (10:53 +0330)]
Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801

6 years ago[aat] First dig on 'trak'
Ebrahim Byagowi [Mon, 19 Feb 2018 19:57:08 +0000 (23:27 +0330)]
[aat] First dig on 'trak'

6 years agoUgh. Really fix build.
Behdad Esfahbod [Mon, 19 Feb 2018 19:51:25 +0000 (11:51 -0800)]
Ugh. Really fix build.

6 years agoFix build after previous commit
Behdad Esfahbod [Mon, 19 Feb 2018 19:49:25 +0000 (11:49 -0800)]
Fix build after previous commit

6 years ago[subset] Don't include hb-subset.h from hb.h
Behdad Esfahbod [Mon, 19 Feb 2018 19:38:53 +0000 (11:38 -0800)]
[subset] Don't include hb-subset.h from hb.h

6 years agoCheck availability of entr instead now that this works with it
Ebrahim Byagowi [Mon, 19 Feb 2018 16:30:07 +0000 (20:00 +0330)]
Check availability of entr instead now that this works with it

6 years agoSimplify hb-fuzzer output printing and fix ArchLinux bot
Ebrahim Byagowi [Mon, 19 Feb 2018 08:28:20 +0000 (11:58 +0330)]
Simplify hb-fuzzer output printing and fix ArchLinux bot

6 years agoTest debug builds on ArchLinux bot
Ebrahim Byagowi [Mon, 19 Feb 2018 07:36:13 +0000 (11:06 +0330)]
Test debug builds on ArchLinux bot

Fixes #805

6 years agoLimit how much work sanitize() can do
Behdad Esfahbod [Mon, 19 Feb 2018 01:28:53 +0000 (17:28 -0800)]
Limit how much work sanitize() can do

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022

6 years ago[aat] Minor
Behdad Esfahbod [Mon, 19 Feb 2018 01:12:04 +0000 (17:12 -0800)]
[aat] Minor

6 years agoFix debug build
Behdad Esfahbod [Mon, 19 Feb 2018 00:27:59 +0000 (16:27 -0800)]
Fix debug build

Context needs to be called 'c'. The TRACE_* rely on that.

6 years ago[aat] Silence warning
Behdad Esfahbod [Mon, 19 Feb 2018 00:26:04 +0000 (16:26 -0800)]
[aat] Silence warning

6 years ago[ci] Make AppVeyor less noisy
Behdad Esfahbod [Mon, 19 Feb 2018 00:10:15 +0000 (16:10 -0800)]
[ci] Make AppVeyor less noisy

6 years agoReadjust mark attachment heuristic a bit more
Behdad Esfahbod [Sun, 18 Feb 2018 23:57:09 +0000 (15:57 -0800)]
Readjust mark attachment heuristic a bit more

Previously adjusted logic could fail if nothing around was ligated,
and something moved.  This should take care of that.

CC https://github.com/harfbuzz/harfbuzz/issues/740

6 years ago[test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740
Behdad Esfahbod [Sun, 18 Feb 2018 23:42:25 +0000 (15:42 -0800)]
[test] Add test for https://github.com/harfbuzz/harfbuzz/issues/740

6 years ago[aat] First dig on 'kerx' (#704)
Ebrahim Byagowi [Sun, 18 Feb 2018 23:47:44 +0000 (03:17 +0330)]
[aat] First dig on 'kerx' (#704)

6 years agoMerge pull request #796 from ebraminio/dev-run
Behdad Esfahbod [Sun, 18 Feb 2018 22:04:33 +0000 (14:04 -0800)]
Merge pull request #796 from ebraminio/dev-run

Add a continuous builder using fswatch

6 years agoRemove unused check
Behdad Esfahbod [Sun, 18 Feb 2018 20:41:24 +0000 (12:41 -0800)]
Remove unused check

6 years agoAdd a continuous builder using fswatch
Ebrahim Byagowi [Fri, 16 Feb 2018 09:23:33 +0000 (12:53 +0330)]
Add a continuous builder using fswatch

6 years ago[test] Fix a couple of coverity_scan issues
Behdad Esfahbod [Sun, 18 Feb 2018 19:55:26 +0000 (11:55 -0800)]
[test] Fix a couple of coverity_scan issues

6 years agoAnother attempt on fixing coverity
Ebrahim Byagowi [Sun, 18 Feb 2018 19:55:15 +0000 (23:25 +0330)]
Another attempt on fixing coverity

I hope I am in a correct direction at least

6 years agoMerge pull request #800 from harfbuzz/bitops
Behdad Esfahbod [Sun, 18 Feb 2018 19:35:51 +0000 (11:35 -0800)]
Merge pull request #800 from harfbuzz/bitops

Optimize set through optimized bit operations

6 years agoFix BitScanForward() usage
Behdad Esfahbod [Sun, 18 Feb 2018 18:50:24 +0000 (10:50 -0800)]
Fix BitScanForward() usage

Should fix Win64 bot.

6 years agoMerge branch 'master' into bitops
Behdad Esfahbod [Sun, 18 Feb 2018 18:45:33 +0000 (10:45 -0800)]
Merge branch 'master' into bitops

6 years agoDo not mark the first glyph as unsafe to break
David Corbett [Fri, 16 Feb 2018 17:08:55 +0000 (12:08 -0500)]
Do not mark the first glyph as unsafe to break

Fixes #791.

6 years ago[test] Remove unused var
Behdad Esfahbod [Sat, 17 Feb 2018 02:32:57 +0000 (18:32 -0800)]
[test] Remove unused var

6 years agoUpdate outdated TODO file
Behdad Esfahbod [Sat, 17 Feb 2018 01:08:44 +0000 (17:08 -0800)]
Update outdated TODO file

6 years ago[test/api] Distribute all fonts
Behdad Esfahbod [Sat, 17 Feb 2018 01:02:57 +0000 (17:02 -0800)]
[test/api] Distribute all fonts

6 years agoMisc fixes
Behdad Esfahbod [Sat, 17 Feb 2018 00:58:17 +0000 (16:58 -0800)]
Misc fixes

Should bring bag djgpp bot.

6 years ago[subset] add a glyf subsetting test for a font with composite glyphs.
Garret Rieger [Sat, 17 Feb 2018 00:02:51 +0000 (17:02 -0700)]
[subset] add a glyf subsetting test for a font with composite glyphs.

6 years ago[subset] missing return.
Garret Rieger [Sat, 17 Feb 2018 00:02:15 +0000 (17:02 -0700)]
[subset] missing return.

6 years ago[subset] Add support for updating reference gids in components to their new values.
Garret Rieger [Sat, 17 Feb 2018 00:01:00 +0000 (17:01 -0700)]
[subset] Add support for updating reference gids in components to their new values.

6 years ago[subset] Refactor composite glyf iteration code into an Iterator outside of the accel...
Garret Rieger [Fri, 16 Feb 2018 23:56:15 +0000 (16:56 -0700)]
[subset] Refactor composite glyf iteration code into an Iterator outside of the accelerator.

6 years ago[subset] Use gids_to_retain_sorted to produce old gid -> new gid mapping since it...
Garret Rieger [Fri, 16 Feb 2018 22:20:14 +0000 (15:20 -0700)]
[subset] Use gids_to_retain_sorted to produce old gid -> new gid mapping since it now has the more complete set.

6 years ago[subset] Use complex glyph closure to populate gids_to_retain_sorted.
Garret Rieger [Fri, 16 Feb 2018 18:27:03 +0000 (11:27 -0700)]
[subset] Use complex glyph closure to populate gids_to_retain_sorted.

6 years ago[subset] add constant to get_composite and in_table methods in hb-ot-glyf-table
Garret Rieger [Fri, 16 Feb 2018 18:20:38 +0000 (11:20 -0700)]
[subset] add constant to get_composite and in_table methods in hb-ot-glyf-table

6 years ago[subset] Add a DFS search to produce a closure of composite glyphs.
Garret Rieger [Thu, 15 Feb 2018 22:41:56 +0000 (14:41 -0800)]
[subset] Add a DFS search to produce a closure of composite glyphs.

6 years ago[subset] add helper methods to glyf accelerator for reading composite glyph information.
Garret Rieger [Thu, 15 Feb 2018 22:03:34 +0000 (14:03 -0800)]
[subset] add helper methods to glyf accelerator for reading composite glyph information.

6 years agoAnother bitops fallback fix
Behdad Esfahbod [Sat, 17 Feb 2018 02:28:58 +0000 (18:28 -0800)]
Another bitops fallback fix

I'm confident that all bugs are hashed out now.

6 years agoAnother bitops fallback impl fix
Behdad Esfahbod [Sat, 17 Feb 2018 02:20:12 +0000 (18:20 -0800)]
Another bitops fallback impl fix

6 years ago[set] Implement iteration using bitop intrinsics
Behdad Esfahbod [Sat, 17 Feb 2018 02:14:41 +0000 (18:14 -0800)]
[set] Implement iteration using bitop intrinsics

6 years agoFix wide bitops implemenetation
Behdad Esfahbod [Sat, 17 Feb 2018 01:49:41 +0000 (17:49 -0800)]
Fix wide bitops implemenetation

6 years ago[set] Readjust parameters
Behdad Esfahbod [Sat, 17 Feb 2018 01:45:09 +0000 (17:45 -0800)]
[set] Readjust parameters

6 years agoFix bitops fallback impl
Behdad Esfahbod [Sat, 17 Feb 2018 01:33:26 +0000 (17:33 -0800)]
Fix bitops fallback impl

6 years agoFlesh out other bit ops some more for 128bit as well
Behdad Esfahbod [Sat, 17 Feb 2018 00:52:09 +0000 (16:52 -0800)]
Flesh out other bit ops some more for 128bit as well

6 years agoClean up bit functions
Behdad Esfahbod [Fri, 16 Feb 2018 22:21:40 +0000 (14:21 -0800)]
Clean up bit functions

Compile all code-paths possible, to better catch errors.
Also enable MSVC ones on mingw which seems to support them.

6 years agoImprove _hb_popcount()
Behdad Esfahbod [Sat, 17 Feb 2018 00:06:17 +0000 (16:06 -0800)]
Improve _hb_popcount()

Support 128bit type.

6 years agoFix warnings
Behdad Esfahbod [Fri, 16 Feb 2018 23:37:22 +0000 (15:37 -0800)]
Fix warnings

6 years agoEnable C99 if available
Behdad Esfahbod [Fri, 16 Feb 2018 23:36:20 +0000 (15:36 -0800)]
Enable C99 if available

Hopefully we can now mix-and-match code and declaration in the C test files.

6 years agoMerge pull request #792 from googlefonts/master
rsheeter [Fri, 16 Feb 2018 23:27:29 +0000 (15:27 -0800)]
Merge pull request #792 from googlefonts/master

Support more tables in subsetter

6 years agoThat didn't work...
Behdad Esfahbod [Fri, 16 Feb 2018 22:17:20 +0000 (14:17 -0800)]
That didn't work...

6 years agoAdd mingw32.sh and mingw64.sh
Behdad Esfahbod [Fri, 16 Feb 2018 22:13:38 +0000 (14:13 -0800)]
Add mingw32.sh and mingw64.sh

6 years agoRemove checking macros __OPTIMIZE__ for MSVC
Arkady Shapkin [Fri, 16 Feb 2018 18:45:08 +0000 (21:45 +0300)]
Remove checking macros __OPTIMIZE__ for MSVC

Visual C++ compiler doesn't define macros __OPTIMIZE__  when optimizations enabled

6 years agoMake this work for old versions of automake
Khaled Hosny [Fri, 16 Feb 2018 18:22:52 +0000 (20:22 +0200)]
Make this work for old versions of automake

6 years agoPrint only the failed log
Khaled Hosny [Thu, 15 Feb 2018 09:47:08 +0000 (11:47 +0200)]
Print only the failed log

6 years agoSimplify calls to collect-logs.sh
Khaled Hosny [Thu, 15 Feb 2018 09:25:24 +0000 (11:25 +0200)]
Simplify calls to collect-logs.sh

6 years ago[subset] try to get more info from bot where g_assert_cmpmem fails
Rod Sheeter [Fri, 16 Feb 2018 19:11:20 +0000 (11:11 -0800)]
[subset] try to get more info from bot where g_assert_cmpmem fails

6 years ago[subset] fix int type for blob length in hb-subset-test.h
Rod Sheeter [Fri, 16 Feb 2018 14:26:02 +0000 (06:26 -0800)]
[subset] fix int type for blob length in hb-subset-test.h

6 years agoMerge branch 'master' of https://github.com/harfbuzz/harfbuzz
Rod Sheeter [Fri, 16 Feb 2018 14:01:41 +0000 (06:01 -0800)]
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz

6 years agoFix hb-private.hh compile issue
Ebrahim Byagowi [Fri, 16 Feb 2018 09:57:26 +0000 (13:27 +0330)]
Fix hb-private.hh compile issue

6 years agoUse _BitScanForward and _BitScanReverse on MSVC
Arkady Shapkin [Thu, 15 Feb 2018 20:17:46 +0000 (23:17 +0300)]
Use _BitScanForward and _BitScanReverse on MSVC

6 years ago[subset] apparently C99 is too much to ask in 2018
Rod Sheeter [Thu, 15 Feb 2018 22:28:29 +0000 (14:28 -0800)]
[subset] apparently C99 is too much to ask in 2018

6 years ago[subset] fix format specifier for size_t
Rod Sheeter [Thu, 15 Feb 2018 21:55:21 +0000 (13:55 -0800)]
[subset] fix format specifier for size_t

6 years ago[subset] fix no matching function MIN in djgpp
Rod Sheeter [Thu, 15 Feb 2018 20:53:52 +0000 (12:53 -0800)]
[subset] fix no matching function MIN in djgpp

6 years ago[subset] add files to EXTRA_DIST
Rod Sheeter [Thu, 15 Feb 2018 19:40:28 +0000 (11:40 -0800)]
[subset] add files to EXTRA_DIST

6 years ago[subset] correct bug introduced to get_advance
Rod Sheeter [Thu, 15 Feb 2018 19:29:01 +0000 (11:29 -0800)]
[subset] correct bug introduced to get_advance

6 years ago[subset] remove unused decl
Rod Sheeter [Thu, 15 Feb 2018 19:15:12 +0000 (11:15 -0800)]
[subset] remove unused decl

6 years agoMove collect_logs to .ci dir
Khaled Hosny [Thu, 15 Feb 2018 00:52:15 +0000 (02:52 +0200)]
Move collect_logs to .ci dir

Next to other CI scripts.

6 years ago[subset] hmtx space bracket. authors++
Rod Sheeter [Thu, 15 Feb 2018 05:11:45 +0000 (21:11 -0800)]
[subset] hmtx space bracket. authors++

6 years ago[subset] cmap space bracket
Rod Sheeter [Thu, 15 Feb 2018 03:36:33 +0000 (19:36 -0800)]
[subset] cmap space bracket

6 years ago[subset] space bracket
Rod Sheeter [Thu, 15 Feb 2018 03:22:37 +0000 (19:22 -0800)]
[subset] space bracket

6 years ago[subset] maxp copy writeable fn
Rod Sheeter [Thu, 15 Feb 2018 03:14:01 +0000 (19:14 -0800)]
[subset] maxp copy writeable fn

6 years ago[subset] hmtx use copy writeable fn instead of direct memory
Rod Sheeter [Thu, 15 Feb 2018 02:42:29 +0000 (18:42 -0800)]
[subset] hmtx use copy writeable fn instead of direct memory

6 years ago[subset] whitespace
Rod Sheeter [Thu, 15 Feb 2018 03:01:00 +0000 (19:01 -0800)]
[subset] whitespace

6 years ago[subset] Minor
Behdad Esfahbod [Thu, 15 Feb 2018 02:50:19 +0000 (18:50 -0800)]
[subset] Minor

6 years ago[test] Reinstate test/shaping/data/in-house/tests/myanmar-syllable.tests
Behdad Esfahbod [Thu, 15 Feb 2018 02:43:53 +0000 (18:43 -0800)]
[test] Reinstate test/shaping/data/in-house/tests/myanmar-syllable.tests

6 years ago[subset] Merge remote-tracking branch 'googlefonts/master'
Behdad Esfahbod [Thu, 15 Feb 2018 02:42:32 +0000 (18:42 -0800)]
[subset] Merge remote-tracking branch 'googlefonts/master'

6 years ago[subset] Don't fail on different checksum adjustment in subsetting tests.
Garret Rieger [Thu, 15 Feb 2018 01:00:18 +0000 (17:00 -0800)]
[subset] Don't fail on different checksum adjustment in subsetting tests.

6 years ago[subset] Fix hhea subsetting and clean up some memory leaks.
Garret Rieger [Thu, 15 Feb 2018 00:37:35 +0000 (16:37 -0800)]
[subset] Fix hhea subsetting and clean up some memory leaks.

6 years ago[subset] Add missing face reference in hb-subset-plan plus ensure all struct members...
Garret Rieger [Thu, 15 Feb 2018 00:05:39 +0000 (16:05 -0800)]
[subset] Add missing face reference in hb-subset-plan plus ensure all struct members are cleaned up on destroy.

6 years ago[subset] In hb-subset-test use hb_set_union instead of manually copying set.
Garret Rieger [Thu, 15 Feb 2018 00:01:08 +0000 (16:01 -0800)]
[subset] In hb-subset-test use hb_set_union instead of manually copying set.

6 years ago[subset] Restore hb_face_data_destroy to be internal.
Garret Rieger [Wed, 14 Feb 2018 23:57:11 +0000 (15:57 -0800)]
[subset] Restore hb_face_data_destroy to be internal.

6 years ago[subset] Fix memory leak in hb-ot-{maxp,os2}. Plus some formatting.
Garret Rieger [Wed, 14 Feb 2018 23:48:57 +0000 (15:48 -0800)]
[subset] Fix memory leak in hb-ot-{maxp,os2}. Plus some formatting.

6 years agoAnother linker tweaking
Behdad Esfahbod [Wed, 14 Feb 2018 23:46:27 +0000 (15:46 -0800)]
Another linker tweaking

Trying to fix this warning:
cc1: warning: command line option ‘-fno-threadsafe-statics’ is valid for C++/ObjC++ but not for C

Let's see what the clang bots think of it.

6 years ago[set] Tune size again
Behdad Esfahbod [Wed, 14 Feb 2018 23:44:48 +0000 (15:44 -0800)]
[set] Tune size again

Switch from a 128+64 hierarchy, to 32+32. New page size is 1024.
This should make set iteration faster, without affecting other op
performances much.

6 years ago[subset] remove TODO that was already done
Rod Sheeter [Wed, 14 Feb 2018 23:31:13 +0000 (15:31 -0800)]
[subset] remove TODO that was already done

6 years ago[subset] maxp wrong int type, note to use copy_writable_or_fail
Rod Sheeter [Wed, 14 Feb 2018 23:30:49 +0000 (15:30 -0800)]
[subset] maxp wrong int type, note to use copy_writable_or_fail

6 years ago[subset] return bool not hb_bool_t from table::subset
Rod Sheeter [Wed, 14 Feb 2018 23:24:49 +0000 (15:24 -0800)]
[subset] return bool not hb_bool_t from table::subset

6 years ago[subset] Use a supplier instead of memcpy and fix a few unnecessary {}s for cmap
Rod Sheeter [Wed, 14 Feb 2018 23:20:43 +0000 (15:20 -0800)]
[subset] Use a supplier instead of memcpy and fix a few unnecessary {}s for cmap

6 years ago[subset] add free
Rod Sheeter [Wed, 14 Feb 2018 23:04:35 +0000 (15:04 -0800)]
[subset] add free

6 years ago[subset] Give Behdad credit again
Rod Sheeter [Wed, 14 Feb 2018 23:04:15 +0000 (15:04 -0800)]
[subset] Give Behdad credit again

6 years ago[subset] First pass at hmtx
Rod Sheeter [Wed, 14 Feb 2018 22:16:25 +0000 (14:16 -0800)]
[subset] First pass at hmtx

6 years agoRedirect email notifications to another mailing list dedicated for this (#790)
Ebrahim Byagowi [Wed, 14 Feb 2018 21:45:39 +0000 (01:15 +0330)]
Redirect email notifications to another mailing list dedicated for this (#790)

6 years agoAdd .collect_logs and use it on CI bots, fixes #786 (#789)
Ebrahim Byagowi [Wed, 14 Feb 2018 21:13:46 +0000 (00:43 +0330)]
Add .collect_logs and use it on CI bots, fixes #786 (#789)