<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/json/parser/parser.rl, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Manually merged from flori/json</title>
<updated>2023-12-01T07:47:06+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-01T06:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86045fca24be94db7a9cbf7a9126e43c212dcc55'/>
<id>86045fca24be94db7a9cbf7a9126e43c212dcc55</id>
<content type='text'>
  &gt; https://github.com/flori/json/pull/525
  &gt; Rename escape_slash in script_safe and also escape E+2028 and E+2029

  Co-authored-by: Jean Boussier &lt;jean.boussier@gmail.com&gt;

  &gt; https://github.com/flori/json/pull/454
  &gt; Remove unnecessary initialization of create_id in JSON.parse()

  Co-authored-by: Watson &lt;watson1978@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  &gt; https://github.com/flori/json/pull/525
  &gt; Rename escape_slash in script_safe and also escape E+2028 and E+2029

  Co-authored-by: Jean Boussier &lt;jean.boussier@gmail.com&gt;

  &gt; https://github.com/flori/json/pull/454
  &gt; Remove unnecessary initialization of create_id in JSON.parse()

  Co-authored-by: Watson &lt;watson1978@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ruby_xfree to free buffers</title>
<updated>2023-12-01T07:47:06+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2023-02-20T10:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=698cb8406298ff289ba7abadf34abc3d09a07ef0'/>
<id>698cb8406298ff289ba7abadf34abc3d09a07ef0</id>
<content type='text'>
They are allocated with ruby_xmalloc, they should be freed with
ruby_xfree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are allocated with ruby_xmalloc, they should be freed with
ruby_xfree.
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Fix "unexpected token" offset for Infinity</title>
<updated>2023-12-01T07:47:06+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2022-09-20T00:56:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4b770527c2d4287456d03d645b595662f2501d67'/>
<id>4b770527c2d4287456d03d645b595662f2501d67</id>
<content type='text'>
Previously in the JSON::Ext parser, when we encountered an "Infinity"
token (and weren't allowing NaN/Infinity) we would try to display the
"unexpected token" at the character before.

https://github.com/flori/json/commit/42ac170712
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously in the JSON::Ext parser, when we encountered an "Infinity"
token (and weren't allowing NaN/Infinity) we would try to display the
"unexpected token" at the character before.

https://github.com/flori/json/commit/42ac170712
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] [DOC] Remove duplicate sentence</title>
<updated>2023-07-18T15:02:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-07-17T02:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=104089ce022437ca3b8dc00dcfa5c73dc55469f3'/>
<id>104089ce022437ca3b8dc00dcfa5c73dc55469f3</id>
<content type='text'>
https://github.com/flori/json/commit/ed242667b4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/ed242667b4
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Remove `HAVE_RB_SCAN_ARGS_OPTIONAL_HASH` check</title>
<updated>2023-07-18T15:02:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-07-17T02:42:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f1f84ca71c3015666a1fe5f809b131b1e706e791'/>
<id>f1f84ca71c3015666a1fe5f809b131b1e706e791</id>
<content type='text'>
This macro is defined since ruby 2.1, which is older than the required
ruby version.

https://github.com/flori/json/commit/dd1d54e78a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This macro is defined since ruby 2.1, which is older than the required
ruby version.

https://github.com/flori/json/commit/dd1d54e78a
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Rename JSON::ParseError to JSON:ParserError</title>
<updated>2023-07-18T03:25:54+00:00</updated>
<author>
<name>Dimitar Haralanov</name>
<email>dharalanov@me.com</email>
</author>
<published>2023-07-12T12:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9977462fd9d06167c3bf77e5c22c3c5efcb3aecd'/>
<id>9977462fd9d06167c3bf77e5c22c3c5efcb3aecd</id>
<content type='text'>
https://github.com/flori/json/commit/20b80ca317
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/20b80ca317
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Stop including the parser source __LINE__ in exceptions</title>
<updated>2022-07-29T10:10:10+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-05-20T10:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66b52f046f3e4c5d24781a142f9633e07c42d6d9'/>
<id>66b52f046f3e4c5d24781a142f9633e07c42d6d9</id>
<content type='text'>
It makes testing for JSON errors very tedious. You either have
to use a Regexp or to regularly update all your assertions
when JSON is upgraded.

https://github.com/flori/json/commit/de9eb1d28e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It makes testing for JSON errors very tedious. You either have
to use a Regexp or to regularly update all your assertions
when JSON is upgraded.

https://github.com/flori/json/commit/de9eb1d28e
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Fix parser bug for empty string allocation</title>
<updated>2022-05-20T08:49:13+00:00</updated>
<author>
<name>Andrew Bromwich</name>
<email>a.bromwich@gmail.com</email>
</author>
<published>2022-04-20T12:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a15d0e267a8a429cf2a2a4358080666ee2260526'/>
<id>a15d0e267a8a429cf2a2a4358080666ee2260526</id>
<content type='text'>
When `HAVE_RB_ENC_INTERNED_STR` is enabled it is possible to
pass through a null pointer to `rb_enc_interned_str` resulting
in a segfault

Fixes #495

https://github.com/flori/json/commit/b59368a8c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When `HAVE_RB_ENC_INTERNED_STR` is enabled it is possible to
pass through a null pointer to `rb_enc_interned_str` resulting
in a segfault

Fixes #495

https://github.com/flori/json/commit/b59368a8c2
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Doc: Improve documentation on JSON#parse and JSON#parse!</title>
<updated>2022-05-20T08:49:13+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-12-02T07:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=767f3904ee2a15575c292d89578de7669f169346'/>
<id>767f3904ee2a15575c292d89578de7669f169346</id>
<content type='text'>
https://github.com/flori/json/commit/75ada77b96

Co-authored-by: Bruno Gomes da Silva &lt;brunojabs@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/flori/json/commit/75ada77b96

Co-authored-by: Bruno Gomes da Silva &lt;brunojabs@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[flori/json] Deduplicate strings inside json_string_unescape</title>
<updated>2021-05-17T10:51:51+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2020-11-18T10:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2de594ca98d95e62f7fcf000f21e174ac3f6fcaf'/>
<id>2de594ca98d95e62f7fcf000f21e174ac3f6fcaf</id>
<content type='text'>
[ci 2]

https://github.com/flori/json/commit/1982070cb8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ci 2]

https://github.com/flori/json/commit/1982070cb8
</pre>
</div>
</content>
</entry>
</feed>
