platform/upstream/libHarfBuzzSharp.git
5 years agoMerge pull request #1665 from n8willis/docs-gtkdoc-colormath
n8willis [Sun, 12 May 2019 19:03:29 +0000 (20:03 +0100)]
Merge pull request #1665 from n8willis/docs-gtkdoc-colormath

[Docs] Add gtk-doc comments for OT color and OT math

5 years agoFix builds
Behdad Esfahbod [Sun, 12 May 2019 18:08:45 +0000 (11:08 -0700)]
Fix builds

5 years ago[config] Enable HB_NO_MT in HB_TINY
Behdad Esfahbod [Sun, 12 May 2019 18:05:24 +0000 (11:05 -0700)]
[config] Enable HB_NO_MT in HB_TINY

Now that user can override it if needed...

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

5 years agoForce-disable CFF code under disabling conditions
Behdad Esfahbod [Sun, 12 May 2019 17:29:47 +0000 (10:29 -0700)]
Force-disable CFF code under disabling conditions

Subsetter size goes down from 190kb to 119kb.  Main library about 7kb.

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

5 years ago[config] Allow overriding chosen config
Behdad Esfahbod [Sat, 11 May 2019 23:12:07 +0000 (16:12 -0700)]
[config] Allow overriding chosen config

5 years ago[test] minor, fix -Weverything bot
Ebrahim Byagowi [Sat, 11 May 2019 22:48:41 +0000 (18:48 -0400)]
[test] minor, fix -Weverything bot

5 years ago[test] minor
Ebrahim Byagowi [Sat, 11 May 2019 19:50:42 +0000 (19:50 +0000)]
[test] minor

style fix and add return statement

5 years agoMerge branch 'master' into docs-gtkdoc-colormath
n8willis [Sat, 11 May 2019 19:16:57 +0000 (20:16 +0100)]
Merge branch 'master' into docs-gtkdoc-colormath

5 years agoCorrections to OT Color gtk-doc comments.
Nathan Willis [Sat, 11 May 2019 19:11:49 +0000 (20:11 +0100)]
Corrections to OT Color gtk-doc comments.

5 years agoCorrections to OT Math gtk-doc comments.
Nathan Willis [Sat, 11 May 2019 19:11:36 +0000 (20:11 +0100)]
Corrections to OT Math gtk-doc comments.

5 years agoFix build
Behdad Esfahbod [Sat, 11 May 2019 19:11:22 +0000 (12:11 -0700)]
Fix build

5 years agoDisable sbix if no-color or no-ot-font-bitmap
Behdad Esfahbod [Sat, 11 May 2019 18:59:18 +0000 (11:59 -0700)]
Disable sbix if no-color or no-ot-font-bitmap

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

5 years ago[iter] Check for more before forwarding/rewinding past ends
Behdad Esfahbod [Sat, 11 May 2019 18:54:30 +0000 (11:54 -0700)]
[iter] Check for more before forwarding/rewinding past ends

5 years ago[iter] Fix filter rewinding
David Corbett [Sat, 11 May 2019 15:38:06 +0000 (11:38 -0400)]
[iter] Fix filter rewinding

5 years ago[array] Fix rewinding
David Corbett [Sat, 11 May 2019 02:51:49 +0000 (22:51 -0400)]
[array] Fix rewinding

