<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_encoding.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>fixed encoding table</title>
<updated>2022-12-16T01:04:37+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2022-12-15T08:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ae19ac5b5ba1e613a788addeb6d4d67fa65f6518'/>
<id>ae19ac5b5ba1e613a788addeb6d4d67fa65f6518</id>
<content type='text'>
This reduces global lock acquiring for reading.
https://bugs.ruby-lang.org/issues/18949
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces global lock acquiring for reading.
https://bugs.ruby-lang.org/issues/18949
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate Encoding#replicate</title>
<updated>2022-09-10T17:02:15+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-09-03T10:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=14bcf69c9c36875c7956d0ec8c04bfeaec514dd1'/>
<id>14bcf69c9c36875c7956d0ec8c04bfeaec514dd1</id>
<content type='text'>
* See [Feature #18949].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* See [Feature #18949].
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a failure</title>
<updated>2021-02-16T09:17:09+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2021-02-16T09:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1a84c07715413bc9bf250178f174fac0db240db9'/>
<id>1a84c07715413bc9bf250178f174fac0db240db9</id>
<content type='text'>
http://ci.rvm.jp/results/trunk-test@ruby-sky1/3359644
```
:   1)
: TestEncoding#test_nonascii_library_path [/tmp/ruby/v3/src/trunk-test/test/ruby/test_encoding.rb:157]:
: Exception(LoadError) with message matches to /\[Bug #16382\]/.
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://ci.rvm.jp/results/trunk-test@ruby-sky1/3359644
```
:   1)
: TestEncoding#test_nonascii_library_path [/tmp/ruby/v3/src/trunk-test/test/ruby/test_encoding.rb:157]:
: Exception(LoadError) with message matches to /\[Bug #16382\]/.
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Check encoding name to replicate</title>
<updated>2020-10-15T07:48:25+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-08-13T07:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7ffd14a18c341565afaf80d259f9fe5df8a13d29'/>
<id>7ffd14a18c341565afaf80d259f9fe5df8a13d29</id>
<content type='text'>
https://hackerone.com/reports/954433
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://hackerone.com/reports/954433
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of warnings/exceptions at cleanup</title>
<updated>2020-02-13T03:46:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-02-13T00:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fce667ed08f25fa7ce43c9b07be170f341a04c4e'/>
<id>fce667ed08f25fa7ce43c9b07be170f341a04c4e</id>
<content type='text'>
After the encoding index instance variable is removed when all
instance variables are removed in `obj_free`, then `rb_str_free`
causes uninitialized instance variable warning and nil-to-integer
conversion exception.  Both cases result in object allocation
during GC, and crashes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the encoding index instance variable is removed when all
instance variables are removed in `obj_free`, then `rb_str_free`
causes uninitialized instance variable warning and nil-to-integer
conversion exception.  Both cases result in object allocation
during GC, and crashes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Copy non-inlined encoding index</title>
<updated>2020-02-12T11:09:57+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-02-12T11:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=160d3165eb095d81ae6e156f832a99728c853b01'/>
<id>160d3165eb095d81ae6e156f832a99728c853b01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make temporary lock string encoding free</title>
<updated>2020-02-12T10:58:22+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-02-12T10:29:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bdf3032e3542b318c6f52dbe20d1c97cca3d7067'/>
<id>bdf3032e3542b318c6f52dbe20d1c97cca3d7067</id>
<content type='text'>
As a temporary lock string is hidden, it can not have instance
variables, including non-inlined encoding index.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a temporary lock string is hidden, it can not have instance
variables, including non-inlined encoding index.
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround of instance variable on hidden object</title>
<updated>2020-02-12T06:05:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-02-11T02:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=52cdf400efaecc0f5e1d1f70f22dc45212e03c4c'/>
<id>52cdf400efaecc0f5e1d1f70f22dc45212e03c4c</id>
<content type='text'>
Since 9d9aea7fe50f6340829faa105d9ffe08ebaee658, generic instance
variables need `iv_index_tbl` in the object's class.  As hidden
objects, however, have no class, access to the variables causes a
segfault.  Get rid of that segfault by raising an exception, for
the time being.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 9d9aea7fe50f6340829faa105d9ffe08ebaee658, generic instance
variables need `iv_index_tbl` in the object's class.  As hidden
objects, however, have no class, access to the variables causes a
segfault.  Get rid of that segfault by raising an exception, for
the time being.
</pre>
</div>
</content>
</entry>
<entry>
<title>Isolate the test for Encoding#replicate</title>
<updated>2020-02-12T05:50:46+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-02-11T04:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=921916ff9e2940f28d932af84c5b2a2e222219d0'/>
<id>921916ff9e2940f28d932af84c5b2a2e222219d0</id>
<content type='text'>
It has global side effect which cannot be reverted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has global side effect which cannot be reverted.
</pre>
</div>
</content>
</entry>
<entry>
<title>support multi-run for test/ruby/test_encoding.rb</title>
<updated>2020-01-28T06:23:51+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2020-01-28T04:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5f7be6243a5b0cdbf1abc8967a512e48c2f1489e'/>
<id>5f7be6243a5b0cdbf1abc8967a512e48c2f1489e</id>
<content type='text'>
Unique encoding name is required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unique encoding name is required.
</pre>
</div>
</content>
</entry>
</feed>
