aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed Scanf from the ruby repository.Hiroshi SHIBATA2019-09-2018-1388/+2
|
* Removed CMath from the ruby repository.Hiroshi SHIBATA2019-09-2043-1416/+4
|
* Fixed memory leakNobuyoshi Nakada2019-09-201-3/+8
| | | | | * array.c (flatten): fix a memory leak in the case of an exception at conversion of an element to Array.
* Added the target to run a benchmarkNobuyoshi Nakada2019-09-201-0/+6
|
* Fixed a variable in checkout-github-%Nobuyoshi Nakada2019-09-201-1/+1
|
* Update NEWS and documents [ci skip]Nobuyoshi Nakada2019-09-203-3/+7
| | | | [Feature #11297] [Feature #16123]
* Allow calling a private accessor with `self.`Nobuyoshi Nakada2019-09-204-9/+11
| | | | [Feature #11297] [Feature #16123]
* Added version guardNobuyoshi Nakada2019-09-201-4/+12
| | | | [Feature #11297] [Feature #16123]
* Allow calling a private method with `self.`Dylan Thacker-Smith2019-09-205-4/+9
| | | | | | | | | | This makes it consistent with calling private attribute assignment methods, which currently is allowed (e.g. `self.value =`). Calling a private method in this way can be useful when trying to assign the return value to a local variable with the same name. [Feature #11297] [Feature #16123]
* Overload variable definition functionsNobuyoshi Nakada2019-09-201-0/+62
| | | | | | Define overloading functions of rb_define_virtual_variable and rb_define_hooked_variable, for combinations with and without ANYARGS casts.
* Check method functions in C++Nobuyoshi Nakada2019-09-202-145/+104
| | | | By using template and overloading, instead of transparent union.
* * 2019-09-20 [ci skip]git2019-09-201-1/+1
|
* Use EXPECT_NODE_NONULLNobuyoshi Nakada2019-09-191-2/+1
|
* Check COMPILE_RECV resultNobuyoshi Nakada2019-09-191-4/+8
|
* Moved unmatch arity check to depend fileNobuyoshi Nakada2019-09-192-12/+9
| | | | To substitute suffixes and VPATH for nmake.
* Ensure that unmatched arity fails in C++Nobuyoshi Nakada2019-09-192-1/+27
|
* Revert "DEBUG: dump mkmf.log"Nobuyoshi Nakada2019-09-191-8/+0
| | | | | | This reverts commit 69e209a3450bd6b281dcad1d96a34e9cab184845. The debug has finishted.
* Specify encoding explicitly for sprintfNARUSE, Yui2019-09-191-1/+1
|
* Separate Time#inspect from to_s and show subsec [Feature #15958]NARUSE, Yui2019-09-193-3/+77
|
* Fixed reserved numbered parameter warningNobuyoshi Nakada2019-09-192-3/+8
|
* Added link_command for C++Nobuyoshi Nakada2019-09-191-0/+10
|
* Use benchmark-driver v0.15.6Takashi Kokubun2019-09-191-1/+1
| | | | to fix another keyword argument warning which was added recently.
* Improve the output of `RubyVM::InstructionSequence#to_binary` (#2450)NagayamaRyoga2019-09-191-619/+978
| | | | | | | | | | The output of RubyVM::InstructionSequence#to_binary is extremely large. We have reduced the output of #to_binary by more than 70%. The execution speed of RubyVM::InstructionSequence.load_from_binary is about 7% slower, but when reading a binary from a file, it may be faster than the master. Since Bootsnap gem uses #to_binary, this proposal reduces the compilation cache size of Rails projects to about 1/4. See details: [Feature #16163]
* Avoid unneeded casts in INSN_ENTRY_SIGTakashi Kokubun2019-09-191-5/+5
|
* Drop PREFETCH macro unused since 6b534134a7Takashi Kokubun2019-09-191-7/+0
|
* fix spec failure卜部昌平2019-09-191-2/+10
| | | | See also https://travis-ci.org/ruby/ruby/jobs/586452224
* reuse cc->call卜部昌平2019-09-194-7/+59
| | | | | | | | | | | | | | | | | | | | | 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
* Add draft-release.yml [ci skip]Kazuhiro NISHIYAMA2019-09-191-0/+161
| | | | | | | | 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.
* Separate @have_devel for C++Nobuyoshi Nakada2019-09-191-0/+8
|
* Removed mkmf.log dump in MakefileNobuyoshi Nakada2019-09-192-8/+5
|
* refactor reuse existing on-stack structs卜部昌平2019-09-191-1/+12
| | | | | | 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.
* DEBUG: dump mkmf.logNobuyoshi Nakada2019-09-191-0/+6
|
* DEBUG: cxxanyargsNobuyoshi Nakada2019-09-191-0/+3
|
* DEBUG: cxxanyargsNobuyoshi Nakada2019-09-193-3/+2
|
* DEBUGNobuyoshi Nakada2019-09-191-0/+2
|
* DEBUGNobuyoshi Nakada2019-09-191-0/+1
|
* Add and fix some keyword testsJeremy Evans2019-09-181-17/+182
| | | | | | | | | | 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-19 [ci skip]git2019-09-191-1/+1
|
* Look up the language moduleNobuyoshi Nakada2019-09-192-2/+12
| | | | | | 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.
* Removed unused keyword argument [ci skip]Nobuyoshi Nakada2019-09-191-1/+1
|
* Removed MakeMakefile::CNobuyoshi Nakada2019-09-181-2/+0
| | | | It is exposed to the topleven namespace via included MakeMakefile.
* Removed a debug print [ci skip]Nobuyoshi Nakada2019-09-181-2/+0
|
* Add badges of GitHub Actions [ci skip]Kazuhiro NISHIYAMA2019-09-182-0/+6
|
* Try using Ruby 1.9.3 on Travis xenialTakashi Kokubun2019-09-181-5/+0
| | | | Isn't it there? http://rubies.travis-ci.org/
* [EXPERIMENTAL] MakeMakefile::CXX for C++Nobuyoshi Nakada2019-09-183-27/+46
|
* Fixed up ccbfb054b1dcd06d30924c4a83af1bac75d78c31Hiroshi SHIBATA2019-09-181-1/+1
|
* Update the latest documentation of bundlerHiroshi SHIBATA2019-09-1851-384/+384
|
* Fixed the rubocop warningsHiroshi SHIBATA2019-09-181-1/+1
|
* [bundler/bundler] Merge all `bundle check --path` specsDavid Rodríguez2019-09-181-25/+30
| | | | | | And skip them all for bundler 3. https://github.com/bundler/bundler/commit/b88936cdc2
* [bundler/bundler] Merge #7340Bundlerbot2019-09-182-28/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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