Activity
From 01/12/2024 to 01/18/2024
01/18/2024
-
10:55 PM Bug #20001 (Closed): Make Ruby work properly with ASAN enabled
- Applied in changeset commit:git|807714447ef02c77bb0e17fe27d96ee2692264f8.
----------
Pass down "stack start" variabl... -
10:55 PM Revision 61da90c1 (git): Mark asan fake stacks during machine stack marking
- ASAN leaves a pointer to the fake frame on the stack; we can use the
__asan_addr_is_in_fake_stack API to work out the... - 10:55 PM Revision 3cfcb45e (git): Define special macros for asan/msan being enabled
- __has_feature is a clang-ism, and GCC has a different way to tell if
sanitizers are enabled. For this reason, I don't... - 10:55 PM Revision cabdaebc (git): Make stack bounds detection work with ASAN
- Where a local variable is used as part of the stack bounds detection, it
has to actually be on the stack. ASAN can pu... - 10:55 PM Revision 80771444 (git): Pass down "stack start" variables from closer to the top of the stack
- This commit changes how stack extents are calculated for both the main
thread and other threads. Ruby uses the addres... -
10:49 PM Revision 08edad31 (git): [rubygems/rubygems] Drop two TODOs from specification.rb
- These were introduced 13 years ago, in a documentation update. Perhaps we can let the TODOs go, without taking any ac...
-
09:33 PM Revision c28094d3 (git): [PRISM] Add function to free scope node
- pm_scope_node_destroy frees the scope node after we're done using it to
make sure that the index_lookup_table is not ... -
09:33 PM Revision 47081c3e (git): [PRISM] Pass pm_scope_node_t by reference
- We can pass pm_scope_node_t by reference to pm_new_child_iseq rather
than by value. -
08:28 PM Feature #16495: Inconsistent quotes in error messages
- Let me add a little to the matz's decision.
At the dev meeting, he said that we will replace with a single quote, no... -
03:24 PM Feature #16495: Inconsistent quotes in error messages
- Great to see progress on this issue.
Agreed, for method names and file names, single quotes are best.
Backticks are... -
01:43 PM Feature #16495: Inconsistent quotes in error messages
- I'd like something that's convenient to copy-paste. Testing:
with single quote pair:
undefined local variable or ... -
07:54 AM Feature #16495: Inconsistent quotes in error messages
- I agree with giving up backquotes. I'd rather use single quote pairs, unless any compatibility issues are caused.
... -
08:25 PM Revision 60dd7311 (git): [PRISM] Correct checkmatch flags for splat in rescue
-
08:03 PM Revision 8a3e7f08 (git): [PRISM] Fix case splat with no predicate
-
07:59 PM Revision 686b1655 (git): [PRISM] Fix indentation in switch [ci skip]
-
07:40 PM Revision 33306a08 (git): YJIT: Stop incrementing chain_depth on defer_compilation (#9597)
-
06:40 PM Revision d8ac96ef (git): [PRISM] Fix memory leak in case nodes
- The temporary array conditions_labels is heap allocated and never freed.
We can use alloca instead to stack allocate ... -
06:37 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- @Eregon I feel we need to recenter the discussion to consider `const_source_location` under the current logic that un...
-
05:32 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- On a related note IIRC the recent-ish change was on failed autoload, the autoload and its constant would be completel...
-
05:25 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- fxn (Xavier Noria) wrote in #note-8:
> @Eregon I see what you mean, but you can't make that consistent, because by t... -
05:14 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- To me, this should be the same logic of `Kernel#require`. Whatever side-effects happened while loading the file remai...
-
05:08 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- @Eregon I see what you mean, but you can't make that consistent, because by that logic
```ruby
Bar = 1
p Bar
``... -
04:58 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- fxn (Xavier Noria) wrote in #note-5:
> That output was meant to be what I'd expect from the previous example (which t... -
04:02 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- The general principle at place here would be: Ruby does not undo side-effects of code evaluation. If you defined a gl...
-
03:58 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- > I think Module#const_source_location should not trigger the autoload, at least such a change seems out of scope of ...
-
03:36 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- `p Object.const_source_location(:Bar) # ["/tmp/bar.rb", 1]`
I think `Module#const_source_location` should not trig... -
05:38 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Unfortunately I still get the same error in the non-test project (not fiber_blocker). I've included `<ruby/fiber/sche...
- 05:32 PM Revision d3b07b98 (git): [ruby/psych] Add :stringify_names option to convert symbol keys to string for dumping
- https://github.com/ruby/psych/commit/3d051d89aa
-
03:35 PM Revision 00814fd6 (git): [PRISM] Fix memory leak in iseq
- rb_iseq_compile_prism_node calls both rb_translate_prism and iseq_setup.
Both of these functions call iseq_set_sequen... -
03:19 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- I think everyone's opinion on the thread is pretty clear and not everyone agrees, that's fine.
@matz Could you dec... -
12:58 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> I think this example should raise an exception:
>
> ```rub... -
03:15 PM Revision ef685554 (git): [DOC] RDoc for ARGF (#9558)
-
02:32 PM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- Thank you for comments.
I agree that I need to reconsider the current implementation, as resolving the hostname in an... -
04:28 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- shioimm (Misaki Shioi) wrote in #note-2:
> shugo (Shugo Maeda) wrote in #note-1:
> > Is there no way to disable Hap... -
10:56 AM Revision 97721fa4 (git): Old sh does not allow `:` in function names [ci skip]
-
09:09 AM Revision 264b7363 (git): Preserve spaces in messages [ci skip]
-
07:49 AM Feature #19742: Introduce `Module#anonymous?`
- First, given the existence of the Module#set_temporary_name method as well, it seems somewhat confusing what the name...
-
07:36 AM Revision a3e6546e (git): Print error messages to the stderr [ci skip]
- 07:23 AM Revision 74ce7905 (git): Update bundled gems list at 419f4260aa4827c633b3172d95a9fa [ci skip]
-
07:01 AM Revision 419f4260 (git): Use released version of bigdecimal
- 06:56 AM Revision a660e1de (git): [DOC] correct doc comment for rb_ary_aset
- Signed-off-by: Edwin Garcia <[email protected]>
-
06:26 AM Revision 52bb2ac0 (git): bump teeny
-
03:57 AM Misc #20191: Deprecate magic encoding comment
- > The proposed change might work if announced very long-term, e.g. for 2030 or so. Just doing it now and "hope for th...
-
03:42 AM Misc #20191: Deprecate magic encoding comment
- For the record, I agree with Hiroshi, Kenta, and Yui. The changes from Python 2 to Python 3 didn't work in favor of P...
-
03:14 AM Misc #20191 (Rejected): Deprecate magic encoding comment
- You also need to consider applications in addition to gems publicly available on GitHub.
Breaking compatibility forc... -
01:06 AM Misc #20191: Deprecate magic encoding comment
- We should investigate the real-world application codebases instead of gems on rubygems.org.
I guess there can be une... -
01:01 AM Misc #20191: Deprecate magic encoding comment
- I strongly against this proposal. There is no benefit to break existence Ruby script specified magic comment for reso...
-
03:57 AM Revision 99c9aeef (git): merge revision(s) b8a3f1bd456f92866c4a7bd83235f78c574784a8:
- Fix crash in tracing object allocations
ObjectSpace.trace_object_allocations_start could crash since it adds... -
03:51 AM Bug #20150: Memory leak in grapheme clusters
- Hello everybody (but in particular Tomoyuki Chikanaga and Yui Naruse),
On 2024-01-18 12:21, nagachika (Tomoyuki C... -
03:21 AM Bug #20150: Memory leak in grapheme clusters
- ruby_3_2 b4f8623441a8be53b643fed826ba44e933cafd7e merged revision(s) b3d612804946e841e47d14e09b6839224a79c1a4.
-
03:42 AM Revision fd1bafc1 (git): [ruby/stringio] Fix ascii_only? flag in strio_write
- (https://github.com/ruby/stringio/pull/77)
Followup of #79
`rb_str_resize()` was changed by https://github.com/ruby... -
03:26 AM Feature #20080: Introduce #bounds method on Range
- @stuyam Can you add this proposal to next dev-meeting? https://bugs.ruby-lang.org/issues/20075#note-9 was after the d...
-
03:21 AM Bug #20161: Memory leak in regexp grapheme clusters
- ruby_3_2 a26b41bf7a2db69b0889ed599f568a4ba2529eba merged revision(s) 37ed86fd3c798e298fad9db6e7df1f3f45e1e03b.
-
03:20 AM Bug #20096: Ruby 3.2.2 win32/registry: Junk appended to Windows Registry String Value
- ruby_3_2 5dae6eb55e9785c8329708e55a49a280a344cdc1 merged revision(s) 051a874325c177e040301878069c2b28f5d06ce6.
-
03:20 AM Bug #20174: Ruby 3.2 jit_cont_free segfault with YJIT enabled
- ruby_3_2 3302e251dccec1e981945ab19d316d0856c68bf6 merged revision(s) e07e9f8491d9ab8b22d2bdf6a8aeba834dac7eef.
-
03:20 AM Bug #20042: ObjectSpace finalizer can cause segfault
- ruby_3_2 0cc0e43745ffc13a596441adccee295274d99a0b merged revision(s) f9a48548cf3ef54fc0a385ccd78c708737055ecc.
-
02:56 AM Revision 3302e251 (git): merge revision(s) e07e9f8491d9ab8b22d2bdf6a8aeba834dac7eef: [Backport #20174]
- RJIT: Do nothing on jit_cont_free
if cont is NULL.
---
cont.c | 2 ++
1 file change... -
02:53 AM Revision 5dae6eb5 (git): merge revision(s) 051a874325c177e040301878069c2b28f5d06ce6: [Backport #20096]
- Fix memory overread in registry.rb
The terminator is not actually getting filled in; we're simply passing
... -
02:51 AM Revision a26b41bf (git): merge revision(s) 37ed86fd3c798e298fad9db6e7df1f3f45e1e03b: [Backport #20161]
- Fix memory leak in regexp grapheme clusters
[Bug #20161]
The cc->mbuf gets overwritten, so we need ... -
02:50 AM Revision b4f86234 (git): merge revision(s) b3d612804946e841e47d14e09b6839224a79c1a4: [Backport #20150]
- Fix memory leak in grapheme clusters
[Bug #20150]
String#grapheme_cluters and String#each_grapheme_... -
02:48 AM Revision 0cc0e437 (git): merge revision(s) f9a48548cf3ef54fc0a385ccd78c708737055ecc: [Backport #20042]
- restore the stack pointer on finalizer
When error on finalizer, the exception will be ignored.
To re... - 01:37 AM Revision 4095191f (git): Update default gems list at af60cdf6747316b23bf254128d8472 [ci skip]
-
01:36 AM Revision af60cdf6 (git): [ruby/io-console] Bump up version to 0.7.2
- https://github.com/ruby/io-console/commit/1f2877a185
01/17/2024
-
11:45 PM Revision 42177a89 (git): [DOC] Update ruby version in Building Ruby Dependencies
-
11:40 PM Revision 8370b3bc (git): Add baseruby version message
- Because `--with-baseruby=/usr/bin/ruby` on macOS is Ruby 2.6,
I was confused why `--with-baseruby` was ignored. - 10:44 PM Revision 6ddd583a (git): Update bundled gems list at fd81c887f9067dbc3b594dfc7a23de [ci skip]
-
10:44 PM Revision fd81c887 (git): Use fixed commit for failing result of test-bundled-gems
- https://github.com/ruby/ruby/actions/runs/7550805131/job/20557022764?pr=9573
https://github.com/ruby/bigdecimal/com... -
10:44 PM Revision 7cb11254 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/core/rational/coerce_spec.rb
-
10:44 PM Revision 44d74f22 (git): Guard bigdecimal related examples
- spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/core/integer/coerce_spec.rb
spec/mspec/to... -
10:44 PM Revision 4328f190 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/bigdecimal/**/*_spec.rb
-
10:44 PM Revision 9f729cf3 (git): Skip bigdecimal extension on TestExtLibs
-
10:44 PM Revision 0bdab1a7 (git): Load Rake::TaskLib when missing it
-
10:44 PM Revision 4dde4d14 (git): Stop sync commits from bigdecimal repo
-
10:44 PM Revision 272b1c92 (git): Document about bigdecimal at Ruby 3.4
-
10:44 PM Revision 2b076611 (git): Extract bigdecimal as bundled gems
-
10:21 PM Revision db9f5fc9 (git): [Prism] Implement defined? for PM_UNLESS_NODE
- Ruby code:
```ruby
defined?(unless true; 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #... -
10:21 PM Revision 555af5e5 (git): [Prism] Implement defined? for PM_UNTIL_NODE
- Ruby code:
```ruby
defined?(until a == 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<I... -
10:21 PM Revision 24d02cd4 (git): [Prism] Implement defined? for PM_WHILE_NODE
- Ruby code:
```ruby
defined?(while a != 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<I... -
10:21 PM Revision b5d3d611 (git): [Prism] Implement defined? for PM_SINGLETON_CLASS_NODE
- Ruby code:
```ruby
defined?(class << self; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<... -
10:21 PM Revision d2000e0e (git): [Prism] Implement defined? for PM_RATIONAL_NODE
- Ruby code:
```ruby
defined?(1.2r)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled... -
10:21 PM Revision 913772a0 (git): [Prism] Implement defined? for PM_MODULE_NODE
- Ruby code:
```ruby
defined?(module M; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:... -
10:21 PM Revision a9a22b9f (git): [Prism] Implement defined? for PM_MATCH_REQUIRED_NODE
- Ruby code:
```ruby
defined?(1 => 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compil... -
10:21 PM Revision b40fc4f0 (git): [Prism] Implement defined? for PM_MATCH_WRITE_NODE
- Ruby code:
```ruby
defined?(/(?<foo>bar)/ =~ 'barbar')
```
Instructions:
```
"********* Ruby *************"
== dis... -
10:21 PM Revision a2092ef2 (git): [Prism] Implement defined? for PM_IF_NODE
- Ruby code:
```ruby
defined?(if true; 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISe... -
10:21 PM Revision fb1eed3f (git): [Prism] Implement defined? for PM_FOR_NODE
- Ruby code:
```ruby
defined?(for i in [1,2] do; i; end)
```
Instructions:
```
"********* Ruby *************"
== dis... -
10:21 PM Revision 7460820f (git): [Prism] Implement defined? for PM_DEF_NODE
- Ruby code:
```ruby
defined?(def prism_test_def_node; end)
```
Instructions:
```
"********* Ruby *************"
== ... -
10:21 PM Revision 30e7dbb7 (git): [Prism] Implement defined? for PM_CLASS_NODE
- Ruby code:
```ruby
defined?(class PrismClassA; end)
```
Instructions:
```
"********* Ruby *************"
== disasm... -
10:21 PM Revision 9bcd42c3 (git): [Prism] Implement defined? for PM_CASE_MATCH_NODE
- Ruby code:
```ruby
defined?(case [1, 2, 3]; in [1, 2, 3]; 4; end)
```
Instructions:
```
"********* Ruby **********... -
10:21 PM Revision 75bed8c6 (git): [Prism] Implement defined? for PM_CASE_NODE
- Ruby code:
```ruby
defined?(case :a; when :a; 1; else; 2; end)
```
Instructions:
```
"********* Ruby *************... -
10:20 PM Revision a25c6fd9 (git): [PRISM] Fix test spelling `RescueModifer` -> `RescueModifier`
- `RescueModifier` was spelled wrong. Not a big deal, but it meant I
didn't immediately find the test when I was search... -
10:07 PM Revision 9f0d3896 (git): [PRISM] Refactor keyword hash nodes
- Follow up to #9540.
-
10:07 PM Revision 00f9456f (git): [PRISM] Remove unnecessary flag setting
- VM_CALL_KW_SPLAT and VM_CALL_KW_SPLAT_MUT are guaranteeed to be set in
this code path, so we don't need to set it again. -
09:17 PM Revision c546ee3b (git): Remove SizedQueue#freeze
- Queue#freeze uses the same C function, so SizedQueue#freeze can use
that via normal method lookup. -
09:08 PM Revision e1bae2c6 (git): [Prism] Implement defined? for PM_INDEX_OR_WRITE_NODE
- Ruby code:
```ruby
defined?([0][0] ||= 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<... -
09:08 PM Revision ff54a8f4 (git): [Prism] Implement defined? for PM_INDEX_OPERATOR_WRITE_NODE
- Ruby code:
```ruby
defined?([0][0] += 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<c... -
09:08 PM Revision f8ef77af (git): [Prism] Implement defined? for PM_INDEX_AND_WRITE_NODE
- Ruby code:
```ruby
defined?([0][0] &&= 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<... -
09:08 PM Revision e217c577 (git): [Prism] Implement defined? for PM_CONSTANT_PATH_WRITE_NODE
- Ruby code:
```ruby
defined?(Prism::CPWN = 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISe... -
09:08 PM Revision 54b8330e (git): [Prism] Implement defined? for PM_CONSTANT_PATH_OR_WRITE_NODE
- Ruby code:
```ruby
defined?(Prism::CPOrWN ||= 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #... -
09:08 PM Revision 3c9dc2f8 (git): [Prism] Implement defined? for PM_CONSTANT_PATH_OPERATOR_WRITE_NODE
- Ruby code:
```ruby
defined?(Prism::CPOWN += 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<I... -
09:08 PM Revision 98d6f503 (git): [Prism] Implement defined? for PM_CONSTANT_PATH_AND_WRITE_NODE
- Ruby code:
```ruby
defined?(Prism::CPAWN &&= 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<... -
09:08 PM Revision 7522e867 (git): [Prism] Implement defined? for PM_CALL_OR_WRITE_NODE
- Ruby code:
```ruby
defined?(PrismTestSubclass.test_call_or_write_node ||= 1)
```
Instructions:
```
"********* Ruby... -
09:08 PM Revision 9c5391d7 (git): [Prism] Implement defined? for PM_CALL_OPERATOR_WRITE_NODE
- Ruby code:
```ruby
defined?(PrismTestSubclass.test_call_operator_write_node += 1)
```
Instructions:
```
"*********... -
09:08 PM Revision f657fd15 (git): [Prism] Implement defined? for PM_CALL_AND_WRITE_NODE
- Ruby code:
```ruby
defined?(PrismTestSubclass.test_call_and_write_node &&= 1)
```
Instructions:
```
"********* Rub... -
08:51 PM Revision a6e924cf (git): [PRISM] Fix crash in compile_prism
- If the argument is not a file or a string, it assumes it's a string
which will crash because RSTRING_PTR and RSTRING_... -
08:04 PM Revision b0a32b72 (git): [PRISM] Enable more btests
-
07:45 PM Revision ebc47046 (git): [PRISM] Fix indentation in pm_setup_args [ci skip]
-
07:35 PM Revision b2c12bfd (git): [ruby/prism] Document order of scopes in parsing options
- https://github.com/ruby/prism/commit/908e92a695
-
06:17 PM Revision f43a919b (git): [PRISM] Fix fallthrough for PM_ENSURE_NODE
- This caused it to fall into PM_ELSE_NODE which caused ensure nodes to be
compiled twice.
Fixes ruby/prism#2176. -
05:47 PM Revision de9411c0 (git): [ruby/prism] Test version: 3.3.0
- https://github.com/ruby/prism/commit/94ecb366c4
-
05:47 PM Revision 27d81b92 (git): [ruby/prism] Guard 3.3.0 for pinned it
- https://github.com/ruby/prism/commit/9778377b12
Co-authored-by: Kevin Newton <[email protected]> -
05:47 PM Revision e0d60a83 (git): [ruby/prism] Fix => ^it
- https://github.com/ruby/prism/commit/24a2872b4e
-
05:47 PM Revision bcc4b07c (git): [ruby/prism] Add a documentation about 0it
- https://github.com/ruby/prism/commit/313be8e3f7
-
05:47 PM Revision 603f2ca7 (git): [ruby/prism] Parse `it` default parameter
- https://github.com/ruby/prism/commit/a0c5361b9f
-
05:42 PM Revision cd429091 (git): [ruby/prism] Wording in node field comments
- https://github.com/ruby/prism/commit/c9c913ee99
-
05:35 PM Revision 32cbbfc9 (git): [ruby/prism] Added descriptive comments
- https://github.com/ruby/prism/commit/2695ae115d
-
05:35 PM Revision 5273c4c9 (git): [ruby/prism] Document AndNode and OrNode
- https://github.com/ruby/prism/commit/a925856c2b
-
05:30 PM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- If you are running a dual-stack network setup, it seems reasonable to have this enabled by default. However, if you ...
-
01:29 PM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- shugo (Shugo Maeda) wrote in #note-1:
> Is there no way to disable Happy Eyeballs?
> I'm not sure, but it may have ... -
02:55 AM Feature #20108: Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- shioimm (Misaki Shioi) wrote:
> In exchange, the performance of `Socket.tcp` with HEv2 will be degraded.
>
> ```
... -
05:13 PM Revision e1751b2e (git): [ruby/openssl] test/openssl/test_ocsp.rb: fix flaky test
- Fixes: https://github.com/ruby/openssl/issues/695
https://github.com/ruby/openssl/commit/95281fe4a9 - 05:09 PM Revision 4f634d3c (git): [ruby/openssl] Add support for IO#timeout.
- (https://github.com/ruby/openssl/pull/714)
* Add support for IO#timeout.
https://github.com/ruby/openssl/commit/3bb... -
05:08 PM Misc #20191 (Rejected): Deprecate magic encoding comment
- I would like to ask that we deprecate the magic encoding comment, and instead require all source files to be encoded ...
- 04:41 PM Revision 6213ab1a (git): [ruby/openssl] Only set min_version on OpenSSL < 1.1.0
- Both Red Hat and Debian-like systems configure the minimum TLS version
to be 1.2 by default, but allow users to chang... -
04:35 PM Revision 947194aa (git): [PRISM] Fix memory leak of ST table
- This commit fixes a memory leak in rb_translate_prism because the ST
table is never freed. There are still more memor... -
04:28 PM Bug #5179: Complex#rationalize and to_r with approximate zeros
- I'm working on to_r at https://github.com/ruby/ruby/pull/9581.
I will do for other methods later. -
04:27 PM Misc #20075: DevMeeting-2024-01-17
- * [Ticket #20080] Introduce #bounds method on Range (stuyam)
* Easier serialization of ranges, easy array deconstr... -
12:27 AM Misc #20075: DevMeeting-2024-01-17
- - [Feature #20108] Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp (shioimm)
- Can this be merged... -
03:57 PM Revision 78ad91f8 (git): [Prism] Fix more method call argumnents
- In #2087 it was noted that there was a bug in the number of arguments in
`SplatNode` and `KeywordHashNode`. I looked ... -
03:52 PM Revision 03645d1e (git): YJIT: Support empty splat and some block_arg calls to ivar getters (#9567)
- These seem odd at first glance, but they're used with `...` calls with
`Module#delegate` from Active Support. These a... -
03:51 PM Revision 3f23cb1a (git): [ruby/prism] Remove flag gating for 3.3.0 bug fixes
- https://github.com/ruby/prism/commit/64baf94271
-
03:36 PM Feature #20102: Introduce `Fiber#resuming?`
- It appears to me that the method you want is to determine if an exception can legitimately be sent to the fiber. I am...
-
03:35 PM Revision afba09d3 (git): YJIT: specialized codegen for integer right shift (#9564)
- * YJIT: specialized codegen for integer right shift
Used in optcarrot. May also be used to write pure-Ruby gems.
No ... -
03:17 PM Revision 63ff29cd (git): [Prism] Fix return test
- This test didn't work as is because it causes a SyntaxError. Instead we
need to put the `defined?(return)` into a met... -
03:17 PM Revision dcf9d77b (git): [Prism] Implement defined? for PM_BEGIN_NODE
- Ruby code:
```ruby
defined?(begin; 1; end)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:... -
03:17 PM Revision 338aa465 (git): [Prism] Implement defined? for PM_RETRY_NODE
- Ruby code:
```ruby
defined?(retry)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compile... -
03:17 PM Revision 8774abad (git): [Prism] Implement defined? for PM_RETURN_NODE
- Ruby code:
```ruby
defined?(return)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compil... -
03:17 PM Revision d0a7c33f (git): [Prism] Implement defined? for PM_REDO_NODE
- Ruby code:
```ruby
defined?(redo)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled... -
03:17 PM Revision 2697acf7 (git): [Prism] Implement defined? for PM_INTERPOLATED_X_STRING_NODE
- Ruby code:
```ruby
defined?(`echo #{1}`)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<c... -
03:17 PM Revision e0c90199 (git): [Prism] Implement defined? for PM_INTERPOLATED_SYMBOL_NODE
- Ruby code:
```ruby
defined?(:"1 #{1 + 2} 1")
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISe... -
03:17 PM Revision 25f1a8e4 (git): [Prism] Implement defined? for PM_DEFINED_NODE
- Ruby code:
```ruby
defined?(defined?(a))
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<c... -
03:17 PM Revision 82ed9095 (git): [Prism] Implement defined? for PM_BREAK_NODE
- Ruby code:
```ruby
defined?(break)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compile... -
03:17 PM Revision 0c814092 (git): [Prism] Implement defined for PM_NEXT_NODE
- Ruby code:
```ruby
defined?(next)
```
Instructions
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>... -
03:15 PM Revision 3a7ad808 (git): [PRISM] Fix test_compile_prism_with_file
- The test should be testing RubyVM::InstructionSequence.compile_prism
with a file but it is instead passing the file p... -
02:48 PM Revision ef4a08eb (git): [PRISM] Fix stack inconsistency in MultiWriteNode
-
01:54 PM Revision e17c83e0 (git): Fix memory leak in String#tr and String#tr_s
- rb_enc_codepoint_len could raise, which would cause the memory in buf
to leak.
For example:
str1 = "\xE0\xA0\xA... - 01:26 PM Revision 67a545b3 (git): * expand tabs. [ci skip]
- Please consider using misc/expand_tabs.rb as a pre-commit hook.
-
01:26 PM Revision 13879fea (git): [ruby/prism] Fix prism brace association for constant-like method/local calls
- https://github.com/ruby/prism/commit/8ca24f263e
-
12:22 PM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
- > That doesn't sound like it's doing a copy.
My mad, you are right, I missed the `copy` argument is passed as fals... -
12:17 PM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
- byroot (Jean Boussier) wrote in #note-11:
> > But the current API rb_provide isn't ideal for this scenario. Partly b... -
10:37 AM Revision c68ce6f7 (git): Skip checking for symbol leaks in libruby.so linking extensions
- The libruby.so linking extension libraries contain symbols exported
from extension libraries, and is not subject of t... -
09:50 AM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- (BTW, to me, the fact that an `autoload` is just a trigger and does not require the constant to be defined in its rec...
-
09:40 AM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- I tried, the current behavior does not make a lot of sense to me:
```ruby
File.write('/tmp/bar.rb', 'Bar = 1; raise'... -
09:26 AM Revision 6215b5ba (git): Fix off-by-one error of argc
- Fix ruby/ruby#9562
-
09:19 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- > Such incompatibility is not acceptable.
In all honesty, a selective application of this dogma doesn’t always loo... -
08:36 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- @naruse no one is denying that there is private code out there that will be broken by such change. The question is ho...
-
08:26 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- Even if you "fix" gems, the number of affected gems insists there are as many as private rails applications.
Such in... -
08:28 AM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- I knew it's something embarrassing like that. Adding `#include <ruby/fiber/scheduler.h>` actually helped. Thanks a lot.
-
01:42 AM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Here is an example of valid usage:
```ruby
static VALUE
call_rb_fiber_scheduler_block(VALUE mutex)
{
retur... -
12:32 AM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- You're right. It was line 28, the one with `rb_fiber_scheduler_block(scheduler, blocker, timeout)`.
I just ran it ... -
07:39 AM Feature #19742: Introduce `Module#anonymous?`
- I have all these matters in my mind pretty clearly (and I am writing a book about constants), but in case someone is ...
-
06:39 AM Feature #19742: Introduce `Module#anonymous?`
- Same. The name is called "permanent" because it does not change, the predicate above would be `reachable_through_its_...
-
12:39 AM Feature #19742: Introduce `Module#anonymous?`
- @ioquatix I think your definition of "permanent" doesn't quite work, semantically. A name can be said to be permanent...
-
04:36 AM Feature #20182: Rewrite Array#each in Ruby
- Accepted. For the individual concerns:
1. I'd like to keep race condition safety to be about the same as the curre... - 04:13 AM Revision 42168802 (git): Bump actions/cache from 3.3.3 to 4.0.0
- Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/act... - 03:49 AM Revision 6b11cfe0 (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/act... -
03:39 AM Revision bf254b4d (git): Omit low-memory test on old platforms
- 02:57 AM Revision 2c3876be (git): Bump ruby/setup-ruby from 1.165.1 to 1.167.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.165.1 to 1.167.0.
- [Release notes](https://github... -
01:31 AM Revision 8642a573 (git): Rename BUILTIN_ATTR_SINGLE_NOARG_INLINE
- to BUILTIN_ATTR_SINGLE_NOARG_LEAF
The attribute was created when the other attribute was called BUILTIN_ATTR_INLINE.... -
01:27 AM Revision e37a37e6 (git): Drop obsoleted BUILTIN_ATTR_NO_GC attribute
- The thing that has used this in the past was very buggy, and we've never
revisied it. Let's remove it until we need i... -
01:17 AM Bug #20185: String#ascii_only? buggy in ruby 3.3
- No, `Fix https://bugs.ruby-lang.org/issues/20185`of commit message is not correct format for redmine autolink.
- 12:48 AM Revision 1addb395 (git): [ruby/psych] Provide a 'Changelog' link on rubygems.org/gems/psych
- By providing a 'changelog_uri' in the metadata of the gemspec
a 'Changelog' link will be shown on https://rubygems.or... -
12:45 AM Revision 77593495 (git): [ruby/psych] issue #443: drop special tests for y, Y, n, N since they covered in the more general test
- https://github.com/ruby/psych/commit/6750b35402
-
12:45 AM Revision 8ae24e6b (git): [ruby/psych] issue #443: quote Y and N when dumping
- https://github.com/ruby/psych/commit/93c8fb443a
-
12:02 AM Revision cf8fb942 (git): CHECK_LEAKS is always enabled with 01459f1
01/16/2024
-
11:54 PM Revision b4ed5b7d (git): Bump the required BASERUBY version to 2.7 (#9566)
- [[Misc #16671]](https://bugs.ruby-lang.org/issues/16671)
- 11:29 PM Revision 88bb09b3 (git): Update bundled gems list at 6c016a4197c233b08a038e3ae7bc91 [ci skip]
-
11:28 PM Revision 6c016a41 (git): Inject base64 for basic auth examples of bundler
-
11:28 PM Revision 42aa24a2 (git): No longer needed to sync base64
-
11:28 PM Revision afb30eb2 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/base64/**/*_spec.rb
-
11:28 PM Revision 05e79826 (git): Document about base64 at Ruby 3.4
-
11:28 PM Revision 4e2eca3b (git): Extract base64 as bundled gems
-
11:16 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Line 29 does not point to any meaningful statement: https://github.com/paddor/fiber_blocker/blob/main/ext/fiber_block...
-
11:01 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Thanks for looking into this. I'm pretty sure it was that one (initial) commit in the fiber_blocker repo. My extensio...
-
09:27 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Here is the implementation from CRuby:
```c
static VALUE
rb_fiber_scheduler_current_for_threadptr(rb_thread_t *t... -
09:17 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- Can you tell me the exact commit/revision which was running:
```
/home/user/dev/oss/async_ruby_test/rbnng/fiber_b... -
09:00 PM Bug #20155 (Assigned): Using value of rb_fiber_scheduler_current() crashes Ruby
- Thanks for the report, I'll need to investigate.
-
08:46 PM Bug #20155: Using value of rb_fiber_scheduler_current() crashes Ruby
- @ioquatix Could you have a look at this? I have a feeling I'm missing something obvious.
-
11:13 PM Feature #19742: Introduce `Module#anonymous?`
- I think we can assume this is a fair definition, but I'd like to confirm it with @matz:
```ruby
class Module
def p... -
10:51 PM Feature #19742: Introduce `Module#anonymous?`
- @jeremyevans0 I agree.
My defense of `anonymous == name.nil?` is based on the meaning of the adjective, as you said.... -
10:36 PM Feature #19742: Introduce `Module#anonymous?`
- I'm against `Module#anonymous?`, because it's ambiguous. I would expect modules with temporary and not permanent nam...
-
10:33 PM Feature #19742: Introduce `Module#anonymous?`
- Correction: I have looked at the logs. It was introduced because of conciseness initially (the same way in Ruby we pr...
-
10:24 PM Feature #19742: Introduce `Module#anonymous?`
- @Dan0042 right, it could be the case that in Rails anything autoloadable has a permanent name and that has made the p...
-
10:03 PM Feature #19742: Introduce `Module#anonymous?`
- In Rails this method is used for things like `name.underscore unless anonymous?` so it's pretty clear to me it should...
-
08:41 PM Feature #19742: Introduce `Module#anonymous?`
- @Dan0042 yes, there are different points of view expressed, and at some point Ruby core will take one direction or an...
-
08:40 PM Feature #19742: Introduce `Module#anonymous?`
- Ah BTW one line below that link we see something interesting which can be repro'd on CRuby like:
```ruby
irb(main):... -
08:37 PM Feature #19742: Introduce `Module#anonymous?`
- Agreed, `anonymous?` seems not well defined for the temporary name case.
In fact I would think of `anonymous?` as `!... -
08:22 PM Feature #19742: Introduce `Module#anonymous?`
- After reading all the above it doesn't seem like there's a clear agreement on what this proposed `#anonymous?` is sup...
-
11:36 AM Feature #19742: Introduce `Module#anonymous?`
- @ko1 I think that is a good direction, because with the introduction of temporary names as a blessed concept with API...
-
04:35 AM Feature #19742: Introduce `Module#anonymous?`
- Another idea is introducing `#permanent_name` for Ruby 3.2's name which returns nil if it is not named.
-
09:54 PM Revision 2bf99701 (git): YJIT: Finer breakdown for block_arg counters
- For example, on `lobsters` the block_arg reason was at ~10%. With this
change it shows that 6% of that is `send_cfunc... -
09:19 PM Revision 5471f99e (git): [PRISM] Fix memory leak when compiling file
- There is a memory leak when passing a file to
RubyVM::InstructionSequence.compile_prism because it does not free the
... -
08:46 PM Bug #20188: `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- Maybe the idea was because of autoload thread-safety the value is not published to other threads until the autoload c...
-
09:25 AM Bug #20188 (Closed): `Module#const_source_location` returns wrong information when real constant was defined but autoload is still ongoing
- Ref: https://github.com/fxn/zeitwerk/issues/281
`const_source_location` keeps returning the location of the `autol... -
08:29 PM Bug #20189: `rb_str_resize` does not clear coderange when expanding
- byroot (Jean Boussier) wrote in #note-5:
> I must admit I'm not very familiar with wide char encodings, but this sur... -
02:08 PM Bug #20189: `rb_str_resize` does not clear coderange when expanding
- > Expanding string in some encoding (utf16 utf32) can change coderange to either valid or broken,
I must admit I'm... -
01:32 PM Bug #20189: `rb_str_resize` does not clear coderange when expanding
- Seems commit:b0b9f7201acab05c2a3ad92c3043a1f01df3e17f.
-
01:31 PM Bug #20189: `rb_str_resize` does not clear coderange when expanding
- I think so. sjis char does not end with null bytes, other encoding seems same too.
~~~ruby
Encoding.list.select {... -
01:20 PM Bug #20189: `rb_str_resize` does not clear coderange when expanding
- Does this happen only with wide-char encoding?
-
12:56 PM Bug #20189 (Open): `rb_str_resize` does not clear coderange when expanding
- Expanding string in some encoding (utf16 utf32) can change coderange to either valid or broken, but rb_str_resize doe...
-
08:25 PM Revision 7b6731b1 (git): [ruby/prism] Provide abstract methods in Prism::Node
- To make typechecking easier.
https://github.com/ruby/prism/commit/8f96877d7a -
08:23 PM Bug #20185: String#ascii_only? buggy in ruby 3.3
- Indeed on Redmine I see no link to the commit in https://bugs.ruby-lang.org/issues/20185?tab=history#note-2, it seems...
-
08:17 PM Bug #20185: String#ascii_only? buggy in ruby 3.3
- Apologies everyone, got temporary redmine visual impairment. Thank you.
-
07:30 PM Bug #20185: String#ascii_only? buggy in ruby 3.3
- chucke (Tiago Cardoso) wrote in #note-3:
> nobu, can I ask why was the ticket closed? Even considering the comment f... -
07:19 PM Bug #20185: String#ascii_only? buggy in ruby 3.3
- nobu, can I ask why was the ticket closed? Even considering the comment from andrykonchin, he clearly points oot at t...
-
03:11 PM Bug #20185 (Closed): String#ascii_only? buggy in ruby 3.3
-
08:10 PM Feature #18057: Introduce Array#mean
- Was this proposal rejected?
- 07:19 PM Revision 8cbba87c (git): [ruby/prism] Add parse options to JavaScript's parsePrism function
- https://github.com/ruby/prism/commit/d7fe7c7ae7
-
07:01 PM Revision d124124c (git): [ruby/prism] Fix up gemspec
- https://github.com/ruby/prism/commit/82e3126762
-
06:47 PM Revision 8bf12d7b (git): [ruby/prism] First pass at documenting information about the CRuby compiler
- https://github.com/ruby/prism/commit/b575914b2f
-
06:21 PM Bug #14607 (Closed): Fix use of the rb_profile_frames start parameter
-
06:14 PM Bug #14607: Fix use of the rb_profile_frames start parameter
- > The original patch has a merge conflict. However, I have opened a pull request with the fix for this issue (https:/...
-
05:55 PM Revision 07b9b534 (git): [PRISM] Fix crash with empty ensure blocks
- Fixes ruby/prism#2179.
-
05:43 PM Revision 7bd7030a (git): [PRISM] Replace local lookup recursion with loop
-
05:43 PM Revision 70a8ed07 (git): [PRISM] Don't allocate labels when not needed
- The labels lstart, lend, lcont are only needed when there is a rescue
clause. They are not needed when there is only ... -
04:12 PM Revision 1caa881a (git): [PRISM] Fix splat assignment
- Fixes ruby/prism#2177
-
03:51 PM Revision c5e43da4 (git): [ruby/prism] Correct the "ambiguous first argument" condition
- Fix https://github.com/ruby/prism/pull/2182
This change reflects this line:
https://github.com/ruby/ruby/blob/6283ae... -
03:06 PM Revision 6283ae8d (git): [ruby/stringio] Update the coderange after overwrite
- Fix https://bugs.ruby-lang.org/issues/20185
https://github.com/ruby/stringio/commit/8230552a46 -
02:58 PM Revision fef8ccff (git): Rename pm_lookup_local_index_any_scope
- Now it's the only local lookup function we can just call it
pm_lookup_local_index -
02:58 PM Revision 543bd7f3 (git): Remove scope_node->local_depth_offset
-
02:58 PM Revision 1b97f611 (git): Remove pm_lookup_local_index_with_depth
-
02:58 PM Revision 0d705b34 (git): Remove the found_depth pointer
- Now that we're returning pm_local_index_t
-
02:58 PM Revision da383c0d (git): Return pm_local_index_t when looking up local indexes
- instead of returning the index and updating found_depth in the parent
scope -
02:58 PM Revision f4b299a1 (git): Bind index & depth together into pm_local_index_t
-
02:58 PM Revision 3d45b743 (git): Replace pm_lookup_local_index with lookup_local_index_with_depth
-
02:58 PM Bug #5179: Complex#rationalize and to_r with approximate zeros
- `Complex(re, im.to_r).to_r` looks good to me if `im` is not `0` or `0r`. `Complex(re, im.to_i).to_i` is also OK for ...
-
02:18 PM Revision ade56737 (git): Fix coderange of invalid_encoding_string.<<(ord)
- Appending valid encoding character can change coderange from invalid to valid.
Example: "\x95".force_encoding('sjis')... -
01:47 PM Bug #20190 (Closed): `invalid_encoding_string << number` should be valid encoding in some case, but does not
- In some encoding, appending ascii char might change invalid encoding string to valid. But it does not.
~~~ruby
# ... -
01:32 PM Revision 0520e967 (git): [PRISM] Fix defined? for chained calls
- Fixes ruby/prism#2148.
-
01:13 PM Revision d6b6e14c (git): Specify ruby mode [ci skip]
-
11:29 AM Revision 01459f16 (git): Set `CHECK_LEAKS` in spec/default.mspec
- Because of `.NOEXPORT:` in template/Makefile.in, variables in
common.mk will not be exported. -
09:34 AM Bug #20169: `GC.compact` can raises `EFAULT` on IO
- Thought: we could probably remove the need for the read barrier if we swept the heap, and _then_ compacted. So we wou...
-
08:49 AM Bug #19857: Eval coverage is reset after each `eval`.
- > When I started developing the covearge library, I decided that its target is "source files that actually exist".
... -
07:47 AM Bug #19857 (Rejected): Eval coverage is reset after each `eval`.
- Sorry, but I am not keen on this proposal. Let me reject this once.
When I started developing the covearge library... -
08:40 AM Feature #20187: Bundled gems at Ruby 3.4
- I already done to extract `mutex_m` and `getoptlong`. Now I'm working `base64` and `bigdecimal`.
-
08:39 AM Feature #20187 (Closed): Bundled gems at Ruby 3.4
- This ticket is for tracking bundled gems status at Ruby 3.4.
I added warnings for bundled gems of Ruby 3.3 at http... -
08:09 AM Revision 9f026800 (git): Removed sample code for net-imap. net-imap is alread extracted as bundled gems
- 08:07 AM Revision ee405518 (git): Update bundled gems list at 4b6936aa047158c98a9ac8861d51e5 [ci skip]
-
08:07 AM Revision 4b6936aa (git): Unbundled samples for getoptlong
-
08:07 AM Revision 3f501617 (git): We don't need to sync getoptlong
-
08:07 AM Revision 326288c5 (git): Document about getoptlong at Ruby 3.4
-
08:07 AM Revision b3ff5649 (git): spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/getoptlong/**/*.rb
-
08:07 AM Revision b68dab2d (git): Extract getoptlong as bundled gems
-
07:29 AM Revision c5d54e1d (git): We don't need to sync mutex_m
-
07:24 AM Revision 26cf40aa (git): Always enabled leakchecker by ruby/mspec
-
06:39 AM Bug #20186 (Open): Ripper does not generate AST for some keywords in Ruby 3.3
- Ripper does not generate AST for the below keyword:
- break
- next
- redo
- retry
- yield
Ruby 3.2
```
... -
04:18 AM Feature #20182: Rewrite Array#each in Ruby
- > As discussed on the PR I think this can be solved by using a Primitive which does both things atomically.
After fi... -
03:44 AM Revision 924f3907 (git): Enable spec_guards with 3.3
-
03:43 AM Revision be7c91db (git): Do not pollute toplevel namespace
-
01:04 AM Revision 0abbab9e (git): [Bug #20184] Test for low memory
01/15/2024
-
10:35 PM Revision 6a1bf4cf (git): YJIT: optimized codegen for String#length (#9543)
- Minor optimization for programs doing string processing.
-
10:12 PM Revision 6a175902 (git): [PRISM] Fix keyword splat inside of array
- Fixes ruby/prism#2155.
-
08:28 PM Feature #20182: Rewrite Array#each in Ruby
- > or are users supposed to avoid mutating the array in the middle of its loop?
Not supporting to mutate the array ... -
05:07 PM Feature #20164: Add Exception#deconstruct_keys
- palkan (Vladimir Dementyev) wrote in #note-1:
> The question is what keys must be supported for each standard excepti... -
04:27 PM Revision cc7b19e0 (git): [DOC] Improve docs for GC.compact
-
03:32 PM Revision 5e61cc26 (git): YJIT: Optimize Integer#succ (#9519)
-
02:58 PM Revision 7c6d7fbc (git): [PRISM] Fix case without predicate
- Fixes ruby/prism#2149.
-
02:04 PM Revision e0312f90 (git): [ruby/pp] Print beginless ranges properly
- Instead of displaying the start of the range as nil
https://github.com/ruby/pp/commit/1df210d903 -
05:49 AM Feature #19057: Hide implementation of `rb_io_t`.
- Are you saying that in general:
```
struct A {
int x;
float y;
char z;
struct S s;
};
```
and
... -
03:32 AM Feature #19057: Hide implementation of `rb_io_t`.
- "ioquatix (Samuel Williams) via ruby-core" <[email protected]> wrote:
> - unicorn has merged a fix but it ... -
05:25 AM Bug #20169: `GC.compact` can raises `EFAULT` on IO
- I spent some more time today studying this problem. This is what I've learned so far. I'm definitely far from an expe...
- 03:15 AM Revision 9c329989 (git): Bump actions/upload-artifact from 4.0.0 to 4.1.0
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](ht... -
12:35 AM Revision dde21a79 (git): Explicitly convert between `VALUE` and `st_data_t`
01/14/2024
-
11:15 PM Bug #20185: String#ascii_only? buggy in ruby 3.3
- I cannot reproduce the issue with plain String (without StringIO) on Ruby 3.2, 3.1 and 3.0. `ascii_only?` reports `fa...
-
03:10 PM Bug #20185 (Closed): String#ascii_only? buggy in ruby 3.3
- This was the smallest reduction of the bug I could come up with:
require "stringio"
puts StringIO::VERS... -
10:10 PM Bug #20184: Ruby segfaults on Fly.io with 256 MB RAM
- I also wonder if we should add some CI for running ruby on a low memory/virtual memory constrained system.
-
10:09 PM Bug #20184: Ruby segfaults on Fly.io with 256 MB RAM
- I was also investigating this issue.
On low-memory systems (< ~400MB RAM+Swap), `Init_default_shapes` will fail and ... -
03:20 PM Bug #20184 (Closed): Ruby segfaults on Fly.io with 256 MB RAM
- commit:8b8dcc7af174def5216044019c1d3e42edfdc7cf should have fixed this.
-
03:07 PM Bug #20184: Ruby segfaults on Fly.io with 256 MB RAM
- In shape.c:Init_default_shapes(), the result of `mmap` for `rb_shape_tree_ptr->shape_cache` seems unchecked.
I'm not... -
01:09 PM Bug #20184 (Closed): Ruby segfaults on Fly.io with 256 MB RAM
- I've been running a Ruby 3.2 app on Fly.io with 256 MB RAM and it has been working fine.
When I upgraded to Ruby 3.3... -
09:49 PM Bug #18805 (Closed): IO::Buffer is inconsistent when returning a string from an empty buffer
- Fixed in https://github.com/ruby/ruby/commit/c5cf4d4e129f64cb69aaf0a829aed068ef1943c4
-
02:59 AM Bug #18805: IO::Buffer is inconsistent when returning a string from an empty buffer
- As a 2nd issue was created about the similar issue, I think it's worth improving.
See https://github.com/ruby/ruby... -
09:48 PM Bug #19542 (Closed): Operations on zero-sized IO::Buffer are raising
- Applied in https://github.com/ruby/ruby/commit/c5cf4d4e129f64cb69aaf0a829aed068ef1943c4
-
02:58 AM Bug #19542: Operations on zero-sized IO::Buffer are raising
- See https://github.com/ruby/ruby/pull/9532 for the proposed changes.
-
02:21 AM Bug #19542: Operations on zero-sized IO::Buffer are raising
- I am okay to make this work as you propose, however it should be noted, in C, you cannot provide `NULL` and size=0 to...
- 09:47 PM Revision c5cf4d4e (git): Improve behavioural consistency of unallocated (zero length) `IO::Buffer`. (#9532)
- This makes the behaviour of IO::Buffer.new(0) and IO::Buffer.new.slice(0, 0) consistent.
Fixes https://bugs.ruby-lan... -
08:01 PM Bug #19916 (Closed): URI#to_s can serialize to a value that doesn't deserialize to the original
-
07:41 PM Bug #20064 (Closed): Inconsistent behavior between array splat *nil and hash splat **nil
- Applied in changeset commit:git|5c823aa686a5549649df4af86d173bebed2418e1.
----------
Support keyword splatting nil
... -
07:41 PM Revision 5c823aa6 (git): Support keyword splatting nil
- nil is treated similarly to the empty hash in this case, passing
no keywords and not calling any conversion methods.
... -
02:38 PM Revision 77241324 (git): Skip checking for symbol leaks in libruby.a linking extensions
- The libruby.a linking extension libraries contain symbols exported
from extension libraries, and is not subject of te... -
01:27 PM Revision 338eb006 (git): [ruby/strscan] StringScanner#captures: Return nil not "" for
- unmached capture
(https://github.com/ruby/strscan/pull/72)
fix https://github.com/ruby/strscan/issues/70
If there is... -
08:55 AM Revision 0610f555 (git): Constify `rb_global_parser_config`
-
07:59 AM Bug #20181 (Closed): Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
-
05:19 AM Bug #20183 (Closed): `erb/escape.so` cannot be loaded when `--with-static-linked-ext`
- Since `cgi/escape.c` and `erb/escape.c` are both initialized by `Init_escape()` functions, both call the same functio...
-
04:31 AM Feature #18035: Introduce general model/semantic for immutability.
- > If this is accepted, should Data classes all be immutable? To quote the docs:
By default, it does not look like Da... -
03:12 AM Feature #18035: Introduce general model/semantic for immutability.
- It's not just about performance, it's about providing strong interface guarantees and making sure users don't violate...
-
03:30 AM Feature #19057: Hide implementation of `rb_io_t`.
- Latest update:
- unicorn has merged a fix but it is not released: https://yhbt.net/unicorn.git/63c85c4282d15e22bd32a... -
03:20 AM Feature #19057: Hide implementation of `rb_io_t`.
- Related PR: https://github.com/ruby/ruby/pull/9530
-
12:31 AM Feature #20182: Rewrite Array#each in Ruby
- I think this is a great idea and would like to see more of Ruby implemented in Ruby. The smaller the C implementation...
01/13/2024
-
03:24 PM Revision 4e5754a4 (git): Add test for `Errno` constants
-
02:43 PM Revision 55335eab (git): Use STATIC_ASSERT
-
02:20 PM Revision 9ba2558b (git): Fix possible out-of-bounds access
-
11:41 AM Revision ccd45a13 (git): Stop using Array to manage dummy `end` token locations
- Before this commit, Array is used to store token locations
which expect `end` token, e.g. `class` and `module`.
This ... -
11:03 AM Revision b92c8934 (git): Lrama v0.6.1
-
07:34 AM Revision d999ed3a (git): Fix typo
-
06:14 AM Misc #20075: DevMeeting-2024-01-17
- * [Feature #20182] Rewrite Array#each in Ruby (k0kubun)
* Can we discuss whether `Array#each` is supposed to opera... -
06:08 AM Feature #20182 (Closed): Rewrite Array#each in Ruby
- ## Proposal
Rewrite Array#each in Ruby https://github.com/ruby/ruby/pull/6687.
```rb
class Array
def each
... -
04:17 AM Bug #20181: Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
- Yes, thanks, this definitely looks like the same issue. Thanks for filing that issue and getting the patches merged.
... -
12:01 AM Bug #20181: Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
- Actually I think this is a duplicate of https://bugs.ruby-lang.org/issues/19837. Does this describe your issue?
Th... -
02:58 AM Bug #20169: `GC.compact` can raises `EFAULT` on IO
- Well I did a bit more thinking about this.
Firstly, I had a very unproductive morning trying to see if Mach except... -
02:08 AM Revision 573bfb3a (git): [DOC] Add known_errors documents
- Incorporate from The Open Group.
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html -
02:08 AM Revision 3edb7f1a (git): [DOC] Documentize known_errors
- 12:28 AM Revision f7178045 (git): [ruby/openssl] Add support for `gets(chomp: true)`.
- https://github.com/ruby/openssl/commit/8aa3849cff
- 12:28 AM Revision 08d4e5eb (git): [ruby/openssl] Add more methods to `SocketForwarder`.
- https://github.com/ruby/openssl/commit/39eaa9f677
- 12:01 AM Revision b0e0a2a6 (git): [DOC] Fix two minor typos on manual page
01/12/2024
-
10:53 PM Revision 475663f0 (git): Only intern constants upon compilation entry
- Before this commit the Prism compiler would try to intern constants
every time it re-entered. This pool of constants ... -
09:13 PM Revision 206388b1 (git): Fix ruby_free_proctitle
- It is undefined behaviour to free environ as it is managed by the system.
This caused RUBY_FREE_AT_EXIT to double fre... -
08:57 PM Bug #20178: Out of bounds stack read on Array#first when built with -O0
- Yes, this is already tagged as `3.3: REQUIRED`
-
02:07 PM Bug #20178: Out of bounds stack read on Array#first when built with -O0
- @jhawthorn does this need to be backported?
-
12:53 AM Bug #20178 (Closed): Out of bounds stack read on Array#first when built with -O0
- Applied in changeset commit:git|18573b8d054f655e3e8b24902985bf4028f88810.
----------
Avoid reading unused lvars in P... -
12:18 AM Bug #20178 (Closed): Out of bounds stack read on Array#first when built with -O0
- https://github.com/ruby/ruby/pull/9499
Previously on builds with optimizations disabled, we could end up with an o... -
08:46 PM Revision 2c27a3a0 (git): Fix splat assigns with no lefties
- We still need to emit an expand array even if there's no "left side"
variables
Fixes: https://github.com/ruby/prism/... -
08:24 PM Revision aad246fe (git): s/SafeStringValue/StringValue/
- The macro SafeStringValue() became just StringValue() in c5c05460ac2,
and it is deprecated nowadays.
This patch repl... -
08:20 PM Revision 774eef69 (git): Always freeze strings that are in the instructions
- Any objects that the instructions reference should be frozen.
Co-Authored-By: Matt Valentine-House <matt@eightbitrap... - 08:20 PM Revision a0a100db (git): Update test/ruby/test_compile_prism.rb
- Co-authored-by: Ufuk Kayserilioglu <[email protected]>
-
08:20 PM Revision 84f14ff0 (git): [PRISM] Pre-concatenate Strings in InterpolatedStringNode
- This commit concatenates String VALUEs within
InterpolatedStringNodes to allow us to preserve frozenness of
concatena... -
07:27 PM Bug #19975: ISeq#to_binary loses hidden local variable indices
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/9512
-
06:28 PM Revision e59dd709 (git): Pass more T_DATA to obj_free() under RUBY_FREE_AT_EXIT
- T_DATA without a pointer or free function may still have ivars set on
them that need to be freed. The following leake... -
06:04 PM Revision 0462b1b3 (git): [PRISM] Fix splat in when
- Fixes ruby/prism#2147.
-
05:31 PM Revision 8b8dcc7a (git): Handle mmap failures for redblack tree cache
- The redblack tree cache is totally optional, so if we can't allocate
room for the cache, then just pretend as if the ... -
05:12 PM Bug #20181: Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
- This might be a duplicate of https://bugs.ruby-lang.org/issues/19322.
-
05:04 PM Bug #20181 (Closed): Process.wait(-1) doesn't report exited child processes if WAITPID_USE_SIGCHLD is enabled
- From Ruby 2.6 to 3.2, `Process.wait(-1)` doesn't return in a timely manner if a spawned, detached process is still ru...
-
04:30 PM Revision 2d9db72d (git): Write to constant path, call, and index in rescue
- When compiling a rescue reference, you can write to a constant
path, a call, or an index. In these cases we need to c... -
03:41 PM Revision 16624ef4 (git): YJIT: expandarray for non-arrays (#9495)
- * YJIT: expandarray for non-arrays
Co-authored-by: John Hawthorn <[email protected]>
* Skip the new test on RJIT
... -
02:34 PM Bug #20180 (Closed): Inconsistent evaluation of `**{}` depending on position in array
- Reproduced on ruby:3.3 docker container
The evaluation of `**{}` differs if it appears alone (evaluates as empty /... -
01:46 PM Revision 524770d3 (git): Suppress warnings in parser_set_encode function
-
01:44 PM Revision 8292b01c (git): [DOC] Mark up the class name `fatal`
-
01:18 PM Bug #20179 (Open): `--with-ruby-version` configure option is not correctly applied to `rubyhdrdir`
- I am trying to configure ruby using `--with-ruby-version=ruby3.3`. Here is the configure output:
~~~
$ /builddir/... -
01:10 PM Revision 517e0d87 (git): Move node value functions closer to other similar functions
-
01:10 PM Revision 631eb2a1 (git): Rename node value functions
- They don't compile nodes then remove compile_ prefix.
`compile_numeric_literal` always returns integer then
use integ... -
01:10 PM Revision 5a471784 (git): Restore unknown case
- This existed before 1b8d01136c3ff6c60325c7609d61e19ac42acd9f.
-
01:10 PM Revision 731fee04 (git): Use `BUILTIN_TYPE` because SPECIAL_CONST or not is already checked
-
12:17 PM Revision b35e21b3 (git): Remove reference counter from rb_parser_config
- It's allocated outside of parser then no need to track
reference count in rb_parser_config. -
12:17 PM Revision 52d9e559 (git): Statically allocate parser config
-
12:11 PM Revision c3b24361 (git): `set_yylval_literal` is not used
-
11:02 AM Revision 5fa3259b (git): Ruby 3.3 is always failed at spec/mspec/lib/mspec/runner/actions/constants_leak_checker.rb
-
11:02 AM Revision 0a27142c (git): Ignore windows_31j module with mswin
-
11:02 AM Revision 3113bc8d (git): stat command is not provided on Windows
-
11:02 AM Revision 3103ed41 (git): Use timeout instead of sleep on Windows
-
11:02 AM Revision 80feecd6 (git): Don't use cat command on native Windows
-
07:09 AM Bug #20001 (Open): Make Ruby work properly with ASAN enabled
-
06:30 AM Bug #20001 (Closed): Make Ruby work properly with ASAN enabled
- Applied in changeset commit:git|4ba8f0dc993953d3ddda6328e3ef17a2fc2cbde5.
----------
Pass down "stack start" variabl... - 06:58 AM Revision 396e9466 (git): Revert "Pass down "stack start" variables from closer to the top of the stack"
- This reverts commit 4ba8f0dc993953d3ddda6328e3ef17a2fc2cbde5.
- 06:58 AM Revision 6af0f442 (git): Revert "Make stack bounds detection work with ASAN"
- This reverts commit 6185cfdf38e26026c6d38220eeca48689e54cdcf.
- 06:58 AM Revision ac0ba3c0 (git): Revert "Allow each_stack_location to accept context for the callback"
- This reverts commit 179228cd83a926efcd79ca5d0c6ed6af0c2389c0.
- 06:58 AM Revision 33a03cb2 (git): Revert "Define special macros for asan/msan being enabled"
- This reverts commit bdafad879093ef16a9a649154c4b2e4ebf492656.
- 06:58 AM Revision 688a6ff5 (git): Revert "Mark asan fake stacks during machine stack marking"
- This reverts commit d10bc3a2b8300cffc383e10c3730871e851be24c.
- 06:58 AM Revision 18d85af9 (git): Update bundled gems list as of 2024-01-12
-
06:36 AM Revision 51ba6549 (git): Set prerelease flag if tag includes preview or rc
- 06:29 AM Revision d10bc3a2 (git): Mark asan fake stacks during machine stack marking
- ASAN leaves a pointer to the fake frame on the stack; we can use the
__asan_addr_is_in_fake_stack API to work out the... - 06:29 AM Revision bdafad87 (git): Define special macros for asan/msan being enabled
- __has_feature is a clang-ism, and GCC has a different way to tell if
sanitizers are enabled. For this reason, I don't... - 06:29 AM Revision 179228cd (git): Allow each_stack_location to accept context for the callback
- This is preparing for a more specialised, asan-aware version of
gc_mark_maybe which needs some additional context pas... - 06:29 AM Revision 6185cfdf (git): Make stack bounds detection work with ASAN
- Where a local variable is used as part of the stack bounds detection, it
has to actually be on the stack. ASAN can pu... - 06:29 AM Revision 4ba8f0dc (git): Pass down "stack start" variables from closer to the top of the stack
- The implementation of `native_thread_init_stack` for the various
threading models can use the address of a local vari... -
05:56 AM Revision 6a45320c (git): Truncate only prefix. Don't remove v from like preview1
- 03:10 AM Revision 1e9fac4d (git): Bump actions/cache from 3.3.2 to 3.3.3
- Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/act... - 02:44 AM Revision f5237e10 (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/act... -
01:41 AM Bug #20043: `defined?` checks for method existence but only sometimes
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/9500
-
12:53 AM Revision 18573b8d (git): Avoid reading unused lvars in Primitive.cexpr
- Previously on builds with optimizations disabled, this could result in
an out of bounds read. When we had all of:
* b...
Also available in: Atom