| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This reverts commit b4da6fc1c277190bbd10e795ebf3be45772038e8.
`make test-all` uses minitest, which led to "undefined method `omit'"
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/ba16e44572
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/946d2592e2
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/1c5bf2ae1d
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
initialized to the methods count
|
|
|
|
| |
the size already given
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Test included for the situation formerly was not working.
|
| |
|
|
|
|
|
| |
After do_mutex_lock(mutex), the mutex should be owned by the current
thread. Adding an assertion for this assumption.
|
| |
|
|
|
|
|
| |
* Add to NEWS;
* Add examples of while-alike cycles with practical tasks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
* Move Unicode changes under String / Unicode for consistency with the rest.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve reference to particular response
classes from HTTPResponse class docs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Actualize Notes about other templating engines;
* Document #location= method.
|
| |
|
| |
|
|
|
|
|
|
| |
For readability. Requested by ko1.
See: https://github.com/ruby/ruby/commit/356e203a3acd4d3d20ba12f956fd22e17b6363e9#r35661401
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Raises an error on end-exclusive ranges unless endless, regardless
the receiver.
|
|
|
|
|
|
| |
Gem::Specification#add_development_dependency.
https://github.com/ruby/forwardable/commit/1e7123a81b
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/forwardable/commit/1a994c90e1
|