summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-03[bundler/bundler] Fix file:// handling under WindowsDavid Rodríguez
Windows paths do not start with a slash, so we add an extra slash to separate the host from the path in file:// urls. Otherwise "D:" is parsed as the host segment in the URI. The path for those URLs now starts with "/", so we ignore that leading character when using the URI's path. This reduces Windows CI spec failures from 429 to 355. https://github.com/bundler/bundler/commit/1b7e274cbc
2019-08-03[bundler/bundler] Normalize file:// handling in specsDavid Rodríguez
https://github.com/bundler/bundler/commit/5946d62ad0
2019-08-03[bundler/bundler] Use a clean gemspec for gem helper specsDavid Rodríguez
https://github.com/bundler/bundler/commit/f694fe7f67
2019-08-03[bundler/bundler] Move "on releasing" to a RSpec contextDavid Rodríguez
So we can later add more tests with the same setup. https://github.com/bundler/bundler/commit/21b4b6c49c
2019-08-03[bundler/bundler] Migrate requires from exe/ to also be relativeDavid Rodríguez
https://github.com/bundler/bundler/commit/d9d2bf6d52
2019-08-03[bundler/bundler] Migrate two more requires to be relativeDavid Rodríguez
https://github.com/bundler/bundler/commit/80217bfe0b
2019-08-03[bundler/bundler] Migrate thor to use relative requiresDavid Rodríguez
https://github.com/bundler/bundler/commit/ca28a04668
2019-08-03[bundler/bundler] Skip specs that need coloring on WindowsDavid Rodríguez
ANSI codes don't work there. https://github.com/bundler/bundler/commit/4f05417ca7
2019-08-03[bundler/bundler] Add missing no-color source specsDavid Rodríguez
For consistency. https://github.com/bundler/bundler/commit/279603ab42
2019-08-03[bundler/bundler] Be explicit about coloring in specs that need thatDavid Rodríguez
https://github.com/bundler/bundler/commit/a4d04506ab
2019-08-03[bundler/bundler] Respect color option when instantiating shellsDavid Rodríguez
Thor's base shell will be memoized the first time it is set. So if we instantiate a no-color shell first, further instantiations of a bundler shell will be initialized with a no-color shell by default. This is caused some sources specs to fail, depending on the order they run. See for example https://travis-ci.org/bundler/bundler/builds/500328994. What we do to fix it is to reset the shell unless no-color is explicitly specified. That way, further instantiations will rerun thor's internal logic to choose the default shell. https://github.com/bundler/bundler/commit/786b5d9894
2019-08-03[bundler/bundler] Remove unnecessary conditionDavid Rodríguez
The builtin thor's color shell already checks this before printing, and if not a tty, prints just the string without added color codes. https://github.com/bundler/bundler/commit/4f62611c87
2019-08-03[bundler/bundler] Added Ruby 2.6 to dsl.Hiroshi SHIBATA
https://github.com/bundler/bundler/commit/1892626858
2019-08-03Use source_location instead of eval(__FILE__,binding) in Binding#irbYusuke Endoh
e9e17cbc051e894dfd27eda5feca2939f65552db (enabling the warning by default) caused a warning in test-spec: ``` /data/chkbuild/tmp/build/20190802T213005Z/ruby/spec/ruby/core/binding/irb_spec.rb Binding#irb - creates an IRB session with the binding in scope/data/chkbuild/tmp/build/20190802T213005Z/ruby/spec/ruby/core/binding/fixtures/irb.rb:3: warning: __FILE__ in eval may not return location in binding; use Binding#source_location instead ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190802T213005Z.log.html.gz ref: [Bug #4352]
2019-08-03Add missing backslashTakashi Kokubun
2019-08-03* 2019-08-03git
2019-08-03Stop using homebrew addonTakashi Kokubun
to control erros on our own.
2019-08-02Revert "Remove opt_nil_p test to remove warning for now"Yusuke Endoh
This reverts commit a1727e43af18c122c4d7adfa603f895fdc8f3df1.
2019-08-02Revert "Revert "Add a specialized instruction for `.nil?` calls""Yusuke Endoh
This reverts commit a0980f2446c0db735b8ffeb37e241370c458a626. Retry for macOS Mojave.
2019-08-02parse.y: make a warning for __FILE__ in eval by defaultYusuke Endoh
[Bug #4352]
2019-08-02Revert "Give up `brew update` on Travis"Takashi Kokubun
This reverts commit e05f397f08e98fb170e3aca885d6028b344e833c. Failed... https://travis-ci.org/ruby/ruby/jobs/566961111 We should talk to Travis people instead...
2019-08-02Remove opt_nil_p test to remove warning for nowTakashi Kokubun
2019-08-02It can be share to use CoreAssertions for default gems.Hiroshi SHIBATA
ref. https://github.com/ruby/logger/pull/35
2019-08-02Make float_decode_internal mantissa intNobuyoshi Nakada
2019-08-02Deduplicate common codeNobuyoshi Nakada
2019-08-02Fix uplevelNobuyoshi Nakada
2019-08-02add debug_counters to check details.Koichi Sasada
add debug_counters to check the Hash object statistics.
2019-08-02Revert "Add a specialized instruction for `.nil?` calls"Yusuke Endoh
This reverts commit 9faef3113fb4331524b81ba73005ba13fa0ef6c6. It seemed to cause a failure on macOS Mojave, though I'm unsure how. https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz This tentative revert is to check if the issue is actually caused by the change or not.
2019-08-02Expanded f_quoNobuyoshi Nakada
2019-08-02Expanded f_ceilNobuyoshi Nakada
2019-08-02Use RB_INTEGER_TYPE_PNobuyoshi Nakada
2019-08-02Expanded f_modNobuyoshi Nakada
2019-08-02* 2019-08-02git
2019-08-01Make attr* methods define public methods if self in caller is not same as ↵Jeremy Evans
receiver Previously, attr* methods could be private even if not in the private section of a class/module block. This uses the same approach that ruby started using for define_method in 1fc33199736f316dd71d0c551edbf514528ddde6. Fixes [Bug #4537]
2019-08-01ext/-test-/bug-14834/bug-14384.c: fallback for MAYBE_UNUSEDYusuke Endoh
__unused__ is unavailable on Sun C. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190801T112505Z.fail.html.gz
2019-08-01Fix assertion failure when VM_CHECK_MODENobuyoshi Nakada
Some VM frames (dummy and top pushed by `rb_vm_call_cfunc`) has iseq but has no pc.
2019-08-01bootstraptest/test_insns.rb: test opt_nil_pKazuhiro NISHIYAMA
2019-08-01Extend sleep before sending USR1 in TestProcessTakashi Kokubun
because the test seems to hang there forever: https://travis-ci.org/ruby/ruby/jobs/566409880
2019-08-01Add a test for opt_nil_pTakashi Kokubun
2019-08-01Use predefined idTo_procNobuyoshi Nakada
2019-08-01Use predefined idOrNobuyoshi Nakada
2019-08-01fix VC 2013 compile error卜部昌平
It seems the compiler does not support VLAs. See also: https://ci.appveyor.com/project/ruby/ruby/builds/26392589/job/px6nuiuw4e78weg1
2019-08-01introduce ar_hint_t.Koichi Sasada
Hash hint for ar_array is 1 byte (unsigned char). This patch introduce ar_hint_t which represents hint type.
2019-08-01* expand tabs.git
2019-08-01calc_lineno(): add assertions卜部昌平
This function has a lot of assumptions. Should make them sure.
2019-08-01fix tracepoint + backtrace SEGV卜部昌平
PC modification in gc_event_hook_body was careless. There are (so to say) abnormal iseqs stored in the cfp. We have to check sanity before we touch the PC. This has not been fixed because there was no way to (ab)use the setup from pure-Ruby. However by using our official C APIs it is possible to touch such frame(s), resulting in SEGV. Fixes [Bug #14834].
2019-08-01* expand tabs.git
2019-08-01signal.c: make signame_prefix a nul-terminated stringYusuke Endoh
gcc 9.1.0 warns this. ``` signal.c:258:46: warning: '%.*s' directive argument is not a nul-terminated string [-Wformat-overflow=] 258 | rb_raise(rb_eArgError, "unsupported signal `%.*s%"PRIsVALUE"'", | ^~~~ 259 | prefix, signame_prefix, vsig); | ~~~~~~~~~~~~~~ signal.c:200:19: note: referenced argument declared here 200 | static const char signame_prefix[3] = "SIG"; | ^~~~~~~~~~~~~~ ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20190801T033009Z.log.html.gz
2019-08-01use internal_id.Koichi Sasada
"hash_iter_lev" can be exported by Marshal.dump and it will introduce inconsistency. To avoid this issue, use internal_id instead of normal ID. This issue is pointed out by Chikanaga-san.
2019-08-01Compact ensure clause and rename variables to fix alignmentKazuhiro NISHIYAMA