| Age | Commit message (Collapse) | Author |
|
* `rake install` command is failed
\### Problems
Several file paths were changed by following PR.
- https://github.com/ruby/rdoc/commit/4211292ffe80dd4737db2450d72df404a9d55051
- https://github.com/ruby/rdoc/commit/d7bca12c13b8b3f1632d698d497e67d4ea8a88bc
Because rdoc.gemspec doesn't take in this changes,
the `rake install` command is permanently failed.
\### Test
\#### before
```console
❯ bundle exec rake install
Running RuboCop...
Inspecting 4 files
....
4 files inspected, no offenses detected
Tip: Based on detected gems, the following RuboCop extension libraries
might be helpful:
* rubocop-rake (https://rubygems.org/gems/rubocop-rake)
You can opt out of this message by adding the following to your config
(see
https://docs.rubocop.org/rubocop/extensions.html#extension-suggestions
for more options):
AllCops:
SuggestExtensions: false
rake aborted!
Running `gem build -V
/Users/mterada/dev/redDataTools/remove_dependency/rdoc/rdoc.gemspec`
failed with the following output:
WARNING: See https://guides.rubygems.org/specification-reference/ for
help
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
["RI.rdoc", "lib/rdoc/alias.rb", "lib/rdoc/anon_class.rb",
"lib/rdoc/any_method.rb", "lib/rdoc/attr.rb",
"lib/rdoc/class_module.rb", "lib/rdoc/constant.rb",
"lib/rdoc/context.rb", "lib/rdoc/context/section.rb",
"lib/rdoc/extend.rb", "lib/rdoc/ghost_method.rb", "lib/rdoc/include.rb",
"lib/rdoc/meta_method.rb", "lib/rdoc/method_attr.rb",
"lib/rdoc/mixin.rb", "lib/rdoc/normal_class.rb",
"lib/rdoc/normal_module.rb", "lib/rdoc/require.rb",
"lib/rdoc/single_class.rb", "lib/rdoc/top_level.rb"] are not files
/Users/mterada/.rbenv/versions/3.1.0/bin/bundle:25:in `load'
/Users/mterada/.rbenv/versions/3.1.0/bin/bundle:25:in `<main>'
Tasks: TOP => install => build
(See full trace by running task with --trace)
```
\#### after
```console
❯ bundle exec rake install
Running RuboCop...
Inspecting 4 files
....
4 files inspected, no offenses detected
Tip: Based on detected gems, the following RuboCop extension libraries might be helpful:
* rubocop-rake (https://rubygems.org/gems/rubocop-rake)
You can opt out of this message by adding the following to your config (see https://docs.rubocop.org/rubocop/extensions.html#extension-suggestions for more options):
AllCops:
SuggestExtensions: false
rdoc 6.7.0 built to pkg/rdoc-6.7.0.gem.
rdoc (6.7.0) installed.
```
* Add a `bundle exec rake install` step to github workflow
* make intentionally CI failed
* Revert "make intentionally CI failed"
This reverts commit 9fc5dd9423a024594ad26d86a8a6af829e7017f8.
|
|
|
|
(https://github.com/ruby/reline/pull/745)
https://github.com/ruby/reline/commit/0ebd54f675
|
|
frozen in the future`
(https://github.com/ruby/reline/pull/744)
https://github.com/ruby/reline/commit/69c95c8b6a
|
|
If a Hash which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the instructions to be
`opt_hash_freeze`.
[Feature #20684]
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/11406
|
|
If an Array which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the instructions to be
`opt_ary_freeze`.
[Feature #20684]
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/11406
|
|
[Feature #20590]
For better of for worse, fork(2) remain the primary provider of
parallelism in Ruby programs. Even though it's frowned uppon in
many circles, and a lot of literature will simply state that only
async-signal safe APIs are safe to use after `fork()`, in practice
most APIs work well as long as you are careful about not forking
while another thread is holding a pthread mutex.
One of the APIs that is known cause fork safety issues is `getaddrinfo`.
If you fork while another thread is inside `getaddrinfo`, a mutex
may be left locked in the child, with no way to unlock it.
I think we could reduce the impact of these problem by preventing
in for the most notorious and common cases, by locking around
`fork(2)` and known unsafe APIs with a read-write lock.
Notes:
Merged: https://github.com/ruby/ruby/pull/10864
|
|
* test_sign_verify
I created the signature text (`signature_encoded.txt`), that is used as a
text to create the `signature0` in the `test_sign_verify` by the following
steps with the `openssl` CLI on FIPS module.
```
$ OPENSSL_DIR="${HOME}/.local/openssl-3.4.0-dev-fips-debug-3c6e114959"
$ export OPENSSL_CONF="${OPENSSL_DIR}/ssl/openssl_fips.cnf"
$ echo -n "Sign me!" > data.txt
$ "${OPENSSL_DIR}/bin/openssl" dgst -sha256 -sign test/openssl/fixtures/pkey/rsa2048.pem data.txt > signature.txt
$ cat signature.txt | base64 > signature_encoded.txt
```
https://github.com/ruby/openssl/commit/091f3eb421
|
|
- Extract functions to check not-found conditions
- Set the length to the result of `rb_getlogin`
- Reentrant versions return an error numeber but not `errno`
- Check maybe-undefined macros with `defined`
Notes:
Merged: https://github.com/ruby/ruby/pull/11551
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11543
|
|
Followup: a3f589640fd443deea230c27efd6bdfc92f5817f
Restarting scanning has a fixed cost. Since we build a string
from many small parts, that causes the scan to restart many times.
It's much faster to ignore the coderange, if it's needed later it
will be faster to scan it in one go.
```
compare-ruby: ruby 3.4.0dev (2024-09-04T11:54:06Z opt-strftime-growth 149480f0ff) +YJIT [arm64-darwin23]
built-ruby: ruby 3.4.0dev (2024-09-04T11:55:26Z opt-strftime-coder.. 29a5153cba) +YJIT [arm64-darwin23]
warming up...
| |compare-ruby|built-ruby|
|:---------------------------|-----------:|---------:|
|time.strftime("%FT%T") | 1.870M| 2.225M|
| | -| 1.19x|
|time.strftime("%FT%T.%3N") | 1.731M| 2.068M|
| | -| 1.19x|
|time.strftime("%FT%T.%6N") | 1.744M| 2.073M|
| | -| 1.19x|
```
Cumulative with a3f589640fd443deea230c27efd6bdfc92f5817f:
```
compare-ruby: ruby 3.4.0dev (2024-09-04T11:55:26Z opt-strftime-coder.. 29a5153cba) +YJIT [arm64-darwin23]
built-ruby: ruby 3.4.0dev (2024-09-04T12:57:30Z opt-strftime-coder.. 2b938d667a) +YJIT [arm64-darwin23]
warming up...
| |compare-ruby|built-ruby|
|:---------------------------|-----------:|---------:|
|time.strftime("%FT%T") | 1.784M| 2.277M|
| | -| 1.28x|
|time.strftime("%FT%T.%3N") | 1.504M| 2.056M|
| | -| 1.37x|
|time.strftime("%FT%T.%6N") | 1.489M| 2.094M|
| | -| 1.41x|
```
Notes:
Merged: https://github.com/ruby/ruby/pull/11544
|
|
* Fix synopsis for mutually exclusive options.
* Add more descriptive examples.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
https://github.com/rubygems/rubygems/commit/c0f1efda69
Co-authored-by: Jerome Dalbert <jerome.dalbert@gmail.com>
|
|
|
|
https://github.com/ruby/prism/commit/8a3fa9f46e
|
|
https://github.com/ruby/prism/commit/369b2c1304
|
|
https://github.com/ruby/prism/commit/9c68c01bcd
|
|
https://github.com/ruby/prism/commit/fa65b66237
|
|
Use a classic doubling of capacity rather than only adding
twice as much capacity as is already known to be needed.
```
compare-ruby: ruby 3.4.0dev (2024-09-04T09:21:53Z opt-strftime-2 ae98d19cf9) +YJIT [arm64-darwin23]
built-ruby: ruby 3.4.0dev (2024-09-04T11:46:02Z opt-strftime-growth 586263d6fb) +YJIT [arm64-darwin23]
warming up...
| |compare-ruby|built-ruby|
|:---------------------------|-----------:|---------:|
|time.strftime("%FT%T") | 1.754M| 1.889M|
| | -| 1.08x|
|time.strftime("%FT%T.%3N") | 1.508M| 1.749M|
| | -| 1.16x|
|time.strftime("%FT%T.%6N") | 1.488M| 1.756M|
| | -| 1.18x|
compare-ruby: ruby 3.4.0dev (2024-09-04T09:21:53Z opt-strftime-2 ae98d19cf9) +YJIT [arm64-darwin23]
built-ruby: ruby 3.4.0dev (2024-09-04T09:21:53Z opt-strftime-2 ae98d19cf9) +YJIT [arm64-darwin23]
warming up...
```
Notes:
Merged: https://github.com/ruby/ruby/pull/11542
|
|
using local overrides
https://github.com/rubygems/rubygems/commit/0a6c1c53ce
|
|
logic and actual differential rendering part
(https://github.com/ruby/reline/pull/731)
https://github.com/ruby/reline/commit/c90f08f7e3
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11540
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11539
|
|
Fixed https://github.com/rubygems/rubygems/pull/7996
https://github.com/rubygems/rubygems/commit/16bfcac883
|
|
|
|
Although `pend` in test-unit gem expects the block does not pass if it
is given, our `pend` should ignore the block silently as same as it
just skips the test with no message by default. Add an unused
parameter, to suppress the warning for the block to be ignored.
Notes:
Merged: https://github.com/ruby/ruby/pull/11538
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11531
|
|
Co-Authored-By: Martin Dorey <martin.dorey@hds.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/11537
|
|
|
|
Some packaging systems that include support for running tests,
such as OpenBSD's, do not allow outbound network connections
during testing for security reasons. EACCES is the error raised by
OpenBSD in this case.
Notes:
Merged: https://github.com/ruby/ruby/pull/11535
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
|
|
|
|
The object could be garbage (e.g. T_NONE, T_MOVED, or T_ZOMBIE) so we
don't want to traverse those.
|
|
|
|
subclasses
https://github.com/rubygems/rubygems/commit/6d5fbf82f1
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11534
|
|
run without RDoc
(https://github.com/ruby/irb/pull/998)
* EasterEgg no longer depend on RDoc
* Run most of the input-method tests even if RDoc is not avialable
https://github.com/ruby/irb/commit/30fa1595d9
|
|
(https://github.com/ruby/reline/pull/741)
* Fix reset variables
* Add assertion for reload
* Add helper method to get instance variable value of Reline::Config
https://github.com/ruby/reline/commit/386f619ff5
|
|
(https://github.com/ruby/reline/pull/742)
* Fix redisplay/insert_text called from pre_input_hook
* Rename insert_pasted_text to insert_multiline_text
It is now used from Reline.insert_text which is not inserting pasted text
https://github.com/ruby/reline/commit/694a540939
|
|
This commit removes the need for the GC implementation to implement heap
walking and instead Ruby will implement it.
Notes:
Merged: https://github.com/ruby/ruby/pull/11511
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11530
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11523
|
|
Profiling of `JSON.dump` shows a significant amount of time spent
in `rb_enc_str_asciionly_p`, in large part because it fetches the
encoding.
It can be made twice as fast in this scenario by first checking the
coderange and only falling back to fetching the encoding if the
coderange is unknown.
Additionally we can skip fetching the encoding for the common
popular encodings.
Notes:
Merged: https://github.com/ruby/ruby/pull/11533
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11454
|
|
|
|
This reverts commit 6986536488ba23c033c043ef8765438f22df7bf5.
We were just missing the secrets.
|
|
|
|
|