Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | irb: Removed unused variablesv3_0_0_rc1 | Nobuyoshi Nakada | 2020-12-20 | 1 | -2/+0 |
| | |||||
* | irb: Define extension command only on the given object | Nobuyoshi Nakada | 2020-12-20 | 1 | -1/+3 |
| | | | | Not to interfer in class variables. | ||||
* | Set non-verbose mode as well as tty mode | Nobuyoshi Nakada | 2020-12-20 | 1 | -0/+4 |
| | |||||
* | Set :DEFAULT to PROMPT_MODE for CI | aycabta | 2020-12-20 | 1 | -20/+8 |
| | |||||
* | Suppress errors related to using variables that are not directly related to ↵ | aycabta | 2020-12-20 | 1 | -4/+20 |
| | | | | testing | ||||
* | [ruby/irb] Add measure command | aycabta | 2020-12-20 | 1 | -0/+144 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can use "measure" command to check performance in IRB like below: irb(main):001:0> 3 => 3 irb(main):002:0> measure TIME is added. => nil irb(main):003:0> 3 processing time: 0.000058s => 3 irb(main):004:0> measure :off => nil irb(main):005:0> 3 => 3 You can set "measure :on" by "IRB.conf[:MEASURE] = true" in .irbrc, and, also, set custom performance check method: IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |context, code, line_no, &block| time = Time.now result = block.() now = Time.now puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE] result } https://github.com/ruby/irb/commit/3899eaf2e2 | ||||
* | [ruby/irb] Skip the few failing tests on TruffleRuby | Benoit Daloze | 2020-12-17 | 2 | -0/+3 |
| | | | | https://github.com/ruby/irb/commit/22717844c0 | ||||
* | [ruby/irb] support more body argument for oneliner method definition | Nobuhiro IMAI | 2020-11-22 | 1 | -0/+2 |
| | | | | https://github.com/ruby/irb/commit/2ff1295533 | ||||
* | Update expected IRB result | Nobuyoshi Nakada | 2020-11-20 | 1 | -1/+11 |
| | |||||
* | Remove system method for E2E testing because depends on ruby command | aycabta | 2020-10-05 | 1 | -54/+75 |
| | |||||
* | Show stdout and stderr when history tests fail | aycabta | 2020-10-05 | 1 | -32/+31 |
| | |||||
* | [ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ↵ | aycabta | 2020-09-19 | 1 | -22/+6 |
| | | | | | | ECHO_ON_ASSIGNMENT https://github.com/ruby/irb/commit/4c89b0775b | ||||
* | [ruby/irb] Omit output if first line of multiline is too long | aycabta | 2020-09-14 | 1 | -0/+76 |
| | | | | https://github.com/ruby/irb/commit/0feeae38c5 | ||||
* | [ruby/irb] Add OMIT_ON_ASSIGNMENT | aycabta | 2020-09-14 | 1 | -4/+81 |
| | | | | | | | | | | | Omit the results evaluated at assignment if they are too long. The behavior of ECHO_ON_ASSIGNMENT being on by default is hard to understand, so I change it to off by default. Instead, we turn OMIT_ON_ASSIGNMENT on by default. The result is displayed on assignment, but it will always be short and within one line of the screen. https://github.com/ruby/irb/commit/c5ea79d5ce | ||||
* | Skip irb/test_history on Windows too | aycabta | 2020-08-20 | 1 | -6/+1 |
| | |||||
* | Skip Editline for history tests of IRB | aycabta | 2020-08-19 | 1 | -0/+9 |
| | | | | | Because Editline erases all histories in Readline::HISTORY when Readline.readline is called. | ||||
* | Skip irb/test_history on Solaris | aycabta | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Use "in" and "out" options of "system" instead of "replace_stdio" | aycabta | 2020-08-19 | 1 | -28/+1 |
| | |||||
* | Do "write" to temp stdin before "reopen" | aycabta | 2020-08-19 | 1 | -5/+5 |
| | |||||
* | test/irb/test_history.rb: prevent warnings | Yusuke Endoh | 2020-08-18 | 1 | -4/+4 |
| | | | | | | | | | | | | | ``` /home/chkbuild/chkbuild/tmp/build/20200818T123003Z/ruby/test/irb/test_history.rb:16: warning: assigned but unused variable - result_output /home/chkbuild/chkbuild/tmp/build/20200818T123003Z/ruby/test/irb/test_history.rb:34: warning: assigned but unused variable - result_output /home/chkbuild/chkbuild/tmp/build/20200818T123003Z/ruby/test/irb/test_history.rb:57: warning: assigned but unused variable - result_output /home/chkbuild/chkbuild/tmp/build/20200818T123003Z/ruby/test/irb/test_history.rb:80: warning: assigned but unused variable - result_output ``` | ||||
* | Lounch external process on Windows correctly | aycabta | 2020-08-18 | 1 | -2/+1 |
| | |||||
* | [ruby/irb] Change the way the IRB is invoked as an external process | aycabta | 2020-08-18 | 1 | -2/+1 |
| | | | | https://github.com/ruby/irb/commit/f4bcdf4375 | ||||
* | [ruby/irb] Support shortening lambda notetion for nesting level of prompt | aycabta | 2020-08-18 | 1 | -5/+15 |
| | | | | https://github.com/ruby/irb/commit/f1a775af47 | ||||
* | [ruby/irb] Support shortening lambda notation | aycabta | 2020-08-18 | 1 | -0/+16 |
| | | | | https://github.com/ruby/irb/commit/8e3f81d428 | ||||
* | [ruby/irb] Add require 'irb' to test separately | aycabta | 2020-08-18 | 1 | -0/+1 |
| | | | | https://github.com/ruby/irb/commit/9e4423b6e1 | ||||
* | [ruby/irb] Make history infinite if set SAVE_HISTORY to negative | aycabta | 2020-08-18 | 1 | -0/+23 |
| | | | | https://github.com/ruby/irb/commit/824473e880 | ||||
* | [ruby/irb] Suppress crash when bignum is set to SAVE_HISTORY | aycabta | 2020-08-18 | 1 | -0/+23 |
| | | | | https://github.com/ruby/irb/commit/5044eb2730 | ||||
* | [ruby/irb] Add tests about IRB history | aycabta | 2020-08-18 | 1 | -0/+131 |
| | | | | https://github.com/ruby/irb/commit/82efd370eb | ||||
* | [ruby/irb] Support oneline method definition | aycabta | 2020-08-18 | 1 | -0/+29 |
| | | | | https://github.com/ruby/irb/commit/826ae909c9 | ||||
* | Sometimes result indicator (=>) isn't shown | aycabta | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | Use simple assersion | aycabta | 2020-07-22 | 1 | -3/+1 |
| | |||||
* | [ruby/irb] handle rescue modifier properly | Nobuhiro IMAI | 2020-07-22 | 1 | -0/+27 |
| | | | | https://github.com/ruby/irb/commit/6de1341f5e | ||||
* | [ruby/irb] Add test_eval_object_without_inspect_method | aycabta | 2020-07-22 | 1 | -0/+17 |
| | | | | https://github.com/ruby/irb/commit/c0d9a26bce | ||||
* | [ruby/irb] Add encoding magic comments of editors | aycabta | 2020-07-22 | 1 | -0/+26 |
| | | | | https://github.com/ruby/irb/commit/f8c10ea24b | ||||
* | [ruby/irb] Suppress incomplete encoding magic comment error | aycabta | 2020-07-22 | 1 | -0/+13 |
| | | | | https://github.com/ruby/irb/commit/443e90af80 | ||||
* | [ruby/irb] Suppress incomplete coding magic comment error | aycabta | 2020-07-22 | 1 | -0/+13 |
| | | | | https://github.com/ruby/irb/commit/6a457edbd1 | ||||
* | rubygems is needed to run solo-file test | Koichi Sasada | 2020-07-15 | 1 | -0/+1 |
| | |||||
* | Fix typos | Kazuhiro NISHIYAMA | 2020-05-09 | 1 | -4/+4 |
| | |||||
* | Restore the external and internal encodings of STDIN, STDOUT, and STDERR | Yusuke Endoh | 2020-05-08 | 1 | -0/+4 |
| | | | | IRB::ReadlineInputMethod#initialize changes them via IRB.set_encoding. | ||||
* | test/irb/test_cmd.rb: clear IRB.@CONF on setup | Yusuke Endoh | 2020-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | It caches a path to .irbrc file, which has caused random failure: ``` 1) Failure: TestIRB::ExtendCommand#test_irb_info_multiline [/home/mame/work/ruby/test/irb/test_cmd.rb:49]: Expected / Ruby\sversion: .+\n IRB\sversion:\sirb .+\n InputMethod:\sReidlineInputMethod\swith\sReline .+ and .+\n \.irbrc\spath: .+ /x to match "Ruby version: 2.8.0\n" + "IRB version: irb 1.2.3 (2020-02-15)\n" + "InputMethod: ReidlineInputMethod with Reline 0.1.4 and /tmp/test_reline_config_155659/.inputrc\n". ``` | ||||
* | [ruby/irb] Restore the default encodings | Nobuyoshi Nakada | 2020-04-30 | 1 | -0/+4 |
| | | | | IRB::ReadlineInputMethod#initialize sets via IRB.set_encoding. | ||||
* | [ruby/irb] Suppress messages switching inspect mode | Nobuyoshi Nakada | 2020-04-30 | 1 | -0/+4 |
| | |||||
* | [ruby/irb] Relaxed regexp for readline | Nobuyoshi Nakada | 2020-04-30 | 1 | -1/+1 |
| | | | | | Readline::VERSION may not be a single word, e.g EditLine wrapper when linked with editline. | ||||
* | [ruby/irb] Check existence of rc files in irb_info command | aycabta | 2020-04-29 | 1 | -0/+50 |
| | | | | https://github.com/ruby/irb/commit/cdbb9dfc9f | ||||
* | [ruby/irb] Add irb_info command | aycabta | 2020-04-29 | 1 | -0/+64 |
| | | | | https://github.com/ruby/irb/commit/a6fe58e916 | ||||
* | [ruby/irb] Suppress crashing when EncodingError has occurred without lineno | aycabta | 2020-03-26 | 1 | -0/+7 |
| | | | | https://github.com/ruby/irb/commit/13572d8cdc | ||||
* | Fix a typo [ci skip] | Kazuhiro NISHIYAMA | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | [ruby/irb] `yield` outside method definition is a syntax error | Nobuyoshi Nakada | 2020-02-21 | 1 | -1/+1 |
| | | | | https://github.com/ruby/irb/commit/dbc7b059c7 | ||||
* | [ruby/irb] fix reserved words and completion for them | Nobuhiro IMAI | 2020-02-15 | 1 | -0/+12 |
| | | | | https://github.com/ruby/irb/commit/6184b227ad | ||||
* | test/irb/test_completion.rb: suppress a warning: unused literal ignored | Yusuke Endoh | 2020-02-14 | 1 | -1/+1 |
| |