platform/upstream/libHarfBuzzSharp.git
5 years ago[iter] Make filter/map copyable
Behdad Esfahbod [Tue, 7 May 2019 07:05:37 +0000 (00:05 -0700)]
[iter] Make filter/map copyable

5 years ago[meta] Add hb_reference_wrapper<>
Behdad Esfahbod [Tue, 7 May 2019 07:03:35 +0000 (00:03 -0700)]
[meta] Add hb_reference_wrapper<>

Functionality kinda superset of std:: counterpart.

5 years agoWhitespace
Behdad Esfahbod [Tue, 7 May 2019 06:39:26 +0000 (23:39 -0700)]
Whitespace

5 years agoAdd hb_ref()
Behdad Esfahbod [Tue, 7 May 2019 06:39:13 +0000 (23:39 -0700)]
Add hb_ref()

Unused.

5 years agoRename hb_deref_pointer() to hb_deref()
Behdad Esfahbod [Tue, 7 May 2019 06:17:39 +0000 (23:17 -0700)]
Rename hb_deref_pointer() to hb_deref()

5 years ago[iter] Adjust hb_filter
Behdad Esfahbod [Tue, 7 May 2019 06:04:32 +0000 (23:04 -0700)]
[iter] Adjust hb_filter

5 years ago[iter] Implement range-based for loops
Behdad Esfahbod [Tue, 7 May 2019 02:57:15 +0000 (19:57 -0700)]
[iter] Implement range-based for loops

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

5 years agoIgnore -Wc++11-compat as we require C++11 actually
Ebrahim Byagowi [Mon, 6 May 2019 20:54:55 +0000 (01:24 +0430)]
Ignore -Wc++11-compat as we require C++11 actually

pollutes gcc bots logs https://circleci.com/gh/harfbuzz/harfbuzz/85395

5 years agoRemove HB_NO_OPTIONS in favor of HB_NO_GETENV
Behdad Esfahbod [Mon, 6 May 2019 19:16:51 +0000 (12:16 -0700)]
Remove HB_NO_OPTIONS in favor of HB_NO_GETENV

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

5 years ago[dispatch] Forward arguments in all dispatch multiplexers
Behdad Esfahbod [Sun, 5 May 2019 17:14:17 +0000 (10:14 -0700)]
[dispatch] Forward arguments in all dispatch multiplexers

5 years agoFix previous commit
Behdad Esfahbod [Sun, 5 May 2019 16:54:58 +0000 (09:54 -0700)]
Fix previous commit

Priority should be given to specific over dispatch.  Broke sanitize before.
This fixes it, by moving prioritization to the context implementation, since
the correct priority cannot be done in the dispatch implementation.  Done
for subset and sanitize only, which need it.

5 years ago[dispatch] Use functionality from previous commit
Behdad Esfahbod [Sun, 5 May 2019 16:23:35 +0000 (09:23 -0700)]
[dispatch] Use functionality from previous commit

To remove a couple of unwanted wrapper methods

5 years ago[dispatch] Try obj.dispatch(c) before trying c->dispatch(obj)
Behdad Esfahbod [Sun, 5 May 2019 16:10:46 +0000 (09:10 -0700)]
[dispatch] Try obj.dispatch(c) before trying c->dispatch(obj)

5 years agoRevert "[WIP] [name] Port to fancy serializer machinery"
Behdad Esfahbod [Fri, 3 May 2019 17:37:32 +0000 (10:37 -0700)]
Revert "[WIP] [name] Port to fancy serializer machinery"

This reverts commit c7f366fbbb208d0a9103ac4ee4ac00ff726c31e4.

Don't know how it got to master!

5 years agoAdd configuration option HB_NO_GETENV to disable use of getenv()
Cody Planteen [Thu, 2 May 2019 19:03:15 +0000 (13:03 -0600)]
Add configuration option HB_NO_GETENV to disable use of getenv()

5 years ago[WIP] [name] Port to fancy serializer machinery
Behdad Esfahbod [Thu, 2 May 2019 23:29:07 +0000 (16:29 -0700)]
[WIP] [name] Port to fancy serializer machinery

5 years ago[name] Add NameRecord::copy()
Behdad Esfahbod [Thu, 2 May 2019 23:26:06 +0000 (16:26 -0700)]
[name] Add NameRecord::copy()

5 years ago[name] Minor changes
Behdad Esfahbod [Thu, 2 May 2019 23:25:00 +0000 (16:25 -0700)]
[name] Minor changes

5 years ago[serialize] Disable assertion for now
Behdad Esfahbod [Thu, 2 May 2019 23:22:32 +0000 (16:22 -0700)]
[serialize] Disable assertion for now

