summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-30reorder bitmap clearing.Koichi Sasada
2019-05-30move pinned_bits[] position in struct heap_page.Koichi Sasada
pinned_bits are not used frequently (only GC.compact use it) so move it at the end of struct heap_page.
2019-05-30introduce `during_compacting` flag.Koichi Sasada
Usually PINNED_BITS are not needed (only for GC.compact need it) so skip updating PINNED_BITS if the marking is not by GC.compact.
2019-05-30Do not rely on IRB.conf[:MAIN_CONTEXT] before initializeTakashi Kokubun
so that we can colorize binding.irb source lines.
2019-05-30Check the end token of heredoc correctlyaycabta
2019-05-30Calculate vertical position correctly when rerendering all linesaycabta
2019-05-30Fix broken rendering when the last line is auto-wrappedaycabta
2019-05-30Rerender following lines when line number increasedaycabta
2019-05-30Clear remaining lines when line number decreasedaycabta
2019-05-30parse.y: continue after heredoc errorNobuyoshi Nakada
* parse.y: continue parsing the rest of the here-document starting line, after the terminator was not found.
2019-05-30Fix the auto-wrap behabior that was too buggyaycabta
2019-05-29Use Regexp#match instead of #match for 1.9 BASERUBY supportJeremy Evans
2019-05-29Revert "Fix building with 1.8 BASERUBY"Jeremy Evans
This reverts commit 05bc14d81a1d7f6af826a92371aeff0c3fb2a67e. We have decided that the cost of reintroducing support for 1.8 BASERUBY outweighs the benefit. If you are still using 1.8 and want to build master/trunk, build and install the latest release, and use that as BASERUBY.
2019-05-30* 2019-05-30git
2019-05-30Do not use rb_iseq_path() while moving ISeq pointersTakashi Kokubun
in GC.compact. While `in_jit` is false, GC.compact is allowed to run and it may be moving ISeq-related pointers. So calling rb_iseq_path() when `in_jit` is true is illegal.
2019-05-29Colorize errors moreNobuyoshi Nakada
* lib/irb/color.rb (IRB::Color.colorize_code): colorize `compile_error` part as same as `on_parse_error`.
2019-05-29Get rid of nested string interpolationsNobuyoshi Nakada
* lib/irb/color.rb (IRB::Color.colorize): get rid of nesting string interpolations not to confuse ruby-mode.el
2019-05-29parse.y: fix state after ivar/cvarNobuyoshi Nakada
* parse.y (parse_atmark): return EXPR_END or EXPR_ENDFN, depending on the previous state, even incomplete names consistently.
2019-05-29Revert "Use "require" just for essential"aycabta
This reverts commit ab7a6e1a1651d82d327d155b78a8e3af1d976707.
2019-05-29Use "require" just for essentialaycabta
The 559dca509d2a98584b09c7d9a6d74749ce793ad7 contains an excess range in using "require".
2019-05-29Use reversed get_screen_size correctly on Windowsaycabta
2019-05-29ripper: Ripper::Lexer#scanNobuyoshi Nakada
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer#scan): parses the code and returns the result elements including errors. [EXPERIMENTAL]
2019-05-29Never make a method call from MJIT workerTakashi Kokubun
by showing line number only when it's Fixnum. When it's not Fixnum, we need to call a method to know the line number.
2019-05-29Do not call FIX2INT while GC.compact may be runningTakashi Kokubun
because FIX2INT might crash by moving method entry pointer: http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2063412
2019-05-29.travis.yml: Minor reorder for shorteningTakashi Kokubun
2019-05-29Convert Enumerator to Array for Ruby 1.9.3Takashi Kokubun
String#lines seems to return Enumerator in Ruby 1.9.3, and it does not respond to #delete_if https://travis-ci.org/ruby/ruby/jobs/538559919
2019-05-29Skip spec broken since a66bc2c01194a9c017c874a30db5b3b6bd95e966Takashi Kokubun
This has not worked since the merge https://travis-ci.org/ruby/ruby/jobs/538438184
2019-05-29Colorize compile_error as same as on_parse_errorNobuyoshi Nakada
2019-05-29parse.y: flush invalid charNobuyoshi Nakada
2019-05-29Fix shorten-64-to-32 warningNobuyoshi Nakada
2019-05-29Fix Possible Control flow issues (DEADCODE)Kazuhiro NISHIYAMA
Coverity Scan says `Execution cannot reach this statement: "poison_object(v);"`, so do nothing when `ptr` is always 0 without address_sanitizer.
2019-05-29test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend the timeoutYusuke Endoh
for Solaris. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190528T191908Z.fail.html.gz
2019-05-29Revert "Colorize error part more"Koichi Sasada
This reverts commit c7f3c222c9b82736c993419daa6bfb643e5c0793.
2019-05-29Colorize error part moreNobuyoshi Nakada
Colorize `compile_error` parts as well as `on_parse_error` parts.
2019-05-29Create empty revision.tmp if BASERUBY is not yesNobuyoshi Nakada
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Create empty revision.tmp if no BASERUBYNobuyoshi Nakada
2019-05-29appveyor.yml - update for msys2 - pdcurses, force toolchainMSP-Greg
Closes: https://github.com/ruby/ruby/pull/2208 Merging the PR for fixing AppVeyor msys2 failure related to GCC 9 like: https://ci.appveyor.com/project/ruby/ruby/builds/24877992/job/ned5k4k5rwxnld5j
2019-05-29Revert 3b7862c8e88cd7838a53ec083ac5733386400956 causing various CI hangsTakashi Kokubun
and dependent commits c67934b1c3b40dda5f170b032423e520511c68dd and f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. RubyCI and ci.rvm.jp are almost dead by timeout since this commit. --- Revert "Skip a reline test hanging on Wercker since 3b7862c8e8" This reverts commit f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. Revert "Remove extra items because Reline::HISTORY is a sized queue" This reverts commit c67934b1c3b40dda5f170b032423e520511c68dd. Revert "Use existing instances for LineEditor and Config" This reverts commit 3b7862c8e88cd7838a53ec083ac5733386400956.
2019-05-29Prevent MJIT compilation from running while movingTakashi Kokubun
pointers. Instead of 4fe908c1643c3f355edd787bb651aefb53b996c0, just locking the MJIT worker may be fine for this case. And also we might have the same issue in all `gc_compact_after_gc` calls.
2019-05-29Make tool/vcs.rb compliant to BASERUBYTakashi Kokubun
People seem to consider BASERUBY is either 1.8 or 1.9 now. Since this file may be executed by BASERUBY from file2lastrev.rb, I think we should not rely on Ruby 2.0 in this file for now.
2019-05-29Check the result of file2lastrev.rb if HAVE_BASERUBYTakashi Kokubun
is yes. We ignored the failure status of file2lastrev.rb on 73da429c36c, but it was for an environment without BASERUBY. I think we should skip running file2lastrev.rb on HAVE_BASERUBY=no, and run it and check the status on HAVE_BASERUBY=yes. Otherwise we may have an ignored arbitrary error of file2lastrev.rb on HAVE_BASERUBY=yes environment.
2019-05-29Skip a reline test hanging on Wercker since 3b7862c8e8Takashi Kokubun
like https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cedad11105780001c4e7001?step=5cedaf6b48fad200076fe77b
2019-05-29Add TESTOPTS=-v for Wercker test-all --jit-waitTakashi Kokubun
because it's hard to identify which test causes a hang for now.
2019-05-29Use IO.copy_streamaycabta
2019-05-29Check RUBY_YES_I_AM_NOT_A_NORMAL_USER env to access RubyVM docaycabta
2019-05-29IRB never show RubyVM's docaycabta
2019-05-29Encode completed strings corecctlyaycabta
2019-05-29Test BASERUBY: Ruby 1.9.3 on TravisTakashi Kokubun
We have no clear assertion or check of BASERUBY requirement. I want to make the current situation more explicit. I'm NOT saying we should support Ruby 1.9.3 here, but I'm just checking the situation as per 05bc14d81a1d7f6af826a92371aeff0c3fb2a67e. FYI, at this moment Ruby 1.8.7 did not work with this Travis config, like: https://travis-ci.org/k0kubun/ruby/builds/538459100
2019-05-28Update to ruby/spec@0c5c5c1Benoit Daloze