Backport lib/reline, ext/readline, and lib/irb for 3.0.1#4085
Merged
nurse merged 50 commits intoruby:ruby_3_0from Jan 19, 2021
Merged
Backport lib/reline, ext/readline, and lib/irb for 3.0.1#4085nurse merged 50 commits intoruby:ruby_3_0from
nurse merged 50 commits intoruby:ruby_3_0from
Conversation
This is to prevent a yellow-mixed output for ActiveSupport::TimeWithZone. Follows up ruby/irb#159 and ruby#3967. ruby/irb@a5804c3
If a nested object is passed to #pp, it may be sometimes passed to the #text method as an object without being stringified. This is fixed on the Ruby main repository; ruby@433a3be but it was a bug of Ripper so still needs this workaround for using irb as a gem on Ruby 3.0.0 or earlier. Co-authored-by: k0kubun <takashikkbn@gmail.com> ruby/irb@8d13df22ee
Use the start token as the indentation criteria so that it works properly in heredoc. ref. ruby/reline#242 ruby/irb@9704808dfd
…e place For example, the broken code "%www" will result in only one error token. ruby/irb@9fa39a7cf3
I didn't notice it's msec. 2.5s is too short. http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3311385
* moved rescue clause to `#inspect_value` to catch all failures in inspectors * test with all (currently five kind of) inspect modes - tweaked the input due to only `Marshal` can inspect(dump) a `BasicObject` ruby/irb@9d112fab8e
…t order [Bug #17466] ruby/irb@1c76845cca
…indent info Co-authored-by: Juanito Fatas <me@juanitofatas.com> ruby/reline@7c24276275
…oken prompt list Co-authored-by: Juanito Fatas <me@juanitofatas.com> ruby/reline@558f7be168
Co-authored-by: Juanito Fatas <me@juanitofatas.com> ruby/reline@074bb017a7
Random ordering test can introduce antoher candidate so it should be `assert_include`.
This is useful if you want to use IRB::ColorPrinter as a library like: ``` begin require 'irb/color_printer' IRB::ColorPrinter.pp(obj) rescue LoadError pp(obj) end ``` ruby/irb@f8461691c7
The incompatible interface is not helpful, again if you want to use it as a standalone library, falling it back to PP. Original PP.pp also ends with `out << "\n"`. ruby/irb@4c74c7d84c
…ctly The current line was being handled incorrectly when displaying the hit history, so it has been fixed to be correct. ruby/reline@a3df4343b3
Because of chdir, log files ware created in temporary directries on Windows. ruby/reline@200b469a68
The behavior of automatically moving the cursor to the next line when displaying a char at the eol on Windows suddenly disappeared. ruby/reline@cad4de6ee8
* due to the difference of backtrace pointed out by @aycabta ruby/irb@5e00a0ae61
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.