| Age | Commit message (Collapse) | Author |
|
Notes:
Merged-By: jemmaissroff
|
|
## What was the end-user or developer problem that led to this PR?
The old URL https://github.com/testdouble/standard is mentioned.
## What is your fix for the problem, implemented in this PR?
This PR updates to the new URL https://github.com/standardrb/standard.
https://github.com/rubygems/rubygems/commit/eeafba72fc
|
|
(https://github.com/ruby/irb/pull/636)
https://github.com/ruby/irb/commit/85d6b4d146
|
|
(https://github.com/ruby/irb/pull/632)
* Require Reline 0.3.6 or higher
"Multi-line multibyte regular expression raises exception" (https://github.com/ruby/irb/issues/627) is fixed in Reline 0.3.6.
* Remove unnecessary conditional
|
|
https://github.com/rubygems/rubygems/commit/44fe8e7f50
|
|
cmd.exe can redirect file descriptor other than STDOUT, while
command.com couldn't.
Notes:
Merged: https://github.com/ruby/ruby/pull/8050
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8050
|
|
(https://github.com/ruby/irb/pull/633)
Using it as a module makes it harder to understand methods' source.
|
|
(https://github.com/ruby/reline/pull/565)
https://github.com/ruby/reline/commit/2503ddb9a6
|
|
(https://github.com/ruby/reline/pull/522)
* Add unassigned escape sequence matcher to KeyStroke
* Do not insert ESC and unassigned ESC+key to input buffer
|
|
https://github.com/ruby/yarp/commit/f3802e03e0
|
|
(https://github.com/ruby/reline/pull/566)
* Avoid referencing IOGate from IOGate classes
The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.
* Avoid referencing to IOGate from LineEditor directly
* Avoid referencing to IOGate from Core directly
* Reference to Reline.core directly
* Replace Reline::IOGate with Reline.core.io_gate
|
|
It got out of sync again. After this re-sync, it should happen
cherry-picking automatically.
Notes:
Merged-By: jemmaissroff
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8007
|
|
(https://github.com/ruby/reline/pull/560)
https://github.com/ruby/reline/commit/4680d1c9e0
|
|
(https://github.com/ruby/reline/pull/562)
https://github.com/ruby/reline/commit/4348354604
|
|
Co-Authored-By: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
|
|
For consistency, I chose code format over plaintext escaping.
|
|
method signatures
This commit improves the behavior of showing the "toggle source" element on mouseover.
For example, when a method has one more signatures by using `:call-seq:`,
```ruby
# :call-seq:
# foo {|element| ... } -> self
# foo -> new_enumeration
def foo
end
```
The current CSS doesn't show "toggle source" even when hovering the second signature `foo -> new_enumeration`.
But this change will show "toggle source" always when hovering over any signature.
For details about the `.method-header` element, see `lib/rdoc/generator/template/darkfish/class.rhtml`:
https://github.com/ruby/rdoc/blob/0e060c69f51ec4a877e5cde69b31d47eaeb2a2b9/lib/rdoc/generator/template/darkfish/class.rhtml#L101-L124
For example, see https://docs.ruby-lang.org/en/3.2/Array.html#method-i-delete
|
|
[ci skip]
https://github.com/ruby/rdoc/commit/b93687fdd0
|
|
https://github.com/ruby/rdoc/commit/663edc807c
|
|
https://github.com/ruby/rdoc/commit/db62e47df2
|
|
(https://github.com/ruby/irb/pull/628)
https://github.com/ruby/irb/commit/5e87f3bfdd
Co-authored-by: Andy Waite <andyw8@users.noreply.github.com>
|
|
(https://github.com/ruby/irb/pull/623)
* Rename `ext/history.rb` to `ext/eval_history.rb`
To confusion with `lib/irb/history.rb`
* Add eval_history tests
* Rename eval_history's History to EvalHistory to avoid confusion
|
|
* YJIT: Fix autosplat miscomp for blocks with optionals
When passing an array as the sole argument to `yield`, and the yieldee
takes more than 1 optional parameter, the array is expanded similar
to `*array` splat calls. This is called "autosplat" in
`setup_parameters_complex()`.
Previously, YJIT did not detect this autosplat condition. It passed the
array without expanding it, deviating from interpreter behavior.
Detect this conditon and refuse to compile it.
Fixes: Shopify/yjit#313
* RJIT: Fix autosplat miscomp for blocks with optionals
This is mirrors the same issue as YJIT. See previous commit.
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
|
|
(https://github.com/ruby/reline/pull/561)
* Use Reline::Core.encoding instead of directly referencing IOGate
* Set input/output based on the IOGate's interface
|
|
We have some flags that limit running git commit commands under certain
situations, for example, when running under `--local`. However, those
should only affect remote git operations, not local read-only operations
like `git --version`, or `git rev-parse --abbrev-ref HEAD`.
This commit refactors things to achieve that.
By doing this, the `#to_s` representation of a source is more
consistent, since we don't get any errors when reading the checked out
branch, and we avoid some flip-flop lockfile issues.
https://github.com/rubygems/rubygems/commit/4a529fce81
|
|
https://github.com/rubygems/rubygems/commit/93f74abc5f
|
|
lockfile
When dependencies in path sources have changed, we'll be re-resolving,
and we can't really know whether the resolution will be valid or invalid
for the Ruby platform, so skip the removal in that case.
https://github.com/rubygems/rubygems/commit/afc3b0956f
|
|
(https://github.com/ruby/irb/pull/613)
Since `IRB.conf[:SAVE_HISTORY]` is assigned with 1000 by default, history-saving
is a feature enabled by default. So it should not be treated as an extension,
which adds unnecessary complexity to the code.
|
|
* The test suite fails on 2.5.
* See https://github.com/ruby/timeout/pull/35
https://github.com/ruby/timeout/commit/03873a9237
|
|
Fix https://bugs.ruby-lang.org/issues/18933
https://github.com/ruby/tmpdir/commit/446e636434
|
|
https://github.com/ruby/timeout/commit/949445f591
|
|
(https://github.com/ruby/irb/pull/621)
https://github.com/ruby/irb/commit/b9a9dd97df
|
|
https://github.com/rubygems/rubygems/commit/b0edf39083
|
|
(https://github.com/ruby/irb/pull/618)
* Test last value is assigned with measure enabled
* Remove unnecessary `result` variable
`Context#evaluate` always assigns the result of the evaluation to `_` so
we don't need to do it in `Irb#eval_input`.
* Move benchmarking logic into `Context#evaluate`
Current location of the benchmarking logic is too high up and includes
operations like command loading and argument transformation, which should
be excluded. So this commit moves it into `Context#evaluate` to reduce the
noise.
We don't move it further down to `Workspace#evaluate` because `Context`
is an argument of the measure block, which is not available in `Workspace`.
|
|
(https://github.com/ruby/irb/pull/607)
https://github.com/ruby/irb/commit/9d97a192a5
|
|
|
|
https://github.com/ruby/uri/commit/e18e657ea8
|
|
https://hackerone.com/reports/1958260
https://github.com/ruby/uri/commit/9d7bcef1e6
|
|
https://hackerone.com/reports/1958260
https://github.com/ruby/uri/commit/9010ee2536
|
|
Notes:
Merged-By: peterzhu2118 <peter@peterzhu.ca>
|
|
https://github.com/ruby/csv/commit/e090da19b4
|
|
GitHub: fix https://github.com/ruby/csv/pull/279
It's happen when:
* `keep_start`/`keep_{drop,back}` are nested.
(e.g.: `strip: true, skip_lines: /.../`)
* Row separator is `\r\n`.
* `InputScanner` is used. (Small input doesn't use `InputScanner`)
Reported by Gabriel Nagy. Thanks!!!
https://github.com/ruby/csv/commit/183635ab56
|
|
https://github.com/ruby/csv/commit/bfbd6bbf6f
|
|
https://github.com/ruby/csv/commit/5df650be0c
|
|
https://github.com/ruby/syntax_suggest/commit/08a9afb64f
|
|
the value is always nil
(https://github.com/ruby/irb/pull/617)
https://github.com/ruby/irb/commit/62691384f8
|
|
(https://github.com/ruby/irb/pull/615)
This makes sure `Context#evaluate` really just evaluates the input.
It will also make #575's implementation cleaner.
|
|
https://github.com/rubygems/rubygems/pull/6766
https://github.com/rubygems/rubygems/commit/c5c5797227
|