5 years ago[serialize] Misc getting copy() to work
Behdad Esfahbod [Thu, 2 May 2019 23:20:18 +0000 (16:20 -0700)]
[serialize] Misc getting copy() to work

5 years ago[debug] Allow return_trace() to return any type
Behdad Esfahbod [Thu, 2 May 2019 23:20:03 +0000 (16:20 -0700)]
[debug] Allow return_trace() to return any type

5 years ago[test] Run "fonttools ttx" instead of "ttx"
Behdad Esfahbod [Thu, 2 May 2019 23:19:34 +0000 (16:19 -0700)]
[test] Run "fonttools ttx" instead of "ttx"

5 years ago[serialize] Check offset base is within (possibly end of) object
Behdad Esfahbod [Thu, 2 May 2019 22:12:07 +0000 (15:12 -0700)]
[serialize] Check offset base is within (possibly end of) object

5 years ago[name] Fix format of susbetted table to 0
Behdad Esfahbod [Thu, 2 May 2019 22:03:41 +0000 (15:03 -0700)]
[name] Fix format of susbetted table to 0

5 years ago[name] Use variable forwarding to simplify sanitize()
Behdad Esfahbod [Thu, 2 May 2019 21:45:57 +0000 (14:45 -0700)]
[name] Use variable forwarding to simplify sanitize()

5 years ago[name]
Behdad Esfahbod [Thu, 2 May 2019 21:42:37 +0000 (14:42 -0700)]
[name]

5 years ago[serializer] Add copy() to (Unsized)ArrayOf
Behdad Esfahbod [Thu, 2 May 2019 21:39:52 +0000 (14:39 -0700)]
[serializer] Add copy() to (Unsized)ArrayOf

5 years ago[serializer] Accept exact type in serialize_subset/copy()
Behdad Esfahbod [Thu, 2 May 2019 21:22:31 +0000 (14:22 -0700)]
[serializer] Accept exact type in serialize_subset/copy()

5 years ago[serialize] Take arguments in copy()
Behdad Esfahbod [Thu, 2 May 2019 21:14:33 +0000 (14:14 -0700)]
[serialize] Take arguments in copy()

5 years ago[serializer] Add serialize_copy()
Behdad Esfahbod [Thu, 2 May 2019 21:04:51 +0000 (14:04 -0700)]
[serializer] Add serialize_copy()

5 years agoRemove dead code
Behdad Esfahbod [Thu, 2 May 2019 20:51:52 +0000 (13:51 -0700)]
Remove dead code

5 years agoSync gen-vowel-constraints.py with current output
David Corbett [Thu, 2 May 2019 01:29:06 +0000 (21:29 -0400)]
Sync gen-vowel-constraints.py with current output

5 years agoAdd dotted circles to more broken clusters
David Corbett [Wed, 1 May 2019 20:15:58 +0000 (16:15 -0400)]
Add dotted circles to more broken clusters

