summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-03Try to avoid `not delagated` errorKazuhiro NISHIYAMA
``` .../ruby/lib/delegate.rb:405:in `__getobj__': not delegated (ArgumentError) ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190703T063006Z.fail.html.gz
2019-07-03Version guard for [Feature #15974]Nobuyoshi Nakada
2019-07-03Fix order of testsNobuyoshi Nakada
`check` includes `test-testframework`, `test-short` and its preceeding tests, but `test-all` does not.
2019-07-03Just disable inlining with local varaible for nowTakashi Kokubun
This partially reverts commit 712a66b0741605f5b2db670a292b9bb352f8a716. The previous fix made CI strange like: http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2124178 Let me just downgrade the behavior for now and deal with it later. [Bug #15971]
2019-07-03Debugging failures on x86_64-darwin17 of travis-ciKazuhiro NISHIYAMA
https://travis-ci.org/ruby/ruby/jobs/553346285
2019-07-03* expand tabs.git
2019-07-03Fix up [Feature #15974]Nobuyoshi Nakada
* Fixed warning condition * Fixed function signature * Use ident hash
2019-07-03Warn in verbose mode on defining a finalizer that captures the objectChris Seaton
[Feature #15974] Closes: https://github.com/ruby/ruby/pull/2264
2019-07-03Revert expansion of test-allNobuyoshi Nakada
2019-07-03Revert "Avoid corrupting VM stack on inlined setlocal"Koichi Sasada
This reverts commit ea30dd702512ff9df34fe8c71c825f8f901bf5b1. because it fails when VM_CHECK_MODE=1.
2019-07-03* expand tabs.git
2019-07-03Use rb_ident_hash_new instead of rb_hash_new_compare_by_idNobuyoshi Nakada
The latter is same as the former, removed the duplicate function.
2019-07-02Check that String#scrub block does not modify receiverJeremy Evans
Similar to the check used for String#gsub. Can fix possible segfault. Fixes [Bug #15941]
2019-07-02Make String#-@ not freeze receiver if called on unfrozen subclass instanceJeremy Evans
rb_fstring behavior in this case is to freeze the receiver. I'm not sure if that should be changed, so this takes the conservative approach of duping the receiver in String#-@ before passing to rb_fstring. Fixes [Bug #15926]
2019-07-02Remove Changelog section from doc/contributing.rdoc [ci skip]Jeremy Evans
Replace it with a section on commit message formatting. Also, move the section on rebasing to the bottom, since that only applies to committers and not most contributors. Fixes [Bug #14886]
2019-07-03* 2019-07-03git
2019-07-02Implement Array#minmaxJeremy Evans
Array#minmax was previous not implemented, so calling #minmax on array was actually calling Enumerable#minmax. This is a simple implementation of #minmax by just calling rb_ary_min and rb_ary_max, which improves performance significantly. Fixes [Bug #15929]
2019-07-02Fix timezone issue for logger period's testsYusuke Endoh
This is a retry of 181b966e7553ac53d034266a7cdc18664d080814. "Revert "Add a missing tests for Logger::Period module"" is also reverted.
2019-07-02Revert "Add a missing tests for Logger::Period module"Koichi Sasada
This reverts commit 181b966e7553ac53d034266a7cdc18664d080814.
2019-07-02Avoid corrupting VM stack on inlined setlocalTakashi Kokubun
setlocal relies on cfp->ep, and frame-omitted method inlining introduced in Ruby 2.7 kept it wrong. This change might slow down frame-omitted method inlining for cfp->ep manipulation, and it obviously complicates the implementaion more. By introducing an optimization that changes Ruby's local variable to C local variable, we could optimize it and simplify the cfp->ep manipulation later. [Bug #15971]
2019-07-02Add a missing tests for Logger::Period moduleAnton Davydov
Closes: https://github.com/ruby/ruby/pull/2266
2019-07-02The behavior of statx(2) depends on the filesystemNobuyoshi Nakada
birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972]
2019-07-02Adjust memory_status.rb under the tool directory.Hiroshi SHIBATA
2019-07-02Fix test-all substitutionNobuyoshi Nakada
2019-07-02Clean up temporary expired cert fileNobuyoshi Nakada
2019-07-02Clean up temporary directory for raccNobuyoshi Nakada
2019-07-02${} does not work with nmake.exeNobuyoshi Nakada
2019-07-02Use GitHub ruby.git for make-snapshotTakashi Kokubun
Previously @hsbt disabled https git clone from git.ruby-lang.org. Using git.ruby-lang.org for non-commit purposes is discouraged. GitHub mirror is actually recommended because it's reliable than single-hosted git.ruby-lang.org, the mirror is almost always well-maintained, and its latency is very small (usually about 10s). So we should just use GitHub here. [Bug #15969]
2019-07-02Adjust jit_support file path.Hiroshi SHIBATA
2019-07-02Removed test-almost from TEST_TARGETSNobuyoshi Nakada
2019-07-02Now test-almost equals to test-allNobuyoshi Nakada
2019-07-02Substitute autoconf variables by prereq.statusNobuyoshi Nakada
2019-07-02with_different_ofs.rb has been moved tooNobuyoshi Nakada
2019-07-02Adjust minitest file pathNobuyoshi Nakada
2019-07-02Prefer master rather than trunk in doc/contributing.rdoc [ci skip]Kazuhiro NISHIYAMA
2019-07-02[DOC] Add LibreSSL [ci skip]Kazuhiro NISHIYAMA
2019-07-02Renamed to get rid of name clashNobuyoshi Nakada
2019-07-02Adjust minitest file pathNobuyoshi Nakada
2019-07-02Removed needless exclude option related testframework.Hiroshi SHIBATA
They are moved under the tool directory now.
2019-07-02colors file has been moved from test to toolNobuyoshi Nakada
2019-07-02Fixed the wrong path for COVERAGE.Hiroshi SHIBATA
ref. c3c0e3f5c9444c197779cb242de46dfffda79dec
2019-07-02Split test files for test-framework that are test-unit and minitest to tool ↵Hiroshi SHIBATA
direcotry.
2019-07-02Move to tool/lib from test/lib.Hiroshi SHIBATA
2019-07-01Don't use native realpath(3) on SolarisJeremy Evans
CI shows it does work on Solaris 11, but does not work on Solaris 10. However, until I figure out a good way to differentiate between Solaris 10 and 11, this should get CI passing on both.
2019-07-01Raise TypeError if calling ENV.freezeJeremy Evans
Previously, you could call ENV.freeze, but it would not have the desired effect, as you could still modify ENV. Fixes [Bug #15920]
2019-07-02* expand tabs.git
2019-07-01Use realpath(3) instead of custom realpath implementation if availableJeremy Evans
This approach is simpler than the previous approach which tries to emulate realpath(3). It also performs much better on both Linux and OpenBSD on the included benchmarks. By using realpath(3), we can better integrate with system security features such as OpenBSD's unveil(2) system call. This does not use realpath(3) on Windows even if it exists, as the approach for checking for absolute paths does not work for drive letters. This can be fixed without too much difficultly, though until Windows defines realpath(3), there is no need to do so. For File.realdirpath, where the last element of the path is not required to exist, fallback to the previous approach, as realpath(3) on most operating systems requires the whole path be valid (per POSIX), and the operating systems where this isn't true either plan to conform to POSIX or may change to conform to POSIX in the future. glibc realpath(3) does not handle /path/to/file.rb/../other_file.rb paths, returning ENOTDIR in that case. Fallback to the previous code if realpath(3) returns ENOTDIR. glibc doesn't like realpath(3) usage for paths like /dev/fd/5, returning ENOENT even though the path may appear to exist in the filesystem. If ENOENT is returned and the path exists, then fall back to the default approach.
2019-07-01Enable native fiber coroutines on i386-openbsdJeremy Evans
2019-07-02* 2019-07-02git
2019-07-02Keyword token that follows EXPR_FNAME must be a method nameaycabta