src/hb-buffer-deserialize-json.hh


Log

Author Commit Date CI Message
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