5 years agoRemove space between right angle brackets now that we have C++11 (#1689)
Ebrahim Byagowi [Tue, 30 Apr 2019 20:05:10 +0000 (13:05 -0700)]
Remove space between right angle brackets now that we have C++11 (#1689)

5 years ago[doc] Add documentation to hb_color_get_* and hb_directwrite_face_* (#1690)
Ebrahim Byagowi [Tue, 30 Apr 2019 20:01:04 +0000 (13:01 -0700)]
[doc] Add documentation to hb_color_get_* and hb_directwrite_face_* (#1690)

5 years agoFix some dead links
David Corbett [Tue, 30 Apr 2019 17:35:50 +0000 (13:35 -0400)]
Fix some dead links

5 years agoAdd color channels getters ABI (#1513)
Ebrahim Byagowi [Mon, 29 Apr 2019 21:52:28 +0000 (14:52 -0700)]
Add color channels getters ABI (#1513)

So can be used with language wrappers

5 years ago[ci] Remove crosscompile-notest-freebsd9 bot
Ebrahim Byagowi [Mon, 29 Apr 2019 21:40:50 +0000 (02:10 +0430)]
[ci] Remove crosscompile-notest-freebsd9 bot

It was testing an old version of freebsd and now it's image is gone.
We really like to test the environment.

5 years agoAllow some Balinese Po & So as aksara modre bases
David Corbett [Mon, 29 Apr 2019 18:16:51 +0000 (14:16 -0400)]
Allow some Balinese Po & So as aksara modre bases

5 years ago[valgrind] Use libtool and support run-subset-fuzzer-tests (#1668)
Ebrahim Byagowi [Sun, 28 Apr 2019 18:54:07 +0000 (11:54 -0700)]
[valgrind] Use libtool and support run-subset-fuzzer-tests (#1668)

5 years ago[test] Add crbug.com/oss-fuzz/14474 testcase
Ebrahim Byagowi [Sun, 28 Apr 2019 17:55:07 +0000 (10:55 -0700)]
[test] Add crbug.com/oss-fuzz/14474 testcase

Fixed at 6977a95f

5 years ago[subset] Don't crash if subsetting GSUB/GPOS fails
Behdad Esfahbod [Sat, 27 Apr 2019 17:05:25 +0000 (10:05 -0700)]
[subset] Don't crash if subsetting GSUB/GPOS fails

Fixes fuzzer issue.

5 years ago[subset] Check error after calling serializer end
Behdad Esfahbod [Sat, 27 Apr 2019 17:01:11 +0000 (10:01 -0700)]
[subset] Check error after calling serializer end

5 years ago[meta] Add hb_type_identity<>
Behdad Esfahbod [Sat, 27 Apr 2019 00:14:25 +0000 (17:14 -0700)]
[meta] Add hb_type_identity<>

To block template argument deduction.

5 years ago[subset] Updates due to changes in resolve_links() on master branch
Qunxin Liu [Thu, 25 Apr 2019 16:17:58 +0000 (09:17 -0700)]
[subset] Updates due to changes in resolve_links() on master branch

5 years agoMove implementations of hb-ot-name-language.cc into a hb-static.cc
Garret Rieger [Wed, 24 Apr 2019 22:15:36 +0000 (15:15 -0700)]
Move implementations of hb-ot-name-language.cc into a hb-static.cc

5 years ago[subset] Update to use _subset2() for name table
Qunxin Liu [Wed, 24 Apr 2019 21:02:29 +0000 (14:02 -0700)]
[subset] Update to use _subset2() for name table

5 years ago[subset] Add unit test for str de-dup
Qunxin Liu [Mon, 22 Apr 2019 18:31:23 +0000 (11:31 -0700)]
[subset] Add unit test for str de-dup
Also move the implementation of some methods from the .cc to the .hh

5 years ago[subset] update name table subsetting with new serializer
Qunxin Liu [Tue, 16 Apr 2019 18:20:58 +0000 (11:20 -0700)]
[subset] update name table subsetting with new serializer

5 years ago[subset] Subsetting Name Table Step 4
Qunxin Liu [Wed, 10 Apr 2019 23:38:35 +0000 (16:38 -0700)]
[subset] Subsetting Name Table Step 4
Add unit test and integration test

5 years ago[subset] Subset name table step 3, add --nameids option to guide the
Qunxin Liu [Fri, 5 Apr 2019 17:05:55 +0000 (10:05 -0700)]
[subset] Subset name table step 3, add --nameids option to guide the
selection of which name records to keep in the subset method.

5 years ago[subset] subset name table step 2, add implementation for collecting subset
Qunxin Liu [Tue, 2 Apr 2019 20:38:27 +0000 (13:38 -0700)]
[subset] subset name table step 2, add implementation for collecting subset
elements and serialize method

5 years ago[subset] subset name table step 1, write out table unmodified, use accelerator to...
Qunxin Liu [Fri, 29 Mar 2019 17:34:32 +0000 (10:34 -0700)]
[subset] subset name table step 1,  write out table unmodified, use accelerator to access
string

5 years agoRewrite hb_is_signed()
Behdad Esfahbod [Fri, 26 Apr 2019 21:40:01 +0000 (14:40 -0700)]
Rewrite hb_is_signed()

5 years ago[iter] Fix hb_is_iterator_of() to actually check item type
Behdad Esfahbod [Fri, 26 Apr 2019 20:16:48 +0000 (13:16 -0700)]
[iter] Fix hb_is_iterator_of() to actually check item type

5 years ago[array] Adjust hb_sorted_array_t copy constructor/assignment to match hb_array_t
Behdad Esfahbod [Fri, 26 Apr 2019 20:03:41 +0000 (13:03 -0700)]
[array] Adjust hb_sorted_array_t copy constructor/assignment to match hb_array_t

5 years ago[array] Use hb_is_cr_convertible_to()
Behdad Esfahbod [Fri, 26 Apr 2019 19:58:06 +0000 (12:58 -0700)]
[array] Use hb_is_cr_convertible_to()

5 years ago[meta] Add hb_is_cr_convertible_to()
Behdad Esfahbod [Fri, 26 Apr 2019 19:57:56 +0000 (12:57 -0700)]
[meta] Add hb_is_cr_convertible_to()

5 years ago[meta] Add hb_decay<>
Behdad Esfahbod [Fri, 26 Apr 2019 19:52:28 +0000 (12:52 -0700)]
[meta] Add hb_decay<>

5 years agocopy retain_gids from input to plan
Michiharu Ariza [Fri, 26 Apr 2019 17:12:38 +0000 (10:12 -0700)]
copy retain_gids from input to plan

5 years agoAnother try at fixing cmake build
Behdad Esfahbod [Wed, 24 Apr 2019 23:41:57 +0000 (16:41 -0700)]
Another try at fixing cmake build

5 years agoFix sign-compare error on 32-bit systems
Behdad Esfahbod [Wed, 24 Apr 2019 23:31:37 +0000 (16:31 -0700)]
Fix sign-compare error on 32-bit systems

5 years ago[THANKS] Add Ivan Kuckir <https://photopea.com/>
Behdad Esfahbod [Wed, 24 Apr 2019 22:08:27 +0000 (15:08 -0700)]
[THANKS] Add Ivan Kuckir <https://photopea.com/>

https://github.com/harfbuzz/harfbuzz/issues/1633#issuecomment-485764140

5 years agoTry fixing cmake build
Behdad Esfahbod [Wed, 24 Apr 2019 20:36:29 +0000 (16:36 -0400)]
Try fixing cmake build

5 years ago[iter] Add tests for casting to hb_iter_t<> base class for hb_sorted_array_t<>
Behdad Esfahbod [Wed, 24 Apr 2019 16:19:13 +0000 (12:19 -0400)]
[iter] Add tests for casting to hb_iter_t<> base class for hb_sorted_array_t<>

Something's phishy about hb_sorted_array_t<>.  Can't get it work nicely with
change I'm making.  Ugh..

5 years ago[iter] Remove fixed TODO
Behdad Esfahbod [Wed, 24 Apr 2019 14:56:12 +0000 (10:56 -0400)]
[iter] Remove fixed TODO

5 years ago[map] Fix TODO
Behdad Esfahbod [Wed, 24 Apr 2019 14:53:16 +0000 (10:53 -0400)]
[map] Fix TODO

5 years ago[mutex] Remove TODO
Behdad Esfahbod [Wed, 24 Apr 2019 14:44:24 +0000 (10:44 -0400)]
[mutex] Remove TODO

5 years ago[map] Use hb_invoke() with pointer-to-method
Behdad Esfahbod [Wed, 24 Apr 2019 14:43:40 +0000 (10:43 -0400)]
[map] Use hb_invoke() with pointer-to-method

5 years ago[algs] Add more hb_forward<>()'s
Behdad Esfahbod [Wed, 24 Apr 2019 14:32:49 +0000 (10:32 -0400)]
[algs] Add more hb_forward<>()'s

5 years ago[serialize] Fix SingleSubstFormat1 failure
Behdad Esfahbod [Wed, 24 Apr 2019 14:24:33 +0000 (10:24 -0400)]
[serialize] Fix SingleSubstFormat1 failure

5 years ago[serialize] Rename
Behdad Esfahbod [Wed, 24 Apr 2019 14:22:06 +0000 (10:22 -0400)]
[serialize] Rename

5 years agoRemove wrong TODOs
Behdad Esfahbod [Wed, 24 Apr 2019 14:15:59 +0000 (10:15 -0400)]
Remove wrong TODOs

5 years ago[serialize] Add c->check_assign()
Behdad Esfahbod [Wed, 24 Apr 2019 14:07:19 +0000 (10:07 -0400)]
[serialize] Add c->check_assign()

To check for assignment overflows.

5 years agoFix two TODOs
Behdad Esfahbod [Wed, 24 Apr 2019 14:01:30 +0000 (10:01 -0400)]
Fix two TODOs

5 years agoRename a few test programs
Behdad Esfahbod [Wed, 24 Apr 2019 13:55:24 +0000 (09:55 -0400)]
Rename a few test programs

5 years agoMove test code around
Behdad Esfahbod [Wed, 24 Apr 2019 13:24:38 +0000 (09:24 -0400)]
Move test code around

5 years agoRely on variadic parameter pack more
Behdad Esfahbod [Wed, 24 Apr 2019 13:22:14 +0000 (09:22 -0400)]
Rely on variadic parameter pack more

5 years ago[serialize] Fix a few overflow TODO items
Behdad Esfahbod [Wed, 24 Apr 2019 13:09:00 +0000 (09:09 -0400)]
[serialize] Fix a few overflow TODO items

5 years agoOne more variadic parameter pack use
Behdad Esfahbod [Wed, 24 Apr 2019 03:57:11 +0000 (23:57 -0400)]
One more variadic parameter pack use

5 years agoUse hb_forward() when forwarding parameter pack
Behdad Esfahbod [Wed, 24 Apr 2019 03:49:21 +0000 (23:49 -0400)]
Use hb_forward() when forwarding parameter pack

5 years agoUse variadic templates in OffsetTo<> and various ArrayOf<>s
Behdad Esfahbod [Tue, 23 Apr 2019 16:58:52 +0000 (12:58 -0400)]
Use variadic templates in OffsetTo<> and various ArrayOf<>s

5 years agoFix clang's -Wmain complain (#1678)
Ebrahim Byagowi [Tue, 23 Apr 2019 08:10:46 +0000 (01:10 -0700)]
Fix clang's -Wmain complain (#1678)

5 years ago.editorconfig, minor
Ebrahim Byagowi [Tue, 23 Apr 2019 08:10:29 +0000 (12:40 +0430)]
.editorconfig, minor

still doesn't work with vscode

5 years agoErr, fix hb_invoke() variadic
Behdad Esfahbod [Mon, 22 Apr 2019 21:45:23 +0000 (17:45 -0400)]
Err, fix hb_invoke() variadic

5 years agoAdd variadic arguments to hb_invoke()
Behdad Esfahbod [Mon, 22 Apr 2019 21:32:19 +0000 (17:32 -0400)]
Add variadic arguments to hb_invoke()

5 years ago[serializer] Add err_propagaged_error()
Behdad Esfahbod [Mon, 22 Apr 2019 19:37:10 +0000 (15:37 -0400)]
[serializer] Add err_propagaged_error()

5 years agoMinor
Behdad Esfahbod [Mon, 22 Apr 2019 19:25:11 +0000 (15:25 -0400)]
Minor

5 years agoUse variadic template args for propagate_error()
Behdad Esfahbod [Mon, 22 Apr 2019 19:20:25 +0000 (15:20 -0400)]
Use variadic template args for propagate_error()

Let's see if bots happy.

Not sure where else we can use these.  Mm.  Maybe in hb_invoke().

5 years agoSimplify propagate_error()
Behdad Esfahbod [Mon, 22 Apr 2019 19:16:35 +0000 (15:16 -0400)]
Simplify propagate_error()

5 years ago[docs] Remove fdo repo
Behdad Esfahbod [Sun, 21 Apr 2019 16:27:32 +0000 (12:27 -0400)]
[docs] Remove fdo repo

Has not been updated.

5 years agoUpdate AUTHORS / COPYING
Behdad Esfahbod [Sun, 21 Apr 2019 16:25:19 +0000 (12:25 -0400)]
Update AUTHORS / COPYING

5 years agoRevert "Add harfbuzzjs build configuration (#1636)" (#1675)
Ebrahim Byagowi [Fri, 19 Apr 2019 19:14:09 +0000 (12:14 -0700)]
Revert "Add harfbuzzjs build configuration (#1636)" (#1675)

This reverts commit 694cb1beeefe1c54b2e613d2d566a21e248a2c9c.

5 years agoAdd harfbuzzjs build configuration (#1636)
Ebrahim Byagowi [Fri, 19 Apr 2019 14:51:04 +0000 (07:51 -0700)]
Add harfbuzzjs build configuration (#1636)

5 years agoMinor warning fix again
Behdad Esfahbod [Thu, 18 Apr 2019 23:04:59 +0000 (19:04 -0400)]
Minor warning fix again

5 years agoadd spaces
Michiharu Ariza [Thu, 18 Apr 2019 22:17:10 +0000 (15:17 -0700)]
add spaces

5 years agofix oss-fuzz issue 14345
Michiharu Ariza [Thu, 18 Apr 2019 21:53:35 +0000 (14:53 -0700)]
fix oss-fuzz issue 14345

5 years agosilence MVC warnings 3rd attempt
Michiharu Ariza [Thu, 18 Apr 2019 20:54:58 +0000 (13:54 -0700)]
silence MVC warnings 3rd attempt

5 years agosilence MVC warnings 2nd attempt
Michiharu Ariza [Thu, 18 Apr 2019 18:32:10 +0000 (11:32 -0700)]
silence MVC warnings 2nd attempt

5 years agosilence MVC warnings
Michiharu Ariza [Thu, 18 Apr 2019 17:38:57 +0000 (10:38 -0700)]
silence MVC warnings