summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-29Version 0.0.4aycabta
2019-10-29Restore `in_kwarg` flag properlyNobuyoshi Nakada
2019-10-28Revert "Protect finalizer references during execution"Aaron Patterson
This reverts commit 60a7f9f446604571f8a81499080c57c47baf0e6b. We can't have Ruby objects pointing at T_ZOMBIE objects otherwise we get an error in the GC. We need to find a different way to update references.
2019-10-28Protect finalizer references during executionAaron Patterson
When we run finalizers we have to copy all of the finalizers to a new data structure because a finalizer could add another finalizer and we need to keep draining the "real" finalizer table until it's empty. We don't want Ruby programs to mutate the finalizers that we're iterating over as well. Before this commit we would copy the finalizers in to a linked list. The problem with this approach is that if compaction happens, the linked list will need to be updated. But the GC doesn't know about the existence of the linked list, so it could not update references. This commit changes the linked list to be a Ruby array so that when compaction happens, the arrays will automatically be updated and all references remain valid.
2019-10-28Fix continuation mark / compactAaron Patterson
2019-10-28Pin labels during disassemblyAaron Patterson
We need to ensure that labels are pinned while disassembling. If the compactor runs during disassembly, references to these labels could go bad, so this commit just ensures that the labels can't move until we're done. Notes: Merged: https://github.com/ruby/ruby/pull/2625
2019-10-28Pin keys of this st_tableAaron Patterson
2019-10-29* 2019-10-29 [ci skip]git
2019-10-28Marshal is calling functions that should pin thingsAaron Patterson
2019-10-28Try out-of-place buildNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2622
2019-10-28test-bundled-gems.rb: fixed for out-of-place buildNobuyoshi Nakada
2019-10-28Clean mjit and timestamp directoriesNobuyoshi Nakada
2019-10-28Add more matrix info to slack payloadKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2621
2019-10-28fix bug in keyword + protected combination卜部昌平
Test included for the situation formerly was not working.
2019-10-28* 2019-10-28 [ci skip]git
2019-10-28add assertion for mutex_lock.Koichi Sasada
After do_mutex_lock(mutex), the mutex should be owned by the current thread. Adding an assertion for this assumption.
2019-10-27Add ubuntu-16.04 to matrix of GitHub ActionsKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2617
2019-10-27Improve Enumerator.produce docszverok
* Add to NEWS; * Add examples of while-alike cycles with practical tasks. Notes: Merged: https://github.com/ruby/ruby/pull/2616
2019-10-26Fix documentation for Fiber#transfer [ci skip]Jeremy Evans
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).
2019-10-26Add entry for Feature #13083 in NEWSBenoit Daloze
* Move Unicode changes under String / Unicode for consistency with the rest.
2019-10-26Update to ruby/spec@28a728bBenoit Daloze
2019-10-26Update to ruby/mspec@e171725Benoit Daloze
2019-10-27* 2019-10-27 [ci skip]git
2019-10-26Improve Net::HTTP docs:zverok
* Make links from Net::GenericHTTPRequest work; * Document +dest+ param of HTTPResponse#read_body; * Slightly improve reference to particular response classes from HTTPResponse class docs. Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26OptionParser: document into: argumentzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26open-uri: change global docs to reflect that URI.open syntax is preferredzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26Net::FTP: fix formatting problems for #status methodzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26IRB: Document command evaluation history.zverok
Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26Update StringIO docs:zverok
* 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. Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26Update ERB docszverok
* Actualize Notes about other templating engines; * Document #location= method. Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-26Make `(#methodname)` a link with --hyperlink-all optionaycabta
2019-10-26Make `(#methodname)` a linkNobuyoshi Nakada
2019-10-26refactor assign variables卜部昌平
For readability. Requested by ko1. See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e9#r35661401
2019-10-26Documentation improvements for Ruby corezverok
* 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. Notes: Merged: https://github.com/ruby/ruby/pull/2612
2019-10-26Raise on end-exclusive ranges [Feature #14784]Nobuyoshi Nakada
Raises an error on end-exclusive ranges unless endless, regardless the receiver. Notes: Merged: https://github.com/ruby/ruby/pull/2613
2019-10-26[ruby/forwardable] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency. https://github.com/ruby/forwardable/commit/1e7123a81b
2019-10-26[ruby/forwardable] Fix NoMethodError on ruby 2.4 or earlierKazuhiro NISHIYAMA
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
2019-10-26[ruby/forwardable] Remove string allocation in def_{instance,single}_delegatorsJeremy Evans
https://github.com/ruby/forwardable/commit/1a994c90e1
2019-10-26[ruby/forwardable] Make def_{instance,single}_delegators skip :__send__ and ↵Jeremy Evans
:__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
2019-10-26[ruby/forwardable] Update spec.filesHiroshi SHIBATA
https://github.com/ruby/forwardable/commit/1b6991e589
2019-10-26[ruby/forwardable] Extracted VERSION constant for gemspecHiroshi SHIBATA
https://github.com/ruby/forwardable/commit/387758d45a
2019-10-26[ruby/dbm] Remove taint supportJeremy Evans
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* 2019-10-26 [ci skip]git
2019-10-26Edit vm_opts.h for VM optionsNobuyoshi Nakada
Revert 46f175ed5c8560b3c9da5ab7b4fa73287f1eb1c5 partially. Also tool/ruby_vm scripts refer the options in vm_opts.h.
2019-10-25Fixed range argument condition [Feature #14784]Nobuyoshi Nakada
Allows a beginless/endless range, and an end-exclusive range unless the receiver is smaller than its end. Notes: Merged: https://github.com/ruby/ruby/pull/2611
2019-10-25enable assertion for debug.Koichi Sasada
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2340856
2019-10-25skip tests that do not work on GC.stress卜部昌平
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.
2019-10-25more on struct rb_call_data卜部昌平
Replacing adjacent struct rb_call_info and struct rb_call_cache into a struct rb_call_data.
2019-10-25Add `shell: cmd`Kazuhiro NISHIYAMA
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. ```
2019-10-25Rename old var name with new nameaycabta