<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/coverage/coverage.c, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[DOC] Fix backticks in Coverage.peek_result</title>
<updated>2025-12-24T03:30:54+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-24T03:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=342d25785c0332ba556da2bae960d2a4f4b8baad'/>
<id>342d25785c0332ba556da2bae960d2a4f4b8baad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't GC unprotect hash in Coverage.peek_result</title>
<updated>2025-11-11T18:17:48+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-11-11T15:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ade2b51a3b3ccdd9fe97d541c3dbb51339838d44'/>
<id>ade2b51a3b3ccdd9fe97d541c3dbb51339838d44</id>
<content type='text'>
The call to unprotect the coverages hash was introduced in commit 99093e1
where we used the raw ST table and st_foreach. We now use rb_hash_foreach
which no longer requires GC unprotecting the coverages hash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The call to unprotect the coverages hash was introduced in commit 99093e1
where we used the raw ST table and st_foreach. We now use rb_hash_foreach
which no longer requires GC unprotecting the coverages hash.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefix asan_poison_object with rb</title>
<updated>2024-12-19T14:14:34+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-12-18T17:01:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a58675386c10f4183116056bc0cf289548883ac0'/>
<id>a58675386c10f4183116056bc0cf289548883ac0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use rb_hash_foreach in coverage</title>
<updated>2024-02-23T15:24:21+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-02-22T22:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6bd3e8fbb2b0645f535858b3bd3bcb7242a6a438'/>
<id>6bd3e8fbb2b0645f535858b3bd3bcb7242a6a438</id>
<content type='text'>
Using RHASH_TBL_RAW is a private API, so we should use rb_hash_foreach
rather than RHASH_TBL_RAW with st_foreach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using RHASH_TBL_RAW is a private API, so we should use rb_hash_foreach
rather than RHASH_TBL_RAW with st_foreach.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge gc.h and internal/gc.h</title>
<updated>2023-02-09T15:32:29+00:00</updated>
<author>
<name>Matt Valentine-House</name>
<email>matt@eightbitraptor.com</email>
</author>
<published>2023-02-08T11:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=72aba64fff09a829bfaf41165d0075066f087185'/>
<id>72aba64fff09a829bfaf41165d0075066f087185</id>
<content type='text'>
[Feature #19425]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #19425]
</pre>
</div>
</content>
</entry>
<entry>
<title>Coverage.supported? recognizes oneshot_lines mode (#7040)</title>
<updated>2022-12-29T08:23:25+00:00</updated>
<author>
<name>Kevin Murphy</name>
<email>kevin-j-m@users.noreply.github.com</email>
</author>
<published>2022-12-29T08:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3d330c39ebbf27cefc2d83109dad9e0b3b0e94f'/>
<id>b3d330c39ebbf27cefc2d83109dad9e0b3b0e94f</id>
<content type='text'>
This adds oneshot_lines as a mode of coverage that is supported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds oneshot_lines as a mode of coverage that is supported.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos (#6775)</title>
<updated>2022-11-21T05:07:18+00:00</updated>
<author>
<name>Yudai Takada</name>
<email>13041216+ydah@users.noreply.github.com</email>
</author>
<published>2022-11-21T05:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=29e6d97517bbd4dcc540464c8473172232f3e228'/>
<id>29e6d97517bbd4dcc540464c8473172232f3e228</id>
<content type='text'>
* s/Innteger/Integer/

* s/diretory/directory/

* s/Bufer/Buffer/

* s/defalt/default/

* s/covearge/coverage/</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* s/Innteger/Integer/

* s/diretory/directory/

* s/Bufer/Buffer/

* s/defalt/default/

* s/covearge/coverage/</pre>
</div>
</content>
</entry>
<entry>
<title>Add `Coverage.supported?` to detect what modes are supported.</title>
<updated>2022-09-28T20:44:14+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-09-28T11:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bd2fbd35888413217337dd327ad90015c0322d12'/>
<id>bd2fbd35888413217337dd327ad90015c0322d12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `eval: true/false` flag to `Coverage.setup`.</title>
<updated>2022-09-28T20:44:14+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-09-28T10:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9dd902b83186ad6f9d0a553da2ca114bac6ab7b5'/>
<id>9dd902b83186ad6f9d0a553da2ca114bac6ab7b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand tabs [ci skip]</title>
<updated>2022-07-21T16:42:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-07-21T16:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b21e94bebed90180d8ff63dad03b8b948361089'/>
<id>5b21e94bebed90180d8ff63dad03b8b948361089</id>
<content type='text'>
[Misc #18891]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Misc #18891]
</pre>
</div>
</content>
</entry>
</feed>
