Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/reline/commit/010b28dfe9
|
|
https://github.com/ruby/reline/commit/de94746393
|
|
|
|
|
|
https://github.com/ruby/reline/commit/5917e3a337
|
|
https://github.com/ruby/reline/commit/acd8f8efbb
|
|
https://github.com/ruby/reline/commit/bb6ea232c2
|
|
https://github.com/ruby/reline/commit/24a2489b62
|
|
https://github.com/ruby/reline/commit/69beca2863
|
|
https://github.com/ruby/reline/commit/4b74c3d83a
|
|
https://github.com/ruby/reline/commit/af6f6ed088
|
|
https://github.com/ruby/reline/commit/4a3e308163
|
|
https://github.com/ruby/reline/commit/1e287d10cc
|
|
https://github.com/ruby/reline/commit/74a7ffaa2f
|
|
https://github.com/ruby/reline/commit/8daa392ba6
|
|
This fixes an error when output is redirected:
```
$ run_ruby -rreline -e '$stderr.puts Reline::Unicode.calculate_width("\u221a").inspect' </dev/null >/dev/null
/home/jeremy/tmp/ruby/lib/reline/ansi.rb:189:in `raw': Operation not supported by device (Errno::ENODEV)
```
The @@encoding -> defined?(@@encoding) changes is necessary because
without that part of the commit, the following error would be raised
by the above command:
```
/home/jeremy/tmp/reline/lib/reline/general_io.rb:10:in `encoding': uninitialized class variable @@encoding in Reline::GeneralIO (NameError)
```
Problem reported and initial patch for Windows provided by
Richard Sharman.
I tested this only on OpenBSD, but hopefully it works for other
operating systems.
Fixes [Bug #17493]
https://github.com/ruby/reline/commit/c001971bb3
|
|
To fix Reline::TestRendering#test_binding_for_vi_movement_mode.
https://github.com/ruby/reline/commit/0df3d2a1dc
|
|
In Japan, so many programmers used EUC-JP to write text files that contain
Japanese. Many .inputrc files which contain EUC-JP are still being copied and
used. This commit supports the whole encoding of what user set including UTF-8.
ref. https://github.com/ruby/reline/pull/280
https://github.com/ruby/reline/commit/0b45022e16
|
|
This needs https://github.com/aycabta/yamatanooroti/pull/19, which is released
by yamatanooroti gem 0.0.7, to test with yamatanooroti.
https://github.com/ruby/reline/commit/06c1f45da1
|
|
character values
This change ensures we use `Reline::IOGate`'s `encoding` when converting
characters from their integer values.
This fixes an issue that may occur if you have UTF characters in your
`.inputrc`, but your default encoding isn't set.
For example:
```
> 127864.ord.chr
RangeError: 127864 out of char range
from (pry):1:in `chr'
> Reline::IOGate.encoding
=> #<Encoding:UTF-8>
> 127864.ord.chr(Reline::IOGate.encoding)
=> "🍸"
```
https://github.com/ruby/reline/commit/cf372fc0fc
|
|
#reset, which is forgot to call
|
|
As expressions in a gemspec file are evaluated at the build time,
but not the run time, the conditional in the gemspec will not work
as intended.
https://github.com/ruby/reline/commit/c09b7c454a
|
|
https://github.com/ruby/reline/commit/ee23e6f3f8
|
|
https://github.com/ruby/reline/commit/27b689a7e2
|
|
https://github.com/ruby/reline/commit/7562cf3b5f
|
|
https://github.com/ruby/reline/commit/22ce5651e5
|
|
https://github.com/ruby/reline/commit/3a7019b0d5
|
|
is empty
https://github.com/ruby/reline/commit/c6f1164942
|
|
https://github.com/ruby/reline/commit/1f469de90c
|
|
https://github.com/ruby/reline/commit/da90c094a1
|
|
https://github.com/ruby/reline/commit/462f971bd3
|
|
use double quotes to properly convert the \000 escape sequence.
https://github.com/ruby/reline/commit/236dfe5683
|
|
I confirmed that libvterm supports only which are UTF-8, US ASCII, UK, and
DEC graphics by reading source code, so can't test this patch by
yamatanoorogi gem through vterm gem for now.
This fixes ruby/irb#190.
https://github.com/ruby/reline/commit/44596c0cc7
|
|
processing
https://github.com/ruby/reline/commit/3535676689
|
|
Revert "Support for change in Windows-specific behavior at eol"
This reverts commit cad4de6ee841b43f3f0e441626f9415c3eda0f82.
https://github.com/ruby/reline/commit/646587fc2c
|
|
https://github.com/ruby/reline/commit/d4d9d3e3d4
|
|
This fixes ruby/reline#261.
https://github.com/ruby/reline/commit/3cf1213014
|
|
https://github.com/ruby/reline/commit/b26c7d60c8
|
|
https://github.com/ruby/reline/commit/e1d9240ada
|
|
https://github.com/ruby/reline/commit/ebaf37255f
|
|
This closes ruby/reline#253.
https://github.com/ruby/reline/commit/f131f86d71
|
|
https://github.com/ruby/reline/commit/ba06e4c480
|
|
https://github.com/ruby/reline/commit/92d314f514
|
|
https://github.com/ruby/reline/commit/f197139b4a
|
|
On Unix-like OSes, logs prior to the screen are not editable. When the code
is higher than the screen, the code is only shown on the screen until input
is finished, but when it is finished, all lines are outputted.
https://github.com/ruby/reline/commit/8cd9132a39
|
|
https://github.com/ruby/reline/commit/6877a7e3f5
|
|
https://github.com/ruby/reline/commit/123ea51166
|
|
https://github.com/ruby/reline/commit/25af4bb64b
|
|
Because it's too slow.
The rendering time in IRB has been reduced as follows:
start = Time.now
def each_top_level_statement
initialize_input
catch(:TERM_INPUT) do
loop do
begin
prompt
unless l = lex
throw :TERM_INPUT if @line == ''
else
@line_no += l.count("\n")
next if l == "\n"
@line.concat l
if @code_block_open or @ltype or @continue or @indent > 0
next
end
end
if @line != "\n"
@line.force_encoding(@io.encoding)
yield @line, @exp_line_no
end
break if @io.eof?
@line = ''
@exp_line_no = @line_no
@indent = 0
rescue TerminateLineInput
initialize_input
prompt
end
end
end
end
puts "Duration: #{Time.now - start} seconds"
0.22sec -> 0.14sec
https://github.com/ruby/reline/commit/b8b3dd52c0
|
|
https://github.com/ruby/reline/commit/dfb710946f
https://github.com/ruby/irb/commit/1a1cdf9628
https://github.com/ruby/irb/commit/fe99faf8bd
|