| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/343197e4ff
|
|
https://github.com/rubygems/rubygems/commit/b31f33d55c
|
|
https://bugs.ruby-lang.org/issues/20789
Notes:
Merged: https://github.com/ruby/ruby/pull/11850
|
|
https://github.com/ruby/prism/commit/25a4cf6794
Co-authored-by: Kevin Newton <kddnewton@users.noreply.github.com>
|
|
It would happen when the gem is already installed to multiple GEM_PATHS.
RubyGems was removing duplicate specs without considering the
potentially different `base_dir`. That was causing the gem to be
misidentified as not already installed, and a nil specification getting
returned from the installer as a result, causing the crash.
Solve it by making sure `Gem::Specification.all` really iterates through
all the different specifications in all GEM_PATHs.
https://github.com/rubygems/rubygems/commit/0d8c208f65
|
|
https://github.com/rubygems/rubygems/commit/c9e665eb8a
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11791
|
|
instead of test failure.
```
1) Error:
TestResolvDNS#test_multiple_servers_with_timeout_and_truncated_tcp_fallback:
Errno::EACCES: Permission denied - bind(2) for "127.0.0.1" port 59677
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TCPServer#initialize'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TCPServer.new'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TestResolvDNS#with_udp_and_tcp'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:711:in 'TestResolvDNS#test_multiple_servers_with_timeout_and_truncated_tcp_fallback'
2) Error:
TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback:
Errno::EACCES: Permission denied - bind(2) for "127.0.0.1" port 59689
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TCPServer#initialize'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TCPServer.new'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TestResolvDNS#with_udp_and_tcp'
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:223:in 'TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback'
```
Notes:
Merged: https://github.com/ruby/ruby/pull/11842
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11828
|
|
|
|
Fix: #344
This matches the ext behavior.
|
|
Followup: https://github.com/flori/json/pull/519
Fix: https://github.com/flori/json/issues/584
|
|
Now that the repository was transfered, these links will become
dead in a few months.
Notes:
Merged: https://github.com/ruby/ruby/pull/11820
|
|
https://github.com/ruby/prism/commit/dbd5c929d6
|
|
https://github.com/ruby/prism/commit/023e894b74
|
|
method call to handle -l CLI option
https://github.com/ruby/prism/commit/717e41c87d
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11811
|
|
key bindings
(https://github.com/ruby/reline/pull/719)
* Add SS3 arrow sequence to default key bindings
* Remove wrong KDE arrow sequence
https://github.com/ruby/reline/commit/546a42522e
|
|
(https://github.com/ruby/reline/pull/723)
Readline's convert-meta setting is utf-8 unsafe.
Allow assigning `"\M-char": key` to bind "\echar": key even if convert-meta is not enabled.
https://github.com/ruby/reline/commit/9844b99c6e
|
|
TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)
https://github.com/ruby/irb/commit/bb6a99d815
|
|
(https://github.com/ruby/reline/pull/757)
https://github.com/ruby/reline/actions/runs/11187507536/job/31104699331#step:13:1064
```
Children under /tmp/rubytest.m48l5o:
* -rw------- 1 101 2024-10-02 17:43:51 +0000 rubyfile20241002-60503-bhbfgq
```
https://github.com/ruby/reline/commit/1287f97a6f
|
|
[[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/reline/commit/ca457ffb70
|
|
[[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/irb/commit/ecd08a527e
|
|
The absence of either the integer or fractional part should be
allowed.
Notes:
Merged: https://github.com/ruby/ruby/pull/11807
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11805
|
|
(https://github.com/ruby/reline/pull/749)
https://github.com/ruby/reline/commit/41b54140f4
|
|
Co-authored-by: Adam Hess <HParker@github.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/11800
|
|
https://github.com/ruby/prism/commit/80cd335222
|
|
Currently in my code when I want to create a pathname object and create a path at the same time I must use tap
```
path = Pathname.new("/tmp/new").tap(&:mkpath)
```
I think it would be cleaner to be able to chain on the results of these methods instead:
```
path = Pathname.new("/tmp/new").mkpath
```
Notes:
Merged: https://github.com/ruby/ruby/pull/3705
|
|
When I want to create a tmpdir I often want to manipulate it as a pathname. By introducing Pathname.mktmpdir I can get this behavior.
Currently I must:
```ruby
Dir.mktmpdir do |dir|
dir = Pathname(dir)
# ... code
end
```
I would like to be able to instead:
```ruby
Pathname.mktmpdir do |dir|
# ... code
end
```
Notes:
Merged: https://github.com/ruby/ruby/pull/3709
|
|
Now that we've inlined the eden_heap into the size_pool, we should
rename the size_pool to heap. So that Ruby contains multiple heaps, with
different sized objects.
The term heap as a collection of memory pages is more in memory
management nomenclature, whereas size_pool was a name chosen out of
necessity during the development of the Variable Width Allocation
features of Ruby.
The concept of size pools was introduced in order to facilitate
different sized objects (other than the default 40 bytes). They wrapped
the eden heap and the tomb heap, and some related state, and provided a
reasonably simple way of duplicating all related concerns, to provide
multiple pools that all shared the same structure but held different
objects.
Since then various changes have happend in Ruby's memory layout:
* The concept of tomb heaps has been replaced by a global free pages list,
with each page having it's slot size reconfigured at the point when it
is resurrected
* the eden heap has been inlined into the size pool itself, so that now
the size pool directly controls the free_pages list, the sweeping
page, the compaction cursor and the other state that was previously
being managed by the eden heap.
Now that there is no need for a heap wrapper, we should refer to the
collection of pages containing Ruby objects as a heap again rather than
a size pool
Notes:
Merged: https://github.com/ruby/ruby/pull/11771
|
|
https://github.com/ruby/prism/commit/7a0af49997
|
|
https://github.com/ruby/prism/commit/5dd36b979e
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11765
|
|
(https://github.com/ruby/reline/pull/747)
https://github.com/ruby/reline/commit/7534f7f92a
|
|
prepended to singleton class
To simplify the implementation, this makes Object#singleton_method
call the same method called by Object#method (rb_obj_method), then
check that the returned Method is defined before the superclass of the
object's singleton class. To keep the same error messages, it rescues
exceptions raised by rb_obj_method, and then raises its own exception.
Fixes [Bug #20620]
Notes:
Merged: https://github.com/ruby/ruby/pull/11605
|
|
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
(https://github.com/ruby/rdoc/pull/1184)
https://github.com/ruby/rdoc/commit/7b68545094
|
|
(https://github.com/ruby/reline/pull/753)
https://github.com/ruby/reline/commit/9230fe162d
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/10924
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/10924
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/10924
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/10924
|
|
`PTY.spawn` with a block detaches the spawned process and leaves it
running in background even after exiting the given block. It is the
responsibility of the caller to clean up the yielded IOs and PID.
https://github.com/ruby/ruby/actions/runs/11148759246/job/30986064044#step:13:950
```
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 9 : #<File:/dev/pts/0>
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 10 : #<File:/dev/pts/0>
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 11 : #<File:/dev/pts/1>
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 12 : #<File:/dev/pts/1>
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 13 : #<File:/dev/pts/2>
Leaked file descriptor: Reline::Test#test_tty_amibuous_width: 14 : #<File:/dev/pts/2>
```
https://github.com/ruby/reline/commit/f9f90da9e4
|
|
(https://github.com/ruby/reline/pull/748)
https://github.com/ruby/reline/commit/bf0f8fa333
|
|
(https://github.com/ruby/reline/pull/750)
https://github.com/ruby/reline/commit/dd4a654e5d
|
|
https://github.com/ruby/prism/commit/aee2de91a3
|
|
https://github.com/ruby/prism/commit/ab9d80987a
|
|
clearing results from all sources
https://github.com/rubygems/rubygems/commit/0549ddbcc5
|
|
It's for avoiding calling release on exit via GC. If it's happen, Ruby
will be crashed because Fiddle::MemoryView's finalizer may refer other
Ruby object. In exit phrase, the referred Ruby object may be already
freed.
https://github.com/ruby/fiddle/commit/02915f13de
|