Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/irb/commit/5a7dd8c3bf
|
|
reline 0.1.5 or later
https://github.com/ruby/irb/commit/c05bc9e595
|
|
https://github.com/ruby/irb/commit/0feeae38c5
|
|
Omit the results evaluated at assignment if they are too long.
The behavior of ECHO_ON_ASSIGNMENT being on by default is hard to understand,
so I change it to off by default. Instead, we turn OMIT_ON_ASSIGNMENT on by
default. The result is displayed on assignment, but it will always be short
and within one line of the screen.
https://github.com/ruby/irb/commit/c5ea79d5ce
|
|
https://github.com/ruby/irb/commit/07beb3964d
|
|
https://github.com/ruby/reline/commit/c8a419beb5
|
|
|
|
https://github.com/ruby/reline/commit/187235f88c
|
|
https://github.com/ruby/reline/commit/9c9ba0eff3
|
|
https://github.com/ruby/reline/commit/9b932df544
|
|
https://github.com/ruby/reline/commit/3e2f55c3e0
|
|
When the cursor is at the end of the line and erases characters after the
cursor, some terminals delete the character at the cursor position.
https://github.com/ruby/reline/commit/e96ec97b02
|
|
The nil means there is nothing in the buffer in some systems. Incidentally,
Errno::EIO is raised if the I/O is closed.
https://github.com/ruby/reline/commit/c698634e74
|
|
https://github.com/ruby/reline/commit/ba800f1461
|
|
https://github.com/ruby/reline/commit/2c5ee54cb3
|
|
https://github.com/ruby/reline/commit/2d32604c9e
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3531
|
|
|
|
|
|
|
|
SecureRandom lazily defines `get_random`. Accessing the mutex to define
the `get_random` method is not supported inside a Ractor. This commit
defines `gen_random` when `securerandom` is required and makes it
suppore Ractor (as well as thread safe).
Here is a test program:
```ruby
require "securerandom"
r = Ractor.new do
loop do
Ractor.yield SecureRandom.hex
end
end
p r.take
```
Before this commit:
```
$ make runruby
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems ./test.rb
<internal:ractor>:38: warning: Ractor is experimental, and the behavior may change in future versions of Ruby! Also there are many implementation issues.
/Users/aaron/git/ruby/lib/securerandom.rb:94:in `gen_random': can not access instance variables of classes/modules from non-main Ractors (RuntimeError)
<internal:ractor>:124:in `take': thrown by remote Ractor. (Ractor::RemoteError)
from ./test.rb:9:in `<main>'
/Users/aaron/git/ruby/lib/securerandom.rb:94:in `gen_random': can not access instance variables of classes/modules from non-main Ractors (RuntimeError)
from /Users/aaron/git/ruby/lib/securerandom.rb:155:in `random_bytes'
from /Users/aaron/git/ruby/lib/securerandom.rb:176:in `hex'
from ./test.rb:5:in `block (2 levels) in <main>'
from ./test.rb:4:in `loop'
from ./test.rb:4:in `block in <main>'
make: *** [runruby] Error
```
After this commit:
```
$ make runruby
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems ./test.rb
<internal:ractor>:38: warning: Ractor is experimental, and the behavior may change in future versions of Ruby! Also there are many implementation issues.
"3fc8885157e3911bab4b5d7619bb0308"
```
Notes:
Merged: https://github.com/ruby/ruby/pull/3518
|
|
|
|
Start with https://github.com/ruby/ruby/commit/fa21985a7a2f8f52a8bd82bd12a724e9dca74934
to https://github.com/ruby/ruby/commit/d7492a0be885ea9f2b9f71e3e95582f9a859c439
|
|
Document difference in behavior between Tempfile.open and
Tempfile.create.
https://github.com/ruby/tempfile/commit/426d6f887f
|
|
ruby versions."
This reverts commit 4cd1fc8b3559353069860eee90b1b5bade013917.
|
|
|
|
* They likely want to support older Ruby/tempfile versions
* Reverts part of e8c3872555fc85640505974e6b1c39d315572689
|
|
after the block
|
|
automatically
|
|
|
|
https://github.com/ruby/reline/commit/f348ecd9f5
|
|
https://github.com/ruby/reline/commit/1dd80ef188
|
|
https://github.com/ruby/irb/commit/0b2773d91d
|
|
utilization (#3457)
WEBrick is not recommended for the production use. We need to explicitly
describe this fact in the document to avoid troubles due to misunderstanding.
Notes:
Merged-By: mrkn <mrkn@ruby-lang.org>
|
|
|
|
|
|
|
|
|
|
|
|
https://github.com/ruby/racc/commit/a1aeecff03
|
|
|
|
|
|
|
|
|
|
https://github.com/ruby/reline/commit/4a0d32a3d0
|