summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-01test/drb/drbtest.rb: Use EnvUtil.timeout for timeout scale factorYusuke Endoh
2019-09-01Revert "Revert "Revert "Skip BUGs on Solaris"""Yusuke Endoh
This reverts commit 3be3948870f6589343c4aecb541e22fae7751b47. The Solaris environment couldn't lookup the hostname itself by a wrong setting. Now it is fixed, so try again.
2019-09-01Restore pwd for each versionNobuyoshi Nakada
2019-09-01Support packaging different branch/tagNobuyoshi Nakada
2019-09-01Fetch commit notesNobuyoshi Nakada
2019-09-01Resolve symlinks to cache directory under gemsNobuyoshi Nakada
2019-09-01Support git tagsNobuyoshi Nakada
2019-09-01Upgrade benchmark-driver for keyword args warningsTakashi Kokubun
2019-09-01Revert "Revert "Skip BUGs on Solaris""Yusuke Endoh
This reverts commit 84dca8eff0cbcb1c23623b47fb78b0daf5c76e35. "exceution expired" occurred on Solaris. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190901T072504Z.fail.html.gz
2019-09-01Make pattern matching support **nil syntaxKazuki Tsujimoto
2019-09-01Automatically detect missing symbolsTakashi Kokubun
which are usually optimized away by -O3. This CI can detect missing exports like ea84a680755b5a7fa700618cbe78e3b2fc7be01d which was needed for 761346a9604ca2c79777d1d67fb5dcc3c30dbf69.
2019-09-01Export rb_const_source_location_at for MJITKazuki Tsujimoto
2019-09-01test/ruby/test_keyword.rb: Add remove_method before method redefinitionYusuke Endoh
to suppress redefinition warnings.
2019-09-01Revert "Skip BUGs on Solaris"Yusuke Endoh
This reverts commit 8adefd4cf29288f6e43f20efbdd44b215ae16c7a. I couldn't see any failure on Solaris if the guard is removed. Give it a try.
2019-08-31Fix keyword argument separation warning when using sendJeremy Evans
vm_call_opt_send was dropping VM_CALL_KW_SPLAT, so this just makes it not drop it, to get the same behavior as calling the method directly.
2019-09-01Note about ANYARGS in NEWSTakashi Kokubun
Since 50f5a0a8d6e7ad89d6caff695a08dbd38edb7a6e, some C++ extensions needed fixes like https://github.com/eagletmt/faml/pull/49 to make their build succeed. Thus it's worth noting that C API declarations are changed.
2019-08-31Don't pass an empty keyword hash when double splatting empty hash when ↵Jeremy Evans
calling cfunc This mirrors earlier changes in keyword argument separation for calling Ruby methods and calling procs/lambdas, so that behavior is kept the same.
2019-09-01Made :nil static IDNobuyoshi Nakada
2019-09-01IRB 1.1.0.pre.3aycabta
2019-09-01Reline 0.0.2aycabta
2019-09-01Re-calculate state variables of screen when screen size changesaycabta
2019-09-01Ignore the all of warnings with inline_spec.rb of bundler examples.Hiroshi SHIBATA
2019-09-01* 2019-09-01 [ci skip]git
2019-09-01Split warning messages for tag-jumpNobuyoshi Nakada
2019-08-31Use double splat for keyword args by a hash object in lib/un.rbaycabta
2019-08-31Limit the apt addon enablement to trustyTakashi Kokubun
8897fa60fdbc83f9cce7df384893e902c17c1bf2 worked. But we want to retry that part and this commit is trying to fix the problem.
2019-08-31Try using built-in apt source for gcc-8Takashi Kokubun
58a373e9ed54556e18a13825dfe72d3f7a86b833 and 3868df83330bb897be996604df3862639abbf002 didn't work.
2019-08-31Try to fix apt-get update error for trusty (take 2)Takashi Kokubun
https://travis-ci.org/ruby/ruby/jobs/579116510
2019-08-31Try to suppress errors in BASERUBY TravisTakashi Kokubun
https://travis-ci.org/ruby/ruby/jobs/579108692
2019-08-30Don't pass an empty keyword hash when double splatting empty hashJeremy Evans
2019-08-31fix CI failures in x64-mingw32卜部昌平
For insatnce https://ci.appveyor.com/project/ruby/ruby/builds/27086475/job/mb9whkiygemlfy93 Notes: Merged: https://github.com/ruby/ruby/pull/2413
2019-08-31Remove files/directories for git/github which are committed [ci skip]Nobuyoshi Nakada
2019-08-30Add rb_iseq_locationJeremy Evans
This wraps iseq_location and should fix the leaked global test.
2019-08-30Use more accurate source location in keyword argument separation warningsJeremy Evans
This shows locations in places it didn't before, such as for proc calls, and fixes the location for super calls. This requires making iseq_location non-static and MJIT exported, which I hope will not cause problems.
2019-08-30Warn for keyword to last hash parameter when method has no optional/rest ↵Jeremy Evans
parameters Previously, there was no warning in this case, even though we will be changing the behavior in Ruby 3. Fixes [Bug #14130]
2019-08-30Remove a verbose warning that is no longer neededJeremy Evans
This warns about a case that we will continue to support.
2019-08-31tool/rbinstall.rb: remove a keyword-argument warningYusuke Endoh
2019-08-31NEWS: Hash-to-keywords automatic conversion is now warnedYusuke Endoh
A follow up for 16c6984bb9..b5b3afadfa. [Feature #14183]
2019-08-31* 2019-08-31 [ci skip]git
2019-08-30Fix a couple of bundler issues with keyword argument separationJeremy Evans
There are more issues than this, but hopefully this is enough to get make test-bundler passing in CI. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Fix remaining warning issues in the tests due to keyword argument separationJeremy Evans
Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Add back missing warning for duplicate keys in splatted hashesJeremy Evans
This reverts the changes to parse.y in a5b37262524ac39d2af13eea174486370a581c23 as they are not actually needed and cause the warning for duplicate hash keys to not be emitted. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Update specs to handle non-Symbols for keyword splats in 2.7Jeremy Evans
Also handle some warnings for behavior that will change in 3.0. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30When splitting a keyword hash, dup it first to not mutate itJeremy Evans
Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Implement keyword argument to last positional hash emulationJeremy Evans
For methods that accept keyword arguments but do not accept a keyword splat, if a keyword splat is passed, or keywords are used with a non-symbol key, check the hash. If the hash contains all symbols, keep the same behavior as before. If the hash contains all non-symbols, move the hash to the last positional hash and warn. If the hash contains symbols and non-Symbols, split the hash and use the symbol keys for the keyword hash and non-symbol keys for the positional hash and warn. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Make keyword_hash_split staticJeremy Evans
Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Make Method/Proc#parameters handle **nil syntaxJeremy Evans
Use a [:nokey] entry in this case. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Make RubyVM::AbstractSyntaxTree handle **nil syntaxJeremy Evans
Use false instead of nil for the keyword and keyword rest values in that case. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Make ripper support **nil syntaxJeremy Evans
The on_params hook will use :nil as the keyword rest argument. There is a new on_nokw_param hook as well. This fixes a type issue in the previous code, where an ID was passed where a VALUE was the declared type. The symbol :nil is passed instead of the id. Notes: Merged: https://github.com/ruby/ruby/pull/2395
2019-08-30Support **nil syntax for specifying a method does not accept keyword argumentsJeremy Evans
This syntax means the method should be treated as a method that uses keyword arguments, but no specific keyword arguments are supported, and therefore calling the method with keyword arguments will raise an ArgumentError. It is still allowed to double splat an empty hash when calling the method, as that does not pass any keyword arguments. Notes: Merged: https://github.com/ruby/ruby/pull/2395