Activity
From 05/31/2024 to 06/06/2024
06/06/2024
-
10:46 PM Bug #14480 (Closed): miniruby crashing when compiled with -O2 or -O1 on aarch64
- Applied in changeset commit:git|029d92b8988d26955d0622f0cbb8ef3213200749.
----------
Disable __builtin_setjmp usage on linux-aarch64
It is questionable whether __builtin_setjmp should default to yes
at all, but since it appears to stil... -
10:46 PM Revision 029d92b8 (git): Disable __builtin_setjmp usage on linux-aarch64
- It is questionable whether __builtin_setjmp should default to yes
at all, but since it appears to still have problems on this platform,
it seems safest to disable it.
Fixes [Bug #14480] -
10:31 PM Revision 8f7d0813 (git): remove unused variable
-
10:02 PM Bug #19749 (Closed): Confirm correct behaviour when attaching private method with `#define_method`
- Applied in changeset commit:git|ad29527920b2a37ee427dc4991ff74d7a2f53e05.
----------
Fix Module#define_method to change visibility when passed existing method body
Fixes [Bug #19749] -
09:32 AM Bug #19749: Confirm correct behaviour when attaching private method with `#define_method`
- Discussed at the dev meeting. @matz said `define_method(:foo, instance_method(:foo))` should change the visibility of `foo` to that of the current context.
-
10:02 PM Revision ad295279 (git): Fix Module#define_method to change visibility when passed existing method body
- Fixes [Bug #19749]
-
09:37 PM Revision f789b816 (git): remove debug output
-
08:30 PM Bug #20478 (Closed): Circular parameter syntax error rules
- Merged.
-
09:10 AM Bug #20478: Circular parameter syntax error rules
- Discussed at the dev meeting. @matz said all cases should be accepted with no syntax error. So `def foo(bar = bar) = bar; foo` will return `nil` with no warning and error.
-
08:29 PM Revision cbc83c4a (git): Remove circular parameter syntax error
- https://bugs.ruby-lang.org/issues/20478
-
07:53 PM Bug #20527 (Closed): Control-Flow protection cannot be enabled for Ruby due to ASM bits
- Closing as duplicate as suggested.
-
06:53 PM Revision eb46b092 (git): [rubygems/rubygems] Fix printing requirement based spec filters
- I don't understand what was the idea of "!=" here.
https://github.com/rubygems/rubygems/commit/06d5f1dcf1 -
06:53 PM Revision 0fb73a8e (git): [rubygems/rubygems] Avoid appending a final "/" when `fallback_timeout` is used in config
- https://github.com/rubygems/rubygems/commit/a0af1baa2b
-
06:53 PM Revision 765d6159 (git): [rubygems/rubygems] Remove per uri options constant
- I don't think we should add more of these.
https://github.com/rubygems/rubygems/commit/9eee9948cc -
06:53 PM Revision 82b68bc3 (git): [rubygems/rubygems] Move Bundler settings specific logic to Bundler
- https://github.com/rubygems/rubygems/commit/7d1e8be2ce
-
06:53 PM Revision da10d1dd (git): [rubygems/rubygems] Avoid `is_a?` check before using `normalize_uri`
- https://github.com/rubygems/rubygems/commit/31cb15d03f
-
06:53 PM Revision 60620509 (git): [rubygems/rubygems] Remove unnecessary `.to_s`
- The `normalize_uri` method always gives back a String.
https://github.com/rubygems/rubygems/commit/246953010c -
06:53 PM Revision 61a80bd1 (git): [rubygems/rubygems] Truly ignore commented out settings
- https://github.com/rubygems/rubygems/commit/e31df2d6ef
-
06:44 PM Revision 4d29d219 (git): [rubygems/rubygems] Enable one spec on truffleruby that reproduces the Pathname problem
- Recent refactorings in test suite to not load `pathname` for launching
Bundler subprocesses make some specs fail due to the warnings Ruby prints
when autoloading `pathname` under a namespace. But enabling this spec
also reproduces the ha... -
06:44 PM Revision da75df2f (git): [rubygems/rubygems] Stop depending on `pathname` for subprocess launching
- When launching bundler subprocesses for end to end testing, all of them
will load the `spec/support/rubygems_version_manager.rb` file passed as
a ruby's `-r` flag.
Unfortunately this file depends on `pathname`, so unless we drop that
de... -
06:44 PM Revision 9579c3d9 (git): [rubygems/rubygems] Reuse `git` helper when possible
- https://github.com/rubygems/rubygems/commit/f7c7bae940
-
06:44 PM Revision b5a7f639 (git): [rubygems/rubygems] Respect `GEM_COMMAND` in non ruby-core mode
- Not that I need it, but reads better.
https://github.com/rubygems/rubygems/commit/db3eca7b92 -
06:44 PM Revision b5949ad6 (git): [rubygems/rubygems] Simplify check for ruby-core setup
- https://github.com/rubygems/rubygems/commit/77bc6f1ecc
-
06:44 PM Revision 4720b7d2 (git): [rubygems/rubygems] The `system_gem_path` helper method already joins internally
- https://github.com/rubygems/rubygems/commit/10f2ce1afb
-
06:44 PM Revision f0d5df73 (git): [rubygems/rubygems] The `default_bundle_path` helper method already joins internally
- https://github.com/rubygems/rubygems/commit/6b3f555211
-
06:44 PM Revision 7fbc9ffb (git): [rubygems/rubygems] The `home` helper method already joins internally
- https://github.com/rubygems/rubygems/commit/279740ed52
-
06:44 PM Revision 30d028ea (git): [rubygems/rubygems] The `bundled_app` helper method already joins internally
- https://github.com/rubygems/rubygems/commit/57576e27a1
-
06:44 PM Revision f5c6a395 (git): [rubygems/rubygems] The `tmp` test helper already joins internally
- https://github.com/rubygems/rubygems/commit/2d9eeadb62
-
06:44 PM Revision c8161a4e (git): [rubygems/rubygems] Autoload `pathname` at the top level
- Otherwise Ruby >= 3.2 gives a warning which makes several specs fail,
and truffleruby rejects it at all.
https://github.com/rubygems/rubygems/commit/ae2878484f -
06:35 PM Bug #20561: Segfault with attr_writer, safe navigation and an "in" loop
- I believe this has already been fixed in https://bugs.ruby-lang.org/issues/20468. Can you try HEAD?
-
05:12 PM Bug #20561: Segfault with attr_writer, safe navigation and an "in" loop
- I tried a few more Ruby versions. JRuby 9.4.7.0 works, but it results in an error when `foo = nil`. MRuby 3.3.0 and TruffleRuby 24.0.1 both work fine with this case and the `foo = nil` case.
-
05:11 PM Bug #20561 (Closed): Segfault with attr_writer, safe navigation and an "in" loop
- ```ruby
class Foo
attr_accessor :bar
end
foo = Foo.new
for foo&.bar in [1,2,3]
p foo
end
```
This code works fine when using `foo.bar` in the loop, without the safe navigator, but the safe navigator results in a segfault. ... -
05:49 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- I created a proof of concept patch for colon style inspect https://github.com/ruby/ruby/pull/10924
-
09:27 AM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- Discussed at the dev meeting.
In conclusion, @matz wanted to change the return value of `Hash#inspect` significantly and estimate its compatibility impact:
```ruby
{ :key => 42 } #=> {key: 42} # if the key is a symbol
{ :== ... -
04:44 PM Revision 7b7d1586 (git): [ruby/prism] Reject additional patterns under splat in target
- https://github.com/ruby/prism/commit/90d570aa50
-
03:50 PM Revision e323dbb1 (git): Make subclasses to define methods
-
03:49 PM Revision ec7babd1 (git): [Feature #19998] Untyped Data API has been marked as deprecated
-
03:25 PM Revision 9f469ad1 (git): [DOC] Time uses the proleptic Gregorian calendar.
-
02:57 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- @mame CRuby already needs to get arguments as an array to parse command-line flags, so `RbConfig.ruby_args` just exposes that.
If CRuby can parse these Ruby command-line flags, for sure we can save them in some kind of array.
IIRC th... -
10:23 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- I am afraid if it is more difficult than expected to do "launch subprocess Ruby instances with the same settings".
I am not very familiar with Windows, but I have heard that there is no concept of "an array of command-line arguments" ... -
02:37 PM Bug #20154: aarch64: configure overrides `-mbranch-protection` if it was set in CFLAGS via environment
- BTW since this is about overriding configuration options, I think that #20520 falls into the same bucket
-
02:16 PM Misc #20488 (Closed): Document source file size restrictions
- Thank you!
-
05:46 AM Misc #20488: Document source file size restrictions
- The limit will be declared (for CRuby):
* maximum line: signed 32 bits (`eval` uses negative line numbers)
* maximum column: unsigned 32 bits
* maximum file byte size: unsigned 32 bits
Matz.
-
02:15 PM Revision 78d7b470 (git): [ruby/prism] Add some code samples
- https://github.com/ruby/prism/commit/f5c883af56
-
02:15 PM Revision b0059980 (git): [ruby/prism] Add some samples for using prism APIs
- https://github.com/ruby/prism/commit/6a4fe21088
-
01:19 PM Misc #20013: Travis CI status
- jaruga (Jun Aruga) wrote in #note-32:
> I noticed the following message is displayed on our Travis page. I will contact Travis support.
> ...
Travis support quickly responded and fix the issue removing the message. And I can see the Tr... -
09:37 AM Misc #20013: Travis CI status
- I noticed the following message is displayed on our Travis page. I will contact Travis support.
https://app.travis-ci.com/github/ruby/ruby
> We are unable to start your build at this time. You exceeded the number of users allowed fo... -
11:44 AM Bug #20521 (Closed): Memory leak in Ripper parsing
- Applied in changeset commit:git|27321290d954300192c82cdf5e2c794a695473f5.
----------
[Bug #20521] ripper: Clean up strterm -
11:43 AM Revision 27321290 (git): [Bug #20521] ripper: Clean up strterm
-
11:20 AM Revision f465045d (git): [ruby/reline] Remove instance variable @first_char
- (https://github.com/ruby/reline/pull/717)
When Reline reads EOF, Reline.readline should return nil if and only if input is empty
https://github.com/ruby/reline/commit/cc74b3686a -
09:46 AM Misc #20432: Proposal for workflow changes related to teeny releases
- Thank you for considering my proposals and for the work you all have been doing to make a better release process. It is exciting to see more releases being made. The community is thankful for the work of all the current and past branch m...
-
09:36 AM Misc #20432 (Closed): Proposal for workflow changes related to teeny releases
- We already worked with proposal 2. It happened to be the same timing as security releases were required in recent years.
I and @nagachika and @k0kubun try to release with proposal 3. I'm not sure proposal 1 is good for branch maintain... -
09:44 AM Feature #19998 (Closed): Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- Applied in changeset commit:git|fbb61a26e71be9faccb4ad2392e71d0a561854d1.
----------
Mark old Data API as deprecated
[Feature #19998] -
09:42 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- > Whether it is actually possible to remove the APIs may require careful consideration in the future.
Agreed. I'm not suggesting that yet. However I do have a proof of concept that degrades a bit the old API performance in favor of im... -
09:35 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- Discussed at the dev meeting. Matz accepted build-time warning.
However, the author of a gem that is not well maintained is not likely to notice the build-time warning. Whether it is actually possible to remove the APIs may require ca... -
09:44 AM Revision fbb61a26 (git): Mark old Data API as deprecated
- [Feature #19998]
-
09:43 AM Bug #20416 (Closed): IO#read doesn't change buffer encoding unless `maxlen = nil`
- Discussed at the dev meeting, and @matz agreed with @nobu. Closing
-
09:41 AM Bug #20319: Singleton class is being frozen lazily in some cases
- Discussed at the dev meeting, but no one had a deep understanding of Jeremy's patch, and matz was unable to make any decision.
-
09:30 AM Bug #20043: `defined?` checks for method existence but only sometimes
- Discussed at the dev meeting. @matz said `defined?([*a])`, `defined?(itself(*a))`, and `defined?({ a => a })` should all return nil.
Matz was not positive about restricting the expression of `defined?`. @ko1 said he will investigate t... -
09:08 AM Bug #20504: Interpolated string literal in regexp encoding handling
- Discussed at the dev meeting, and @matz said `/#{"\x80"}/` should not raise a SyntaxError but return a binary encoded regexp object.
- 09:07 AM Revision d4aff75a (git): [ruby/logger] Add support for symbols in #shift_age
- Resolves issue: https://github.com/ruby/logger/issues/46
https://github.com/ruby/logger/commit/83502c2107 -
08:40 AM Feature #20443: Allow Major GC's to be disabled
- First, If you clearly define what would happen when the (plugged) GC does not generational scanning, I am OK for it. @byroot told me that calling those methods would raise `NotImplementedError` when GC does not provide generational GC.
... -
08:31 AM Revision 1a092857 (git): Revert "Update bundled_gems"
- This reverts commit ba72cfa6616d377ceb62d94f10157097349634e5.
https://github.com/ruby/ruby/actions/runs/9396582605/job/25878058017#step:10:788
```
../../../../../../src/.bundle/gems/rbs-3.5.0/ext/rbs_extension/location.h:23:25: error: ... -
08:22 AM Misc #20407: Question about applying encoding modifier to an interpolated Regexp
- I think:
1. If a `Regexp` source string contains non-US-ASCII chars, the source string encoding is honored.
2. If the source string contains US-ASCII chars only, falls back to
a. an encoding option if given.
b. US-ASCII.
-
07:06 AM Revision ba72cfa6 (git): Update bundled_gems
-
06:48 AM Bug #20218: aset/masgn/op_asgn with keyword arguments
- matz (Yukihiro Matsumoto) wrote in #note-18:
> It is the direction of Ruby's evolution to separate keyword arguments from normal arguments, just as Ruby 3.0 promoted the separation of keyword arguments. This proposal goes against this di... -
05:43 AM Bug #20218: aset/masgn/op_asgn with keyword arguments
- It is the direction of Ruby's evolution to separate keyword arguments from normal arguments, just as Ruby 3.0 promoted the separation of keyword arguments. This proposal goes against this direction and cannot be accepted. We investigated...
-
05:26 AM Bug #18622 (Closed): const_get still looks in Object, while lexical constant lookup no longer does
- Sorry, I forgot to reply. Due to the compatibility concern, I'd like to keep this behavior even though it's inconsistent with direct constant accesses.
Matz.
-
12:04 AM Revision 6f3c1e1d (git): [PRISM] Sync latest prism
06/05/2024
-
09:57 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- > IMO it shouldn't exist, redundant with `$0`
Keep in mind that `$0` can be set as process name, so `Process.argv0` is not redundant (despite the unfortunate naming).
> ...
Agreed. This will also allow me to make a clearer point fo... -
08:28 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- Dan0042 (Daniel DeLorme) wrote in #note-20:
> I tried, and `--enable-load-relative` doesn't appear to be a supported option in any version of ruby.,
It's a `./configure` option: `./configure --enable-load-relative`.
Sorry I should h... - 09:54 PM Revision d0327a72 (git): Don't add `+YJIT` to `RUBY_DESCRIPTION` until it's actually enabled (#10920)
- If you start Ruby with `--yjit-disable`, the `+YJIT` shouldn't be
added until `RubyVM::YJIT.enable` is actually called. Otherwise
it's confusing in crash reports etc.
Co-authored-by: Jean Boussier <jean.boussier@gmail.com> -
08:27 PM Revision 0b319869 (git): [DOC] Doc for module Errno (#10913)
-
07:23 PM Bug #20560 (Closed): make install - skipped bundled gems - minor issue
- See most recent job:
https://github.com/ruby/ruby/actions/runs/9389674968/job/25857719333#step:9:311-313
Which is logging the following during `make install`:
```
skipped bundled gems:
power_assert-2.0.4dev.gem not fou... -
07:12 PM Misc #20523: mswin and MSFT/vcpkg
- @hsbt
Thanks for the fix.
When you closed the PR I opened, you stated 'It caused surprisedly build failure with uncontrollable changes by vcpkg repository after 2-3 years.'
I wasn't sure what you were referring to. After seeing... -
03:44 AM Misc #20523 (Closed): mswin and MSFT/vcpkg
- >vcpkg’s commit is updated more frequently to use current package
Done, see https://github.com/ruby/ruby/commit/59ab002665cb3c69bdfbf07e73b1a412c5e5205e
> ...
I don't want to do that. The all of branches are maintained while 3 year... -
06:53 PM Revision 33f92b3c (git): Don't add `+YJIT` to `RUBY_DESCRIPTION` until it's actually enabled
- If you start Ruby with `--yjit-disable`, the `+YJIT` shouldn't be
added until `RubyVM::YJIT.enable` is actually called. Otherwise
it's confusing in crash reports etc. -
06:40 PM Revision fa038f83 (git): [PRISM] Strip out common.mk for pm_string_list
-
06:40 PM Revision 46c3e609 (git): [ruby/prism] Fix up documentation for regexp structs
- https://github.com/ruby/prism/commit/78d9f20e9d
-
06:40 PM Revision d13112b7 (git): [ruby/prism] Parse all regular expressions
- https://github.com/ruby/prism/commit/11e0e204ce
-
06:40 PM Revision 3cb866ce (git): [ruby/prism] Add Onigmo to other gemfiles
- https://github.com/ruby/prism/commit/499ec1c3f1
-
06:40 PM Revision 2a9c20c3 (git): [ruby/prism] Add Onigmo errors for invalid groups
- https://github.com/ruby/prism/commit/27e7685dd4
-
06:40 PM Revision 0406efaf (git): [ruby/prism] Add Onigmo error for invalid repeat and empty group name
- https://github.com/ruby/prism/commit/953601e3c0
-
06:40 PM Revision d6042876 (git): [ruby/prism] Add Onigmo error for empty char-class
- https://github.com/ruby/prism/commit/2e02fa3b80
-
06:40 PM Revision c3747d5a (git): [ruby/prism] Report onigmo errors for depth
- https://github.com/ruby/prism/commit/e0e8bba8be
-
06:40 PM Revision 41f27346 (git): [ruby/prism] Change pm_regexp_parse to not return boolean
- https://github.com/ruby/prism/commit/b03afbe857
-
06:40 PM Revision 65746055 (git): [ruby/prism] Pass prism parser into regexp parser
- https://github.com/ruby/prism/commit/c19b0fa185
-
06:40 PM Revision ac70dd07 (git): [ruby/prism] Remove unused string list struct
- https://github.com/ruby/prism/commit/36c6851c85
-
06:40 PM Revision ad438623 (git): [ruby/prism] Switch regexp parsing to use a callback from named capture groups
- https://github.com/ruby/prism/commit/29d80e486e
-
06:29 PM Feature #20425: Optimize forwarding callers and callees
- @ko1 do you mind reviewing the patch again? I've address the comments you made. I added two new instructions (one for `send` and one for `invokesuper`). I also simplified `insns.def` so it should be clear why we need a write barrier i...
-
05:30 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- vo.x (Vit Ondruch) wrote in #note-35:
> Just FTR, the annocheck test is incomplete in case `--enable-shared` is used, because the test is checking just `ruby` executable, while it should also check `libruby.so`.
The test should be likel... -
05:07 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
- Just FTR, the annocheck test is incomplete in case `--enable-shared` is used, because the test is checking just `ruby` executable, while it should also check `libruby.so`.
I should also mention that apart of the coroutines, the YJIT com... -
04:38 PM Bug #20527: Control-Flow protection cannot be enabled for Ruby due to ASM bits
- This is actually duplicate of #18061 (I'll suggest to continue discussion there), which includes this draft implementation:
https://github.com/ruby/ruby/pull/5895 -
04:07 PM Bug #20527: Control-Flow protection cannot be enabled for Ruby due to ASM bits
- The annobin instructions are very misleading for `Context.S` because it performs stack switching:
```
# Save caller stack pointer:
movq %rsp, (%rdi)
# Restore callee stack pointer:
movq (%rsi), %r... -
03:39 PM Bug #20527 (Closed): Control-Flow protection cannot be enabled for Ruby due to ASM bits
- Checking if Ruby is properly hardened up to Fedora standard using `annocheck`, this is the result:
~~~
$ annocheck redhat-linux-build/libruby.so.3.3.1
annocheck: Version 12.54.
Hardened: libruby.so.3.3.1: FAIL: cf-protection test ... -
04:29 PM Revision aa61d423 (git): [ruby/irb] Add accidentally dropped disable_irb command back
- (https://github.com/ruby/irb/pull/964)
* Add accidentally dropped disable_irb command back
* Sort command files require by name
https://github.com/ruby/irb/commit/1d627cebca -
12:05 PM Revision 83f02d42 (git): [Bug #20524] Do not define USE_GMP insteaad of setting to "no"
-
09:18 AM Bug #20526: File.open(encoding: "bom|utf-8") converts "\r\n" to "\n" on Windows
- Probably a bug at push back after BOM look ahead.
BTW, on Windows, `File.write` and `File.read` are in text mode by default.
That file would be 4 bytes, "a\r\r\n" in binary. -
08:42 AM Bug #20526 (Open): File.open(encoding: "bom|utf-8") converts "\r\n" to "\n" on Windows
- I'm not sure whether this is an intentional behavior or not but it seems that `encoding: "utf-8"` doesn't change newline conversion but `encoding: "bom|utf-8"` changes newline conversion:
```ruby
File.write("a.txt", "a\r\n")
File.re... -
09:01 AM Revision f8e3dd4e (git): [Bug #20524] win32: Suppress GMP warning
- ```
C:\vcpkg\installed\x64-windows\include\gmp.h(2237): warning C4146: unary minus operator applied to unsigned type, result still unsigned
``` -
08:26 AM Revision d7e558e3 (git): Mark to warn logger as bundled gems for Ruby 3.5
-
08:11 AM Feature #20524 (Closed): mswin and gmp
- Applied in changeset commit:git|065190a973c9534b93e3ff99b789bcc945032dfd.
----------
[Bug #20524] win32: Try to configure GMP if available -
08:11 AM Revision 065190a9 (git): [Bug #20524] win32: Try to configure GMP if available
-
07:29 AM Revision e0fe6f70 (git): merge revision(s) f8abd24b1f28998157da1230b231419ef7b81722: [Backport #20522]
- Improve YJIT performance warning regression test
[Bug #20522] -
07:22 AM Revision f8abd24b (git): Improve YJIT performance warning regression test
- [Bug #20522]
-
04:36 AM Revision 06f470ce (git): Merge RubyGems 3.5.11 and Bundler 2.5.11 for Ruby 3.3 (#10870)
- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
-
04:04 AM Revision f567633a (git): [ruby/reline] Refactor input key reading
- (https://github.com/ruby/reline/pull/712)
* Add key binding matching status :matching_matched
* Simplify read_2nd_character
* Add a comment of matching status and EOF
* Matching status to a constant
* Expand complicated ternary oper... -
03:34 AM Revision 59ab0026 (git): [Misc #20523] Use HEAD version of vcpkg at 20240605
- This revision includes the following packages:
```
gmp:x64-windows@6.3.0
libffi:x64-windows@3.4.6
libyaml:x64-windows@0.2.5#4
openssl:x64-windows@3.3.0#1
vcpkg-cmake:x64-windows@2024-04-18
vcpkg-cmake-config:x64-windows@2022-02-06#1
vcp... - 02:48 AM Revision 49af0012 (git): Bump github/codeql-action from 3.25.7 to 3.25.8
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.7 to 3.25.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md... - 12:45 AM Revision 63e9eaa5 (git): [ruby/openssl] Fix test_create_with_mac_iter accidently setting keytype not maciter
- This test was accidentally passing the value 2048 into the keytype
parameter of PKCS12_create, not the mac_iter parameter (because it had
one too many `nil`s in the call). This value is invalid, and will make
OpenSSL perform an out-of-bo... -
12:00 AM Revision 2e5e4718 (git): Added gmp for Windows CI. But we may need to use additional configuration
06/04/2024
-
11:57 PM Revision 5dce2620 (git): Don't need readline library now
-
11:35 PM Revision 10ecdeb4 (git): Mark to warn fiddle as bundled gems for Ruby 3.5
-
10:35 PM Feature #20525 (Rejected): Percent string literal with indentation support or String#dedent
- I have code that looks like this in an application:
```ruby
ContentSlide(title: "Why Phlex?"){
Markdown <<~MARKDOWN
* Because its fun
* Because its super-de-dooper
MARKDOWN
},
```
The "squiggle" HEREDOCs strips the... -
10:23 PM Feature #19458: Expose HEREDOC identifier
- I'm working with some code in Phlex that would benefit from introspecting the name of the HEREDOC. Here's what I currently have:
```ruby
ContentSlide(title: "Why Phlex?"){
Markdown <<~MARKDOWN
* Because its ... -
10:01 PM Bug #20180 (Closed): Inconsistent evaluation of `**{}` depending on position in array
-
10:01 PM Bug #20280 (Closed): Error at invalid encoding symbols
-
10:01 PM Bug #20270 (Closed): Options with `--parser=prism`
-
09:58 PM Bug #20517: `Ripper.tokenize('"\\M-あ"')` separates encoding valid string to encoding invalid string.
- ruby_3_3 commit:05553cf22d43dd78b8f30cc4591230b5c000c538.
-
09:58 PM Revision 1ff55bb0 (git): merge revision(s) 05553cf22d43dd78b8f30cc4591230b5c000c538: [Backport #20517]
- [Bug #20517] Make a multibyte character one token at meta escape
-
08:28 PM Revision c2fb22d0 (git): [ruby/prism] (parser) mark spanning newlines as incorrect
- https://github.com/ruby/prism/commit/09ba678066
-
08:28 PM Revision e440804d (git): [ruby/prism] (parser) split up regexp content by lines
- https://github.com/ruby/prism/commit/85b4a5f804
-
08:28 PM Revision c2d3573c (git): [ruby/prism] (parser) handle quoted symbols in hash patterns
- https://github.com/ruby/prism/commit/461aa5e658
-
08:28 PM Revision 4354e452 (git): [ruby/prism] (parser) fix up srange_find to anchor at the start of the slice
- https://github.com/ruby/prism/commit/aecce571d8
-
08:28 PM Revision f118f92a (git): [ruby/prism] (parser) mark unary_num_pow_precedence as incorrect
- https://github.com/ruby/prism/commit/c49efdf824
-
08:28 PM Revision bbf9b5ba (git): [ruby/prism] (parser) fix up nested multi write
- https://github.com/ruby/prism/commit/12e079c97e
-
08:22 PM Bug #20522: YJIT can panic if shape transition in `gen_setinstancevariable` emits a performance warning
- ruby_3_3 commit:4f00d98b327e3aa23564aa765488d15bc60c9e79.
-
05:41 PM Bug #20522: YJIT can panic if shape transition in `gen_setinstancevariable` emits a performance warning
- 3.3 backport PR: https://github.com/ruby/ruby/pull/10911
-
05:21 PM Bug #20522 (Closed): YJIT can panic if shape transition in `gen_setinstancevariable` emits a performance warning
- Applied in changeset commit:git|f7b53a75b648e7156f49c1d5c266e2d85f159fc6.
----------
Do not emit shape transition warnings when YJIT is compiling
[Bug #20522]
If `Warning.warn` is redefined in Ruby, emitting a warning would invoke
Rub... -
04:27 PM Bug #20522: YJIT can panic if shape transition in `gen_setinstancevariable` emits a performance warning
- Patch: https://github.com/ruby/ruby/pull/10910
-
03:45 PM Bug #20522 (Closed): YJIT can panic if shape transition in `gen_setinstancevariable` emits a performance warning
- Reproduction script:
```ruby
Warning[:performance] = true
module StrictWarnings
def warn(msg, category: nil, **)
raise msg
end
end
Warning.singleton_class.prepend(StrictWarnings)
class A
def co... - 08:21 PM Revision 4f00d98b (git): [3.3 backport] Do not emit shape transition warnings when YJIT is compiling (#10911)
- Do not emit shape transition warnings when YJIT is compiling
[Bug #20522]
If `Warning.warn` is redefined in Ruby, emitting a warning would invoke
Ruby code, which can't safely be done when YJIT is compiling.
Co-authored-by: Jean Bouss... -
08:18 PM Bug #20496: Segfault when enabling YJIT
- ruby_3_3 commit:b74f669e2fbe5c63409878e7a9f9d39c8554ff77.
-
08:17 PM Revision b74f669e (git): YJIT: Fix out of bounds access when splatting empty array (#10905)
- This is a backport of 6c8ae44a388e5c03b7db90376af3652007b574e8 with a
test tailored to crash the 3.3.x branch (from GH-10904).
Previously, we read the last element array even when the array was
empty, doing an out-of-bounds acce... -
08:14 PM Revision 1df1538b (git): merge revision(s) f54369830f83a65fb54916d762883fbe6eeb7d0b, 338eb0065bd81ba8ae8b9402abc94804a24594cc, ac636f5709feb1d9d7a0c46a86be153be765cf21: [Backport #20516]
- Revert "Rollback to released version numbers of stringio and strscan"
This reverts commit 6a79e53823e328281b9e9eee53cd141af28f8548.
[ruby/strscan] StringScanner#captures: Return nil not "" for unmached capture (https://... -
08:04 PM Revision ac429df6 (git): Ignore retguard symbols when looking for leaked symbols
- retguard symbols are added on OpenBSD as part of stack protection.
They should be ignored by the leaked symbols checker, just as we
ignore asan symbols. -
07:34 PM Revision c90cb4d7 (git): Fix pathes => paths typo in bootstrap test runner
-
06:43 PM Revision 0a0338b0 (git): merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b, 0301473fb523c71d8cdc4966971f31f502001185, 874e9fc34d728f8e2444d15aa6759befd217c464, 7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]
- Clear runtime dependencies if default gems is specified.
The current build system uses runtime dependencies from only
`.bundle` directory. We shouldn't install runtime dependencies
from rubygems.org when `make te... -
06:35 PM Revision 932ecd3a (git): [ruby/reline] Ensure no escape sequence before printing prompt
- (https://github.com/ruby/reline/pull/716)
https://github.com/ruby/reline/commit/f9227b5c89 -
06:33 PM Revision 5ea843f9 (git): Revert "Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.""
- This reverts commit 6e84ac2359c8fc8cb686ef4644b9cae26cd5ab9e.
Now that the rubygems spec change has been merged, let's try reverting
this and fixing it with tompng's new patch. -
06:32 PM Revision 12c806ac (git): merger.rb: Put spaces in between revisions
- so that they are linked correctly on GitHub
-
06:31 PM Revision 40a9e806 (git): merger.rb: Put spaces in between revisions
- so that they are linked correctly on GitHub
-
06:24 PM Revision 69dc6416 (git): [rubygems/rubygems] Relax readline prompt test
- https://github.com/rubygems/rubygems/commit/1f6e028201
-
05:50 PM Revision 6b379b9b (git): [DOC] Exceptions doc (#10865)
-
05:40 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- > I think it's everyone's understanding that `RbConfig.ruby` should always be the path of the currently-running ruby.
Yes I believe that is everyone's understanding. At least it was mine. And it turns out to be incorrect. Sure in the ... -
05:21 PM Revision f7b53a75 (git): Do not emit shape transition warnings when YJIT is compiling
- [Bug #20522]
If `Warning.warn` is redefined in Ruby, emitting a warning would invoke
Ruby code, which can't safely be done when YJIT is compiling. -
04:55 PM Feature #20524 (Closed): mswin and gmp
- Currently, the `vcpkg.json` file exists, and it can be used to specify what MSFT/vcpkg packages to install, and also a repo commit, which will determine the what package versions are used. The file lists the gmp package.
1. To use th... -
04:53 PM Misc #20523 (Closed): mswin and MSFT/vcpkg
- Currently the `windows.yml`workflow caches MSFT/vcpkg packages and the `vcpkg.json` file locks the vcpkg repo to an older commit. This results in the following package versions being used:
```
Package Ruby CI Current vcpk... -
03:19 PM Revision 86272257 (git): Add/revise Errno descriptions (#10897)
-
03:05 PM Revision fd517a97 (git): [ruby/prism] Revert "Revert "Properly destructure procarg0 in parser translation""
- This reverts commit https://github.com/ruby/prism/commit/d8ae19d0334a.
https://github.com/ruby/prism/commit/df1eda2811 -
02:17 PM Revision a2147eb6 (git): YJIT: Fix getconstant exits after opt_ltlt fusion (#10903)
- Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
-
01:11 PM Bug #20493: Segfault on rb_io_getline_fast
- k0kubun (Takashi Kokubun) wrote in #note-12:
> Today. I just released Ruby 3.3.2.
Awesome! I forgot to respond when I read it. I see it propagated to OBS too, thanks all for your work & efforts!
Until the next bug! 😹 -
12:09 PM Revision a8c1ef6a (git): [ruby/irb] Remove useless Reline::Key.new and update wrong comment
- for alt+d
(https://github.com/ruby/irb/pull/963)
https://github.com/ruby/irb/commit/a572180b3a -
10:53 AM Revision 892849ac (git): Remove dependency on fiddle from test/ruby
- Co-authored-by: "Nobuyoshi Nakada" <nobu@ruby-lang.org>
-
09:30 AM Revision 8ff5458c (git): EXACT list is mostly same as SINCE list on bundled gems.
-
09:30 AM Revision f365bef0 (git): Warn to use win32ole without Gemfile for Ruby 3.5
-
09:01 AM Revision 1ac3a71d (git): [DOC] ruby.1: Refine RUBY_GC_HEAP_n_INIT_SLOTS description
-
08:56 AM Revision bdcdeb79 (git): [DOC] ruby.1: mandoc is not markdown
-
08:27 AM Misc #20435: DevMeeting-2024-06-06
- - [Feature #20443] Allow Major GC's to be disabled
- @ko1 is against the name `disable_major`
- I would like advice from committers about what an appropriate name for this method should be. -
08:21 AM Feature #20443: Allow Major GC's to be disabled
- eightbitraptor (Matthew Valentine-House) wrote in #note-18:
> Thanks @ko1. I've updated the documentation as per @matz request, ~~so I'll merge and close this now.~~
I've discussed this further with @ko1 on Slack, who would like the ... -
07:50 AM Revision 7bc4b5f1 (git): [ruby/win32ole] Added missing extensions
- https://github.com/ruby/win32ole/commit/8456e8830e
-
07:16 AM Bug #20416: IO#read doesn't change buffer encoding unless `maxlen = nil`
- Yeah, I don't think it's a bug. @nobu should we close?
-
06:09 AM Bug #20416: IO#read doesn't change buffer encoding unless `maxlen = nil`
- The subject should be "IO#read doesn't change buffer encoding unless `maxlen = nil`"?
Since `IO#read` with `maxlen` is byte-oriented operation, there is not an encoding to be set from that `IO`. -
06:26 AM Misc #20519: Porting regexp to pure ruby?
- shyouhei (Shyouhei Urabe) wrote in #note-1:
> Ruby (especially its multilingualized string) is built on top of Onigmo and not vice versa. You must first decouple them, which alone is not an easy task.
Ah yes, I see now that everythi... -
05:58 AM Misc #20519 (Feedback): Porting regexp to pure ruby?
- Ruby (especially its multilingualized string) is built on top of Onigmo and not vice versa. You must first decouple them, which alone is not an easy task.
-
06:00 AM Revision 8080cb70 (git): Removed trailing spaces.
-
05:44 AM Revision 9c4a28b8 (git): [flori/json] Use the pure-Ruby generator on TruffleRuby as it is much faster
- * Using the benchmark from https://github.com/flori/json/pull/580
$ ruby benchmarks/bench.rb dump pure
JSON::Pure::Generator
truffleruby 24.0.0, like ruby 3.2.2, Oracle GraalVM Native [x86_64-linux]
Warming up ---------------------------... -
03:58 AM Misc #20436 (Closed): DevMeeting at RubyKaigi 2024
-
03:40 AM Revision 3eda59e9 (git): Sync strscan HEAD again.
- https://github.com/ruby/strscan/pull/99 split document with multi-byte
chars. -
03:23 AM Revision c5ae432e (git): [flori/json] Cleanup useless ifdef
- The json gem now requires Ruby 2.3, so there is no point keeping
compatibility code for older releases that don't have the
TypedData API.
https://github.com/flori/json/commit/45c86e153f - 02:49 AM Revision 255ca83f (git): Bump ruby/setup-ruby from 1.178.0 to 1.179.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.178.0 to 1.179.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/0cde4689ba33c09f1b890c1725572ad967... -
12:20 AM Revision c4056b0e (git): YJIT: Add another regression test for empty splat
- Follow-up for 6c8ae44a388e5c03b7db90376af3652007b574e8 ("YJIT: Fix out
of bounds access when splatting empty array"). This test crashes Ruby
3.3.2.
06/03/2024
-
11:50 PM Revision e7e83a31 (git): Skip flaky RJIT tests
- https://github.com/ruby/ruby/actions/runs/9352283948/job/25740049841
https://github.com/ruby/ruby/actions/runs/9350872852/job/25735280811
Not a high priority to fix right now, so skipping until we get to fix
it. -
11:13 PM Revision 372531f3 (git): Revert "Skip failing Bundler specs for now"
- This reverts commit a8f5284045e3aba1b45691142e5c01bf1d24d519.
Sorry, I didn't mean to push this one since I reverted the reline
change. -
11:11 PM Revision 6e84ac23 (git): Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not."
- This reverts commit ba01d15cf5db96933905d669c68f5cc0cd6910b8.
It seems to be failing test-bundler-parallel. Reverting it to normalize
the CI. We should revert this revert once we figure it out. -
11:09 PM Revision a8f52840 (git): Skip failing Bundler specs for now
-
10:30 PM Feature #20205: Enable `frozen_string_literal` by default
- I think making `# frozen_string_literal: true` the default is a bad idea.
If the main point is to make Ruby faster, IRL benchmarks so far have shown the reverse. `byroot`'s own initial benchmarks show regular strings being faster or as ... -
09:31 PM Revision 89ef1392 (git): [ruby/prism] Revert "Properly destructure procarg0 in parser translation"
- This reverts commit https://github.com/ruby/prism/commit/823e931ff230.
https://github.com/ruby/prism/commit/d8ae19d033 -
09:24 PM Feature #20443: Allow Major GC's to be disabled
- Thanks @ko1. I've updated the documentation as per @matz request, so I'll merge and close this now.
-
06:40 PM Feature #20443: Allow Major GC's to be disabled
- Proposed code just ignore `gc_aging` while "disable_major_gc" but it can increase aging up to 2 and next major gc makes the age 2 object to old object. In other words permanent objects can promote on single major gc easily.
-
06:26 PM Feature #20443: Allow Major GC's to be disabled
- byroot (Jean Boussier) wrote in #note-11:
> > I think we can promote this case because it makes minor gc faster (the promoted objects can not be freed until major gc, so the number of living objects is same).
> ...
I understand the pro... -
09:12 PM Revision 5502890a (git): [ruby/prism] Properly destructure procarg0 in parser translation
- https://github.com/ruby/prism/commit/823e931ff2
-
08:57 PM Revision 56301ba3 (git): [ruby/prism] Update unparser tests
- https://github.com/ruby/prism/commit/aee84cf42c
-
08:57 PM Revision 856898e9 (git): [ruby/prism] Update seattlerb tests
- https://github.com/ruby/prism/commit/a255653447
-
08:57 PM Revision 91ee58ee (git): [ruby/prism] Update whitequark tests
- https://github.com/ruby/prism/commit/95e2484903
-
08:57 PM Revision 77581dd4 (git): [ruby/prism] Fix up steep issues
- https://github.com/ruby/prism/commit/21d314eb2e
-
08:12 PM Feature #20425: Optimize forwarding callers and callees
- ko1 (Koichi Sasada) wrote in #note-9:
> how about to introduce `sendforward` instruction (`forwardsend`?) rather than extending `send` to make `send` simple? because `send` will be used frequently, it should be simpler.
Ok, that's fi... -
07:24 PM Feature #20425: Optimize forwarding callers and callees
- how about to introduce `sendforward` instruction (`forwardsend`?) rather than extending `send` to make `send` simple? because `send` will be used frequently, it should be simpler.
-
06:42 PM Feature #20425: Optimize forwarding callers and callees
- I uploaded my slides about this feature which I presented at the dev meeting in Okinawa [here](https://speakerdeck.com/tenderlove/feature-number-20425-speeding-up-delegate-methods).
I've rerun the benchmarks from the slides, and the r... -
06:02 PM Revision 520ab227 (git): Avoid unnecessary writes to imemo_env during GC
- Similar to the previous commit, to avoid unnecessary Copy-on-Write
memory use we should only set this flag when it has not previously been
set. -
06:02 PM Revision 9d6b8806 (git): Avoid unnecessary writes to ISEQ during GC
- On mark we check whether a callcache has been invalidated and if it has
we replace it with the empty callcache, rb_vm_empty_cc(). However we
also consider the empty callcache to not be active, and so previously
would overwrite it with it... -
05:00 PM Bug #20521: Memory leak in Ripper parsing
- Probably related to https://bugs.ruby-lang.org/issues/19835
-
04:01 PM Bug #20521 (Closed): Memory leak in Ripper parsing
- Currently, this code is leaking:
```ruby
require "ripper"
source = <<~'RUBY'
<<-A; %w[j\
i
A
j]
RUBY
10.times do
100_000.times do
Ripper.sexp_raw(source)
end
puts `ps -o rss= -p #{$$}`
end
```
This res... -
02:42 PM Revision 17b89849 (git): Count uninitialized call cache as miss empty
- Fix segfault at start up when `USE_DEBUG_COUNTER` is enabled.
-
02:28 PM Revision ba01d15c (git): [ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.
- (https://github.com/ruby/reline/pull/659)
Reline::ANSI has a partial non-tty supporting code. It should be a general io.
Reline::Dumb should be only used in testing.
https://github.com/ruby/reline/commit/2d6828473d -
02:10 PM Revision 7aa1bca2 (git): [DOC] man: Add environment variable RUBY_PAGER
-
02:10 PM Revision fa8984df (git): [DOC] man: Add environment variable RUBY_MAX_CPU and RUBY_MN_THREADS
-
02:10 PM Revision 2192b0ea (git): [DOC] man: Add environment variable RUBY_FREE_AT_EXIT
-
02:10 PM Revision c08783f3 (git): [DOC] man: Remove environment variable RUBY_GC_HEAP_INIT_SLOTS
-
02:10 PM Revision 0fb21472 (git): [DOC] man: Add environment variable RUBY_IO_BUFFER_DEFAULT_SIZE
-
02:10 PM Revision c25f6530 (git): [DOC] man: Add environment variable RUBY_SHARED_FIBER_POOL_FREE_STACKS
-
02:10 PM Revision 589764b1 (git): [DOC] man: Add missing GC environment variables
-
02:10 PM Revision 1ca4c8b4 (git): [DOC] man: Fix up formatting
-
02:05 PM Revision 5d33ff36 (git): [ruby/reline] In ed_search_[prev|next]_history, make the cursor come
- to the end of the line when there is no search substr
(https://github.com/ruby/reline/pull/714)
* In ed_search_prev_history, make the cursor come to the end of the line when there is no search substr
* In ed_search_next_history, make t... -
01:15 PM Revision 91d4a7ae (git): [ruby/reline] Improve key binding match/matching check
- (https://github.com/ruby/reline/pull/709)
* Improve key binding match/matching check
* Rename key_actors to default_key_bindings
* Make key_stroke.expand always return a value
* Update add_default_key_binding to use a add_default_key... -
01:11 PM Bug #20518: Escaped-newline in %W
- `%I` has the same issue.
```
% ruby -e '
p %I[a\
b c\x21d e#{6*7}f]'
[:"a\nb", :"c!d", :e42f]
% ruby -e '
p %i[a\
b c\x21d e#{6*7}f]'
[:"a\nb", :"c\\x21d", :"e\#{6*7}f"]
```
`%I` inteprets `\<newline>` as a newline, not li... -
11:59 AM Revision ab7dfa7f (git): merge revision(s) 631449ac6b9336dfce577a786aff7eca0b8abcf1:
- README.ja.md: Remove Cirrus CI badge image. folloup for 15ee9c7c1b693f29b6b2dbe7b47488bf154e481c.
-
11:59 AM Revision 631449ac (git): README.ja.md: Remove Cirrus CI badge image. folloup for 15ee9c7c1b693f29b6b2dbe7b47488bf154e481c.
-
10:59 AM Revision ca70dd1b (git): merge revision(s) b93553bb7e292a6eb83bbb60532b60126393534f:
- Cirrus CI has been removed [ci skip]
-
10:57 AM Revision f9a9035b (git): merge revision(s) 15ee9c7c1b693f29b6b2dbe7b47488bf154e481c:
- [DOC] README.md: Remove Cirrus CI badge image. (#8785)
We removed the `.cirrus.yml` at the commit
<01b5d1d2ff6ca91b2909dfa67295f59b53e6f065>.
Let's remove the badge image too. -
10:57 AM Revision 5afdfbdd (git): merge revision(s) 01b5d1d2ff6ca91b2909dfa67295f59b53e6f065:
- YJIT: Add a cargo job for Arm64 and remove .cirrus.yml (#8679)
* YJIT: Add a cargo job for Arm64
* YJIT: Use command names as job names
They look more consistent with jobs that use the command name as a job
... -
10:35 AM Misc #20435: DevMeeting-2024-06-06
- * [Feature #6648] Provide a standard API for retrieving all command-line flags passed to Ruby (eregon)
* @nobu are you OK with `RbConfig.ruby_args`? If not can you suggest a better place? -
10:30 AM Misc #20435: DevMeeting-2024-06-06
- * [Misc #20407] Question about applying encoding modifier to an interpolated Regexp (andrykonchin)
* The documentation states that a Regexp with only `US-ASCII` characters has `US-ASCII` encoding, otherwise a regular expression is assu... -
03:08 AM Misc #20435: DevMeeting-2024-06-06
- * [Bug #20518] Escaped-newline in %W (akr)
* I think it is a bug but fixing it causes (hopefully small) incompatibility. -
10:34 AM Bug #20520: _FORTIFY_SOURCE=3 is not correctly respected
- I'll try to workaround this by `--disable-fortify-source`, I hope it won't have another side effects.
-
10:33 AM Bug #20520 (Closed): _FORTIFY_SOURCE=3 is not correctly respected
- In Fedora, we are using following compilation options:
~~~
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_... -
10:27 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- @Dan0042
I think it's everyone's understanding that `RbConfig.ruby` should always be the path of the currently-running ruby.
In fact it is already the case e.g. on TruffleRuby.
And I suspect it's also already the case on CRuby with `-... -
10:00 AM Misc #20519 (Feedback): Porting regexp to pure ruby?
- Would there be any benefit in porting Regexp from Onigmo to a pure ruby implementation that could benefit from YJIT?
Compiling a pattern could be translating to a ruby method which would be optimized by YJIT easily.
Has this been... -
06:42 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- Thanks all. The current `make test-bundled-gems` is not working with C ext dependencies like strscan. I removed them at https://github.com/ruby/ruby/blob/master/tool/lib/bundled_gem.rb#L67 if dependencies are the default gems. We can use...
-
01:26 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- @kou Thank you for your investigation! I will revert previous backports on ruby_3_2 for a while to keep CI green.
-
05:37 AM Revision 61af722d (git): fix typos.
-
05:35 AM Revision ac62adad (git): Drop -v from RJIT CI
- It no longer hangs these days. It takes a lot of work to scroll through
a lot of lines when reading logs. - 05:24 AM Revision cb6dcc77 (git): [ruby/date] [DOC] specify the unit of return value for Date#-
- https://github.com/ruby/date/commit/b3a2c7611e
-
05:23 AM Revision 77e5e068 (git): [ruby/date] Prevent converted gregorian date from GC
- `m_sf_in_sec` calls `rb_rational_new` that can cause GC.
https://github.com/ruby/date/commit/6de449ab6a -
05:20 AM Revision d50404d6 (git): Revert "Sync strscan document files to under the doc directory"
- This reverts commit 5611e249e10bf95d48bbf27674bbb6b1fe588b5e.
Followed up with https://github.com/ruby/ruby/commit/78bfde5d9f42f2d7bcfb40343477eb8e73ca0e29 -
03:24 AM Revision ca2170e6 (git): [DOC] percent literals can be nested.
-
03:22 AM Revision 3c04fd11 (git): Revert "partially merge revision(s) 70ad58cb62b195ba86a5ef07a565b22b02a040ea: [Backport #20516]"
- This reverts commit 519ac9c5fd7bfa75655231188ac1da9589563618.
-
03:22 AM Revision c48b2312 (git): Revert "merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]"
- This reverts commit 0de1ff12973ffc04bc9a8b0799e963922986d1eb.
- 02:50 AM Revision 036d0cdb (git): Bump github/codeql-action from 3.25.6 to 3.25.7
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.6 to 3.25.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md... -
01:44 AM Revision b346eb8f (git): Raise EAI_SYSTEM when pthread_create fails in getaddrinfo
- Previously, EAI_AGAIN was raised.
In our CI, "Temporary failure in name resolution" (EAI_AGAIN) is often
raised. We are not sure if this was caused by pthread_create failure or
getaddrinfo failure. To make it possible to distinguish bet...
06/02/2024
-
08:40 PM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- https://github.com/ruby/ruby/actions/runs/9334302271/job/25692373287#step:16:185
```text
Error: test_require_home_runner_work_ruby_ruby_src_gems_src_rexml_test_test_document_rb(RequireFailedErrors): LoadError: failed to load </home/... -
09:43 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- > The version of strscan required has changed,
Right, I think commit:7f0e26b7f99bf76408569892ce20318501f74729 was the follow-up for the dependency change, and the backporting it (with some preceding changesets) cure the failures on th... -
06:36 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- https://github.com/ruby/ruby/pull/10806 may be related.
-
12:53 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- > However the failure in test-bundled-gems persists. I think we should backport additional changesets related to bundled gems tests. I will continue to investigate. Any suggestions are welcome.
- https://rubygems.org/gems/rexml/versio... -
12:42 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- Additionally, I backported 9f708d48f6df37ee9600db9d51b57a156609a13b, 0301473fb523c71d8cdc4966971f31f502001185 and 7f0e26b7f99bf76408569892ce20318501f74729 into ruby_3_2 branch.
However the failure in test-bundled-gems persists. I think ... -
02:24 PM Revision d05d03b1 (git): IO.select accepts a numeric value as timeout.
- [DOC] IO.select accepts a numeric value as timeout, not only an integer.
-
01:12 PM Revision e1c9e624 (git): Use real filename instead of `__FILE__`
-
12:33 PM Revision 1f8c45aa (git): [DOC] building_ruby: Move the caution to a footnote
-
12:33 PM Revision 7e52e3e3 (git): [DOC] building_ruby: External library links
- - `OpenSSL` here is not the class.
- libexecinfo on FreeBSD is present in the base system of all
supported releases, since 2017. -
12:33 PM Revision 457c6b47 (git): [DOC] building_ruby: Refine links
- Get rid of using ambiguous demonstratives as link anchors, for the
accessibility's sake. -
12:33 PM Revision 5980f14e (git): [DOC] building_ruby: Fold long lines
-
11:59 AM Revision 7c121692 (git): Eliminate internal uses of `Data_Wrap_Struct`
- Ref: https://github.com/ruby/ruby/pull/10872
These should be the last internal uses of the old `Data` API
inside Ruby itself. Some use remain in a couple default gems. -
11:59 AM Bug #20518 (Closed): Escaped-newline in %W
- I found an escaped-newline in %W literal is interpreted as a newline character.
```
% ./ruby -e '
p %W[a\
b]'
["a\nb"]
```
I expected it to be interpreted as a line continuation but actually not.
I'm considering to describe... -
11:53 AM Revision 730e3b2c (git): Stop exposing `rb_str_chilled_p`
- [Feature #20205]
Now that chilled strings no longer appear as frozen, there is no
need to offer an API to check for chilled strings.
We however need to change `rb_check_frozen_internal` to no
longer be a macro, as it needs to check for... -
11:20 AM Misc #20435: DevMeeting-2024-06-06
- - [Feature #19998] Emit deprecation warnings when the old (non-Typed) Data_XXX API is used (byroot)
- Marked as deprecated in the documentation as of Ruby 2.3.0 (2015)
- Yet I found gems using it without realizing `TypedData` is pr... -
10:59 AM Revision 3eba84fb (git): [DOC] Caution about old GNU make
-
09:36 AM Revision 26bd4144 (git): Add `nightly` recipe
- Installs the last revision in the previous `RUBY_RELEASE_DATE`.
-
08:21 AM Revision 733c72e6 (git): Show destination directory after installation
- Due to the length of the list of gems to install, the message at the
beginning of the installation scrolls out. - 06:59 AM Revision 07a8d02c (git): Update bundled gems list as of 2024-06-01
-
01:42 AM Bug #20459 (Closed): Ractor.select() deadlock?
-
01:18 AM Revision 56fe5ad7 (git): Time internal representation comment removed.
-
01:17 AM Revision d03c6124 (git): Time internal representation described.
-
12:56 AM Misc #20387: Meta-ticket for ASAN support
- Having spent a bit of time on this yesterday - I think there's some value in judiciously using ASAN versions _some_ dependencies, but not the whole tree. I think the best approach for these dependencies is simply to statically link them;...
-
12:50 AM Revision 0cc5f77c (git): Remove unused functions from struct rb_parser_config_struct
- StringValueCStr has not used in parse.y
-
12:43 AM Revision ae203984 (git): Ditto for NODE_DOT2 and NODE_DOT3
-
12:43 AM Revision 2889ed1b (git): Use `RNode_DREGX` variable for debuggers
- At least LLDB needs an actual variable not only casts to access the
type in debugger sessions. -
12:43 AM Revision cedc7737 (git): Make interchangeable NODE types aliases
-
12:39 AM Revision a7d0a910 (git): Raise memerror when really memory exhausted
- Fix segfault when `RUBY_THREAD_VM_STACK_SIZE` environment variable is
very large.
06/01/2024
-
10:13 PM Revision 0de1ff12 (git): merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]
- Clear runtime dependencies if default gems is specified.
The current build system uses runtime dependencies from only
`.bundle` directory. We shouldn't install runtime dependencies
from rubygems.org when `make te... -
09:27 PM Bug #20459: Ractor.select() deadlock?
- This can be closed as the related ticket is closed and the PR has been merged. Thanks!
-
04:12 PM Revision fc495951 (git): Tempfile document updated.
-
01:07 PM Bug #20517 (Closed): `Ripper.tokenize('"\\M-あ"')` separates encoding valid string to encoding invalid string.
- Applied in changeset commit:git|05553cf22d43dd78b8f30cc4591230b5c000c538.
----------
[Bug #20517] Make a multibyte character one token at meta escape -
10:40 AM Bug #20517: `Ripper.tokenize('"\\M-あ"')` separates encoding valid string to encoding invalid string.
- https://github.com/ruby/ruby/pull/10893
-
03:37 AM Bug #20517 (Closed): `Ripper.tokenize('"\\M-あ"')` separates encoding valid string to encoding invalid string.
- ~~~ruby
Ripper.tokenize '"\\M-あ"'
=> ["\"", "\\M-\xE3", "\x81", "\x82", "\""]
~~~
I expect all tokens to be valid_encoding if the source string is valid_encoding.
Similar to https://bugs.ruby-lang.org/issues/20030 -
12:51 PM Revision fd746140 (git): Get rid of type-punning pointer casts
-
10:33 AM Revision 05553cf2 (git): [Bug #20517] Make a multibyte character one token at meta escape
-
10:28 AM Revision cda69b59 (git): [ruby/reline] Overhaul io gate structure
- (https://github.com/ruby/reline/pull/666)
* Overhaul IO gate structure
1. Move IO related classes to `lib/reline/io/` directory.
2. Rename `GeneralIO` to `Dumb`.
3. Use IO classes as instances instead of classes.
* Update lib/reline/i... -
09:14 AM Revision 767aa0cd (git): move `Tempfile.create(anonymous: true)` entry.
-
07:25 AM Revision c05f60a6 (git): Suppress -Wclobbered warning for BLOCKING_REGION
-
07:22 AM Revision a720a1c4 (git): Suppress -Wmaybe-uninitialized warnings with LTO
-
07:11 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- ruby_3_2 commit:519ac9c5fd7bfa75655231188ac1da9589563618 merged revision(s) commit:70ad58cb62b195ba86a5ef07a565b22b02a040ea.
-
01:02 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- Thanks for the merge to Ruby 3.3.
> Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: REQUIRED to 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: DONE
However, since this is a security fix, I think it should be merged back into 3.2 and 3.1 ... -
12:14 AM Bug #20516: The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- ruby_3_3 commit:c9bec74b21f0e6cf05d9b200a1636bdb8069de8c merged revision(s) commit:70ad58cb62b195ba86a5ef07a565b22b02a040ea.
-
12:09 AM Bug #20516 (Closed): The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
-
07:11 AM Revision 519ac9c5 (git): partially merge revision(s) 70ad58cb62b195ba86a5ef07a565b22b02a040ea: [Backport #20516]
- Update bundled_gems
-
06:18 AM Revision 1eb651fb (git): described about `Tempfile.create(anonymous: true)`.
-
06:11 AM Feature #20497 (Closed): Tempfile.create_io
- Applied in changeset commit:git|3ee83c73c38070d695537d4322ce4decb970a54a.
----------
Tempfile.create(anonymous: true) implemented. (#10803)
The keyword argument `anonymous` is implemented for `Tempfile.create`
The default is `anonymou... -
06:11 AM Revision 3ee83c73 (git): Tempfile.create(anonymous: true) implemented. (#10803)
- The keyword argument `anonymous` is implemented for `Tempfile.create`
The default is `anonymous: false`.
The behavior is not changed as before.
The created temporary file is immediately removed if `anonymous: true` is specified.
So app... -
05:21 AM Revision 5308da5e (git): Add dependencies of configure.ac
-
12:13 AM Revision c9bec74b (git): merge revision(s) 70ad58cb62b195ba86a5ef07a565b22b02a040ea: [Backport #20516]
- Update bundled_gems
05/31/2024
-
11:35 PM Bug #20496: Segfault when enabling YJIT
- The linked commit fixed the issue for me locally; feel free to re-test.
Thanks for the comprehensive report! -
10:37 PM Bug #20496 (Closed): Segfault when enabling YJIT
- Applied in changeset commit:git|6c8ae44a388e5c03b7db90376af3652007b574e8.
----------
YJIT: Fix out of bounds access when splatting empty array
Previously, we read the last element array even when the array was
empty, doing an out-of-bo... -
10:37 PM Revision 6c8ae44a (git): YJIT: Fix out of bounds access when splatting empty array
- Previously, we read the last element array even when the array was
empty, doing an out-of-bounds access. This sometimes caused a SEGV.
[Bug #20496] -
10:13 PM Bug #20516 (Closed): The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
- The version of rexml in ruby 3.3.2 has not been updated since 3.2.6.
This is still a DoS vulnerable version.
https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176/
```
$ ruby -v
ruby 3.3.2 (2024-05-30 revision e5... - 08:20 PM Revision bc40d060 (git): [rubygems/rubygems] String search based parsing of compact index versions
- This significantly reduces memory usage.
https://github.com/rubygems/rubygems/commit/8a76506c90 -
07:31 PM Revision b5c8fb9a (git): [ruby/prism] Fix up heredoc location translation for parser
- https://github.com/ruby/prism/commit/a4e164e22b
-
07:31 PM Revision 63ea7791 (git): [ruby/prism] Match % strings in parser
- https://github.com/ruby/prism/commit/840185110f
-
07:31 PM Revision 1b392ba7 (git): [ruby/prism] Use correct opening and closing parenthesis for array pattern in parser
- https://github.com/ruby/prism/commit/beed43922c
-
07:31 PM Revision 47f05dff (git): [ruby/prism] Match match_hash_var when quotes are used
- https://github.com/ruby/prism/commit/f2a327449a
-
07:31 PM Revision 02b27aca (git): [ruby/prism] Match parser for match_rest in pattern
- https://github.com/ruby/prism/commit/785de2c39d
-
05:07 PM Revision 533f9ea9 (git): YJIT: CI: Extend SYNTAX_SUGGEST_TIMEOUT for macOS
- To make it the same as the Ubuntu job. To avoid timeout failures due to
added compilation time in call-threshold=1 runs.
See: https://github.com/ruby/ruby/actions/runs/9317760443/job/25648721990 -
04:49 PM Revision 08247245 (git): [rubygems/rubygems] Raise a friendly error whenever commands run in subshell take more than a minute
- I expect to make occasional CI hangs easier to investigate.
Implementation was adapted from tty-command.
https://github.com/rubygems/rubygems/commit/39c92955bf -
04:49 PM Revision cc8b9855 (git): [rubygems/rubygems] Remove no longer necessary code
- Upstream PR was merged and released.
https://github.com/rubygems/rubygems/commit/d6afbfd664 - 04:41 PM Revision 78860b8e (git): [rubygems/rubygems] Move compact index concurrency to fetcher
- https://github.com/rubygems/rubygems/commit/ffd3711d00
-
04:13 PM Revision 10c256f9 (git): Sychronize with rubygems/rubygems repo
-
03:22 PM Revision 89486c79 (git): Make error messages clear blocks/keywords are disallowed in index assignment
- Blocks and keywords are allowed in regular index.
Also update NEWS to make this more clear.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> -
03:09 PM Revision 8e2a6435 (git): [rubygems/rubygems] Fix `gem uninstall` warning when two versions of psych installed
- https://github.com/rubygems/rubygems/commit/1b5644b666
-
01:56 PM Misc #20435: DevMeeting-2024-06-06
- - [Bug #20513] the feature of kwargs in index assignment has been removed without due consideration of utility, compatibility, consistency and logic (bughit)
- it doesn't make sense to remove a feature because there are fixable edge-c... -
12:53 PM Bug #20450: Ruby 3.3.1 broken with bootsnap
- Is this issue Ruby 3.3.1 specific or also happens in Ruby 3.3.0 too?
> The issue looks like https://bugs.ruby-lang.org/issues/20060
The reporter mentioned the issue looked like #20060 introduced in Ruby 3.3.0-rc1. However, when I c... -
11:58 AM Revision 78ccf770 (git): [rubygems/rubygems] Make sure `rake` auto install works on Windows + Ruby 3.0
- https://github.com/rubygems/rubygems/commit/f513ea49b5
-
11:58 AM Revision f4f56b23 (git): [rubygems/rubygems] Make stub sorting stable
- https://github.com/rubygems/rubygems/commit/6b70e9043d
-
11:58 AM Revision 56689332 (git): [rubygems/rubygems] Extract a `spec` variable
- It's consistent with the previous test and makes print debugging easier.
https://github.com/rubygems/rubygems/commit/d7f424df16 -
11:58 AM Revision 21f10cab (git): [rubygems/rubygems] Improve spec about `rubygems-update` in non default path
- Make it not also install the gem in the default GEM_HOME.
https://github.com/rubygems/rubygems/commit/22de9a810a -
11:58 AM Revision 530c85be (git): [rubygems/rubygems] Remove unnecessary reset
- https://github.com/rubygems/rubygems/commit/33328e54fd
-
09:24 AM Revision a15e4d40 (git): Revert 528c4501f46fbe1e06028d673a777ef124d29829
- Recently, `TestRubyLiteral#test_float` fails randomly.
```
1) Error:
TestRubyLiteral#test_float:
ArgumentError: SyntaxError#path changed: "(eval at /home/chkbuild/chkbuild/tmp/build/20240527T050036Z/ruby/test/ruby/test_literal.rb:642)... -
05:15 AM Bug #20514: Open3#capture3 does not receive correct exit code from Heroku but Kernel#system does
- nobu (Nobuyoshi Nakada) wrote in #note-2:
> For example, like this?
> ...
That's perfect. I'm still confused as to why `system("heroku run -x COMMAND")` receives the exit code from Heroku correctly when Open3 does not, but I understand i... -
04:41 AM Bug #20514: Open3#capture3 does not receive correct exit code from Heroku but Kernel#system does
- For example, like this?
```
$ ruby -ropen3 -e 'pp Open3.capture3(pp %q[ssh localhost "echo up | grep \"down \""])'
"ssh localhost \"echo up | grep \\\"down \\\"\""
["", "", #<Process::Status: pid 51283 exit 1>]
``` - 02:46 AM Revision 392ee058 (git): Bump ruby/action-slack from 3.2.1 to 3.2.2 in /.github/actions/slack
- Bumps [ruby/action-slack](https://github.com/ruby/action-slack) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/ruby/action-slack/releases)
- [Commits](https://github.com/ruby/action-slack/compare/0bd85c72233cdbb6a0fe01d37aaeff... - 02:40 AM Revision 30960cb6 (git): Bump ruby/setup-ruby from 1.177.1 to 1.178.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.177.1 to 1.178.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/943103cae7d3f1bb1e4951d5fcc7928b40...