Activity
From 11/27/2022 to 12/03/2022
12/03/2022
-
11:08 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- >But your way of updating "json" as a normal gem over the default gem means that whenever ruby is used with --disable...
-
11:03 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- austin (Austin Ziegler) wrote in #note-5:
> No, they can be upgraded independently.
That is interesting. The seco... -
10:55 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- Austin, Thanks for your explanation for details.
We will update the all of bundled stdlibs(=default gems) at the ... -
10:20 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- Segaja (Andreas Schleifer) wrote in #note-4:
> austin (Austin Ziegler) wrote in #note-3:
> > > "may"? This sounds l... -
10:14 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- austin (Austin Ziegler) wrote in #note-3:
> Segaja (Andreas Schleifer) wrote in #note-2:
> > hsbt (Hiroshi SHIBATA)... -
10:11 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- Segaja (Andreas Schleifer) wrote in #note-2:
> hsbt (Hiroshi SHIBATA) wrote in #note-1:
> > >As far as I know stdli... -
09:55 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- hsbt (Hiroshi SHIBATA) wrote in #note-1:
> >As far as I know stdlibs get only updated for the users if CRuby release... -
09:53 PM Misc #19178: How does CRuby handle CVE issues in stdlib gems which get patched?
- >As far as I know stdlibs get only updated for the users if CRuby releases a new version. So will CRuby always releas...
-
09:19 PM Misc #19178 (Closed): How does CRuby handle CVE issues in stdlib gems which get patched?
- If there is a CVE issue in one of the stdlibs ( https://stdgems.org/ ) which gets patched, what is CRubys approach on...
-
08:54 PM Misc #19170: DevMeeting-2022-12-15
- - [Misc #19178] Distribution of Ruby and Standard Library gems.
-
07:40 PM Bug #19173 (Closed): syntax_suggest segfaults on syntax error when refinement activated
- Applied in changeset commit:git|dba61f487cd7c1555f1187a2e2846506c1b143be.
----------
return early if there is no is_... -
07:04 PM Misc #19155 (Closed): documentation of Pathname#join with absolute path
- Applied in changeset commit:git|b8a73e704ddc77db36317dda293e99fb0ee641f4.
----------
[ruby/pathname] [Misc #19155] [... -
07:03 PM Revision dba61f48 (git): return early if there is no is_entries buffer
- If there is a compilation error, is_entries may not be allocated, but
ic_size could be greater than 0. If we don't h... -
04:50 PM Feature #19177 (Closed): optional offset for Array#index
- String#index allows an optional offset:
```ruby
"the quick brown fox jumps over the lazy dog".index("the") #=> ... -
04:29 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
> …treats unknown keywords passed to this method as an error. I had already made it clear that I thought it should ...-
04:15 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- austin (Austin Ziegler) wrote in #note-32:
> If `origin` is a `Point` containing `x` and `y` values, then `origin#... -
02:49 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- ufuk (Ufuk Kayserilioglu) wrote in #note-31:
> RubyBugs (A Nonymous) wrote in #note-29:
> > As another reference po... -
02:44 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- RubyBugs (A Nonymous) wrote in #note-29:
> Hi Matz and Ufuk, please consider that making no-args an error makes prog... -
02:26 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- RubyBugs (A Nonymous) wrote in #note-29:
> please consider that making no-args an error makes programming around thi... -
02:09 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- ufuk (Ufuk Kayserilioglu) wrote in #note-28:
> Thank you @matz. I will update the implementation to make the no-args ... -
02:56 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- Thank you @matz. I will update the implementation to make the no-args case an error, and point people to use `dup` to...
-
02:12 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- I think it should be an error. I am still not 100% sure `with` is the best name.
Matz.
-
04:24 PM Feature #16122: Data: simple immutable value object
- Thanks a lot for implementing this feature! Can't wait to start applying it in specific use-cases.
However, I am also... -
03:53 PM Revision b8a73e70 (git): [ruby/pathname] [Misc #19155] [DOC] Addion of absolute paths
- https://github.com/ruby/pathname/commit/3cb5ed2576
-
03:05 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- oh, I still very much want the "break"/"return" semantic, and I still think it should be invoked via Fiber#cancel (no...
-
01:25 PM Misc #19176 (Open): Missing insns_info for iseqs in ruby 3.2 built with debug options
- I'm not quite sure it is a proper place to ask questions, correct me if I'm wrong.
But I have a problem with ruby-3... -
07:33 AM Feature #18980: `it` as a default block parameter
- Ruby takes so much syntax last years. I fear it. Let's not strain our lovely language, please.
-
12:21 AM Feature #18980: `it` as a default block parameter
- @maedi `_$`, and especially `$`, have the same problems as `@` in which it is super easy to confuse and hard to diffe...
-
02:27 AM Revision 7b2306a3 (git): Remove unguaranteed assertion [ci skip]
- It can be configured by `--with-os-version-style=TYPE` option, and
just copies from theApple's installation as the de...
12/02/2022
-
11:53 PM Revision 59e389af (git): UnboundMethod only refer defined_class
- UnboundMethod records caller's class, like `D` or `E` on the
following case:
```ruby
class C
def foo = :foo
end
c... -
11:44 PM Bug #19173: syntax_suggest segfaults on syntax error when refinement activated
- @schneems This seems to be less about syntax suggest than refinements. @tenderlovemaking already has a PR up that sho...
-
10:14 PM Bug #19173: syntax_suggest segfaults on syntax error when refinement activated
- Line 25 is the require which seems odd https://github.com/ruby/ruby/blob/85a1c67a6550641e5de96cdbee1713be3f1e8882/lib...
-
12:44 PM Bug #19173 (Closed): syntax_suggest segfaults on syntax error when refinement activated
- While reporting certain syntax errors (e.g. “Invalid yield”, “Invalid redo”), `syntax_suggest` segfaults when a refin...
-
10:43 PM Feature #18980: `it` as a default block parameter
- Or `_$`:
```Ruby
[1, 2, 3].map { puts _$ }
```
```
[1, 2, 3].map { puts _$ }
```
Or even just `$` by itself:
```Ru... - 10:00 PM Revision 7161bf34 (git): [ruby/irb] Require pathname in test helper
- (https://github.com/ruby/irb/pull/467)
https://github.com/ruby/irb/commit/39c6924c12 -
09:26 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- I'm not against this feature, but I'm not sure if it has a valid use case.
I like the idea of using break as a sem... -
08:57 PM Feature #17325: Adds Fiber#cancel, which forces a Fiber to break/return
- This should be closed, in favor of a (TBD) structured concurrency system, built on `Fiber.current.storage` (#19078) a...
-
08:53 PM Revision 41bacd9b (git): Remove unused rb_shape_flag_shift and rb_shape_flag_mask
-
08:53 PM Revision ebd4c7bb (git): Fixed yjit bindings rb_gc_write_barrier
-
08:53 PM Revision 4c5e8979 (git): Extracted rb_shape_id_offset
- 08:53 PM Revision 606653e4 (git): Update yjit/src/codegen.rs
-
08:53 PM Revision be40af28 (git): make flag clearing better
-
08:53 PM Revision 07fe3d37 (git): only generate wb when we really need to
-
08:53 PM Revision 744b0527 (git): bail on compilation if the comptime receiver is frozen
-
08:53 PM Revision 7b5ee9a8 (git): do not fire the wb when writing immediates
-
08:53 PM Revision 17f9bcd7 (git): implement IV writes
- 08:43 PM Revision 69fd673b (git): [ruby/irb] Disable debug cmd tests based on project structure
- instead of env
(https://github.com/ruby/irb/pull/466)
It's hard to find an env var that's universally set in all Rub... -
08:33 PM Revision e9e624b7 (git): YJIT: check that we correctly auto-enable YJIT on Linux (#6854)
- * YJIT: check that we correctly auto-enable YJIT on Linux
YJIT should be automatically built on Linux x86-64 when
ru... - 07:21 PM Revision 82b86b4c (git): [rubygems/rubygems] Delete partial file and re-raise on Errno::ENOSPC.
- Add test for not leaving empty files if ENOSPC is raised during 'gem install'
https://github.com/rubygems/rubygems/c... -
06:49 PM Revision 5fafff15 (git): Do not run drb SSL tests on Windows
- These tests often cause a timeout and this issue seems specific to the
Windows platforms.
https://github.com/ruby/rub... -
06:26 PM Revision 7b38853b (git): Skip another flaky Ractor test for YJIT
-
06:18 PM Revision 85f041c0 (git): Skip a couple of Ractor tests
- Koichi plans to rework Ractor implementation to address these failures.
He agreed to skip flaky Ractor tests for now. -
05:44 PM Bug #19174 (Closed): YJIT configure "checking whether rustc works for YJIT... no" in rustc 1.65.0 on x86_64
- Applied in changeset commit:git|1015e69d37b8e75145a3d21e4bd54fa538d1fa68.
----------
YJIT: echo "\n" is not portable... -
04:33 PM Bug #19174: YJIT configure "checking whether rustc works for YJIT... no" in rustc 1.65.0 on x86_64
- That check is intended for automatically enabling YJIT when we can find a suitable rustc.
When we get --enable-yjit ... -
02:45 PM Bug #19174 (Closed): YJIT configure "checking whether rustc works for YJIT... no" in rustc 1.65.0 on x86_64
- On the latest master branch `11871e49c4fe493d6b958046969bc863f7fb6627` on Fedora 36,
```
$ uname -m
x86_64
$ ... -
05:24 PM Revision 1015e69d (git): YJIT: echo "\n" is not portable
- It's unspecified by POSIX. zsh and dash give a newline and
bash doesn't substitute it. Attributes don't have to be
fo... - 05:23 PM Revision ed1e0c2d (git): Update bundled gems list at 6f3c8fdab46872ccece3bf512adac9 [ci skip]
-
05:23 PM Revision 6f3c8fda (git): debug.gem v1.7.0
-
05:05 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- Thanks for the discussion and the name suggestion. I updated the PR https://github.com/ruby/ruby/pull/6766 to use `Da...
-
03:13 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- Discussed at the dev meeting.
Regarding method names, @matz likes `Data#update`. However, @ko1 objects because "up... -
02:54 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- RubyBugs (A Nonymous) wrote in #note-21:
> How is this?
Thanks for the update.
Now I have a question. Do you r... -
05:03 PM Revision a5dde619 (git): Fix up "Avoid bash specific variable substitution"
- Keep `target_alias` empty if it is set to empty. If it is set to non
empty, `os_version_style_transform` is not used. -
05:03 PM Revision c2671fa0 (git): downloader.rb: Select less components path
-
04:58 PM Bug #19175 (Closed): Ripper does not recognize some pattern matching defining local variable
- Ripepr does not recognize hshptn and aryptn splat defining local variables.
~~~ruby
Ripper.sexp('a in [*x]; x')
# ... -
04:40 PM Revision eb2b717a (git): YJIT: Make case-when optimization respect === redefinition (#6846)
- * YJIT: Make case-when optimization respect === redefinition
Even when a fixnum key is in the dispatch hash, if ther... -
04:32 PM Revision fa77bcf7 (git): YJIT: Change the default --yjit-call-threshold to 30 (#6850)
-
04:28 PM Revision e558c374 (git): downloader.rb: Fix link to absolute cache path
-
04:23 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- @Dan0042 (Daniel DeLorme) wrote in #note-21:
> What about when we want per-ractor storage... a fourth type?
FWIW,... -
03:00 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- I'm also a bit late to this. While I do have some nitpicks, I'll leave them for another ticket (if I ever get around...
-
09:34 AM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- I made a compatibility shim for older Rubies. It's not 100% perfect, but it's close enough to be useful.
https://g... -
02:46 PM Revision f28e79ca (git): Use consistent style [ci skip]
-
02:46 PM Revision bb0ec7df (git): Wait killed threads
-
02:45 PM Revision eb678535 (git): Avoid bash specific variable substitution
- It may cause parse errors in some other sh even in never executed
parts. -
12:56 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- I hope I summarized it correctly: https://gitlab.com/gitlab-org/ruby/gems/prometheus-client-mmap/-/issues/39
I'm n... -
12:32 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Thanks for sharing this; I still don't think this is related to the memory map going away. Not exclusively anyway. My...
-
11:31 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- And to confirm, `FastMmappedFile` does unmap when it's GCed too:
```ruby
static void mm_free(mm_ipc *i_mm) {
... -
11:26 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Here's the repro:
```ruby
require 'prometheus'
require 'prometheus/client'
File.write("/tmp/mmap.txt", "a" * ... -
11:13 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- > calls into new_str0, which when the string is large enough, will be malloc'ed by MRI, correct?
No. It calls `rb... -
09:54 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- @byroot I wonder if you could help me understand the underlying issue better. I found a minimal, executable test case...
-
11:51 AM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- Apparently we can get this via `getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &length);`, the question being how portabl...
-
11:46 AM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- > I am not sure if there is a portable way to determine if the file descriptor behind an IO object is stream or data...
-
02:15 AM Bug #19012: BasicSocket#recv* methods return an empty packet instead of nil on closed connections
- This is what @akr said at the dev meeting. (My understanding)
> The proposed behavior might be possible for stream... -
10:47 AM Revision 11871e49 (git): [ruby/reline] Fix misuse of kwarg in IO#raw
- - Obviously, `tim` is a typo for `time`
- This didn't cause an exception because IO#raw is implemented in C and it do... -
10:33 AM Revision 21ed929e (git): [ruby/io-console] Omit on JRuby
- https://github.com/ruby/io-console/commit/9122c181eb
-
10:33 AM Revision 678bcfca (git): [ruby/io-console] Check rawmode option names strictly
- https://github.com/ruby/io-console/commit/aa8fc7e947
-
09:14 AM Bug #19172 (Open): `ruby_thread_has_gvl_p` is innacurate sometimes -- document or change?
- Howdy 👋! I work for Datadog [on the ddtrace gem](https://github.com/DataDog/dd-trace-rb) and I found a... sharp edge ...
-
08:54 AM Feature #6047 (Closed): read_all: Grow buffer exponentially in generic case
- Applied in changeset commit:git|7390eb43fe1bfb069af80ba8f73f7dc4999df0fd.
----------
io.c (read_all): grow the buffe... -
08:53 AM Revision 7390eb43 (git): io.c (read_all): grow the buffer exponentially when size is unknown
- [Feature #6047]
Currently it's grown by `BUFSIZ` (1024) on every iteration which is bit wasteful.
Instead we can dou... -
08:24 AM Bug #19169: Kernel#freeze doesn't propagate to singleton class when the singleton class has prepended modules
- I ran it against older rubies, and it seems like it has been behaving like this since `prepend` was introduced.
It... -
07:59 AM Feature #19171 (Closed): Update Unicode data to Unicode Version 15.1
- According to http://blog.unicode.org/2022/11/the-unicode-standard-2023-release.html, Unicode plans to release Version...
-
07:56 AM Revision 07ac7077 (git): MJIT: Use install = true for bundler/inline
- It prints a `bundle install`-like output, which seems more useful than
a silent output. -
07:41 AM Revision f01bfa8a (git): [ruby/irb] This doesn't work on RubyCI either
- http://rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20221202T063302Z.fail.html.gz
http://rubyci.s3.amazonaws.c... -
07:22 AM Revision b3890670 (git): Fix a link [ci skip]
-
07:22 AM Revision 6930a256 (git): NEWS.md: sort [ci skip]
-
07:20 AM Revision ad4eab1a (git): Wait killed thread
- 04:49 AM Revision 4fa47eab (git): Clarify the storage argument. (#6849)
- * Slightly more consistent indentation with other parts of the document.
-
04:43 AM Revision 7e3b42d0 (git): [ruby/irb] Skip debug command tests on ruby/ruby
- Stan has said these tests could be excluded if they don't work on
ruby/ruby CI.
https://github.com/ruby/irb/commit/1... -
04:12 AM Revision bc3ac867 (git): [rubygems/rubygems] require bundler/setup only when Bundler is not defined
- ... to prevent "circular require" when `--disable-gems` is used.
This is a simplified case of https://github.com/rub... -
03:16 AM Misc #19170 (Closed): DevMeeting-2022-12-15
- # The next dev meeting
**Date: 2022/12/15 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
03:16 AM Misc #19074 (Closed): DevMeeting-2022-12-01 (postponed from 11-17)
-
03:14 AM Revision b6c66ead (git): [ruby/irb] Use the proper ruby command and library path
- https://github.com/ruby/irb/commit/1416cc1871
-
02:33 AM Feature #19117: Include the method owner in backtraces, not just the method name
- Discussed at the dev meeting. @matz was basically positive for this proposal. But there is still much to discuss and ...
-
01:34 AM Revision d55d1a73 (git): Skip examples for SyntaxError extensions on Ruby 3.2
- 01:05 AM Revision 8abf9e6a (git): [ruby/irb] Test debug commands without yamatanooroti
- (https://github.com/ruby/irb/pull/464)
* Add debug command tests that don't require yamatanooroti
* Remove debug co... -
12:36 AM Revision 85a1c67a (git): [ruby/syntax_suggest] Add temp support for 3.2.0-preview{3,2,1}
- This SyntaxError#path feature only exists in Ruby HEAD. Until it is released in a preview I want to continue to suppo...
-
12:36 AM Revision 652e2d8f (git): [ruby/syntax_suggest] No longer need PathnameFromMessage with SyntaxError#path.
- https://bugs.ruby-lang.org/issues/19138
Co-authored-by: Nobuyoshi Nakada <[email protected]>
https://github.com/... -
12:31 AM Revision def258e7 (git): Improve packing of iseq_constant_body struct
- By moving the two bools into a packing gap above the mark_bits
pointer/union we can save 8 bytes in the struct and av... -
12:13 AM Revision dcbea767 (git): YJIT: Respect destination num_bits on STUR (#6848)
12/01/2022
-
11:46 PM Bug #19169 (Closed): Kernel#freeze doesn't propagate to singleton class when the singleton class has prepended modules
- ```ruby
a = []
singleton = a.singleton_class
a.freeze
p singleton.frozen? # => true
a = []
singleton = a.sing... -
11:37 PM Revision 8ffa8fc1 (git): Relax the timeout of a YAML test
- https://cirrus-ci.com/task/4752663775019008
-
11:37 PM Revision f0cf70c8 (git): Add a macro for SHAPE_DEBUG
- Like before, default to VM_CHECK_MODE > 0, but this allows just enabling
shape debug helpers without the rest of VM_C... -
11:37 PM Revision da204d2e (git): Inherit max_iv_count from superclass
- In 274870bd5434ab64ac3a3c9db9aa27d262c1d6d6 we gained the ability to
make an educated guess at the max_iv_count of a ... -
11:17 PM Revision 171e94bd (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeader
- (https://github.com/ruby/net-http/pull/83)
https://github.com/ruby/net-http/commit/1ea5004098 -
10:43 PM Bug #19166 (Closed): Module#remove_method can change frozen modules when there is a prepended module
- Applied in changeset commit:git|3d272b0fc822f5c2e9c716377b7fcecf15426b27.
----------
Module#remove_method: Check fro... -
04:56 PM Bug #19166 (Closed): Module#remove_method can change frozen modules when there is a prepended module
- ```ruby
module A
prepend Module.new # remove this line and you'd get FrozenError as expected
def foo; end
f... -
10:43 PM Bug #19164 (Closed): [3.2.0dev] Freezing an object can prevent removing methods on its class
- Applied in changeset commit:git|3d272b0fc822f5c2e9c716377b7fcecf15426b27.
----------
Module#remove_method: Check fro... -
08:09 AM Bug #19164 (Closed): [3.2.0dev] Freezing an object can prevent removing methods on its class
- The following snippet showcase the bug. It passes on 3.1 and older, but fails on 3.2.0
```ruby
klass = Class.new
... - 10:32 PM Revision 3d272b0f (git): Module#remove_method: Check frozen on the right object
- Previously, the frozen check happened on `RCLASS_ORIGIN(self)`, which
can return an iclass. The frozen check is suppo... -
10:06 PM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
- How many allocations is it with `...` when not using forwardable but just delegation with `(...)`? I'd think 1 Array ...
-
08:55 AM Bug #19165: Method (with no param) delegation with *, **, and ... is slow
- FYI for confirming "five Array objects and two Hash objects" that I wrote above, I used ko1's allocation_tracer as fo...
-
08:49 AM Bug #19165 (Open): Method (with no param) delegation with *, **, and ... is slow
- I found that method delegation via Forwardable is much slower than normal method call when delegating a method that d...
-
10:03 PM Bug #19168 (Closed): "such file" is bad grammar
- The error message for a missing required file has bad grammar:
$ irb
irb(main):001:0> require 'wuxx'
<interna... -
06:10 PM Bug #19167 (Closed): Object#inspect does not correctly show NilClass TrueClass and FalseClass stored in instance variables
~~~ruby
Object.new.instance_eval do
@a = nil
@b = NilClass
@c = true
@d = TrueClass
@e = [nil, NilC...-
05:55 PM Bug #19145: TestException#test_exception_in_message timeouts
- Thx for the fix. With commit:git|0436f1e15a, I don't observe the timeout anymore.
-
05:51 PM Bug #19147: `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
- Interestingly, testing with commit:git|0436f1e15a, there are now additional spec failures which appears to be the sam...
-
05:19 PM Bug #19079: Modules included in a DelegateClass cannot override delegate methods
- This issue occurred for a private module in Rails: https://github.com/rails/rails/pull/46189#discussion_r991440668.
... -
02:57 PM Bug #19079: Modules included in a DelegateClass cannot override delegate methods
- you can also try prepend instead of include:
```ruby
WithHelper = DelegateClass(Base) { prepend Helper }
``` -
12:38 PM Bug #19079: Modules included in a DelegateClass cannot override delegate methods
- If you want to include a module to a delegated class, try the following:
```ruby
class WithHelper<DelegateClass(B... -
05:11 AM Bug #19079 (Rejected): Modules included in a DelegateClass cannot override delegate methods
- The `DelegateClass` defines an anonymous class and defines forwarding methods to the class. The reported (so-called)...
-
04:50 PM Revision 9da2a520 (git): [Bug #19087] Merge to "trailing garbage" case
-
04:47 PM Revision c94cd853 (git): [Bug #19087] Fix an assertion of `String#to_c`
-
04:35 PM Bug #19087 (Closed): String#to_c supports multiple "_"
- Applied in changeset commit:git|c0dc717c45fc3abc64a337c3481bc4555b675d87.
----------
[Bug #19087] Disallow successiv... -
04:35 PM Revision c0dc717c (git): [Bug #19087] Disallow successive underscores in Complex string
-
04:31 PM Revision 914cf26d (git): parenthesize to macro
-
04:31 PM Revision 1a64d45c (git): Introduce encoding check macro
-
04:30 PM Revision 7bc63d6f (git): Introduce argf_encoding function
-
04:19 PM Revision 040e0c8d (git): Reuse NIL_OR_UNDEF_P macro
-
04:00 PM Feature #19163 (Closed): Data object should be frozen
- Applied in changeset commit:git|a14a1a5626a4d8e661a3e606f8f92b8c455b9a04.
----------
[Feature #19163] Data object sh... -
09:01 AM Feature #19163: Data object should be frozen
- https://github.com/ruby/ruby/pull/6843
-
08:06 AM Feature #19163 (Closed): Data object should be frozen
- If we call `initialize` (via `send`), we can rewrite an existing `Data` object.
```ruby
d=Data.define(:a, :b).new... -
03:59 PM Revision 2c939458 (git): YJIT: Reorder branches for Fixnum opt_case_dispatch (#6841)
- * YJIT: Reorder branches for Fixnum opt_case_dispatch
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboi... -
03:56 PM Revision 5872fd6f (git): [Feature #19163] Marshal-loaded Data object also should be frozen
-
03:56 PM Revision a14a1a56 (git): [Feature #19163] Data object should be frozen
-
03:53 PM Revision 06a0c580 (git): YJIT: fix 32 and 16 bit register store (#6840)
- * Fix 32 and 16 bit register store in YJIT
Co-Authored-By: Takashi Kokubun <[email protected]>
* Remove an unne... -
03:00 PM Bug #19143: Windows - bundled extension gems compile, but don't copy *.so files to lib folder
- @nobu
Yes, I agree, it might be very helpful when one has more than one platform installed and uses `--user-instal... -
06:27 AM Bug #19143: Windows - bundled extension gems compile, but don't copy *.so files to lib folder
- It is intended.
`*.so` files are architecture-dependent, which are "tainted" in other words, while `lib` directories... -
02:01 PM Revision 01790de9 (git): Fix indents in NEWS [ci skip]
- The MarkDown parser in RDoc requires 4 columns indentation for
paragraphs following list items. Otherwise, the follo... -
12:40 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- For example, the example in #19079 does not give warning for overwriting the method `foo`.
Matz.
-
08:52 AM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- > we missed the warnings from DelegateClass misuse
Do you have a reference to that? -
05:15 AM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- Sorry, but by this change, we missed the warnings from DelegateClass misuse. We will revert this change.
Matz.
-
10:05 AM Feature #19078 (Closed): Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- It was merged.
-
08:44 AM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- Thanks so much for your time and discussion @matz et al.
-
04:59 AM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- This proposal contains 4 features:
(1) fiber[key]/fiber[key]=val - accepted.
(2) fiber.storage => hash - accepted... - 10:00 AM Revision 0436f1e1 (git): Introduce `Fiber#storage` for inheritable fiber-scoped variables. (#6612)
-
08:51 AM Feature #19107: Allow trailing comma in method signature
- > Is there an actual case where this proposal is convenient?
Yes, when replacing old APIs that took an "option has... -
07:46 AM Feature #19107: Allow trailing comma in method signature
- I don't care for consistency here (since formal arguments and actual arguments are different).
I am not sure for con... -
08:38 AM Bug #19108 (Closed): Format routines like pack blindly treat a string as ASCII-encoded
- Applied in changeset commit:git|9869bd1d612b489df806cf95bcb56965a02424e0.
----------
[Bug #19108] Check for the enco... -
08:15 AM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
- Template strings should be ASCII compatible, exceptions otherwise.
Matz.
-
08:38 AM Revision 9869bd1d (git): [Bug #19108] Check for the encoding of pack/unpack format
-
08:33 AM Feature #19036: Provide a way to set path for File instances created with for_fd
- LGTM.
Matz.
-
07:34 AM Feature #19036: Provide a way to set path for File instances created with for_fd
- Ruby IO is a rich object and has an internal path. It seems reasonable that `IO.new` or `IO.for_fd` can set it. I don...
-
08:25 AM Bug #19150: pack/unpack silently ignores unknown directives
- For 3.2 unknown directives always warn; for 3.3 they raise exceptions.
Matz.
-
08:08 AM Bug #19003 (Rejected): TracePoint behavior inconsistency in 3.2.0-preview2
-
08:08 AM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- Sorry for late.
We left this issue as an implementation details and the current behavior will be shipped with Ruby 3... -
08:08 AM Revision a1d341ef (git): [ruby/delegate] Revert "Fix `DelegateClass` block "method redefined" warning"
- https://github.com/ruby/delegate/commit/2a91436284
-
08:06 AM Feature #19138 (Closed): `SyntaxError#path` for syntax_suggest
- Applied in changeset commit:git|4e68b594314760611d0926c3de70a4cad26802cd.
----------
[Feature #19138] Add `SyntaxErr... -
08:05 AM Feature #19138: `SyntaxError#path` for syntax_suggest
- Sounds reasonable.
Matz.
-
08:05 AM Revision 4e68b594 (git): [Feature #19138] Add `SyntaxError#path`
-
07:38 AM Feature #18951: Object#with to set and restore attributes around a block
- Thank you Matz.
If it's not desired in ruby-core, I can add it to Active Support, that's no problem. -
07:36 AM Feature #18951: Object#with to set and restore attributes around a block
- * `with_attr` is better than plain `with`
* this method can be useful for some cases, but I am not sure if it should... -
06:41 AM Feature #18980: `it` as a default block parameter
- How about `_@`? It's your friendly neighborhood local-instance variable. I'm half joking but it is a local variable t...
-
05:49 AM Bug #18751: Regression on master for Method#== when comparing public with private method
- This should be fixed by #18798 which is accepted.
Matz.
-
05:48 AM Feature #18798: `UnboundMethod#==` with inherited classes
- LGTM.
Matz.
-
03:09 AM Feature #13721 (Rejected): [PATCH] net/imap: dedupe attr keys in Net::IMAP::FetchData
- Rejected because [Feature #13725] was reverted and not fixed yet.
-
02:13 AM Misc #19162 (Closed): [ANN] Restrict weak ssh public key for git.ruby-lang.org
- We continuously migrate our ssh public keys on git.ruby-lang.org from svn and cvs.
I found some of pub keys used w...
11/30/2022
-
11:47 PM Bug #19159: ObjectSpace segfaults
- Just confirmed the fix. Thank you for the quick fix, @mame !
-
10:40 PM Bug #19159: ObjectSpace segfaults
- I confirmed to work with https://github.com/ruby/ruby/pull/6836
-
07:09 PM Bug #19159 (Closed): ObjectSpace segfaults
- Applied in changeset commit:git|ab4c7077cc44cd6725625562b7380a44cf462190.
----------
Prevent segfault in String#scan... -
04:36 PM Bug #19159: ObjectSpace segfaults
- https://github.com/ruby/ruby/pull/6836
An incomplete MatchData object was created during `String#scan` (which is c... -
05:06 AM Bug #19159: ObjectSpace segfaults
- `--disable-error_highlight` did not help when I execute it with Ruby 3.2.0dev.
``` ruby
$ rbenv install 3.2.0-dev... -
04:53 AM Bug #19159: ObjectSpace segfaults
- I could reproduce this. And It resolve with `--disable-error_highlight`. (Thanks for investigating @yahonda )
-
09:27 PM Revision 5752d11f (git): Use RTEST and add test for GH-6832
- Technically we shouldn't see Qfalse now, but RTEST also compiles down to
just one branch anyways. Pretty contrived is... -
09:27 PM Revision 4b9d10b8 (git): struct.c (struct_ivar_get): add conditional for potential Qnil returned by rb_class_superclass
- struct_ivar_get recently started using rb_class_superclass to
resolve super instead of RCLASS_SUPER. This change made... -
09:16 PM Revision 0d3fc08f (git): YJIT: Optimize rb_int_equal (#6838)
-
07:58 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- For comparison, you can plug in the following example code for a faster implementation of `#with` and it should work ...
-
07:52 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- mame (Yusuke Endoh) wrote in #note-17:
> @RubyBugs Please check my comment https://bugs.ruby-lang.org/issues/19000#no... -
03:20 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- p8 (Petrik de Heus) wrote in #note-18:
> If `dup` is chosen would it make sense to always allow `dup` methods to tak... -
03:13 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- p8 (Petrik de Heus) wrote in #note-18:
> If `dup` is chosen would it make sense to always allow `dup` methods to tak... -
07:09 PM Revision d98d84b7 (git): YJIT: add new counters for deferred compilation and queued blocks (#6837)
-
06:28 PM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
- Hi again @nagachika.
I was double checking this, because I thought you probably meant "master branch of Ruby" and ... -
08:33 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
- Just to clarify, the current master branch of Bundler is indeed not affected by this issue, but that's just "luck". I...
-
01:46 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
- Hello,
Thank you for the report.
nobu told me that the current master branch doesn't have the issue.
I will lookin... -
06:21 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
- Naively, I would have expected "binary:utf-8" to take arbitrary input and force the encoding to UTF-8, and "utf-8:utf...
-
05:55 PM Feature #19099: Support `private_constant` for an undefined constant
- Another idea:
`private_constant X: expr`
equivalent to
`const_set :X, expr` + `private_constant :X`
Or just use clas... -
05:38 PM Revision ab4c7077 (git): Prevent segfault in String#scan with ObjectSpace.each_object
- Calling `String#scan` without a block creates an incomplete MatchData
object whose `RMATCH(match)->str` is Qfalse. Us... -
05:36 PM Revision f0c9d2a0 (git): [ruby/rdoc] Fix `=end` delimiter
- https://github.com/ruby/rdoc/commit/e1679fa7e4
-
05:36 PM Revision 99cad3fc (git): [ruby/rdoc] Non-RD part feature has not been imported to RDoc
- https://github.com/ruby/rdoc/commit/fe0159de2f
-
05:36 PM Revision c87b3ee6 (git): [ruby/rdoc] Use Tempfile
- https://github.com/ruby/rdoc/commit/0b9dde5ab4
-
05:28 PM Revision d752cf76 (git): Use class methods of `File` over `Kernel.open` and `IO.read`
-
05:23 PM Revision a0b0365e (git): YJIT: Deallocate `struct Block` to plug memory leaks
- Previously we essentially never freed block even after invalidation.
Their reference count never reached zero for a c... -
05:23 PM Revision b30248f7 (git): YJIT: Deallocate when assumptions tables are empty
- When we run global invalidation for TracePoints or code GC, we clear out
all blocks in our assumptions table but we d... -
05:23 PM Revision 03f1e6a2 (git): YJIT: Fix IseqPayload::pages memory bloat
- HashSet::clear() doesn't deallocate the backing buffer and shrink the
capacity. Replace with a 0-capcity set instead ... -
05:17 PM Bug #19161: Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
- Thanks everyone,
I can confirm that adding `cflags="-std=gnu99"` to the configure step worked around my issue. Re-... -
08:43 AM Bug #19161: Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
- I investigated why our CI server for CentOS 7 could not find this problem. In short, this problem only occurs on tarb...
-
07:52 AM Bug #19161 (Closed): Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
- I could reproduce on CentOS 7 and confirmed to fix nobu's patch.
-
02:18 AM Bug #19161 (Feedback): Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
- Could you try this?
```diff
diff --git i/configure.ac w/configure.ac
index fcae66f775e..c933ed8b91f 100644
--- ... -
05:11 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- Maybe I'm too late here, but I have some thoughts/concerns about this.
First I should say I totally agree with the g... -
02:30 PM Bug #19147: `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
- Yes, I was about to report this, however Vít was ahead of me 👍
At least 3.2.0preview3 ( commit:git|28611be6ee84ba8... -
01:39 PM Bug #18779: `GC.compact` and other compaction related methods should be defined as rb_f_notimplement on non supported platforms.
- If it helps, this [1] is the patch we are carrying around in Fedora for Ruby 3.1. I would appreciate if is backported...
-
11:03 AM Revision 81719310 (git): Enable to dispatch Code scanning [ci skip]
-
10:31 AM Feature #17134 (Open): Add resolv_timeout to TCPSocket
-
08:32 AM Feature #17134 (Closed): Add resolv_timeout to TCPSocket
- Applied in changeset commit:git|c8bfbbc25e4bc7c3ff59fae40471923a2793ba48.
----------
Removed documentation for incom... -
10:18 AM Revision d532d275 (git): [ruby/irb] Use class methods of `File` over `Kernel.open`
- https://github.com/ruby/irb/commit/e0ec5e1bd8
-
10:09 AM Revision cf3b305c (git): [ruby/un] wait_writable: close opened file
- https://github.com/ruby/un/commit/b08aeb9c48
-
09:54 AM Misc #18976: [ANN] blade.nagaokaut.ac.jp is down
- I'm considering to migrate blade with the following plan:
* I'll build the simple txt archives like `https://blade.r... -
08:20 AM Revision c8bfbbc2 (git): Removed documentation for incomplete option about [Feature #17134]
-
07:19 AM Feature #13221 (Closed): [PATCH] gems/bundled_gems: add "curses" RubyGem
- There is no plan to add curses as the bundled gems now. I'll close this.
-
06:35 AM Revision d0c0d7fa (git): MJIT: Revert FL_EXIVAR check optimization
- It seems to slow down optcarrot. I'll revisit this later.
-
05:45 AM Revision a1d70f5b (git): MJIT: Rename mjit_compile_attr to mjit_sp_inc
- There's no mjit_compile.inc, so no need to use this prefix anymore.
-
05:34 AM Revision 7a2b1364 (git): MJIT: Merge mjit_unit.h into mjit_c.h
- The distinction doesn't make much difference today.
-
05:26 AM Revision ecc15bc9 (git): MJIT: Rename mjit_compiler.c to mjit_c.c
- It's no longer about the compiler logic itself.
-
04:52 AM Revision 9a849713 (git): [ruby/irb] Make sure ls doesn't return an array
- (https://github.com/ruby/irb/pull/461)
https://github.com/ruby/irb/commit/367797bb05 - 03:59 AM Revision 062c5a9e (git): Update default gems list at d6e91784ab78c25e864869b05a149e [ci skip]
-
03:58 AM Revision d6e91784 (git): Update SyntaxSuggest to use angle brackets `>`
- ```
$ ruby tool/sync_default_gems.rb syntax_suggest
Sync ruby/syntax_suggest
```
https://github.com/ruby/syntax_sugg... -
03:08 AM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
- Thank you for the explanation, that's very good arguments and they address my concerns.
-
02:35 AM Revision 33a9a7fd (git): Mention Exception#detailed_message in NEWS.md
-
02:34 AM Revision 4e13f5b5 (git): Mention Regexp.timeout= in NEWS.md
11/29/2022
-
09:56 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
- marcotc (Marco Costa) wrote in #note-14:
> > > Regarding threads I think we shouldn't inherit automatically in new t... -
08:46 PM Revision bbed2269 (git): Fix unused variable warnings
- builtin seems to be not handling this correctly.
-
08:30 PM Bug #19161 (Feedback): Cannot compile 3.0.5 or 3.1.3 on Red Hat Enterprise Linux 7
- When attempting to run `make` on either the 3.0.5 or 3.1.3 release, I get the following error (I included the whole o...
-
07:06 PM Bug #19160 (Closed): cmp_clamp arguments
- If clamp receives min higher than max, it will raise an exception. The message says *min argument must be smaller tha...
-
05:29 PM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
- The emails are now containing too much empty lines. It already starts with the Redmine header which looks like:
~~... -
12:02 AM Misc #19030 (Closed): [ANN] Migrate lists.ruby-lang.org to Google Groups
- The issue of discourse mirror for ruby-talk is resolved. https://rubytalk.org/t/i-sent-this-to-the-list-but-got-this-...
-
04:44 PM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
- hsbt (Hiroshi SHIBATA) wrote in #note-10:
>
> ```ruby
> Reline.completion_colors = {
> foreground: :white,
> ... -
03:29 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Thank you, this helps a lot! I will test the patch you suggest and see if that addresses the immediate problem.
If... -
03:14 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Sorry, I meant:
```c
rb_ivar_set(ret, rb_intern("mmap"), obj);
``` -
03:13 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- byroot (Jean Boussier) wrote in #note-15:
> It's even worse than using `str_new_static`, it's creating a regular s... -
03:12 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- I can't be bothered to create an account to submit a PR, but I suspect the following diff should fix your bug:
```... -
03:06 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Ok, I found the function that cause this bug:
```c
static VALUE mm_str(VALUE obj, int modify) {
mm_ipc *i_mm... -
03:03 PM Bug #19156 (Third Party's Issue): ObjectSpace.dump_all segfault during string inspection
- > It indeed does sound like it is not strictly a bug with MRI
I'll mark the ticket as 3rd party issue. I'd suggest... -
03:00 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- I'm not sure this makes sense but: we know the address being referenced is somewhere (half-way) into a memory region ...
-
02:37 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- It looks like I can't do anything useful with that address:
```
(gdb) p *0x7fced23f4000
Cannot access memory at ... -
02:21 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- `str_new_static` sets a specific flag on the string:
```c
RBASIC(str)->flags |= STR_NOFREE;
```
So fr... -
02:18 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- byroot (Jean Boussier) wrote in #note-5:
> Also, based on the backtrace I believe that `ObjectSpace.each_object(Stri... -
02:12 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Also, assuming my `str_new_static` theory is correct, you could look at: `grep -IR str_new_static $(bundle show --pat...
-
02:09 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- > I tried the following, but it segfaults too:
Yeah, if the RString points to an invalid memory region, I think `r... -
02:02 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Oh yeah it's actually telling me it's the same address from the original segfault.
So would we conclude from this ... -
02:00 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- byroot (Jean Boussier) wrote in #note-4:
> Ideally you'd use `gdb` to go on the `dump_object) objspace_dump.c:388` f... -
01:21 PM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- Also, based on the backtrace I believe that `ObjectSpace.each_object(String, &:valid_encoding?)` should cause the sam...
-
11:39 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- > I suspect the heap slot that references the broken string crashes the VM before it even starts writing the object a...
-
11:10 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- byroot (Jean Boussier) wrote in #note-2:
> Do you have a core dump? It would be interesting to inspect what this stri... -
08:30 AM Bug #19156: ObjectSpace.dump_all segfault during string inspection
- > I suspect this is also a problem with MRI master since the code looks unchanged from 3.0.4.
Well, It might not b... -
03:09 PM Revision 3e4d1a1d (git): YJIT: Skip checking interrupt_mask (#6825)
-
02:46 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- If `dup` is chosen would it make sense to always allow `dup` methods to take arguments for consistency?
For exampl... -
04:09 AM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- @RubyBugs Please check my comment https://bugs.ruby-lang.org/issues/19000#note-13 . A wrong motivation example raises...
-
01:14 PM Feature #19099: Support `private_constant` for an undefined constant
- I wonder if the code below is acceptable:
```ruby
class C
private_constant {
X = ...
}
end
```
H... -
01:10 PM Bug #19159 (Closed): ObjectSpace segfaults
- ```
$ ruby -e 'p ObjectSpace.each_object.to_a'
```
segfaults on my M1MBP as follows:
```
$ ruby -e 'p Objec... -
12:57 PM Bug #19158 (Closed): Ruby 3.1.3 installs wrong gemspec for debug gem
- A pristine installation of Ruby 3.1.3 shows an installed `debug-1.6.3.gemspec` file that claims that debug-1.6.3 has ...
-
09:59 AM Feature #12848 (Rejected): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
- Given the feature request I think we can just close it.
-
02:05 AM Feature #12848 (Open): Crazy idea: Allow regex definition for methods (Do not take it seriously please)
-
09:56 AM Feature #6047: read_all: Grow buffer exponentially in generic case
- I just tried my hand at this one: https://github.com/ruby/ruby/pull/6829
I think such a change would make sense. N... -
02:08 AM Feature #6047 (Open): read_all: Grow buffer exponentially in generic case
-
09:23 AM Revision 67ae3e97 (git): Add a test case for argument forwarding
-
09:12 AM Revision ed4b5c4f (git): Extract outdate-bundled-gems.rb
-
09:12 AM Revision 8e3ac264 (git): Fix dependencies of outdate-bundled-gems
- Extract new gems then remove outdated gem directories.
-
09:12 AM Revision aacaa2ec (git): Refine outdate-bundled-gems
-
08:47 AM Revision f19deef3 (git): MJIT: Move Primitive helpers to mjit_c.rb
-
08:23 AM Revision 27f34eeb (git): MJIT: Self-contain extern declarations
- I'm trying to get rid of mjit_compiler.c, and this helps that migration.
-
08:12 AM Revision 8a0acbea (git): MJIT: Refactor CDHASH handling
- Converting a CDHASH into a safe Hash is a lot of work, but retrieving
just values is much easier. -
07:53 AM Revision 44165df1 (git): MJIT: Cache an ISeq pointer instance
- to obviate one rb_funcall. This also removes rb_ptr as refactoring.
-
07:32 AM Revision 2329cbeb (git): MJIT: Merge exivar guards as well
- obviating status->merge_ivar_guards_p as refactoring
-
06:46 AM Revision 322e546f (git): MJIT: Remove an unused field
- This has not been used since recent shape-related changes.
-
06:39 AM Revision 8be62f06 (git): Remove ruby2_keywords related to args forwarding
- This was introduced by b609bdeb5307e280137b4b2838af0fe4e4b46f1c
to suppress warnings. However these warngins were del... -
06:11 AM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- This stays the same in the `preview3`. Are there any chances this will change until release?
Current behavior redu... -
06:03 AM Revision bb6f933d (git): MJIT: Get rid of is_entries copy
- MJIT worker no longer exists, so we don't need this safeguard anymore.
-
05:33 AM Revision 9c13fc61 (git): MJIT: Make it parsable by Solargraph (#6827)
- * Revert "Revert "MJIT: Make it parsable by Solargraph""
This reverts commit 8e18761da1932df88bfb6505acbda4740e1b293... -
05:23 AM Revision acb76663 (git): MJIT: Rename mjit_compiler.h to mjit_c.h
- because it exists primarily for generating mjit_c.rb.
-
05:18 AM Revision 74bdf092 (git): Add tests for [Feature #19134]
- https://bugs.ruby-lang.org/issues/19134?next_issue_id=19133&prev_issue_id=19135#note-4
- 04:59 AM Revision 4db429d2 (git): Update default gems list at 4f8c6711ddb09bb9d0dcbf784e2cde [ci skip]
-
04:58 AM Revision 4f8c6711 (git): [ruby/erb] Version 4.0.2
- https://github.com/ruby/erb/commit/8c8ff1551b
-
04:56 AM Revision 129d208f (git): [ruby/erb] Fix line numbers after multi-line <%#
- (https://github.com/ruby/erb/pull/42)
https://github.com/ruby/erb/commit/526885923e -
02:57 AM Feature #19134: ** is not allowed in def foo(...)
- matz (Yukihiro Matsumoto) wrote in #note-2:
> LGTM.
Thank you. I've merged it.
I realized that my fix also ch... -
02:22 AM Feature #19134 (Closed): ** is not allowed in def foo(...)
- Applied in changeset commit:git|4fc668a4f3b9b67cc7566096ab55cab34c67c158.
----------
Allow ** in def foo(...)
[Feat... -
02:22 AM Revision b5726892 (git): Use rbs HEAD for [Feature #19134]
-
02:22 AM Revision a0e4dc52 (git): Use idFWD_* instead of ANON_*_ID
-
02:22 AM Revision 4fc668a4 (git): Allow ** in def foo(...)
- [Feature #19134]
-
02:06 AM Misc #10791 (Open): [PATCH 1/1] Remove unnecessary passing value from doc for Observable
-
02:05 AM Misc #12911 (Open): Translate docs
-
02:04 AM Feature #15047 (Open): Documentation and more functions for Hash functions in C API
-
01:04 AM Bug #18657 (Closed): IRB raises exception when stdout is a pipe
- This patch has been merged at https://github.com/ruby/irb/pull/353
11/28/2022
-
11:46 PM Bug #19157 (Open): URI bad component validation can be tricked
- `URI::HTTP` checks the validity of the URI components. For example, the path of a URI with authority component must b...
-
11:33 PM Revision ee49fe5d (git): [ruby/net-http] Enhanced RDoc for header Range
- (https://github.com/ruby/net-http/pull/82)
https://github.com/ruby/net-http/commit/a26f62a2e5 - 11:20 PM Revision 579c8cb0 (git): [rubygems/rubygems] Remove pointer to RVM documentation
- https://github.com/rubygems/rubygems/commit/7467019d87
-
10:39 PM Feature #19134: ** is not allowed in def foo(...)
- LGTM.
Matz.
-
08:16 AM Feature #19134: ** is not allowed in def foo(...)
- I've created a pull request: https://github.com/ruby/ruby/pull/6818
With this change a test of rbs.gem fails becau... -
09:45 PM Revision 8a74361b (git): Update yjit.md to mention `RUBY_YJIT_ENABLE`
-
07:15 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- bdewater (Bart de Water) wrote in #note-15:
> I like `dup` as the method name 👍
>
Is there a way we could get m... -
05:04 PM Feature #19000: Data: Add "Copy with changes method" [Follow-on to #16122 Data: simple immutable value object]
- I like `dup` as the method name 👍
tomstuart (Tom Stuart) wrote in #note-9:
> Perhaps another way of putting this ... - 06:45 PM Revision 612b528c (git): Update default gems list at d13de3a62eddb3a706597f7be975e3 [ci skip]
-
06:44 PM Revision d13de3a6 (git): [ruby/irb] Version 1.5.1
- https://github.com/ruby/irb/commit/f9507923fa
-
06:42 PM Revision c5279db7 (git): [ruby/irb] Fix the debug.gem force-loader for Ruby 3.2
- (https://github.com/ruby/irb/pull/458)
* Fix the debug.gem force-loader for Ruby 3.2
* Support 1.7.0dev format as well -
04:20 PM Revision f3ad68dd (git): [ruby/optparse] Fix the test failure i ruby/ruby
- ```
$ make test-all TESTS=test/optparse/
...
[148/178] TestOptionParserDidYouMean#test_raise_unknown = 0.00 s
1) F... -
03:04 PM Misc #19155: documentation of Pathname#join with absolute path
- There is a description.
The doc https://docs.ruby-lang.org/ja/latest/class/Pathname.html#I_JOIN says:
```ruby
... -
09:35 AM Misc #19155 (Closed): documentation of Pathname#join with absolute path
- Pathname#join ignores previous directory name before absolute path
Is this intentional?
```irb
irb(main):002:0... -
02:36 PM Revision b649850d (git): Force to update revision.h after the source updated [ci skip]
-
02:30 PM Bug #19156 (Third Party's Issue): ObjectSpace.dump_all segfault during string inspection
- I am working on a feature that would allow our application to capture heap dumps during shutdown for later inspection...
-
02:24 PM Revision 0bfb1856 (git): [ruby/optparse] Add `raise_unknown` flag
- (https://github.com/ruby/optparse/pull/38)
https://github.com/ruby/optparse/commit/12529653cd - 12:50 PM Revision dcf94e71 (git): Update default gems list at 476700c06f8e54025387f793e17e05 [ci skip]
-
11:55 AM Revision 476700c0 (git): [ruby/syntax_suggest] v1.0.0
- https://github.com/ruby/syntax_suggest/commit/f142fcbf96
-
11:55 AM Revision f64ba0fa (git): [ruby/syntax_suggest] Do not output "Syntax OK" when there's an error
- Due to a problem with ripper we do not recognize `break` as invalid code. It's confusing that "Syntax OK" is output i...
-
11:55 AM Revision 4d51a0b4 (git): [ruby/syntax_suggest] Failing test for #157
- https://github.com/ruby/syntax_suggest/commit/14e8cdc916
-
11:55 AM Revision ee11090b (git): sync_default_gems.rb: move default_branch to REPOSITORIES
- `sync_default_gems_with_commits` also needs the default branch.
-
11:55 AM Revision 6559ba3b (git): sync_default_gems.rb: suppress a duplicated range warning
-
11:55 AM Revision d72f6749 (git): sync_default_gems.rb: adjust indent [ci skip]
-
09:28 AM Revision 8bac8772 (git): Added permission restrictions for GitHub actions
-
08:17 AM Revision 906a2f06 (git): sync_default_gems.rb: extend for singleton methods
-
08:13 AM Revision 8e18761d (git): Revert "MJIT: Make it parsable by Solargraph"
- This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767.
Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE"
Th... -
07:58 AM Revision b033775e (git): MJIT: Fix miniruby with MJIT_FORCE_ENABLE
-
07:46 AM Revision ccd8dd6a (git): MJIT: Make it parsable by Solargraph
-
07:30 AM Revision 93e87c02 (git): Fix the case of multiple trailers
-
07:30 AM Revision 5a171ee4 (git): Add tests for sync_default_gems.rb
-
07:29 AM Revision fb599523 (git): MJIT: Do not document a dynamic type [ci skip]
- Solargraph complains about it
-
07:06 AM Revision 1d120055 (git): MJIT: Avoid hanging on mjit_wait with a JIT failure
-
06:48 AM Revision 168b0e1f (git): Make the timeout of test_system_sigpipe longer
- https://github.com/ruby/ruby/actions/runs/3562236318/jobs/5983796689
-
06:47 AM Revision 2c1c0d3d (git): MJIT: Get rid of C.fprintf
- Faster code generation and cleaner code.
-
06:14 AM Revision 87e7b640 (git): Suppress warnings again
-
05:48 AM Revision 880e8fd1 (git): Relax a too strict timeout
- Regexp tests are flaky.
http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20221128T050004Z.fail.html.gz -
05:44 AM Revision a22c684c (git): MJIT: Refactor invokebuiltin_delegate_leave
- You shouldn't assume bf->compiler is always non-zero. While struct
aref/aset is no longer a builtin function since
ht... -
05:36 AM Bug #19153 (Closed): Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
-
04:51 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
- mame (Yusuke Endoh) wrote in #note-1:
> As I wrote in https://github.com/ruby/cgi/pull/29#issuecomment-1325852303, R... -
04:45 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
- FYI: https://github.com/ruby/cgi/pull/29#issuecomment-1328487556
I released [cgi-0.3.6](https://github.com/ruby/cgi/... -
05:11 AM Revision 6844bcc6 (git): MJIT: Use a String buffer in builtin compilers
- instead of FILE*.
Using C.fprintf is slower than String manipulation on memory. I'm going
to change the way MJIT wri... -
05:04 AM Revision 6d26f78f (git): MJIT: Clear .cache/clangd on bindgen if exists
-
04:57 AM Revision 833545a2 (git): NEWS.md: sort [ci skip]
- 04:41 AM Revision 529e58d6 (git): Update default gems list at b335d899fff3cc22b022c9ee2ceb63 [ci skip]
-
04:40 AM Revision b335d899 (git): [ruby/cgi] Bump up 0.3.6
- https://github.com/ruby/cgi/commit/827b7d43cc
- 04:36 AM Revision e0901f46 (git): [ruby/rdoc] Add `--no-skipping-tests` option
- https://github.com/ruby/rdoc/commit/33925f885f
- 04:34 AM Revision 745dcf53 (git): [ruby/cgi] Loosen the domain regex to accept '.'
- (https://github.com/ruby/cgi/pull/29)
* Loosen the domain regex to accept '.'
Co-authored-by: Nobuyoshi Nakada <nob... - 03:35 AM Revision 1612d576 (git): Update default gems list at 98074a57ca9f3169fe9da9af6c49b6 [ci skip]
-
03:34 AM Revision 98074a57 (git): [ruby/cgi] Prepare to release 0.3.6
- https://github.com/ruby/cgi/commit/710a647855
-
03:31 AM Revision 1a744417 (git): Bundle RBS 2.8.1 (#6819)
- Update `bundled_gems` to bundle RBS 2.8.1
- 02:57 AM Revision 0096d99e (git): Update bundled gems list at 2022-11-28
- 02:42 AM Revision 595f3063 (git): [StepSecurity] ci: Harden GitHub Actions
- Signed-off-by: StepSecurity Bot <[email protected]>
-
12:51 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/6816
-
12:43 AM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
- I and @shugo have been migrated all of mailing-lists to google groups and mailmanlists.net.
```
ruby-core -...
11/27/2022
-
10:50 PM Revision e3de7230 (git): MJIT: Move some private declarations
- and clean up legacy comments for the Ruby migration
-
10:16 PM Revision 2a6dfb1c (git): Synchronously run the MJIT compiler in the parent
- process. Completely isolating the MJIT compilation process complicates a
lot of things for ensuring consistency befor... -
09:34 PM Revision f93ae96b (git): Disable test-all on MJIT CI for now
- https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
-
09:12 PM Revision 62476dd2 (git): Test only --mjit-wait for now
- We've disabled MJIT CI on GitHub Actions for a while. It's convenient
that fork repositories need to see failures or ... -
09:02 PM Revision 03b96319 (git): Skip a broken RDoc test
- http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309535
http://ci.rvm.jp/results/trunk-random0@phosphorus-docke... -
07:46 PM Revision 5b1db791 (git): [ruby/rdoc] Revert "Refactor `RDoc::Markup::Parser#tokenize`"
- This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc.
https://github.com/ruby/rdoc/commit/5d2c47e8b8 -
05:24 PM Revision 21977b95 (git): [ruby/rdoc] Refactor `RDoc::Markup::Parser#tokenize`
- Make verbatims text or newline only, and simplify `build_verbatim`.
https://github.com/ruby/rdoc/commit/41ceae93b3 -
05:24 PM Revision 29862ce2 (git): [ruby/rdoc] Darkfish: group method call-seq in div.method-header
- This way, custom CSS styles can be easily applied to the entire method
header at once. Otherwise, it can be tricky t... -
05:18 PM Revision ae3817bc (git): [ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headings
- This uses `<details><summary>heading</summary><ul>nested</ul></detail>`,
similar to how the classes and pages lists a... -
04:35 PM Revision 511864d1 (git): [ruby/rdoc] Refine regexp usages and reduce substring allocations
- https://github.com/ruby/rdoc/commit/a976fb9d39
-
04:35 PM Revision 1b67c58f (git): [ruby/rdoc] Pull up handle_tab_width to RDoc::Parser
- To share with the duplicate code in RDoc::Parser::Ruby#initialize.
https://github.com/ruby/rdoc/commit/27829ac119 - 06:33 AM Revision d055c44b (git): Update default gems list at 6fdc677186b646f8f011411f827c2f [ci skip]
-
06:32 AM Revision 6fdc6771 (git): [ruby/erb] Version 4.0.1
- https://github.com/ruby/erb/commit/3bb67009dd
-
06:30 AM Revision d2c62426 (git): [ruby/erb] Skip using the extension for truffleruby as well
- (https://github.com/ruby/erb/pull/39)
* Skip using the extension for truffleruby as well
* Just skip building the C... - 06:09 AM Revision ec76c986 (git): [ruby/irb] Activate yamatanooroti tests on CI
- (https://github.com/ruby/irb/pull/459)
* Activate yamatanooroti tests on CI
* Fix delete test
https://github.com/r... -
05:49 AM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
- I get what you're saying. My position on this issue is:
* `CGI` is not a good place either unless you're writing a C... -
04:57 AM Feature #19090: Do not duplicate an unescaped string in CGI.escapeHTML
- Right, I forgot CGI is a default gem too.
I think it seems cleaner for other template engines (e.g. haml, slim, etc)... -
12:21 AM Revision b55da1cd (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeader
- https://github.com/ruby/net-http/commit/77c6878970
-
12:01 AM Bug #19154: Specify require and autoload guarantees in ractors
- Besides this particular error, I am wondering about concurrency guarantees in parallel requires to the same file, or ...
Also available in: Atom