aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"Yusuke Endoh2019-10-297-13/+13
| | | | | | This reverts commit b4da6fc1c277190bbd10e795ebf3be45772038e8. `make test-all` uses minitest, which led to "undefined method `omit'"
* [ruby/rdoc] Use Dir.glob to convert short path of Dir.tmpdir to long pathaycabta2019-10-291-0/+8
| | | | https://github.com/ruby/rdoc/commit/ba16e44572
* [ruby/rdoc] Support different drive latters in include pathsaycabta2019-10-292-5/+26
| | | | https://github.com/ruby/rdoc/commit/946d2592e2
* [ruby/rdoc] Use omit of test-unit instead of skip of minitestaycabta2019-10-297-13/+13
| | | | https://github.com/ruby/rdoc/commit/1c5bf2ae1d
* Check for nonnull attribute in configureNobuyoshi Nakada2019-10-292-4/+9
|
* Clang can also use C call cacheJohn Hawthorn2019-10-291-1/+1
| | | | | | | | Previously this was restricted to only gcc because of the GCC_VERSION_SINCE check (which explicitly excludes clang). GCC 3.3.0 is quite old so I feel relatively safe assuming that all reasonable versions of clang support this.
* Let the arrays for the singleton and instance method reflection helpers be ↵Lourens Naudé2019-10-291-2/+2
| | | | initialized to the methods count
* Let the backtrace array constructed in backtrace_collect be initialized with ↵Lourens Naudé2019-10-291-1/+1
| | | | the size already given
* Right size the vm_default_params hashLourens Naudé2019-10-291-1/+1
|
* Right size the Enumerator internal lazy_use_super_method hashLourens Naudé2019-10-291-1/+1
|
* Right size the compile option hashLourens Naudé2019-10-291-1/+1
|
* Right size the iseq coverage branches tmp array - initializes with 5 elementsLourens Naudé2019-10-291-1/+1
|
* Version 0.0.4aycabta2019-10-291-1/+1
|
* Restore `in_kwarg` flag properlyNobuyoshi Nakada2019-10-292-1/+2
|
* Revert "Protect finalizer references during execution"Aaron Patterson2019-10-281-12/+15
| | | | | | | | 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.
* Protect finalizer references during executionAaron Patterson2019-10-281-15/+12
| | | | | | | | | | | | | | | | 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.
* Fix continuation mark / compactAaron Patterson2019-10-281-0/+6
|
* Pin labels during disassemblyAaron Patterson2019-10-281-4/+20
| | | | | | | 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.
* Pin keys of this st_tableAaron Patterson2019-10-281-1/+1
|
* * 2019-10-29 [ci skip]git2019-10-291-1/+1
|
* Marshal is calling functions that should pin thingsAaron Patterson2019-10-281-2/+12
|
* Try out-of-place buildNobuyoshi Nakada2019-10-283-23/+48
|
* test-bundled-gems.rb: fixed for out-of-place buildNobuyoshi Nakada2019-10-281-2/+3
|
* Clean mjit and timestamp directoriesNobuyoshi Nakada2019-10-281-1/+1
|
* Add more matrix info to slack payloadKazuhiro NISHIYAMA2019-10-282-2/+2
|
* fix bug in keyword + protected combination卜部昌平2019-10-282-2/+25
| | | | Test included for the situation formerly was not working.
* * 2019-10-28 [ci skip]git2019-10-281-1/+1
|
* add assertion for mutex_lock.Koichi Sasada2019-10-281-5/+16
| | | | | After do_mutex_lock(mutex), the mutex should be owned by the current thread. Adding an assertion for this assumption.
* Add ubuntu-16.04 to matrix of GitHub ActionsKazuhiro NISHIYAMA2019-10-271-5/+4
|
* Improve Enumerator.produce docszverok2019-10-272-0/+22
| | | | | * Add to NEWS; * Add examples of while-alike cycles with practical tasks.
* 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