| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/reline/commit/be17740e82
|
|
|
|
at 61aff0cd189e67fa6f2565639ad0128fa33b88fc [Bug #15267]
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
* Change === docs to mention it uses cover?
* Add different example to === docs to showcase
behavior better
* Change include? docs to mention cover?
and clarify the difference
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2767
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2757
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2760
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2760
|
|
Fixed misspellings reported at [Bug #16437], missed and a new
typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Use Queue for synchronization.
* Don't use `sleep 0.2` and use `th.join` because created thread
can raise an exception after 0.2 seconds.
|
|
https://github.com/ruby/reline/commit/e98ad3b486
|
|
|
|
`foo(*rest, post, **empty_kw)` is compiled like
`foo(*rest + [post, **empty_kw])`, and `**empty_kw` is removed by
"newarraykwsplat" instruction.
However, the method call still has a flag of KW_SPLAT, so "post" is
considered as a keyword hash, which caused a segfault.
Note that the flag cannot be removed if "empty_kw" is not always empty.
This change fixes the issue by compiling arguments with "newarray"
instead of "newarraykwsplat".
[Bug #16442]
|
|
|
|
But not changes another cases, such as "file.rb."
[Bug #15267]
|
|
|
|
|
|
Follow up of the previous commit
https://github.com/ruby/irb/commit/ab207353d3
|
|
Fixes #47
https://github.com/ruby/irb/commit/6b8eca4635
|
|
The old version of cursor_pos discards the input buffer, which made IRB
ignore the input immediately after IRB is invoked.
This change keeps the input before cursor_pos by using ungetc.
https://github.com/ruby/reline/commit/4a8cca331f
|
|
https://github.com/ruby/reline/commit/b111cde3c3
|
|
Before this commit, Kernel#lambda can't tell the difference between a
directly passed literal block and one passed with an ampersand.
A block passed with an ampersand is semantically speaking already a
non-lambda proc. When Kernel#lambda receives a non-lambda proc, it
should simply return it.
Implementation wise, when the VM calls a method with a literal block, it
places the code for the block on the calling control frame and passes a
pointer (block handler) to the callee. Before this commit, the VM
forwards block arguments by simply forwarding the block handler, which
leaves the slot for block code unused when a control frame forwards its
block argument. I use the vacant space to indicate that a frame has
forwarded its block argument and inspect that in Kernel#lambda to detect
forwarded blocks.
This is a very ad-hoc solution and relies *heavily* on the way block
passing works in the VM. However, it's the most self-contained solution
I have.
[Bug #15620]
Notes:
Merged: https://github.com/ruby/ruby/pull/2289
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2289
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2289
|
|
|
|
|
|
|
|
[Feature #16420]
|
|
[Feature #16420]
|
|
|
|
To manage `Warning[category]` flags. Only `-W:deprecated` and
`-W:no-deprecated` are available now. [Feature #16345]
|
|
|
|
Add an example of "<expr> in <pattern>", an example of
NoMatchingPatternError, and mention that the slides are slightly
obsolete.
|
|
(old)
test.rb:4: warning: The last argument is used as the keyword parameter
test.rb:1: warning: for `foo' defined here; maybe ** should be added to the call?
(new)
test.rb:4: warning: The last argument is used as keyword parameters; maybe ** should be added to the call
test.rb:1: warning: The called method `foo' is defined here
|
|
[Bug #16438]
|
|
[Bug #16438]
|
|
[Bug #16438]
|
|
[Feature #16419]
|
|
|