Behdad Esfahbod [Sun, 31 Mar 2019 01:48:26 +0000 (18:48 -0700)]
[serializer] Unbreak for now
Behdad Esfahbod [Sun, 31 Mar 2019 01:44:01 +0000 (18:44 -0700)]
[map] Shuffle fini code
Behdad Esfahbod [Sun, 31 Mar 2019 01:33:30 +0000 (18:33 -0700)]
[vector] Add move semantics
Behdad Esfahbod [Sun, 31 Mar 2019 01:30:50 +0000 (18:30 -0700)]
[vector] Add some move and forwarding
Behdad Esfahbod [Sun, 31 Mar 2019 01:19:36 +0000 (18:19 -0700)]
[meta] Add hb_move and hb_forward ala std::
Behdad Esfahbod [Sun, 31 Mar 2019 01:14:30 +0000 (18:14 -0700)]
[serialize] Flesh out packing
Behdad Esfahbod [Sun, 31 Mar 2019 01:13:57 +0000 (18:13 -0700)]
[vector] Add copy constructor and assignment operator
Behdad Esfahbod [Sun, 31 Mar 2019 01:00:03 +0000 (18:00 -0700)]
[serialize] Minor
Behdad Esfahbod [Sun, 31 Mar 2019 00:51:26 +0000 (17:51 -0700)]
[serialize] Add packed_map
Behdad Esfahbod [Sun, 31 Mar 2019 00:26:35 +0000 (17:26 -0700)]
[serialize] Start fleshing out object stack
Behdad Esfahbod [Sun, 31 Mar 2019 00:12:40 +0000 (17:12 -0700)]
[serialize] Simplify propagate_error()
Behdad Esfahbod [Sun, 31 Mar 2019 00:10:59 +0000 (17:10 -0700)]
[serialize] Add object_t, link_t, and snapshot_t
Behdad Esfahbod [Sat, 30 Mar 2019 23:38:06 +0000 (16:38 -0700)]
[map] Add another TODO item
Behdad Esfahbod [Sat, 30 Mar 2019 23:29:19 +0000 (16:29 -0700)]
[map] Add TODO
Behdad Esfahbod [Sat, 30 Mar 2019 22:08:39 +0000 (15:08 -0700)]
[serialize] Add unused 'tail'
Behdad Esfahbod [Sat, 30 Mar 2019 22:06:25 +0000 (15:06 -0700)]
[serialize] Add ran_out_of_room
Behdad Esfahbod [Sat, 30 Mar 2019 21:59:40 +0000 (14:59 -0700)]
Split sanitize and dispatch into their own files
Behdad Esfahbod [Sat, 30 Mar 2019 21:53:54 +0000 (14:53 -0700)]
Move serializer to hb-serialize.hh
Behdad Esfahbod [Sat, 30 Mar 2019 21:46:54 +0000 (14:46 -0700)]
Whitespace
Behdad Esfahbod [Sat, 30 Mar 2019 21:39:21 +0000 (14:39 -0700)]
[map] Deref pointers before equality check
Behdad Esfahbod [Sat, 30 Mar 2019 21:30:22 +0000 (14:30 -0700)]
[map] Templatize hb_map_t
Template name is hb_hashmap_t<K,V>.
Behdad Esfahbod [Sat, 30 Mar 2019 20:48:32 +0000 (13:48 -0700)]
Add hb_deref_pointer()
Behdad Esfahbod [Sat, 30 Mar 2019 06:31:07 +0000 (23:31 -0700)]
[iter] Fix bug in hb_any() and hb_none()
Behdad Esfahbod [Sat, 30 Mar 2019 05:55:02 +0000 (22:55 -0700)]
[iter] Port remaining "for (auto" instances to daggers
Behdad Esfahbod [Sat, 30 Mar 2019 05:48:38 +0000 (22:48 -0700)]
[iter] One more dagger
Behdad Esfahbod [Sat, 30 Mar 2019 05:48:12 +0000 (22:48 -0700)]
[iter] Remove more wrong &&'s
Sigh...
Behdad Esfahbod [Sat, 30 Mar 2019 05:40:13 +0000 (22:40 -0700)]
[iter] More daggers
Behdad Esfahbod [Sat, 30 Mar 2019 05:27:46 +0000 (22:27 -0700)]
[iter] More daggers
Behdad Esfahbod [Sat, 30 Mar 2019 05:17:31 +0000 (22:17 -0700)]
[iter] One more dagger
Behdad Esfahbod [Sat, 30 Mar 2019 05:12:42 +0000 (22:12 -0700)]
Remove HB_DEBUG_WOULD_APPLY
Not that useful.
Behdad Esfahbod [Sat, 30 Mar 2019 05:04:15 +0000 (22:04 -0700)]
[iter] Port more to daggers
Behdad Esfahbod [Sat, 30 Mar 2019 04:59:28 +0000 (21:59 -0700)]
Whitespace
Behdad Esfahbod [Sat, 30 Mar 2019 04:57:26 +0000 (21:57 -0700)]
Simplify code
Behdad Esfahbod [Sat, 30 Mar 2019 04:57:17 +0000 (21:57 -0700)]
[iter] Port one more function to dagger
Behdad Esfahbod [Sat, 30 Mar 2019 04:49:18 +0000 (21:49 -0700)]
[iter] Port more code to daggers
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.