Activity
From 09/25/2024 to 10/01/2024
10/01/2024
-
10:46 PM Feature #20770: A *new* pipe operator proposal
- I strongly agree that new additions should be thoroughly evaluated and aligned with the philosophy of the language ("A programmer's best friend"). I've found the discussion so far to be very productive, and my opinion is that:
I don't... -
07:43 PM Feature #20770: A *new* pipe operator proposal
- [The Ruby-lang homepage](https://www.ruby-lang.org) states that Ruby has
> a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
And on the [about page](https://www.ruby-lang.org/en... -
07:02 PM Feature #20770: A *new* pipe operator proposal
- @Eregon this example (at least for me) is just an easy target for discussion (because it uses standard libraries, is easily reproducible, and demonstrates the multi-step realistic process that uses several libraries at once).
I believ... -
06:18 PM Feature #20770: A *new* pipe operator proposal
- One concern with so many `then {}` is that's a non-trivial overhead for execution (2 method calls + 1 block call for `then { foo(it) }` vs 1 method call for `foo(var)`).
So if it's added I think it should translate to the same as using ... -
05:47 PM Feature #20770: A *new* pipe operator proposal
- ufuk (Ufuk Kayserilioglu) wrote in #note-21:
> I tend to agree with @Dan0042 on this one, this seems to go against the nature of Ruby. In Ruby, an expression like `URI.parse(it)` is always eagerly evaluated, except when it is inside a b... -
05:19 PM Feature #20770: A *new* pipe operator proposal
- I think that this is one of the more interesting approaches to a pipeline operator in Ruby as it is just syntax sugar. As I am understanding it:
```ruby
foo
|> bar(_1, baz)
|> hoge(_1, quux)
```
would be treated by the parser t... -
05:09 PM Feature #20770: A *new* pipe operator proposal
- I tend to agree with @Dan0042 on this one, this seems to go against the nature of Ruby. In Ruby, an expression like `URI.parse(it)` is always eagerly evaluated, except when it is inside a block. This is not true in other languages; ones ...
-
04:13 PM Feature #20770: A *new* pipe operator proposal
- I'm not a big fan of this pipe operator idea, but at least the idea of using `it` is a good one; it solves many problems with previous proposals.
```ruby
foo = 42
1 |> foo |> BAR
#foo should be localvar but somehow is parsed as met... -
01:08 PM Feature #20770: A *new* pipe operator proposal
- vo.x (Vit Ondruch) wrote in #note-18:
> Right, this was far fetched and would not work admittedly. But that is why I proposed the `client_api_url.to(URI)`, because after all, this is IMHO mostly about type conversion. Why would I ever w... -
09:55 AM Feature #20770: A *new* pipe operator proposal
- zverok (Victor Shepelev) wrote in #note-17:
> I don’t think it is realistic, generally. I mean, convert every `f(g(x))` to “`x` should have method `g`, and the result should have method `f`, so you can write `x.g.f` always (or in most w... -
08:24 AM Feature #20770: A *new* pipe operator proposal
- vo.x (Vit Ondruch) wrote in #note-14:
> AlexandreMagro (Alexandre Magro) wrote in #note-7:
> ...
I don’t think it is realistic, generally. I mean, convert every `f(g(x))` to “`x` should have method `g`, and the result should have metho... -
07:55 AM Feature #20770: A *new* pipe operator proposal
- > We could expand the syntax to treat `.{}` as `.then{}`, similar to how `.()` is `.call()`.
I really like this idea. Yes, it is not “how it is in other languages” yet it has a deep internal consistency with other language elements a... -
07:07 AM Feature #20770: A *new* pipe operator proposal
- Not mentioning, the example ignores error handling, which would be IMHO the biggest problem in real life example
-
07:02 AM Feature #20770: A *new* pipe operator proposal
- AlexandreMagro (Alexandre Magro) wrote in #note-7:
To me it just demonstrates that the APIs are likely incomplete and don't provide methods for easy conversion. We have a lot of conversion methods such as `#to_str`, `#to_json`, ... Bu... -
05:56 AM Feature #20770: A *new* pipe operator proposal
- When pipeline operator was proposed previously (#15799), we briefly spoke of the idea of a block notation without a closing bracket ([the meeting log](https://github.com/ruby/dev-meeting-log/blob/c908bf7e7be60af5c5feabb544541de5f7d003ef/...
-
04:49 AM Feature #20770: A *new* pipe operator proposal
- FYI: https://github.com/tc39/proposal-pipeline-operator
is similar idea. -
07:47 PM Revision 5edc3219 (git): [DOC] Tweaks for Array#keep_if
-
07:46 PM Revision e72e18b3 (git): [DOC] Tweaks for Array#join
-
07:42 PM Revision 467ebbeb (git): [ruby/prism] Disallow dynamic patterns in labels at top level followed by pipes
- https://github.com/ruby/prism/commit/ccc746f918
-
07:36 PM Feature #20775 (Closed): Gemify win32-registry, win32-sspi and win32-resolv
- Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/s... -
06:27 PM Feature #20768: Add Hash#delete_at
- ```ruby
a, c = [:a, :c].map { hash.delete(it) }
```
seems enough and does not require adding a new method for what looks like (to me) a narrow use case. -
05:01 PM Revision e320da60 (git): [ruby/reline] Fix Reline crash with invalid encoding history
- (https://github.com/ruby/reline/pull/751)
https://github.com/ruby/reline/commit/e9d4b37e34 -
03:03 PM Revision ec230ac6 (git): Resync to latest Prism
-
02:59 PM Revision 169a5ee9 (git): Use user defined inline rules `user_or_keyword_variable`
-
02:54 PM Bug #20762: `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure
- This should be addressed by https://github.com/ruby/ruby/pull/11711
-
01:51 PM Revision d86b4041 (git): [ruby/prism] Disallow empty labels when not allowed
- https://github.com/ruby/prism/commit/399ee28dc1
-
12:57 PM Revision 75568d23 (git): [ruby/prism] Disallow &. after endless range
- https://github.com/ruby/prism/commit/498dd922d4
-
12:48 PM Revision 3932d8a8 (git): Replace heap_eden_total_slots with objspace_available_slots
-
12:06 PM Bug #20764 (Closed): Forwarding parameter `...` is wrongly allowed in lambda
- Applied in changeset commit:git|86ae409467e3674c142f012ee3b2288b0305d87c.
----------
[Bug #20764] Refactor argument forwarding in lambda
Reject argument forwarding in lambda:
- without parentheses
- after optional argument(s) -
11:00 AM Revision 86ae4094 (git): [Bug #20764] Refactor argument forwarding in lambda
- Reject argument forwarding in lambda:
- without parentheses
- after optional argument(s) -
10:59 AM Bug #20755 (Closed): IO::Buffer#transfer transfers mutable reference to String's memory but not lock ownership
- Applied in changeset commit:git|35e124832e29b65c84d4e0e4e434616859f9bdf5.
----------
[Bug #20755] Frozen string should not be writable via IO::Buffer -
09:57 AM Misc #20774 (Open): Remove remaining locale dependent code from Windows port
- The external_encoding of files, file names and ENV on Windows were changed from locale codepage to UTF-8 in ruby-3.0.
But there are still several remaining points where locale encoding is used although there is no need to do so.
The Wi... -
09:46 AM Revision 35e12483 (git): [Bug #20755] Frozen string should not be writable via IO::Buffer
-
09:41 AM Revision 3ebc85e2 (git): Define RactorLocalSingleton on .mspec.constants
-
09:32 AM Revision d109c7c6 (git): Temporary disabled RactorLocalSingleton from constant leak check.
-
08:59 AM Revision 0f005449 (git): [ruby/singleton] Make compatible with Ruby 2.4
- https://github.com/ruby/singleton/commit/0a77bb492d
-
08:59 AM Revision 2f53c9fc (git): [ruby/singleton] Clean VERSION freezing
- https://github.com/ruby/singleton/commit/f31334a736
-
08:59 AM Revision d0c1eef5 (git): [ruby/singleton] Only use RactorLocalSingleton if Ractor is defined
- https://github.com/ruby/singleton/commit/f684d36a47
-
08:59 AM Revision a6e96df5 (git): [ruby/singleton] Change PerRactorSingleton to RactorLocalSingleton
- https://github.com/ruby/singleton/commit/1216a86303
-
08:59 AM Revision 136b30b4 (git): [ruby/singleton] Improve Ractor-compliance; Create PerRactorSingleton
- https://github.com/ruby/singleton/commit/ec4f66d9c1
-
08:35 AM Revision 76111af6 (git): expand relative path
-
08:35 AM Revision 4822220e (git): Pass MSPECOPT from compilers.yml
-
05:54 AM Bug #20501: ruby SEGV
- I'm not sure but this seems to need to be backported.
-
05:47 AM Bug #20501 (Closed): ruby SEGV
-
05:45 AM Bug #20752 (Closed): IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
- 03:34 AM Revision 522614a3 (git): Bump github/codeql-action from 3.26.9 to 3.26.10
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.m... -
12:57 AM Bug #20773 (Closed): CI of RHEL8 and Amazon Linux 2 are failed from Sep 26th
- https://github.com/ruby/ruby/pull/11736 fixed this.
09/30/2024
-
11:58 PM Feature #20770: A *new* pipe operator proposal
- jeremyevans0 (Jeremy Evans) wrote in #note-10:
> We could expand the syntax to treat `.{}` as `.then{}`, similar to how `.()` is `.call()`. With that, you could do:
> ...
The idea of using `.{}` is really creative, but it feels somewh... -
10:55 PM Feature #20770: A *new* pipe operator proposal
- AlexandreMagro (Alexandre Magro) wrote in #note-9:
> Yes, and it's also possible to achieve this with a chain of `.then`, which results in a similar structure. The idea of the pipe operator is to be syntactic sugar, bringing functionali... -
10:30 PM Feature #20770: A *new* pipe operator proposal
- ufuk (Ufuk Kayserilioglu) wrote in #note-8:
> You can also make the whole pipeline with just using procs:
> ...
Yes, and it's also possible to achieve this with a chain of `.then`, which results in a similar structure. The idea of the... -
10:15 PM Feature #20770: A *new* pipe operator proposal
- AlexandreMagro (Alexandre Magro) wrote in #note-7:
> With the pipe operator, the same logic can be simplified and made more readable:
> ...
I would like to note that this almost works already today:
```ruby
irb> client_api_url = "htt... -
09:23 PM Feature #20770: A *new* pipe operator proposal
- vo.x (Vit Ondruch) wrote in #note-6:
> Code like `add(value, 3)` is hardly some idiomatic Ruby. If it was Ruby, then you'd likely use `value.add(3)` or `value + 3`. Other examples of readable code are [here](https://poignant.guide/book/... -
08:32 PM Feature #20770: A *new* pipe operator proposal
- Code like `add(value, 3)` is hardly some idiomatic Ruby. If it was Ruby, then you'd likely use `value.add(3)` or `value + 3`. Other examples of readable code are [here](https://poignant.guide/book/chapter-3.html). I can't see what is rea...
-
07:02 PM Feature #20770: A *new* pipe operator proposal
- bkuhlmann (Brooke Kuhlmann) wrote in #note-4:
> For background, this has been discussed before:
> ...
One issue with `.pipe` is that it mixes two approaches: the object method chain (`lhs.rhs`) and passing the result as an argument (`r... -
02:15 PM Feature #20770: A *new* pipe operator proposal
- For background, this has been discussed before:
- [15799](https://bugs.ruby-lang.org/issues/15799): This was implemented and then reverted.
- [20580](https://bugs.ruby-lang.org/issues/20580): This recently popped up as well.
- There... -
04:27 AM Feature #20770: A *new* pipe operator proposal
- I would still love to see this type of pipeline functionality implemented with plain expressions instead of new operators.
I have this (old) working [proof of concept](https://github.com/lendinghome/pipe_operator#-pipe_operator) gem f... -
02:24 AM Feature #20770: A *new* pipe operator proposal
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> In the previous trial syntax, the receiver of RHS was the result of LHS.
> ...
Exactly, this is the expected behavior of the pipe operator in other functional languages, such as Elixir. In th... -
01:15 AM Feature #20770: A *new* pipe operator proposal
- In the previous trial syntax, the receiver of RHS was the result of LHS.
In your proposal, the receiver of RHS is the same as LHS, and the LHS result is passed as an implicit argument?
-
11:00 PM Revision af63b4f8 (git): Return an Iterator Instead of a Vector in `addrs_to_pages` Method (#11725)
- * Returning an iterator instead of a vec
* Avoid changing the meaning of end_page
---------
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> -
06:23 PM Revision 30507a4a (git): Move RUBY_INTERNAL_EVENT_FREEOBJ into GC implementation
- Instead of calling rb_gc_event_hook inside of rb_gc_obj_free, it should
be up to the GC implementation to call the event. -
05:55 PM Revision 292c9793 (git): Remove no longer needed excludes files
-
05:12 PM Revision d592ddd5 (git): Fix compile issue with a short-circuited if/unless condition and `defined?`
- This caused an issue when `defined?` was in the `if` condition. Its
instructions weren't appended to the instruction sequence even though it was compiled
if a compile-time known logical short-circuit happened before the `defined?`. The c... -
04:58 PM Revision 2a580923 (git): Remove unneeded prototype for objspace_available_slots
-
04:16 PM Revision af765686 (git): Run just bignum related tests when gmp enabled
-
04:16 PM Revision 4608ef8d (git): -l option of 7z is unknown switch with the `ubuntu-latest`.
- https://github.com/ruby/actions/actions/runs/11095032727/job/30823174026#step:3:349
-
03:36 PM Revision 6c9b5c16 (git): Sync Prism with latest main branch
-
02:49 PM Bug #20765 (Closed): Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`
-
02:32 PM Bug #20765: Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`
- Thank you — I have opened https://github.com/ruby/prism/pull/3096 to fix this.
-
02:33 PM Revision c1c9ba77 (git): [ruby/prism] Require a delimiter for singleton classes
- https://github.com/ruby/prism/commit/fd58d6a9ea
-
01:54 PM Bug #20755: IO::Buffer#transfer transfers mutable reference to String's memory but not lock ownership
- https://github.com/ruby/ruby/pull/11738
-
01:09 PM Revision 6b8078cc (git): Don't create empty string for interpolation
- We don't need to create an empty string for interpolation unless it is
the only element.
For example:
"#{hello} world"
Before:
0000 putobject "" ( 1)[Li]
0002 putself
... -
12:22 PM Bug #20753: [doc] IO::Buffer examples try to write into readonly buffer returned from IO::Buffer.for
- https://github.com/ruby/ruby/pull/11737
-
12:07 PM Bug #20752: IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
- Looks like @nobu already made a PR here: https://github.com/ruby/ruby/pull/11735
-
12:00 PM Bug #20752: IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
- The second example `XameError` is hilarious, what a great bug. Yes, this should be fixed.
-
11:39 AM Revision 63706744 (git): [Bug #20752] Slice of readonly `IO::Buffer` also should be readonly
-
11:35 AM Revision b93c51c1 (git): Free a buffer allocated by realpath
- 8350b48cfa7d344d9e2dc9748c26607c1b89d7df introduced a memory leak bug.
Will fix [Bug #20773]
`loop { File.realpath("foo") }` caused memory leak. -
11:32 AM Revision 5ed67f48 (git): [ruby/rdoc] Only let browser search through source code until it's
- expanded
(https://github.com/ruby/rdoc/pull/1181)
Something that's been bothering me is that while the source code is
not visible by default, the browser still jump to it when searching.
Adding the `visible` property prevents this.
Tes... -
10:10 AM Revision 81d26814 (git): Update test args with bundled gems. webrick has been removed that targets
-
09:53 AM Revision 8cd36a6d (git): Don't warn the bundled gems that are migrated at Ruby 3.0.
- We should stop warnings at some point. I decided to that period EOL-ed versions.
ex. In 2024, Ruby 3.0 is EOL. we removed webrick, rexml, rss from warning targets. -
09:29 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- I apologize for my tone, I will try to be more understanding. I am just a bit frustrated with the warnings in general, especially with the ones that were backported 3.3.5. I know it is already reverted but they do still happen now.
It... -
09:11 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- >All it does is supress the warning from reline (which is suppressed directly in the gem right now anyways) when fiddle is gone in 3.5
Yes, I only accept that point with your request in this time. I may add `syslog` to OPTIONAL with `... -
08:34 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- https://github.com/ruby/ruby/commit/3a9e48b9a4860022f43d8101c0f3249299437886 this seems better but I still question the rationale.
I don't see the point in giving `fiddle` special treatment with `OPTIONAL`. What problem is this solvin... -
09:26 AM Bug #20773 (Closed): CI of RHEL8 and Amazon Linux 2 are failed from Sep 26th
- RHEL8 and Amazon Linux 2 are failed with `Cannot allocate memory - fork(2)` from Sep 26th.
* http://rubyci.s3.amazonaws.com/rhel8/ruby-master/log/20240926T093004Z.fail.html.gz
* http://rubyci.s3.amazonaws.com/amazon2/ruby-master/log/... -
09:17 AM Revision c30a3ed0 (git): Fix the last character index in an assertion
- Also, when `RUBY_DEBUG` is enabled, objects allocated in shared-gc
fail at `rb_ractor_confirm_belonging`, so assert it always. -
09:04 AM Revision ac278675 (git): Use Named Reference
-
09:04 AM Revision 044e57ed (git): Implement SPLAT NODE keyword locations
-
08:43 AM Revision 239c1c62 (git): LLVM 20 begun
- see also https://github.com/llvm/llvm-project/commit/10c6d6349e51bb245b9deec4aafca9885971135b
-
07:49 AM Bug #20772 (Open): Test with -O3 is flaky
- I enabled `-O3` build and those tests. But it failed with flaky status.
https://github.com/ruby/ruby/actions/runs/11098648054/job/30831665071#step:6:2439
```
[251/251] 53150=test_range
worker 53144=test_euc_jp does not respon... -
07:20 AM Revision 6abed7ea (git): Test with -O3 is flaky now. I disabled it same as before.
- 07:02 AM Revision f14d5210 (git): * 2024-09-30 [ci skip]
-
07:01 AM Revision 165aeb87 (git): -l option of 7z is unknown switch with the `ubuntu-latest`.
- https://github.com/ruby/actions/actions/runs/11095032727/job/30823174026#step:3:349
-
06:18 AM Bug #20771 (Closed): make-snapshot is broken with ubuntu-latest
- `make-snapshot` is broken now with the following failure.
```
Command Line Error:
Unknown switch:
-l
creating zip archive... /home/runner/work/actions/actions/pkg/snapshot-ruby_3_3.zip 0.003 failed
```
I opened PRs to stable ... -
05:49 AM Bug #20767: VM_ASSERT fails on clear_method_entry_by_id_in_class() under a specific situation
- The test case: https://github.com/ruby/ruby/pull/11715/files
-
05:35 AM Bug #20766 (Closed): Endless range rejected inside defs singleton
-
05:18 AM Bug #20749 (Closed): Error message not shown in output with prism
-
05:09 AM Revision 3a273c47 (git): [rubygems/rubygems] Fix error when changing a path source to a git source if frozen mode
- https://github.com/rubygems/rubygems/commit/4c79ab9b2e
-
05:09 AM Revision 1e007636 (git): [rubygems/rubygems] Fix duplicated spec names
- https://github.com/rubygems/rubygems/commit/26f6600197
-
05:08 AM Revision 7d318c2c (git): [rubygems/rubygems] Fix `stub.activated?` sometimes returning false after activation under bundler
- Closes https://github.com/rubygems/rubygems/pull/8068
This issue only occurs if the underlying stub is a gem stub:
https://github.com/Earlopain/rubygems/blob/f56098d8a193dcb94584d721e82b8cff397e5265/bundler/lib/bundler/stub_specificatio... -
05:08 AM Revision dbe69a46 (git): [rubygems/rubygems] I _think_ this workaround is no longer necessary
- https://github.com/rubygems/rubygems/commit/6a76fedfd0
-
05:08 AM Revision 060932af (git): [rubygems/rubygems] Fix old cache format detection when application is not source controlled
- https://github.com/rubygems/rubygems/commit/b2adcc0173
-
05:07 AM Revision 82f250af (git): [rubygems/rubygems] `gem cleanup` no longer needs to reset paths
- Since `Gem::Uninstaller` no longer changes paths either.
https://github.com/rubygems/rubygems/commit/427059d45f -
05:07 AM Revision d4ac5c57 (git): [rubygems/rubygems] Don't add duplicated specs to unresolved specs
- This could happen when a regular gem shadows a default gem.
https://github.com/rubygems/rubygems/commit/9ef70dd1f7 -
05:07 AM Revision 73d60df6 (git): [rubygems/rubygems] Don't list duplicated version in `Gem::Specification.reset` warning
- https://github.com/rubygems/rubygems/commit/e6e3db821f
-
05:00 AM Feature #18368 (Closed): Range#step semantics for non-Numeric ranges
- I think there is no task in this ticket. Thank you @zverok
-
05:00 AM Feature #18423 (Closed): Installing stable versions like 3.0.3 from source generates fatal error by make
- We can't support Solaris anymore.
-
04:04 AM Revision 1b6c234f (git): s/reproducable/reproducible/
-
03:03 AM Revision 3fe59b04 (git): -l option of 7z is unknown switch with the `ubuntu-latest`.
- https://github.com/ruby/actions/actions/runs/11095032727/job/30823174026#step:3:349
-
02:35 AM Revision 3a9e48b9 (git): Fixed warning condition with LoadError
-
02:10 AM Bug #20762 (Assigned): `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure
- I disabled this test at https://github.com/ruby/ruby/commit/a896c4cc532b9192732af02ac5cb84d3b5e7f82d
-
01:52 AM Bug #20729 (Closed): Test failure with 0fc8422a05 and native mswin environment
- This is fixed by https://github.com/ruby/ruby/pull/11719
-
01:27 AM Revision 28a01e30 (git): Ruby exception cannot work here
- Just show error messages then ignore the invalid library.
-
01:22 AM Revision 03ca99c9 (git): [DOC] Tweaks for Array#hash (#11704)
-
01:21 AM Revision 5be11c1d (git): [DOC] Tweaks for Array#first (#11687)
-
01:21 AM Revision 116395d3 (git): [DOC] Tweaks for Array#flatten! (#11689)
-
01:21 AM Revision 154ec2d2 (git): [DOC] Tweaks for Array#insert (#11709)
09/29/2024
-
11:01 PM Revision 9b4a4974 (git): Fix loading of nonascii script name on Windows
- Since the prism parser was enabled by default, loading scripts with nonascii characters somewhere in the script path is no longer working.
It only works when the codepage was switched to 65001 (UTF-8).
This patch doesn't change the enco... -
05:57 PM Feature #20770 (Open): A *new* pipe operator proposal
- Hello,
This is my first contribution here. I have seen previous discussions around introducing a pipe operator, but it seems the community didn't reach a consensus. I would like to revisit this idea with a simpler approach, more of a ... -
03:20 PM Revision a0838a39 (git): Raise fatal error instead of BUG
- Failures due to the external setting is not a bug of ruby itself.
-
03:19 PM Revision 5139a574 (git): Make directory for shared-GC libraries at build
-
03:03 PM Revision 9d604800 (git): CI: Remove `SHARED_GC` compilation
- It is checked in ubuntu.yml.
-
03:03 PM Revision 5e466ad3 (git): CI: Remove `ENABLE_PATH_CHECK` compilation
- As `ENABLE_PATH_CHECK` is defaulted to 1 on other than DOSISH and
Cygwin, setting this macro to 1 on Ubuntu changes nothing from the
default. As for `ENABLE_PATH_CHECK=0` tests, we have real CI
platforms already. -
02:27 PM Feature #20769: Add `Hash#transform_value`
- Thank you for sharing that code sample. It demonstrates an interesting way to use `Hash#merge` with a block argument.
When the key argument is absent from the Hash, a call to `Hash#transform_value` would be a no-operation. I apologize... -
02:51 AM Feature #20769: Add `Hash#transform_value`
- ```ruby
hash.merge(image: nil) {|_, url| download(url)}
hash.merge!(image: nil) {|_, url| download(url)}
``` -
02:07 PM Revision 1f6d2e77 (git): Remove leading spaces from `LIBPATHFLAG` and `RPATHFLAG`
- Join with a space in `MakeMakefile#libpathflag` instead.
- 01:24 PM Revision 9138b388 (git): Update bundled gems list as of 2024-09-29
-
12:38 PM Revision 52e40aea (git): Bump actions/checkout
-
12:00 PM Revision f5d9d9b5 (git): win32/sspi: Use `start_with?` to see prefix
-
12:00 PM Revision 25eb9bde (git): win32/sspi: Rafactor pack/unpack
-
12:00 PM Revision 30230ed9 (git): win32/sspi: For Ractor use a constant instead of a class variable
-
12:00 PM Revision fc2f196c (git): win32/sspi: Fix missing A suffix in an API constant name
-
12:00 PM Revision b7bca0eb (git): win32/sspi: Fix Win32::SSPI::SSPIResult#== with Integer
- The values of `@@map` are `Symbol`s and `@value` should be an
`Integer` since unpacked as unsigned long, so this comparison should
be false always. Probably comparison with `Symbol` was intended. -
12:00 PM Revision 1179c863 (git): win32/sspi: Already Fixnum has been removed years ago
-
10:09 AM Revision 65a0795c (git): [DOC] Mention block mode of `String#unpack`
-
10:07 AM Revision e7144af7 (git): [DOC] Refine about offset directives
-
09:55 AM Revision 066ac0fd (git): Expand buffer at once then fill it at once
-
09:45 AM Revision 3b43585a (git): Extract common code from `pack_pack` and `pack_unpack_internal`
-
02:42 AM Revision e1889dd7 (git): Assertions should not have side effects
-
01:13 AM Revision 01ff65af (git): [DOC] Tweaks for Array#replace
-
01:12 AM Revision 3986b5fe (git): [DOC] Tweaks for Array#include?
-
12:59 AM Revision d64528c6 (git): [DOC] Tweaks for Array#freeze
-
12:58 AM Revision 5a7b66fa (git): [DOC] Tweaks for Array#flatten (#11688)
09/28/2024
-
09:34 PM Feature #20769 (Feedback): Add `Hash#transform_value`
- Add `Hash#transform_value` as a specialized, key-specific version of [Hash#transform_values](https://docs.ruby-lang.org/en/3.3/Hash.html#method-i-transform_values).
```ruby
hash = { image: "https://example.com/image.jpg" }
mutated_h... - 09:12 PM Revision 87212a54 (git): [rubygems/rubygems] Improve Gem::SpecFetcher tests.
- https://github.com/rubygems/rubygems/commit/6e0456583b
- 09:12 PM Revision 5c18b63d (git): [rubygems/rubygems] [tests] Don't expect suggestions that aren't actually helpful.
- https://github.com/rubygems/rubygems/commit/e7d6b92e31
- 09:12 PM Revision 47a3482a (git): [rubygems/rubygems] Remove code that makes suggest_gems_from_name give worse results.
- https://github.com/rubygems/rubygems/commit/09ec67ffdf
-
09:08 PM Feature #20768 (Open): Add Hash#delete_at
- Add `Hash#delete_at` to delete values from a list keyed by its arguments.
The interface and return values draw inspiration from [Hash#values_at](https://docs.ruby-lang.org/en/3.3/Hash.html#method-i-values_at) and [Array#delete_at](ht... -
01:37 PM Revision b9e225fc (git): Allow dot3 in defs singleton
-
11:53 AM Revision 8f678d69 (git): Implement OP_ASGN2 NODE locations
-
07:05 AM Bug #20767 (Closed): VM_ASSERT fails on clear_method_entry_by_id_in_class() under a specific situation
- VM_ASSERT in `clear_method_entry_by_id_in_class()` (vm_method.c) fails when:
* Kernel#require is refined
* Kernel#require is replaced by `alias_method` and `define_method`
* User code calls `require`
* The aliased method entry is u... -
06:38 AM Bug #20766 (Closed): Endless range rejected inside defs singleton
- These are syntax error with --parser=parse.y. I think it should be syntax ok.
```ruby
def (1...).f; end
def (tap{1...}).f; end
```
ruby-3.0: Syntax OK (checked with 3.0.6)
ruby-3.1: Syntax Error (checked with 3.1.4)
ruby --parse... -
06:02 AM Bug #20765 (Closed): Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`
- ~~~
# ruby --parser=prism -e "a=>*,"
-e: [BUG] Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE
# ruby --parser=parse.y -e "a=>*,"
-e:1: syntax error, unexpected end-of-input
~~~ -
05:48 AM Bug #20764 (Closed): Forwarding parameter `...` is wrongly allowed in lambda
- These codes are all syntax error
~~~ruby
->...{}
->(...){}
->(a,...){}
~~~
But these are allowed in --parser=parse.y. It should be syntax error
~~~ruby
->a,...{}
->(a=1,...){}
~~~
~~~
# ruby --parser=parse.y -e "p ->a,...{}... -
12:42 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- >By the way, I share @Earlopain's questions about the additional patch
Ah, thanks. It's simple bug. I'll fix at next week.
09/27/2024
-
05:45 PM Revision 027ef605 (git): [Bug #20763] Add tests
-
05:44 PM Bug #20763 (Closed): Stack consistency error with bare endless range
-
05:07 PM Bug #20763: Stack consistency error with bare endless range
- Thanks @tompng — https://github.com/ruby/ruby/pull/11714 should fix this.
-
04:50 PM Bug #20763 (Closed): Stack consistency error with bare endless range
- `<compiled>: [BUG] Stack consistency error (sp: 7, bp: 6)` running these codes. No error with --parser=parse.y
~~~sh
ruby -e "1r..; nil"
ruby -e "a=1; a..; nil"
ruby -e "rand..; nil"
~~~
~~~
# ruby -e "1r..; nil"
-e:1: [BUG] ... -
05:43 PM Revision addb5fea (git): Fix up compiling popped ranges with non-optimizable bounds
- Fixes [Bug #20763]
-
04:59 PM Revision 7e19904c (git): Remove on `RSTRING_END` dependency from parser
-
04:49 PM Revision d1324170 (git): [rubygems/rubygems] Warning about PATH in `--user-install` mode is only necessary for gems with executables
- https://github.com/rubygems/rubygems/commit/2fe0f452a2
-
03:59 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- I meant that I think in Ruby 3.4 (prior to my patch), the warning would also apply to non Bundler contexts that lead to a `LoadError`, where it would inform that `csv` may not always be present and may need an explicit install from RubyG...
-
03:33 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- deivid (David Rodríguez) wrote in #note-14:
> I think this would affect both Bundler and non Bundler usages. Currently the warnings recommends to install the gem from RubyGems in non Bundler context, that will also be lost in Ruby 3.4 f... -
11:08 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- I see that https://github.com/ruby/ruby/pull/11550 was merged which is great but I'm confused about https://github.com/ruby/ruby/commit/ff3f61556fb62d12d57d017f4c54f1a8fd5208be because it basically reverts that PR. If a dependency is opt...
-
03:21 PM Feature #6012: Proc#source_location also return the column
- I also really like @ioquatix 's suggestion in https://bugs.ruby-lang.org/issues/6012#note-13 and it is a lot more flexible and more efficient too (since computing e.g. column information if unused is not cheap).
For instance `method.sour... -
03:06 PM Feature #6012: Proc#source_location also return the column
- It seems good to revisit this, the workarounds are pretty messy and CRuby-specific, e.g. https://github.com/rails/rails/pull/53055/files
I think @mame 's suggestion in https://bugs.ruby-lang.org/issues/6012#note-12 is fine although I ... -
03:08 PM Misc #20717: DevMeeting-2024-10-03
- * [Feature #6012] Proc#source_location also return the column (eregon)
* How about `{Proc,Method,UnboundMethod}.source_location #=> [path, start_line, start_column, start_offset, end_line, end_column, end_offset]` ?
* How about `{Pro... -
03:00 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- Thanks for the links, yes, that seems a perfect use case for more information in `#source_location`, going through `RubyVM` APIs for that feels overly complicated for something so simple.
I found https://bugs.ruby-lang.org/issues/6012... -
02:44 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- Eregon (Benoit Daloze) wrote in #note-7:
> @Earlopain Is there a reason you need this and cannot just use e.g. `Prism.parse("proc {1 + 2}")`?
> ...
This question specifically was about usage that Rails recently adopted for printing the s... -
02:37 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- In general the entire `RubyVM::AbstractSyntaxTree` module should be considered deprecated (and maybe even removed), given it relies on parse.y internals and that matz said that the Prism API is the official Ruby API for parsing Ruby code...
-
02:30 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- @Earlopain Is there a reason you need this and cannot just use e.g. `Prism.parse("proc {1 + 2}")`?
A cleaner and portable way to achieve this functionality from a Proc/Method would be if there is a way to retrieve their precise source l... -
02:45 PM Revision b873787a (git): Update recommendations regarding parsing Ruby code now that Prism is stable
-
02:45 PM Feature #14844 (Rejected): Future of RubyVM::AST?
- These days, I believe there is no value to make `RubyVM::AbstractSyntaxTree` stable.
The official Ruby API to parse Ruby code is the Prism API (regardless of which parser is used internally), as matz said. -
02:10 PM Revision 94ad2c3f (git): Reduce creating `rb_parser_string_t` repeatedly for literals.
- Since #11698, `parser_str_new` makes `rb_parser_string_t` and `VALUE`
but discards the former, and then `STR_NEW3` makes the same thing
again. -
02:10 PM Revision 710d916c (git): Add wrapper macros of `rb_parser_str_buf_cat`
-
01:58 PM Revision 098649bc (git): [ruby/rdoc] Add home page link to output message
- (https://github.com/ruby/rdoc/pull/1165)
The link is clickable in the terminal and opens the home page in the browser
https://github.com/ruby/rdoc/commit/b7d580afab -
10:34 AM Revision 7f83bd37 (git): Reduce `is_ascii_string` function dependency for parser
- Changed to use `rb_parser_is_ascii_string` function instead of `is_ascii_string` function
-
09:39 AM Revision c1ee5ea2 (git): Avoid to unintentional Bundler definition by Bundler::Definition.no_lock
-
09:39 AM Revision ff3f6155 (git): Only warn fiddle as optional dependency
-
09:20 AM Revision eff16d93 (git): Implement OP_ASGN1 NODE locations
-
08:03 AM Revision a70adce1 (git): Only `warn` about bundled gems when require succeeds
-
06:15 AM Bug #20762 (Closed): `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure
- https://github.com/ruby/ruby/actions/runs/11063957302/job/30741993035#step:8:1816
----
```
/github/workspace/src/basictest/test.rb:2357: [BUG] cannot create a new page after major GC
ruby 3.4.0dev (2024-09-27T03:22:52Z pull/112... -
05:39 AM Revision a896c4cc (git): RGENGC_FORCE_MAJOR_GC is disabled same as current HEAD
-
05:39 AM Revision b63f3c9d (git): Use user.login instead of actor
-
05:39 AM Revision e58c7a93 (git): Applied https://github.com/ruby/ruby/pull/11574
-
05:39 AM Revision 52bb90f9 (git): sequential execution of some CI tasks
- reduced parallelism from some 50-ish to 10-ish so that other jobs
can run. -
05:30 AM Bug #20560 (Assigned): make install - skipped bundled gems - minor issue
-
04:37 AM Misc #16267 (Closed): MinGW CI - add to Actions ?
- https://github.com/ruby/ruby/commits/master/.github/workflows/mingw.yml is available today.
-
04:31 AM Revision d7e5133d (git): [ruby/benchmark] Add example for Benchmark.realtime
- https://github.com/ruby/benchmark/commit/0f278be6c1
-
04:31 AM Revision 3209bb95 (git): [ruby/benchmark] Specify unit of time for Benchmark.realtime
- https://github.com/ruby/benchmark/commit/388236685c
-
04:14 AM Revision dc8fa59f (git): Skip non-existent directories in PATH
-
12:58 AM Revision 0c25eb4f (git): s/interation/iteration/
-
12:58 AM Revision a50a7c70 (git): s/erorr/error/
09/26/2024
-
07:37 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- Yeah, I think it would make sense to update those docs to indicate that it only works when the instruction sequences were compiled with the old compiler.
-
04:35 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- This is great info, thank you! I'm aware about the non-guarantees for `RubyVM`, just something to live with. `AbstractSyntaxTree.of` already had the same "problem".
Regardless, should `AbstractSyntaxTree.of` documentation be updated i... -
04:25 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- Note that all the APIs under RubyVM are subject to change, so you're effectively calling internal APIs here. Just so you know going forward.
-
04:24 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- For a proc you can mirror what `RubyVM::AbstractSyntaxTree.of` is doing under the hood using `RubyVM::InstructionSequence`, as in:
```ruby
my_proc = -> { 1 }
iseq = RubyVM::InstructionSequence.of(my_proc)
node_id = iseq.to_a[4][:... -
04:17 PM Bug #20761: [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- kddnewton (Kevin Newton) wrote in #note-1:
> This is expected behavior. The instruction sequences will have different node ids, so it's not possible to retrieve the RubyVM::AbstractSyntaxTree representation of the AST. If you want to re... -
03:47 PM Bug #20761 (Closed): [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- This is expected behavior. The instruction sequences will have different node ids, so it's not possible to retrieve the RubyVM::AbstractSyntaxTree representation of the AST. If you want to retrieve the Prism AST, you can do so using `Pri...
-
03:38 PM Bug #20761 (Closed): [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default
- https://docs.ruby-lang.org/en/master/RubyVM/AbstractSyntaxTree.html#method-c-of
```rb
RubyVM::AbstractSyntaxTree.of(proc {1 + 2})
# => <internal:ast>:97:in 'RubyVM::AbstractSyntaxTree.of': cannot get AST for ISEQ compiled by prism (... -
04:25 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- I think this would affect both Bundler and non Bundler usages. Currently the warnings recommends to install the gem from RubyGems in non Bundler context, that will also be lost in Ruby 3.4 for gems like `csv`.
That said, I also tend t... -
02:03 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- https://github.com/ruby/ruby/pull/11550 seems a good solution to me.
I think it is expected to only get the LoadError for `csv` on 3.4 and not also the warning.
People seeing the LoadError for `csv` would intuitively add `csv` to their ... -
11:05 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- Maybe I have another solution alltogether:
```rb
begin
gem 'fiddle'
rescue LoadError
# Not available, no require => no warning. Future ruyb versions will hit this.
return
end
# No warning on old versions, will warn for ... -
10:43 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- @deivid Thanks for sharing. My concern is [here](https://github.com/ruby/ruby/pull/11550#issuecomment-2376573020)
I will consider what's better approach for us with https://github.com/ruby/ruby/pull/11550 and https://github.com/ruby/r... -
10:26 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- @hsbt found an issue with the simpler approach. It will no longer show information about bundled gem extraction "after the fact". So, it for example keeps warning that `csv` will no longer be part of Ruby starting from Ruby 3.4 when usin...
-
04:03 PM Revision 0209b955 (git): Extract `setup_branch`
- From duplicate code in `decl_branch_base` and `add_trace_branch_coverage`.
-
04:00 PM Revision 1172d659 (git): [DOC] Improve description of `LoadError#path` and `SyntaxError#path`
- 03:47 PM Revision 9a966a09 (git): [ruby/prism] Fix incorrect reference to AlternationPatternNode as non-void expressions
- https://github.com/ruby/prism/commit/68de31919e
- 03:47 PM Revision a73d80db (git): [ruby/prism] Add fields documentation for AliasMethodNode and AlternationPatternNode
- https://github.com/ruby/prism/commit/6953daebde
-
02:57 PM Revision 1f431b63 (git): [ruby/prism] Reject non-assoc ranges with subsequent operators
- https://github.com/ruby/prism/commit/976a3cd0a5
- 01:39 PM Revision e71f8905 (git): Update default gems list at 49057f36efd894663cc879be08ada0 [ci skip]
-
01:38 PM Revision 49057f36 (git): [ruby/irb] Bump version to v1.14.1
- (https://github.com/ruby/irb/pull/1009)
https://github.com/ruby/irb/commit/04cd2317ef -
11:01 AM Revision 87f4999b (git): s/accomodate/accommodate/
-
11:01 AM Revision cc1e1e77 (git): s/useable/usable/
-
10:20 AM Revision 3e742579 (git): Remove rb_str_cat for parser
-
09:17 AM Revision 2a65f4c9 (git): Extract `mutable_CFString_new`
- From duplicate code in `rb_CFString_class_initialize_before_fork` and
`rb_str_append_normalized_ospath`. -
08:53 AM Revision 71b253cd (git): Added LARCH_REG_FP to dump results
-
08:53 AM Revision a07bf6d5 (git): Use constants for register numbers
-
08:53 AM Revision bdee1772 (git): Removed duplicated dumps
-
08:07 AM Revision b2ee760f (git): Update test dependencies
-
07:59 AM Revision b7674a12 (git): [rubygems/rubygems] Get specs to run on JRuby and make them pass
- Turns out we were not running specs on JRuby, so we introduced a
failure. Seems fine to skip.
https://github.com/rubygems/rubygems/commit/4e2d6affb3 -
07:38 AM Feature #20437: Could the licensing conditions be made less ambiguous?
- @Matz would you mind to comment on the license? How it should be properly applied? What (SPDX) identifiers should be used?
- 07:34 AM Revision 8cd295ec (git): regparse possible memory leak fix proposal
-
06:11 AM Misc #20717: DevMeeting-2024-10-03
- * [Feature #10459] [PATCH] rfc3339 method for Time
* https://github.com/rails/rails/blob/b88d9af34fbc1c84ce2769ba02584eab2c28ac6e/activesupport/lib/active_support/time_with_zone.rb#L152
* It seems reasonable.
* We introduce that w... -
04:56 AM Revision a3fd24e2 (git): [ruby/digest] Import patches for old macOS from MacPorts
- https://github.com/ruby/digest/commit/07a5db2f77
-
04:00 AM Bug #13831: error when try to install
- ruby_3_2 commit:2d62c5d3d9a565fe50a3582124e6d4a58d130084 merged revision(s) commit:0d16c36d0ab2afa2ec79b72b229e69c141ebdaba.
-
04:00 AM Revision 2d62c5d3 (git): merge revision(s) 0d16c36d0ab2afa2ec79b72b229e69c141ebdaba: [Backport #13831]
- [win32/registry] Fallback to UTF-8 for unknown codepages
There are some codepages like cp708 for which no ruby encoding exists:
$ ruby -e "Encoding.find('cp708')"
Traceback (most recent call last):
... - 02:58 AM Revision 7340c1ac (git): Bump actions/checkout in /.github/actions/setup/directories
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](http... -
01:41 AM Bug #20760 (Closed): Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
- Ruby 3.0 is EOL now. We will not backport related changes into `ruby_3_0` branch.
-
01:32 AM Revision 8350b48c (git): Import patches for old macOS from MacPorts
09/25/2024
-
11:52 PM Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
- `openssl@1.0` is not related for this build failure.
I could build applied https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/1dfe75b0beb7171b8154ff0856d5149be0207724 on Ruby 3.0.6 with macOS 15.1 beta5. The inst... -
11:43 PM Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
- Following commits will be needed to compile 3.0 with the recent Xcode:
- commit:4113862c0068a8a95d752f5fdf14980f92cd41d7
Do not search for commands with double tool prefixes [Bug #18504]
- commit:17c8bf2c63192036058b03a04edf7a8478e478... -
02:22 PM Bug #20760 (Closed): Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
- I support a Rails 6.1 project with Ruby 3.0.6 and am unable to build 3.0.6 on a new mac book pro running macOS 15.0 24A335 arm64.
I've attached the build log the primary failure is related to `maybe_unused` in BigDecimal.
I tried m... -
09:05 PM Revision 80e483af (git): Fold rules [ci skip]
-
07:43 PM Revision cab81d1b (git): [ruby/prism] Update templates/include/prism/ast.h.erb
- https://github.com/ruby/prism/commit/dc7164e21c
- 07:43 PM Revision fa7fef27 (git): [ruby/prism] Fix rendering of type overview docs
- https://github.com/ruby/prism/commit/d42bc309cc
-
07:19 PM Revision be331c0e (git): [ruby/prism] Fix up more error messages to more closely match parse.y
- https://github.com/ruby/prism/commit/988ac82187
-
06:42 PM Revision 8bf55328 (git): [DOC] Tweaks for Array#find_index (#11686)
-
06:35 PM Revision b97ff7df (git): [ruby/prism] Fix up lex difference when ~ heredoc with 0 dedent and line continuation
- https://github.com/ruby/prism/commit/84a9251915
-
06:34 PM Revision 12cf9f2a (git): [ruby/prism] Fix up void value expression checking for rescue
- https://github.com/ruby/prism/commit/509ff88e92
-
05:56 PM Revision 77fb1bf4 (git): Merge RubyGems-3.5.20 and Bundler-2.5.20
-
05:56 PM Revision 38948411 (git): Merge RubyGems-3.5.19 and Bundler-2.5.19
-
05:56 PM Revision ef3c4a7a (git): Merge RubyGems-3.5.18 and Bundler-2.5.18
-
05:56 PM Revision 95f72a4a (git): Merge RubyGems-3.5.17 and Bundler-2.5.17
-
05:33 PM Revision 768ceceb (git): [ruby/prism] Disallow label in parentheses
- https://github.com/ruby/prism/commit/b624e09cc6
-
04:23 PM Revision 6a168fbf (git): Potentially fix ASAN checks for GC-ing operand
-
04:18 PM Revision 505206b8 (git): YJIT: Cache Context decoding (#11680)
-
04:17 PM Revision a6ea4ddb (git): [ruby/prism] Remove use of __assume to simplify
- https://github.com/ruby/prism/commit/4daf58f7a0
-
04:08 PM Revision bf6109c8 (git): [ruby/prism] Fix up windows use of __assume
- https://github.com/ruby/prism/commit/9fd0c0901e
-
03:47 PM Revision 57688cd6 (git): [ruby/prism] Support a max depth to protect against malicious payloads
- https://github.com/ruby/prism/commit/a474017bbe
-
03:14 PM Revision b7777249 (git): Don't check poisoned for immediates
-
03:00 PM Revision c32fd1b5 (git): Add debugging code to vm_objtostring in ASAN
- To debug this issue on CI:
http://ci.rvm.jp/logfiles/brlog.trunk_asan.20240922-002945 -
01:52 PM Revision ecbc4a67 (git): Fix up new types for block arguments and splats in prism compiler
-
01:46 PM Revision cafd666a (git): [ruby/prism] Type every node field and mark on-error-only types explicitly
- * For Loader.java, do not deserialize the AST if there are errors, so then Java nodes only have non-error types for fields.
https://github.com/ruby/prism/commit/ae78e3c605 -
12:56 PM Revision 407f8b87 (git): Fix memory leak in Ripper for indented heredocs
- The allocated parser string is never freed, which causes a memory leak.
The following code leaks memory:
Ripper.sexp_raw(DATA.read)
__END__
<<~EOF
a
#{1}
a
EOF -
08:36 AM Revision 3830bca5 (git): TestProcess#test_daemon_noclose is only working with macOS 15.1 beta, we should skip with macOS 15.0
- 02:45 AM Revision 76543a34 (git): Bump github/codeql-action from 3.26.8 to 3.26.9
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md... -
02:18 AM Revision 0283b5dd (git): Check syntax warnings in built-in scripts
-
01:44 AM Bug #13831 (Closed): error when try to install
- I merged https://github.com/ruby/ruby/pull/7366 for this.
- 01:43 AM Revision 0d16c36d (git): [win32/registry] Fallback to UTF-8 for unknown codepages
- There are some codepages like cp708 for which no ruby encoding exists:
$ ruby -e "Encoding.find('cp708')"
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:in `find': unknown encoding name - cp708 (Arg... -
01:40 AM Revision c94ea1cc (git): Fix size modifier for `size_t`
-
12:15 AM Revision 509b577e (git): Implement BLOCK_PASS NODE keyword locations
-
12:06 AM Revision 31a88d15 (git): Implement RETURN NODE keyword locations