-
JRuby, TruffleRuby: Don't use
mkmf
to generate dummyMakefile
.- GH-153
- GH-155
-
JRuby, TruffleRuby: Fixed a bug that shared library load failure isn't caught correctly.
- GH-156
- ruby/reline#766
-
Set
changelog_uri
gem metadata.- Patch by Masato Nakamura
- GH-138
-
Imported JRuby implementation.
- GH-104
- GH-147
-
Added support for TruffleRuby.
- GH-149
-
Added support for Ractor.
- GH-139
- Masato Nakamura
-
Preferred
String#unpack1
.Patch by Mau Magnaguagno.
GH-118
-
Preferred
_Alignof
.Patch by Khem Raj.
GH-120
-
Added
Fiddle::Pointer.read
andFiddle::Pointer.write
.GH-123
-
Added support for
long
variants.Reported by David M. Lary.
GH-100
-
Added support for
short
variants. -
Added support for converting one character string to char.
Reported by kojix2.
GH-96
-
Added support for write barriers.
Patch by Jean byroot Boussier.
GH-127 GH-129
-
Added support for
bool
.Reported by Benoit Daloze.
GH-130
-
Mau Magnaguagno
-
Khem Raj
-
David M. Lary
-
kojix2
-
Jean byroot Boussier
-
Benoit Daloze
-
test: Improved glibc detection on alpha and ia64. [GitHub#105] [Bug #18645] [Patch by John Paul Adrian Glaubitz]
-
Added support for linker script on Linux. [GitHub#107] [Reported by nicholas a. evans]
-
Freed
Fiddle::Closure
immediately. [GitHub#109] -
Added
Fiddle::TYPE_UXXX
constants for unsigned types. [GitHub#111] -
Added
Fiddle::Types
for type constants. We can still useFiddle::TYPE_XXX
. [GitHub#112] -
Added
Fiddle::Handle.sym_defined?
. [GitHub#108] -
Added
Fiddle::Closure.create
andFiddle::Closure.free
. [GitHub#102] [Reported by Vít Ondruch] -
Added
--with-libffi-source-dir
build option and removed--enable-bundled-libffi
build option. [Bug #18571] -
Added
Fiddle::Qtrue
,Fiddle::Qfalse
,Fiddle::Qnil
andFiddle::Qundef
. [GitHub#115]
- Fixed a bug that
Fiddle::PackInfo::PACK_MAP
uses wrong pack template for unsigned types. [GitHub#109]
-
John Paul Adrian Glaubitz
-
Vít Ondruch
-
Added
Fiddle::Struct.offsetof
. -
Improved memory view availability detection. [GitHub#84][Reported by Jun Aruga]
-
Changed
Fiddle::Handle#to_i
value to wrapped pointer from internal handle data pointer. It's a backward incompatible change but the previous behavior was meaningless. No users must depend on the previous behavior. So this will not cause any backward incompatible problem. -
Added
Fiddle::Handle#to_ptr
. -
Added
Fiddle::Handle#file_name
.
- Jun Aruga
-
Added
Fiddle::Function#to_proc
. -
Added
Fiddle::MemoryView#to_s
. [GitHub#74][Reported by dsisnero] -
Added
Fiddle::MemoryView.export
andFiddle::MemoryView#release
. [GitHub#79][Reported by xtkoba]
- Changed to use
GetLastError()
forFiddle.win32_last_error
. [Ruby#11579][Patch by cremno phobia]
-
cremno phobia
-
dsisnero
-
xtkoba
-
Added support for
const
in C type. [GitHub#68][Reported by kojix2] -
Added
Fiddle.win32_last_socket_error
andFiddle.win32_last_socket_error=
. They manage the last socket error on Windows. Users can't useWSAGetLastError()
with Ruby 3.0 or later becauserb_funcall()
resets the last socket error internally. [GitHub#72][Reported by Kentaro Hayashi]
- Fixed wrong type aliases for 64-bit Windows in
Fiddle::Win32Types
. [GitHub#63][Patch by Orgad Shaneh]
-
Orgad Shaneh
-
kojix2
-
Kentaro Hayashi
-
Fiddle::Closure
: Added support for specifying a type asSymbol
. -
Fiddle::Closure
: Added support forconst char *
. [GitHub#62][Reported by Cody Krieger]
- Cody Krieger
- Modify Fiddle::MemoryView for the latest Ruby master branch.
- Added a workaround for build failure with macOS 10.15 and Homebrew. [GitHub#52][Reported by Yaroslav Berezovskiy]
- Yaroslav Berezovskiy
-
Experimentally support MemoryView feature in Ruby 3.0. [GitHub#54]
-
Add support for
intNN_t
anduintNN_t
. -
Add
:need_gvl
option inFiddle::Function#initialize
. [Reported by Alan Wu]
- Alan Wu
- Added support for Fedora. [GitHub#49][Reported by Steve Fishman]
- Steve Fishman
- Suppressed a compile time warning.
-
Improved documentation. [GitHub#9][GitHub#33] [Patch by Olle Jonsson] [Patch by Chris Seaton]
-
Dropped deprecated taint support. [GitHub#21] [Patch by Jeremy Evans]
-
Fiddle.malloc
: Changed to clear memory as all 0. [GitHub#24] [Patch by sinisterchipmunk] -
Fiddle::CStructEntity#[]
,Fiddle::CStructEntity#[]=
: Added support for accessing struct data by offset and length. [GitHub#25] [Patch by sinisterchipmunk] -
Fiddle::Version
: Added. -
Fiddle::Pointer#call_free
,Fiddle::Pointer#freed?
: Added. [GitHub#36] [Patch by Chris Seaton] -
Fiddle::Pointer#malloc
: Added support for freeing memory by block. [GitHub#38][GitHub#39] [Patch by Chris Seaton] -
Added support for variadic arguments. [GitHub#39] [Reported by kojix2]
-
Fiddle::TYPE_CONST_STRING
: Added. -
Fiddle::SIZEOF_CONST_STRING
: Added. -
Added support for name such as
:size_t
to specify type. -
Fiddle::Pinned
: Added support for pinned object. [GitHub#44] -
Fiddle::Error
: Added as the root error class for Fiddle. -
Added support for nested struct. [GitHub#27] [Patch by sinisterchipmunk]
-
Fiddle::Importer::dlload
: Removed needlessrescue
. [GitHub#15] [Reported by Eneroth3]
-
Olle Jonsson
-
Jeremy Evans
-
sinisterchipmunk
-
Chris Seaton
-
kojix2
-
Eneroth3