Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-18 | [ruby/reline] Add require 'rbconfig' to use RbConfig | aycabta | |
https://github.com/ruby/reline/commit/4a0d32a3d0 | |||
2020-08-18 | [ruby/reline] Support mode icon | Mark Delk | |
Co-authored-by: aycabta <aycabta@gmail.com> https://github.com/ruby/reline/commit/067b618123 | |||
2020-08-18 | [ruby/reline] Check Errno::EIO | aycabta | |
Catch Errno::EIO what will be occurred if the console terminates I/O before Reline finishes rendering. https://github.com/ruby/reline/commit/e51eaa6d43 | |||
2020-05-14 | Reline callbacks can take nil | aycabta | |
2020-03-26 | [ruby/reline] Suppress error when check ambiguous char width in LANG=C | aycabta | |
https://github.com/ruby/reline/commit/623dffdd75 | |||
2020-03-26 | [ruby/reline] Work with wrong $/ value correctly | aycabta | |
https://github.com/ruby/reline/commit/962ebf5a1b | |||
2020-02-14 | [ruby/reline] Use IO#write instead of IO#print | aycabta | |
IO#print always adds a string of $\ automatically. https://github.com/ruby/reline/commit/a93119c847 | |||
2020-01-26 | Always refer to Reline::IOGate.encoding | aycabta | |
2020-01-21 | Reline: Use a more robust detection of MinTTY | Lars Kanis | |
The previous detection per get_screen_size fails when stdout is passed to a pipe. That is the case when running ruby tests in parallel ("-j" switch). In this case Reline believes that it's running on MinTTY and the tests are running with ANSI IOGate instead of the Windows adapter on MINGW. So parallel test results were different to that of a single process. This commit fixes these differencies. The code is taken from git sources and translated to ruby. NtQueryObject() is replaced by GetFileInformationByHandleEx(), because NtQueryObject() is undocumented and is more difficult to use: https://github.com/git-for-windows/git/blob/c5a03b1e29c69f3f06c8fabd92493edb73469176/compat/winansi.c#L558 Notes: Merged: https://github.com/ruby/ruby/pull/2848 | |||
2020-01-14 | Introduce an abstracted structure about the encoding of Reline | aycabta | |
The command prompt on Windows always uses Unicode to take input and print output but most Reline implementation depends on Encoding.default_external. This commit introduces an abstracted structure about the encoding of Reline. | |||
2019-12-17 | [ruby/reline] Implement completion_append_character | Thomas Leitner | |
There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor. https://github.com/ruby/reline/commit/ab798931b9 | |||
2019-12-11 | Support Readline.completion_quote_character by Reline | aycabta | |
2019-12-10 | Support completion with case-insensitive fashion | aycabta | |
Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on". | |||
2019-12-03 | Support incremental search by last determined word | aycabta | |
In the incremental search by C-r, search word is saved when it's determined. In the next incremental search by C-r, if a user presses C-r again with the empty search word, the determined previous search word is used to search. | |||
2019-11-21 | Change argument `Proc` to `#call` defined object. | manga_osyo | |
This is the same as the behavior of Readline. | |||
2019-11-20 | Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape code | aycabta | |
2019-11-12 | Reline#readline and Reline#readmultiline to private. | osyo-manga | |
2019-11-08 | Suppress "shadowing outer local variable" warning in 2.5 | aycabta | |
2019-11-05 | Only taint on Ruby <2.7 | Jeremy Evans | |
Ruby 2.7 deprecates taint and it no longer has an effect. | |||
2019-10-31 | Fix verbose warning being emitted | Jeremy Evans | |
Fixes Ruby Bug 16281. | |||
2019-09-09 | Reline: Fix wrong variable name | Lars Kanis | |
This raised a NameError before. Notes: Merged: https://github.com/ruby/ruby/pull/2438 | |||
2019-08-27 | Remove duplicated delegation | aycabta | |
2019-08-27 | Delegete an instance method to a class method correctly | aycabta | |
2019-08-27 | Save value to @ambiguous_width because of a accessor | aycabta | |
2019-08-27 | The "private" doesn't make sence for class methods and a constant | aycabta | |
2019-08-27 | Use preposing "private" to define methods | aycabta | |
2019-08-27 | Adjust method forwardings of Reline | aycabta | |
2019-08-27 | Remove .freeze. | manga_osyo | |
2019-08-27 | Fix `Reline::Windows`. | manga_osyo | |
2019-08-27 | Refactoring Reline. | manga_osyo | |
2019-08-27 | Remove test_mode in `lib/reline`. | manga_osyo | |
2019-08-06 | Use host_os from RbConfig to detect host OS. | Charles Oliver Nutter | |
RUBY_PLATFORM on JRuby is always "java", so it will not reflect the host operating system. This regex appears to be the consensus way to detect Windows based on a search of Ruby code on Github: https://github.com/search?q=%2Fmswin%7Cmsys%7Cmingw%7Ccygwin%7Cbccwin%7Cwince%7Cemc%2F&type=Code | |||
2019-07-15 | Add `class Reline::History` and test. | manga_osyo | |
2019-07-11 | Add arg check to Reline.dig_perfect_match_proc= | aycabta | |
2019-06-18 | Print starting debug message with RELINE_STDERR_TTY | aycabta | |
2019-06-18 | Implement auto indent for multiline | aycabta | |
2019-06-14 | Remove debug print | aycabta | |
2019-06-14 | Add Reline.prompt_proc | aycabta | |
2019-06-05 | Move I/O access from Reline::KeyStroke to Reline | aycabta | |
2019-06-02 | Add Reline test for unknown macro | aycabta | |
2019-06-02 | Add new test for Reline within pipe | aycabta | |
2019-06-02 | Reline.readmultiline always needs block to confirm termination | aycabta | |
2019-06-01 | Use inputrc data for keystroke setting | aycabta | |
2019-06-01 | Seprate raw keystroke config for each platforms | Nobuyoshi Nakada | |
2019-06-01 | Support Home and End key to move to beg and end | aycabta | |
2019-05-31 | Use IO#sync= instead of a monkey patch | aycabta | |
2019-05-31 | Flush I/O immediately if RELINE_STDERR_TTY is set | aycabta | |
2019-05-29 | Remove extra items because Reline::HISTORY is a sized queue | aycabta | |
2019-05-29 | Revert 3b7862c8e88cd7838a53ec083ac5733386400956 causing various CI hangs | Takashi 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-29 | Remove extra items because Reline::HISTORY is a sized queue | aycabta | |