5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 18:51:24 +0000 (19:51 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years ago[iter] Add hb_map_sorted() and hb_map_retains_sorting()
Behdad Esfahbod [Sat, 11 May 2019 18:23:31 +0000 (11:23 -0700)]
[iter] Add hb_map_sorted() and hb_map_retains_sorting()

5 years agoUpdate src/hb-ot-math.cc
n8willis [Sat, 11 May 2019 13:10:32 +0000 (14:10 +0100)]
Update src/hb-ot-math.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-math.cc
n8willis [Sat, 11 May 2019 13:10:11 +0000 (14:10 +0100)]
Update src/hb-ot-math.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 13:09:52 +0000 (14:09 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 13:09:26 +0000 (14:09 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 13:08:40 +0000 (14:08 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 13:07:38 +0000 (14:07 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years agoUpdate src/hb-ot-color.cc
n8willis [Sat, 11 May 2019 13:06:56 +0000 (14:06 +0100)]
Update src/hb-ot-color.cc

Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
5 years ago[config] Rename
Behdad Esfahbod [Sat, 11 May 2019 08:28:31 +0000 (01:28 -0700)]
[config] Rename

5 years ago[config] Add HB_NO_NAME
Behdad Esfahbod [Sat, 11 May 2019 08:27:50 +0000 (01:27 -0700)]
[config] Add HB_NO_NAME

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

5 years ago[config] HB_NO_OT_NAME_LANGUAGE AAT
Behdad Esfahbod [Sat, 11 May 2019 08:24:23 +0000 (01:24 -0700)]
[config] HB_NO_OT_NAME_LANGUAGE AAT

5 years ago[config] Comment
Behdad Esfahbod [Sat, 11 May 2019 08:14:04 +0000 (01:14 -0700)]
[config] Comment

5 years ago[config] Enable HB_NO_NAME_TABLE_AAT
Behdad Esfahbod [Sat, 11 May 2019 08:08:51 +0000 (01:08 -0700)]
[config] Enable HB_NO_NAME_TABLE_AAT

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

5 years ago[config] Add HB_NO_COLOR to HB_LEAN
Behdad Esfahbod [Sat, 11 May 2019 07:53:52 +0000 (00:53 -0700)]
[config] Add HB_NO_COLOR to HB_LEAN

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

5 years ago[config Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS to LEAN
Behdad Esfahbod [Sat, 11 May 2019 07:47:20 +0000 (00:47 -0700)]
[config Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS to LEAN

Already I don't like the inflexibility of this approach :(.

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

5 years ago[config] Disbale getenv() and atexit() if HB_LEAN
Behdad Esfahbod [Sat, 11 May 2019 07:44:22 +0000 (00:44 -0700)]
[config] Disbale getenv() and atexit() if HB_LEAN

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

5 years ago[config] Make HB_DISABLE_DEPRECATED actually compile
Behdad Esfahbod [Sat, 11 May 2019 07:37:01 +0000 (00:37 -0700)]
[config] Make HB_DISABLE_DEPRECATED actually compile

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

5 years ago[config] Add HB_NO_OT_LAYOUT_UNUSED
Behdad Esfahbod [Sat, 11 May 2019 07:19:03 +0000 (00:19 -0700)]
[config] Add HB_NO_OT_LAYOUT_UNUSED

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

5 years ago[config] Adjust
Behdad Esfahbod [Sat, 11 May 2019 07:16:18 +0000 (00:16 -0700)]
[config] Adjust

5 years ago[config] Add HB_LEAN
Behdad Esfahbod [Sat, 11 May 2019 07:13:35 +0000 (00:13 -0700)]
[config] Add HB_LEAN

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

5 years ago[config] Fix tests
Behdad Esfahbod [Sat, 11 May 2019 07:06:57 +0000 (00:06 -0700)]
[config] Fix tests

5 years ago[config] Flesh out more
Behdad Esfahbod [Sat, 11 May 2019 07:04:59 +0000 (00:04 -0700)]
[config] Flesh out more

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

5 years ago[config] Add some
Behdad Esfahbod [Sat, 11 May 2019 06:55:22 +0000 (23:55 -0700)]
[config] Add some

5 years agoAdd hb-config.hh
Behdad Esfahbod [Sat, 11 May 2019 06:53:38 +0000 (23:53 -0700)]
Add hb-config.hh

5 years ago[subset] More HB_NO_SUBSET_LAYOUT
Behdad Esfahbod [Sat, 11 May 2019 06:46:22 +0000 (23:46 -0700)]
[subset] More HB_NO_SUBSET_LAYOUT

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

5 years ago[cff] Prune more code if HB_NO_OT_FONT_CFF
Behdad Esfahbod [Sat, 11 May 2019 06:39:53 +0000 (23:39 -0700)]
[cff] Prune more code if HB_NO_OT_FONT_CFF

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

5 years ago[subset] Add HB_NO_SUBSET_CFF
Behdad Esfahbod [Sat, 11 May 2019 06:36:42 +0000 (23:36 -0700)]
[subset] Add HB_NO_SUBSET_CFF

Doesn't fully prune all the relevant code.  To be fixed later.

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

5 years agoAdd HB_NO_AAT
Behdad Esfahbod [Sat, 11 May 2019 06:31:05 +0000 (23:31 -0700)]
Add HB_NO_AAT

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

5 years ago[cff] Minor
Behdad Esfahbod [Sat, 11 May 2019 06:17:15 +0000 (23:17 -0700)]
[cff] Minor

5 years agoMinor
Behdad Esfahbod [Sat, 11 May 2019 06:15:58 +0000 (23:15 -0700)]
Minor

5 years ago[sanitize] Fix previous commit
Behdad Esfahbod [Sat, 11 May 2019 05:44:19 +0000 (22:44 -0700)]
[sanitize] Fix previous commit

5 years ago[sanitize] Simplify
Behdad Esfahbod [Sat, 11 May 2019 05:23:24 +0000 (22:23 -0700)]
[sanitize] Simplify

5 years ago[sanitize] Use hb_is_trivially_copyable()
Behdad Esfahbod [Sat, 11 May 2019 05:11:51 +0000 (22:11 -0700)]
[sanitize] Use hb_is_trivially_copyable()

5 years ago[meta] Add hb_is_trivial
Behdad Esfahbod [Sat, 11 May 2019 05:04:40 +0000 (22:04 -0700)]
[meta] Add hb_is_trivial

5 years ago[meta] Add hb_is_trivially_copyable()
Behdad Esfahbod [Sat, 11 May 2019 05:03:03 +0000 (22:03 -0700)]
[meta] Add hb_is_trivially_copyable()

5 years ago[meta] Add is_trivially_destructible
Behdad Esfahbod [Sat, 11 May 2019 04:59:57 +0000 (21:59 -0700)]
[meta] Add is_trivially_destructible

5 years agoRemove accidentally included include
Behdad Esfahbod [Sat, 11 May 2019 04:50:15 +0000 (21:50 -0700)]
Remove accidentally included include

5 years ago[meta] Add is_destructible
Behdad Esfahbod [Sat, 11 May 2019 04:49:25 +0000 (21:49 -0700)]
[meta] Add is_destructible

5 years ago[met]a Add is_constructible, ...
Behdad Esfahbod [Sat, 11 May 2019 04:42:59 +0000 (21:42 -0700)]
[met]a Add is_constructible, ...

5 years ago[iter] Adjust source_of/sink_of
Behdad Esfahbod [Sat, 11 May 2019 04:25:07 +0000 (21:25 -0700)]
[iter] Adjust source_of/sink_of

5 years agoUse hb_void_t<> the way it's supposed to be used
Behdad Esfahbod [Sat, 11 May 2019 04:03:14 +0000 (21:03 -0700)]
Use hb_void_t<> the way it's supposed to be used

5 years ago[meta] Minor
Behdad Esfahbod [Sat, 11 May 2019 04:01:19 +0000 (21:01 -0700)]
[meta] Minor

5 years ago[meta] More rewrites
Behdad Esfahbod [Sat, 11 May 2019 03:56:16 +0000 (20:56 -0700)]
[meta] More rewrites

5 years ago[meta] Rewrite hb_int_min/max
Behdad Esfahbod [Sat, 11 May 2019 03:49:52 +0000 (20:49 -0700)]
[meta] Rewrite hb_int_min/max

5 years ago[meta] void_tt -> void_t
Behdad Esfahbod [Sat, 11 May 2019 03:43:51 +0000 (20:43 -0700)]
[meta] void_tt -> void_t

5 years ago[meta] hb_void_t -> hb_empty_t
Behdad Esfahbod [Sat, 11 May 2019 03:43:26 +0000 (20:43 -0700)]
[meta] hb_void_t -> hb_empty_t

5 years ago[meta] Minor
Behdad Esfahbod [Sat, 11 May 2019 03:34:52 +0000 (20:34 -0700)]
[meta] Minor

5 years agoMinor
Behdad Esfahbod [Sat, 11 May 2019 03:31:20 +0000 (20:31 -0700)]
Minor

5 years ago[meta] Rewrite is_signed, add is_unsigned
Behdad Esfahbod [Sat, 11 May 2019 03:26:29 +0000 (20:26 -0700)]
[meta] Rewrite is_signed, add is_unsigned

5 years ago[meta] Rewrite is_integral / is_floating_point, add is_arithmetic
Behdad Esfahbod [Sat, 11 May 2019 03:20:51 +0000 (20:20 -0700)]
[meta] Rewrite is_integral / is_floating_point, add is_arithmetic

5 years ago[meta] Rewrite is_cr_convertible
Behdad Esfahbod [Sat, 11 May 2019 03:17:30 +0000 (20:17 -0700)]
[meta] Rewrite is_cr_convertible

5 years ago[meta] Rewrite is_base_of
Behdad Esfahbod [Sat, 11 May 2019 03:15:03 +0000 (20:15 -0700)]
[meta] Rewrite is_base_of

5 years ago[null] Modernize template work
Behdad Esfahbod [Sat, 11 May 2019 03:11:29 +0000 (20:11 -0700)]
[null] Modernize template work

5 years ago[meta] Add integral_constant, true_t -> true_type, false_t -> false_type
Behdad Esfahbod [Sat, 11 May 2019 03:06:31 +0000 (20:06 -0700)]
[meta] Add integral_constant, true_t -> true_type, false_t -> false_type

5 years ago[meta] bool_tt -> bool_constant
Behdad Esfahbod [Sat, 11 May 2019 03:03:14 +0000 (20:03 -0700)]
[meta] bool_tt -> bool_constant

5 years ago[meta] Add is_floating_point
Behdad Esfahbod [Sat, 11 May 2019 02:56:36 +0000 (19:56 -0700)]
[meta] Add is_floating_point

5 years ago[meta] Add is_signed for floating point types
Behdad Esfahbod [Sat, 11 May 2019 02:49:26 +0000 (19:49 -0700)]
[meta] Add is_signed for floating point types

5 years ago[meta] is_integer -> is_integral
Behdad Esfahbod [Sat, 11 May 2019 02:48:02 +0000 (19:48 -0700)]
[meta] is_integer -> is_integral

5 years ago[meta] Add add_const, add_pointer, add_lvalue_reference, add_rvalue_reference
Behdad Esfahbod [Sat, 11 May 2019 02:29:32 +0000 (19:29 -0700)]
[meta] Add add_const, add_pointer, add_lvalue_reference, add_rvalue_reference

5 years ago[vector] Simplify arrayZ
Behdad Esfahbod [Sat, 11 May 2019 01:40:29 +0000 (18:40 -0700)]
[vector] Simplify arrayZ

Was turned into function when we had static ones and wanted to be
move-safe...  Not the case anymore.

5 years ago[subset] Use more auto typing
Behdad Esfahbod [Fri, 10 May 2019 23:35:31 +0000 (16:35 -0700)]
[subset] Use more auto typing

5 years agoMinor
Behdad Esfahbod [Fri, 10 May 2019 23:26:19 +0000 (16:26 -0700)]
Minor

5 years ago[serialize] More rewrite
Behdad Esfahbod [Fri, 10 May 2019 23:21:03 +0000 (16:21 -0700)]
[serialize] More rewrite

5 years ago[serialize] Fix a TODO
Behdad Esfahbod [Fri, 10 May 2019 23:07:51 +0000 (16:07 -0700)]
[serialize] Fix a TODO

5 years agoUpdate TESTING.md
rsheeter [Fri, 10 May 2019 23:52:43 +0000 (16:52 -0700)]
Update TESTING.md

5 years agoFix sanitize fail of extension sublookups
Behdad Esfahbod [Fri, 10 May 2019 23:01:39 +0000 (16:01 -0700)]
Fix sanitize fail of extension sublookups

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=960331

5 years agoMinor
Behdad Esfahbod [Fri, 10 May 2019 20:56:50 +0000 (13:56 -0700)]
Minor

5 years agoMinor
Behdad Esfahbod [Fri, 10 May 2019 20:53:15 +0000 (13:53 -0700)]
Minor

5 years agoMinor again
Behdad Esfahbod [Fri, 10 May 2019 20:51:12 +0000 (13:51 -0700)]
Minor again

5 years agoMinor
Behdad Esfahbod [Fri, 10 May 2019 20:43:29 +0000 (13:43 -0700)]
Minor

5 years ago[gsubgpos] Minor
Behdad Esfahbod [Fri, 10 May 2019 20:17:41 +0000 (13:17 -0700)]
[gsubgpos] Minor

5 years agoGenerate tarball in .xz instead of .bz2
Behdad Esfahbod [Fri, 10 May 2019 18:53:02 +0000 (11:53 -0700)]
Generate tarball in .xz instead of .bz2

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

5 years agoFix bot
Behdad Esfahbod [Fri, 10 May 2019 18:32:59 +0000 (11:32 -0700)]
Fix bot

Any way to catch these?

5 years ago[meta] Add hb_is_base_of
Behdad Esfahbod [Fri, 10 May 2019 18:26:39 +0000 (11:26 -0700)]
[meta] Add hb_is_base_of

5 years ago[iter] Adjust is_source_of / is_sink_of
Behdad Esfahbod [Fri, 10 May 2019 18:18:52 +0000 (11:18 -0700)]
[iter] Adjust is_source_of / is_sink_of

There are two cases that we accept.  Encode both.

5 years agoUpdate TESTING.md
rsheeter [Fri, 10 May 2019 03:06:29 +0000 (20:06 -0700)]
Update TESTING.md

5 years ago[iter] Rewrite test functions
Behdad Esfahbod [Thu, 9 May 2019 23:58:28 +0000 (16:58 -0700)]
[iter] Rewrite test functions

Notably, add hb_is_source_of(,) and hb_is_sink_of(,) to replace most
uses of hb_is_iterator_of(,).

5 years agoMinor
Behdad Esfahbod [Thu, 9 May 2019 23:22:08 +0000 (16:22 -0700)]
Minor

5 years agoWhitespace
Behdad Esfahbod [Thu, 9 May 2019 23:08:10 +0000 (16:08 -0700)]
Whitespace

5 years agoFix bot
Behdad Esfahbod [Thu, 9 May 2019 22:39:32 +0000 (15:39 -0700)]
Fix bot

5 years ago[algs] Implement implicit casting between compatible pair types
Behdad Esfahbod [Thu, 9 May 2019 22:31:24 +0000 (15:31 -0700)]
[algs] Implement implicit casting between compatible pair types

5 years ago[meta] Rewrite hb_is_cr_converitble
Behdad Esfahbod [Thu, 9 May 2019 22:24:14 +0000 (15:24 -0700)]
[meta] Rewrite hb_is_cr_converitble

5 years agoFix compile
Behdad Esfahbod [Thu, 9 May 2019 22:19:42 +0000 (15:19 -0700)]
Fix compile

NameRecord is not copy-constructible, so should be iterator of
const-reference.

5 years agoAdjust is_cr_convertible
Behdad Esfahbod [Thu, 9 May 2019 22:09:07 +0000 (15:09 -0700)]
Adjust is_cr_convertible

If To is const& then From doesn't need to be &.