| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/567)
* Give show_doc its own command class
* Print deprecation warning for `help` command
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/d9a003b4e7
|
| |
|
| |
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/324139af8f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
too much
(https://github.com/ruby/reline/pull/524)
* Do not render dialog where it overflows screen
* Dialog rendering should Scroll down only when needed
* Refactor screen_y_range calculation
Co-authored-by: Stan Lo <stan001212@gmail.com>
---------
https://github.com/ruby/reline/commit/bc0e3d1310
Co-authored-by: Stan Lo <stan001212@gmail.com>
|
|
|
|
|
|
| |
This ensures only files from the root directory are chosen, in order to allow a clean build from outside the source directory.
https://github.com/ruby/rdoc/commit/f3b389aa9e
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/26136138aa
|
| |
|
|
|
|
|
|
| |
Also empty document of `Object`.
https://github.com/ruby/rdoc/commit/ce32a3102b
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/945f0cb3e9
|
|
|
|
|
|
| |
Fixes https://github.com/ruby/rdoc/pull/1000
https://github.com/ruby/rdoc/commit/291e2b7e8b
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/reline/pull/492)
* Rewrite dialog rendering
* Fix failing test of dialog with small screen
* Add multiple-dialog rendering test
* Add description comments for each part of render_dialog_changes
|
|
|
|
|
|
|
|
| |
- Follow up RegexpLiteral at 9264d834215aa7ce14b0273032a7686c20141db9.
- Split the code to be generated so that `REGEXP` does not need
escapes.
- Use `REGEXP.match?` since support for Ruby 2.3 or earlier has been
dropped.
|
|
|
|
|
|
| |
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/1311ca8c50
|
|
|
|
|
|
| |
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/adfa7db5b9
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/574)
`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: 3ee79e89
But now we expect files to be encoded in UTF-8 and don't specify encoding
through magic comments anymore, `MagicFile` can be retired.
|
| |
|
|
|
|
|
|
| |
Fix https://bugs.ruby-lang.org/issues/19621
https://github.com/ruby/resolv/commit/7faaa78847
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|