<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/pack.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>[DOC] Mention block mode of `String#unpack`</title>
<updated>2024-09-29T10:09:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-09-29T10:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=65a0795c3f92be5bff27211600cf3a832ab43b2f'/>
<id>65a0795c3f92be5bff27211600cf3a832ab43b2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>show warning for unused block</title>
<updated>2024-04-15T03:08:07+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2024-03-26T22:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9180e33ca3a5886fec3f9e0a2f48072b55914e65'/>
<id>9180e33ca3a5886fec3f9e0a2f48072b55914e65</id>
<content type='text'>
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a
for `test-bundled-gems`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a
for `test-bundled-gems`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Link to packed data doc (#6567)</title>
<updated>2022-10-18T15:16:22+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-10-18T15:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d67b6310d3e529b4d4a56ba8d850aa5bccfb83b5'/>
<id>d67b6310d3e529b4d4a56ba8d850aa5bccfb83b5</id>
<content type='text'>
* Link to packed data doc

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Link to packed data doc

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Repair format and links in What's Here sections (#5711)</title>
<updated>2022-03-25T15:52:06+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-03-25T15:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f918f6e4e74541a184a15762a8593fb3f1b9614d'/>
<id>f918f6e4e74541a184a15762a8593fb3f1b9614d</id>
<content type='text'>
* Repair format and links in What's Here for Comparable and Array

* Repair format for What's Here in enum.c</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Repair format and links in What's Here for Comparable and Array

* Repair format for What's Here in enum.c</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix String#unpack and #unpack1 docs (#5331)</title>
<updated>2021-12-23T20:58:13+00:00</updated>
<author>
<name>Victor Shepelev</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2021-12-23T20:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0b999bef29ead1faeefd7a034dac435795c9fe1a'/>
<id>0b999bef29ead1faeefd7a034dac435795c9fe1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pack.c: add an offset argument to unpack and unpack1</title>
<updated>2021-10-26T20:27:30+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-10-18T14:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e5319dc9856298f38aa9cdc6ed55e39ad0e8e070'/>
<id>e5319dc9856298f38aa9cdc6ed55e39ad0e8e070</id>
<content type='text'>
[Feature #18254]

This is useful to avoid repeteadly copying strings when parsing binary formats
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #18254]

This is useful to avoid repeteadly copying strings when parsing binary formats
</pre>
</div>
</content>
</entry>
<entry>
<title>add example for buffer: argument of pack.</title>
<updated>2021-10-25T03:25:13+00:00</updated>
<author>
<name>Tanaka Akira</name>
<email>akr@fsij.org</email>
</author>
<published>2021-10-25T03:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b74f9d656a028430d942fb609f79c4027f0549fa'/>
<id>b74f9d656a028430d942fb609f79c4027f0549fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix grammar: "is same as" -&gt; "is the same as"</title>
<updated>2021-01-05T14:13:53+00:00</updated>
<author>
<name>Marcus Stollsteimer</name>
<email>sto.mar@web.de</email>
</author>
<published>2021-01-05T14:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3108ad7bf3dcae52054a1c29b86246cdb470000b'/>
<id>3108ad7bf3dcae52054a1c29b86246cdb470000b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fixed a typo [ci skip]</title>
<updated>2020-11-16T13:14:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-11-16T13:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0f37f384d40fda88111d6a8a573da09423543549'/>
<id>0f37f384d40fda88111d6a8a573da09423543549</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #16254] Use `Primitive.func` style</title>
<updated>2020-06-19T09:46:55+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-05-31T06:52:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63aadc237f48be23803acae724401f8b4221fa38'/>
<id>63aadc237f48be23803acae724401f8b4221fa38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
