Activity
From 02/08/2024 to 02/14/2024
02/14/2024
-
11:57 PM Revision beeee548 (git): YJIT: Replace perf_fn! with a simpler macro (#9971)
-
10:44 PM Revision 06ad00ad (git): Lrama v0.6.3
-
10:44 PM Revision 95ec71ef (git): Revert "CHECK_LEAKS is always enabled with 01459f1"
- * This reverts commit cf8fb9429511068c69ce70da7f7818c7441c280b.
* CHECK_LEAKS is no longer always enabled. -
10:44 PM Revision d24be39d (git): Only check constant leaks by default for `make test-spec`
- * See https://github.com/ruby/ruby/pull/9548
-
09:50 PM Revision 6f9ca7f4 (git): YJIT: Use i32 over isize for ctx.sp_opnd() (#9968)
- It eventually casts it to i32 anyways, and a lot of callers already have
an i32, so using isize was just adding unnec... -
09:25 PM Revision 28709d59 (git): Remove unused argument in cc_table_free
-
09:09 PM Revision 72f8883a (git): YJIT: Extract keyword handling to make gen_send_iseq() shorter
- This should make it easier to grok the order of operations.
-
08:52 PM Revision ae8db4b6 (git): Remove unused function rb_cc_table_free
- 08:49 PM Revision c9ed59c2 (git): Update yjit/src/codegen.rs
- Co-authored-by: Takashi Kokubun <[email protected]>
-
08:49 PM Revision 7943cb22 (git): Consider rb_str_getbyte as leaf sometimes
- If YJIT knows the parameter to rb_str_getbyte is a fixnum, then I think
we can consider the function to be a leaf -
08:37 PM Revision fadb7d41 (git): Remove duplicated include in weakmap.c
-
08:29 PM Revision 9933377c (git): [PRISM] Correctly hook up line numbers for eval
-
08:17 PM Misc #20254: Add Launchable into Ruby CI
- So if I understand correctly, this isn't an alternative CI, just a side system that collect statistics and also bette...
-
05:14 PM Misc #20254: Add Launchable into Ruby CI
- > I agree there are room to improve the source code but we can improve after merging and trying it out, IMO.
(and we... -
06:43 PM Revision 1d3b3067 (git): Move rb_class_allocate_instance from gc.c to object.c
-
06:24 PM Revision fc2c128e (git): [PRISM] Set eval encoding based on string encoding
-
05:09 PM Revision 71777312 (git): YJIT: Add --yjit-perf=codegen option (#9957)
-
05:08 PM Feature #20265 (Closed): Deprecate and remove rb_newobj and rb_newobj_of
- GitHub PR: https://github.com/ruby/ruby/pull/9964
I’m proposing deprecating and removing the rb_newobj and rb_newo... -
04:28 PM Feature #20205: Enable `frozen_string_literal` by default
- > Question: what is the effect of "chilled string" on #frozen?
> Does chilled_string.frozen? return true?
That's ... -
02:48 PM Feature #20205: Enable `frozen_string_literal` by default
- Question: what is the effect of "chilled string" on `#frozen?`
Does `chilled_string.frozen?` return true?
Personall... -
09:08 AM Feature #20205: Enable `frozen_string_literal` by default
- Thank you Matz.
In that case I'll work with @etienne into getting the proof of concept into a mergeable feature ov... -
07:30 AM Feature #20205: Enable `frozen_string_literal` by default
- I agree with the proposal. It seems a well-thought process to migrate. The performance improvement was not as great a...
-
04:19 PM Revision ee3b4bec (git): YJIT: Simplify Kernel#send guards and admit more cases (#9956)
- Previously, our compile time check rejected dynamic symbols (e.g. what
String#to_sym could return) even though we cou... -
04:08 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- hsbt (Hiroshi SHIBATA) wrote in #note-20:
> https://github.com/ruby/ruby/pull/9371 is already backported into `ruby_... -
04:00 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- > (2) Default to RUBY_CRASH_REPORT_MODE=minimal behavior when RUBY_DEBUG=1. This feature is for CRuby core developers...
-
03:59 PM Misc #20260: ISEQ flag for prism compiler
- @mame I've made these changes here: https://github.com/ruby/ruby/pull/9934. Could you review? Thanks!
-
01:52 PM Misc #20260: ISEQ flag for prism compiler
- It would be great if `ErrorHighlight` can work on other Ruby implementations too, which means not relying on `RubyVM`...
-
01:38 PM Misc #20260: ISEQ flag for prism compiler
- Okay! That makes sense, thank you for the discussion. I'm also fine making `ErrorHighlight::Spotter` handle both, as ...
-
01:00 PM Misc #20260: ISEQ flag for prism compiler
- BTW, I prefer to have `ErrorHighlight::Spotter.new` accept both `RubyVM::AST::Node` and `Prism::Node` instead of addi...
-
11:47 AM Misc #20260: ISEQ flag for prism compiler
- How about the following API?
* Make `RubyVM::AbstractSyntaxTree.of` raise a RuntimeError for objects with iseq com... -
03:56 PM Revision f4a0e1cd (git): Prefer `Array.new(n) {}` to `n.times.map {}`
- * It is quite a bit faster:
ruby -rbenchmark/ips -e 'Benchmark.ips { |x| x.report("times.map") { 1000.times.map {} ... -
03:48 PM Revision c2d8d6eb (git): Initialize the Prism::Source directly with all 3 fields for the C extension
- * Faster that way:
$ ruby -Ilib -rprism -rbenchmark/ips -e 'Benchmark.ips { |x| x.report("parse") { Prism.parse("1 ... -
03:48 PM Revision 1b2708b1 (git): [ruby/prism] Remove attr_writer's for ParseResult#start_line and #offsets
- * As the user should not set these.
* Use #instance_variable_set/rb_iv_set() instead internally.
https://github.com/... -
03:48 PM Revision f0f6ffef (git): [ruby/prism] Serialize the newline_list to avoid recomputing it again later
- * Fixes https://github.com/ruby/prism/issues/2380
https://github.com/ruby/prism/commit/4eaaa90114 -
03:47 PM Revision 65f54355 (git): [DOC] Doc compliance (#9955)
-
03:33 PM Misc #20242: `--parser=prism_without_warning`
- I've added the PR here: https://github.com/ruby/ruby/pull/9963.
@mame would you mind reviewing? I had to add `rb_w... -
03:02 PM Misc #20242: `--parser=prism_without_warning`
- That works for me, thanks!
-
11:04 AM Misc #20242: `--parser=prism_without_warning`
- This issue was discussed at the dev meeting. No one agreed with `--parser=prism_without_warning` because it is too ad...
- 02:59 PM Revision f1136e73 (git): Update default gems list at 12b0e67fec2cc59a6f7da4a4bfbd52 [ci skip]
-
02:58 PM Revision 12b0e67f (git): [PRISM] Sync to latest prism
-
02:19 PM Bug #20264 (Feedback): Segfault in Enumerator#next while installing RMagick on M1 Mac
- there's no workaround right now (AFAIK affected platform is Linux VM on Apple Silicon), need to wait 3.3.1 to be shi...
-
09:08 AM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- hsbt (Hiroshi SHIBATA) wrote in #note-6:
> I could install `rmagick` with `linux/amd64`.
>
> ```
> $ docker run ... -
04:13 AM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- I could install `rmagick` with `linux/amd64`.
```
$ docker run -it --platform=linux/amd64 registry.docker.com/lib... -
01:47 PM Revision c84581f1 (git): [ruby/irb] Repurpose the help command to display the help message
- (https://github.com/ruby/irb/pull/872)
See #787 for more details.
https://github.com/ruby/irb/commit/d9192d92d0 -
01:46 PM Revision d0412599 (git): [ruby/irb] Improve constant lookup in SourceFinder
- (https://github.com/ruby/irb/pull/871)
https://github.com/ruby/irb/commit/87c279ccf2 -
01:42 PM Bug #20247 (Closed): net/http/header limits are too low
- Discussed at the dev meeting.
This header length limit was introduced to enhance security. Accepting unlimitedly l... -
01:36 PM Feature #20210 (Closed): Invalid source encoding raises ArgumentError, not SyntaxError
- I think that makes sense! Let's keep it as an argument error. Prism will keep parsing for now, but raise the right er...
-
11:20 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
- Discussed at the dev meeting.
We need a good reason to introduce incompatibility. You say you are fine with the cu... -
01:35 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
- Does this also include blocks? Sorry I can't remember if that was officially decided or not. Also I'm presuming this ...
-
07:54 AM Bug #20218: aset/masgn/op_asgn with keyword arguments
- OK, prohibit keyword arguments in aset.
Matz.
-
01:33 PM Misc #20238: Use prism for mk_builtin_loader.rb
- Thank you for the discussion! I will look into a C program and update this ticket, that sounds like a good approach.
-
04:43 AM Misc #20238: Use prism for mk_builtin_loader.rb
- We discussed this at DevMeeting 2024-02-14.
* The idea of using Prism for supporting the latest syntax in builtin ... -
01:56 AM Misc #20238: Use prism for mk_builtin_loader.rb
- > install a couple extra packages for rubyci.org machines
Note that RubyCI doesn't have this problem. On RubyCI se... -
12:17 PM Feature #20257: Rearchitect Ripper
- No user interface changes other than lex state changes by making them to be aligned with parser's lex state transitio...
-
10:55 AM Bug #20111: `defined?` returns `expression` for assignment operators combined with fully qualified constants
- @ko1 Just inconsistency discovered while implementing `defined?` for these various constructs.
-
10:13 AM Feature #20187 (Assigned): Bundled gems at Ruby 3.4
- I changed test policy for this with nalsh's suggestion.
https://github.com/ruby/ruby/pull/9960#issuecomment-19433714... -
09:26 AM Feature #20187: Bundled gems at Ruby 3.4
- hsbt (Hiroshi SHIBATA) wrote in #note-6:
> @Eregon reverts my changes at [ruby/spec](https://github.com/ruby/spec/pu... -
03:11 AM Feature #20187 (Open): Bundled gems at Ruby 3.4
- @Eregon reverts my changes at [ruby/spec](https://github.com/ruby/spec/pull/1137) without any discussion. We shouldn'...
-
09:32 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- byroot (Jean Boussier) wrote in #note-33:
> I'd like to change `Encoding::BINARY.inspect` from `"#<Encoding:ASCII-8B... -
05:30 AM Bug #20203: `TestEnumerable` test failures with GCC 14
- @alanwu do you have measurements with system qsort and ruby's qsort?
-
05:22 AM Feature #20160 (Rejected): rescue keyword for case expressions
- According to the original intention, `rescue` clauses in `case` should only handle exceptions from the target express...
-
05:12 AM Feature #20080: Introduce #bounds method on Range
- What ever it is, at least it's not "bounds" especially when a range excludes end.
Maybe we seek another name (or beh... -
05:10 AM Feature #19117: Include the method owner in backtraces, not just the method name
- I am OK with adding method owner. I am against removing quote signs.
Matz.
-
05:05 AM Feature #16495: Inconsistent quotes in error messages
- I am positive. I'd say go. We need to experiment anyway.
Matz.
- 03:17 AM Revision eea7ce55 (git): Bump github/codeql-action from 3.24.0 to 3.24.1
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.0 to 3.24.1.
- [Release notes](https:... -
03:13 AM Misc #20193: DevMeeting-2024-02-14
- [Feature #20187] Bundled gems at Ruby 3.4
* Should we test bundled gems at `make check`?
-
02:40 AM Revision 1fc7c79d (git): [PRISM] Exclude additional tests from rebase
-
02:19 AM Revision 8ec955d1 (git): [PRISM] Switch bootstraptest syntax error assertions to handle multiline
-
02:19 AM Revision 5de3e305 (git): [PRISM] Add temporary test exclusions to get eval passing
-
02:19 AM Revision adb2fbf6 (git): [PRISM] Prism/eval should handle file names provided
-
02:19 AM Revision f70a4a03 (git): [PRISM] yield is invalid inside eval
-
02:19 AM Revision 0285b533 (git): [PRISM] Don't rb_bug if redo/break/next used during eval
-
02:19 AM Revision edb755c8 (git): [PRISM] Add eval tests
-
02:19 AM Revision c2af974e (git): [PRISM] Build wrapper scopes for eval
- - Don't use `build_options_scopes` We can inline the code here instead
and avoid allocating all the extra arrays.
... -
02:19 AM Revision fd3f776a (git): [PRISM] Use Prism for `eval` if enabled
-
01:42 AM Revision 068b19bd (git): [ruby/prism] Match up token name to CRuby
- https://github.com/ruby/prism/commit/cf0369a5c7
-
01:40 AM Revision c54622c6 (git): Fix a warning with USE_RUBY_DEBUG_LOG=1 on macOS
- ```
compiling ../thread.c
In file included from ../thread.c:263:
In file included from ../thread_pthread.c:2870:
../t... -
01:32 AM Revision 8e3eb8c9 (git): [PRISM] Fix up common.mk dependencies
-
01:01 AM Revision 2fa051f6 (git): [ruby/prism] Validate multibyte characters in strings
- Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodi...
02/13/2024
-
09:12 PM Revision dc5191d6 (git): [ruby/prism] Fix KOI-8 char width check
- https://github.com/ruby/prism/commit/06d3747c5b
-
08:57 PM Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0
- shyouhei (Shyouhei Urabe) wrote in #note-1:
> This has to be related: https://github.com/freebsd/freebsd-src/commit/... -
08:54 PM Revision a5869e5d (git): [PRISM] Replace assert with RUBY_ASSERT
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:54 PM Revision 83c158fd (git): [PRISM] Replace assert with rb_bug
-
08:35 PM Revision a96110f7 (git): [ruby/prism] Convert more error messages to match specs
- https://github.com/ruby/prism/commit/7987b7aa20
-
08:30 PM Revision 4d3fc96b (git): Change dsymbol_alloc to use NEWOBJ_OF
-
08:25 PM Misc #20260: ISEQ flag for prism compiler
- Ahh sorry again, but actually if we introduce `Thread::Backtrace::Location#iseq`, all of this can be done in Ruby, be...
-
08:13 PM Misc #20260: ISEQ flag for prism compiler
- Sorry to respond again, but in thinking about it, I think `Prism.node_for` might not be right. Maybe it should be `Ru...
-
06:58 PM Misc #20260: ISEQ flag for prism compiler
- Yes, the user-facing part for iseq is only changing `RubyVM::InstructionSequence.to_a` to include `prism: true/false`...
-
06:30 PM Misc #20260: ISEQ flag for prism compiler
- I'm okay to change the internal data structure because we can change them in future.
How to change the user facing... -
08:10 PM Revision b1964a92 (git): [ruby/prism] Add code unit APIs to location
- LSPs need this because the protocol dictates that you return code
units for offsets. None of our existing APIs provid... -
07:49 PM Revision 6261d4b4 (git): Fix use-after-move in Symbol#inspect
- The allocation could re-embed `orig_str` and invalidate the data
pointer from RSTRING_GETMEM() if the string is embed... -
07:49 PM Revision 5add999d (git): Comment about not marking RSYMBOL(obj)->fstr [ci skip]
-
07:35 PM Bug #20237: Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
- Making the timer thread lazily is in tasklist but not sure when we can make it.
-
07:31 PM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
- @naruse Hi - I'm new around here. I was poking around this bug as it affects our codebase at work, and I think the wr...
-
07:29 PM Bug #20111: `defined?` returns `expression` for assignment operators combined with fully qualified constants
- Just curious, who cares the difference?
-
07:08 PM Misc #20238: Use prism for mk_builtin_loader.rb
- kddnewton (Kevin Newton) wrote in #note-8:
> You can pass `Prism.parse(code, version: "3.3.0")` and it will parse as... -
07:02 PM Misc #20238: Use prism for mk_builtin_loader.rb
- > Using prism gem it can be newer than the source code (prism gem for ruby 3.5 syntax to build ruby 3.4, for example)...
-
06:23 PM Misc #20238: Use prism for mk_builtin_loader.rb
- I'm not negative to use Prism (or using parse.y) to make it to support newest syntax in builtins.
There are some con... -
07:05 PM Feature #19905: Introduce `Queue#peek`
- I feel it is natural that `to_a` returns `[]` immediately if there is no enqueued item.
(`#peek` is not clear on it) -
05:22 PM Feature #19905: Introduce `Queue#peek`
- Seems like all the use cases so far would be as well if not better handled by `to_a`. Which I admit I hoped existed a...
-
02:59 PM Feature #19905: Introduce `Queue#peek`
- I would like to provide another use case for `Queue#peek`. I'm using `Queue` in a project that's running commands pro...
-
06:51 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- * As a MRI developer, I don't need loaded features (LF) and memory maps (MM) and it interrupts me to see the backtrac...
-
03:54 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- I've received feedback that if we switch the default, no one would really use the full output mode, so we shall keep ...
-
06:49 PM Revision 21297293 (git): [DOC] Doc compliance (#9944)
-
06:37 PM Bug #20230 (Closed): Fix crash when passing large keyword splat to method accepting keywords and keyword splat
- Fixed by commit:c20e819e8b04e84a4103ca9a036022543459c213
-
06:26 PM Feature #20257: Rearchitect Ripper
- Do you think the proposal has impact for user code?
-
06:26 PM Revision 29d04bb0 (git): [ruby/prism] Introduce `version: "3.4.0"`
- This is effectively an alias for "latest" right now. In the future
it will change to be its own enum value.
https://... -
06:15 PM Revision 246005f5 (git): [ruby/prism] Fix an error when specifying the parsing version `latest`
- This PR fixes following error when using `version: latest` argument.
```console
$ ruby -rprism -e "p Prism.parse('->... -
06:14 PM Feature #19117: Include the method owner in backtraces, not just the method name
- Oops, indeed.
It seems a bit easier to me to read with the quotes:
```
/Users/byroot/.gem/ruby/3.2.2/gems/activere... -
06:02 PM Feature #19117: Include the method owner in backtraces, not just the method name
- It should be:
```
/Users/byroot/.gem/ruby/3.2.2/gems/activerecord-7.1.2/lib/active_record/connection_adapters/abs... -
10:58 AM Feature #19117: Include the method owner in backtraces, not just the method name
- I think without quotes, while it looks clean for a simple example of all short paths it can be slower/harder to find ...
-
10:28 AM Feature #19117: Include the method owner in backtraces, not just the method name
- > Do we need quotes?
I'm not attached to them, and I suppose removing them would also solve https://bugs.ruby-lang... -
09:42 AM Feature #19117: Include the method owner in backtraces, not just the method name
- Do we need quotes?
From comment #28
```
./test.rb:10:in `Integer#+': String can't be coerced into Integer (T... -
06:10 PM Revision a93f4e3d (git): byteslice can return nil so we have to push an "unknown" value
-
05:16 PM Revision fdaef7a7 (git): YJIT: Fixup kwrest stack base
- I was a little rushed and didn't notice that it was still using the
final stack size even though we don't grow the st... -
04:53 PM Bug #20234: Segfault parsing begin statement inside method definition receiver
- I made an attempt to fix this at https://github.com/ruby/ruby/pull/9948. I added all the tests mentioned here. I'm no...
-
04:20 PM Revision c35fea85 (git): Specialize String#byteslice(a, b) (#9939)
- * Specialize String#byteslice(a, b)
This adds a specialization for String#byteslice when there are two
parameters.
... -
04:05 PM Revision a71d1ed8 (git): Fix memory leak when parsing invalid hash symbol
- For example:
10.times do
100_000.times do
eval('{"\xC3": 1}')
rescue EncodingError
end... -
04:05 PM Revision e4272fd2 (git): Avoid allocation when passing no keywords to anonymous kwrest methods
- Thanks to the new semantics from [ruby-core:115808], `**nil` is now
equivalent to `**{}`. Since the only thing one co... -
04:05 PM Misc #20193: DevMeeting-2024-02-14
- * [Feature #20249] Introduce a backtrace-only mode for rb_bug() (osyoyu)
* The current crash report printed by rb_b... -
06:51 AM Misc #20193: DevMeeting-2024-02-14
- * [Feature #20244] Show the conflicting another chdir block
* `Dir.chdir` is warning when in another chdir block... -
01:50 AM Misc #20193: DevMeeting-2024-02-14
- * [Bug #20225] Inconsistent behavior of regex matching for a regex has a null loop (makenowjust)
* Onigmo has stran... -
04:04 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- seems like
https://github.com/ruby/ruby/pull/9385
https://bugs.ruby-lang.org/issues/20085 -
01:27 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- Coincidentally, I'm pretty sure that code is useless: https://github.com/ruby-gnome/pkg-config/pull/25.
-
01:12 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- The interesting parts from the upstream ticket:
```
Segmentation fault at 0x0067ffffb37006c0
ruby 3.3.0 (2023-12... -
11:39 AM Bug #20264 (Feedback): Segfault in Enumerator#next while installing RMagick on M1 Mac
- I raised a bug at RMagick, they said to go to pkg-config. I raised a bug there, and they said to raise it here. Hopef...
-
03:26 PM Revision 4e481c77 (git): [PRISM] Refactors to use more locations
-
03:26 PM Revision fe31b682 (git): [PRISM] Stop passing parser around so much
-
03:26 PM Revision e967e062 (git): [PRISM] Switch to locations for PM_ALIAS_GLOBAL_VARIABLE_NODE, PM_ALIAS_METHOD_NODE, and PM_AND_NODE
-
03:26 PM Revision 76ab017f (git): [PRISM] Brace style in prism_compile.c
- 02:39 PM Revision d357d50f (git): [PRISM] Fix lambda start column number
- Co-Authored-By: Kevin Newton <[email protected]>
-
02:37 PM Revision b662edf0 (git): [PRISM] Combine hash compilation between hashes and keywords
-
02:37 PM Revision c0e12142 (git): [PRISM] Fix compilation of hash with multiple merges
- 02:09 PM Revision dedca318 (git): [ruby/prism] Fix `full_name` for constant path targets
- https://github.com/ruby/prism/commit/84c10f3a2d
-
01:36 PM Revision 2f0f9523 (git): [ruby/irb] Fix SourceFinder's constant evaluation issue
- (https://github.com/ruby/irb/pull/869)
Currently, if the signature's constant part is not defined, a NameError
would... -
01:33 PM Revision ec26786b (git): [ruby/irb] Refactor eval_path and `SourceFinder::Source`
- (https://github.com/ruby/irb/pull/870)
* Assign `@eval_path` through `irb_path=` method
This simplifies the origina... -
11:11 AM Revision b5327647 (git): extract-gems before nmake in Visual Studio workflow
- * BTW this workflow is the only one doing extract-extlibs before building.
It seems building with Visual Studio and... -
11:11 AM Revision 9204416b (git): Revert "Try `nmake install` before `nmake test-spec`"
- This reverts commit d4a6c6521aa1a5208939a2cd981a13ca01a07d2a.
-
10:04 AM Bug #20263 (Closed): Backport https://github.com/ruby/ruby/pull/9498 to Ruby 3.3
-
09:09 AM Bug #20263 (Closed): Backport https://github.com/ruby/ruby/pull/9498 to Ruby 3.3
- Pull request: https://github.com/ruby/ruby/pull/9805
- 09:57 AM Revision e848848b (git): [ruby/reline] C for vi mode
- (https://github.com/ruby/reline/pull/472)
https://github.com/ruby/reline/commit/d197be7c44 -
09:38 AM Misc #20254: Add Launchable into Ruby CI
- Some more background:
1, I heard the introduction of Launchable service with some committers by my former colleagu... -
09:01 AM Bug #19991: rb_register_postponed_job async-signal-unsafety causes crash in GC
- I've also documented how to workaround this issue in the Datadog Ruby profiler in https://docs.datadoghq.com/profiler...
-
07:11 AM Revision 01d4d5b8 (git): Remove duplicate path-ignore entries [ci skip]
-
06:47 AM Bug #20183 (Closed): `erb/escape.so` cannot be loaded when `--with-static-linked-ext`
-
06:28 AM Bug #20262: Regex mismatch between Ruby 3.2.2 and 3.3.0
- I accidentally left the "()\1" in the original post, but it should not be there and I don't see a way to change it. T...
-
06:28 AM Bug #20262 (Closed): Regex mismatch between Ruby 3.2.2 and 3.3.0
- This might be a duplicate of https://bugs.ruby-lang.org/issues/20098, but I cannot make it match with the backref so ...
-
06:19 AM Bug #20098: Wrong regexp match in ruby 3.2 and 3.3
- Looks to be the same bug, but I cannot make it match with the backref. Below example matches in 3.2.2 but not in 3.3...
-
01:56 AM Revision 038189b6 (git): Use dedicated parser_string hash function
- Define and use `rb_parser_str_hash` for `rb_parser_string_t`
instead of `rb_str_hash` to remove dependency on `rb_str... - 01:27 AM Revision 785aa47c (git): [rubygems/rubygems] Update SPDX license list as of 2024-02-08
- https://github.com/rubygems/rubygems/commit/ec3de95d79
-
01:07 AM Revision 1f0fa318 (git): Fix typo in asan section of building_ruby.md docs
- s/copmiler-rt/compiler-rt/
-
12:53 AM Bug #20246 (Closed): Unexpected behavior for Regexp in Subexpression Calls on Ruby 3.3.0
- Applied in changeset commit:git|4a6384ed9358e8fb8464f6e37efb5477182f01db.
----------
Fix [Bug #20246]: Don't set nex... -
12:53 AM Revision 4a6384ed (git): Fix [Bug #20246]: Don't set next_head_exact if a capture is called (#9897)
02/12/2024
-
11:40 PM Revision 8a345860 (git): Warn duplication of `__ENCODING__` on the hash
- ```
$ ruby -e 'h = { __ENCODING__ => 1, __ENCODING__ => 2 }'
-e:1: warning: key #<Encoding:UTF-8> is duplicated and o... -
09:52 PM Revision f41d8f38 (git): Comply with doc guide
-
09:39 PM Revision cbdabd58 (git): YJIT: Fix kwrest calls setting SP with uninit values
- We did stack_push() and then saved the SP without writing to the slots
of the new values first, which caused the GC t... -
08:34 PM Feature #20261 (Assigned): Add symbol synonyms for '' and nil for IO method line separator arguments
- [Feature 20261] For IO's line-oriented read methods, there are two special values for the line-separator argument `se...
-
08:08 PM Misc #20193: DevMeeting-2024-02-14
- * [Misc #20260] ISEQ flag for prism compiler (kddnewton)
* Would it be alright to add a flag to iseqs to say it ca... -
04:07 AM Misc #20193: DevMeeting-2024-02-14
- * [Feature #20257] Rearchitect Ripper
* I want to have a chance to explain new Ripper's architecture.
* In shor... -
08:07 PM Revision 0536b2ce (git): Replace assert with RUBY_ASSERT in weakmap.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 80700f45 (git): Replace assert with RUBY_ASSERT in thread_sync.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 9a2b6922 (git): Replace assert with RUBY_ASSERT in rational.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 3ed59627 (git): Replace assert with RUBY_ASSERT in range.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision fd87259a (git): Replace assert with RUBY_ASSERT in numeric.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 5644d90d (git): Replace assert with RUBY_ASSERT in load.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision ea92374b (git): Replace assert with RUBY_ASSERT in id_table.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 436191ab (git): Replace assert with RUBY_ASSERT in enum.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 11ffee88 (git): Replace assert with RUBY_ASSERT in darray.h
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 7256e38f (git): Replace assert with RUBY_ASSERT in complex.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision de7a29ef (git): Replace assert with RUBY_ASSERT in compile.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 6906e502 (git): Replace assert with RUBY_ASSERT in bignum.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision 1228751a (git): Replace assert with RUBY_ASSERT in array.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Revision ac38f259 (git): Replace assert with RUBY_ASSERT in string.c
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:07 PM Misc #20260: ISEQ flag for prism compiler
- The PR for this work is here: https://github.com/ruby/ruby/pull/9934.
-
08:06 PM Misc #20260 (Closed): ISEQ flag for prism compiler
- In order to support error highlight, there's needs to be a way to tell which compiler generated an instruction sequen...
-
08:03 PM Revision bb845ae8 (git): [ruby/prism] Fix typo in class variable name error
- https://github.com/ruby/prism/commit/5f6c45f6fb
-
08:01 PM Revision 4f1a4665 (git): More on auto-link (#9907)
-
07:51 PM Misc #20254: Add Launchable into Ruby CI
- Conflict of interest: I work at Red Hat, being paid by Red Hat. I am a committer in the Ruby project. In the project,...
-
07:51 PM Revision 84d8dbe7 (git): Enable redefinition check for rbinc methods
-
07:48 PM Revision 1395838e (git): [PRISM] Check full lines for invalid UTF-8
-
06:57 PM Revision 2131d04f (git): YJIT: Add support for `**kwrest` parameters
- Now that `...` uses `**kwrest` instead of regular splat and
ruby2keywords, we need to support these type of methods t... -
06:48 PM Misc #20259 (Open): Proposal to add "ruby --irb" and / or "ruby --start-irb" to start irb (interactive ruby) via ruby (bin/ruby), via the commandline
- This issue proposes to add:
a) a commandline flag to bin/ruby that allows the user to start irb,
and
b) allo... -
06:38 PM Revision 7af97dc7 (git): [ruby/irb] Powerup show_source by enabling RubyVM.keep_script_lines
- (https://github.com/ruby/irb/pull/862)
* Powerup show_source by enabling RubyVM.keep_script_lines
* Add file_conten... -
06:02 PM Revision e878bbd6 (git): Allow `foo(**nil, &block_arg)`
- Previously, `**nil` by itself worked, but if you add a block argument,
it raised a conversion error. The presence of ... -
06:01 PM Revision e08c1284 (git): [ruby/prism] Error messages closer to CRuby
- https://github.com/ruby/prism/commit/19ffa0b980
-
05:56 PM Revision e4d3e652 (git): YJIT: Prefer an overloaded cme if available (#9913)
- YJIT: Prefer an overloaded cme if applicable
-
05:54 PM Revision 94bc5ad3 (git): [ruby/prism] ruby_parser translator
- https://github.com/ruby/prism/commit/1925b970c7
-
05:31 PM Bug #20253 (Closed): `Proc.dup` and `Proc#clone` don't preserve finalizers
- Applied in changeset commit:git|de1a586ecc2ee7f465f0c0a69291054136a3a819.
----------
proc.c: get rid of `CLONESETUP`... -
11:30 AM Bug #20253: `Proc.dup` and `Proc#clone` don't preserve finalizers
- https://github.com/ruby/ruby/pull/9926 fixes all the issues above and a few others.
-
11:28 AM Bug #20253: `Proc.dup` and `Proc#clone` don't preserve finalizers
- We just found yet another issue with @etienne:
```ruby
>> Proc.new { }.freeze.clone
(irb):1:in `initialize_copy'... -
05:31 PM Revision de1a586e (git): proc.c: get rid of `CLONESETUP`
- [Bug #20253]
All the way down to Ruby 1.9, `Proc`, `Method`, `UnboundMethod`
and `Binding` always had their own spec... -
04:56 PM Revision c04782c2 (git): YJIT: Adjust the padding size of counts automatically (#9912)
-
04:55 PM Revision b9f25b10 (git): YJIT: Fix insufficient type guards (#9911)
-
04:53 PM Bug #20258: Socket::IPV6_RECVERR for IPv6
- I have created a PR to fix the error: https://github.com/ruby/ruby/pull/9930
-
12:04 PM Bug #20258 (Closed): Socket::IPV6_RECVERR for IPv6
- Hello,
I am currently trying to receive ICMP error messages in Ruby. For IPv4 there is the `Socket::IP_RECVERR` fl... -
04:27 PM Revision c3886c12 (git): [ruby/prism] Fix unary not location
- https://github.com/ruby/prism/commit/861689f6d1
-
03:57 PM Revision 16b39072 (git): [ruby/prism] Move Prism::RipperCompat to Prism::Translation::Ripper
- https://github.com/ruby/prism/commit/c0331abe4f
-
03:57 PM Revision 78deba1a (git): [ruby/prism] Unary not name location
- https://github.com/ruby/prism/commit/78190d2999
-
03:48 PM Revision 739eec04 (git): [DOC] `:stopdoc:` directive must be on its own line (#9916)
-
02:43 PM Revision 190a55d2 (git): Drill newobj cache instead of ractor
-
01:31 PM Revision d4a6c652 (git): Try `nmake install` before `nmake test-spec`
-
12:54 PM Feature #16828: Introduce find patterns
- An easy way to understand the "backtracking" of find pattern is it works like `each_slice(n)` and doesn't actually ba...
-
11:28 AM Revision 06995eb4 (git): [ruby/irb] Fix exit! command warning and method behavior
- (https://github.com/ruby/irb/pull/868)
* Fix exit! command warning and method behavior
* Remove arg(0) from Kernel.... -
10:33 AM Revision 39788e58 (git): Try prepare-gems instead of extract-gems
- * `make install` uses prepare-gems.
-
10:33 AM Revision ffe1a68b (git): Skip spec failing on i686
-
10:05 AM Revision d15301d4 (git): Exclude a problematic spec when run in CRuby via make test-spec until fixed
-
09:56 AM Revision b19d2409 (git): Update to ruby/spec@ce834ad
-
09:55 AM Revision 90a746d2 (git): Always extract bundled gems before running ruby/spec
- * Fixes https://github.com/ruby/ruby/commit/44d74f22c8da3c13aa5363769418e2f5fd29f65a#r138276491
-
09:27 AM Misc #20242: `--parser=prism_without_warning`
- Oh right, that makes a lot more sense.
I wonder if it could be a configure flag or so to disable that warning, until... -
08:46 AM Revision 7fc89a92 (git): Use Node for `warn_duplicate_keys` st_table keys
-
07:50 AM Revision 4f7de1dc (git): Adjust styles [ci skip]
-
06:48 AM Revision c20e819e (git): Fix crash when passing large keyword splat to method accepting keywords and keyword splat
- The following code previously caused a crash:
```ruby
h = {}
1000000.times{|i| h[i.to_s.to_sym] = i}
def f(kw: 1, **... -
05:49 AM Revision 93accfdf (git): Fix [BUG] unknown node for NODE_ENCODING
- It should be `return` instead of `break`, otherwise
`[BUG] dump_node: unknown node: NODE_ENCODING` happens. -
03:29 AM Bug #19970: Eval leaks callcache and callinfo objects on arm32 (linux)
- I suspect this is the same underlying issue as #19907, but on wider platforms it only occurs with kwargs.
-
12:46 AM Feature #20257 (Closed): Rearchitect Ripper
- # Abstract
Rearchitect Ripper to provide whole semantic analysis support for Ripper and improve maintainability of...
02/11/2024
-
11:57 PM Bug #20248 (Closed): Ruby does not build with ASAN support with clang
- I updated the ASAN docs in https://github.com/ruby/ruby/commit/697ade7bda5942e372c8d6ba450dd534f0cf186f
I'm sorry ... - 11:52 PM Revision 697ade7b (git): Update ASAN docs to reflect the current state of things
- I don't really think ASAN works well at all on any version of Ruby from
before https://bugs.ruby-lang.org/issues/2000... -
11:51 PM Bug #20256 (Closed): Make required ASAN settings "built in" without the need for ASAN_OPTIONS env var
- Applied in changeset commit:git|1d467f2255112f9e712d5d9aa6f2cd0a102fb56e.
----------
Burn default ASAN options into ... -
10:25 PM Bug #20256 (Closed): Make required ASAN settings "built in" without the need for ASAN_OPTIONS env var
- Currently, to compile Ruby head with ASAN, you need to export the env var `ASAN_OPTIONS=use_sigaltstack=0:detect_leak...
- 11:51 PM Revision 1d467f22 (git): Burn default ASAN options into the built Ruby
- * We always need use_sigaltstack=0 because Ruby registers sigaltstack
handlers
* We also need to disable leak detec... -
04:55 PM Revision c9006ddb (git): [ruby/optparse] [DOC] Add description of OptionParser#define_by_keywords
- https://github.com/ruby/optparse/commit/451dea51a0
-
04:09 PM Revision a63a0c24 (git): Win32: Include stdio.h for `printf`
-
04:08 PM Revision bbccabe6 (git): [ruby/optparse] [DOC] Add missing documents
- https://github.com/ruby/optparse/commit/33956ce93f
-
02:41 PM Revision a3ceb691 (git): [PRISM] Fix error handling in `pm_parse_prism`
- Following changes made in ruby/prism#2365 this implements error handling
for when `pm_string_mapped_init` returns `fa... -
01:00 PM Revision 90fe1b44 (git): Win32: Use `TARGET_OS` for word-size
- It is derived from `_WIN64` pre-defined macro, at `-osname-` in
win32/setup.mak. -
11:55 AM Revision 603392b8 (git): Win32: Use prototype
-
11:03 AM Revision ea2ea74a (git): Win32: Copy coroutine no longer exists
- At 42130a64f02294dc8025af3a51bda518c67ab33d, it has been replaced with
pthread implementation. -
10:43 AM Revision c77f736b (git): Win32: Fix pre-defined macros for platforms
- Use `_WIN64` for word-size, `_M_AMD64` for CPU-specific feature.
-
10:34 AM Revision aa36e44c (git): Win32: Define `HAVE_INTTYPES_H`
- Suppress redefinition warnings, inttypes.h has been provided as well
as stdint.h since `_MSC_VER` 1600 (= Visual C++ ... -
05:17 AM Revision 5c4657f8 (git): [ruby/irb] Polish the exit! command and its tests
- (https://github.com/ruby/irb/pull/867)
* Remove IRB.irb_exit! method
It's not necessary to introduce a new method j... -
02:08 AM Bug #20252 (Closed): Incompatibility with the `-h` option in optparse on Ruby 3.4.0dev
02/10/2024
- 10:07 PM Revision 429eeb09 (git): [ruby/irb] Introduce exit! command
- (https://github.com/ruby/irb/pull/851)
* Added failing test for when writing history on exit
* Save history on exit... -
05:40 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
- I sent a PR here: https://github.com/ruby/ruby/pull/9918
-
05:31 PM Bug #20255 (Closed): Embedded arrays aren't moved correctly across ractors
- `ractor.send(ary, move: true)` works incorrectly because if `ary` is embedded, the new moved object doesn't populate ...
-
03:47 PM Revision f960fbc1 (git): [ruby/optparse] Search exactly when `require_exact`
- To work with options defined as `--[no]-something`.
Fix https://bugs.ruby-lang.org/issues/20252
Fix https://github.c... -
09:58 AM Revision fdd92c2d (git): Fix the variable to be checked
- It should check the result of `rb_parser_search_nonascii`.
-
08:27 AM Misc #20254: Add Launchable into Ruby CI
- In short, Launchable is willing to provide us their service for free. I feel it convenient to see the test results fo...
-
07:21 AM Misc #20254 (Closed): Add Launchable into Ruby CI
- I’m a software engineer who works at Launchable, Inc.
Some Ruby CI maintainers have granted me (Naoto Ono) the permi... -
05:24 AM Revision 6cafbd35 (git): YJIT: Remove unused variables
-
05:20 AM Bug #20248: Ruby does not build with ASAN support with clang
- > What optimizations do you mean?
I mean it shouldn't be necessary to build with `-O0`; `-O2` or `-O3` should work... -
12:23 AM Revision ea91ab69 (git): Fix constant name of `Ractor::IsolationError` message
- `dest` of `const_decl_path` is `NODE_COLON2` or `NODE_COLON3` in some cases.
For example, `B::C ||= [“Not ” + “sharea... -
12:23 AM Revision bf72cb84 (git): Include the first constant name into `Ractor::IsolationError` message
- If lhs of assignment is top-level constant reference, the first
constant name is omitted from error message.
This com...
02/09/2024
-
10:12 PM Revision e7b0a010 (git): YJIT: Add top ISEQ call counts to --yjit-stats (#9906)
-
10:01 PM Revision f7467e70 (git): Split line_no and node_id before new_insn_body
- Before this commit, there were many places where we had to generate
dummy line nodes to hold both the line number and... -
09:43 PM Misc #20242: `--parser=prism_without_warning`
- I think you misunderstood what I'm asking for. Right now CRuby warns with:
```
The compiler based on the Prism pa... -
09:30 PM Revision e96c838c (git): [PRISM] Fix flaky memory in scope nodes
-
08:43 PM Bug #20251: Wrong ArgumentError raised for hash as last parameter before keyword aguments
- phillipp (Phillipp Röll) wrote in #note-3:
> I know and unserstand that, but still, is the raised exception not wron... -
08:29 PM Bug #20251: Wrong ArgumentError raised for hash as last parameter before keyword aguments
- I know and unserstand that, but still, is the raised exception not wrong? Should that not be `ArgumentError: unknown ...
-
02:15 PM Bug #20251 (Feedback): Wrong ArgumentError raised for hash as last parameter before keyword aguments
- You need `{`/`}` to make the argument a `Hash` instead of a keyword argument.
```ruby
post("/persons", {name: "Jo... -
01:29 PM Bug #20251 (Feedback): Wrong ArgumentError raised for hash as last parameter before keyword aguments
- Suppose we have the following method as part of an API client:
```
def post(path, params, timeout: 30)
end
```
... -
07:49 PM Revision 86882565 (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/2c53e017c1
Co-authored-by: Kevin Newton <[email protected]> -
07:49 PM Revision f635b4dd (git): [ruby/prism] RipperCompat: add array-refs, assigns, symbols, strings
- https://github.com/ruby/prism/commit/b771c7f2ec
-
07:34 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- byroot wrote:
> I don't remember ever been asked to provide the full report.
Probably because e. g. a full stacktra... -
12:04 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- > I think that bug reports from the general public won't be the full version. Is that okay?
In my opinion it is. M... -
11:40 AM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- Thank you for your comment!
byroot (Jean Boussier) wrote in #note-2:
> So I'm supportive to such change. What we... -
11:21 AM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- I agree that the crash reports are very long and some very long part aren't really that useful. 99% of the time only ...
-
06:58 AM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- I've created a PoC in https://github.com/ruby/ruby/pull/9900.
-
06:37 AM Feature #20249 (Open): Introduce a backtrace-only mode for rb_bug()
- ## Background
When a segfault or some unexpected situation occurs, `rb_bug()` is called and prints some few hundre... -
05:54 PM Bug #20248: Ruby does not build with ASAN support with clang
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-1:
> Yeah I know asan is broken. I’m currently working on fixing it.... -
02:22 PM Bug #20248: Ruby does not build with ASAN support with clang
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-1:
> Yeah I know asan is broken. I’m currently working on fixing it.... -
01:02 AM Bug #20248: Ruby does not build with ASAN support with clang
- Yeah I know asan is broken. I’m currently working on fixing it.
If you build the latest master branch and with opt... -
05:12 PM Revision 717adb56 (git): YJIT: Fallback megamorphic opt_case_dispatch (#9894)
-
05:08 PM Revision 80490acf (git): More on IO doc (#9842)
-
04:59 PM Bug #20253: `Proc.dup` and `Proc#clone` don't preserve finalizers
- While looking at this, it appears that instance variables are also not copied over in `Proc#dup`, but somehow are in ...
-
04:47 PM Bug #20253 (Closed): `Proc.dup` and `Proc#clone` don't preserve finalizers
- While reviewing the fix for [Bug #20250] @peterzhu2118 pointed that `FL_FINALIZE` should probably also be cleared.
... -
04:39 PM Bug #20250 (Closed): Crash with "Object ID seen, but not in mapping table: proc" error
- Applied in changeset commit:git|d19d683a354530a27b4cbb049223f8dc70c75849.
----------
rb_obj_setup: do not copy RUBY_... -
01:31 PM Bug #20250: Crash with "Object ID seen, but not in mapping table: proc" error
- Patch: https://github.com/ruby/ruby/pull/9903
Also this bug affect all Ruby versions since the new `object_id` imp... -
12:42 PM Bug #20250: Crash with "Object ID seen, but not in mapping table: proc" error
- Alright, it's a bug in `#clone`, I managed to reduce it to:
```ruby
proc = Proc.new { }
proc.object_id
proc.clo... -
12:30 PM Bug #20250: Crash with "Object ID seen, but not in mapping table: proc" error
- I had a quick look and this is very interesting. As far as I can tell `cached_object_id` for this Proc, so the most l...
-
10:11 AM Bug #20250 (Closed): Crash with "Object ID seen, but not in mapping table: proc" error
Hello, I experienced a crash which I was able to reliably reproduce with the following:
``` ruby
require 'b...-
04:38 PM Revision d19d683a (git): rb_obj_setup: do not copy RUBY_FL_SEEN_OBJ_ID
- [Bug #20250]
We're seting up a new instance, so it never had an associated
object_id. -
04:36 PM Bug #20252 (Closed): Incompatibility with the `-h` option in optparse on Ruby 3.4.0dev
- An incompatibility has arisen when using optparse with Ruby 3.4.0dev. Below are the steps to reproduce:
```ruby
#... -
04:27 PM Revision cf1cd215 (git): [ruby/prism] Significantly faster offset cache for parser
- https://github.com/ruby/prism/commit/8cd92eef79
-
04:26 PM Revision 5c2d96df (git): [PRISM] Implement opt_case_dispatch
-
04:26 PM Revision a4ba62b6 (git): [PRISM] Refactor case nodes for only one pass through when
-
03:16 PM Misc #20222 (Closed): Dedup-ing clarification
- Thank you! This helps explain it.
-
11:25 AM Misc #20222: Dedup-ing clarification
- For the full context see [Feature #8992].
It's true that it's a bit questionable that it's treated as an optimizat... -
12:28 PM Revision 08b77dd6 (git): Remove unused bind argument from eval_make_iseq
-
10:58 AM Revision db73226b (git): [ruby/optparse] Adjust arguments for lambda-callbacks
- Rake uses [lambda] as callbacks.
Calling it without omitted argument raises an `ArgumentError`.
lambda: https://gith... -
10:58 AM Revision 2c6767b7 (git): [ruby/optparse] Respect default values in block parameters
- Fix https://github.com/ruby/optparse/pull/55
https://github.com/ruby/optparse/commit/9d53e74aa4 -
09:59 AM Misc #20238: Use prism for mk_builtin_loader.rb
- That means that `ruby` package on FreeBSD 13 can also not use any bundled gem, e.g. bigdecimal when 3.4 comes out. So...
-
06:30 AM Misc #20238: Use prism for mk_builtin_loader.rb
- Ex. System ruby didn't contain `Bundler` in `ruby` package of FreeBSD 13. `rubygem-bundler` is separated package from...
-
08:52 AM Revision 5e12b757 (git): Remove unavailable filters for merge_group event
- actionlint says:
- "branches" filter is not available for merge_group event. it is only for push, pull_request, pull_... -
05:40 AM Revision 007c75ce (git): Skip to install bundled gems that is C extension and build failed.
- Ex. We can't build syslog gem in Windows platform. We should skip install
syslog as bundled gems. -
05:20 AM Revision 33c1e082 (git): Remove ruby object from string nodes
- String nodes holds ruby string object on `VALUE nd_lit`.
This commit changes it to `struct rb_parser_string *string`
... -
03:31 AM Revision f7a407ca (git): [ruby/optparse] Fix `require_exact` to work with options defined as `--[no]-something`
- https://github.com/ruby/optparse/commit/4e346ad337
-
03:21 AM Revision 50bcaa62 (git): [ruby/optparse] Escape backslashes
- https://github.com/ruby/optparse/commit/b14c2c644d
-
02:09 AM Revision 0923a988 (git): Move clean-up after table rebuilding
- Suppress a false positive alert by CodeQL.
-
01:08 AM Revision 76f0eec2 (git): Fix a benchmark to avoid leaving a garbage file
-
01:07 AM Revision 2a57e6e6 (git): [ruby/rdoc] Don't document aliases with trailing `:nodoc` directive
- Attribute readers and writers can be marked as `:nodoc` to keep them
undocumented:
```ruby
attr_reader :name # :nodo... -
12:53 AM Revision 5d32e328 (git): YJIT: Refactor recv_known_class to Option (#9895)
-
12:41 AM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- Replying to kjtsanaktsidis, I tried building our docker image using ruby-install as suggested here:
https://github... -
12:30 AM Bug #20246: Unexpected behavior for Regexp in Subexpression Calls on Ruby 3.3.0
- This is a bug in regex optimization.
Some optimizations have been disabled for memoization since 3.3.0. Therefore, a...
02/08/2024
-
11:52 PM Revision e2aa00ca (git): YJIT: Remove unnecessary casts for chain_depth (#9893)
-
11:47 PM Revision 5cbca911 (git): YJIT: Allow tracing a counted exit (#9890)
- * YJIT: Allow tracing a counted exit
* Avoid clobbering caller-saved registers -
11:03 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- https://github.com/ruby/ruby/pull/9371 is already backported into `ruby_3_3`.
https://github.com/ruby/ruby/commit/... -
08:39 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- To everyone saying they’re blocked by this bug: how are you installing your Ruby? The workaround in https://bugs.ruby...
-
04:18 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- I can't deploy apps with Kamal (e.g. Docker) because of this crash
-
11:01 PM Bug #20248 (Closed): Ruby does not build with ASAN support with clang
- The [instructions](https://github.com/ruby/ruby/blob/master/doc/contributing/building_ruby.md) for building Ruby with...
-
10:27 PM Bug #20247: net/http/header limits are too low
- The upstream repo didn't have info for bug reports in the README, so I looked at the main ruby/ruby instructions inst...
-
09:58 PM Bug #20247: net/http/header limits are too low
- This should be reported upstream: https://github.com/ruby/net-http and can be found at https://github.com/ruby/net-ht...
-
09:33 PM Bug #20247 (Closed): net/http/header limits are too low
- Hello, some of my HTTP tests are failing on Ruby 3.3 due to ArgumentError too long. I am trying to update from Ruby 2...
-
07:36 PM Revision 4a40364c (git): [PRISM] Run opt init before parsing
-
07:36 PM Revision 3ecfc3e3 (git): [PRISM] Support the DATA constant
-
06:18 PM Misc #20238: Use prism for mk_builtin_loader.rb
- > It seems not working if BASERUBY is system ruby on Linux distribution because these environment is separated ruby, ...
-
05:03 PM Revision 19362784 (git): YJIT: Maintain MapToLocal that is just upgraded (#9876)
-
04:53 PM Revision 3e03981f (git): [PRISM] Compile constant paths with optimizations
-
04:53 PM Revision 54295ba5 (git): [PRISM] Compile constant reads using opt_getconstant_path
-
04:53 PM Revision b2d468fc (git): [PRISM] Refactor call opts to only check for specific ids
-
04:03 PM Revision 33974498 (git): YJIT: Report invalidation counts in non-stats mode (#9878)
- The `invalidation_count` and `invalidate_*` counters are all incremented
using `incr_counter!` without a guard on sta... -
04:03 PM Revision 50b4ef29 (git): YJIT: Use jit_prepare_call_with_gc as much as possible (#9874)
- * YJIT: Use jit_prepare_call_with_gc as much as possible
* Stop assuming vm_defined doesn't make a call -
04:02 PM Revision 19839498 (git): [ruby/prism] Looks like Symbol#name wasn't a thing in 2.7, so need to switch back to to_s
- https://github.com/ruby/prism/commit/0b90c9a398
-
04:02 PM Revision 0c735530 (git): [ruby/prism] Add Kevin's visit_all change and change the parent class to Compiler.
- https://github.com/ruby/prism/commit/bbdba3f42d
Co-Authored-By: Kevin Newton <[email protected]> -
04:02 PM Revision f8b8a678 (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/03addf2d3d
Co-authored-by: Kevin Newton <[email protected]> -
04:02 PM Revision 3f0aa554 (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/5eac08f699
Co-authored-by: Kevin Newton <[email protected]> -
04:02 PM Revision c1aba5d9 (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/8271ce5ec9
Co-authored-by: Kevin Newton <[email protected]> -
04:02 PM Revision 70bc4ce3 (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/6e2bf9c8cd
Co-authored-by: Kevin Newton <[email protected]> -
04:02 PM Revision 6aceb91d (git): [ruby/prism] Update lib/prism/ripper_compat.rb
- https://github.com/ruby/prism/commit/bce0a5c916
Co-authored-by: Kevin Newton <[email protected]> -
04:02 PM Revision 366af467 (git): [ruby/prism] RipperCompat: support for more features.
- * add bin/prism ripper to compare Ripper output
* block arg handling is quirky, do it per-call-site
* block required ... -
03:49 PM Revision c6b39121 (git): [DOC] Improve flags of string
-
03:22 PM Revision b74c8abd (git): YJIT: Skip pushing a frame for Hash#empty? (#9875)
-
03:13 PM Bug #20245 (Closed): Crash when checking symbol encoding
- Applied in changeset commit:git|01fd262e62076277a41af72ea13f20deb1b462a2.
----------
Fix crash when checking symbol ... -
03:12 PM Revision 01fd262e (git): Fix crash when checking symbol encoding
- [Bug #20245]
We sometimes pass in a fake string to sym_check_asciionly. This can crash
if sym_check_asciionly raises... - 02:17 PM Revision 6756dbf3 (git): Update bundled gems list at 443c5c06ac2be84059a7c4435c37de [ci skip]
-
02:17 PM Revision 443c5c06 (git): Bundle rbs-3.4.4 (#9883)
-
09:19 AM Bug #20246 (Closed): Unexpected behavior for Regexp in Subexpression Calls on Ruby 3.3.0
- Hello! A few days ago, after migration on 3.3.0 I have faced with issue inside subexpression calls.
An expected re... -
09:08 AM Revision 34581410 (git): Extract `RBIMPL_VA_OPT_ARGS`
- Similar to splat argument in Ruby, which be expanded to `__VA_ARGS__`
with a leading comma if any arguments given, ot... -
09:08 AM Revision f3cc1f9a (git): Show actual imemo type when unexpected type
-
09:08 AM Revision d31a12a2 (git): Optional detail info at assertion failure
- 08:28 AM Revision 0292d1b7 (git): Update bundled gems list as of 2024-02-07
-
08:19 AM Bug #20184: Ruby segfaults on Fly.io with 256 MB RAM
- Backport PR for 3.3: https://github.com/ruby/ruby/pull/9805
-
08:15 AM Revision 482b82ae (git): Bump typeprof to 0.21.10
-
06:29 AM Revision 908cedf7 (git): Removed accidentally commit for lockfile
-
06:27 AM Revision 70bb9cf0 (git): [rubygems/rubygems] rake vendor:install
- https://github.com/rubygems/rubygems/commit/c38a96ceae
-
06:27 AM Revision 75c5e1a1 (git): [rubygems/rubygems] Removed unnecessary disabling of Style/RedundantParentheses
- https://github.com/rubygems/rubygems/commit/2361527c45
- 06:07 AM Revision 43af2060 (git): Update default gems list at a35cade79125d2ae99cea01914939d [ci skip]
-
05:43 AM Revision a35cade7 (git): [rubygems/rubygems] Improve assertion
- https://github.com/rubygems/rubygems/commit/7f2f2b898c
Co-authored-by: Martin Emde <[email protected]> -
05:43 AM Revision c2362126 (git): [rubygems/rubygems] Use deprecation helper for deprecation warning
- https://github.com/rubygems/rubygems/commit/d1963bf1a6
-
05:43 AM Revision 0c71fb4b (git): [rubygems/rubygems] Run definition specs in an isolated location
- And consistently pass Pathname's to `Definition.new` like production
code does.
https://github.com/rubygems/rubygems... -
05:43 AM Revision 5500f880 (git): [rubygems/rubygems] Fix incorrect 4th parameter to Definition.new
- https://github.com/rubygems/rubygems/commit/54948e428d
-
05:43 AM Revision e0412077 (git): [rubygems/rubygems] Move `subject` to top level context
- https://github.com/rubygems/rubygems/commit/331c415af0
-
05:43 AM Revision 24d5e717 (git): [rubygems/rubygems] Refactor lockfile generation
- https://github.com/rubygems/rubygems/commit/6a0c03c77f
-
05:43 AM Revision debc5aae (git): [rubygems/rubygems] Remove unused parameter
- https://github.com/rubygems/rubygems/commit/085eda7147
- 05:43 AM Revision ce2618c6 (git): [ruby/strscan] Bump version
- https://github.com/ruby/strscan/commit/ba338b882c
-
05:43 AM Revision 39f2e37f (git): [ruby/strscan] Don't add begin to length for new string slice
- (https://github.com/ruby/strscan/pull/87)
Fixes https://github.com/ruby/strscan/pull/86
https://github.com/ruby/str... - 05:43 AM Revision 5afae77c (git): [ruby/strscan] Bump version
- https://github.com/ruby/strscan/commit/842845af1f
- 05:43 AM Revision e1834cdf (git): [ruby/fiddle] Set changelog_uri gem metadata
- (https://github.com/ruby/fiddle/pull/138)
See https://guides.rubygems.org/specification-reference/#metadata for chan... -
03:06 AM Revision ce6054a6 (git): Move an embedded directive outside macro arguments
- Suppress warnings/errors by -Wembedded-directive with `-std=c99` on
macOS. -
02:28 AM Revision 9f1afefa (git): Now we can use ruby analysis with large runner
-
01:17 AM Misc #20222: Dedup-ing clarification
- Seems like a valid optimization to me and is similar to identity of small integers versus heap allocated bignums.
-
12:36 AM Revision 04d42650 (git): Remove obsoleted rb_vm_opt_cfunc_p
- That was added for MJIT's inlining decisions, but we no longer have MJIT.
Also available in: Atom