aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean up /tmp leftovers in ci.rvm.jpTakashi Kokubun2020-03-281-5/+20
|
* * 2020-03-29 [ci skip]git2020-03-291-1/+1
|
* [ruby/irb] Require jruby lib to get JRuby.compile_irCharles Oliver Nutter2020-03-291-0/+1
| | | | https://github.com/ruby/irb/commit/dc59afe4f6
* Fixed relative paths for test-specNobuyoshi Nakada2020-03-281-2/+2
|
* Improve reliability of the Process.times specBenoit Daloze2020-03-281-4/+12
|
* Do not check that #stime changes in Process.times specBenoit Daloze2020-03-281-1/+0
| | | | * Since the spec might not spend any time in system calls.
* Remove debugging codeBenoit Daloze2020-03-281-8/+1
|
* The last argument of rb_rescue2() should always be (VALUE)0Benoit Daloze2020-03-282-5/+5
| | | | | * Otherwise it might segfault, since C has no idea of the type of varargs, and the C code must assume all varargs are VALUE.
* Remove Process.clock_getres "matches the resolution in practice" specsBenoit Daloze2020-03-282-72/+0
| | | | | * Almost all platforms return incorrect values for Process.clock_getres, it should be removed: https://bugs.ruby-lang.org/issues/16740
* Remove spec which is an incorrect usage of rb_rescue2()Benoit Daloze2020-03-282-36/+0
| | | | * It segfaults on MRI.
* spec/ruby/library/rbconfig/rbconfig_spec.rb: restore "not windows" guardYusuke Endoh2020-03-281-9/+11
| | | | | | | | | | | | https://github.com/ruby/ruby/runs/541455267 ``` 1) RbConfig::CONFIG libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED FAILED Expected File.exist? "d:/Ruby26-x64/lib/x64-msvcrt-ruby260.dll" to be truthy but was false D:/a/ruby/ruby/src/spec/ruby/library/rbconfig/rbconfig_spec.rb:46:in `block (3 levels) in <top (required)>' D:/a/ruby/ruby/src/spec/ruby/library/rbconfig/rbconfig_spec.rb:4:in `<top (required)>' ```
* Deal with bundled gems by BASERUBYNobuyoshi Nakada2020-03-281-1/+1
| | | | | | As the currently released/snapshot tarballs should contain the bundled gems extracted already, RUNRUBY is not required when building from them with GNU make.
* Fixed RbConfig spec for multiarchNobuyoshi Nakada2020-03-281-6/+7
|
* Guard RbConfig spec unless installedNobuyoshi Nakada2020-03-281-1/+1
|
* spec/ruby/optional/capi/kernel_spec.rb: stop a spec that causes SEGVYusuke Endoh2020-03-281-10/+18
| | | | | I think the wrong terminating argument cannot work. To stop the noisy CI failures, the spec is tentatively suspended.
* Update to ruby/spec@ec84479Benoit Daloze2020-03-2850-377/+739
|
* Update to ruby/mspec@16b5a0aBenoit Daloze2020-03-2820-162/+192
|
* * 2020-03-28 [ci skip]git2020-03-281-1/+1
|
* Set external encoding correctly for File.open('f', FILE::BINARY) on WindowsJeremy Evans2020-03-272-0/+24
| | | | | | | | | | Previously, the external encoding was only set correctly for File::BINARY if keyword arguments were provided. This copies the logic for the keyword arguments case to the no keyword arguments case. Possibly it should be refactored into a separate function. Fixes [Bug #16737]
* [ruby/reline] Suppress $/ warningsNobuyoshi Nakada2020-03-271-1/+8
| | | | https://github.com/ruby/reline/commit/f4eac8c76f
* test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeoutYusuke Endoh2020-03-271-4/+4
| | | | | | | | | | | | | | | | | | The test seems to fail sometimes due to a warning message of circular require on very slow machine. ``` 1) Failure: TestDigest::TestDigestParen#test_race_mixed [/export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/test/digest/test_digest.rb:263]: assert_separately failed with error message pid 12458 exit 0 | /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17: warning: /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17: warning: loading in progress, circular require considered harmful - /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/test/digest/digest/foo.rb | from -:10:in `block (2 levels) in <main>' | from /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17:in `const_missing' | from /export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/.ext/common/digest.rb:17:in `require' | ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20200326T091911Z.fail.html.gz
* [ci skip] Doc-only enhancements for HashBurdette Lamar2020-03-271-11/+112
| | | About the defalut values.
* * 2020-03-27 [ci skip]git2020-03-271-1/+1
|
* Fix AppVeyor pull request CI (#2983)S.H2020-03-261-0/+3
|
* Added implictily require for URI::HTTPHiroshi SHIBATA2020-03-261-0/+1
|
* * remove trailing spaces. [ci skip]git2020-03-261-1/+1
|
* [ruby/uri] Remove RCS keywordsDavid Rodríguez2020-03-269-9/+0
| | | | https://github.com/ruby/uri/commit/1bcb1203ad
* [ruby/uri] Remove revision lines from commentsMatt Muller2020-03-262-2/+0
| | | | https://github.com/ruby/uri/commit/f1c133a7d6
* [ruby/uri] Add support for WebSocketsMatt Muller2020-03-263-0/+178
| | | | https://github.com/ruby/uri/commit/805a95786a
* [ruby/uri] Simplify construction of URI instances using parser interface.Samuel Williams2020-03-263-25/+16
| | | | https://github.com/ruby/uri/commit/c145017dd7
* [ruby/uri] Prefer `require_relative` for loading internal codeDavid Rodríguez2020-03-261-10/+10
| | | | | | | So that we don't need to search the LOAD_PATH, given that we know which files we want to load in advance. https://github.com/ruby/uri/commit/cbecefb788
* [ruby/reline] Suppress error when check ambiguous char width in LANG=Caycabta2020-03-261-2/+8
| | | | https://github.com/ruby/reline/commit/623dffdd75
* [ruby/reline] Add a comment why rescue yamatanooroti loading error on the testaycabta2020-03-261-1/+3
| | | | https://github.com/ruby/reline/commit/2a8061daec
* [ruby/reline] Rename test suite name of yamatanooroti testaycabta2020-03-261-1/+3
| | | | https://github.com/ruby/reline/commit/b0f32f5de4
* [ruby/reline] Add yamatanooroti rendering testaycabta2020-03-261-0/+37
| | | | https://github.com/ruby/reline/commit/f092519525
* [ruby/reline] Suppress error in case INPUTRC env is emptyaycabta2020-03-262-1/+19
| | | | https://github.com/ruby/reline/commit/bce7e7562b
* [ruby/reline] Work with wrong $/ value correctlyaycabta2020-03-263-4/+13
| | | | https://github.com/ruby/reline/commit/962ebf5a1b
* [ruby/irb] Suppress crashing when EncodingError has occurred without linenoaycabta2020-03-263-1/+11
| | | | https://github.com/ruby/irb/commit/13572d8cdc
* [ruby/irb] Detect multiple lines output simplifyaycabta2020-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old implementation performance test code: require 'objspace' puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001) /\A.*\Z/ !~ ('abc' * 20_000_000) puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001) and run `time test.rb`: 2.5868 MB 62.226 MB real 0m1.307s user 0m0.452s sys 0m0.797s The new implementation performance test code: require 'objspace' puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001) ('abc' * 20_000_000).include?("\n") puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001) and run `time test.rb`: 2.5861 MB 62.226 MB real 0m0.132s user 0m0.088s sys 0m0.042s https://github.com/ruby/irb/commit/40d6610baf
* [ruby/irb] Unnamed groups are not captured when named groups are usedNobuyoshi Nakada2020-03-261-1/+1
| | | | https://github.com/ruby/irb/commit/0a641a69b0
* Ignore test_getbinaryfile for --jit-waitTakashi Kokubun2020-03-251-0/+2
| | | | | | | To fix this properly, we'd need to configure timeout for the server and the client because waiting for compilation takes time. Until we figure out how to do it, let me skip this.
* * 2020-03-26 [ci skip]git2020-03-261-1/+1
|
* check flags passed to rb_nogvl()Koichi Sasada2020-03-261-1/+1
| | | | | | RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags is not checked. [Bug #15499] 23444302
* Fix AppVeyor CI sometimes failS-H-GAMELINKS2020-03-251-1/+1
|
* Make RbConfig::CONFIG values mutable [Bug #16738]Nobuyoshi Nakada2020-03-252-1/+10
| | | | | As `RbConfig.expand` modifies the argument and involved `CONFIG` values, its values should be mutable.
* Import racc-1.5.0 from upstream repository.Hiroshi SHIBATA2020-03-254-8/+5
|
* * 2020-03-25 [ci skip]git2020-03-251-1/+1
|
* Fixed crash when argument array is modifiedNobuyoshi Nakada2020-03-252-1/+13
|
* Skip a test that attempts to remove the current directory on SolarisYusuke Endoh2020-03-241-0/+1
|
* test/rubygems: Try not only /usr/bin/env but also /bin/envYusuke Endoh2020-03-243-18/+19
| | | | | | | | | | | RubyGems chooses available one from the two: /usr/bin/env or /bin/env https://github.com/rubygems/rubygems/blob/20b0d609484df2b514954ba9ef890a7cbdd01d18/lib/rubygems/installer.rb#L38 So, it is good not to hard-code /usr/bin/env in tests. This is a retry of 65201c054a90c8e7beb8fe1e6d0006541ac33449 which was accidentally deleted by 96064e6f1ce100a37680dc8f9509f06b3350e9c8