summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-09Fixed default coroutine selection for musl.Andrew Aladjev
Notes: Merged: https://github.com/ruby/ruby/pull/3567 Merged-By: ioquatix <samuel@codeotaku.com>
2021-02-08Improve performance Float#positive? and Float#negative? [Feature #17614] (#4160)S.H
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-02-09Copy va_list of exception classesNobuyoshi Nakada
The list is reused when an exception raised again after retrying in the rescue procedure. Notes: Merged: https://github.com/ruby/ruby/pull/4159
2021-02-09Also `eclass` loop can raise in `rb_obj_is_kind_of`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4159
2021-02-09Adjusted indent [ci skip]Nobuyoshi Nakada
2021-02-09Do not allocate ractor-local storage in dfree function during GCNobuyoshi Nakada
2021-02-09Assign TAG_NONE to ruby_tag_type instead of 0Nobuyoshi Nakada
2021-02-09* 2021-02-09 [ci skip]git
2021-02-08vcs.rb: update the given option to VCS.detect by keyword argumentsNobuyoshi Nakada
2021-02-08vcs.rb: added `base_url` keyword option to GIT#export_changelogNobuyoshi Nakada
2021-02-08vcs.rb: improved export_changelogNobuyoshi Nakada
* arguments are optional * `path` may be passed as a keyword argument * `nil` or `"-"` path means stdout
2021-02-08Revert a part of "[DOC] refined" [ci skip]Nobuyoshi Nakada
This reverts commit 478716f49a19cdd86f629c6a0673c1ff53630c96 partially -- "Removed unnecessary parentheses" part -- because of a lambda, see 9e25eb308d4fae9a10e120c2b4601916cc38336c.
2021-02-07[ruby/benchmark] Adds `Tms#to_h`Keith Bennett
[Feature #17601]
2021-02-08* 2021-02-08 [ci skip]git
2021-02-08Forward keyword arguments to ARGF from global functionsNobuyoshi Nakada
2021-02-08Added test for keyword arguments to ARGFNobuyoshi Nakada
2021-02-08Removed unnecessary parentheses at `case` [ci skip]Nobuyoshi Nakada
2021-02-07[DOC] Modified prefixes to get rid of conflictsNobuyoshi Nakada
2021-02-07[DOC] make individual names so that rdoc can find each documentsNobuyoshi Nakada
2021-02-07[DOC] Module#method_undefinedNobuyoshi Nakada
2021-02-07[DOC] refinedNobuyoshi Nakada
* Adjusted indentation in license section, and used "(c)" * Commented out invalid syntax to enable highlighting * Removed unnecessary parentheses
2021-02-07[DOC] {Array,MatchData}#values_at understand ranges [ci skip]Nobuyoshi Nakada
2021-02-07[ruby/reline] Version 0.2.3aycabta
https://github.com/ruby/reline/commit/b26c7d60c8
2021-02-07[ruby/irb] Version 1.3.3aycabta
https://github.com/ruby/irb/commit/4c87035b7c
2021-02-07[ruby/reline] Terminate correctly in the middle of lines higher than the screenaycabta
https://github.com/ruby/reline/commit/e1d9240ada
2021-02-07[ruby/reline] Autowrap correctly when inserting chars in the middle of a lineaycabta
https://github.com/ruby/reline/commit/ebaf37255f
2021-02-07[ruby/reline] The vi_histedit supports multilineaycabta
This closes ruby/reline#253. https://github.com/ruby/reline/commit/f131f86d71
2021-02-07[ruby/reline] Move cursor just after the last line when finishedaycabta
https://github.com/ruby/reline/commit/ba06e4c480
2021-02-07[ruby/reline] Update cursor info by inserting newline even if not in pastingaycabta
https://github.com/ruby/reline/commit/92d314f514
2021-02-07[ruby/reline] Handle past logs correctly when the code is higher than the screenaycabta
https://github.com/ruby/reline/commit/f197139b4a
2021-02-07[ruby/reline] Show all lines higher than the screen when finishedaycabta
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
2021-02-07[ruby/reline] Scroll down when ^C is pressedaycabta
https://github.com/ruby/reline/commit/6877a7e3f5
2021-02-07[ruby/reline] Remove an unused variableaycabta
https://github.com/ruby/reline/commit/123ea51166
2021-02-07[ruby/reline] Initialize uninitialized variables in testsaycabta
https://github.com/ruby/reline/commit/25af4bb64b
2021-02-07[ruby/reline] Cache pasting state in processing a keyaycabta
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
2021-02-06.gdbinit: Fix indentation in print_id [ci skip]Adam Jensen
Notes: Merged: https://github.com/ruby/ruby/pull/4156
2021-02-07* 2021-02-07 [ci skip]git
2021-02-06Fix grammatical errorGaren Torikian
Notes: Merged: https://github.com/ruby/ruby/pull/4155
2021-02-06[ruby/irb] Enable to reassign a new block with "measure" commandaycabta
https://github.com/ruby/irb/commit/b444573aa2
2021-02-06[ruby/irb] Allow "measure" command to take blockaycabta
https://github.com/ruby/irb/commit/20f1ca23e9
2021-02-06Improve performance of Array#- when it is called with empty arrayMasaki Matsushita
This change make Array#- return a copy of the receiver when the other array is empty.
2021-02-06[DOC] Fixed a markup in Array#sum [ci skip]Nobuyoshi Nakada
2021-02-06* 2021-02-06 [ci skip]git
2021-02-06Stop disabling firewallNobuyoshi Nakada
2021-02-05unblock thread is only for main ractor.Koichi Sasada
other ractors should not have a unblock thread. This patch fixes 6f727853cee41195b67ee5d793c1ac23fe1a6ae0.
2021-02-05Added tests for MakeMakefile#test_egrep_cppNobuyoshi Nakada
2021-02-05Add -fdeclspec to CFLAGS instead of CCNobuyoshi Nakada
2021-02-05[ruby/io-console] Mark all tests that use run_pty as pend on JRubyCharles Oliver Nutter
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
2021-02-05[ruby/io-console] Use omit instead of skipCharles Oliver Nutter
This test runs with test/unit now, which defines omit instead of skip. https://github.com/ruby/io-console/commit/bd731d0b8d
2021-02-05[ruby/io-console] Skip test on JRubyCharles Oliver Nutter
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