<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/fiddle, 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>Lock released version of fiddle-1.1.6</title>
<updated>2024-12-16T01:22:30+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-12-16T01:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=939c92e8dc9bd86442957b620a517bd4bb3a930b'/>
<id>939c92e8dc9bd86442957b620a517bd4bb3a930b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] ffi_backend: convert numeric function args to pointers</title>
<updated>2024-12-16T01:22:30+00:00</updated>
<author>
<name>Dani Smith</name>
<email>code@danini.dev</email>
</author>
<published>2024-12-11T23:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c260bd424c25755554885fb1bc25492e5df598f'/>
<id>7c260bd424c25755554885fb1bc25492e5df598f</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/162)

This allows for passing integers as pointer arguments to functions when
using the FFI backend. This is a workaround until we can get JRuby's FFI
implementation to allow for it directly (see also
https://github.com/jruby/jruby/pull/8423)

---------

https://github.com/ruby/fiddle/commit/e2f0952e9b

Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/fiddle/pull/162)

This allows for passing integers as pointer arguments to functions when
using the FFI backend. This is a workaround until we can get JRuby's FFI
implementation to allow for it directly (see also
https://github.com/jruby/jruby/pull/8423)

---------

https://github.com/ruby/fiddle/commit/e2f0952e9b

Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] dlopen: add support for INPUT(-lXXX)</title>
<updated>2024-12-11T05:48:16+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-12-11T05:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a49089278d5bd5a6ba5caf150e813852f8a01ea'/>
<id>4a49089278d5bd5a6ba5caf150e813852f8a01ea</id>
<content type='text'>
GitHub: fix https://github.com/ruby/fiddle/pull/166

Arch Linux's libncurses.so uses this style.

https://github.com/ruby/fiddle/commit/77d3dc934f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GitHub: fix https://github.com/ruby/fiddle/pull/166

Arch Linux's libncurses.so uses this style.

https://github.com/ruby/fiddle/commit/77d3dc934f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Implement `Fiddle::Pointer.read` and `.write` on the</title>
<updated>2024-12-11T05:48:16+00:00</updated>
<author>
<name>Lars Kanis</name>
<email>lars@greiz-reinsdorf.de</email>
</author>
<published>2024-12-11T00:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=473fb6385e6072e8e55c8f44debe6dadc0d5621c'/>
<id>473fb6385e6072e8e55c8f44debe6dadc0d5621c</id>
<content type='text'>
FFI backend
(https://github.com/ruby/fiddle/pull/165)

https://github.com/ruby/fiddle/commit/0bd963d3b8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FFI backend
(https://github.com/ruby/fiddle/pull/165)

https://github.com/ruby/fiddle/commit/0bd963d3b8
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not depend on the evaluation order of C arguments</title>
<updated>2024-12-03T20:43:08+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-29T04:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6adc69c41c6edb409c5306573511cd6d8b436fbe'/>
<id>6adc69c41c6edb409c5306573511cd6d8b436fbe</id>
<content type='text'>
The evaluation order of C arguments is unspecified.
`RSTRING_LEN(str)` would fails if the conversion to a String by
`StringValuePtr` is not done yet.

Coverity Scan found this issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The evaluation order of C arguments is unspecified.
`RSTRING_LEN(str)` would fails if the conversion to a String by
`StringValuePtr` is not done yet.

Coverity Scan found this issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version</title>
<updated>2024-11-11T00:28:40+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-11-09T06:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a75fabf6a7974cff17f4db683da2e314ee1872f6'/>
<id>a75fabf6a7974cff17f4db683da2e314ee1872f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Accept Symbol as Function name again</title>
<updated>2024-11-11T00:19:48+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-11-09T06:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a23c6db5c52dccd670a530f08662adf485ab5151'/>
<id>a23c6db5c52dccd670a530f08662adf485ab5151</id>
<content type='text'>
GitHub: fix https://github.com/ruby/fiddle/pull/159

It's used by FFI test. So Symbol may be used by other use cases.

https://github.com/ruby/fiddle/pull/139 introduced the "Function name is String" limitation. This
commit removed the limitation.

Reported by Mamoru TASAKA. Thanks!!!

https://github.com/ruby/fiddle/commit/cea30fe5f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GitHub: fix https://github.com/ruby/fiddle/pull/159

It's used by FFI test. So Symbol may be used by other use cases.

https://github.com/ruby/fiddle/pull/139 introduced the "Function name is String" limitation. This
commit removed the limitation.

Reported by Mamoru TASAKA. Thanks!!!

https://github.com/ruby/fiddle/commit/cea30fe5f9
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-10-22T21:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e7f06402dd8ce0f4e7210e0563662fb827c13ff8'/>
<id>e7f06402dd8ce0f4e7210e0563662fb827c13ff8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Don't use mkmf to generate dummy Makefile</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-10-22T21:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2ec2051f1f292936ccd50fa3a45b724866b9c3ba'/>
<id>2ec2051f1f292936ccd50fa3a45b724866b9c3ba</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/155)

GitHub: fix https://github.com/ruby/fiddle/pull/153

mkmf requires fileutils. JRuby doesn't like it.

https://github.com/ruby/fiddle/commit/df4bd21fc3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/fiddle/pull/155)

GitHub: fix https://github.com/ruby/fiddle/pull/153

mkmf requires fileutils. JRuby doesn't like it.

https://github.com/ruby/fiddle/commit/df4bd21fc3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Suppress -Wundef warnings</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-22T21:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a51007fc35da3b5cc6312e335d38ee7a37215bcc'/>
<id>a51007fc35da3b5cc6312e335d38ee7a37215bcc</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/157)

The GCC warning puts undefined macro names in double quotes while clang
puts them in single quotes.

https://github.com/ruby/fiddle/commit/7dcb40bccb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/fiddle/pull/157)

The GCC warning puts undefined macro names in double quotes while clang
puts them in single quotes.

https://github.com/ruby/fiddle/commit/7dcb40bccb
</pre>
</div>
</content>
</entry>
</feed>
