| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
"X" must be used in conjunction with "+".
|
|
|
|
|
|
This reverts commit f85e8d2a8b2a37740334db4fd92ef820f05ddbc5.
It violated the limit of width (> 80) and caused the test failure
|
|
Fixed misspellings reported at [Bug #16437]
|
|
In #2612 I made two typos (extra ,, and copy-pasted
same line of code instead of showing two different
ones), fixing them.
Notes:
Merged: https://github.com/ruby/ruby/pull/2771
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2750
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2773
Merged-By: XrXr
|
|
|
|
* fix list in #flat_map
* fix wrong indentation in #filter_map and #with_index
* other small fixes
|
|
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
|
|
|