Age | Commit message (Collapse) | Author |
|
(https://github.com/ruby/reline/pull/655)
https://github.com/ruby/reline/commit/e92dcbf514
|
|
(https://github.com/ruby/reline/pull/671)
https://github.com/ruby/reline/commit/0d66c335a1
|
|
be found
(https://github.com/ruby/reline/pull/673)
Fix https://github.com/ruby/reline/issues/447 https://github.com/ruby/reline/issues/543
This problem occurs when Fiddle can be loaded, curses can be loaded, and TERM is not registered in Terminfo.
It should also occur at hardcopy terminals and when Terminfo information is low, but no such reports have been received.
Reline should not abort the process because of missing Terminfo.
Reline proceeds with `Reline::Terminfo.enabled? == false` when fiddle or curses cannot be loaded.
And does the same when Terminfo is present but TERM is not.
https://github.com/ruby/reline/blob/ebab2875f1226f877376558d8758bc0e2a1776c7/lib/reline/terminfo.rb#L156-L160
You can check the operation with `TERM=foo bundle exec bin/console`.
https://github.com/ruby/reline/commit/4ce247ce2b
|
|
because clear(C-l) is not a signal
(https://github.com/ruby/reline/pull/646)
https://github.com/ruby/reline/commit/3debb0ae2f
|
|
used
(https://github.com/ruby/reline/pull/661)
https://github.com/ruby/reline/commit/3719702808
|
|
(https://github.com/ruby/reline/pull/580)
Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like
- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000
This commit avoids the issue by completely removing the use of Timeout.
https://github.com/ruby/reline/commit/d4f0cd3fe1
|
|
(https://github.com/ruby/reline/pull/577)
https://github.com/ruby/reline/commit/b67ee4e791
|
|
Arrow.
(https://github.com/ruby/reline/pull/569)
https://github.com/ruby/reline/commit/f363a43a45
|
|
(https://github.com/ruby/reline/pull/566)
* Avoid referencing IOGate from IOGate classes
The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.
* Avoid referencing to IOGate from LineEditor directly
* Avoid referencing to IOGate from Core directly
* Reference to Reline.core directly
* Replace Reline::IOGate with Reline.core.io_gate
|
|
(https://github.com/ruby/reline/pull/509)
* Add key bindings for PgUp, PgDn
* Match behavior of readline 8.2
In the latest readline (8.2), page-up and page-down are bound to
history-search-backward and history-search-forward by default.
We would like reline to have the same default behavior.
|
|
(https://github.com/ruby/reline/pull/474)
* Add repeated input-delete test that fails on HEAD
* Use raw mode while readmultiline
|
|
https://github.com/ruby/reline/commit/603eacee22
|
|
- Obviously, `tim` is a typo for `time`
- This didn't cause an exception because IO#raw is implemented in C and it doesn't check the keyword of the parameters
- Though this typo doesn't produce any problems for now, I think it should be fixed just in case for the future
- I've used this fixed version of Reline with IRB for several days and didn't find any new problems due to the fix
- But I myself am not sure how to make sure this fix is completely robust
https://github.com/ruby/reline/commit/e66a9696a1
|
|
https://github.com/ruby/reline/commit/ff278cdc88
|
|
https://github.com/ruby/reline/commit/7a758e73dc
|
|
https://github.com/ruby/reline/commit/06b4aa31fd
|
|
Checked in the previous line.
https://github.com/ruby/reline/commit/bf774c0f2c
|
|
https://github.com/ruby/reline/commit/c07b0ace6a
|
|
fix https://github.com/ruby/reline/issues/384
If `$TERM` is `vt102`, there are no `kend`, `khome`, `civis`, or `cnorm` in capabilities.
`TerminfoError` is raised in `Reline::Terminfo.tigetstr(capname)`, so it is rescued if it does not exist.
https://github.com/ruby/reline/commit/c9f5112702
|
|
https://github.com/ruby/reline/commit/481add0537
|
|
https://github.com/ruby/reline/commit/22d0b4e5d8
|
|
https://github.com/ruby/reline/commit/a9050cf676
|
|
There used to be a process that did not want to be interrupted by
SIGINT, so it was trapped, but that process is no longer there.
https://github.com/ruby/reline/commit/ba7252a5db
|
|
https://github.com/ruby/reline/commit/010b28dfe9
|
|
https://github.com/ruby/reline/commit/de94746393
|
|
https://github.com/ruby/reline/commit/24a2489b62
|
|
https://github.com/ruby/reline/commit/af6f6ed088
|
|
https://github.com/ruby/reline/commit/1e287d10cc
|
|
https://github.com/ruby/reline/commit/74a7ffaa2f
|
|
https://github.com/ruby/reline/commit/8daa392ba6
|
|
https://github.com/ruby/reline/commit/ee23e6f3f8
|
|
https://github.com/ruby/reline/commit/ca274b0d37
|
|
When running irb 1.2.1 (2019-12-24) with frozen-string-literal enabled, it crashes in reline with `can't modify frozen String (FrozenError)`
Steps to reproduce:
`RUBYOPT="--enable-frozen-string-literal" irb`
|
|
https://github.com/ruby/reline/commit/d1a6869322
|
|
IRB uses Reline's 3 dynamic real-time callbacks with calling Ripper;
output_modifier_proc, prompt_proc, and auto_indent_proc. These processing
times make the paste time too long.
https://github.com/ruby/reline/commit/beec3399a8
|
|
https://github.com/ruby/reline/commit/187235f88c
|
|
The nil means there is nothing in the buffer in some systems. Incidentally,
Errno::EIO is raised if the I/O is closed.
https://github.com/ruby/reline/commit/c698634e74
|
|
https://github.com/ruby/reline/commit/1dd80ef188
|
|
|
|
Catch Errno::EIO what will be occurred if the console terminates I/O before
Reline finishes rendering.
https://github.com/ruby/reline/commit/e51eaa6d43
|
|
https://github.com/ruby/reline/commit/c30b293f1c
|
|
Just returns column 1 for ambiguous width because this I/O is not tty and can't
seek.
|
|
IO#print always adds a string of $\ automatically.
https://github.com/ruby/reline/commit/a93119c847
|
|
https://github.com/ruby/reline/commit/41deb1a3d9
|
|
A newline is automatically inserted if a character is rendered at eol on
Windows command prompt.
https://github.com/ruby/reline/commit/4bfea07e4a
|
|
https://github.com/ruby/reline/commit/788f0df845
|
|
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.
|
|
If C-d is pressed before IRB is ready, IRB crashes because EOFError occurs.
|
|
unknown
This is a workaround for https://github.com/ruby/irb/issues/50
https://github.com/ruby/reline/commit/5725677d1a
|
|
https://github.com/ruby/reline/commit/be17740e82
|