AgeCommit message (Collapse)Author
2019-08-08Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS APIGannon McGibbon
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:
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
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:
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. Not using official `travis_apt_get_update` function because it does not propagate exit status to be used by retries. Co-Authored-By: Nobuyoshi Nakada <>
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 <>
2019-08-07.travis.yml: Use `-eq` instead `=` to compare integersKazuhiro NISHIYAMA
2019-08-07ext/ripper/lib/ripper/lexer.rb: Consistently use `Array#push`Yusuke Endoh
instead of <<. All the other callsites use `push`.
2019-08-07ext/ripper/lib/ripper/lexer.rb: fix a wrong delegationYusuke Endoh
The target method name is a typo.
2019-08-07Retry ubuntu-toolchain-r-test apt source setupTakashi Kokubun
In 614c90fe21cf1d9cf6fb18684187d8c7e2f61de6, I assumed apt-add-repository has been stable recently, but I saw PR randomly failed for it today. This commit only deals with "ubuntu-toolchain-r-test" and does NOT deal with `llvm-toolchain-xenial-8` intentionally, because what it does (mainly curl from seems to be more reliable than "ubuntu-toolchain-r-test". Also `&clang-8` jobs are basically allow_failures and it's less important to be stabilized.
2019-08-07* 2019-08-07git
2019-08-07Deprecate Float::ROUNDS, which should not be a constantNobuyoshi Nakada
[Bug #16044]
2019-08-06Refine time_to_rNobuyoshi Nakada
* time.c (time_to_r): get rid canonicalize and uncanonicalize one-denominator rational, by rb_time_unmagnify_to_rational.
2019-08-06Extracted wmap_live_pNobuyoshi Nakada
2019-08-06* expand tabs.git
2019-08-06leafify opt_plus卜部昌平
Inspired by 346aa557b31fe96760e505d30da26eb7a846bac9 Closes:
2019-08-06Revert "Don't echo results of assignment expressions"aycabta
This reverts commit 1ee88c51b3c319b74b69540e111e4a1c24833cad.
2019-08-06Don't echo results of assignment expressionsSteven Willis
2019-08-06Use host_os from RbConfig to detect host OS.Charles Oliver Nutter
RUBY_PLATFORM on JRuby is always "java", so it will not reflect the host operating system. This regex appears to be the consensus way to detect Windows based on a search of Ruby code on Github:
2019-08-06Remove obsolete TODO commentaycabta
2019-08-06Update Unicode URL to 12.1.0aycabta
2019-08-06The value of rb_scan_args_verify is never usedNobuyoshi Nakada
2019-08-06Distinguish bad scan format from no argument variablesNobuyoshi Nakada
2019-08-06Removing duplicated assertions on test_array.rb - MINUS methodEspartaco Palma
2019-08-06Improve same directory detection in FileUtilsJustin Collins
2019-08-05Document that RubyVM::InstructionSequence methods are implementation and ↵Jeremy Evans
version dependent Fixes [Bug #6785]
2019-08-05Remove documentation of %m in SyslogJeremy Evans
Fixes [Bug #6726]
2019-08-05Let prev EP move againAaron Patterson
The last time we committed this, we were asking the VM to write to the ep. But VM assertions check if the ENV data is the correct type, which if it's a T_MOVED pointer it's not the correct type. So the vm assertions would fail. This time we just directly write to it from the GC and that bypasses the vm assertion checks.
2019-08-06* expand tabs.git
2019-08-05add compaction support to weak mapsAaron Patterson
2019-08-06Use gcc-8 for BASERUBY testTakashi Kokubun
as it failed, unlike my fork CI. This just rollbacks a minor change in 798474deaf10dbea70c02724b5acf4487bbed660.
2019-08-06Give up stabilizing TestProcess on Travis osxTakashi Kokubun
They have been too unstable. Revert "Extend sleep before sending USR1 in TestProcess" This reverts commit aaf69a8ba866193863a7eafe5c6044844bd71bc3. Revert "Extend sleep before sending USR1 in TestProcess" This reverts commit 076f3fcf11a061394d3d5f8c671512df1e983023.
2019-08-06* 2019-08-06git
2019-08-06Control Travis apt retries on our ownTakashi Kokubun
because Travis team does not do it for us: The retried part has failed often even in one day: For doing it easily, this also changes major aliases to compiler-specific ones, because partially updating `before_install` logic using `env` key was too hard and we needed to directly write `before_install` for each package set. As a bonus of it, it may also skip installing unnecessary packages when just `os: linux` is needed. I'll revert this if this patch does not contribute to stabilize CI.
2019-08-05Use negative-sized array instead of zero-divisionNobuyoshi Nakada
2019-08-05Unused macro argument `varc`Nobuyoshi Nakada
2019-08-05[rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of ↵Benoit Daloze
JRUBY_VERSION * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby. * There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.
2019-08-05[rubygems/rubygems] Fix error handling of #with_engine_versionBenoit Daloze
* If settings constants fail, show that exception instead of getting another one due to variables being unset and hiding the real cause.
2019-08-05[rubygems/rubygems] Cleanup after testing `rake package`David Rodríguez
Sometimes it happens to me that my local tests start failing because I pull some file removals or renames into my local copy, and those are still present on my last copy of pkg/. In those cases, the test about `rake package` will fail with something like the following: ```` Failure: TestRakePackage#test_builds_ok [/home/deivid/Code/rubygems/test/rubygems/test_rake_package.rb:13]: Expected `rake package` to work, but got errors: ``` cd pkg/rubygems-update-3.1.0.pre1 WARNING: See for help rake aborted! Gem::InvalidSpecificationException: ["test/rubygems/test_rake_package.rb"] are not files Tasks: TOP => package => gem => pkg/rubygems-update-3.1.0.pre1.gem (See full trace by running task with --trace) ``` If you have added or removed files, make sure you run `rake update_manifest` to update the `Manifest.txt` accordingly. Expected: true Actual: false ```` So, make sure, package is always built from scratch.
2019-08-05[rubygems/rubygems] Use gsub with HashKazuhiro NISHIYAMA