aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix documentation for Fiber#transfer [ci skip]Jeremy Evans2019-10-261-6/+13
| | | | | | | | | | | | | | | | | Fiber#transfer prevents calling Fiber#resume on the receiver of the transfer method, not the fiber calling transfer. Transfering back to a fiber does not allow later calling resume on the fiber. Once transfer has been called on a fiber, you can never call resume on the fiber. Calling resume on a transferred fiber is not a double resume error, it is a different FiberError (cannot resume transferred Fiber). For details on the differences between transferred fibers and regular fibers, see Sasada-san's RubyKaigi 2017 presentation (in short, Fiber#transfer is for coroutine, Fiber#resume is for semi-coroutine).
* Add entry for Feature #13083 in NEWSBenoit Daloze2019-10-261-5/+17
| | | | * Move Unicode changes under String / Unicode for consistency with the rest.
* Update to ruby/spec@28a728bBenoit Daloze2019-10-2642-119/+486
|
* Update to ruby/mspec@e171725Benoit Daloze2019-10-262-8/+5
|
* * 2019-10-27 [ci skip]git2019-10-271-1/+1
|
* Improve Net::HTTP docs:zverok2019-10-262-6/+12
| | | | | | | * Make links from Net::GenericHTTPRequest work; * Document +dest+ param of HTTPResponse#read_body; * Slightly improve reference to particular response classes from HTTPResponse class docs.
* OptionParser: document into: argumentzverok2019-10-261-3/+12
|
* open-uri: change global docs to reflect that URI.open syntax is preferredzverok2019-10-261-7/+7
|
* Net::FTP: fix formatting problems for #status methodzverok2019-10-261-1/+2
|
* IRB: Document command evaluation history.zverok2019-10-262-10/+57
|
* Update StringIO docs:zverok2019-10-261-41/+56
| | | | | | | | | | | * More explanations/examples in class docs; * Fix links to other methods (remove <code> tag); * Fix wording of method docs (remove *stringio* receiver name, as it is not rendered by modern RDoc); * Add option mention to linereading methods (added in 2.4); * Several other small fixes.
* Update ERB docszverok2019-10-261-8/+21
| | | | | * Actualize Notes about other templating engines; * Document #location= method.
* Make `(#methodname)` a link with --hyperlink-all optionaycabta2019-10-261-1/+1
|
* Make `(#methodname)` a linkNobuyoshi Nakada2019-10-262-1/+3
|
* refactor assign variables卜部昌平2019-10-261-8/+5
| | | | | | For readability. Requested by ko1. See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e9#r35661401
* Documentation improvements for Ruby corezverok2019-10-268-25/+118
| | | | | | | | | | | * Top-level `return`; * Documentation for comments syntax; * `rescue` inside blocks; * Enhance `Object#to_enum` docs; * Make `chomp:` option more obvious for `String#each_line` and `#lines`; * Enhance `Proc#>>` and `#<<` docs; * Enhance `Processs` class docs.
* Raise on end-exclusive ranges [Feature #14784]Nobuyoshi Nakada2019-10-262-12/+15
| | | | | Raises an error on end-exclusive ranges unless endless, regardless the receiver.
* [ruby/forwardable] Use Gemfile instead of ↵Hiroshi SHIBATA2019-10-261-3/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/forwardable/commit/1e7123a81b
* [ruby/forwardable] Fix NoMethodError on ruby 2.4 or earlierKazuhiro NISHIYAMA2019-10-261-1/+1
| | | | | | | | | https://github.com/ruby/forwardable/runs/242918994#step:5:12 ``` Error: test_obj_single_delegators_send_id(TestForwardable): NoMethodError: private method `attr_reader' called for #<Class:#<Object:0x00005605af501f58>> ``` https://github.com/ruby/forwardable/commit/711bbb2466
* [ruby/forwardable] Remove string allocation in def_{instance,single}_delegatorsJeremy Evans2019-10-261-2/+2
| | | | https://github.com/ruby/forwardable/commit/1a994c90e1
* [ruby/forwardable] Make def_{instance,single}_delegators skip :__send__ and ↵Jeremy Evans2019-10-262-6/+28
| | | | | | | | | | | :__id__ Previously, __send__ and __id__ were skipped if provided as strings, but not skipped if provided as symbols. Fixes Ruby Bug 8855. https://github.com/ruby/forwardable/commit/2e61c8c66c
* [ruby/forwardable] Update spec.filesHiroshi SHIBATA2019-10-261-1/+1
| | | | https://github.com/ruby/forwardable/commit/1b6991e589
* [ruby/forwardable] Extracted VERSION constant for gemspecHiroshi SHIBATA2019-10-263-6/+8
| | | | https://github.com/ruby/forwardable/commit/387758d45a
* [ruby/dbm] Remove taint supportJeremy Evans2019-10-262-23/+21
| | | | | | | | Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/dbm/commit/1f0ff0bce1
* * 2019-10-26 [ci skip]git2019-10-261-1/+1
|
* Edit vm_opts.h for VM optionsNobuyoshi Nakada2019-10-261-1/+1
| | | | | | Revert 46f175ed5c8560b3c9da5ab7b4fa73287f1eb1c5 partially. Also tool/ruby_vm scripts refer the options in vm_opts.h.
* Fixed range argument condition [Feature #14784]Nobuyoshi Nakada2019-10-252-26/+51
| | | | | Allows a beginless/endless range, and an end-exclusive range unless the receiver is smaller than its end.
* enable assertion for debug.Koichi Sasada2019-10-251-1/+2
| | | | http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856
* skip tests that do not work on GC.stress卜部昌平2019-10-251-0/+9
| | | | | These tests rely on GC.stat and GC.last_gc_info, which are not stable when GC.stress is true. Skip them for that case.
* more on struct rb_call_data卜部昌平2019-10-255-173/+199
| | | | | Replacing adjacent struct rb_call_info and struct rb_call_cache into a struct rb_call_data.
* Add `shell: cmd`Kazuhiro NISHIYAMA2019-10-251-0/+3
| | | | | | | | | | Use cmd instead of new default shell for `call`. https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/ https://github.com/ruby/ruby/commit/7bcc639c720b59eb2199601963bcfa720168185b/checks#step:6:5 ``` call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program. ```
* Rename old var name with new nameaycabta2019-10-251-1/+1
|
* [ruby/tracer] Use Gemfile instead of ↵Hiroshi SHIBATA2019-10-251-3/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/tracer/commit/9df7d7937b
* Handle case where ruby2_keywords method splats to ruby2_keywords methodJeremy Evans2019-10-242-0/+29
| | | | | | Previously, the keyword hash was duped (which results in a regular hash), but the dup was not marked as a keyword hash, causing the hash not to be marked as keyword hash even though it should be.
* Do not show progress at chocolateyNobuyoshi Nakada2019-10-251-1/+1
|
* retry tailcall optimization (#2529)wanabe2019-10-252-3/+49
| | | Sorry, f62f90367fc3bce6714e7c34cbd040e14e43fe07 is push miss.
* respect `param.flags.ruby2_keywords` at to_binary.Koichi Sasada2019-10-251-1/+3
| | | | | `param.flags.ruby2_keywords` is not store/load correctly at to_binary so restore this flag correctly.
* Duplicate hash when converting keyword hash to keywordsJeremy Evans2019-10-242-2/+12
| | | | | | | This mirrors the behavior when manually splatting a hash. This mirrors the changes made in setup_parameters_complex in 6081ddd6e6f2297862b3c7e898d28a76b8f9240b, so that splatting to a non-iseq method works the same as splatting to an iseq method.
* Update date specsJeremy Evans2019-10-243-13/+26
| | | | | | | Allow Date.new spec to run on 2.7. Separate Date.valid_jd? specs, since 2.7 is now stricter and requires numeric value for the first argument.
* Fix typo causing Date.new(year, month) to failJeremy Evans2019-10-242-1/+5
| | | | Add a test for this case.
* check T_ICLASS for Method#inspect.Koichi Sasada2019-10-251-0/+8
| | | | METHOD::klass can contain T_ICLASS so inspect should respect it.
* Install openssl with chocolateyNobuyoshi Nakada2019-10-251-2/+2
| | | | OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg.
* Split by `&&`Nobuyoshi Nakada2019-10-251-2/+6
|
* Expanded an environment variableNobuyoshi Nakada2019-10-251-3/+1
| | | | PowerShell does not expand by `%varname%` syntax.
* Get rid of control flow by cmd.exeNobuyoshi Nakada2019-10-251-10/+2
| | | | | Github workflow stopped using cmd.exe suddenly, and `||` and `&&` seem not working in PowerShell.
* Define arguments forwarding as `ruby2_keywords` styleNobuyoshi Nakada2019-10-254-6/+37
| | | | | | | | | | | | Get rid of these redundant and useless warnings. ``` $ ruby -e 'def bar(a) a; end; def foo(...) bar(...) end; foo({})' -e:1: warning: The last argument is used as the keyword parameter -e:1: warning: for `foo' defined here -e:1: warning: The keyword argument is passed as the last hash parameter -e:1: warning: for `bar' defined here ```
* Assert no-kwrest caseNobuyoshi Nakada2019-10-251-1/+16
|
* Assert no-block caseNobuyoshi Nakada2019-10-251-2/+11
|
* Set method locationsNobuyoshi Nakada2019-10-251-2/+2
|
* * 2019-10-25 [ci skip]git2019-10-251-1/+1
|