Activity
From 08/02/2024 to 08/08/2024
08/08/2024
-
11:13 PM Revision 77ffdfe7 (git): YJIT: Allow tracing fallback counters (#11347)
- * YJIT: Allow tracing fallback counters
* Update yjit.md about --yjit-trace-exits=counter -
08:09 PM Revision ec5436bc (git): [DOC] Tweaks for Array#[]= (#11329)
-
08:08 PM Revision e008f055 (git): [DOC] Add remark about in-brief for method doc
-
08:08 PM Revision b9a9564c (git): [DOC] Tweaks for Array#[]
-
08:08 PM Revision d657205c (git): [DOC] Tweaks for Array#[]
-
08:05 PM Revision 6fee5106 (git): [DOC] Tweaks for Array#==
- 08:02 PM Revision 64a7b87e (git): Sync rdoc to fix master doc's display issue (#11345)
- Sync rdoc
This syncs changes made in https://github.com/ruby/rdoc/pull/1148, which
will fix https://docs.ruby-lang.org/en/master/'s display on certain screens. -
04:19 PM Revision 0bff0764 (git): Make YJIT a GC root rather than an object (#11343)
- YJIT currently uses the YJIT root object to mark objects during GC and
update references during compaction. This object otherwise serves no
purpose.
This commit changes it YJIT to be step when marking the GC root. This
saves some memory... -
02:11 PM Revision 868d63f0 (git): Disable GC even during finalizing
- We're seeing a crash during shutdown in rb_gc_impl_objspace_free because
it's running lazy sweeping during shutdown. It appears that it's due to
`finalizing` being set, which causes GC to not be aborted and not
disabled which causes it t... -
11:30 AM Bug #20666: Segmentation fault instead of LoadError exception
- # Testing with `mkmf`
It is worse.
I build the extension in `Test` using `mkmf`.
Now both Ruby issue a Segmentation fault.
Ruby 3.1.6 and Ruby 3.2.5.
<br>
Using `-L<Ruby lib dir> -l<Ruby lib> <RbConfig::CONFIG["LIBS"]>`
Works with the ... -
10:07 AM Feature #20669 (Closed): Add Marshal::MarshalError class to differentiate ArgumentErrors
- Make it possible to differentiate general non-marshal errors from failures to decode Marshal data using a specific exception class.
## Background
There are a variety of error conditions that can cause Marshal to fail, including bot... - 09:07 AM Revision 11f5dc61 (git): * 2024-08-08 [ci skip]
-
09:07 AM Revision 08ff38f8 (git): Added bootstrap job for release workflow for Ruby 3.1
-
09:00 AM Revision 4d11a096 (git): Added bootstrap job for release workflow
-
09:00 AM Revision 634db38b (git): Added bootstrap job for release workflow
-
07:23 AM Revision da8cf99c (git): Added test scenario for https://github.com/ruby/ruby/pull/11322
-
07:20 AM Revision 7e0910a8 (git): We should use uplevel:2 in another case.
- Like the following scenario with bootsnap, that frames are same or smaller than frame_to_skip(=3).
---
"/Users/hsbt/.local/share/rbenv/versions/3.3-dev/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'"
"/Users/... -
06:50 AM Revision 7594a292 (git): lib/bundled_gems.rb: more reliable caller detection
- The `2` skipped frames went out of sync and now it should be `3`.
Rather than just update the offset, we can implement a way that
is adaptative as long as all require decorators are also called require.
Also we should compute the corre... -
04:24 AM Revision fa443699 (git): Partly reverted 09638741ba4d9547a0e48af8c767744fb1d7f68d
- This change didn't work with Ruby 3.3.
We should revert this to test bundled_gems.rb with Ruby 3.3. -
04:04 AM Revision 3da7e440 (git): Revert "[ruby/uri] Warn compatibility methods in RFC3986_PARSER"
- This reverts commit c3becc3ba6c584fbeabd5182e304e61529235fe6.
-
02:09 AM Revision 68ebd56a (git): [ruby/uri] Use URI::RFC2396_PARSER explicitly in URI
- https://github.com/ruby/uri/commit/898b889811
-
02:09 AM Revision c3becc3b (git): [ruby/uri] Warn compatibility methods in RFC3986_PARSER
- https://github.com/ruby/uri/commit/9997c1acee
08/07/2024
-
11:54 PM Revision 8d399391 (git): [ruby/rdoc] Use ascii chatacter in HTML file
- https://github.com/ruby/rdoc/commit/40a6690010
-
11:17 PM Revision 057c53f7 (git): Make rb_vm_invoke_bmethod() static
-
11:17 PM Revision 68a419d7 (git): Delete unused rb_check_funcall_with_hook()
- 10:49 PM Revision 34715bdd (git): Tune codegen for rb_yield() calls landing in ISeqs
- Unlike in older revisions in the year, GCC 11 isn't inlining the call
to vm_push_frame() inside invoke_iseq_block_from_c() anymore. We do
want it to be inlined since rb_yield() speed is fairly important.
Logs from -fopt-info-optimized-in... -
10:48 PM Bug #20666: Segmentation fault instead of LoadError exception
- > Note: Perhaps we are building wrongly, or we might need changes in our source code due to changes in Ruby 3.2.5.
Does it crash if you build the extension using `mkmf`? It seems `mkmf` should pass a different set of build flags than ... -
10:23 PM Bug #20666 (Open): Segmentation fault instead of LoadError exception
-
09:46 PM Bug #20666: Segmentation fault instead of LoadError exception
- ~~source.zip added~~
To build shared library using MinGW-w64 ucrt64:
`g++ -c -std=c++20 import_fragments_wrap.cxx -I<Ruby dir> -I<Ruby arch dir>`
`g++ -shared -std=c++20 import_fragments_wrap.o -L<Ruby lib dir> -l<Ruby lib> <RbConfig::C... -
08:29 PM Bug #20666: Segmentation fault instead of LoadError exception
- I do add the new Ruby to the SWIG project testing.
If I would suspect it is a SWIG bug, I would not hesitate and report it there.
The same test works with older Ruby:
ruby 3.1.6p260 (2024-05-29 revision a777087be6) [x64-mingw-ucrt]
... -
02:30 PM Bug #20666 (Feedback): Segmentation fault instead of LoadError exception
- With big and complex native extensions like SWIG, the problem is probably not in Ruby itself. The reproducer you provide is also probably too large to expect volunteers to diagnose. Maybe you should report this to SWIG, or minimize the r...
-
10:26 PM Misc #20665: Swig testing of Ruby with MinGW-w64 UCRT
- The problem was I add `-static-libstdc++ -static-libgcc` and `-lucrt` to the linking.
But once I removed and left only `-l<Ruby lib> <RbConfig::CONFIG["LIBS"]>` in linking.
All my tests passed smoothly.
Sometime Windows require some hac... -
02:31 PM Misc #20665 (Closed): Swig testing of Ruby with MinGW-w64 UCRT
-
08:42 PM Revision e271feb8 (git): Fix memory leak reported with YJIT
- The following memory leak gets reported with RUBY_FREE_AT_EXIT and YJIT
enabled because the memory for yjit_root is never freed.
STACK OF 1 INSTANCE OF 'ROOT LEAK: <calloc in rb_gc_impl_calloc>':
11 dyld ... -
07:59 PM Revision 3719b3d7 (git): [DOC] Tweaks to Array#- (#11303)
-
07:59 PM Revision 2a31410e (git): [DOC] Tweaks to Array#+ (#11302)
-
04:58 PM Feature #20621: Check libruby.so hardening by annocheck
- The libruby.so was added to the annocheck test by the PR <https://github.com/ruby/ruby/pull/11324>. I am not sure if we can close this ticket due to the PR.
By the way, if we add other so and *.o files to the test, it's better to fix ... - 04:51 PM Revision 53f3036b (git): tool/test-annocheck.sh: Refactor with double-quotes.
- 04:51 PM Revision aed468ae (git): CI: Run annocheck for libruby.so
- When building with the `--shared` option, most functionality is kept in
`libruby.so`. Therefore also run annocheck for `libruby.so`.
Use `ARG IN_DIR` to propagate multiple files into the container instead of
`ARG FILES` in the `Dockerfi... -
04:22 PM Feature #20594: A new String method to append bytes while preserving encoding
- No opinion on method name / API, but we've verified effectiveness of this optimization using our protobuf implementation and you can see the results [here](https://github.com/Shopify/protoboeuf/pull/116).
-
01:14 PM Revision 584559d8 (git): Fix leak of token_info when Ripper#warn jumps
- For example, the following code leaks:
class MyRipper < Ripper
def initialize(src, &blk)
super(src)
@blk = blk
end
def warn(msg, *args) = @blk.call(msg)
end
$VERBOSE = true
def call_pa... - 03:30 AM Revision 60bbd9e4 (git): Bump github/codeql-action from 3.25.15 to 3.26.0
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.15 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.m... - 03:29 AM Revision d5447357 (git): Bump actions/upload-artifact from 4.3.5 to 4.3.6
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/89ef40... -
03:07 AM Revision bbef31b7 (git): Fix installation failure of rss
- 01:51 AM Revision 3b6f1d18 (git): * 2024-08-07 [ci skip]
-
01:51 AM Revision e3b4c86a (git): Adjust indent
-
01:51 AM Revision ca5a6919 (git): Try to find gemspec from `.bundle/specifications
-
01:51 AM Revision 0314bc4a (git): Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.
- `.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
-
01:51 AM Revision 8d80dad6 (git): Use gemspec that keeps original dependencies
-
01:51 AM Revision bc6db54d (git): Make installation messages verbose a little [ci skip]
-
01:51 AM Revision 5b0616b2 (git): Revert "Backport https://github.com/ruby/ruby/pull/7321"
- This reverts commit 76c61c9993e59af0b4c400b44f169f4af99c3efa.
-
01:51 AM Revision b763a90f (git): Bump up REXML-3.3.4 and rss-0.3.1
-
01:17 AM Revision 671f6e78 (git): Use 20min for parallel test worker timeout
-
12:44 AM Revision fdfde6ab (git): Use SIGSEGV to kill a parallel test worker (to dump backtrace)
08/06/2024
-
07:51 PM Revision fa3d9fda (git): [DOC] Tweaks to Array#<=>
-
07:45 PM Revision 34714376 (git): [DOC] Tweaks for Array#<<
-
07:38 PM Revision a793b537 (git): [DOC] Tweaks to Array#*
-
07:37 PM Revision 66181fdd (git): [DOC] Tweak to Array#&
-
07:37 PM Revision 8aeca5ce (git): Tweaks to Array::try_convert
-
06:54 PM Revision e62c2ce0 (git): Wait a bit longer for worker quit
-
06:39 PM Revision be959c04 (git): [DOC] Tweak for Array::[]
-
05:41 PM Bug #20668 (Closed): [3.3] shareable_constant_value: literal crash - Applied in changeset commit:git|65cca99b30c65d462aa67969e0f16f6e45db4705.
----------
parse.y: const_decl_path don't replace destination node by a literal (#11314)
[Bug #20668]
The `dest` node is assumed to be a `CDECL`, so overwriting... -
10:19 AM Bug #20668: [3.3] shareable_constant_value: literal crash
- I believe I found a fix: https://github.com/ruby/ruby/pull/11314
cc @k0kubun -
05:41 PM Revision 47c45d5c (git): Add a log when SIGKILL is sent to a test parallel worker
-
05:34 PM Revision 2c35a379 (git): Fix a typo
- 05:34 PM Revision 65cca99b (git): parse.y: const_decl_path don't replace destination node by a literal (#11314)
- [Bug #20668]
The `dest` node is assumed to be a `CDECL`, so overwriting it with
a `LIT` cause a crash on the next iteration.
Co-authored-by: Jean Boussier <jean.boussier@gmail.com> -
02:47 PM Feature #17166: net/http not supporting unix domain sockets
- Then build it. If it’s as widely used as you say, the PR is sure to be accepted.
-
02:24 PM Feature #17166: net/http not supporting unix domain sockets
- That's simply wrong.
Several widely used apps offer their REST API over unix domain sockets for security reasons, e.g. LXD, snapd, docker, podman, which are just four of the most commonly used applications in the Linux world.
How ... -
01:58 PM Feature #17166 (Third Party's Issue): net/http not supporting unix domain sockets
- No it means it's a very fringe use case and nobody with that use case (including you) bothered to work on it.
It's extremely rare to use HTTP over unix sockets, and even very popular HTTP libraries for very popular languages like Pyth... -
02:19 PM Revision ced35800 (git): Fix leak in warning of duplicate keys when Ripper#warn jumps
- For example, the following code leaks:
class MyRipper < Ripper
def initialize(src, &blk)
super(src)
@blk = blk
end
def warn(msg, *args) = @blk.call(msg)
end
$VERBOSE = true
def call_pa... -
12:14 PM Feature #20594: A new String method to append bytes while preserving encoding
- > The name is `String#append_as_bytes`, and the name provides a framing of "reinterpretation" that helps to explain the behavior of the method.
I like that name, I think it clears out any possible confusion.
> ...
I retired the `*o... -
12:11 PM Revision c0938fd2 (git): Use 3min for test parallel worker timeout again
-
12:11 PM Revision 062f85e1 (git): Dump all-thread backtraces when test parallel worker exceeds time limit
-
09:59 AM Revision 116d95b4 (git): Revert "skip bundled gem rss test for a while."
- This reverts commit 0cc98ae353fd231bcd0e704c251198abc4406247.
-
09:59 AM Revision 16f795b5 (git): Reapply "merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]"
- This reverts commit 367ad5055c3d5210c884d4611e08ffa32ec608ee.
-
09:59 AM Revision 06cfabd4 (git): Adjust indent
-
09:59 AM Revision 84f2da29 (git): Try to find gemspec from `.bundle/specifications
-
09:59 AM Revision 6517f15f (git): Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.
- `.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
-
09:59 AM Revision 2e7949f0 (git): Use gemspec that keeps original dependencies
-
09:59 AM Revision 825c2450 (git): Make installation messages verbose a little [ci skip]
-
09:59 AM Revision b62e1df3 (git): Revert "Backport [Bug #19158] for Ruby 3.2 (#7356)"
- This reverts commit 65ab2c1ef23bd4a02120a27c371dce12ea9024d4.
-
09:59 AM Revision 67cd95e6 (git): tool/gen-github-release.rb required recent version of Ruby
-
09:59 AM Revision dc50d359 (git): Create GitHub Releases with GitHub Actions
-
09:09 AM Revision 267da552 (git): [ruby/uri] Fallback missing constants with RFC3986_PARSER
- (https://github.com/ruby/uri/pull/113)
* Fallback missing constants with RFC3986_PARSER
* raise missing constant
* Update test/uri/test_common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update lib/uri/common.rb
Co-a... -
07:59 AM Revision 24d46a67 (git): Extend the default timeout of parallel testing to one hour
-
06:38 AM Revision 65e3717d (git): [ruby/openssl] test/openssl/test_pkey_dsa.rb: skip all tests in FIPS mode
- OpenSSL running in the FIPS mode will stop supporting DSA key
generation and signature generation due to a FIPS 140-3 requirement.
Although it appears that FIPS 186-5 still allows signature
verification in some cases, there would be litt... -
06:00 AM Revision 30be7fb8 (git): Extend the default timeout of parallel testing
08/05/2024
-
05:28 PM Revision 3005ed68 (git): [rubygems/rubygems] Don't remove existing platform gems when PLATFORMS section is badly indented
- https://github.com/rubygems/rubygems/commit/ec099ebf1e
-
05:27 PM Revision 540bcf52 (git): [rubygems/rubygems] Fix locked source not getting respected when `bundle update <specific_gem>` is run
- https://github.com/rubygems/rubygems/commit/eec6830c04
-
05:27 PM Revision dc804bd8 (git): [rubygems/rubygems] Extract a `build_repo3` helper
- https://github.com/rubygems/rubygems/commit/d8cf4aa0cd
-
05:27 PM Revision 7d97dde2 (git): [rubygems/rubygems] Move private reader to private section
- https://github.com/rubygems/rubygems/commit/651cf3ea7a
- 05:26 PM Revision 2985770b (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.99 to 0.9.100.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.99...v0.9.100)
---
updated-depen... - 05:25 PM Revision 312a87cd (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.98 to 0.9.100.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.98...v0.9.100)
---
updated-depen... -
03:53 PM Revision dbd36e1c (git): [ruby/reline] Accept colon-style hash in test assertion
- (https://github.com/ruby/reline/pull/732)
Hash#inspect is proposed to change to {key: value, non_symbol_key => value} in https://bugs.ruby-lang.org/issues/20433#note-10
https://github.com/ruby/reline/commit/1fd73b358a -
08:40 AM Bug #20667 (Closed): Backport REXML CVE fixes
-
08:27 AM Bug #20667 (Closed): Backport REXML CVE fixes
- It would be nice to have the recent REXML CVE fixes backported everywhere.
BTW it is surprising that REXML was recently bumped in 3.1 / 3.2 branches, but 3.3 branch stays with older REXML 3.2. -
08:34 AM Bug #20668 (Closed): [3.3] shareable_constant_value: literal crash
- The following test script crashes in the parser:
```ruby
# shareable_constant_value: literal
FORM_STRATEGIES = {
'product' => Object,
'storefront_password' => String,
'contact' => Class,
}
```
The entire 3.3.x series... - 08:15 AM Revision 9d86864a (git): [ruby/uri] Add space after `bad URI`
- https://github.com/ruby/uri/commit/9f2c7ed5f2
-
08:00 AM Revision a82976bc (git): [ruby/uri] Use DEFAULT_PARSER at split, parse, join
- https://github.com/ruby/uri/commit/28af4e155a
-
06:11 AM Revision b59cbcf1 (git): Clean up empty directory
-
04:16 AM Revision 5258e8b1 (git): Make sure to always use the right `warn`
- 03:28 AM Revision f4a23d96 (git): Bump actions/upload-artifact from 4.3.4 to 4.3.5
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256... -
02:58 AM Revision 7285e764 (git): Fix truffleruby removing gems from lockfile
- When resolving on truffleruby, and multiple platforms are included in
the lockfile, Bundler will not respect existing platforms, but always
force ruby variants. That means removal of existing version specific
variants, introducing lockfi... -
02:28 AM Revision a35d3248 (git): [ruby/optparse] Fix parsing array arguments with `:into` option
- https://github.com/ruby/optparse/commit/19700e96d8
-
01:12 AM Misc #20665: Swig testing of Ruby with MinGW-w64 UCRT
- Maybe https://github.com/ruby/setup-ruby/ helps you?
- 12:27 AM Revision cbc40bb1 (git): Sync rdoc
08/04/2024
-
11:41 PM Feature #17166: net/http not supporting unix domain sockets
- Now this is almost four years old without any reaction at all.
Has anyone ever taken any notice of this problem, which affects a lot of people which are those REST API frameworks? Or is ruby dead, and it's time to find a new language... -
06:36 PM Bug #20666 (Open): Segmentation fault instead of LoadError exception
- Using ruby -v
ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x64-mingw-ucrt]
From [GitHub windows 2022](https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
)
We run the SWIG test:
[import_fragme... -
04:53 PM Misc #20665: Swig testing of Ruby with MinGW-w64 UCRT
- I manage to run Ruby version 3.1.6 with MinGW-w64 UCRT.
I have a crash with 3.2.5, which I will investigate.
This bug can be closed!
Erez -
04:12 PM Misc #20665 (Closed): Swig testing of Ruby with MinGW-w64 UCRT
- Hi,
I try to add SWIG project testing with already installed Ruby on [GitHub Windows2022](https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md).
I manage to test with Ruby version 3.0.7 and instal... -
03:59 PM Bug #20662: pack("g") completely discards any actual NaN value and always packs the same single-precision bytes for a NaN
- > cabo (Carsten Bormann) wrote:
> ...
Right. The only interface Ruby provides to NaN values is via pack/unpack.
>> - `pack("g")` completely discards any actual NaN value and always packs the same bytes for a NaN
> ...
Indeed.
Th... - 02:53 PM Revision 7d5cb457 (git): [ruby/irb] Remove Ruby version checks
- (https://github.com/ruby/irb/pull/985)
https://github.com/ruby/irb/commit/9ce6972e71
08/03/2024
-
06:39 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- These options should take callables in this proposal. Procs and Methods certainly meet the condition: "Any value that responds to to_proc and returns a Proc object is accepted in these options".
The implementation does not bother to ca... -
06:22 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- This proposal is based on the potential use cases I have experienced over the years. I've rarely seen a need for infinite sequences that can be defined with produce, and that is why I want to give produce() a feature-complete constructo...
-
05:31 PM Feature #20664: Add `before` and `until` options to Enumerator.produce
- I am not sure about this API.
I think in language core there aren’t many APIs that accept just a symbol of a necessary method (only `reduce(:+)` comes to mind, and I am still not sure why this form exists, because it seems to have be... -
04:41 PM Feature #20664 (Open): Add `before` and `until` options to Enumerator.produce
- Enumerator.produce provides a nice way to generate an infinite sequence but is a bit awkward to define how to end a sequence. It lacks a simple and easy way to produce typical finite sequences in an intuitive syntax.
This proposal at... -
09:28 AM Bug #20662: pack("g") completely discards any actual NaN value and always packs the same single-precision bytes for a NaN
- cabo (Carsten Bormann) wrote:
> pack("G")/unpack("G") works great with NaN values. However,
First, Ruby provides only `Float::NAN`, and does not consider payloads of NaN values.
> ...
Since `"G"` preserves the payload, it may be better... -
07:30 AM Revision b7086613 (git): Extend timeout in test/ruby/test_file_exhaustive.rb
- 07:01 AM Revision 657f4b99 (git): Update bundled gems list as of 2024-08-02
-
05:39 AM Revision 42cd267b (git): Reduce noise in object generation count tests
- The parallel testing framework may create strings in a separate thread.
```
1) Failure:
TestStringMemory#test_byteslice_prefix [D:/a/ruby/ruby/src/test/ruby/test_string_memory.rb:40]:
One object allocation is expected, but alloc... -
05:30 AM Bug #20663 (Rejected): Reading characters from IO does not recover gracefully from bad data pushed via IO#ungetc
- If bytes that result in at least 2 invalid characters for the internal encoding of an IO object are pushed into the internal buffer with IO#getc, reading from the stream returns invalid characters composed of both bytes from the internal...
-
01:53 AM Revision e5fb851f (git): Delete unused declaration
08/02/2024
-
08:25 PM Revision 23837c51 (git): Show where objects were allocated on allocation count tests
- 07:45 PM Revision 04a6165a (git): YJIT: Enhance the `String#<<` method substitution to handle integer codepoint values. (#11032)
- * Document why we need to explicitly spill registers.
* Simplify passing a byte value to `str_buf_cat`.
* YJIT: Enhance the `String#<<` method substitution to handle integer codepoint values.
* YJIT: Move runtime type check into YJIT.... -
07:20 PM Misc #20639 (Closed): Request to host C API docs on docs.ruby-lang.org
- Thanks very much!
We can now work on making the docs even better over time. -
05:09 PM Feature #20594: A new String method to append bytes while preserving encoding
- Let me present an alternative design that only adds one method. The name is
String#append_as_bytes, and the name provides a framing of "reinterpretation"
that helps to explain the behavior of the method.
```
call-seq:
append_as_... -
03:20 PM Bug #20662 (Feedback): pack("g") completely discards any actual NaN value and always packs the same single-precision bytes for a NaN
- `pack("G")`/`unpack("G")` works great with NaN values. However,
- `pack("g")` completely discards any actual NaN value and always packs the same bytes for a NaN
("bug as implemented" in `VALUE_to_float`)
Also:
- `unpack("g")... -
02:29 PM Revision 3f93ef06 (git): Show what objects were actually allocated on allocation count tests
- According to Launchable, these tests fail randomly
```
Failure:
TestStringMemory#test_byteslice_prefix [D:/a/ruby/ruby/src/test/ruby/test_string_memory.rb:33]:
<1> expected but was
<2>.
```
https://app.launchableinc.com/organizations/r... -
01:21 PM Feature #14602: Version of dig that raises error if a key is not present
- > Matz was interested in how dig_fetch or fetch_dig would sound to English native speakers.
As a native english speaker, "dig_fetch" sounds natural and makes sense to me. -
09:26 AM Revision 7fc6448e (git): Fix ceil when ndigits is large
- [Bug #20654]
This commit fixes Integer#ceil and Float#ceil when the number is
negative and ndigits is large such that 10**ndigits is a bignum.
Previously, it would return 0 in such cases. However, this would cause
unexpected behaviour ... -
09:26 AM Revision 7048fbdf (git): Fix floor when ndigits is large
- [Bug #20654]
This commit fixes Integer#floor and Float#floor when the number is
negative and ndigits is large such that 10**ndigits is a bignum.
Previously, it would return 0 in such cases. However, this would cause
unexpected behaviou... -
06:50 AM Misc #20661 (Closed): Stop retrying tests in `make test-all` command by default
- ## Summary
Currently, tests are retried once if they fail when tests are executed as parallel tests in the `make test-all` command by default. This is to prevent test failures caused by parallel testing. That's why failed tests are ex... -
03:07 AM Revision 303d2319 (git): Auto-purge after package release
-
02:42 AM Revision 0aaff217 (git): Notify ruby-build for definition update
-
02:37 AM Revision 66cbafc6 (git): Refactor to use `tokenize_ident` instead of `TOK_INTERN` and `set_yylval_name`
-
01:20 AM Misc #20509: Document importance of #to_ary and #to_hash for Array#== and Hash#==
- As you may know, but for the record, I add just some background.
The rationale for `to_ary` is a compromise between duck typing and efficiency.
Following the principles of duck typing, a method that accepts an Array should access its... -
01:00 AM Revision f070a9d8 (git): Notify update workflow for all-ruby
- https://github.com/ruby/all-ruby/blob/master/.github/workflows/update.yml