summaryrefslogtreecommitdiff
path: root/test/reline
AgeCommit message (Collapse)Author
2019-07-15Move a test file of Reline to test/reline/aycabta
2019-07-15Remove unused method.manga_osyo
2019-07-04Support Control- and Meta-aycabta
2019-07-04Check commented out line in inputrc correctlyaycabta
2019-07-04Parse key sequence more strictlyNobuyoshi Nakada
2019-07-04Skip indented comment lines [Bug #15981]Nobuyoshi Nakada
2019-06-08Remove unnecessary variablesaycabta
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-06Add test_ed_transpose_words_for_mbcharaycabta
2019-06-04Renamed duplicate testNobuyoshi Nakada
2019-06-04Add aliases for commands for changing text macroaycabta
2019-06-04Implement transpose-wordsaycabta
2019-06-03Use lines instead of splitKazuhiro NISHIYAMA
``` % cat ~/bench-split.yml prelude: | s = "foo\nbar\nbaz\n" benchmark: '/(?<=\n)/': | s.split(/(?<=\n)/) '/^/': | s.split(/^/) 'lines': | s.lines Warming up -------------------------------------- /(?<=\n)/ 459.123k i/s - 467.844k times in 1.018994s (2.18μs/i) /^/ 467.922k i/s - 469.744k times in 1.003894s (2.14μs/i) lines 2.343M i/s - 2.424M times in 1.034677s (426.84ns/i) Calculating ------------------------------------- /(?<=\n)/ 422.347k i/s - 1.377M times in 3.261232s (2.37μs/i) /^/ 477.603k i/s - 1.404M times in 2.939186s (2.09μs/i) lines 2.485M i/s - 7.028M times in 2.828757s (402.47ns/i) Comparison: lines: 2484631.6 i/s /^/: 477603.3 i/s - 5.20x slower /(?<=\n)/: 422346.5 i/s - 5.88x slower ```
2019-06-03The C-q is also quoted insert in emacs modeaycabta
2019-06-03Add aliases for commands for moving macroaycabta
2019-06-03Close leaked file descripters in testsaycabta
2019-06-03The ed_move_to_beg is different from vi_first_printaycabta
2019-06-03Fix ArgumentError in aliased macroNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2221
2019-06-02Check conditional nestings in INPUTRCNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2222
2019-06-02Use simpler regexpKazuhiro NISHIYAMA
2019-06-02Add true condition `Reline`Nobuyoshi Nakada
2019-06-02Add Reline test for unknown macroaycabta
2019-06-02Add new test for Reline within pipeaycabta
2019-06-01Reset Config at Reline::Config::Test#teardownaycabta
2019-06-01Use inputrc data for keystroke settingaycabta
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Revert 3b7862c8e88cd7838a53ec083ac5733386400956 causing various CI hangsTakashi Kokubun
and dependent commits c67934b1c3b40dda5f170b032423e520511c68dd and f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. RubyCI and ci.rvm.jp are almost dead by timeout since this commit. --- Revert "Skip a reline test hanging on Wercker since 3b7862c8e8" This reverts commit f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. Revert "Remove extra items because Reline::HISTORY is a sized queue" This reverts commit c67934b1c3b40dda5f170b032423e520511c68dd. Revert "Use existing instances for LineEditor and Config" This reverts commit 3b7862c8e88cd7838a53ec083ac5733386400956.
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Use existing instances for LineEditor and Configaycabta
2019-05-28Use Reline.completer_quote_characters to completeaycabta
2019-05-24Support Meta key in Relineaycabta
2019-05-22Use Reline.test_mode in Reline's test tooaycabta
2019-05-21Support DEL keyaycabta
2019-05-14Rename Reline's test file name because of typoaycabta
2019-05-14Check encoding when Readline completionaycabta
2019-05-13Add ed_search_prev_history to Relineaycabta
2019-05-13Use LineEditor#reset on testaycabta
2019-05-12Revert "Add a test for em_capitol_case of Reline"aycabta
This reverts commit b1767e56b158d8307412a0928a7ac2366541429d.
2019-05-12Add a test for em_capitol_case of Relineaycabta
2019-05-01Silence a (probable) debug printNobuyoshi Nakada
2019-04-30Use Encoding::UTF_8 if RELINE_TEST_ENCODING doesn't existaycabta
2019-04-30Use Encoding::UTF_8 if Encoding.default_external is Encoding::IBM437aycabta
2019-04-30Add Reline as a fallback library for Readlineaycabta
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible library. * lib/readline.rb: Readline uses a fallback to Reline when ext/readline doesn't exist. * tool/sync_default_gems.rb: add ruby/reline as a default gem. * appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit of Reline, and add "--exclude readline" to "nmake test-all" on Visual Studio builds because of strange behavior. * spec/ruby/library/readline/spec_helper.rb: skip Reline as with RbReadline.
2019-04-23Revert "IRB is improved with Reline and RDoc, take 2"Nobuyoshi Nakada
Accidentally merged when 89271d4a3733bc5e70e9c56b4bd12f277e699c42 "Adjusted indents".
2019-04-23IRB is improved with Reline and RDoc, take 2aycabta
2019-04-21Revert "IRB is improved with Reline and RDoc"aycabta
This reverts commit 7f273ac6d0f05208b5b228da95205e20c0e8286c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21Merge upstream of Relineaycabta
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21Add test/reline/ again, I'm backaycabta
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21Remove test/reline temporary, I'll come backaycabta
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21add ensure to restore $stdout correctly.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e