aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge RubyGems upstream: 56c0bbb69e4506bda7ef7f447dfec5db820df20bhsbt2019-03-0529-180/+650
| | | | | | | It fixed the multiple vulnerabilities. https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: respect the actual encodingnobu2019-03-052-2/+10
| | | | | | | | * string.c (rb_enc_str_coderange): respect the actual encoding of if a BOM presents, and scan for the actual code range. [ruby-core:91662] [Bug #15635] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-03-05svn2019-03-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Directories in RbConfig may not exist until installationnobu2019-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-03-04svn2019-03-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* FindFirstFile cannot glob share namesnobu2019-03-041-0/+14
| | | | | | | | * win32/file.c (replace_to_long_name): do not try to glob host names and share names by FindFirstFile which is useless for that purpose. [ruby-core:91656] [Bug #15633] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use --depth=1 for vs2019 as wellk0kubun2019-03-031-0/+2
| | | | | | to shorten time to clone git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* do not close FSs explicitly.ko12019-03-031-2/+2
| | | | | | | | | | * test/ruby/test_dir.rb: r67159 closes all files explicitly but this change breaks attempt of this test introduced at r56467. Try another solution which removes all references from an Array with `#clear`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-03-03svn2019-03-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* close opened files explicitlyko12019-03-031-1/+4
| | | | | | | | to fix a test failure like http://ci.rvm.jp/results/trunk-theap-asserts@silicon-docker/1804207 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Stop sharding --jit-wait testingk0kubun2019-03-011-206/+7
| | | | | | | | | | | | | | | | | | | | by just randomizing test order. The original motivation to shard --jit-wait tests was forcing to test major parts of code without actually stopping to test MJIT after TracePoint enablement. But it tends to increase the test time because we often compile the same thing in different shards. I made this decision because we seem to hit 1.5h timeout of Wercker these days, and Wercker is really bad at handling timeout (it does not report timeout as failure, but just keeps it "pending" state) https://app.wercker.com/ruby/ruby/runs/mjit-test2/5c78f15cc9e725000805b86c?step=5c79031d6c1e2c0008ac41c3 By randomizing this, we could test things randomly. The downside of this approach is that we may not be able to find a specific commit that caused a future failure by having TracePoint in a very early phase. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Try to build readline extension with vcpkg on Azure Pipelines.hsbt2019-03-011-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Try to build vs2019preview on Azure Pipelines.hsbt2019-03-011-15/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed build failure of Travis CI. We need to support `make srcs`.hsbt2019-03-012-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Azure Pipelines build status badge [ci skip]kazu2019-03-011-1/+3
| | | | | | copy from README.md. see r67146 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Drop obsoleted continueOnErrork0kubun2019-03-011-1/+0
| | | | | | now it's passing thanks to r67149 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-03-01svn2019-03-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support YACC environment variable for ripper.hsbt2019-03-012-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Azure Pipelines build status badge [ci skip]k0kubun2019-02-281-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mark vs2017 build as continueOnError for nowk0kubun2019-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "Try clean: true for vs2017 checkout failure"k0kubun2019-02-281-1/+0
| | | | | | | | | This reverts commit b0e350fe16ad17eabf5bbc603f7d817c06ce8554. The issue seems to be invalid tag name including `"` in ancient tag. We're trying to delete that. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Try clean: true for vs2017 checkout failurek0kubun2019-02-281-0/+1
| | | | | | https://dev.azure.com/rubylang/ruby/_build/results?buildId=107 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Try fetchDepth: 1k0kubun2019-02-281-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-02-28svn2019-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed fake environment variable because It is not necessary for macOS.hsbt2019-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2019-02-270-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip to not support color tty environment.hsbt2019-02-271-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Test Bundler examples and bundled gems tests with Azure Pipeline.hsbt2019-02-271-0/+134
| | | | | | | | | | | * They are invoked on Linux and macOS environment. * Try to build with vs2017. But it's only binary build. https://dev.azure.com/rubylang/ruby/ [Feature #15181][ruby-core:89222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-02-27svn2019-02-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * expand tabs.svn2019-02-271-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove stale argumentsnobu2019-02-271-13/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-02-26svn2019-02-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add exceptions for indenting conventions for files related to regular ↵duerst2019-02-261-0/+6
| | | | | | | | | | | | expressions Ruby uses the Oniguruma/Onigmo regular expression engine, including the underlying character encoding framework. In contrast to other code implementing Ruby, the regular expression engine related code is formatted with two spaces per indent level. This commit adds rules for these files. (The commit may not completely cover all related files.) [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check stx_btime in struct statxnobu2019-02-242-16/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-02-24svn2019-02-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.ac: remove check for broken memmemglass2019-02-241-27/+0
| | | | | | the bug of memmem(3) was fixed in glibc 2.1 released in 1999. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.ac: skip check of statx() on AIXglass2019-02-231-12/+12
| | | | | | | | | Linux and AIX have statx() with different prototype. Linux: int statx(int, const char*, int, unsigned int, struct statx*) AIX: int statx(char, struct stat*, int, int) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge json-2.2.0 from flori/json.hsbt2019-02-238-80/+115
| | | | | | https://github.com/flori/json/releases/tag/v2.2.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/../rbconfig_spec.rb: skip spec not working on MinGWk0kubun2019-02-231-9/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2019-02-23svn2019-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec/../shared/write.rb: suppress random failurek0kubun2019-02-231-3/+5
| | | | | | due to MJIT worker's known race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * expand tabs.svn2019-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change `cfunc->invoker` type for opt.ko12019-02-224-53/+54
| | | | | | | | | | | | | | | | | | | | | | | * vm_insnhelper.c: change `call_cfunc_*` parameters order and specify a function type for the passed func ptr. This fix reduce the number of asm instructions, such as: # before this patch 0000000000000110 <call_cfunc_0>: 110: 48 89 fa mov %rdi,%rdx 113: 31 c0 xor %eax,%eax 115: 48 89 f7 mov %rsi,%rdi 118: ff e2 jmpq *%rdx 11a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) # after this patch 0000000000000110 <call_cfunc_0>: 110: ff e1 jmpq *%rcx However, this kind of instruction reduction doesn't affect any performance because of great CPU architectures :p git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* STATX_BTIME depends on filesystemsnobu2019-02-221-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip EPERM, when statx(2) is wholely blockednobu2019-02-221-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip EPERM, like as r67102nobu2019-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* STATX_BTIME depends on filesystemsnobu2019-02-221-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* File#birthtime depends on the kernel version on Linuxnobu2019-02-221-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support File#birthtime on Linuxnobu2019-02-222-3/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Unified rb_file_s_birthtimenobu2019-02-221-24/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e