Project

General

Profile

Activity

From 09/05/2024 to 09/11/2024

Today

12:47 PM Revision 309362d6 (git): [DOC] Tweaks for Array#dig
burdettelamar (Burdette Lamar)
12:36 PM Revision c7e18621 (git): [DOC] Tweaks for Array#delete_at
burdettelamar (Burdette Lamar)
12:33 PM Revision 3aeb9c75 (git): [DOC] Related for Array#delete_if
burdettelamar (Burdette Lamar)
11:28 AM Revision e52d4d46 (git): [rubygems/rubygems] Fix `bundle exec rake install` failing when local gem has extensions and `gemspec` DSL is being used
In a `bundle exec` context, the local specification will actually be
part of the known specifications, so RubyGems wi...
deivid (David Rodríguez)
11:28 AM Revision 89eba507 (git): [rubygems/rubygems] Only raise DSLError during Gemfile parsing when it's actually useful
DSLError prints the specific line in a Gemfile where the error was
raised. That's helpful when the error was explicit...
deivid (David Rodríguez)
11:28 AM Revision 1d72b3bd (git): [rubygems/rubygems] Don't rescue Exception when evaluating Gemfile
Things like OOM, or StackOverflow should be raised immediately.
https://github.com/rubygems/rubygems/commit/11691ce492
deivid (David Rodríguez)
11:28 AM Revision f0b9baa2 (git): [rubygems/rubygems] Refactor setting current gemfile in DSL
https://github.com/rubygems/rubygems/commit/b4ecb66224 deivid (David Rodríguez)
11:28 AM Revision 1d768ebd (git): [rubygems/rubygems] The `dsl_path` parameter in DSLError is documented as a string
https://github.com/rubygems/rubygems/commit/ab44fa9ee4 deivid (David Rodríguez)
10:49 AM Bug #20723: `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
I've added the following work-around: <https://github.com/socketry/io-stream/commit/7d1546fa829d3fe046f66f559d9a77449... ioquatix (Samuel Williams)
09:44 AM Bug #20723: `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
It may be related to https://github.com/ruby/ruby/commit/66871c5a06d723f8350935ced1e88d8cc929d809 ioquatix (Samuel Williams)
09:42 AM Bug #20723 (Open): `IO#close` is broken on Ruby 3.3+ when using the Fiber scheduler.
The following program seems to work okay on Ruby 3.2 but hangs on Ruby 3.3:
```ruby
#!/usr/bin/env ruby
requir...
ioquatix (Samuel Williams)
09:35 AM Feature #20594: A new String method to append bytes while preserving encoding
I agree with @Dan0042, the new API should not have this error-prone behavior, it should raise if out of bounds instea... Eregon (Benoit Daloze)
09:20 AM Feature #20594: A new String method to append bytes while preserving encoding
Dan0042 (Daniel DeLorme) wrote in #note-31:
> Ironically, HexaPDF now uses an explicit modulo 256, so it would actua...
gettalong (Thomas Leitner)
02:34 AM Feature #20594: A new String method to append bytes while preserving encoding
Ironically, HexaPDF now uses an explicit modulo 256, so it would actually be fine if #setbyte raised an out-of-bound ... Dan0042 (Daniel DeLorme)
01:54 AM Feature #20594: A new String method to append bytes while preserving encoding
Dan0042 (Daniel DeLorme) wrote in #note-29:
> I understand the idea of keeping things consistent. But why does `setb...
shyouhei (Shyouhei Urabe)
01:32 AM Feature #20594: A new String method to append bytes while preserving encoding
I understand the idea of keeping things consistent. But why does `setbyte` have this behavior in the first place? A f... Dan0042 (Daniel DeLorme)
09:13 AM Revision baac5376 (git): Use macos? helper
hsbt (Hiroshi SHIBATA)
09:13 AM Revision 74c3259c (git): macOS 10.13(High Sierra) is already EOL
hsbt (Hiroshi SHIBATA)
09:01 AM Revision 0b11e039 (git): Fix wrong NODE name
ydah (Yudai Takada)
09:01 AM Revision d03e0d1c (git): Implement BREAK, NEXT and REDO NODE locations
ydah (Yudai Takada)
05:13 AM Revision f7ffa763 (git): Clean up clean only extensions
The clean targets should clean up all extensions, including those have
nothing to build for any reason, e.g., platfor...
nobu (Nobuyoshi Nakada)
05:09 AM Revision cb576c13 (git): Fix duplicate dependency lines
exts.mk should deal with cleanings of extensions, including bundled
gems.
nobu (Nobuyoshi Nakada)
05:07 AM Bug #20722 (Open): curious search result order on docs.ruby-lang.org
If you search for "String" on https://docs.ruby-lang.org/en/3.3/ the first four results returned are obscure:
1. G...
masterleep2 (Bill Lipa)
04:49 AM Revision 6c16598a (git): [ruby/pathname] use delete_prefix instead of sub in find method
delete_prefix with a string is easier to read than a regular expression
also it should be faster. It is available sin...
Ivan Kuchin
04:41 AM Revision c37b6677 (git): [rubygems/rubygems] Make an exe file executable when generating new gems
Currently, an exe file isn't executable when generating new gems
because it doesn't have the correct permission.
This...
y-yagi (Yuji Yaginuma)
12:44 AM Bug #20721 (Closed): Gem executables have a .lock file in Ruby 3.3.5
With Ruby 3.3.5, every gem executable under `$prefix/bin` has a `.lock` file. This was [an unintended change](https:/... k0kubun (Takashi Kokubun)
12:38 AM Revision 55ddfd58 (git): Fixes [Bug #20718] (#11576)
Fixes [Bug #20718]
Allow objects that are not of type `RTypedData` to use the default free function, as `RTYPEDDATA_...
jcalvert (Jonathan Calvert)
12:28 AM Revision 4e6091ce (git): Implement WHILE and UNTIL NODE locations
ydah (Yudai Takada)

09/10/2024

09:50 PM Feature #20594: A new String method to append bytes while preserving encoding
Dan0042 (Daniel DeLorme) wrote in #note-27:
> > > For integers, the i & 0xff masking behavior comes from String#setb...
tenderlovemaking (Aaron Patterson)
06:36 PM Feature #20594: A new String method to append bytes while preserving encoding
> > For integers, the i & 0xff masking behavior comes from String#setbyte.
>
> I agree it makes sense to mirror `s...
Dan0042 (Daniel DeLorme)
07:38 PM Revision 1adcc41b (git): [DOC] What's Here for String#append_as_bytes
String#append_as_bytes was newly introduced in #11552. peterzhu2118 (Peter Zhu)
07:38 PM Revision a723d480 (git): [DOC] Tweaks for Array#delete
burdettelamar (Burdette Lamar)
07:37 PM Revision 7ec51310 (git): [DOC] Related for Array#cycle
burdettelamar (Burdette Lamar)
07:37 PM Revision a055a426 (git): [DOC] Related for Array#count
burdettelamar (Burdette Lamar)
07:36 PM Revision ff43e618 (git): [DOC] Related for Array#concat
burdettelamar (Burdette Lamar)
07:31 PM Revision b27a128d (git): [DOC] Related for Array#compact
burdettelamar (Burdette Lamar)
07:31 PM Revision 648866b6 (git): [DOC] Related for Array#combination
burdettelamar (Burdette Lamar)
07:30 PM Revision 175a98d5 (git): [DOC] Related for Array#collect!
burdettelamar (Burdette Lamar)
06:53 PM Revision 316c2001 (git): Related for Array#collect
burdettelamar (Burdette Lamar)
06:07 PM Revision 07a0aa9b (git): [DOC] Fix link
burdettelamar (Burdette Lamar)
06:04 PM Revision 5df574d2 (git): [DOC] Fix links
burdettelamar (Burdette Lamar)
06:03 PM Revision ec3851e6 (git): [DOC] Related for Array#clear
burdettelamar (Burdette Lamar)
06:02 PM Revision bd9fa014 (git): [DOC] Related for Array bsearch methods
burdettelamar (Burdette Lamar)
06:01 PM Revision 3d09242c (git): [DOC] Related for Array#at
burdettelamar (Burdette Lamar)
06:00 PM Revision a552e04d (git): [DOC] Related for Array#assoc
burdettelamar (Burdette Lamar)
06:00 PM Revision b420b094 (git): [DOC] Related for Array#push
burdettelamar (Burdette Lamar)
06:00 PM Revision ccd35eae (git): [DOC] Rationalize aliases in What's Here
burdettelamar (Burdette Lamar)
02:46 PM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Hi Evans,
Thank you for your guidance and the quick fix.
I truly appreciate it
natton (Tien Truong)
05:25 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
I was able to track down the cause and submitted a pull request to fix this: https://github.com/ruby/ruby/pull/11582
...
jeremyevans0 (Jeremy Evans)
02:09 PM Revision 22f12b0a (git): Use rb_id_table_foreach_values for marking CC table
We don't use the key, so we can speed it up by not needing to convert the
key to ID in the iterator.
peterzhu2118 (Peter Zhu)
01:49 PM Bug #20472: Ractor support for ** into hash literal
I've created a patch here: https://github.com/luke-gru/ruby/tree/20472 (the latest commit)
For kwsplat, it just call...
luke-gru (Luke Gruber)
01:22 PM Feature #18368: Range#step semantics for non-Numeric ranges
The compatibility with `(:a .. :z).step(3)` has also been restored.
https://github.com/ruby/ruby/pull/11573
knu (Akinori MUSHA)
09:15 AM Misc #20013: Travis CI status
I see the case that the jobs are running with showing the outputs (and failing as expected).
https://app.travis-ci.c...
jaruga (Jun Aruga)
09:10 AM Misc #20013: Travis CI status
We drop Travis CI for ruby/zlib, ruby/prism too. Because the Travis infra issues are still ongoing since my last repo... jaruga (Jun Aruga)
08:44 AM Revision a79907ed (git): [ruby/tmpdir] Reject empty parent path
https://github.com/ruby/tmpdir/commit/628c5bdc59 nobu (Nobuyoshi Nakada)
08:34 AM Revision 3231ac60 (git): [ruby/resolv] test_dns: Fix FD leak
The listening TCP socket is closed by `with_udp_and_tcp` helper, but
the connected socket is leaking.
```
Leaked fil...
hanazuki (Kasumi Hanazuki)
08:33 AM Revision f6225488 (git): [ruby/resolv] Add spec extensions
https://github.com/ruby/resolv/commit/3189d16b69 nobu (Nobuyoshi Nakada)
08:19 AM Revision 14c72e96 (git): Remove an unnecessary blank line added by mistake [ci skip]
nobu (Nobuyoshi Nakada)
08:05 AM Bug #20667: Backport REXML CVE fixes
https://github.com/ruby/ruby/pull/11581 hsbt (Hiroshi SHIBATA)
07:50 AM Revision 2d12fbc4 (git): Add predicates for platforms
nobu (Nobuyoshi Nakada)
07:07 AM Revision a3ba723e (git): Suppress constant warning for test-bundled-gems-spec
hsbt (Hiroshi SHIBATA)
07:00 AM Revision 30d00a0b (git): * 2024-09-10 [ci skip]
git[bot]
07:00 AM Revision b33c3311 (git): Improve base time of assert_linear_performance (#11369)
Remove `.ceil` from base time calculation that makes 10x gap.
This will make the assertion more strict and also less ...
tompng (tomoya ishida)
07:00 AM Revision af17a34c (git): Added explicitly begin-end block for Ruby 2.4.
strscan, ipaddr and some default gems still support Ruby 2.4.
After this, I extract this CoreAssertions to their r...
hsbt (Hiroshi SHIBATA)
07:00 AM Revision ebd44ef5 (git): Suppress warning for shadowing outer local variable
hsbt (Hiroshi SHIBATA)
07:00 AM Revision bfa4073d (git): core_assertions.rb: Support old rubies
Some symbol argument might not be accepted by Process.clock_gettime. nobu (Nobuyoshi Nakada)
07:00 AM Revision e67ef294 (git): core_assertions.rb: Prefer CPU time clocks
To prevent influence from other processes. nobu (Nobuyoshi Nakada)
07:00 AM Revision 7bb789bf (git): core_assertions.rb: Extract common code block
nobu (Nobuyoshi Nakada)
07:00 AM Revision d86deaf3 (git): core_assertions.rb: Tweak timeout limit
Increase the timeout limit when variance at rehearsal is small. nobu (Nobuyoshi Nakada)
07:00 AM Revision afbae64f (git): Skip assert_linear_performance for RJIT
k0kubun (Takashi Kokubun)
07:00 AM Revision 8562b665 (git): Bump up REXML-3.3.7
hsbt (Hiroshi SHIBATA)
03:24 AM Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
The following case is resolved at Xcode CLI RC and macOS 15.1 beta3
> pid = fork { p File.realpath "/" }
> Proces...
hsbt (Hiroshi SHIBATA)
02:50 AM Revision 3db27827 (git): [rubygems/rubygems] Mark to exclude examples at ruby/ruby repository
`make test-bundler` on ruby/ruby don't have installed gemspec.
So, `require "psych"` didn't activate psych as default...
hsbt (Hiroshi SHIBATA)
02:50 AM Revision a5d658cb (git): [rubygems/rubygems] Removed duplicated dependencies that used by bundler inline
https://github.com/rubygems/rubygems/commit/d46b6a49af hsbt (Hiroshi SHIBATA)
02:50 AM Revision 3725c388 (git): [rubygems/rubygems] Added example for bundler/inline conflict
https://github.com/rubygems/rubygems/commit/6b1e8a14bd hsbt (Hiroshi SHIBATA)
02:50 AM Revision f8f9cecd (git): [rubygems/rubygems] Retry resolution with activated gems if inline has conflicts
https://github.com/rubygems/rubygems/commit/8d94c14ca0
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
deivid (David Rodríguez)
02:50 AM Revision 07fa9e3a (git): [rubygems/rubygems] Remove unnecessary verification
`DSL#to_definition` already verifies this.
https://github.com/rubygems/rubygems/commit/c596f0af83
deivid (David Rodríguez)
02:50 AM Revision d6baa625 (git): [rubygems/rubygems] Avoid having to redefine `Definition#lock` in inline mode
https://github.com/rubygems/rubygems/commit/0b7be7bb77
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
deivid (David Rodríguez)
02:37 AM Feature #15554: warn/error passing a block to a method which never use a block
This is a bit off-topic, but I've often thought it would be nice to have multiple "levels" of warnings. So we could h... Dan0042 (Daniel DeLorme)

09/09/2024

11:16 PM Feature #13820: Add a nil coalescing operator
Ruby already has the safe navigation operator `?.`, added back in Ruby 2.3, which was definitely a step in the right ... TylerRick (Tyler Rick)
07:28 PM Revision 88723dd5 (git): [DOC] Fix missing colons in String
peterzhu2118 (Peter Zhu)
07:26 PM Revision bd7bc9e2 (git): [DOC] Rationalize aliases in "What's Here" (#11517)
burdettelamar (Burdette Lamar)
07:24 PM Revision 2b1147f1 (git): [DOC] Rationalize aliases in "What's Here" (#11516)
burdettelamar (Burdette Lamar)
07:01 PM Revision 7a653345 (git): [ruby/prism] Fix a token incompatibility for `Prism::Translation::Parser::Lexer`
This PR fixes a token incompatibility between Parser gem and `Prism::Translation::Parser` for double splat argument.
...
koic (Koichi ITO)
02:55 PM Revision 1205f171 (git): ASAN unlock freelist in size_pool_add_page
peterzhu2118 (Peter Zhu)
02:24 PM Bug #20710 (Closed): Reducing Hash allocation introduces large performance degradation (probably related to VWA)
Applied in changeset commit:git|079ef92b5e59b616d670efe81a33e500f2bf6451.
----------
Implement global allocatable sl...
peterzhu2118 (Peter Zhu)
07:25 AM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
@peterzhu2118 Thanks for your work! I've confirmed this PR improves the performance in my environment too. pocke (Masataka Kuwabara)
02:23 PM Revision f2057277 (git): ASAN unlock freelist in gc_sweep_step
peterzhu2118 (Peter Zhu)
02:15 PM Revision 5a502c18 (git): Add keys to GC.stat and fix tests
This adds keys heap_empty_pages and heap_allocatable_slots to GC.stat. peterzhu2118 (Peter Zhu)
02:15 PM Revision 079ef92b (git): Implement global allocatable slots and empty pages
[Bug #20710]
This commit introduces moves allocatable slots and empty pages from per
size pool to global. This allow...
peterzhu2118 (Peter Zhu)
02:15 PM Revision de7ac11a (git): Replace heap_allocated_pages with rb_darray_size
peterzhu2118 (Peter Zhu)
02:15 PM Revision b66d6e48 (git): Switch sorted list of pages in the GC to a darray
peterzhu2118 (Peter Zhu)
01:05 PM Feature #20594 (Closed): A new String method to append bytes while preserving encoding
Applied in changeset commit:git|16f241f0aa047ed77ccea6b6c361b421a72d0454.
----------
Implement String#append_as_byte...
byroot (Jean Boussier)
01:04 PM Revision 16f241f0 (git): Implement String#append_as_bytes(String | Integer, ...)
[Feature #20594]
A handy method to construct a string out of multiple chunks.
Contrary to `String#concat`, it doesn...
byroot (Jean Boussier)
11:59 AM Revision 966901b3 (git): [rubygems/rubygems] Don't include hook templates in cached git source
With a default git setup, each cloned repo in the cache will end up with
~60K of sample git hooks. These files all en...
dodecadaniel (Daniel Colson)
10:22 AM Revision 3aae0873 (git): Update clang for LTO
nobu (Nobuyoshi Nakada)
10:12 AM Revision 391bb55a (git): Run just bignum related tests when gmp enabled
nobu (Nobuyoshi Nakada)
08:46 AM Revision d7b0f269 (git): Return back legacy Range#step behavior for symbol ranges
zverok (Victor Shepelev)
08:46 AM Revision 15598941 (git): [rubygems/rubygems] Avoid now unnecessary reset
https://github.com/rubygems/rubygems/commit/511c7b211b deivid (David Rodríguez)
08:46 AM Revision 72e80c8f (git): [rubygems/rubygems] Make `gem exec` use the standard GEM_HOME
https://github.com/rubygems/rubygems/commit/032b3c518a deivid (David Rodríguez)
08:44 AM Revision a304fe00 (git): [rubygems/rubygems] Fix `gem fetch` always exiting with zero status code
https://github.com/rubygems/rubygems/commit/5887e6dfa1 deivid (David Rodríguez)
07:25 AM Revision a2ae7450 (git): Suppress discards qualifiers warning with ASN
nobu (Nobuyoshi Nakada)
06:47 AM Revision 330b2ffb (git): Update default gems list at 2d4fdafa64cc3153792c870a56971a [ci skip]
git[bot]
06:46 AM Revision 2d4fdafa (git): [ruby/psych] Bump up 5.2.0.beta1
https://github.com/ruby/psych/commit/a8b73bb80e hsbt (Hiroshi SHIBATA)
06:44 AM Revision 74872109 (git): [ruby/psych] Unlimited line_width with -1
https://github.com/ruby/psych/commit/3b63a93dfc xuanxu (Juanjo Bazan)
06:43 AM Revision dbfabafe (git): [ruby/psych] Make to load stringio lazily
https://github.com/ruby/psych/commit/9f5392d180 hsbt (Hiroshi SHIBATA)
06:40 AM Revision aed8e461 (git): [ruby/psych] docs: specify correct default `fallback` value
https://github.com/ruby/psych/commit/ce7946981d Gareth Jones
03:26 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
natton (Tien Truong) wrote in #note-4:
> I am new here so is there anything I can do to escalate this or how can I h...
jeremyevans0 (Jeremy Evans)
02:39 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Hi Evans,
Thank you for your confirmation.
I am new here so is there anything I can do to escalate this or how ca...
natton (Tien Truong)
02:35 AM Feature #20309: Bundled gems for Ruby 3.5
> No. irb is available as bundled gems.
Sorry, I misunderstood.
ima1zumi (Mari Imaizumi)
12:16 AM Feature #20309: Bundled gems for Ruby 3.5
>Does this change mean that even if Ruby is installed, the irb command will no longer be available?
No. `irb` is a...
hsbt (Hiroshi SHIBATA)
01:34 AM Revision d52e5995 (git): Implement WHEN NODE locations
ydah (Yudai Takada)
12:10 AM Revision b5f12910 (git): The Timeout::Error example no longer works consistently
* This PR from the timeout gem (https://github.com/ruby/timeout/pull/30) made it so you have to handle_interrupt on T... jpcamara (JP Camara)

09/08/2024

04:43 PM Revision 19c1f023 (git): [ruby/benchmark] Set required_ruby_version = ">= 2.1.0"
`Process.clock_gettime` only works since 2.1
https://github.com/ruby/benchmark/commit/94cfe56291
Earlopain (A S)
03:51 PM Revision ac960b08 (git): Clean up dummped IBF files
nobu (Nobuyoshi Nakada)
02:40 PM Revision 6e544f2f (git): Initialize goruby only when executing
nobu (Nobuyoshi Nakada)
02:40 PM Revision ecb58a8d (git): Fix prelude to use IBF
Since universal-parser and prism support, prelude code used functions
inaccessible from outside libruby shared librar...
nobu (Nobuyoshi Nakada)
02:16 PM Revision 70871fa6 (git): Extract `rb_builtin_find`
Refactor out the same code from `rb_builtin_ast_value` and
`pm_builtin_ast_value.
nobu (Nobuyoshi Nakada)
02:16 PM Revision be84abff (git): Gather code for builtin loading to miniinit.c
nobu (Nobuyoshi Nakada)
02:16 PM Revision d2179eea (git): Try to run goruby
nobu (Nobuyoshi Nakada)
02:13 PM Revision 903f3790 (git): [ruby/open-uri] Update error message for `request_specific_fields` option validation
Added `inspect` to the `request_specific_fields` value to provide
better visibility for users in the exception messag...
otegami
02:13 PM Revision 76475bf5 (git): [ruby/open-uri] Add documentation for `request_specific_fields` option
https://github.com/ruby/open-uri/commit/2e7734c061 otegami
02:12 PM Revision 0ac16215 (git): [ruby/open-uri] Add test about `request_specific_fields` option
https://github.com/ruby/open-uri/commit/060886f312 otegami
02:12 PM Revision 6ea2b6f6 (git): [ruby/open-uri] Add `request_specific_fields` option for customizing headers
This commit introduces the `request_specific_fields` option in OpenURI.
It provides two methods for customizing heade...
otegami
12:17 PM Revision ec5d5422 (git): [ruby/rdoc] Use pointer cursor for navigation toggle
(https://github.com/ruby/rdoc/pull/1175)
https://github.com/ruby/rdoc/commit/964a1982c8
Mads Ohm Larsen

09/07/2024

10:36 PM Revision 47742841 (git): [ruby/prism] Fix a token incompatibility for `Prism::Translation::Parser::Lexer`
This PR fixes a token incompatibility between Parser gem and `Prism::Translation::Parser` for left parenthesis.
## P...
koic (Koichi ITO)
05:00 PM Bug #20718: Objects created with Data_Make_Struct and the default free function are not freed
I think this issue was introduced in 3.3? Let me know if not and I'll update the backport target.
Also for 3.3 the...
byroot (Jean Boussier)
03:19 AM Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
Applied in changeset commit:git|c1a510a8dffa1c8065e47697cd57edae67126712.
----------
[Bug #20718] Free non-`RTypedDa...
jcalvert (Jonathan Calvert)
04:22 PM Bug #20720: prism incorrectly marks SuperNode as forwarding in some cases
PR here: https://github.com/ruby/ruby/pull/11565 luke-gru (Luke Gruber)
01:26 PM Bug #20720 (Open): prism incorrectly marks SuperNode as forwarding in some cases
```ruby
class A
def foo(*b, &block)
end
end
class B < A
def foo(...)
super()
puts "2"
end
...
luke-gru (Luke Gruber)
08:29 AM Bug #20719 (Closed): `Float` converts ASCII-incompatible string
Applied in changeset commit:git|c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
----------
[Bug #20719] `Float` argument m...
nobu (Nobuyoshi Nakada)
07:01 AM Bug #20719 (Closed): `Float` converts ASCII-incompatible string
```ruby
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
```
While:
```ruby
Integer("\u{3036...
nobu (Nobuyoshi Nakada)
07:34 AM Revision f97332a3 (git): Preserve encoding in exception message of `Float`
nobu (Nobuyoshi Nakada)
07:06 AM Revision c1862cbb (git): [Bug #20719] `Float` argument must be ASCII compatible
nobu (Nobuyoshi Nakada)
03:19 AM Revision c1a510a8 (git): [Bug #20718] Free non-`RTypedData` objects
Allow objects that are not of type `RTypedData` to use the default
free function, as `RTYPEDDATA_EMBEDDED_P` can retu...
jcalvert (Jonathan Calvert)
12:00 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
This behavior isn't related to `instance_method`. It occurs in the following code:
```ruby
module A
def test(...
jeremyevans0 (Jeremy Evans)

09/06/2024

09:55 PM Bug #20718: Objects created with Data_Make_Struct and the default free function are not freed
I have added a pull request that should patch the issue. https://github.com/ruby/ruby/pull/11563 - I was able to buil... jcalvert (Jonathan Calvert)
09:45 PM Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
I discovered a memory leak when using the FFI gem prior to version 1.16 and Ruby 3.3 and up.
During debugging I fo...
jcalvert (Jonathan Calvert)
09:50 PM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
I implemented @byroot's suggestion in this PR: https://github.com/ruby/ruby/pull/11562
It significantly improves t...
peterzhu2118 (Peter Zhu)
09:26 PM Revision 6dc93846 (git): [ruby/rdoc] Add more space after magnifying glass
(https://github.com/ruby/rdoc/pull/1173)
https://github.com/ruby/rdoc/commit/6a9cad4c54
Mads Ohm Larsen
08:51 PM Revision 731805dd (git): Add an explicit check for broken libunwind builds
Libunwind as packaged in MacOS cannot actually unwind code which has
pointer authentication on, because _LIBUNWIND_IS...
kjtsanaktsidis (KJ Tsanaktsidis)
08:51 PM Revision 2865148a (git): Revert "Check for both aarch64 and arm64 arch's for pac-ret"
This reverts commit 6a746e1bc902d4245aac58db4e9ffc2f72d79629.
This patch breaks the C level backtrace on macOS ARM m...
peterzhu2118 (Peter Zhu)
07:13 PM Feature #20715: `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
> it would be nice to do the same for Fiber and Thread as well
Would also be the occasion for `Thread[]` to be ac...
byroot (Jean Boussier)
03:38 PM Feature #20715: `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
+1, makes perfect sense (IMO it would be nice to do the same for Fiber and Thread as well but out of scope of this is... Eregon (Benoit Daloze)
06:52 PM Bug #20501: ruby SEGV
Okay, I figured out what's happening. In compile.c, new LABELs are allocated from an arena, and this is using xmalloc... luke-gru (Luke Gruber)
05:24 PM Bug #20501: ruby SEGV
This is a weird way to reproduce, but you can see it on https://runruby.dev/ if you comment out the Gemfile and put t... luke-gru (Luke Gruber)
04:45 PM Bug #20501: ruby SEGV
I'm not able to reproduce on Linux with this script using either master HEAD or 5613d6e95b. mdalessio (Mike Dalessio)
03:15 PM Bug #20501: ruby SEGV
I'm on x86-64 linux so that might have to do with it. I'll investigate a bit more. luke-gru (Luke Gruber)
02:20 AM Bug #20501: ruby SEGV
luke-gru (Luke Gruber) wrote in #note-5:
> For example, this is a minimal reproduction:
I can't reproduce it with...
nobu (Nobuyoshi Nakada)
06:44 PM Revision b0adae7f (git): [rubygems/rubygems] Remove unnecessary "./" when appending string to uri
https://github.com/rubygems/rubygems/commit/732679306d deivid (David Rodríguez)
06:44 PM Revision fe1bace4 (git): [rubygems/rubygems] Fix `gem install does-not-exist` being super slow
Every time a gem is not found in the Compact Index API, RubyGems will
fallback to the full index, which is very slow....
deivid (David Rodríguez)
06:44 PM Revision 2a17b4f0 (git): [rubygems/rubygems] Deprecate constant that has been unused for a long time
https://github.com/rubygems/rubygems/commit/282dbb3d62 deivid (David Rodríguez)
06:44 PM Revision 4478ca31 (git): [rubygems/rubygems] Remove incorrect documentation
This exception has not been raised for a long time.
https://github.com/rubygems/rubygems/commit/a6271a0b21
deivid (David Rodríguez)
06:44 PM Revision 53f78417 (git): [rubygems/rubygems] Remove unreachable code
Nothing is actually raising this at the moment.
https://github.com/rubygems/rubygems/commit/3b824ca7a6
deivid (David Rodríguez)
04:58 PM Revision ad742de7 (git): [ruby/openssl] Fix test_provider.rb in FIPS.
https://github.com/ruby/openssl/commit/7bdbc52100 Jun Aruga
02:48 PM Feature #20309: Bundled gems for Ruby 3.5
Does this change mean that even if Ruby is installed, the irb command will no longer be available?
If that is the ca...
ima1zumi (Mari Imaizumi)
05:35 AM Feature #20309: Bundled gems for Ruby 3.5
I will warn `benchmark`, `irb` and `reline` at Ruby 3.4. and make them and `readline` wrapper to bundled gems at Ruby... hsbt (Hiroshi SHIBATA)
02:46 PM Revision 30176e3f (git): [rubygems/rubygems] Ensure that the lock file will be removed
https://github.com/rubygems/rubygems/commit/2706acb271 nobu (Nobuyoshi Nakada)
02:46 PM Revision 6dd917bd (git): [rubygems/rubygems] Workaround for TruffleRuby
https://github.com/rubygems/rubygems/commit/b82e43fd54 nobu (Nobuyoshi Nakada)
02:46 PM Revision 5afee4d7 (git): [rubygems/rubygems] Remove the lock file for binstubs
https://github.com/rubygems/rubygems/pull/7806#issuecomment-2241662488
https://github.com/rubygems/rubygems/commit/4...
nobu (Nobuyoshi Nakada)
01:56 PM Revision 6bf519ba (git): Remove unneeded rb_darray_append_impl
peterzhu2118 (Peter Zhu)
12:58 PM Revision 37712c1e (git): Prefer constants for `shutdown` over magic numbers
nobu (Nobuyoshi Nakada)
10:40 AM Feature #20702 (Closed): Add `Array#fetch_values`
Applied in changeset commit:git|bc85c8d8529b58c5c649f418ca549569ba348caa.
----------
Implement Array#fetch_values
[...
byroot (Jean Boussier)
10:40 AM Revision bc85c8d8 (git): Implement Array#fetch_values
[Feature #20702]
Works the same way than `Hash#fetch_values` for for array.
byroot (Jean Boussier)
08:06 AM Feature #20705: Should "0.E-9" be a valid float value?
> But I think it's good to make Float/to_f to accept "0.e-9"
Changing `String#to_f` introduces incompatibility:
```...
mrkn (Kenta Murata)
02:48 AM Feature #20705: Should "0.E-9" be a valid float value?
Implementation: https://github.com/ruby/ruby/pull/11559
Should we also accept "0." as @mame showed in #2? The impl...
kou (Kouhei Sutou)
06:53 AM Revision 214668fc (git): [Feature #20707] Fix negative UTC offset conversion
In short, get rid of division and modulo of negative integers. nobu (Nobuyoshi Nakada)
05:58 AM Revision 7387a097 (git): [ruby/digest] Suppress md5 deprecation warnings by gcc as well as clang
https://github.com/ruby/digest/commit/76878e3201 nobu (Nobuyoshi Nakada)
05:45 AM Revision 0e7b6e34 (git): Merge GH-11492
hsbt (Hiroshi SHIBATA)
05:45 AM Revision 74c4e562 (git): Warn missing irb cases
hsbt (Hiroshi SHIBATA)
05:45 AM Revision 1b4f394c (git): Only provide force_activate. Because it's hard to determine require name.
hsbt (Hiroshi SHIBATA)
05:45 AM Revision 69d0e690 (git): Added force_require for binding.irb
When we make irb to bundled gems, binding.irb with bundle exec is not
working without irb declaration of Gemfile.
Th...
hsbt (Hiroshi SHIBATA)
05:45 AM Revision e43d701f (git): Warn irb, reline for Ruby 3.5
hsbt (Hiroshi SHIBATA)
04:22 AM Misc #20717 (Open): DevMeeting-2024-10-03
# The next dev meeting
**Date: 2024/10/03 13:00-17:00** (JST)
Log: *TBD*
- Dev meeting *IS NOT* a decision-mak...
mame (Yusuke Endoh)
04:21 AM Misc #20660 (Closed): DevMeeting-2024-09-05
mame (Yusuke Endoh)
03:46 AM Feature #20673: Enable native SOCKS support by default
As for the current SOCKS support at least, if the necessary library and header are found `socket.so` uses SOCKS funct... nobu (Nobuyoshi Nakada)
03:42 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Yes, you are correct. This isn't specific to `define_method`. I modified the snippet a little bit
```
module A
d...
natton (Tien Truong)
03:32 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
This appears to be a method caching bug in `super`. If you remove the `.call(1)`, then it works correctly. `super_m... jeremyevans0 (Jeremy Evans)
02:04 AM Bug #20716 (Open): Different instance_method behavior in Ruby 2.7 and Ruby 3.x
Hi, I am working on upgrading our project from 2.7 to 3.x and found a breaking change in `instance_method` behavior.
...
natton (Tien Truong)
02:20 AM Feature #20692: Rewrite Array#bsearch in Ruby
I tried `make test-all TESTS=test/ruby/test_array.rb` with the proposed implementation, but several tests failed. The... mame (Yusuke Endoh)
01:00 AM Revision 948ca04a (git): Allow failures for all Travis jobs
Every job on Travis is unstable now. k0kubun (Takashi Kokubun)
12:55 AM Revision c3f7041a (git): Merge reline-0.5.10 (#11558)
* Merge reline-0.5.8
* Merge reline-0.5.9
* Merge reline-0.5.10
hsbt (Hiroshi SHIBATA)
12:45 AM Misc #20658 (Closed): Dropping the Arm Neoverse (Ubuntu) server on RubyCI
"Arm Neoverse (Ubuntu)" has been removed from https://rubyci.org/. hsbt (Hiroshi SHIBATA)
12:44 AM Bug #20711 (Closed): readline/reline duplicate display of prompt
https://github.com/ruby/ruby/pull/11558 hsbt (Hiroshi SHIBATA)
12:32 AM Revision 81b74c9f (git): Update default gems list at e17d91459cc1f806b31feaff0cdbaa [ci skip]
git[bot]
12:31 AM Revision e17d9145 (git): [ruby/time] Bump up v0.4.0
https://github.com/ruby/time/commit/a14fa00ef7 hsbt (Hiroshi SHIBATA)

09/05/2024

10:37 PM Revision 72acd1c8 (git): [ruby/time] Do not redefine Time#xmlschema if it already exists
[Feature #20707]
Ruby 3.4 will define this method natively, so the time gem shouldn't
redefine it with a slower vers...
byroot (Jean Boussier)
08:34 PM Feature #20692: Rewrite Array#bsearch in Ruby
I think this is a good idea, but I think we need to make a few changes. First, `to_enum` and `block_given?` are both... tenderlovemaking (Aaron Patterson)
07:39 PM Revision f250296e (git): YJIT: Speed up block_assumptions_free (#11556)
k0kubun (Takashi Kokubun)
06:34 PM Feature #20702: Add `Array#fetch_values`
Implementation: https://github.com/ruby/ruby/pull/11555 byroot (Jean Boussier)
08:46 AM Feature #20702: Add `Array#fetch_values`
Looks like a good idea. Accepted.
Matz.
matz (Yukihiro Matsumoto)
06:03 PM Revision cf3b62b5 (git): Fix check_tempfile_leak in leakchecker.rb
The instance variable @tmpfile was removed in ddcfc9f so check_tempfile_leak
did not work.
peterzhu2118 (Peter Zhu)
05:31 PM Bug #20501: ruby SEGV
I created a patch here: https://github.com/ruby/ruby/pull/11554. I'm new to the code in compile.c so perhaps someone ... luke-gru (Luke Gruber)
05:23 PM Feature #20707 (Closed): Move `Time#xmlschema` into core
Applied in changeset commit:git|57e3fc32ea83e55d40f4cc6c3e437d485c506d34.
----------
Move Time#xmlschema in core and...
byroot (Jean Boussier)
07:39 AM Feature #20707: Move `Time#xmlschema` into core
Accepted.
Matz.
matz (Yukihiro Matsumoto)
05:23 PM Revision 57e3fc32 (git): Move Time#xmlschema in core and optimize it
[Feature #20707]
Converting Time into RFC3339 / ISO8601 representation is an significant
hotspot for applications th...
byroot (Jean Boussier)
04:53 PM Revision d4de8aef (git): `rake install` command is failed (#1170)
* `rake install` command is failed
\### Problems
Several file paths were changed by following PR.
- https://github...
mterada1228
02:36 PM Feature #20673: Enable native SOCKS support by default
@nobu there has perhaps been a misunderstanding. The `socksify` library works adequately for HTTP today, but it patch... MatzFan (Brian Cohen)
01:20 PM Feature #20673: Enable native SOCKS support by default
At the developers' meeting, there was an opinion that we could drop the support for SOCKS if it works well with `sock... nobu (Nobuyoshi Nakada)
12:49 PM Revision ffebc1c7 (git): Update default gems list at 721a2ceecfe3e3f943b7da50efe8f1 [ci skip]
git[bot]
12:48 PM Revision 721a2cee (git): [ruby/reline] Bump version to 0.5.10
(https://github.com/ruby/reline/pull/745)
https://github.com/ruby/reline/commit/0ebd54f675
ima1zumi (Mari Imaizumi)
12:22 PM Revision be6d2364 (git): [ruby/reline] Prevent a warning for `warning: literal string will be
frozen in the future`
(https://github.com/ruby/reline/pull/744)
https://github.com/ruby/reline/commit/69c95c8b6a
ima1zumi (Mari Imaizumi)
10:57 AM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
The `rdoc` warning is from `irb` itself: https://github.com/ruby/irb/pull/999
Earlopain (A S)
10:46 AM Feature #20684 (Closed): Add optimized instructions for frozen literal Hash and Array
Applied in changeset commit:git|a99707cd9c6a1d53cf8ebc883dc210219bd67a28.
----------
Optimized instruction for Array...
etienne (Étienne Barrié)
06:08 AM Feature #20684: Add optimized instructions for frozen literal Hash and Array
Makes sense, thank you Matz! byroot (Jean Boussier)
05:50 AM Feature #20684: Add optimized instructions for frozen literal Hash and Array
Basically agreed. But the existence (and side effect) of this optimization should be implementation defined, especial... matz (Yukihiro Matsumoto)
10:46 AM Revision bf987979 (git): Optimized instruction for Hash#freeze
If a Hash which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the i...
etienne (Étienne Barrié)
10:46 AM Revision a99707cd (git): Optimized instruction for Array#freeze
If an Array which is empty or only using literals is frozen, we detect
this as a peephole optimization and change the...
etienne (Étienne Barrié)
10:11 AM Feature #15554: warn/error passing a block to a method which never use a block
> Warning category option like
I think this is the better option as it build on top of an existing interface.
...
byroot (Jean Boussier)
03:02 AM Feature #15554: warn/error passing a block to a method which never use a block
As @Eregon mentioned on #60 we need to discuss how to enable strict mode.
https://hackmd.io/CoLraFp_QrqyHBcv3g8bVg?vi...
ko1 (Koichi Sasada)
09:43 AM Feature #20590 (Closed): Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo`
Applied in changeset commit:git|63cbe3f6ac9feb44a2e43b1f853e2ca7e049316c.
----------
Proof of Concept: Allow to prev...
byroot (Jean Boussier)
09:43 AM Revision 63cbe3f6 (git): Proof of Concept: Allow to prevent fork from happening in known fork unsafe API
[Feature #20590]
For better of for worse, fork(2) remain the primary provider of
parallelism in Ruby programs. Even ...
byroot (Jean Boussier)
09:23 AM Bug #20690 (Rejected): URI.encode_www_form_component method escapes tilde when it's not supposed to
`URI.encode_www_form_component` is designed for HTML form submission.
It is not whatt RFC3986 defines as "Percent-En...
naruse (Yui NARUSE)
09:05 AM Feature #20705: Should "0.E-9" be a valid float value?
It seems a bug in missing/dtoa.c. nobu (Nobuyoshi Nakada)
08:49 AM Feature #20705: Should "0.E-9" be a valid float value?
We are not going to change the literal format of floating point values. But I think it's good to make Float/to_f to a... matz (Yukihiro Matsumoto)
08:54 AM Feature #20703: Alias StringIO#string to StringIO#to_s/to_str
Since `StringIO` is a IO-like object, not String-like object, so it should not provide `to_str`. And string body of a... matz (Yukihiro Matsumoto)
08:30 AM Feature #20703 (Rejected): Alias StringIO#string to StringIO#to_s/to_str
At this developers' meeting, no one was favor of this.
IMO, `StringIO` is not a `String`-like object.
nobu (Nobuyoshi Nakada)
08:41 AM Revision 2e5680d3 (git): [ruby/openssl] Fix test_pkey_rsa.rb in FIPS.
* test_sign_verify
I created the signature text (`signature_encoded.txt`), that is used as a
text to create the `...
Jun Aruga
07:55 AM Revision 08e142b2 (git): Refactor `getlogin` and `getpw*` functions
- Extract functions to check not-found conditions
- Set the length to the result of `rb_getlogin`
- Reentrant version...
nobu (Nobuyoshi Nakada)
07:01 AM Revision 630bfd36 (git): Update bundled gems list as of 2024-09-04
git[bot]
06:26 AM Bug #20714 (Assigned): Handle optional dependencies in `bundled_gems.rb`
hsbt (Hiroshi SHIBATA)
06:24 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
deivid (David Rodríguez) wrote in #note-6:
> Is it as simple as https://github.com/ruby/ruby/pull/11550?
I had so...
Earlopain (A S)
05:56 AM Bug #20675 (Closed): Parse error with required kwargs and omitted parens
OK, I understand the reason and background of this behavior. The issue is withdrawn.
Matz.
matz (Yukihiro Matsumoto)
04:54 AM Feature #20594: A new String method to append bytes while preserving encoding
`String#append_as_bytes` looks good to me too. Accepted.
Matz.
matz (Yukihiro Matsumoto)
04:03 AM Revision 32680f54 (git): Implement AND/OR NODE operator locations
ydah (Yudai Takada)
02:48 AM Feature #20627: `require` on Ractor should run on the main Ractor
I want to add new features:
* `Ractor._activated` which is called when the first `Ractor.new` is called
* `Ractor...
ko1 (Koichi Sasada)
02:35 AM Feature #20715 (Open): `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
Trivial proposal.
Now `Ractor#[]/#[]=` is supported to access current ractor local storage. However, it doesn't al...
ko1 (Koichi Sasada)
 

Also available in: Atom