summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-29Set `gnumake` in GNUmakefile for cygwinNobuyoshi Nakada
It was moved from defs/gmake.mk at 88f4ebac83a, for use in dependency rule lines.
2020-03-29spec/ruby/core/time/: Use near time for timezone testYusuke Endoh
`time_with_zone.zone.should == (time_with_zone - 60*60).zone` fails when the time is immediately before the change of summer time. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-master/log/20200328T232504Z.fail.html.gz ``` 1) Time#+ preserves time zone FAILED Expected "CET" == "CEST" to be truthy but was false ``` It is acceptable as it fails at most twice per year, but it would be good to use near time objects to reduce the possibility.
2020-03-29spec/bundler/other/platform_spec.rb: skip an attempt to simulate JRubyYusuke Endoh
2020-03-28Increase the number of Process.times attemptsTakashi Kokubun
CI of 5806c54447439f2ba22892e4045e78dd80f96f0c did not succeed https://travis-ci.org/github/ruby/ruby/jobs/668072714
2020-03-28Clean up /tmp leftovers in ci.rvm.jpTakashi Kokubun
2020-03-29* 2020-03-29 [ci skip]git
2020-03-29[ruby/irb] Require jruby lib to get JRuby.compile_irCharles Oliver Nutter
https://github.com/ruby/irb/commit/dc59afe4f6
2020-03-28Fixed relative paths for test-specNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2988
2020-03-28Improve reliability of the Process.times specBenoit Daloze
2020-03-28Do not check that #stime changes in Process.times specBenoit Daloze
* Since the spec might not spend any time in system calls.
2020-03-28Remove debugging codeBenoit Daloze
2020-03-28The last argument of rb_rescue2() should always be (VALUE)0Benoit Daloze
* Otherwise it might segfault, since C has no idea of the type of varargs, and the C code must assume all varargs are VALUE.
2020-03-28Remove Process.clock_getres "matches the resolution in practice" specsBenoit Daloze
* Almost all platforms return incorrect values for Process.clock_getres, it should be removed: https://bugs.ruby-lang.org/issues/16740
2020-03-28Remove spec which is an incorrect usage of rb_rescue2()Benoit Daloze
* It segfaults on MRI.
2020-03-28spec/ruby/library/rbconfig/rbconfig_spec.rb: restore "not windows" guardYusuke Endoh
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)>' ```
2020-03-28Deal with bundled gems by BASERUBYNobuyoshi Nakada
As the currently released/snapshot tarballs should contain the bundled gems extracted already, RUNRUBY is not required when building from them with GNU make.
2020-03-28Fixed RbConfig spec for multiarchNobuyoshi Nakada
2020-03-28Guard RbConfig spec unless installedNobuyoshi Nakada
2020-03-28spec/ruby/optional/capi/kernel_spec.rb: stop a spec that causes SEGVYusuke Endoh
I think the wrong terminating argument cannot work. To stop the noisy CI failures, the spec is tentatively suspended.
2020-03-28Update to ruby/spec@ec84479Benoit Daloze
2020-03-28Update to ruby/mspec@16b5a0aBenoit Daloze
2020-03-28* 2020-03-28 [ci skip]git
2020-03-27Set external encoding correctly for File.open('f', FILE::BINARY) on WindowsJeremy Evans
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] Notes: Merged: https://github.com/ruby/ruby/pull/2985
2020-03-27[ruby/reline] Suppress $/ warningsNobuyoshi Nakada
https://github.com/ruby/reline/commit/f4eac8c76f
2020-03-27test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeoutYusuke Endoh
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
2020-03-27[ci skip] Doc-only enhancements for HashBurdette Lamar
About the defalut values. Notes: Merged: https://github.com/ruby/ruby/pull/2977 Merged-By: nobu <nobu@ruby-lang.org>
2020-03-27* 2020-03-27 [ci skip]git
2020-03-26Fix AppVeyor pull request CI (#2983)S.H
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2020-03-26Added implictily require for URI::HTTPHiroshi SHIBATA
2020-03-26* remove trailing spaces. [ci skip]git
2020-03-26[ruby/uri] Remove RCS keywordsDavid Rodríguez
https://github.com/ruby/uri/commit/1bcb1203ad
2020-03-26[ruby/uri] Remove revision lines from commentsMatt Muller
https://github.com/ruby/uri/commit/f1c133a7d6
2020-03-26[ruby/uri] Add support for WebSocketsMatt Muller
https://github.com/ruby/uri/commit/805a95786a
2020-03-26[ruby/uri] Simplify construction of URI instances using parser interface.Samuel Williams
https://github.com/ruby/uri/commit/c145017dd7
2020-03-26[ruby/uri] Prefer `require_relative` for loading internal codeDavid Rodríguez
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
2020-03-26[ruby/reline] Suppress error when check ambiguous char width in LANG=Caycabta
https://github.com/ruby/reline/commit/623dffdd75
2020-03-26[ruby/reline] Add a comment why rescue yamatanooroti loading error on the testaycabta
https://github.com/ruby/reline/commit/2a8061daec
2020-03-26[ruby/reline] Rename test suite name of yamatanooroti testaycabta
https://github.com/ruby/reline/commit/b0f32f5de4
2020-03-26[ruby/reline] Add yamatanooroti rendering testaycabta
https://github.com/ruby/reline/commit/f092519525
2020-03-26[ruby/reline] Suppress error in case INPUTRC env is emptyaycabta
https://github.com/ruby/reline/commit/bce7e7562b
2020-03-26[ruby/reline] Work with wrong $/ value correctlyaycabta
https://github.com/ruby/reline/commit/962ebf5a1b
2020-03-26[ruby/irb] Suppress crashing when EncodingError has occurred without linenoaycabta
https://github.com/ruby/irb/commit/13572d8cdc
2020-03-26[ruby/irb] Detect multiple lines output simplifyaycabta
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
2020-03-26[ruby/irb] Unnamed groups are not captured when named groups are usedNobuyoshi Nakada
https://github.com/ruby/irb/commit/0a641a69b0
2020-03-25Ignore test_getbinaryfile for --jit-waitTakashi Kokubun
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* 2020-03-26 [ci skip]git
2020-03-26check flags passed to rb_nogvl()Koichi Sasada
RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags is not checked. [Bug #15499] 23444302
2020-03-25Fix AppVeyor CI sometimes failS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/2979
2020-03-25Make RbConfig::CONFIG values mutable [Bug #16738]Nobuyoshi Nakada
As `RbConfig.expand` modifies the argument and involved `CONFIG` values, its values should be mutable.
2020-03-25Import racc-1.5.0 from upstream repository.Hiroshi SHIBATA