Граф коммитов

57963 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun 7202bf9ed8
Drop PREFETCH macro unused since 6b534134a7 2019-09-19 17:19:22 +09:00
卜部昌平 fcfe36b733 fix spec failure
See also https://travis-ci.org/ruby/ruby/jobs/586452224
2019-09-19 15:18:10 +09:00
卜部昌平 d74fa8e55c reuse cc->call
I noticed that in case of cache misshit, re-calculated cc->me can
be the same method entry than the pevious one.  That is an okay
situation but can't we partially reuse the cache, because cc->call
should still be valid then?

One thing that has to be special-cased is when the method entry
gets amended by some refinements.  That happens behind-the-scene
of call cache mechanism.  We have to check if cc->me->def points to
the previously saved one.

Calculating -------------------------------------
                          trunk        ours
vm2_poly_same_method     1.534M      2.025M i/s -      6.000M times in 3.910203s 2.962752s

Comparison:
             vm2_poly_same_method
                ours:   2025143.9 i/s
               trunk:   1534447.2 i/s - 1.32x  slower
2019-09-19 15:18:10 +09:00
Kazuhiro NISHIYAMA 9fb9f2d318
Add draft-release.yml [ci skip]
Make draft release packages. (Release packages are official after tests and release announce.)

- Copy from ruby/actions
- Change trigger tags from `draft/v*` to `v*` (I use `draft/v*` on ruby/actions because I want to avoid to cause trouble with shell history on working directory of ruby/ruby.)
- Change secrets names because secrets are repository local and use different names between ruby/ruby and ruby/actions.
2019-09-19 12:47:09 +09:00
Nobuyoshi Nakada e2aac6a611
Separate @have_devel for C++ 2019-09-19 12:25:48 +09:00
Nobuyoshi Nakada df3fd50717
Removed mkmf.log dump in Makefile 2019-09-19 12:25:48 +09:00
卜部昌平 66c644da5e refactor reuse existing on-stack structs
rb_vm_call0 allocates its own struct call_info etc.  But they are
already there in case of rb_funcallv_with_cc.  Let's just pass the
existing ones, instead of re-creation.
2019-09-19 12:18:18 +09:00
Nobuyoshi Nakada 69e209a345
DEBUG: dump mkmf.log 2019-09-19 12:03:58 +09:00
Nobuyoshi Nakada 2d1e3bd8f1
DEBUG: cxxanyargs 2019-09-19 11:25:09 +09:00
Nobuyoshi Nakada a98181eb11
DEBUG: cxxanyargs 2019-09-19 10:46:52 +09:00
Nobuyoshi Nakada 70fd022a2a
DEBUG 2019-09-19 09:47:11 +09:00
Nobuyoshi Nakada a9cdaaada4
DEBUG 2019-09-19 08:47:07 +09:00
Jeremy Evans 5177dd8ba0 Add and fix some keyword tests
Replace [arg=1, args] with [arg, args] so we can actually test
the value correctly.

Add some missing tests for **h3 when method accepts (**args).

Add tests for passing positional hashes to (**args) methods and
check for the expected warnings/errors.
2019-09-18 11:16:00 -07:00
git 2b708ab723 * 2019-09-19 [ci skip] 2019-09-19 00:11:31 +09:00
Nobuyoshi Nakada 842f600a93
Look up the language module
Look up language module with `MakeMakefile.[]`, insted of a
accessing constant under that module directly, to get rid of
expose the constant to the toplevel inadvertently.
2019-09-19 00:03:18 +09:00
Nobuyoshi Nakada 15d5de59fb
Removed unused keyword argument [ci skip] 2019-09-19 00:03:18 +09:00
Nobuyoshi Nakada f9d0778fca
Removed MakeMakefile::C
It is exposed to the topleven namespace via included MakeMakefile.
2019-09-18 22:53:23 +09:00
Nobuyoshi Nakada 9bd77d7cf3
Removed a debug print [ci skip] 2019-09-18 22:53:22 +09:00
Kazuhiro NISHIYAMA a491159a6e
Add badges of GitHub Actions [ci skip] 2019-09-18 22:46:05 +09:00
Takashi Kokubun 38069a3a55
Try using Ruby 1.9.3 on Travis xenial
Isn't it there? http://rubies.travis-ci.org/
2019-09-18 18:54:09 +09:00
Nobuyoshi Nakada c3f03da494
[EXPERIMENTAL] MakeMakefile::CXX for C++ 2019-09-18 18:47:02 +09:00
Hiroshi SHIBATA 7d354175d7
Fixed up ccbfb054b1 2019-09-18 18:26:33 +09:00
Hiroshi SHIBATA ba86353446
Update the latest documentation of bundler 2019-09-18 18:26:33 +09:00
Hiroshi SHIBATA 2da8574930
Fixed the rubocop warnings 2019-09-18 18:26:33 +09:00
David Rodríguez effacde2c0
[bundler/bundler] Merge all `bundle check --path` specs
And skip them all for bundler 3.

https://github.com/bundler/bundler/commit/b88936cdc2
2019-09-18 18:26:33 +09:00
Bundlerbot 434af7303c
[bundler/bundler] Merge #7340
7340: Fix bundle clean issue r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that `bundle clean` is crashing under some conditions.

### What was your diagnosis of the problem?

My diagnosis was that sometimes (when the bundle includes git sourced gems with extensions), it assumes that some paths exist, but they don't.

### What is your fix for the problem, implemented in this PR?

My fix is to ignore those paths.

### Why did you choose this fix out of the possible options?

I chose this fix because it fixes the issue.

Fixes #7338.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
(cherry picked from commit b007fde67c77c1f15f13b97eda186644c2a2be04)

