Age | Commit message (Collapse) | Author |
|
(https://github.com/ruby/fiddle/pull/86)
https://github.com/ruby/fiddle/commit/c5abcc3a7e
|
|
FIddle::Handle#to_ptr (https://github.com/ruby/fiddle/pull/87)
https://github.com/ruby/fiddle/commit/170111a0cb
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4648
|
|
Fixes [Bug #17788]
Notes:
Merged: https://github.com/ruby/ruby/pull/4429
|
|
|
|
are :time and :stackprof
https://github.com/ruby/irb/commit/759be5a344
|
|
https://github.com/ruby/fiddle/commit/93f9564446
|
|
https://github.com/ruby/error_highlight/commit/8273d3b6f2
|
|
(https://github.com/ruby/fiddle/pull/85)
Drop supports for old versions, keeping 2.5 as CI supports it for
now.
https://github.com/ruby/fiddle/commit/90634e7c55
|
|
Fix https://github.com/ruby/fiddle/pull/84
It may detect ruby/memory_view.h for system Ruby that is installed in
/usr.
We can use RUBY_API_VERSION_MAJOR to detect memory view availability
because memory view is available since Ruby 3.0.
Reported by Jun Aruga. Thanks!!!
https://github.com/ruby/fiddle/commit/3292929830
|
|
(https://github.com/ruby/fiddle/pull/83)
* Add "offsetof" to Struct classes
I need to get the offset of a member inside a struct without allocating
the struct. This patch adds an "offsetof" class method to structs that
are generated.
The usage is like this:
```ruby
MyStruct = struct [
"int64_t i",
"char c",
]
MyStruct.offsetof("i") # => 0
MyStruct.offsetof("c") # => 8
```
* Update test/fiddle/test_c_struct_builder.rb
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
https://github.com/ruby/fiddle/commit/4e3b60c5b6
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
|
|
https://github.com/ruby/fiddle/commit/049138b4b8
|
|
https://github.com/ruby/fiddle/commit/0ed39345fe
|
|
https://github.com/ruby/fiddle/commit/bddca7c895
|
|
(https://github.com/ruby/fiddle/pull/80)
fix https://github.com/ruby/fiddle/pull/79
Users can release memory views explicitly before process exit.
Reported by xtkoba. Thanks!!!
https://github.com/ruby/fiddle/commit/1de64b7e76
|
|
(https://github.com/ruby/fiddle/pull/78)
Fix https://github.com/ruby/fiddle/pull/74
Reported by dsisnero. Thanks!!!
|
|
https://github.com/ruby/fiddle/commit/ca5e6a0404
|
|
https://github.com/ruby/fiddle/commit/fab7eab95b
|
|
https://github.com/ruby/fiddle/commit/c86cec03cd
|
|
https://github.com/ruby/fiddle/commit/1da3b4af16
|
|
Ruby: [Bug #11579]
Patch by cremno phobia. Thanks!!!
https://github.com/ruby/fiddle/commit/760a8f9b14
|
|
https://github.com/ruby/fiddle/commit/3784cfeec4
|
|
|
|
|
|
https://github.com/ruby/error_highlight/commit/9d671284cb
|
|
Now, the highlight line is created by replacing non-tab characters with
spaces, and keeping all hard tabs as-is. This means the highlight line
has the completely same indentation as the code snippet line.
Fixes #7
https://github.com/ruby/error_highlight/commit/38f20fa542
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4646
|
|
https://github.com/ruby/error_highlight/commit/2fc70d7f8e
|
|
characters
See https://github.com/ruby/error_highlight/issues/4
https://github.com/ruby/error_highlight/commit/c20efd3961
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4645
|
|
|
|
|
|
https://github.com/ruby/date/commit/404f9d2096
|
|
Fixes [Bug #17945]
https://github.com/ruby/date/commit/953d907238
|
|
|
|
This file contains extended assertions for ruby core which do not
belong to test/unit.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4607
|
|
|
|
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
https://github.com/ruby/irb/commit/b431742430
|
|
When fiddle is not avaiable, reline/terminfo depending on it also
fails.
|
|
|
|
Undefine LIST_HEAD from BSD-origin sys/queue.h.
|
|
|
|
This fixes at least an issue where irb will incorrectly assume
code opens a heredoc when it does not, such as this code:
```ruby
s1 = 'testing'
s2 = 'this'
s2 <<s1
p s1
s1
```
Ruby parses the `s2 <<s1` as `s2.<<(s1)`, not as a heredoc, because
`s2` is a local variable in scope. irb was using ripper without
letting ripper know that `s2` was a local variable, so ripper would
lex it as a heredoc instead of a method call.
Fix the situation by prepending a line at line 0 with all local
variable definitions in scope whenever lexing. This fixes the
heredoc issue, and potentially other issues that depend on whether
an identifier is a local variable or not.
Fixes [Bug #17530]
https://github.com/ruby/irb/commit/4ed2187f76
|
|
|
|
|
|
|
|
|