summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Use existing instances for LineEditor and Configaycabta
2019-05-28Update to ruby/spec@9a501a8Benoit Daloze
2019-05-29Drop unused Travis config: universal-darwin17Takashi Kokubun
This has been unused since b7f5c573ef20dbbf5534ee3a45625c7f9d45f2ec.
2019-05-29Drop MJIT debug code from GC.compactTakashi Kokubun
As ko1 added some improvements on GC.compact, I want to check if it solved the problem too.
2019-05-29* 2019-05-29git
2019-05-29parse.y: warn escaped whitespaceNobuyoshi Nakada
* parse.y (warn_space_char_code): warn whitespace characters escaped with meta/control prefix.
2019-05-28Added missing predicate macrosNobuyoshi Nakada
2019-05-28remove obsolete rb_gc_finalize_deferred().Koichi Sasada
rb_gc_finalize_deferred() is remained for compatibility with C-extensions. However, this function is no longer working from Ruby 2.4 (crash with SEGV immediately). So remove it completely.
2019-05-28Unify RELINE_TEST_ENCODING settingNobuyoshi Nakada
2019-05-28Set read-only with attrib commandNobuyoshi Nakada
2019-05-28Skip following all digits after `@@`Nobuyoshi Nakada
2019-05-28Clean a garbage [ci skip]Nobuyoshi Nakada
2019-05-27Fix building with 1.8 BASERUBYJeremy Evans
2019-05-28use malloc() instead of calloc().Koichi Sasada
Here malloc() is enough because all elements of the page_list will be overwrite.
2019-05-28should skip T_ZOMBIE here.Koichi Sasada
2019-05-28should use heap_eden->total_pages.Koichi Sasada
The size of page_list is heap_eden->total_pages, but init_cursors() assumes the size of page_list is `heap_allocated_pages`. This patch fix it.
2019-05-28Fix typos in Ripper::Lexer#inspect and Ripper::Lexer#pretty_printNobuyoshi Nakada
2019-05-28Fix condition..."and" is lowest priority operator, than "="aycabta
2019-05-28use only eden_heaps on GC.compact.Koichi Sasada
`heap_pages_sorted` includes eden and tomb pages, so we should not use tomb pages for GC.compact (or we should move all of tomb pages into eden pages). Now, I choose only eden pages. If we allow to move Zombie objects (objects waiting for finalizers), we should use both type of pages (TODO).
2019-05-28Suppress warning (uninitialized variable).Koichi Sasada
2019-05-28Removed inconsistency file from upstream repository of rubygems.Hiroshi SHIBATA
followed up ae2a904ce9bffedee7d110dc60fd51c0a2879a5b