| Age | Commit message (Collapse) | Author |
|
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
|
|
https://github.com/ruby/reline/commit/68b961dfc7
|
|
The behavior of automatically moving the cursor to the next line when
displaying a char at the eol on Windows suddenly disappeared.
https://github.com/ruby/reline/commit/cad4de6ee8
|
|
https://github.com/ruby/reline/commit/29b10f6e98
|
|
https://github.com/ruby/reline/commit/a3b3c6ee60
|
|
This fixes ruby/reline#246.
https://github.com/ruby/reline/commit/07a73ba601
|
|
The current line was being handled incorrectly when displaying the hit
history, so it has been fixed to be correct.
https://github.com/ruby/reline/commit/a3df4343b3
|
|
https://github.com/ruby/reline/commit/19df59b916
|
|
Co-authored-by: Juanito Fatas <me@juanitofatas.com>
https://github.com/ruby/reline/commit/074bb017a7
|
|
prompt list
Co-authored-by: Juanito Fatas <me@juanitofatas.com>
https://github.com/ruby/reline/commit/558f7be168
|
|
Co-authored-by: Juanito Fatas <me@juanitofatas.com>
https://github.com/ruby/reline/commit/7c24276275
|
|
https://github.com/ruby/reline/commit/8255fc93b9
|
|
This fixes ruby/reline#236 and ruby/reline#239.
https://github.com/ruby/reline/commit/3e3c89d00b
|
|
https://github.com/ruby/reline/commit/064664c8f9
|
|
This closes ruby/reline#233.
https://github.com/ruby/reline/commit/4c3f2e2eae
|
|
This closes ruby/reline#228.
https://github.com/ruby/reline/commit/8205fa0b00
|
|
This closes ruby/reline#229.
https://github.com/ruby/reline/commit/3f0ae689c4
|
|
https://github.com/ruby/reline/commit/922d087e7a
|
|
https://github.com/ruby/reline/commit/bfeda8a79b
|
|
https://github.com/ruby/reline/commit/a7922da16b
|
|
https://github.com/ruby/reline/commit/0d3188fe34
|
|
https://github.com/ruby/reline/commit/723c6e191a
|
|
https://github.com/ruby/reline/commit/cfe619460b
|
|
This closes ruby/reline#106.
https://github.com/ruby/reline/commit/2549a52e15
|
|
https://github.com/ruby/reline/commit/3c74beac65
|
|
https://github.com/ruby/reline/commit/d208874152
|
|
https://github.com/ruby/reline/commit/ca274b0d37
|
|
https://github.com/ruby/reline/commit/2a97ca9362
|
|
https://github.com/ruby/reline/commit/e83a3de9ed
|
|
See https://github.com/ruby/irb/issues/85 for details
Notes:
Merged: https://github.com/ruby/ruby/pull/3806
|
|
https://github.com/ruby/reline/commit/f21dfdbb11
|
|
https://github.com/ruby/reline/commit/0a4f175b0a
|
|
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/89d49ec9e0
|
|
https://github.com/ruby/reline/commit/d1a6869322
|
|
https://github.com/ruby/reline/commit/0e30a49d03
|
|
https://github.com/ruby/reline/commit/1959e22043
|
|
https://github.com/ruby/reline/commit/06b89d0e61
|
|
https://github.com/ruby/reline/commit/30e8eaf855
|
|
https://github.com/ruby/reline/commit/d0fbc89253
|
|
https://github.com/ruby/reline/commit/0b1b5e77ce
|
|
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.33sec -> 0.22sec
https://github.com/ruby/reline/commit/496c6a1892
|