| Age | Commit message (Collapse) | Author |
|
[Feature #17601]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Adjusted indentation in license section, and used "(c)"
* Commented out invalid syntax to enable highlighting
* Removed unnecessary parentheses
|
|
|
|
https://github.com/ruby/reline/commit/b26c7d60c8
|
|
https://github.com/ruby/irb/commit/4c87035b7c
|
|
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
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4156
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4155
|
|
https://github.com/ruby/irb/commit/b444573aa2
|
|
https://github.com/ruby/irb/commit/20f1ca23e9
|
|
This change make Array#- return a copy of the receiver when
the other array is empty.
|
|
|
|
|
|
|
|
other ractors should not have a unblock thread.
This patch fixes 6f727853cee41195b67ee5d793c1ac23fe1a6ae0.
|
|
|
|
|
|
JRuby's PTY.spawn does not produce a process with its own
controlling terminal, which is necessary for testing these raw
escape sequences. This commit marks those tests as pending.
The functionality tested appears to work at a command line, but
due to this PTY bug in JRuby we cannot test it this way.
See https://github.com/jruby/jruby/issues/6552
https://github.com/ruby/io-console/commit/a486b72e5e
https://github.com/ruby/io-console/commit/b5c8e7bfd8
|
|
This test runs with test/unit now, which defines omit instead of
skip.
https://github.com/ruby/io-console/commit/bd731d0b8d
|
|
The subprocess script here works fine at a command line, but when
run as a pty subprocess during the tests the master side hangs
waiting for output.
https://github.com/ruby/io-console/commit/4a21610ece
|
|
https://github.com/ruby/io-console/commit/74567376c4
|
|
Now io/console is loaded from test-unit indirectly, test-unit
requires power_assert which requires io/console.
https://github.com/ruby/io-console/commit/8817d07951
https://github.com/ruby/io-console/commit/639cce89de
|
|
At least check_dependencies.yml has not failed here yet.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4104
|
|
|
|
`rb_define_const` can add objects as "mark objects". This is to make
code like this work:
https://github.com/ruby/ruby/blob/33d6e92e0c6eaf1308ce7108e653c53bb5fb106c/ext/etc/etc.c#L1201
```
rb_define_const(rb_cStruct, "Passwd", sPasswd); /* deprecated name */
```
sPasswd is a heap allocated object that is also a C global, so we can't
move it (it needs to be pinned). However, we have many calls to
`rb_define_const` that just pass in an integer like this:
```
rb_define_const(rb_cDBM, "WRITER", INT2FIX(O_RDWR|RUBY_DBM_RW_BIT));
```
Non heap allocated objects like integers will never move, so there is no
reason to waste time in the GC marking / pinning them.
Notes:
Merged: https://github.com/ruby/ruby/pull/4152
|
|
https://github.com/ruby/irb/commit/adbba19adf
|
|
This reverts commit 6985bfb72c8d7e7d94f1aad1f0902b602bbfa6da.
Now it should work on riscv by the previous commit. [Bug #17609]
|
|
Fixes [Bug #17609]
Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4151
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4150
|
|
Stop using logarithm to compute the number of components.
Instead, use the theoretical maximum number of components for buffer,
and count up the actual number of components during conversion.
https://github.com/ruby/bigdecimal/commit/9067b353ac
|