| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/571)
* Simplify Locale#load
Instead of loading file content with `MagicFile` and then evaluting it,
we can just use `Kernel.load` to load the file.
* Remove unused optional argument
* Remove unused Locale#require and #toplevel_load
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/573)
`MagicFile` was introduced around v0.9.6, which was like 14~15 years ago.
It was needed because back then we needed to read a file's magic comment
to determine the encoding of it, and read it with that encoding.
Commit: https://github.com/ruby/irb/commit/3ee79e89adb8e21b63d796e53bcc86281685076d
But now both EN and JA's help-message file are UTF-8 and have removed the
encoding comment, we don't need to open them with `MagicFile` anymore.
|
| |
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/569)
We don't have to load another file to define the legacy encoding aliases
map because there's only one definition of it. We can define it in
locale.rb directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/568)
In https://github.com/ruby/irb/commit/3ee79e89adb8e21b63d796e53bcc86281685076d,
`encoding_aliases.rb` was introduced to return the correct encoding object for
`ujis` and `euc` encodings.
However, the return value of `@@legacy_encoding_alias_map[@encoding_name]`
is always overridden by a second look up with `Encoding.find(@encoding_name)`.
So the logic didn't work as expected.
This commit fixes the problem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I previously left a comment stating I didn't know why a certain method existed. In investigating the code in `CaptureCodeContext#capture_before_after_kws` I found that it was added as to give a slightly less noisy output.
The docs for AroundBlockScan#capture_neighbor_context only describe keywords as being a primary concern. I modified that code to only include lines that are keywords or ends. This reduces the output noise even more.
This allows me to remove that `start_at_next_line` method.
One weird side effect of the prior logic is it would cause this code to produce this output:
```
class OH
def hello
def hai
end
end
```
```
1 class OH
> 2 def hello
4 def hai
5 end
6 end
```
But this code to produce this output:
```
class OH
def hello
def hai
end
end
```
```
1 class OH
> 2 def hello
4 end
5 end
```
Note the missing `def hai`. The only difference between them is that space.
With this change, they're now both consistent.
https://github.com/ruby/syntax_suggest/commit/4a54767a3e
|
|
|
|
| |
https://github.com/ruby/set/commit/bc59f85f2f
|
|
|
|
| |
https://github.com/ruby/set/commit/d39b33f463
|
|
|
|
| |
https://github.com/ruby/abbrev/commit/6fa790eac1
|
|
|
|
| |
https://github.com/ruby/abbrev/commit/255ca681c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/reline/pull/535)
This PR was an effort to address #321 (ed_quoted_insert doesn't work
properly) but per the reporter it did not work correctly.
Moreover, it introduced a major regression: Shell job control stopped
working in all applications that use reline, notably IRB.
Bash and other shells send SIGTSTP in response to C-z to implement job
suspension. Handling SIGSTP opts out of this functionality. For a
line oriented terminal program this should be avoided (not to mention,
this behavior diverges from readline's)
https://github.com/ruby/reline/commit/26383d25b8
Co-authored-by: Carl Brasic <cbrasic@drwholdings.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/564)
The current method-redefining approach brings little benefit, makes it
harder to understand the code, and causes warnings like:
> warning: method redefined; discarding old execute
This patch simplifies it while displaying more helpful message when rdoc
couldn't be loaded.
|
|
|
|
|
|
|
|
|
| |
<Class/Module>`
(https://github.com/ruby/irb/pull/562)
Instead of always printing methods inherited from Class or Module, IRB by
default should filter them out unless `<Class/Module>` is specified to be
either of those.
|
|
|
|
| |
https://github.com/ruby/irb/commit/2f567f3d3e
|
|
|
|
| |
https://github.com/ruby/rinda/commit/fa3865ac48
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/784e5e2fe5
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3bda049c73
|
|
|
|
|
|
| |
'invalid: foo: bar'
https://github.com/rubygems/rubygems/commit/b8d0c25b7e
|
| |
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/5351e01b32
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/6a97346708
|
|
|
|
|
|
| |
invalid yaml was provided
https://github.com/rubygems/rubygems/commit/cfcfde04c7
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/9175b8cf2a
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3d3b0d80a1
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/81ba58f445
|
|
|
|
|
|
| |
Bundler::YAMLSerializer.load
https://github.com/rubygems/rubygems/commit/080880ac23
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/d842e2092f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/e7d31405ea
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/b211eeacba
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/8771fbf53d
|
|
|
|
|
|
| |
underscore
https://github.com/rubygems/rubygems/commit/a4bfa2ef94
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/55ef32fdd7
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/9a3ed682a0
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/d6555aaa28
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3d9d587dd7
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/348c82311f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/c98677d073
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/63efdac045
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3268d40974
|
|
|
|
| |
This also adds max / hash support
|
|
|
|
|
|
|
| |
remove dialog_proc
(https://github.com/ruby/reline/pull/532)
https://github.com/ruby/reline/commit/43283b2f37
|
|
|
|
| |
https://github.com/ruby/prettyprint/commit/c6f3947e96
|
|
|
|
| |
https://github.com/ruby/pp/commit/3d0e65e79f
|
|
|
|
| |
https://github.com/ruby/resolv/commit/6ab2385e89
|
|
|
|
| |
https://github.com/ruby/securerandom/commit/2e6434331d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenSSL's man page previously stated that "the application is
responsible for seeding the PRNG by calling RAND_add" (see [1]).
So we had this code. However things changed. They no longer
say so, instead "manual (re-)seeding of the default OpenSSL
random generator is not necessary" now (see [2]). It seems all
OpenSSL versions that we support now already behaves like this.
Let's follow that.
[1]: https://www.openssl.org/docs/man1.0.2/man3/RAND_add.html
[2]: https://www.openssl.org/docs/manmaster/man3/RAND_add.html
|
|
|
|
| |
https://github.com/ruby/time/commit/32793b56b7
|
|
|
|
| |
https://github.com/ruby/time/commit/5f080cf700
|
|
|
|
| |
https://github.com/ruby/tempfile/commit/6aa1f37dc4
|
|
|
|
| |
https://github.com/ruby/shellwords/commit/e38b8b026a
|