Behdad Esfahbod [Sat, 30 Mar 2019 04:46:13 +0000 (21:46 -0700)]
[iter] Port two more functions to daggers
Behdad Esfahbod [Sat, 30 Mar 2019 04:45:49 +0000 (21:45 -0700)]
Fix pair signature
Oh well. Again, who does fully understand what is right???
Behdad Esfahbod [Sat, 30 Mar 2019 04:36:49 +0000 (21:36 -0700)]
[iter] Add hb_unzip()
Behdad Esfahbod [Sat, 30 Mar 2019 04:17:08 +0000 (21:17 -0700)]
Whitespace
Behdad Esfahbod [Sat, 30 Mar 2019 04:16:30 +0000 (21:16 -0700)]
[iter] Port two more loops to dagger
Behdad Esfahbod [Sat, 30 Mar 2019 04:14:20 +0000 (21:14 -0700)]
[iter] Remove unneeded &&
Next commit needs this. I never fully get this, sigh.
Behdad Esfahbod [Sat, 30 Mar 2019 04:06:10 +0000 (21:06 -0700)]
Whitespace
Behdad Esfahbod [Sat, 30 Mar 2019 03:23:07 +0000 (20:23 -0700)]
Remove hb_assign()
Not needed anymore. We just use operator= now.
Behdad Esfahbod [Sat, 30 Mar 2019 03:17:46 +0000 (20:17 -0700)]
[C++11] Remove IntType::set() in favor of operator=
Behdad Esfahbod [Sat, 30 Mar 2019 03:05:19 +0000 (20:05 -0700)]
[vector] Accept all types in push(...)
Let assignment operator worry about conversion.
Behdad Esfahbod [Sat, 30 Mar 2019 03:01:37 +0000 (20:01 -0700)]
[C++11] Use type aliases for template partial instantiations
Behdad Esfahbod [Sat, 30 Mar 2019 00:57:59 +0000 (17:57 -0700)]
Remove unused line
Behdad Esfahbod [Sat, 30 Mar 2019 00:57:24 +0000 (17:57 -0700)]
[C++11] Replace BEInt.set() with operator=
Behdad Esfahbod [Sat, 30 Mar 2019 00:49:55 +0000 (17:49 -0700)]
[C++11] Add operator= to IntType<>
Now that we require C++11 we can do this.
Behdad Esfahbod [Fri, 29 Mar 2019 22:59:04 +0000 (15:59 -0700)]
Err. Fixup C++11 polyfill removal
Fixes
1d75db19fb5df139b9648ff3f5e6184a5c554345
Behdad Esfahbod [Fri, 29 Mar 2019 22:22:46 +0000 (15:22 -0700)]
Inline explicit_operator macro
Now that we require C++11, no need to macro.
Behdad Esfahbod [Fri, 29 Mar 2019 22:20:34 +0000 (15:20 -0700)]
Remove C++<11 polyfill
Leaving hb-atomic.hh as is since harmless and other projects might
copy from that file.
Behdad Esfahbod [Fri, 29 Mar 2019 21:37:04 +0000 (14:37 -0700)]
Merge branch 'master' into iter
Behdad Esfahbod [Fri, 29 Mar 2019 21:30:02 +0000 (14:30 -0700)]
Update RELEASING
Behdad Esfahbod [Fri, 29 Mar 2019 21:14:55 +0000 (14:14 -0700)]
[ci] Fix build
Ebrahim Byagowi [Fri, 29 Mar 2019 20:00:56 +0000 (13:00 -0700)]
[dwrite] A new API, hb_directwrite_face_get_font_face (#1600)
Can be useful when using HarfBuzz for font loading and shaping
but using DirectWrite for rendering.
Behdad Esfahbod [Fri, 29 Mar 2019 17:55:12 +0000 (10:55 -0700)]
Replace REPLACEME's left out of 2.4.0
https://github.com/harfbuzz/harfbuzz/issues/1641
Behdad Esfahbod [Fri, 29 Mar 2019 17:51:38 +0000 (10:51 -0700)]
[docs] Remove unexisting section
Behdad Esfahbod [Fri, 29 Mar 2019 17:46:44 +0000 (10:46 -0700)]
[iter] Remove hb_len()
Not planning on using it. So remove. Can add later if needed.
Behdad Esfahbod [Fri, 29 Mar 2019 04:58:07 +0000 (21:58 -0700)]
Add hb_hash()
I don't like the hb_remove_reference() hack, but necessary.
Behdad Esfahbod [Fri, 29 Mar 2019 04:44:12 +0000 (21:44 -0700)]
Add hb_is_integer(T)
Behdad Esfahbod [Fri, 29 Mar 2019 04:34:47 +0000 (21:34 -0700)]
[iter] Add hb_len() function-object
Behdad Esfahbod [Fri, 29 Mar 2019 04:26:50 +0000 (21:26 -0700)]
Merge branch 'master' into iter
Behdad Esfahbod [Fri, 29 Mar 2019 04:21:26 +0000 (21:21 -0700)]
2.4.0
Behdad Esfahbod [Fri, 29 Mar 2019 04:00:58 +0000 (21:00 -0700)]
Use internal bsearch() for language tags
Fixes https://github.com/harfbuzz/harfbuzz/pull/1639
Behdad Esfahbod [Fri, 29 Mar 2019 03:50:04 +0000 (20:50 -0700)]
[indic] Add back medial-consonant to grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1592
Behdad Esfahbod [Fri, 29 Mar 2019 03:23:12 +0000 (20:23 -0700)]
[khmer] Add trailing Coeng to syllable grammar
Fixes https://github.com/harfbuzz/harfbuzz/issues/1541
Ebrahim Byagowi [Thu, 28 Mar 2019 23:57:56 +0000 (16:57 -0700)]
[ci] Tweak macos and psvita bots (#1638)
* Add --with-graphite2 to macOS
* Add a dummy ragel script for psvita
Ebrahim Byagowi [Thu, 28 Mar 2019 22:42:45 +0000 (15:42 -0700)]
[ci] Use only CircleCI for macOS (#1637)
Behdad Esfahbod [Thu, 28 Mar 2019 20:44:38 +0000 (13:44 -0700)]
Fix shell syntax error
Fixes https://github.com/harfbuzz/harfbuzz/issues/1612
Behdad Esfahbod [Thu, 28 Mar 2019 18:11:52 +0000 (11:11 -0700)]
Comment
punchcutter [Thu, 28 Mar 2019 06:12:58 +0000 (23:12 -0700)]
Override USE category for Grantha and Tirhuta visargas to allow marks
Egor Pugin [Thu, 28 Mar 2019 16:06:12 +0000 (19:06 +0300)]
Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
Ebrahim Byagowi [Wed, 27 Mar 2019 12:08:39 +0000 (16:38 +0430)]
[ci] remove ragel from psvita compile bot
Ebrahim Byagowi [Wed, 27 Mar 2019 11:51:47 +0000 (16:21 +0430)]
[ci] Don't install ragel on cmake build bot images
It is not needed anyway
Behdad Esfahbod [Tue, 26 Mar 2019 23:18:03 +0000 (16:18 -0700)]
Use class templates for Null objects
This allows partial-instantiating custom Null object for template Lookup<T>.
Before, this had to be handcoded per instantiation. Apparently I missed
adding one for AAT::ankr.lookupTable, so it was getting the wrong (generic)
null for Lookup object, which is wrong and unsafe.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=944346
Behdad Esfahbod [Tue, 26 Mar 2019 23:17:45 +0000 (16:17 -0700)]
[aat] Add missing check to ankr table
Isn't absolutely needed. But helps.
Behdad Esfahbod [Mon, 25 Mar 2019 22:15:37 +0000 (15:15 -0700)]
[docs] Update
Behdad Esfahbod [Mon, 25 Mar 2019 22:08:14 +0000 (15:08 -0700)]
Update ChangeLog generation
Let's see if I can make a release on Mac...
Qunxin Liu [Tue, 26 Mar 2019 17:37:24 +0000 (10:37 -0700)]
completely remove lines that are commented out
Qunxin Liu [Tue, 26 Mar 2019 16:15:56 +0000 (09:15 -0700)]
update arguments in_populate_gids_to_retain() and _create_old_gid_to_new_gid_map()
so they don't use deprecated variable
Qunxin Liu [Tue, 26 Mar 2019 02:59:37 +0000 (19:59 -0700)]
try to remove deprecated variable from struct definition
Michiharu Ariza [Fri, 15 Mar 2019 20:46:25 +0000 (13:46 -0700)]
cff2 subset fuzzer issues (#1619)
* add check to FDArray::serialize
* add test files
* fix off by one
Ebrahim Byagowi [Thu, 14 Mar 2019 23:49:42 +0000 (16:49 -0700)]
Allow zero length ranges in sanitization (#1617)
Fixes fvar table sanitization where there are no named instance
by allowing zero length ranges starting from Null() address.
Fixes #1607
Khaled Hosny [Thu, 14 Mar 2019 19:41:25 +0000 (21:41 +0200)]
[ci] Cache FreeType build on Travis
David Corbett [Tue, 12 Mar 2019 23:30:47 +0000 (19:30 -0400)]
Categorize U+09FC as Consonant_Placeholder
Khaled Hosny [Wed, 13 Mar 2019 11:21:12 +0000 (13:21 +0200)]
[ci] Simplify and fix Travis CI macOS build
Behdad Esfahbod [Tue, 12 Mar 2019 01:09:51 +0000 (18:09 -0700)]
Remove redundant hb_ot_layout_lookup_would_substitute_fast
Khaled Hosny [Mon, 11 Mar 2019 23:09:27 +0000 (01:09 +0200)]
[doc] Add placeholder since version for new flag
David Corbett [Fri, 8 Mar 2019 14:46:48 +0000 (09:46 -0500)]
Remove obsolete overrides from Indic/USE scripts
Eric Muller [Tue, 12 Feb 2019 19:41:16 +0000 (11:41 -0800)]
Update generation code for hb-ot-shape-complex-vowel-constraints.cc. Remove 'unlikely'
Eric Muller [Sun, 10 Feb 2019 12:31:41 +0000 (04:31 -0800)]
Fix coding style.
Eric Muller [Sat, 9 Feb 2019 10:55:27 +0000 (02:55 -0800)]
Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences.
Current behavior unchanged if this flag is not set (and it isn't by default).
Ebrahim Byagowi [Thu, 7 Mar 2019 22:03:41 +0000 (01:33 +0330)]
Add a macOS 10.14.3 fonts tests (#1608)
David Corbett [Wed, 6 Mar 2019 17:37:25 +0000 (12:37 -0500)]
Update to Unicode 12.0.0
Adrian Wong [Wed, 13 Feb 2019 10:04:46 +0000 (21:04 +1100)]
[indic] Remove superfluous ZWNJ check in final reorder of pre-base matras
Stephan Bergmann [Tue, 5 Mar 2019 16:18:57 +0000 (17:18 +0100)]
Fix hb_atomic_* variants based on C++11 atomics
I stumbled over this when trying to upgrade the version of HarfBuzz used by
LibreOffice to 3.2.1 (see <https://gerrit.libreoffice.org/plugins/gitiles/core/
+/
b7ddc514bff9bdf682abae537f990aa01dc2c0fb%5E!/> "Upgrade to latest
HarfBuzz 2.3.1"), where building with MSVC 2017 failed like
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2440: 'reinterpret_cast': cannot convert from 'const int *' to 'std::atomic<int> *'
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): note: Conversion loses qualifiers
> c:\cygwin\home\tdf\lode\jenkins\workspace\gerrit_windows\workdir\unpackedtarball\harfbuzz\src\hb-atomic.hh(272): error C2227: left of '->load' must point to class/struct/union/generic type
(see <https://ci.libreoffice.org/job/gerrit_windows/29916/>).
I added all the necessary "const" to make building of HarfBuzz 2.3.1 with
MSVC 2017 succeed for me. There may be more missing at least conceptually.
Martin Hosken [Mon, 4 Mar 2019 04:12:21 +0000 (11:12 +0700)]
Fix offset drift in graphite integration
Ebrahim Byagowi [Fri, 1 Mar 2019 23:54:49 +0000 (03:24 +0330)]
Minor, remove .editorconfig hack
As vscode is going to support it soon
Garret Rieger [Fri, 1 Mar 2019 01:25:05 +0000 (17:25 -0800)]
Make hb_subset_input_glyph_set () actually do something.
Ebrahim Byagowi [Fri, 22 Feb 2019 09:43:42 +0000 (13:13 +0330)]
[dwrite] hb_directwrite_face_create, a new API
It makes a hb_face_t from IDWriteFontFace, useful when using
DirectWrite facilities for font selection, loading and rendering
but using harfbuzz for shaping.
David Corbett [Tue, 19 Feb 2019 03:30:40 +0000 (22:30 -0500)]
Fix or document unsupported font-feature-settings
Joël R. Langlois [Mon, 25 Feb 2019 20:26:58 +0000 (15:26 -0500)]
Remove Forcing Diagnostic Colours from CMakeLists.txt (#1597)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1596
Michiharu Ariza [Wed, 20 Feb 2019 21:23:12 +0000 (13:23 -0800)]
minor edit
Michiharu Ariza [Wed, 20 Feb 2019 20:43:18 +0000 (12:43 -0800)]
fix crash in hb_map_t::clear()
in case called immediately after init()
Khaled Hosny [Tue, 19 Feb 2019 19:14:11 +0000 (21:14 +0200)]
[doc] Move hb_variation_t to hb-common section
Khaled Hosny [Tue, 19 Feb 2019 17:27:28 +0000 (19:27 +0200)]
[doc] Move feature_t and its function to hb-common
It is rather confusing to have script, language etc, in hb-common section
while feature is in hb-shape section. I keep looking for it in hb-common
section then using the API index because I can’t find it there.
Evgeniy Reizner [Tue, 19 Feb 2019 16:35:00 +0000 (18:35 +0200)]
Typo (#1588)
Fixed a small typo.
[skip ci]
Khaled Hosny [Tue, 19 Feb 2019 00:23:58 +0000 (02:23 +0200)]
[doc] Document hb_feature_from_string() syntax
Copied and edited from the util option documentation. The docbook table
syntax is too verbose, but that is the best I can come up with.
Behdad Esfahbod [Sat, 16 Feb 2019 00:58:43 +0000 (16:58 -0800)]
WHitespace
Behdad Esfahbod [Sat, 16 Feb 2019 00:55:08 +0000 (16:55 -0800)]
[iter] Add hb_all, hb_any, hb_none
Behdad Esfahbod [Sat, 16 Feb 2019 00:11:32 +0000 (16:11 -0800)]
[iter] Make hb_iter() into function-object
Behdad Esfahbod [Sat, 16 Feb 2019 00:09:29 +0000 (16:09 -0800)]
[iter] Make hb_map into function-object
Behdad Esfahbod [Sat, 16 Feb 2019 00:06:03 +0000 (16:06 -0800)]
Merge remote-tracking branch 'origin/master' into iter
Behdad Esfahbod [Sat, 16 Feb 2019 00:05:36 +0000 (16:05 -0800)]
[iter] Add hb_enumerate() and use it
Behdad Esfahbod [Fri, 15 Feb 2019 23:54:51 +0000 (15:54 -0800)]
Merge pull request #1557 from harfbuzz/cff-more-arrayof-fixes
CFF more arrayof fixes
Behdad Esfahbod [Fri, 15 Feb 2019 23:54:13 +0000 (15:54 -0800)]
Merge pull request #1583 from harfbuzz/cff-retain-gids
[subset] Implement --retain-gids with CFF/CFF2
Michiharu Ariza [Fri, 15 Feb 2019 22:48:10 +0000 (14:48 -0800)]
Merge branch 'master' into cff-more-arrayof-fixes
Michiharu Ariza [Fri, 15 Feb 2019 22:47:38 +0000 (14:47 -0800)]
Merge branch 'master' into cff-retain-gids
Martin [Fri, 15 Feb 2019 18:23:46 +0000 (19:23 +0100)]
Support xlclang++ on AIX. (#1584)
Behdad Esfahbod [Fri, 15 Feb 2019 04:46:13 +0000 (20:46 -0800)]
[test] Minor
Behdad Esfahbod [Fri, 15 Feb 2019 04:15:07 +0000 (20:15 -0800)]
[algs] Test pair more
Behdad Esfahbod [Fri, 15 Feb 2019 03:37:57 +0000 (19:37 -0800)]
[algs] Use universal references for hb_pair()
Such that it carries lvalues inside.
Behdad Esfahbod [Fri, 15 Feb 2019 01:10:04 +0000 (17:10 -0800)]
[iter] Use more
Behdad Esfahbod [Thu, 14 Feb 2019 23:43:20 +0000 (15:43 -0800)]
[iter] Use in more places
Behdad Esfahbod [Thu, 14 Feb 2019 23:14:37 +0000 (15:14 -0800)]
[iter] Use in a couple more intersects() calls
Behdad Esfahbod [Thu, 14 Feb 2019 23:13:16 +0000 (15:13 -0800)]
[iter] Use in a couple more closure() calls
Behdad Esfahbod [Thu, 14 Feb 2019 22:04:05 +0000 (14:04 -0800)]
[iter] Add hb_drain
Behdad Esfahbod [Thu, 14 Feb 2019 21:45:52 +0000 (13:45 -0800)]
[iter] A couple more hb_apply() + lambda uses
Behdad Esfahbod [Thu, 14 Feb 2019 21:16:33 +0000 (13:16 -0800)]
[iter] Use hb_apply() with lambda functions in a few places
Behdad Esfahbod [Thu, 14 Feb 2019 19:53:40 +0000 (11:53 -0800)]
[iter] Remove excess use of universal references
Every time I have to study these to understand why a change is right..
Behdad Esfahbod [Thu, 14 Feb 2019 19:40:22 +0000 (11:40 -0800)]
[iter] Add hb_apply()
Behdad Esfahbod [Thu, 14 Feb 2019 19:34:55 +0000 (11:34 -0800)]
Merge branch 'master' into iter
Behdad Esfahbod [Thu, 14 Feb 2019 19:34:28 +0000 (11:34 -0800)]
[CI] Install more packages
Wish there was a way to streamline this :(.
Behdad Esfahbod [Thu, 14 Feb 2019 19:10:13 +0000 (11:10 -0800)]
[iter] Make hb_filter() a function-object