Activity
From 04/26/2024 to 05/02/2024
Today
- 04:28 PM Revision 008f2b9b (git): [ruby/reline] Bump version to 0.5.5
- (https://github.com/ruby/reline/pull/696)
https://github.com/ruby/reline/commit/8bf71d0b81 - 04:21 PM Revision 032070d7 (git): [ruby/irb] Add workaround for ruby/debug/test/console/irb_test
- failing with StdioInputMethod
(https://github.com/ruby/irb/pull/943)
https://github.com/ruby/irb/commit/acf3c1816e - 03:27 PM Revision 7c0cf710 (git): [ruby/prism] Node#script_lines and supporting infra
- https://github.com/ruby/prism/commit/cb4a8ab772
- 03:27 PM Revision 398453c3 (git): [PRISM] Fix param names for repeated splats
- 02:41 PM Revision c78cebb4 (git): [ruby/reline] Fix default and additional key bindings vanish bug
- (https://github.com/ruby/reline/pull/697)
https://github.com/ruby/reline/commit/fc9b4d2274 - 02:34 PM Revision 2eefbef2 (git): [PRISM] Enable test_ast.rb
- 02:29 PM Revision 41977ef5 (git): [PRISM] Enable Socket.gethostbyaddr spec
- 02:12 PM Revision e7d20623 (git): Add comments in setproctitle.c
- 02:12 PM Revision 4f69d318 (git): Keep track of the originally allocated environ
- We need to keep a pointer to the originally allocated environ because
adding more environment variables can cause it ... - 01:11 PM Revision 12cbfd8e (git): Declare as NORETURN
- 12:20 PM Bug #20463 (Closed): Ruby fails to generate warning for require syslog
- It's known issue. see https://bugs.ruby-lang.org/issues/20450#note-9
- 12:17 PM Bug #20463 (Closed): Ruby fails to generate warning for require syslog
- ```
docker run -it ruby:3.3.1 bash
touch Gemfile
bundle
bundle exec ruby -e "require '/usr/local/lib/ruby/3.3.0/x... - 09:36 AM Revision a3726c02 (git): Fixed missing support for https://github.com/ruby/ruby/commit/d75bbba255e086d625429d5a1311cc4b4396c296.
- 07:29 AM Bug #19974 (Closed): OpenSSL::PKCS7 generates SegFault when parsing invalid data
- Applied in changeset commit:git|c9aa63a9e06c21566c6fadda5945f04f341e4891.
----------
[ruby/openssl] pkcs7: raise Arg... - 07:26 AM Revision 55720f37 (git): [ruby/openssl] pkcs7: raise PKCS7Error for PKCS7 without content in PKCS7.read_smime
- [pkuzco: expanded the fix for other content types]
[ky: adjusted formatting and the exception type]
https://github.c... - 07:26 AM Revision c9aa63a9 (git): [ruby/openssl] pkcs7: raise ArgumentError for PKCS7 with no content in PKCS7.new
- Fixes [Bug #19974]
[pkuzco: expanded the fix for other content types]
[ky: adjusted formatting and the exception typ... - 07:26 AM Revision eb6f0000 (git): [ruby/openssl] cipher: fix buffer overflow in Cipher#update
- OpenSSL::Cipher#update currently allocates the output buffer with size
(input data length)+(the block size of the cip... - 07:24 AM Revision d39993a4 (git): [ruby/openssl] Fix performance regression in do_write(s)
- This causes significant performance issues when using large (>10meg) writes
Fix by adjusting the buffer write functi... - 07:17 AM Revision f5af620c (git): [ruby/openssl] asn1: check error return from i2d_ASN1_TYPE()
- i2d_ASN1_TYPE() is not expected to fail, but the return value should be
checked.
https://github.com/ruby/openssl/com... - 06:06 AM Revision eb82ea62 (git): [ruby/reline] Fix prompt width calculation bug. Test with colored
- prompt
(https://github.com/ruby/reline/pull/695)
https://github.com/ruby/reline/commit/24aab01cbc - 06:04 AM Revision ed5a7a59 (git): Use callee side tag specification of parameterizing rules
- 05:50 AM Revision fdf88a2c (git): [ruby/reline] Avoid reading .inputrc repeatedly
- (https://github.com/ruby/reline/pull/694)
https://github.com/ruby/reline/commit/c8d4802a0f - 04:32 AM Revision fcd89bf6 (git): Lrama v0.6.9
- 01:14 AM Revision d22dfce1 (git): Fix memory leak of `rb_ast_t` in parser
- Do not allocate `rb_ast_t` in `ast_alloc` to avoid memory leak.
For example:
10.times do
100_000.times do... - 01:14 AM Revision 5108bed5 (git): Revert "Fix memory leak of rb_ast_t in parser"
- This reverts commit e3bfd25bd2202a172d7709e9a2f7b65b523a132d.
> "Allocate then wrap" is bad, because the "wrapping" ...
05/01/2024
- 11:19 PM Revision f109a83d (git): [PRISM] Fix up error message expectations
- 11:19 PM Revision de6e05da (git): [PRISM] Consolidate handling heredoc terminators
- 11:19 PM Revision ac0f6716 (git): [PRISM] Respect frozen_string_literal option in RubyVM::InstructionSequence.compile
- 11:19 PM Revision 8ea6daa8 (git): [PRISM] Enable passing tests in test_syntax.rb
- 11:19 PM Revision b64fd2f5 (git): [PRISM] Closer error messages on invalid unicode escapes in character literals
- 11:19 PM Revision 1be5ede7 (git): [PRISM] Error message for unterminated heredoc identifier
- 11:19 PM Revision 62f8fb7f (git): [PRISM] Fix unterminated regular expression error message
- 11:19 PM Revision 5d1e4cd2 (git): [PRISM] Better error messages for unwriteable targets
- 11:19 PM Revision 4e8ae5d3 (git): [PRISM] Match unterminated error messages
- 11:03 PM Revision 8e1647c3 (git): [ruby/prism] Support passing version 3.3.1
- https://github.com/ruby/prism/commit/445a0f0d22
- 10:54 PM Bug #20462: Native threads are no longer reused
- In a benchmark of thread creation we see that 3.3 is slower than 3.2
```
jhawthorn@zergling:~ [ruby 3.2.2]
$ t... - 10:45 PM Bug #20462 (Open): Native threads are no longer reused
- Ruby used to reuse native threads in order to amortize the cost of making a pthread.
For example this program:
... - 10:04 PM Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build
- I tested both PR with ol8/ol9 using the attached dockerfile and they both work OK
I'll close my PR in favor of you... - 05:12 PM Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build
- It seems a4ad6bd9aac564e93219284c912b26a72f9e82fc is missing.
https://github.com/ruby/ruby/pull/10696 - 04:01 PM Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build
- I went ahead and created https://github.com/ruby/ruby/pull/10695 to revert the faulty backport
@unak who you mind ... - 08:57 PM Revision 5cd0abdf (git): [PRISM] Simplify prism error highlighting
- 07:51 PM Revision fc8fb581 (git): [ruby/prism] CRuby error message for trailing underscore in number
- https://github.com/ruby/prism/commit/4e34f236d3
- 07:36 PM Revision d5d2c6ea (git): [PRISM] Enable passing Symbol specs
- 07:02 PM Revision efefe42d (git): [ruby/prism] Add more errors for dynamic constant writes in methods
- https://github.com/ruby/prism/commit/486e4c0367
- 06:49 PM Revision febad5cb (git): Skip Warning.[] spec if mspec is passing warning options
- 04:43 PM Revision 41f8ae1f (git): [ruby/prism] Mark errors for invalid symbols
- https://github.com/ruby/prism/commit/661884c4a3
- 04:34 PM Revision 0fa09c57 (git): [PRISM] Correct encoding for interpolated string literals in regexp
- 04:34 PM Revision cfe7019e (git): [ruby/prism] Match CRuby interpolation semantics
- If a single string that is a static literal is interpolated, it
does not impact whether or not the parent is a static... - 04:34 PM Revision b6fa18fb (git): [PRISM] Properly precheck regexp for encoding issues
- 04:34 PM Revision 1b865096 (git): [PRISM] Support interpolated regexp with encoding modifiers
- 03:20 PM Revision c8bec792 (git): Update default gems list at fef6f5f2e1b89e8726c20c734f84bd [ci skip]
- 03:20 PM Revision fef6f5f2 (git): [ruby/irb] Bump version to v1.13.0
- (https://github.com/ruby/irb/pull/941)
* Bump version to v1.13.0
* Add Documentation category to changelog
https:/... - 03:09 PM Revision 7ef8bb12 (git): Fix memory leak in Ripper.sexp
- rb_ast_dispose does not free the rb_ast_t causing it to be leaked. This
commit changes it to use rb_ast_free instead.... - 03:03 PM Revision e9e41ad6 (git): Fix ruby_mimcalloc size when CALC_EXACT_MALLOC_SIZE
- Should be `sizeof(struct malloc_obj_info) + (num * element)`, not
`num * (sizeof(struct malloc_obj_info) + element)`. - 02:52 PM Revision 77f5301c (git): [ruby/irb] Let IRB::Color.colorable? always return true|false
- (https://github.com/ruby/irb/pull/940)
https://github.com/ruby/irb/commit/0bbe435ffe - 02:23 PM Revision 1000c27d (git): [ruby/irb] Support `IRB.conf[:BACKTRACE_FILTER]`
- (https://github.com/ruby/irb/pull/917)
* Use 'irbtest-' instead if 'irb-' as prefix of test files.
Otherwise IRB wo... - 02:22 PM Revision 2a978ee0 (git): YJIT: Fix `Struct` accessors not firing tracing events (#10690)
- * YJIT: Fix `Struct` accessors not firing tracing events
Reading and writing to structs should fire `c_call` and `c_... - 01:39 PM Feature #20448: Make coverage event hooking C API public
- Sorry for the delay, I've been considering different APIs and reevaluating Ruzzy's coverage collection. I think I've ...
- 01:01 PM Revision f4c6479e (git): Fix xfree
- Pointers allocated with `ruby_xmalloc` (`ALLOC` macro) must be freed
with `ruby_xfree`. - 12:54 PM Revision d1f14baf (git): Fix leak reported by Valgrind when setting environment variables
- The call to setenv replaces the string in the environ array, which causes
the original string to be reported as a mem... - 08:46 AM Revision 57eca0a8 (git): Test for memory leak
- 06:53 AM Revision acc76c8c (git): Use user defined parameterizing rules `f_opt(value)`
- 05:50 AM Revision c2832981 (git): Use user defined parameterizing rules `f_kwarg(kw)`
- 04:53 AM Revision 9f7e0d2b (git): Use user defined parameterizing rules `opt_args_tail(tail)`
04/30/2024
- 11:31 PM Revision 0c135966 (git): [ruby/delegate] test: remove needless mu_pp
- It's for minitest. We don't need it with test-unit.
https://github.com/ruby/delegate/commit/447cd43973 - 09:51 PM Bug #20457: Final `return` is eliminated from the AST
- Eregon (Benoit Daloze) wrote in #note-2:
> I want to add for context that naturally Prism already provides this info... - 05:57 PM Revision ade22339 (git): YJIT: print msg to stderr when RubyVM::YJIT.disasm not available (#10688)
- * YJIT: print msg to stderr when RubyVM::YJIT.disasm not available
Print a more useful error message when people try... - 05:11 PM Misc #20441 (Closed): Should passing keyword args to method_name(*) be an error?
- 05:09 PM Bug #20454 (Third Party's Issue): IRB echoes excessive input in dumb terminal
- IRB has its own release cycles and bug tracker at https://github.com/ruby/irb/issues
Sorry for the redirection, but ... - 05:04 PM Revision bd419a65 (git): Removed unused TICK_TYPE 2
- TICK_TYPE of 2 can never be used because we hard code TICK_TYPE to 1.
- 04:51 PM Revision 614187f8 (git): [ruby/reline] Fix completion dialog position when completed part is
- wordwrapped
(https://github.com/ruby/reline/pull/692)
https://github.com/ruby/reline/commit/2d9acd16fe - 03:34 PM Revision d7ba0fec (git): [rubygems/rubygems] Update lib/rubygems/package.rb
- https://github.com/rubygems/rubygems/commit/c4e75b9f74
- 03:34 PM Revision d950609e (git): [rubygems/rubygems] Add a limit to the size of the metadata and checksums files in a gem package.
- This is to prevent a malicious gem from causing a denial of service by
including a very large metadata or checksums f... - 03:23 PM Revision e0949c3f (git): [ruby/openssl] Remove trailing space in test_ssl.rb
- https://github.com/ruby/openssl/commit/911a31335f
- 03:05 PM Revision 9d75d9f0 (git): [ruby/openssl] Update Cipher#name to match Digest#name explanation
- https://github.com/ruby/openssl/commit/79e6dead6e
- 03:05 PM Revision cc6657e5 (git): [ruby/openssl] Add OpenSSL::Digest.digests to get a list of available digests
- https://github.com/ruby/openssl/commit/08dd3c73b7
- 02:57 PM Revision 1ca4c52b (git): Free unused_block_warning_table when RUBY_FREE_AT_EXIT
- 02:51 PM Revision 368ce075 (git): [ruby/openssl] Further clarification of documentation.
- https://github.com/ruby/openssl/commit/0697f2f8b4
- 02:51 PM Revision f1afae24 (git): [ruby/openssl] More documentation.
- https://github.com/ruby/openssl/commit/c8377eaf8d
- 02:51 PM Revision 1699772a (git): [ruby/openssl] Introduce basic support for `close_read` and `close_write`.
- https://github.com/ruby/openssl/commit/c99d24cee9
- 10:29 AM Revision 8fb430c1 (git): [ruby/irb] Restore MAIN_CONTEXT correctly
- (https://github.com/ruby/irb/pull/937)
https://github.com/ruby/irb/commit/c41f460a70 - 07:45 AM Bug #20426 (Closed): crash on aarch64 linux when using fibers (regression with 3.3)
- 06:40 AM Bug #20461: Unreadable pipe included in the readable IO of IO.select
- Using git bisect, I found that the following commit is the cause of the bug:
https://github.com/ruby/ruby/commit/49a... - 05:02 AM Revision 1c991f3b (git): [ruby/openssl] test_asn1.rb: Remove the assertions of the time string format without second.
- This commit fixes the following errors in the tests.
Because the OpenSSL project changed the code to make the time st... - 05:02 AM Revision 85863f4d (git): [ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3
- OpenSSL 3.3.0 9 Apr 2024 is also broken.
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
https://github.com/ruby/net-... - 02:52 AM Revision 431711a8 (git): Bump ruby/setup-ruby from 1.175.0 to 1.175.1
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.175.0 to 1.175.1.
- [Release notes](https://github... - 01:34 AM Revision 7a8882bc (git): [DOC] Fix typo: Replace `documentatation` with `documentation`
- 12:00 AM Revision 528c4501 (git): Use `rb_parser_string_t *` as `ruby_sourcefile_string`
- This reduces dependency on VALUE.
04/29/2024
- 08:54 PM Revision 0aefd2f7 (git): YJIT: Pass options to ruby/spec with `-T` (#10599)
- We recently found out that `make test-spec` wasn't testing with
`--yjit-call-threshold=1` like the other test suites,... - 08:36 PM Revision 470eceff (git): YJIT: Remove CString allocation when using `src_loc!()`
- Since we often take the VM lock as the first thing we do when entering
YJIT, and that needs a `src_loc!()`, this remo... - 08:08 PM Revision de0ad3be (git): YJIT: Take VM lock when invalidating
- We need the lock to patch code safely.
This might fix some Ractor related crashes seen on CI. - 07:25 PM Revision adae813c (git): YJIT: Expand codegen for `TrueClass#===` to `FalseClass` and `NilClass` (#10679)
- 06:32 PM Revision 845f2db1 (git): YJIT: Add specialized codegen function for `TrueClass#===` (#10640)
- * YJIT: Add specialized codegen function for `TrueClass#===`
TrueClass#=== is currently number 10 in the most freque... - 06:04 PM Revision e3bfd25b (git): Fix memory leak of rb_ast_t in parser
- ast_alloc uses TypedData_Make_Struct, which allocates a rb_ast_t. But it
is overwritten when we set the DATA_PTR so t... - 06:04 PM Revision 95d036aa (git): Fix memory leak in ruby_parser
- For example:
10.times do
100_000.times do
eval("")
end
puts `ps -o rss= -p #{$$}`
... - 05:29 PM Feature #15438 (Closed): Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- I think this is something we should improve more (I would like even faster switching times), but it does seem possibl...
- 05:28 PM Revision d75bbba2 (git): [PRISM] Remove false positive compile warnings for branch coverage
- 01:36 PM Revision 90db9c87 (git): Update default gems list at dbb1ba88ebb5a08ea5a856c8086aa2 [ci skip]
- 01:35 PM Revision dbb1ba88 (git): [ruby/reline] Bump version to 0.5.4
- (https://github.com/ruby/reline/pull/691)
https://github.com/ruby/reline/commit/3f27286a5e - 01:23 PM Revision 814d4b5e (git): [ruby/reline] Input with eof and no newline bugfix
- (https://github.com/ruby/reline/pull/671)
https://github.com/ruby/reline/commit/0d66c335a1 - 12:48 PM Bug #20451: Bad Ruby 3.1.5 backport causes fiddle to fail to build
- Additional information:
From fiddle extconf:
``` ruby
case
when $mswin, $mingw, (libffi_version && (libffi_ve... - 12:26 PM Revision 4c41203b (git): Remove needless header file include
- 12:08 PM Revision ae701031 (git): [ruby/reline] Completely support full-width characters in
- differential rendering
(https://github.com/ruby/reline/pull/654)
* Add a cut variation of Reline::Unicode.take_range... - 12:05 PM Revision 018c5717 (git): [ruby/reline] Handle mode condition in inputrc
- (https://github.com/ruby/reline/pull/687)
https://github.com/ruby/reline/commit/bed5fb3d77 - 10:29 AM Revision 435f449b (git): [rubygems/rubygems] Make sure to force latest resolvable version explicitly
- To make sure we can always update to the latest resolvable version for
each gem explicitly requested for update, we f... - 10:29 AM Revision 491195af (git): [rubygems/rubygems] Keep track of gems requested for update explicitly
- https://github.com/rubygems/rubygems/commit/ea43e4c6d7
- 10:29 AM Revision 83933f92 (git): [rubygems/rubygems] No need to reset version promoter here
- Since resolution options don't change.
https://github.com/rubygems/rubygems/commit/5c5aa38c06 - 09:04 AM Revision 53571de8 (git): [rubygems/rubygems] Fix circular require warning
- https://github.com/rubygems/rubygems/commit/241d0aafcd
- 08:57 AM Revision d6cb62a8 (git): [rubygems/rubygems] Show better error when installed gemspecs are unreadable
- https://github.com/rubygems/rubygems/commit/924f87c8a9
- 08:56 AM Revision 68a1867f (git): [rubygems/rubygems] Fix issue with `bundle update` with an out of sync lockfile
- An old platform related bug fix made some existing lockfiles no longer
work because they included invalid platforms. ... - 08:42 AM Revision 6203307f (git): [rubygems/rubygems] Address PR feedback
- https://github.com/rubygems/rubygems/commit/62be097a32
- 08:42 AM Revision 2a683f3f (git): [rubygems/rubygems] Clarify `bundle check` behaviour in docs
- https://github.com/rubygems/rubygems/commit/c438c6db2e
- 06:09 AM Revision 5ed20644 (git): Lrama v0.6.8
- 01:09 AM Revision b7bd55cd (git): suppress -Wold-style-cast warnings
- 01:03 AM Revision 17a0e2ac (git): workaround C++ compile error
- We observe compiler error on FreeBSD. Their stdckdint.h does not
understand C++. This shall be addressed on their s...
04/28/2024
- 11:38 PM Revision a6308ca9 (git): ripper: Move DSL line pattern
- 11:38 PM Revision f9cf923a (git): Use user defined parameterizing rules
- 06:59 PM Bug #20094: Inline while loop behavior changed unexpectedly in 3.3.0
- It seems like the bug is still present in Ruby 3.3.1:
```ruby
(p 1) while false # 1
``` - 04:11 PM Feature #18583: Pattern-matching: API for custom unpacking strategies?
- Could the match operator, `=~`, could be used as a general complement to `===`?
Example (following original sketch f... - 08:58 AM Revision 29aaf4ab (git): Remove `ast_new` field from `struct rb_parser_config_struct`
- `ast_new` can be embedded into `rb_ast_new`.
- 04:38 AM Revision 5c3d5c7c (git): Lrama v0.6.7
- 03:08 AM Revision ddd8da4b (git): [Universal parser] Improve AST structure
- This patch moves `ast->node_buffer->config` to `ast->config` aiming to improve readability and maintainability of the...
- 12:01 AM Revision 8ad0b2cd (git): Use `' '+` instead of words_sep
- 12:01 AM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
- nithinbekal (Nithin Bekal) wrote in #note-18:
> > What name candidate do you have?
>
> What do you think about th...
04/27/2024
- 11:21 PM Bug #20461 (Open): Unreadable pipe included in the readable IO of IO.select
- When executing the following script, pipe_r is not supposed to be readable because no writing is done to pipe_w, but ...
- 07:36 PM Feature #20460 (Open): Ripper `eval` option
- There are a couple of differences when producing syntax trees from the parser/ripper when compiling for eval. Namely,...
- 03:06 PM Revision 937cb117 (git): Fix regexps for abbreviated options
- 03:03 PM Revision a0b4f0bc (git): Timeout scale in bootstraptest
- 03:02 PM Revision 602193de (git): Timeout in bootstraptest
- 12:55 PM Revision c844968b (git): ruby tool/update-deps --fix
- 12:55 PM Revision bb5a5382 (git): use of stdckdint.h
- C23 is going to have this header. The industry is already moving
towards accepting it; OSes and compilers started to... - 08:56 AM Revision 9ea77cb3 (git): Remove unnecessary assignment to ast->body.line_count
- This patch removes a code that assigns `-1` to `ast->body.line_count` because, at least as of now, it looks not neces...
- 03:47 AM Revision ef3e3e9a (git): Fixed a value specified for OPT_THREADED_CODE (#10657)
- Values defined for OPT_THREADED_CODE are 0,1,2. However, 1,2,3 are set in workflow. It seems that case 3 does not exi...
- 03:43 AM Revision 8089faee (git): Revert "YJIT: Try splitting getlocal/setlocal blocks (#10648)"
- This reverts commit ab228bd0844758a1c444e39030c153874adf9120.
- 03:08 AM Revision 55a402bb (git): Add line_count field to rb_ast_body_t
- This patch adds `int line_count` field to `rb_ast_body_t` structure.
Instead, we no longer cast `script_lines` to Fix... - 01:47 AM Bug #20450: Ruby 3.3.1 broken with bootsnap
- RVM is now patching this by default for 3.3.1 installs. https://github.com/rvm/rvm/pull/5457
- 01:06 AM Revision bf1f16ef (git): Lrama v0.6.6
- 01:03 AM Revision 2ba7c1b1 (git): YJIT: Correct signature of rb_yjit_root_mark()
- Even though unused, it's supposed to take a pointer like the C side
expects. - 01:03 AM Revision 83c03cc7 (git): YJIT: Stop asserting rb_objspace_markable_object_p()
- Because of the way things are sequenced, it doesn't work properly during
auto-compaction. - 01:03 AM Revision 73eeb864 (git): YJIT: Fix reference update for `Invariants::no_ep_escape_iseqs`
- Previously, the update was done in the ISEQ callback. That effectively
never updated anything because the callback it... - 12:35 AM Revision c746332c (git): Revert "Use -v to investigate which test is stuck"
- This reverts commit 444553b528a54a97e539de212ffc4c6466a6db20.
At least it should no longer timeout. - 12:18 AM Revision c32366ff (git): Avoid overriding GNUMAKEFLAGS's -j
- .github/actions/setup/directories/action.yml sets GNUMAKEFLAGS. Having
-j here is rather harmful.
Partly reverts f8d...
04/26/2024
- 09:02 PM Revision f64c9741 (git): Allow RUBY_GC_LIBRARY_PATH to be set in miniruby
- miniruby is used by tool/runruby.rb, so we need to ensure we don't rb_bug
when RUBY_GC_LIBRARY_PATH is set so we can ... - 09:01 PM Revision 392b811b (git): Update default gems list at 3872e54039f467cdab5c9a0e384d91 [ci skip]
- 09:01 PM Revision ddce8ca8 (git): [PRISM] Enable integer test
- 09:01 PM Revision 3872e540 (git): [ruby/prism] Bump to v0.27.0
- https://github.com/ruby/prism/commit/c9edeef91a
- 09:01 PM Revision bb3dd5b8 (git): [PRISM] Sync latest config.yml documentation updates
- 08:58 PM Revision 41e17f56 (git): Fix compiler warning for ruby_external_gc_init
- Fixes:
warning: old-style function definition [-Wold-style-definition] - 08:02 PM Revision ab228bd0 (git): YJIT: Try splitting getlocal/setlocal blocks (#10648)
- 07:16 PM Revision 46480e30 (git): [PRISM] Use redundant return flag
- 07:05 PM Revision 96880931 (git): [ruby/prism] Location#slice_lines, Node#slice_lines
- https://github.com/ruby/prism/commit/9b61f6fdb3
- 06:55 PM Revision 0599184a (git): [ruby/prism] Match CRuby error messages for invalid numerics
- https://github.com/ruby/prism/commit/be21a1bd1d
- 06:11 PM Revision a1db69f0 (git): Skip a flaky Ractor test for YJIT
- https://github.com/ruby/ruby/actions/runs/8852277192/job/24310631888
https://github.com/ruby/ruby/actions/runs/885132... - 06:10 PM Revision 6a296089 (git): [ruby/prism] Add a flag on returns when they are redundant
- https://github.com/ruby/prism/commit/450541d2c3
- 05:52 PM Revision 148518ba (git): [ruby/irb] Suppress command return values
- (https://github.com/ruby/irb/pull/934)
Since commands can't be chained with methods, their return values are
not int... - 05:51 PM Misc #20272: Ambiguity around Ractor message sending FIFO semantics
- The messages in that case would be guaranteed to be received in order (first "hello" then "world").
If you have 2 ... - 05:21 PM Bug #20457: Final `return` is eliminated from the AST
- I want to add for context that naturally Prism already provides this information (and much more) and has a much bette...
- 06:16 AM Bug #20457: Final `return` is eliminated from the AST
- Optimizations in the parser such as `reduce_nodes` that are not intended for the VM will no longer be necessary.
htt... - 04:55 PM Revision 6b120135 (git): [ruby/openssl] Only CSR version 1 (encoded as 0) is allowed by PKIX standards
- RFC 2986, section 4.1 only defines version 1 for CSRs. This version
is encoded as a 0. Starting with OpenSSL 3.3, set... - 04:25 PM Revision 9aecff25 (git): [PRISM] Fix up if condition branch coverage location
- 04:25 PM Revision c46e32e3 (git): [PRISM] Fix up branch coverage for &. with block
- 04:25 PM Revision d06bbafd (git): [PRISM] Enable branch coverage for if/unless conditionals
- 04:25 PM Revision 881c4501 (git): [PRISM] Enable branch coverage for while/until loops
- 04:25 PM Revision 43076bf9 (git): [PRISM] Enable branch coverage for case pattern matching
- 04:25 PM Revision e5bd4c78 (git): [PRISM] Enable branch coverage for case
- 04:25 PM Revision 235a3f3b (git): [PRISM] Enable branch coverage for &.
- 04:25 PM Revision 6509634e (git): [PRISM] Modify test_coverage to take prism into account
- 04:25 PM Revision 94d6295b (git): [PRISM] Enable coverage in eval ISEQs
- 04:25 PM Revision 49764869 (git): [PRISM] Enable coverage in top and main iseqs
- 04:25 PM Revision af800bef (git): Remove dependency on NODE from coverage structure
- 03:59 PM Bug #20459: Ractor.select() deadlock?
- I just took a look at this and it's related to this ticket: https://redmine.ruby-lang.org/issues/20168. The linked pu...
- 12:27 PM Bug #20459 (Open): Ractor.select() deadlock?
- When I run this script
```
echo = Ractor.new { Ractor.receive }
Thread.new { puts Ractor.select(echo).inspect ... - 03:43 PM Revision 353cba49 (git): Use fprintf for error message when loading external GC
- The error message is often long, so using a small buffer could cause it
to be truncated. rb_bug also has a 256 byte m... - 03:10 PM Revision 67b79d48 (git): Enable Ruby to run on Windows with frozen string literals
- 02:31 PM Revision 69c1bd90 (git): [DOC] Fix a typo in globals.rdoc
- Noticed this small type while reading the docs.
- 12:33 PM Revision dd578cf2 (git): [DOC] Enhance `Numeric#nonzero?` doc
- Add `zero?` as a related method
- 12:12 PM Revision 25a8b76c (git): [ruby/irb] Command registration should take both strings and symbols
- as names
(https://github.com/ruby/irb/pull/932)
This will save users some heads scratching when they try to register... - 11:34 AM Revision 140c59c6 (git): Set `SCRIPT_LINES__` outside of parser
- Parser should not depend on functions defiend on "ruby_parser.c".
- 10:22 AM Revision 500586b4 (git): Set executable on rdoc-srcdir [ci skip]
- 10:07 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- nobu (Nobuyoshi Nakada) wrote in #note-9:
> That example does not need `Ractor`.
Yes, you are right, it actually ... - 08:28 AM Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
- That example does not need `Ractor`.
```ruby
class MyStop < ::StopIteration
attr_reader :result
def initial... - 10:06 AM Bug #20456: Hash can get stuck marked as iterating through process forking
- > I think we should remove [auto unlock of mutexes owned by dead thread]
I very strongly oppose that.
- 09:54 AM Bug #20456: Hash can get stuck marked as iterating through process forking
- > I don't think we should shy away from making it easier to use and more robust when we can.
The best way to do th... - 08:28 AM Bug #20456: Hash can get stuck marked as iterating through process forking
- > like STR_TMPLOCK.
True. That said `STR_TMPLOCK` is used to lock a string for mutation, so much less likely to be... - 08:19 AM Bug #20456: Hash can get stuck marked as iterating through process forking
- I think this problem is not limited to Hash's `iter_lev`, but potentially all states, like STR_TMPLOCK. Once you sta...
- 07:41 AM Bug #20456: Hash can get stuck marked as iterating through process forking
- > but it sounds to me like it can't.
It could, and there's precedent. For instance Ruby unlock mutexes owned by dead... - 09:45 AM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Bug #20455] rb_errinfo() inconsistent with $! in the caller Ruby code (eregon)
* Could we make them consistent? ... - 09:17 AM Revision 762491db (git): [DOC] Caveat about "allocate then wrap"
- 03:03 AM Revision 0907127f (git): Bump github/codeql-action from 3.25.2 to 3.25.3
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.2 to 3.25.3.
- [Release notes](https:... - 02:21 AM Revision 2244c58b (git): [Universal parser] Decouple IMEMO from rb_ast_t
- This patch removes the `VALUE flags` member from the `rb_ast_t` structure making `rb_ast_t` no longer an IMEMO object...
Also available in: Atom