<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/json/test_helper.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/json] Appease ruby/ruby CI</title>
<updated>2024-11-05T17:00:36+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-05T16:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4120f2babd7924a31c6d685be2429492af5c19b9'/>
<id>4120f2babd7924a31c6d685be2429492af5c19b9</id>
<content type='text'>
https://github.com/ruby/json/commit/bc2c970ce4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/bc2c970ce4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Resync</title>
<updated>2024-11-05T17:00:36+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-05T15:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca8f21ace86e9c7ab184b3f0087ff458c06b178c'/>
<id>ca8f21ace86e9c7ab184b3f0087ff458c06b178c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] JSON::Ext::Parser mark the name cache entries when not on the heap</title>
<updated>2024-11-05T17:00:36+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-11-03T08:27:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ed22e6837941b429538cff5c8110b2caf2634474'/>
<id>ed22e6837941b429538cff5c8110b2caf2634474</id>
<content type='text'>
This is somewhat dead code as unless you are using `JSON::Parser.new`
direcltly we never allocate `JSON::Ext::Parser` anymore.

But still, we should mark all its reference in case some code out there
uses that.

Followup: #675

https://github.com/ruby/json/commit/8bf74a977b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is somewhat dead code as unless you are using `JSON::Parser.new`
direcltly we never allocate `JSON::Ext::Parser` anymore.

But still, we should mark all its reference in case some code out there
uses that.

Followup: #675

https://github.com/ruby/json/commit/8bf74a977b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Setup ruby_memcheck</title>
<updated>2024-11-01T04:04:24+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-10-30T10:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ebfa178b72e608d160aa21b4fc0864578de76f2b'/>
<id>ebfa178b72e608d160aa21b4fc0864578de76f2b</id>
<content type='text'>
Hoping it might find the leak reported in https://github.com/ruby/json/issues/460

https://github.com/ruby/json/commit/08635312e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hoping it might find the leak reported in https://github.com/ruby/json/issues/460

https://github.com/ruby/json/commit/08635312e5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Cleanup test_helper.rb</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-10-25T10:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3daf16e51fcd21e964525d7e64cec646a49236ff'/>
<id>3daf16e51fcd21e964525d7e64cec646a49236ff</id>
<content type='text'>
https://github.com/ruby/json/commit/49de571dd8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/49de571dd8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Embedded helper.rb into test_helper.rb</title>
<updated>2024-10-16T04:34:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-10-16T03:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1379ef6f7d1570f60f03417ecc9f44f0104d5a18'/>
<id>1379ef6f7d1570f60f03417ecc9f44f0104d5a18</id>
<content type='text'>
https://github.com/ruby/json/commit/f8417ffc69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/f8417ffc69
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/json] Fixed load path for ext version</title>
<updated>2024-10-16T04:34:21+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-10-16T03:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3c1b0f21aa6dd7b7cfde67497c5b50717cdf14d2'/>
<id>3c1b0f21aa6dd7b7cfde67497c5b50717cdf14d2</id>
<content type='text'>
https://github.com/ruby/json/commit/c17823688e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/json/commit/c17823688e
</pre>
</div>
</content>
</entry>
<entry>
<title>Reintroduce c565dfb09ad7d55fa671f65cea7088a914bf1931</title>
<updated>2020-07-03T02:05:08+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2020-07-03T02:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e6a8590aa4216915ee15a7b231189254b03c22b1'/>
<id>e6a8590aa4216915ee15a7b231189254b03c22b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge json-2.3.1 from flori/json</title>
<updated>2020-07-01T09:50:39+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-07-01T09:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0aac138e0b507c8a361f7cf2f30c276e7110ea33'/>
<id>0aac138e0b507c8a361f7cf2f30c276e7110ea33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test/json/test_helper.rb: Do not add a relative path to $LOAD_PATH</title>
<updated>2020-03-24T01:45:52+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2020-03-24T01:45:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c565dfb09ad7d55fa671f65cea7088a914bf1931'/>
<id>c565dfb09ad7d55fa671f65cea7088a914bf1931</id>
<content type='text'>
... because it conflicts with test/ruby/test_m17n.rb.

An exception `incompatible character encodings: UTF-8 and UTF-16BE`
occurs when:

* a non-existence relative path is added to $LOAD_PATH,
* ASCII-incompatible encoding is set to default_external, and
* some file is loaded.

```
$LOAD_PATH &lt;&lt; "no_existing_dir"
Encoding.default_external = Encoding::UTF_16BE
load "dummy.rb" #=&gt; incompatible character encodings: UTF-8 and UTF-16BE
```

This issue can be actually observed by a combination of out-of-place
build and the following command:

make test-all TESTS="json ruby/m17n -n test_object_inspect_external"

http://ci.rvm.jp/logfiles/brlog.trunk-test-random.20200322-221411

ASCII-incompatible default external encoding assumes that the cwd is the
encoding, and it is attempted to beconcatenated with a non-existence
relative LOAD_PATH UTF-8 string, which causes the exception.

This changeset avoids a relative path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... because it conflicts with test/ruby/test_m17n.rb.

An exception `incompatible character encodings: UTF-8 and UTF-16BE`
occurs when:

* a non-existence relative path is added to $LOAD_PATH,
* ASCII-incompatible encoding is set to default_external, and
* some file is loaded.

```
$LOAD_PATH &lt;&lt; "no_existing_dir"
Encoding.default_external = Encoding::UTF_16BE
load "dummy.rb" #=&gt; incompatible character encodings: UTF-8 and UTF-16BE
```

This issue can be actually observed by a combination of out-of-place
build and the following command:

make test-all TESTS="json ruby/m17n -n test_object_inspect_external"

http://ci.rvm.jp/logfiles/brlog.trunk-test-random.20200322-221411

ASCII-incompatible default external encoding assumes that the cwd is the
encoding, and it is attempted to beconcatenated with a non-existence
relative LOAD_PATH UTF-8 string, which causes the exception.

This changeset avoids a relative path.
</pre>
</div>
</content>
</entry>
</feed>
