<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/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>[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>[ruby/fiddle] Fix the glob pattern to include `/usr/lib`</title>
<updated>2024-12-11T05:48:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-12-10T05:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c7fe4b09273c389d71ea32eb354a5889d6ed5ce'/>
<id>0c7fe4b09273c389d71ea32eb354a5889d6ed5ce</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/164)

Fix up #161.

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

Fix up #161.

https://github.com/ruby/fiddle/commit/481651e836
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Fix test_dlopen_linker_script_input_linux being</title>
<updated>2024-12-10T02:30:19+00:00</updated>
<author>
<name>Dani Smith</name>
<email>code@danini.dev</email>
</author>
<published>2024-12-04T13:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b5ed7aae3be78f15ea46e56b8b7f19f25d1c0788'/>
<id>b5ed7aae3be78f15ea46e56b8b7f19f25d1c0788</id>
<content type='text'>
omitted on Fedora 40 aarch64
(https://github.com/ruby/fiddle/pull/161)

I found working on Fedora 40 on aarch64 that
`test_dlopen_linker_script_input_linux` was omitted due to not finding
libncurses.so, since it is in /usr/lib64. This PR makes the glob a
little more portable.

https://github.com/ruby/fiddle/commit/444774c0c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
omitted on Fedora 40 aarch64
(https://github.com/ruby/fiddle/pull/161)

I found working on Fedora 40 on aarch64 that
`test_dlopen_linker_script_input_linux` was omitted due to not finding
libncurses.so, since it is in /usr/lib64. This PR makes the glob a
little more portable.

https://github.com/ruby/fiddle/commit/444774c0c4
</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>[ruby/fiddle] Fix Fiddle::Handle.new for a missing library in the</title>
<updated>2024-10-26T09:44:15+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2024-10-18T12:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=346085ea940b604ea7b643d7a0acd9e890c926d9'/>
<id>346085ea940b604ea7b643d7a0acd9e890c926d9</id>
<content type='text'>
FFI backend
(https://github.com/ruby/fiddle/pull/156)

* From https://github.com/ruby/reline/issues/766#issuecomment-2422135968

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

* From https://github.com/ruby/reline/issues/766#issuecomment-2422135968

https://github.com/ruby/fiddle/commit/eea9fd0cc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] test: Fix a typo</title>
<updated>2024-10-18T02:35:00+00:00</updated>
<author>
<name>kojix2</name>
<email>2xijok@gmail.com</email>
</author>
<published>2024-10-17T19:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9a98b70a50c9d8e73c0194646093d6a15a223e3f'/>
<id>9a98b70a50c9d8e73c0194646093d6a15a223e3f</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/154)

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

https://github.com/ruby/fiddle/commit/1f818e4684
</pre>
</div>
</content>
</entry>
<entry>
<title>Use JRuby implementation for TruffleRuby (#149)</title>
<updated>2024-10-16T02:24:25+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2024-10-10T05:37:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8d127c9b592c58c858a57af6a4a0d805491b5d2b'/>
<id>8d127c9b592c58c858a57af6a4a0d805491b5d2b</id>
<content type='text'>
Fix GH-145

Rename `lib/fiddle/jruby.rb` to `lib/fiddle/ffi_backend.rb` as a generic
ffi gem API based implementation.
JRuby and TruffleRuby use `lib/fiddle/ffi_backend.rb`.

---------

Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix GH-145

Rename `lib/fiddle/jruby.rb` to `lib/fiddle/ffi_backend.rb` as a generic
ffi gem API based implementation.
JRuby and TruffleRuby use `lib/fiddle/ffi_backend.rb`.

---------

Co-authored-by: Benoit Daloze &lt;eregontp@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Ractor support</title>
<updated>2024-10-16T02:24:25+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-11T05:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bbd5b8ddae7b3ff7205866d54cf8aca065a6d9bd'/>
<id>bbd5b8ddae7b3ff7205866d54cf8aca065a6d9bd</id>
<content type='text'>
(https://github.com/ruby/fiddle/pull/139)

https://github.com/ruby/fiddle/commit/91d0ea9849

Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/fiddle/pull/139)

https://github.com/ruby/fiddle/commit/91d0ea9849

Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
