Log

Author Commit Date CI Message
Khaled Hosny 84dd65a8 2020-10-13T20:21:28 [test] Remove timeout from test runners See https://github.com/harfbuzz/harfbuzz/issues/2707#issuecomment-707744079 This wasn’t inconsistent as well, HB_TEST_SUBSET_FUZZER_TIMEOUT defaulted to 12 in the test runner, but it was overridden to 50 in meson.build, and then meson has its own test timeout.
Behdad Esfahbod 3232e6f2 2020-10-15T00:20:17 [buffer] Add hb_buffer_has_positions() Fixes https://github.com/harfbuzz/harfbuzz/issues/2716
Khaled Hosny 97a093c5 2020-10-12T15:32:22 [hb-subset] Improve error handling a bit * Check that output-file option is actually set before trying to open it. * Print file name and errno when opening the output file fails. * Be more resilient when writing output file and use ferror() to check for errors. Fixes https://github.com/harfbuzz/harfbuzz/issues/2711
Khaled Hosny fa771a7f 2020-10-11T22:11:17 [tests] Fix memory leak in test To make valgrind bot happy.
David Corbett 916c5a90 2020-10-10T14:15:16 Consistently emit BCP 47 subtag scope suffixes
David Corbett dec52006 2020-10-10T14:49:55 Map BCP 47 tags to all macrolanguages The general rule is that if a BCP 47 macrolanguage maps to an OpenType language system tag, all its individual languages map to it too. Previously, a tag like "prs" (Dari) would not map to the language system tag ('FAR ') of its macrolanguage ("fa") because "prs" already has its own language system tag ('DRI '). That exception has been removed: now "prs" maps to 'DRI ' and falls back to 'FAR '.
David Corbett 1d53268d 2020-10-10T14:46:36 Fix two-way mapping of "man" and 'MNK '
David Corbett ab38cf67 2020-10-10T14:21:20 Map hy-arevmda to 'HYE ' instead of HYE0
Behdad Esfahbod 1c05f678 2020-10-11T12:28:25 [buffer] Increase work limits Our previous limits of 64 per input character was already hit by David Corbett's under-development Duployan font. Increase work limits by factor of 16, and number of glyphs by factor of 2. Fixes https://github.com/harfbuzz/harfbuzz/issues/2707
Behdad Esfahbod b37edebf 2020-10-09T21:26:09 [buffer/deserialize] Do not clear() buffer upon content type mismatch We return false. I don't see reason to clear buffer.
Behdad Esfahbod c396e160 2020-10-09T21:13:10 [buffer/deserialize] Accept arbitrary glyph names Accepts escapes. Added TODO items for matching escaping in serialize().
Behdad Esfahbod 4a4eebcf 2020-10-09T21:06:20 [buffer/serialize] Minor renames in Ragel machines As per my previous review on: https://github.com/harfbuzz/harfbuzz/pull/2687
Behdad Esfahbod 04658ec4 2020-10-09T17:59:54 [tests/buffer] Update tests for previous commit
Simon Cozens a0203a28 2020-09-17T16:49:59 Use hb_buffer_serialize to trace in utils
Simon Cozens 58bcc1ce 2020-09-17T16:29:40 Serialize Unicode buffers
Behdad Esfahbod 8f5d8b15 2020-10-09T17:58:57 [buffer] Buffer start <= end <= len requirement in (de-)serialize
Behdad Esfahbod 3b64122a 2020-10-09T17:55:21 [buffer] Fix immutable case with end_ptr==nullptr
Simon Cozens 7c0bc0bb 2020-09-25T21:24:41 Serialize invalid buffer to !! (text) or [] (json) There is no generic deserialize - you have to choose glyphs or unicode - so there is no way to deserialize this buffer.
Simon Cozens 5bb88c4f 2020-09-25T10:08:00 Oops debug print
Simon Cozens f56eb402 2020-09-25T10:06:33 Immutable buffer fix
Simon Cozens 150f3914 2020-09-25T10:04:39 Prohibit mixed glyphs/unicode buffers in deserialization
Simon Cozens 6b1726b6 2020-09-21T16:35:40 Typos
Simon Cozens 3d3c87e7 2020-09-21T14:35:05 Put the flags back in and serialize clusters. Note that now JSON glyph buffers and Unicode buffers look very similar, except for the g/u property difference.
Simon Cozens 432a05b2 2020-09-18T14:19:39 (Simple) tests for Unicode serialization/deserialization
Behdad Esfahbod 540d2cdd 2020-10-09T18:07:28 [tests/buffer] Revert unintended whitespace changes From 9e5538d6a3d6f1ffbee7fad3c821621f17d61494 Tried squashing into, but too much merge conflict.
Simon Cozens c03a2001 2020-09-18T14:19:17 Deserialization routines for Unicode buffers
Simon Cozens c0716bb5 2020-09-18T10:31:28 Move delimiter addition into hb-buffer-serialize
Behdad Esfahbod 78fb6a11 2020-10-09T18:02:16 Whitespace
Simon Cozens 36ede569 2020-09-18T10:24:29 Fix docs Note the delimiters stuff isn’t true yet, will be working on that
Simon Cozens bb7b634c 2020-09-18T09:49:19 Simplify JSON unicode serialization It’s just an array of codepoints; no need to turn them into objects
Behdad Esfahbod 140552ce 2020-10-09T18:01:32 [buffer/serialize] Only serialize empty buffers of CONTENT_TYPE_INVALID
Simon Cozens 57a528ab 2020-09-18T09:35:05 Convert tabs to spaces
Simon Cozens aff6a362 2020-09-18T09:27:27 Use auxbuffer for serialize_unicode_text
David Corbett c39ab82c 2020-10-06T16:51:40 Fix usage text of gen-use-table.py
David Corbett a99e8721 2020-09-28T21:12:46 [use] Fix tests with MSVC
Koji Ishii 7e6070a4 2020-08-31T17:21:21 Set *coord to nullptr
Koji Ishii 4e0bddb7 2020-08-19T20:49:10 get_baseline
Behdad Esfahbod 48fcb909 2020-09-27T16:53:32 [docs] Remove misleading wording re OpenType HarfBuzz has not *just* been implementing OpenType for a while. At least since 2.0, where we added native AAT support in Oct 2018.
Khaled Hosny 5539d158 2020-09-26T10:41:38 Merge pull request #1679 from n8willis/docs-gtkdoc-extern [Docs] Add GTK-Doc comments for external APIs
Khaled Hosny 1a15bf1c 2020-09-26T10:41:04 Merge pull request #2695 from khaledhosny/docs-fix Minor build docs improvement
Khaled Hosny cc7b3a1a 2020-09-26T10:22:39 [Docs] Address review comments
n8willis 41b46a3c 2020-04-26T16:01:31 Update hb-face.cc
n8willis 726e320e 2020-04-26T15:56:57 Update inline doc for hb_face_create: explain index
Nathan Willis 70331ca4 2019-04-22T19:25:42 [Docs] Minor update GTK-Doc comments in hb-ot-layout.
Nathan Willis eb10ef46 2019-04-22T19:22:24 [Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape.
Nathan Willis 3e72febd 2019-04-22T19:21:27 [Docs] Add GTK-Doc comments for hb-face.
Nathan Willis 88cdea60 2019-04-22T19:17:40 [Docs] Add GTK-Doc comments to hb-shape-plan.
Nathan Willis 5b43eb5a 2019-04-22T19:16:48 [Docs] Add GTK-Dod comments to hb-unicode.
Khaled Hosny fb0195ba 2020-09-26T09:33:41 [docs] Fix syntax and expand Windows section a tiny bit
Khaled Hosny db2381c9 2020-09-26T09:30:25 [docs] Fix indentation of commands DocBook outputs the extra spacing before the commands verbatim.
Khaled Hosny 8c5d1332 2020-09-24T13:09:38 Merge pull request #1664 from n8willis/docs-gtkdoc-otvar [Docs] Add gtk-doc comments for hb-ot-var
Khaled Hosny df00f45e 2020-09-24T11:57:12 Fix annotation in previous commits
Nathan Willis 5a695a79 2019-05-11T13:54:40 Swap # for () in gtk-doc function mention.
n8willis 379be7b7 2019-05-09T14:40:57 Update src/hb-ot-var.cc Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
Nathan Willis 938add71 2019-04-11T19:45:12 Add GTK-Doc comments for hb-ot-var.
Khaled Hosny 82fe1318 2020-09-22T17:40:38 Merge pull request #1661 from n8willis/docs-gtkdoc-aat [Docs] Add gtk-doc comments for hb-aat-layout
Khaled Hosny 9a1be3fe 2020-09-22T16:46:03 Fix enum documentation syntax
n8willis 3c9244e6 2019-05-11T16:44:30 Update src/hb-aat-layout.cc Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
Nathan Willis d619ba06 2019-04-08T20:17:38 Add gtk-doc documentation to AAT layout functions and enums.
Nathan Willis 514e6baa 2019-04-04T10:18:29 [gtk-doc] document AAT functions and enums.
Behdad Esfahbod a1f4d285 2020-09-21T16:50:11 [buffer] Fix invalid write access in hb_buffer_deserialize_glyphs() If buffer is immutable, we were trying to set content_type on it. Ouch!
Caleb Maclennan 18b8046c 2020-09-21T17:32:34 Merge pull request #2678 from alerque/post-artifacts
ebraminio 1f8b1e7f 2020-09-21T11:39:38 [ENOMEM] Return gracefully if stages isn't initialized correctly (#2639) This happens if calls to 'm.lookups[table_index].push ()' has been silently failed due to lack of memory. This change just returns gracefully instead issuing the assert. Fixes https://crbug.com/oss-fuzz/24494
Khaled Hosny a0ebea52 2020-09-18T17:04:38 Merge pull request #2665 from khaledhosny/doc-default-features [docs] Improve documentation for default features
Khaled Hosny f9f473a4 2020-09-02T16:40:52 [docs] Improve documentation for default features Fixes https://github.com/harfbuzz/harfbuzz/issues/2213
Behdad Esfahbod e40c0d82 2020-09-16T12:48:30 [ENOMEM] Handle immutable buffer in shape_full() Move the content_type changing to shape_plan_execute() where it belongs. Skip setting if content type is UNKNOWN, which happens with empty buffers only, including the immutable buffer. Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606 and https://github.com/harfbuzz/harfbuzz/pull/2625
Garret Rieger bbbcad0d 2020-09-16T11:19:40 Revert "[ENOMEM] don't perform set process operations if the other set is in an error state." This reverts commit f3929abafe3b64f15d0dc2d21ad7b493eeb92dfe.
Garret Rieger f3929aba 2020-09-15T13:06:36 [ENOMEM] don't perform set process operations if the other set is in an error state. Running a process while the other set is in an error state can potentially corrupt this sets map map (for example by overwritting all of the major values with 0).
Simon Cozens 584d3a43 2020-09-16T15:08:50 Merge pull request #2681 from khaledhosny/myanmar-liga [myanmar] Don’t disable liga feature
Khaled Hosny 7d64b097 2020-09-12T21:17:18 [myanmar] Don’t disable liga feature This seems to have been carried over from the Indic shaper, but Uniscribe enables it by default. See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915
Garret Rieger 8c3d4de7 2020-09-09T12:38:34 [subset] Fix integer underflow in ContextFormat2.
Caleb Maclennan e43b9a29 2020-09-11T22:15:10 [ci] Trigger dependencies of publish jobs on tags
Caleb Maclennan deb09e0d 2020-09-11T19:52:46 [ci] Tweak job names so config is valid Circle 2.1 schema
Caleb Maclennan f4dea33f 2020-09-11T17:23:00 [ci] Move repeated artifact upload job code to script
Caleb Maclennan 65be538f 2020-09-11T16:46:34 [ci] Add job to publish autotools dist file to GitHub
Caleb Maclennan 42bcc47d 2020-09-11T16:40:32 [ci] Use executor with Circle's image for autotools job
Caleb Maclennan c70f5090 2020-09-11T14:54:02 [ci] Use `ghr` CLI tool to post Win32 artifact to GitHub
Caleb Maclennan 610ed3b4 2020-09-11T10:47:08 [ci] Add job to publish Win32 releases and pass it artifacts
Caleb Maclennan a2d45cd5 2020-09-11T14:14:20 [ci] Use Circle's customized image for workspace support
David Corbett ac3f859a 2020-09-09T11:49:56 Demote unregistered vendor-specific language tags
Khaled Hosny ee12c078 2020-09-08T15:37:30 Merge pull request #2668 from rossburton/meson meson: add hb-version.h to dependencies correctly
Khaled Hosny 695d85ca 2020-09-08T15:37:00 Merge pull request #2674 from rossburton/reprod src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path
David Corbett 91fe20f0 2020-09-04T09:18:19 Disambiguate OT tags when primary tag is not first
Alexander Kanavin e876886d 2020-08-18T10:31:47 src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path This is beneficial for reproducible builds, as build paths can vary between builds.
Ross Burton 5aff8310 2020-09-07T10:55:33 [build] generate hb-version.h once at configure time with Meson Currently with Meson hb-version.h is generated during the build without any explicit dependencies which can result in build failures due races over the file. Change this to be generated at configure time, so that the file is always generated once before the build itself. Closes #2667
Ross Burton bc1c93fb 2020-09-07T17:11:17 [build] No need to pass source directory to gen-hb-version The input file is by definition in the source directory, so dirname() that instead of needing the directory to be passed. Needed because a follow-up commit will change when this is called, and the source directory isn't trivially available at that point.
David Corbett faf09f54 2020-08-14T18:30:20 [USE] Support hieroglyph clusters
David Corbett 06f49fc8 2020-08-13T13:37:45 [USE] Update to the 2020-08-13 USE specification This also uses the data files from <https://github.com/microsoft/font-tools/tree/78b2134fdca84df41a931d30d5c48fec115eca41/USE>.
David Corbett e3db84a9 2019-05-03T23:29:58 [use] Test CGJ and ZWNJ
David Corbett 6a38adeb 2019-05-03T14:16:50 [use] Skip most default ignorables when clustering
David Corbett 645f4e7c 2019-05-03T18:28:18 Unhide CGJ before ccc=0 characters If a CGJ precedes a starter, then it cannot have blocked any reordering, so it can safely be skipped.
Garret Rieger 9825e3dd 2020-08-26T17:31:50 [ENOMEM] fix access to unitialized memory. If the serialize() call fails to write the object then we can't safely read varstore_prime fields. Fixes https://oss-fuzz.com/testcase-detail/5137462782066688.
Khaled Hosny 45de1289 2020-09-01T04:58:50 Merge pull request #2661 from khaledhosny/failing-dw-build [ci] Fix failing DirectWrite build
Khaled Hosny fe6381d9 2020-09-01T03:44:01 [build] Minor
ebraminio a4f3a752 2020-09-01T03:21:12 [build] hb-directwrite needs a C++ linker
Khaled Hosny 9c98b2b9 2020-08-29T00:39:42 2.7.2
Khaled Hosny c0a76cb5 2020-08-29T00:14:01 Merge pull request #2660 from harfbuzz/arabic-shaping-in-use [USE] Fix assertion failure for joining scripts
David Corbett a495a542 2020-08-28T14:33:25 Ignore T & U when determining the joining scripts
David Corbett 420a74f7 2020-08-28T14:11:48 [USE] Fix assertion failure for joining scripts
ebraminio fcddf3b9 2020-08-14T10:19:33 [docs] Minor in TESTING.md Start the fuzzer with test/fuzzing/fonts seeds