Age | Commit message (Collapse) | Author |
|
non-windows environment.
(https://github.com/ruby/reline/pull/769)
Reline works perfectly in most major terminal emulators without terminfo.
In minor/old terminal emulator, we used to get key bindings from terminfo, but I think it is not used so much.
https://github.com/ruby/reline/commit/3ceba3bff7
|
|
(https://github.com/ruby/reline/pull/733)
The allocated Fiddle::Pointer never gets freed because it doesn't have a
free function defined for when it gets garbage collected. This commit
changes it to use the default free function.
https://github.com/ruby/reline/commit/0796dcd497
|
|
terminfo.rb
(https://github.com/ruby/reline/pull/721)
https://github.com/ruby/reline/commit/9da2cbcd82
|
|
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
|
|
`Fiddle::TYPE_VARIADIC`
(https://github.com/ruby/reline/pull/547)
https://github.com/ruby/reline/commit/71ba3a9432
|
|
nevans/workaround-linker-script-so"
This reverts commit https://github.com/ruby/reline/commit/4ccf128ffa18, reversing
changes made to https://github.com/ruby/reline/commit/a2651419e9a0.
https://github.com/ruby/reline/commit/51053138a4
|
|
This maybe isn't probably isn't the best approach, but it will allow
`Fiddle::Terminfo.curses_dl` to work. I documented more details about
this in an issue on fiddle: https://github.com/ruby/fiddle/issues/107
It is probably better to deal with it there. But this is workaround is
simpler.
FYI: `reline` itself seems to be working just fine for me _without_
loading ncurses. But I wanted to be able to use `Reline::Terminfo` for
my own projects. :)
https://github.com/ruby/reline/commit/fd4bdb35e2
|
|
If a top-level `VERSION` constant exists, or if a module containing a `VERSION` constant is included into the top-level scope, then `Fiddle.const_defined?(:VERSION)` will erroneously return true when `RUBY_VERSION < 3.0.0`.
https://github.com/ruby/reline/commit/8529c8e47a
|
|
Solaris requires that the pointer errret_int is alined to an integer,
however, with VWA, strings are no longer aligned to an integer, so use a
Fiddle::Pointer with a malloc'd region instead.
https://github.com/ruby/reline/commit/5fcd89ab0c
|
|
Incorrect arguments can cause SEGV.
https://github.com/ruby/reline/commit/a58748bcf9
|
|
https://github.com/ruby/reline/commit/695212d5d2
|
|
https://github.com/ruby/reline/commit/af4d77ba09
|
|
https://github.com/ruby/reline/commit/abc1e4ee88
|
|
https://github.com/ruby/reline/commit/0451ed7a28
|
|
https://github.com/ruby/reline/commit/fe504bb6b9
|
|
https://github.com/ruby/reline/commit/45aa367616
|
|
|
|
|
|
|
|
https://github.com/ruby/reline/commit/b0b75fcd27
|
|
https://github.com/ruby/reline/commit/320f09055c
|
|
https://github.com/ruby/reline/commit/8e62e46e33
|
|
https://github.com/ruby/reline/commit/de234dc875
|
|
https://github.com/ruby/reline/commit/9a25ee9f12
|
|
OpenBSD doesn't support tiparm, only tparm. I'm not sure if the
two are compatible, but this at least this allows me to run irb
on OpenBSD.
https://github.com/ruby/reline/commit/0ce2b34e2b
|
|
https://github.com/ruby/reline/commit/a0d946a398
|
|
|
|
https://github.com/ruby/reline/commit/4b74c3d83a
|
|
https://github.com/ruby/reline/commit/4a3e308163
|
|
https://github.com/ruby/reline/commit/1e287d10cc
|
|
https://github.com/ruby/reline/commit/74a7ffaa2f
|