https://github.com/bundler/bundler/commit/3766053507
2019-09-18 18:26:33 +09:00
David Rodríguez e6ad9452b6
[bundler/bundler] Fix remembered flag deprecation message
It was suggested a deprecated command as a fix.

https://github.com/bundler/bundler/commit/e330a9a34f
2019-09-18 18:26:33 +09:00
David Rodríguez 1cb8cf5df0
[bundler/bundler] Version 2.1.0.pre.2
https://github.com/bundler/bundler/commit/6e9774b377
2019-09-18 18:26:33 +09:00
Samuel Giddins 4f2f6aeb5f
[bundler/bundler] Add a spec for installing git deps after packaging w/o git
https://github.com/bundler/bundler/commit/65351c58b8
2019-09-18 18:26:32 +09:00
David Rodríguez 0c6529bac2
[bundler/bundler] Revert "Add all platforms to lockfile by default"
This reverts commit 3dc509e645abb497e4dc92a7c42be471ff87db0b.

https://github.com/bundler/bundler/commit/b5766564fb
2019-09-18 18:26:32 +09:00
David Rodríguez 6f16ededdd
[bundler/bundler] Revert "Remove now meaningless warning"
This reverts commit 00b095b98fe4bd44950beaf3bc9f1d91eac7b69e.

https://github.com/bundler/bundler/commit/e93bce3b20
2019-09-18 18:26:32 +09:00
David Rodríguez f18d88b535
[bundler/bundler] Revert "Remove now meaningless setting"
This reverts commit 52c5a0eedec34b5d86464b3cf135dc2002486f1d.

https://github.com/bundler/bundler/commit/b4cc36deb9
2019-09-18 18:26:32 +09:00
David Rodríguez 399501cdfe
[bundler/bundler] Revert "Remove now unused method"
This reverts commit 3a2d2f025081755bdb38af660897e7b2f749a33a.

https://github.com/bundler/bundler/commit/13cef81582
2019-09-18 18:26:32 +09:00
Takayuki Nakata c27aaf1a8f
[bundler/bundler] Fix comments and messages to refer to https url
https://github.com/bundler/bundler/commit/a86b49f1b9
2019-09-18 18:26:32 +09:00
David Rodríguez b9996803f7
[bundler/bundler] Remove duplicated spec filter
https://github.com/bundler/bundler/commit/b7fc6f4187
2019-09-18 18:26:32 +09:00
David Rodríguez c92e098781
[bundler/bundler] Fix --path option descriptions
To not mention that the flag is remembered when it's not.

https://github.com/bundler/bundler/commit/82f0b95854
2019-09-18 18:26:32 +09:00
David Rodríguez a29ead52e1
[bundler/bundler] Deprecate `--path` flag to `bundle check`
https://github.com/bundler/bundler/commit/0a0e7cf5ec
2019-09-18 18:26:32 +09:00
Kenichi Kamiya 9118cb242b Fix typos 2019-09-18 17:29:30 +09:00
卜部昌平 bcd5f2e9d3 delete unused variable 2019-09-18 11:06:24 +09:00
git c170e23d81 * 2019-09-18 [ci skip] 2019-09-18 08:23:06 +09:00
Jeremy Evans 775365cbd2 Fix keyword argument separation issues with sym procs when using refinements
Make sure that vm_yield_with_cfunc can correctly set the empty keyword
flag by passing 2 as the kw_splat value when calling it in
vm_invoke_ifunc_block.  Make sure calling.kw_splat is set to 1 and not
128 in vm_sendish, so we can safely check for different kw_splat values.

vm_args.c needs to call add_empty_keyword, and to make JIT happy, the
function needs to be exported.  Rename the function to
rb_adjust_argv_kw_splat to more accurately reflect what it does, and
mark it as MJIT exported.
2019-09-17 16:22:44 -07:00
Jeremy Evans 9b35dc3864 Pass keyword argument flag when rb_call_super_kw calls method_missing
This makes method_missing take a flag for whether keyword arguments
were passed.

Adds tests both for rb_call_super_kw usage as well as general usage
of super calling method_missing in Ruby methods.
2019-09-17 16:22:44 -07:00
Kazuhiro NISHIYAMA 0785469a40 `brew install` may fail, so try to use `tool/travis_retry.sh`
https://github.com/ruby/ruby/runs/224877570#step:3:1008
```
Error: No such file or directory @ dir_s_rmdir - /Users/runner/Library/Caches/Homebrew/downloads/ca756e367eb98d2b525e72b311633c27ffc74eca825a5392153b3488d1adb732--libssh2-1.9.0.mojave.bottle.tar.gz
```
2019-09-17 18:02:03 +09:00
Nobuyoshi Nakada 68ffb679d4 Undefine DSUSP key
Enable `Ctrl+Y`, which is bound with it by default on BSD-like
systems, for editing.
2019-09-17 15:16:12 +09:00
git b49c1380c1 * 2019-09-17 [ci skip] 2019-09-17 15:15:43 +09:00
Adam Cammack f9332ad833 Fix previous history in vi_insert mode 2019-09-17 15:14:38 +09:00
Adam Cammack a3533bc904 Fix history navigation in vi_insert mode 2019-09-17 15:14:38 +09:00
Nobuyoshi Nakada 3bb1162cac
Folded files in gemspec 2019-09-16 21:51:48 +09:00
git 2a39de193c * 2019-09-16 [ci skip] 2019-09-16 21:37:37 +09:00
Kazuhiro NISHIYAMA 70f57287cf
Fix a typo [ci skip] 2019-09-16 21:36:23 +09:00