aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Warn in verbose mode on defining a finalizer that captures the objectChris Seaton2019-07-032-0/+69
| | | | | | [Feature #15974] Closes: https://github.com/ruby/ruby/pull/2264
* Revert expansion of test-allNobuyoshi Nakada2019-07-031-0/+1
|
* Revert "Avoid corrupting VM stack on inlined setlocal"Koichi Sasada2019-07-032-19/+0
| | | | | This reverts commit ea30dd702512ff9df34fe8c71c825f8f901bf5b1. because it fails when VM_CHECK_MODE=1.
* * expand tabs.git2019-07-031-1/+1
|
* Use rb_ident_hash_new instead of rb_hash_new_compare_by_idNobuyoshi Nakada2019-07-035-14/+3
| | | | The latter is same as the former, removed the duplicate function.
* Check that String#scrub block does not modify receiverJeremy Evans2019-07-022-7/+25
| | | | | | | Similar to the check used for String#gsub. Can fix possible segfault. Fixes [Bug #15941]
* Make String#-@ not freeze receiver if called on unfrozen subclass instanceJeremy Evans2019-07-022-0/+19
| | | | | | | | | 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]
* Remove Changelog section from doc/contributing.rdoc [ci skip]Jeremy Evans2019-07-021-37/+29
| | | | | | | | 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-03git2019-07-031-1/+1
|
* Implement Array#minmaxJeremy Evans2019-07-022-0/+40
| | | | | | | | | 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]
* Fix timezone issue for logger period's testsYusuke Endoh2019-07-021-0/+85
| | | | | | This is a retry of 181b966e7553ac53d034266a7cdc18664d080814. "Revert "Add a missing tests for Logger::Period module"" is also reverted.
* Revert "Add a missing tests for Logger::Period module"Koichi Sasada2019-07-021-85/+0
| | | | This reverts commit 181b966e7553ac53d034266a7cdc18664d080814.
* Avoid corrupting VM stack on inlined setlocalTakashi Kokubun2019-07-022-0/+19
| | | | | | | | | | | | | 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]
* Add a missing tests for Logger::Period moduleAnton Davydov2019-07-021-0/+85
| | | | Closes: https://github.com/ruby/ruby/pull/2266
* The behavior of statx(2) depends on the filesystemNobuyoshi Nakada2019-07-021-1/+1
| | | | | birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972]
* Adjust memory_status.rb under the tool directory.Hiroshi SHIBATA2019-07-021-1/+1
|
* Fix test-all substitutionNobuyoshi Nakada2019-07-021-1/+1
|
* Clean up temporary expired cert fileNobuyoshi Nakada2019-07-021-0/+10
|
* Clean up temporary directory for raccNobuyoshi Nakada2019-07-023-19/+17
|
* ${} does not work with nmake.exeNobuyoshi Nakada2019-07-021-2/+2
|
* Use GitHub ruby.git for make-snapshotTakashi Kokubun2019-07-021-1/+2
| | | | | | | | | | | | | 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]
* Adjust jit_support file path.Hiroshi SHIBATA2019-07-024-4/+4
|
* Removed test-almost from TEST_TARGETSNobuyoshi Nakada2019-07-021-3/+2
|
* Now test-almost equals to test-allNobuyoshi Nakada2019-07-021-5/+4
|
* Substitute autoconf variables by prereq.statusNobuyoshi Nakada2019-07-022-1/+2
|
* with_different_ofs.rb has been moved tooNobuyoshi Nakada2019-07-022-2/+2
|
* Adjust minitest file pathNobuyoshi Nakada2019-07-021-1/+1
|
* Prefer master rather than trunk in doc/contributing.rdoc [ci skip]Kazuhiro NISHIYAMA2019-07-021-12/+12
|
* [DOC] Add LibreSSL [ci skip]Kazuhiro NISHIYAMA2019-07-021-1/+1
|
* Renamed to get rid of name clashNobuyoshi Nakada2019-07-021-1/+1
|
* Adjust minitest file pathNobuyoshi Nakada2019-07-021-1/+1
|
* Removed needless exclude option related testframework.Hiroshi SHIBATA2019-07-021-2/+1
| | | | They are moved under the tool directory now.
* colors file has been moved from test to toolNobuyoshi Nakada2019-07-022-2/+2
|
* Fixed the wrong path for COVERAGE.Hiroshi SHIBATA2019-07-021-1/+1
| | | | ref. c3c0e3f5c9444c197779cb242de46dfffda79dec
* Split test files for test-framework that are test-unit and minitest to tool ↵Hiroshi SHIBATA2019-07-0218-6/+7
| | | | direcotry.
* Move to tool/lib from test/lib.Hiroshi SHIBATA2019-07-0222-6/+7
|
* Don't use native realpath(3) on SolarisJeremy Evans2019-07-011-0/+5
| | | | | | 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.
* Raise TypeError if calling ENV.freezeJeremy Evans2019-07-012-0/+19
| | | | | | | Previously, you could call ENV.freeze, but it would not have the desired effect, as you could still modify ENV. Fixes [Bug #15920]
* * expand tabs.git2019-07-021-27/+27
|
* Use realpath(3) instead of custom realpath implementation if availableJeremy Evans2019-07-013-3/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Enable native fiber coroutines on i386-openbsdJeremy Evans2019-07-011-0/+3
|
* * 2019-07-02git2019-07-021-1/+1
|
* Keyword token that follows EXPR_FNAME must be a method nameaycabta2019-07-021-3/+6
|
* Alias "master" and "trunk"Nobuyoshi Nakada2019-07-012-4/+6
|
* Default branch name to "master"Nobuyoshi Nakada2019-07-011-1/+1
|
* Default ASMEXTNobuyoshi Nakada2019-07-011-0/+1
|
* Substitue suffixes with dotNobuyoshi Nakada2019-07-011-1/+1
|
* Show "-" if indent level is negativeaycabta2019-07-011-3/+11
|
* New indent must be non-negative numberNobuyoshi Nakada2019-07-011-1/+1
|
* Use configured ASMEXTNobuyoshi Nakada2019-07-011-1/+1
|