summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-09Removed unused includesNobuyoshi Nakada
2019-08-09gc.c: Double STACKFRAME_FOR_CALL_CFUNC (1024->2048)Yusuke Endoh
ef64ab917eec02491f6bf7233a4031a8c35385e3 didn't fix the issue, so the size seems not enough yet. https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190809T114503Z.fail.html.gz
2019-08-09restore timeoutKoichi Sasada
2019-08-09gc.c: Increase STACKFRAME_FOR_CALL_CFUNCYusuke Endoh
On macOS Mojave, the child process invoked in TestFiber#test_stack_size gets stuck because the stack overflow detection is too late. (ko1 figured out the mechanism of the failure.) This change attempts to detect stack overflow earlier.
2019-08-09Revert a6e32855d079e8f3806d8be8a5f5cf7b3a967133 partiallyKazuhiro NISHIYAMA
Fix TypeError when typing `''.[TAB]`
2019-08-09complement `test_` prefix.Koichi Sasada
`make test-all TESTS=name` can specify running test files by name. name can be dirname ('dir/') or a file ('.../test_foo.rb'). This patch complement `test_` prefix for a test. So we only need to specify `TESTS=ruby/hash` which means `TESTS=ruby/test_hash.rb`.
2019-08-09extend timeout to debug.Koichi Sasada
2019-08-09gc.h is required on mswin build.Koichi Sasada
thread.c requires gc.h on mswin build. Sorry.
2019-08-09add rp() and bp() in internal.h.Koichi Sasada
debug utility macro rp() (rp_m()) and bp() are introduced. * rp(obj) shows obj information w/o any side-effect to STDERR. * rp_m(m, obj) is similar to rp(obj), but show m before. * bp() is alias of ruby_debug_breakpoint(), which is registered as a breakpoint in run.gdb (used by `make gdb` or make gdb-ruby`).
2019-08-09Add more runnersAaron Patterson
Closes: https://github.com/ruby/ruby/pull/2327
2019-08-09Run macOS tests on GitHub ActionsAaron Patterson
This commit sets up the CI integration on GitHub Actions. We should give it a try because queue times are lower and I think we get more CPUs. Closes: https://github.com/ruby/ruby/pull/2327 Co-Authored-By: John Hawthorn <john@hawthorn.email>
2019-08-09remove useless include and dependencyKoichi Sasada
2019-08-09double memory limit on MJIT.Koichi Sasada
On test with MJIT, sometimes it fails like: http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2189967
2019-08-09Add missing dependencyTakashi Kokubun
just fix CI failure https://travis-ci.org/ruby/ruby/jobs/569625233
2019-08-09* expand tabs.git
2019-08-09introduce RCLASS_CLONED flag for inline cache.Koichi Sasada
Methods on duplicated class/module refer same constant inline cache (IC). Constant access lookup should be done for cloned class/modules but inline cache doesn't check it. To check it, this patch introduce new RCLASS_CLONED flag which are set when if class/module is cloned (both orig and dst). [Bug #15877]
2019-08-08Enable GitHub Actions on RubyAaron Patterson
This just enables GitHub actions on our repository so we can try it out.
2019-08-09* expand tabs.git
2019-08-09Iseq#to_binary: Add support for NoMatchingPatternError and TypeErrorAlan Wu
Binary dumping the iseq for `case foo in []; end` used to crash as there was no handling for these exception classes. Pattern matching generates these classes as operands to `putobject`. [Bug #16088] Closes: https://github.com/ruby/ruby/pull/2325
2019-08-09C99 allows trailing comma in enumNobuyoshi Nakada
2019-08-09* 2019-08-09git
2019-08-09Should require without wrapper moduleNobuyoshi Nakada
2019-08-08Remove temporary directory [ci skip]Nobuyoshi Nakada
2019-08-08Revert "Drop -j from msys2 build for debugging"Takashi Kokubun
This reverts commit b1594ca3d6b72edb60927418482652ce93209499. Revert "Debug appveyor mingw failure" This reverts commit fa29f65416f1fb3d734a279855728bb0616dbb34. Though I preserved V=1 for future debugging.
2019-08-08Reduce unnecessary EXEC_TAG in requireNobuyoshi Nakada
2019-08-08Arrange installed packages like ruby-locoTakashi Kokubun
to fix a build error like: https://ci.appveyor.com/project/ruby/ruby/builds/26547644/job/4j7n41e7in97a9kx Basically copy-pasted what's currently done in MSP-Greg/ruby-loco. Co-Authored-By: MSP-Greg <greg.mpls@gmail.com>
2019-08-08solve "duplicate :raise event" in require too [Bug #15877]Nobuyoshi Nakada
2019-08-08Use `ec` instead of `th->ec` where the `th` came from the `ec`Nobuyoshi Nakada
2019-08-08Drop -j from msys2 build for debuggingTakashi Kokubun
2019-08-08* expand tabs.git
2019-08-08solve "duplicate :raise event" [Bug #15877]Koichi Sasada
Without this patch, "raise" event invoked twice when raise an exception in "load"ed script. This patch by danielwaterworth (Daniel Waterworth). [Bug #15877]
2019-08-08main.c: Add doxygen mainpageYusuke Endoh
The document is experimentally produced in: https://rubyci.s3.amazonaws.com/doxygen/modules.html
2019-08-08Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA
2019-08-08Add *_clear methods to VM_COLLECT_USAGE_DETAILS APIGannon McGibbon
Add RubyVM::USAGE_ANALYSIS_INSN_CLEAR, RubyVM::USAGE_ANALYSIS_OPERAND_CLEAR, and RubyVM::USAGE_ANALYSIS_REGISTER_CLEAR to clear VM instruction hash constants. Closes: https://github.com/ruby/ruby/pull/2258
2019-08-08Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS APIGannon McGibbon
Add RubyVM::USAGE_ANALYSIS_INSN_START, RubyVM::USAGE_ANALYSIS_OPERAND_START, and RubyVM::USAGE_ANALYSIS_REGISTER_START to begin collecting VM instructions. Add RubyVM::USAGE_ANALYSIS_INSN_RUNNING, RubyVM::USAGE_ANALYSIS_OPERAND_RUNNING, and RubyVM::USAGE_ANALYSIS_REGISTER_RUNNING to check if VM instructions are being collected. Closes: https://github.com/ruby/ruby/pull/2258
2019-08-07Add a way to print debug counters without exitingAaron Patterson
I am trying to study debug counters inside a Rails application. Accessing debug counters by killing the process is hard because child processes don't get the same TRAP as the parent, and Rails seems to intercept calls to `exit`. Adding this method lets me print the debug counters when I want (at the end of requests for example)
2019-08-08* 2019-08-08git
2019-08-08Debug appveyor mingw failureTakashi Kokubun
It has been unstable for recent builds: https://ci.appveyor.com/project/ruby/ruby/builds/26531442/job/0ycp7woekqqx97x9 https://ci.appveyor.com/project/ruby/ruby/builds/26531687/job/xui3rctcvi7r49iv https://ci.appveyor.com/project/ruby/ruby/builds/26532019/job/1q0n46ci4g8dplwx
2019-08-07array.c: gc.h is not neededYusuke Endoh
2019-08-07hash.c: gc.h is needed when HASH_DEBUG modeYusuke Endoh
2019-08-07hash.c: gc.h is no longer neededYusuke Endoh
2019-08-07Added separator for failing commits from default gems.Hiroshi SHIBATA
2019-08-07Skip merge commit created by bundlerbot.Hiroshi SHIBATA
2019-08-07fix spellingDaniel Radetsky
Closes: https://github.com/ruby/ruby/pull/2323
2019-08-07enum.c: Remove unused #includeYusuke Endoh
transient_heap.h is no longer needed.
2019-08-07Upgrade benchmark-driver versionTakashi Kokubun
as I already started to use --runner=block introduced in v0.14.20 like: https://github.com/ruby/ruby/pull/2321#issuecomment-518638663
2019-08-07Refactor .travis.yml by introducing travis_retry.shTakashi Kokubun
Not using official travis_retry.bash, because it's not supporting to modify backoff seconds. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_retry.bash Not using official `travis_apt_get_update` function because it does not propagate exit status to be used by retries. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_apt_get_update.bash Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-08-07Fixed deprecation messageNobuyoshi Nakada
2019-08-07Fix Date#step testNobuyoshi Nakada
The document states that "the limit should be a date object".
2019-08-07Simplify break logic of Travis retriesTakashi Kokubun
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>