<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/encoding.h, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/prism] Provide options for reducing size</title>
<updated>2024-03-20T21:32:03+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-03-20T14:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=af7bf9e0d8fd5e542781ca7ac9550e3011913924'/>
<id>af7bf9e0d8fd5e542781ca7ac9550e3011913924</id>
<content type='text'>
https://github.com/ruby/prism/commit/592128de4d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/592128de4d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Add initial implementation of `Regexp` validation.</title>
<updated>2024-03-08T18:48:54+00:00</updated>
<author>
<name>Kevin Menard</name>
<email>kevin@nirvdrum.com</email>
</author>
<published>2024-02-16T02:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4e1d19c4579f67c66b2ce4f6cc816b53294306cb'/>
<id>4e1d19c4579f67c66b2ce4f6cc816b53294306cb</id>
<content type='text'>
https://github.com/ruby/prism/commit/6bf1b8edf0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/6bf1b8edf0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Track both the unescaped bytes and source string for a regular expression so we can accurately set its encoding flags.</title>
<updated>2024-03-08T18:48:53+00:00</updated>
<author>
<name>Kevin Menard</name>
<email>kevin@nirvdrum.com</email>
</author>
<published>2024-02-08T21:27:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82fb6a90d5cf5081df11ebed6cfc623159f72676'/>
<id>82fb6a90d5cf5081df11ebed6cfc623159f72676</id>
<content type='text'>
https://github.com/ruby/prism/commit/dc6dd3a926
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/dc6dd3a926
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Validate multibyte characters in strings</title>
<updated>2024-02-14T01:01:37+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-02-13T22:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2fa051f627172674b342da26ebe1e671a5e449ec'/>
<id>2fa051f627172674b342da26ebe1e671a5e449ec</id>
<content type='text'>
Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodings are covered.

Importantly this doesn't check regular expressions, because
apparently you're allowed to have invalid multibyte characters
inside regular expression comment groups/extended mode.

https://github.com/ruby/prism/commit/2857d3e1b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodings are covered.

Importantly this doesn't check regular expressions, because
apparently you're allowed to have invalid multibyte characters
inside regular expression comment groups/extended mode.

https://github.com/ruby/prism/commit/2857d3e1b5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Always return the character width for char_is_identifier_start() and char_is_identifier_utf8()</title>
<updated>2024-01-31T21:29:16+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2024-01-31T21:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9fdfdf4fca22e892e92ad7060abac48a00516d81'/>
<id>9fdfdf4fca22e892e92ad7060abac48a00516d81</id>
<content type='text'>
* This is also faster than calling pm_encoding_utf_8_alpha_char/pm_encoding_utf_8_alnum_char
  as those compute the character width and do extra checks.

https://github.com/ruby/prism/commit/4cb276ac4c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This is also faster than calling pm_encoding_utf_8_alpha_char/pm_encoding_utf_8_alnum_char
  as those compute the character width and do extra checks.

https://github.com/ruby/prism/commit/4cb276ac4c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Update documentation for encodings</title>
<updated>2023-12-06T19:26:35+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-06T19:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82072254a05c88648caac2bd51069681e37f91aa'/>
<id>82072254a05c88648caac2bd51069681e37f91aa</id>
<content type='text'>
https://github.com/ruby/prism/commit/18e6df0d4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/18e6df0d4f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Provide flags for changing encodings</title>
<updated>2023-12-06T19:23:38+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-12-04T17:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82f18baa21d0df59c30d8a6e60bf3e0991de1114'/>
<id>82f18baa21d0df59c30d8a6e60bf3e0991de1114</id>
<content type='text'>
https://github.com/ruby/prism/commit/e838eaff6f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/e838eaff6f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Document remaining encodings</title>
<updated>2023-12-01T02:37:56+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-30T17:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=99a147ff4fbfda6f15d8b6bcfd61d5776a58be2b'/>
<id>99a147ff4fbfda6f15d8b6bcfd61d5776a58be2b</id>
<content type='text'>
https://github.com/ruby/prism/commit/b9510aed40
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/b9510aed40
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Group encodings into a single array</title>
<updated>2023-12-01T02:37:56+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-30T17:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c277f2b7659076f18487132aef2cf40d4c608e7'/>
<id>0c277f2b7659076f18487132aef2cf40d4c608e7</id>
<content type='text'>
https://github.com/ruby/prism/commit/f4b7beadc9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f4b7beadc9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Do not expose encodings that do not need to be exposed</title>
<updated>2023-12-01T02:37:56+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-30T17:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6b234c1acf1b89198b1a7ad5f3aeb71057b4becc'/>
<id>6b234c1acf1b89198b1a7ad5f3aeb71057b4becc</id>
<content type='text'>
https://github.com/ruby/prism/commit/c52c7f37ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/c52c7f37ea
</pre>
</div>
</content>
</entry>
</feed>
