Activity
From 09/24/2024 to 09/30/2024
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 ... -
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 `.t... -
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:
> ```rub... -
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 ma... -
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... -
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 `val...
-
07:02 PM Feature #20770: A *new* pipe operator proposal
- bkuhlmann (Brooke Kuhlmann) wrote in #note-4:
> For background, this has been discussed before:
>
> - [15799](htt... -
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 imple... -
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 opera...
-
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.... -
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 ... -
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: Takash... -
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 ev... -
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 ... -
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}... -
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("... -
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 i... -
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 rem... -
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...
-
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 fidd...
-
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 t...
-
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.amaz... -
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 i... -
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/... -
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 ... -
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:
h... -
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 ...
-
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, bu... -
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 n... -
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....
-
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 comp... -
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.o...
- 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 in... -
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... -
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... -
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_RES... -
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=pa... -
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 ne...
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... -
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 ...
-
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. Current... -
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.co...
-
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 fle...
-
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/rai...
-
03:08 PM Misc #20717: DevMeeting-2024-10-03
- * [Feature #6012] Proc#source_location also return the column (eregon)
* How about `{Proc,Method,UnboundMethod}.sou... -
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 `R...
-
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... -
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), g...
-
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 por... -
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 ... -
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` ma... -
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 browse... -
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/s... -
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 ...
-
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. `Abstrac...
-
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 ...
-
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::InstructionSequ...
-
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 differen... -
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 t...
-
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.... -
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 f...
-
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 LoadErro... -
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 r... -
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)
... -
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 "afte...
-
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/rub... -
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 ...
- 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/b88d9af34fbc1c84ce2769ba02... -
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:0d16c36d0ab2afa2ec79b72b229e69c141...
-
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 ru... - 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.c... -
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
- `[email protected]` is not related for this build failure.
I could build applied https://bugs.ruby-lang.org/projects/rub... -
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:4113862c0068a8a95d752f5fdf14980f92cd... -
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 2...
-
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 f...
-
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... -
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:... -
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')"
Tr... -
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
09/24/2024
- 10:06 PM Revision 6b46060f (git): doc: Remove description of experimental warnings related pattern matching from documentation
- Ruby 3.2.0 has been released and all experimental warnings about pattern matching have been removed.
Experimental war... -
09:08 PM Revision a80a9cf9 (git): Further split up pm_compile_node to work on -O0 builds
-
08:35 PM Revision d5241414 (git): [DOC] More on Array#fill (#11610)
-
07:25 PM Revision d31378dc (git): [ruby/psych] Use `String#match?` over `String#=~` when applicable
- Save on allocating useless `MatchData` instances.
https://github.com/ruby/psych/commit/b2d9f16e58 -
06:54 PM Revision e956ce32 (git): Use rb_bug instead of UNREACHABLE for assertions
- UNREACHABLE uses __builtin_unreachable which is not intended to be used
as an assertion. -
06:54 PM Revision c51d8ff4 (git): Fix undefined behavior in String#append_as_bytes
- The UNREACHABLE macro calls __builtin_unreachable, which according to
the [GCC docs](https://gcc.gnu.org/onlinedocs/g... -
06:28 PM Feature #20759: No good API to query which parser is being used
- Note that there is another discussion around retrieving command line options given here: https://bugs.ruby-lang.org/i...
-
06:27 PM Feature #20759 (Rejected): No good API to query which parser is being used
- This is on purpose. This should be a transparent change and not visible to the end user. If you need to access the pa...
-
06:17 PM Feature #20759 (Rejected): No good API to query which parser is being used
- Right now the best way I found is:
```ruby
parser = RUBY_DESCRIPTION =~ /prism/i ? "prism" : "parse.y"
```
Th... -
05:50 PM Revision d8966416 (git): Use `PRIuSIZE` instead of `%zu` for `size_t` (#9359)
- Co-authored-by: Takashi Kokubun <[email protected]>
-
02:23 PM Revision 4f0fe979 (git): Free scope node in prism
-
02:23 PM Revision 4113dcc4 (git): Fix memory leak in constant ID list in prism
-
02:17 PM Revision b48add3c (git): [rubygems/rubygems] Fix `bundler/inline` overwriting lockfiles
- This was introduced by https://github.com/rubygems/rubygems/commit/0b7be7bb7705, because
the original patch was not a... -
02:07 PM Revision 07842491 (git): [ruby/irb] Use proper locale in history encoding test
- (https://github.com/ruby/irb/pull/1008)
https://github.com/ruby/irb/commit/f6b06a9a40 -
01:28 PM Revision 2a0ee408 (git): [ruby/error_highlight] Fix error with prism when method given no arguments
- such as:
p = Proc.new
This now matches the RubyVM::AbstractSyntaxTree behavior, which is
not to highlight anythin... -
01:21 PM Revision 414a848c (git): [ruby/prism] Accept version shorthand like 3.4
- https://github.com/ruby/prism/commit/098f1c4607
-
12:59 PM Revision e02a6097 (git): Set node_id to -1 in add_adjust_info
- add_adjust_info will increment the insns_info_index, so we need to set
the node_id to -1 to prevent a "Conditional ju... -
12:37 PM Revision 8edd6e60 (git): Update deps for prism/options.c
-
12:24 PM Revision ed4a55fc (git): [ruby/prism] Accept all 3.3.x and 3.4.x Ruby versions for Prism.parse
- https://github.com/ruby/prism/commit/a4fcd5339a
-
12:24 PM Revision b8baf3f3 (git): [ruby/prism] check_string() should always return a valid C string
- * Otherwise it is invalid e.g. to call strlen() to the result,
or to assume the argument was a string.
* All caller... -
06:33 AM Revision 5228d349 (git): [rubygems/rubygems] Restore `gem_dir` as an instance variable accessor
- I suspect someone could be setting this instance variable, and the
previous changes made that no longer effective.
A... -
06:33 AM Revision 5f47f0f7 (git): [rubygems/rubygems] Remove TODO I can't make much sense of
- https://github.com/rubygems/rubygems/commit/6d627e0671
- 06:33 AM Revision 4b1e852d (git): [ruby/error_highlight] Prism added node_id and Node#breadth_first_search in the 1.0 release. These methods are required for Prism to be able to find the method from the backtrace.
- https://github.com/ruby/prism/blob/main/CHANGELOG.md#100---2024-08-28
In practice you will likely only end up in thi... -
06:12 AM Revision 373f679e (git): fix rb_memsearch() document
- ## Why?
The explanation of x and y is reversed.
https://github.com/ruby/ruby/blob/ddbd64400199fd408d23c85f9fb0d7f742... -
06:05 AM Revision 4956324a (git): mingw.yml - fixup to use ucrt, logging
- 05:18 AM Revision fac5aa05 (git): Bump github/codeql-action from 3.26.7 to 3.26.8
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8.
- [Release notes](https:... -
05:06 AM Revision acf28e83 (git): Windows: Use Unicode aware WinAPI function for ENV[]=
- This only makes a difference when setting an empty value to a Unicode key.
-
05:06 AM Revision 7627a95e (git): Windows: Remove ENV code targeting Windows before Vista
- Windows Vista removed the limit to 32768 bytes environment block.
Also MINGW supports _wputenv_s() for years. -
05:06 AM Revision 0641845a (git): Windows: Remove compatibility to ancient MSVCRT API
- Using _wputenv_s simplifies the code and we can avoid code duplication by using rb_w32_home_dir() to initialize ENV['...
-
04:32 AM Revision 79e79afe (git): Show volume details at Windows platform of GHA
-
03:41 AM Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
- The Xcode version had no effect on this.
In fact, the same error appeared on macOS 15.0 for binaries built with eith...
Also available in: Atom