platform/upstream/libHarfBuzzSharp.git
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

5 years agoMinor
Behdad Esfahbod [Thu, 18 Apr 2019 16:21:25 +0000 (12:21 -0400)]
Minor

5 years ago[array] Simplify copy assignment/constructor
Behdad Esfahbod [Thu, 18 Apr 2019 14:04:10 +0000 (10:04 -0400)]
[array] Simplify copy assignment/constructor

To fix bogus MSVC warnings:

  c:\projects\harfbuzz\src\hb-array.hh(189): warning C4521: 'hb_array_t<Type>': multiple copy constructors specified [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
  c:\projects\harfbuzz\src\hb-array.hh(189): warning C4522: 'hb_array_t<Type>': multiple assignment operators specified [C:\projects\harfbuzz\build\harfbuzz.vcxproj]

5 years ago[serialize] Fix offset calculation
Behdad Esfahbod [Wed, 17 Apr 2019 21:59:39 +0000 (17:59 -0400)]
[serialize] Fix offset calculation

5 years ago[subset] Assert offsets are zero during relocation
Behdad Esfahbod [Wed, 17 Apr 2019 21:58:13 +0000 (17:58 -0400)]
[subset] Assert offsets are zero during relocation

If they're not, it's a bug in our subsetting logic somewhere.  So check.

5 years ago[serializer] Add copy()
Behdad Esfahbod [Wed, 17 Apr 2019 15:00:08 +0000 (11:00 -0400)]
[serializer] Add copy()

Calls obj.copy() or obj.operator=() in that order.

5 years agoAdd HB_RETURN
Behdad Esfahbod [Wed, 17 Apr 2019 14:20:02 +0000 (10:20 -0400)]
Add HB_RETURN

5 years agoComment out ot_languages where fallback suffices
David Corbett [Tue, 16 Apr 2019 21:29:34 +0000 (17:29 -0400)]
Comment out ot_languages where fallback suffices

5 years agoFix "hb_script_" doc typo
David Corbett [Wed, 17 Apr 2019 13:11:44 +0000 (09:11 -0400)]
Fix "hb_script_" doc typo

5 years agoOne more auto return type
Behdad Esfahbod [Tue, 16 Apr 2019 22:33:51 +0000 (18:33 -0400)]
One more auto return type

5 years agoRename HB_AUTO_RETURN_EXPR to HB_AUTO_RETURN
Behdad Esfahbod [Tue, 16 Apr 2019 22:28:17 +0000 (18:28 -0400)]
Rename HB_AUTO_RETURN_EXPR to HB_AUTO_RETURN

5 years agoUse HB_AUTO_RETURN_EXPR in hb_min/max
Behdad Esfahbod [Tue, 16 Apr 2019 22:27:25 +0000 (18:27 -0400)]
Use HB_AUTO_RETURN_EXPR in hb_min/max

5 years agoUse auto return type for hb_first/hb_second
Behdad Esfahbod [Tue, 16 Apr 2019 22:26:30 +0000 (18:26 -0400)]
Use auto return type for hb_first/hb_second

5 years agoUse hb_deref_pointer() to reduce number of overloads
Behdad Esfahbod [Tue, 16 Apr 2019 21:34:06 +0000 (17:34 -0400)]
Use hb_deref_pointer() to reduce number of overloads

5 years agoProperly prioritize hb_hash()
Behdad Esfahbod [Tue, 16 Apr 2019 21:28:18 +0000 (17:28 -0400)]
Properly prioritize hb_hash()

5 years agoMove around
Behdad Esfahbod [Tue, 16 Apr 2019 21:22:29 +0000 (17:22 -0400)]
Move around

5 years agoFix priorities
Behdad Esfahbod [Tue, 16 Apr 2019 20:50:07 +0000 (16:50 -0400)]
Fix priorities

5 years agoUse type aliasing for meta-functions, ie. those returning a type
Behdad Esfahbod [Tue, 16 Apr 2019 20:45:53 +0000 (16:45 -0400)]
Use type aliasing for meta-functions, ie. those returning a type

5 years agoReduce LangTag from 3 language system tags to 1
David Corbett [Tue, 16 Apr 2019 14:04:45 +0000 (10:04 -0400)]
Reduce LangTag from 3 language system tags to 1

5 years agoReduce NullPool size
Behdad Esfahbod [Tue, 16 Apr 2019 15:35:09 +0000 (11:35 -0400)]
Reduce NullPool size

5 years ago[meta] Flesh out hb_invoke()
Behdad Esfahbod [Tue, 16 Apr 2019 15:24:42 +0000 (11:24 -0400)]
[meta] Flesh out hb_invoke()

5 years agoComment
Behdad Esfahbod [Tue, 16 Apr 2019 15:20:16 +0000 (11:20 -0400)]
Comment

5 years ago[meta] Add hb_invoke()
Behdad Esfahbod [Tue, 16 Apr 2019 14:50:22 +0000 (10:50 -0400)]
[meta] Add hb_invoke()

5 years ago[meta] Add HB_AUTO_RETURN_EXPR, HB_VOID_RETURN_EXPR, hb_priority, hb_has(), hb_get()
Behdad Esfahbod [Tue, 16 Apr 2019 14:45:20 +0000 (10:45 -0400)]
[meta] Add HB_AUTO_RETURN_EXPR, HB_VOID_RETURN_EXPR, hb_priority, hb_has(), hb_get()

The first three based on range-v3.

5 years agoAdd hb_void_tt<> ala std::void_t
Behdad Esfahbod [Tue, 16 Apr 2019 13:59:08 +0000 (09:59 -0400)]
Add hb_void_tt<> ala std::void_t

5 years agoFix copyright
Behdad Esfahbod [Mon, 15 Apr 2019 21:36:09 +0000 (17:36 -0400)]
Fix copyright

5 years ago[fuzzing] Run valgrind with --leak-check=full
Behdad Esfahbod [Mon, 15 Apr 2019 20:53:10 +0000 (16:53 -0400)]
[fuzzing] Run valgrind with --leak-check=full

5 years ago[fuzzing] Fail if valgrind is requested but not found
Behdad Esfahbod [Mon, 15 Apr 2019 20:52:21 +0000 (16:52 -0400)]
[fuzzing] Fail if valgrind is requested but not found

5 years agoMore tweaks to previous commit
Behdad Esfahbod [Mon, 15 Apr 2019 20:43:34 +0000 (16:43 -0400)]
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.

5 years agoDelete default assignment operator Offset<>
Behdad Esfahbod [Mon, 15 Apr 2019 20:00:20 +0000 (16:00 -0400)]
Delete default assignment operator Offset<>

5 years agoAdd HB_FUNCOBJ()
Behdad Esfahbod [Mon, 15 Apr 2019 19:39:03 +0000 (15:39 -0400)]
Add HB_FUNCOBJ()

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

5 years ago[Usermanual]: fix Tamil error in Why-do-I-need-a-shaping-engine section.
Nathan Willis [Mon, 15 Apr 2019 17:05:14 +0000 (18:05 +0100)]
[Usermanual]: fix Tamil error in Why-do-I-need-a-shaping-engine section.

5 years agoMove static const to post-struct for a function object
Behdad Esfahbod [Mon, 15 Apr 2019 16:44:31 +0000 (12:44 -0400)]
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

5 years agoUgh. Another try, to unbreak gcc this time!
Behdad Esfahbod [Mon, 15 Apr 2019 16:07:00 +0000 (12:07 -0400)]
Ugh.  Another try, to unbreak gcc this time!

Jenga.

5 years agoMove location of HB_UNUSED to make MSVC happy
Behdad Esfahbod [Mon, 15 Apr 2019 15:59:57 +0000 (11:59 -0400)]
Move location of HB_UNUSED to make MSVC happy

5 years agoFix gcc warning
Behdad Esfahbod [Mon, 15 Apr 2019 15:31:40 +0000 (11:31 -0400)]
Fix gcc warning

5 years ago[ci] Fix macOS glib issue
Ebrahim Byagowi [Sun, 14 Apr 2019 20:04:04 +0000 (00:34 +0430)]
[ci] Fix macOS glib issue

5 years agoAdd HB_NO_SUBSET_LAYOUT
Behdad Esfahbod [Sat, 13 Apr 2019 02:50:22 +0000 (22:50 -0400)]
Add HB_NO_SUBSET_LAYOUT

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

5 years agoRevert "Hide symbols in hb-iter"
Behdad Esfahbod [Sat, 13 Apr 2019 02:42:44 +0000 (22:42 -0400)]
Revert "Hide symbols in hb-iter"

This reverts commit 98f14c4cdb837a962083a6702f401d41b4c1ec5c.

Same as previous commit.

5 years agoRevert "Hide more symbols"
Behdad Esfahbod [Sat, 13 Apr 2019 02:39:38 +0000 (22:39 -0400)]
Revert "Hide more symbols"

This reverts commit 2e86d50915cf1a791da9acb95245aa820a3d70f4.

I think the setup that caused me to do this is faulty and not hiding inlines.

5 years agoHide symbols in hb-iter
Behdad Esfahbod [Fri, 12 Apr 2019 22:11:18 +0000 (18:11 -0400)]
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.

5 years agoHide more symbols
Behdad Esfahbod [Fri, 12 Apr 2019 22:07:42 +0000 (18:07 -0400)]
Hide more symbols

Exposed by:

$ make -j5 CPPFLAGS="-O0" CXXFLAGS=-flto=thin LDFLAGS=-lc++ && ./check-symbols.sh

5 years agoHide a few more symbols
Behdad Esfahbod [Fri, 12 Apr 2019 21:59:18 +0000 (17:59 -0400)]
Hide a few more symbols

Exposed by:

$ make CPPFLAGS=-O0

5 years agoHide a few static methods
Behdad Esfahbod [Fri, 12 Apr 2019 21:50:03 +0000 (17:50 -0400)]
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++

5 years agoAdd HB_NO_OPTIONS
Behdad Esfahbod [Fri, 12 Apr 2019 20:21:58 +0000 (16:21 -0400)]
Add HB_NO_OPTIONS

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

5 years agoAdd HB_NO_NAME_TABLE_AAT
Behdad Esfahbod [Fri, 12 Apr 2019 19:00:37 +0000 (15:00 -0400)]
Add HB_NO_NAME_TABLE_AAT

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

5 years agoAdd HB_NO_OT_FONT_BITMAP
Behdad Esfahbod [Fri, 12 Apr 2019 18:58:53 +0000 (14:58 -0400)]
Add HB_NO_OT_FONT_BITMAP

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

5 years agoAdd HB_NO_OT_FONT_CFF
Behdad Esfahbod [Fri, 12 Apr 2019 18:57:49 +0000 (14:57 -0400)]
Add HB_NO_OT_FONT_CFF

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

5 years agoAdd HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
Behdad Esfahbod [Fri, 12 Apr 2019 14:16:12 +0000 (10:16 -0400)]
Add HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK

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

5 years agoAdd HB_NO_OT_SHAPE_FALLBACK
Behdad Esfahbod [Fri, 12 Apr 2019 14:12:11 +0000 (10:12 -0400)]
Add HB_NO_OT_SHAPE_FALLBACK

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

5 years agoAdd HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
Behdad Esfahbod [Fri, 12 Apr 2019 13:35:29 +0000 (09:35 -0400)]
Add HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK

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

5 years agoAdd HB_NO_OT_LAYOUT_BLACKLIST
Behdad Esfahbod [Fri, 12 Apr 2019 13:33:25 +0000 (09:33 -0400)]
Add HB_NO_OT_LAYOUT_BLACKLIST

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

5 years agoAdd HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
Behdad Esfahbod [Thu, 11 Apr 2019 21:54:38 +0000 (17:54 -0400)]
Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS

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

5 years agoUpdate gtk-doc annotations for inout counts on various getter functions.
Nathan Willis [Tue, 2 Apr 2019 17:49:40 +0000 (18:49 +0100)]
Update gtk-doc annotations for inout counts on various getter functions.

5 years ago[Docs] Minor edits to gtk-doc inline comment review.
Nathan Willis [Sun, 24 Mar 2019 15:07:07 +0000 (15:07 +0000)]
[Docs] Minor edits to gtk-doc inline comment review.

5 years ago[Docs] Minor; fix formatting for gtk-doc multiple-annotations.
Nathan Willis [Mon, 18 Mar 2019 14:03:16 +0000 (14:03 +0000)]
[Docs] Minor; fix formatting for gtk-doc multiple-annotations.