| Age | Commit message (Collapse) | Author |
|
The current example raises the following error.
```ruby
0..chr # => undefined local variable or method `chr' for main:Object (NameError)
```
This PR updates the example to produce the expected behavior.
```ruby
0.chr # => "\x00"
```
Notes:
Merged: https://github.com/ruby/ruby/pull/5550
|
|
PSAPI library has not been used since d66c5768caaee16a0c2c2c641185.
|
|
https://github.com/ruby/rdoc/commit/a93e1bcd68
|
|
So that the generated `.rdoc_options` file is loadable.
https://github.com/ruby/rdoc/commit/6cf6e1647b
|
|
https://github.com/ruby/rdoc/commit/8166b84cf3
|
|
|
|
(https://github.com/ruby/rdoc/pull/821)
This patch makes sure we only load relative code. Hence when coding or
testing rdoc, we'll be sure to always be using the correct code.
Discussion started at https://github.com/ruby/rdoc/pull/817.
Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com>
https://github.com/ruby/rdoc/commit/aa41bd48eb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
look-ahead rule
This improves the performance in some cases.
`rdoc .../gems/sinatra-2.1.0/README.md` takes 10.5 sec. before this
change, and 7.1 sec. after this change.
`make rdoc` of ruby/ruby takes 19.3 sec. before this change, 18.1 sec.
after this change.
https://github.com/ruby/rdoc/commit/7cf8281e3e
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5545
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5540
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5548
|
|
|
|
|
|
https://github.com/rubygems/rubygems/commit/666f3cc724
|
|
sources
https://github.com/rubygems/rubygems/commit/9712262d90
|
|
|
|
Set `--page-dir` option so that direct rdoc call is consistent
with `make html`.
|
|
Cached mark stack chunks should also be freed when freeing objspace.
Notes:
Merged: https://github.com/ruby/ruby/pull/5536
|
|
|
|
|
|
https://github.com/ruby/ipaddr/commit/6edf6ee6c3
|
|
https://github.com/ruby/ipaddr/commit/77fe1fca0a
|
|
Before it would be left as an IPv6 mask causing `to_range` to fail.
```
>> IPAddr.new("::2").native.to_range
/opt/rubies/3.0.3/lib/ruby/3.0.0/ipaddr.rb:479:in `set': invalid address (IPAddr::InvalidAddressError)
```
https://github.com/ruby/ipaddr/commit/af485192f3
|
|
An almost universal convention for gems is to expose Namespace::VERSION
which makes it much easier when debugging etc.
https://github.com/ruby/ipaddr/commit/587ae6996e
|
|
Previously, include? would return true for the end of the range,
when it should return false because the range is exclusive.
Research and Analysis by Victor Shepelev.
Fixes [Bug #18577]
Notes:
Merged: https://github.com/ruby/ruby/pull/5541
|
|
Inside ObjectSpace.reachable_objects_from we keep an internal identhash
in order to de-duplicate reachable objects when wrapping them as
InternalObject. Previously this hash was not hidden, making it possible
to leak references to those internal objects to Ruby if using
ObjectSpace.each_object.
This commit solves this by hiding the hash. To simplify collection of
values, we instead now just use the hash as a set of visited objects,
and collect an Array (not hidden) of values to be returned.
Notes:
Merged: https://github.com/ruby/ruby/pull/5542
|
|
https://github.com/rubygems/rubygems/commit/bc69d19097
|
|
See also https://github.com/llvm/llvm-project/commit/a2601c98873376bbbeff4b6eddf0f4d920535f8b
Notes:
Merged: https://github.com/ruby/ruby/pull/5538
|
|
|
|
tab->entries_bound is used to check if the bins are full in
rebuild_table_if_necessary.
Hash#shift against an empty hash assigned 0 to tab->entries_bound, but
didn't clear the bins. Thus, the table is not rebuilt even when the bins
are full. Attempting to add a new element into full-bin hash gets stuck.
This change stops clearing tab->entries_bound in Hash#shift.
[Bug #18578]
Notes:
Merged: https://github.com/ruby/ruby/pull/5539
|
|
https://github.com/ruby/rdoc/commit/45e33c4b85
|
|
https://github.com/ruby/rdoc/commit/63fac51198
|
|
https://github.com/ruby/rdoc/commit/69cafb213a
|
|
https://github.com/ruby/rdoc/commit/17c0da304d
|
|
https://github.com/ruby/rdoc/commit/b6c6d4f978
|
|
https://github.com/ruby/rdoc/commit/52c33157f1
|
|
Make operator methods, e.g., `Regexp#=~`, `Integer#<=>`, cross
reference targets.
https://github.com/ruby/rdoc/commit/5d332a4128
|
|
Currently only `rb_struct_define_without_accessor` is supported by
https://github.com/ruby/rdoc/pull/73. We should support other
three functions too.
https://github.com/ruby/rdoc/commit/d42288f06c
|
|
|
|
Should also the label in an explicit `rdoc-ref:` link be converted
in the future?
|
|
Mostly suppressing links to itself.
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5522
|
|
|
|
Once https://github.com/ruby/rdoc/pull/865 is merged, these hacks
are no longer needed.
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5530
|