src/hb-buffer-deserialize-json.hh


Log

Author Commit Date CI Message
Behdad Esfahbod 41b396c6 2025-03-12T20:02:58 [kerx] Setup buffer glyphset
Behdad Esfahbod 7a912c47 2025-03-10T16:20:16 [buffer-deserialize] Fix return value and parsing I think I got it right. Alternative to https://github.com/harfbuzz/harfbuzz/pull/5028
Behdad Esfahbod c2e92b6f 2025-03-10T16:18:48 [ragel] Update output files
Behdad Esfahbod f0ead852 2025-02-04T23:27:03 [aat] Implement set filtering for Noncontextual chains as well
David Corbett 02c2e247 2023-09-16T09:22:43 Regenerate files using Ragel 6.10
Behdad Esfahbod 4268283e 2023-01-23T20:53:17 [buffer-deserialize-text] Accept initial comma
Behdad Esfahbod d0355eb4 2023-01-23T20:37:53 [buffer-deserialize] Parse whole items at a time Previous logic would fail if char buffer was partial.
Behdad Esfahbod ac0efaf8 2022-11-22T12:50:36 Use hb_memset instead of memset consistently
Behdad Esfahbod 281a2602 2022-11-16T11:36:33 Update generated file
David Corbett f9d48150 2022-08-27T15:39:39 Regenerate files using Ragel
Behdad Esfahbod 351cccdb 2022-07-01T16:52:49 [buffer-deserialize] Deserialize glyph flags Fixes https://github.com/harfbuzz/harfbuzz/issues/1482
Behdad Esfahbod 5134041f 2022-07-01T16:48:47 [deserialize-json] Make it actually work! Was not correctly deserializing glyph names as it was not dropping double-quotes from glyph name before parsing.
Khaled Hosny 5898a961 2021-09-14T07:09:50 [ragel] Regenerate state machine files with 6.10
Behdad Esfahbod 5ef06139 2020-10-15T01:54:28 [buffer] Add ensure_glyphs()/ensure_unicode() Use in deserialize. To be used more.
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
Simon Cozens 150f3914 2020-09-25T10:04:39 Prohibit mixed glyphs/unicode buffers in deserialization
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 c03a2001 2020-09-18T14:19:17 Deserialization routines for Unicode buffers
Behdad Esfahbod 8461ade7 2019-05-13T14:10:48 Revert "[ragel] Regenerate ragel-generated files using ragel 7.0.0.11 May 2018" This reverts commit 9b05db33b54e6e5f0b4658f4c06e7fe563f8923b. Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
Behdad Esfahbod 52c15b05 2019-05-13T14:10:28 Revert "[ragel] Switch to -T1 output instead of -F1" This reverts commit ae8719eb596485ebff07dd5016256015cd0cf86b. Part of https://github.com/harfbuzz/harfbuzz/issues/1708
Behdad Esfahbod ae8719eb 2019-05-13T12:27:10 [ragel] Switch to -T1 output instead of -F1 Fedora upgraded to ragel 7, which is buggy if char is signed. Switching to -G2 output fails with sign-compare error: ../../src/hb-buffer-deserialize-json.hh:107:12: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const char’ [-Werror=sign-compare] if ( 9u <= ( (*( p))) && ( (*( p))) <= 13u ) { ~~~^~~~~~~~~~~~~ Switching to -T1 for now. It actually results in smaller code, at the expense of some binary searching instead of flat tables. In the not distant future, we might actually generate two different outputs and choose between depending on size-optimize options. Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
Behdad Esfahbod 9b05db33 2019-05-07T11:39:44 [ragel] Regenerate ragel-generated files using ragel 7.0.0.11 May 2018
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Behdad Esfahbod 7185b273 2018-05-31T20:03:00 Rename in_error to !successful Towards possibly using Null pool for some nil objects.
Behdad Esfahbod 4fb97be7 2018-02-21T14:38:02 Add two more ragel-generated headers Fixes https://github.com/harfbuzz/harfbuzz/issues/817