Activity
From 10/05/2022 to 10/11/2022
10/11/2022
- 11:59 PM Revision ced1d172 (git): Improvements to IO::Buffer implementation and documentation. (#6525)
-
11:55 PM Misc #18888 (Closed): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
- done.
-
09:41 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- Submitted `alias_method` patch as https://github.com/ruby/delegate/pull/13.
-
08:52 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- > I can submit a PR with the alias_method patch, and then open a new issue for this use case (with the "delegator methods module" patch attached).
Sounds like the correct approach to me. First a patch with basically no change which is... -
08:50 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- > The main reason to prefer `alias_method` is that it's the least amount of changes, so least likely to break anything.
That's a good reason! 😄
There is one more use case that would be affected:
```ruby
Base = Class.new do
d... -
06:16 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- > Is there another reason to prefer the alias_method solution?
The main reason to prefer `alias_method` is that it's the least amount of changes, so least likely to break anything.
The fast `super` call argument in favor of using a... -
06:09 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- Indeed, `alias_method` is another possibility! And also [Jean's suggestion](https://github.com/rails/rails/pull/46189#discussion_r988685084) of defining the delegator methods in a module.
Unfortunately, my suggestion of evaluating th... -
12:36 PM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- For context this was originally discussed on a Rails PR to eliminate warnings from our test suite: https://github.com/rails/rails/pull/46189#discussion_r987395361
In my opinion this is a bug, because if you are creating a delegator, i... -
01:55 AM Bug #19047: DelegateClass displays "method redefined" warning when overriding methods
- Yet another possible solution would to add `alias_method(method, method)` after `define_method` calls.
- 08:37 PM Revision 467992ee (git): Implement optimize send in yjit (#6488)
- * Implement optimize send in yjit
This successfully makes all our benchmarks exit way less for optimize send reasons.
It makes some benchmarks faster, but not by as much as I'd like. I think this implementation
works, but there are defi... -
08:32 PM Bug #19043: Segfault on macOS 11.7 while using StringScanner in multiple threads
- keithdoggett (Keith Doggett) wrote:
> If there's any tips on how to reproduce or anything you want me to try to get more information please let me know.
@keithdogget I can see that you run with `GC.auto_compact=true` on CI ([from here]... -
01:19 AM Bug #19043: Segfault on macOS 11.7 while using StringScanner in multiple threads
- This seems related to compaction-GC, since crashed at `revert_stack_objects`.
@tenderlovemaking, any thoughts? -
03:40 PM Revision 913979be (git): Make inline cache reads / writes atomic with object shapes
- Prior to this commit, we were reading and writing ivar index and
shape ID in inline caches in two separate instructions when
getting and setting ivars. This meant there was a race condition
with ractors and these caches where one ractor ... -
03:40 PM Revision ad63b668 (git): Revert "Revert "This commit implements the Object Shapes technique in CRuby.""
- This reverts commit 9a6803c90b817f70389cae10d60b50ad752da48f.
-
01:45 PM Bug #19048: Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL
- Attempting to install Ruby 3.1.x fails when executed with `asdf install ruby 3.1.2` or `rbenv install 3.1.2`. Attempts to install 3.1.0 and 3.1.1 also fail. 3.0.3 and 3.2.0-preview2 succeed. rbenv and all elements of ruby were uninsta...
-
01:39 PM Bug #19048 (Closed): Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL
- 12:29 PM Revision 5ffbb2be (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.30 to 0.9.31.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.30...v0.9.31)
---
updated-depende... - 12:29 PM Revision ccf61c01 (git): [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.30 to 0.9.31.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.30...v0.9.31)
---
updated-depende... -
07:25 AM Revision 1a66d42f (git): [DOC] use the local rdoc reference than the external URI
-
02:51 AM Feature #19024: Proposal: Import Modules
- @jeremyevans0
Thanks for your thoughtful response!
> For similar reasons, making require implicitly support the currently wrapping module would break idempotency and therefore I do not think it should be considered.
I agree, and from ... -
01:44 AM Revision 1dd774f5 (git): [ruby/open-uri] Remove unused files from the packages
- https://github.com/ruby/open-uri/commit/b2d9efbaf8
10/10/2022
- 09:18 PM Revision 1bafa4a5 (git): Ignore failure to set nonblock mode. (#6524)
-
07:30 PM Bug #19047 (Closed): DelegateClass displays "method redefined" warning when overriding methods
- Perhaps this is not a bug, but it does seem unexpected.
When creating a `DelegateClass` class without an intervening ancestor, overriding a method displays "method redefined" warning:
```ruby
Base = Class.new do
def foo
"f... -
04:27 PM Misc #19040: DevMeeting-2022-10-20
- * [Bug #19033] One-liner pattern match as Boolean arg syntax error (jeremyevans0)
* `m(a in b)` is syntax error, similar to how `m(a if b)` is a syntax error
* `m a in b` is a syntax error, but `m a if b` is not (parsed as `m(a) if... -
04:23 PM Bug #18799 (Closed): Refinement#import_methods vs attr_reader
-
04:08 PM Bug #19041 (Closed): Weakref is still alive after major garbage collection
-
02:40 PM Feature #19045: [Proposal] Add support Data#pretty_print
- `"3.2" <= RUBY_VERSION` won't work when `RUBY_VERSION` is "3.10", but probably never.
And it is needed in the test.
Can't you send the PR to ruby/pp, so it will be tested with older versions? -
08:49 AM Feature #19045: [Proposal] Add support Data#pretty_print
- nobu (Nobuyoshi Nakada) wrote in #note-2:
> Since `pp.rb` is a part of a default gem now, you have to consider the compatibility with older versions.
Thanks.
I've tried to fix it, but what do you think.
https://github.com/ruby/ruby... -
07:46 AM Feature #19045: [Proposal] Add support Data#pretty_print
- Since `pp.rb` is a part of a default gem now, you have to consider the compatibility with older versions.
-
04:53 AM Feature #19045: [Proposal] Add support Data#pretty_print
- ~~LGTM.~~
-
04:15 AM Feature #19045 (Closed): [Proposal] Add support Data#pretty_print
- While trying out the `Data` library I noticed that `Data#pretty_print` is not supported.
`Data#inspect` included members, but `Data#pretty_print` does not.
```ruby
require "pp"
D = Data.define(:hoge, :foo, :bar)
data = D.new("ho... -
02:21 PM Bug #19046 (Closed): [BUG] Bus Error at 0x00000001044b0000
- Ruby 2.6 is out of support. Please try with Ruby 3.0 or 3.1.
-
11:31 AM Bug #19046 (Closed): [BUG] Bus Error at 0x00000001044b0000
- Issue while installing pods in Apple M1 chip.
/Users/lg/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x00000001044b0000
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21] -
12:54 PM Feature #18821: Expose Pattern Matching interfaces in core classes
- matz (Yukihiro Matsumoto) wrote in #note-6:
> I agree with MatchData. And I think `deconstruct` for the class should be an alias to `captures` instead of `to_a`.
I've merged `MatchData#deconstruct`, `decostruct_keys` ([PR](https://gi... -
09:35 AM Revision 1a7e7bb2 (git): object.c: rb_eql returns int not VALUE
- It works, but assumes `Qfalse == 0`, which is true today
but might not be forever. -
08:51 AM Revision 994b505f (git): merge revision(s) 7f4345639b09395f2ab423d1cdac6f2ddf0707de:
- fake.rb: Set prefix to `$topdir`
Not to refer outside the top build directory from rbconfig.
---
tool/fake.rb | 1 +
1 file changed, 1 insertion(+) -
04:52 AM Revision f1c89c81 (git): Reuse `with_warning_string_from` macro
-
04:41 AM Revision 6c5a8c20 (git): Ignore excessive precisions
- 04:22 AM Revision 2dd1a037 (git): * expand tabs. [ci skip]
- Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook. -
04:21 AM Revision 0a98dd1c (git): Should use dedecated function `Check_Type`
-
03:41 AM Revision 4954c9fc (git): Add MatchData#deconstruct/deconstruct_keys
10/09/2022
-
12:24 PM Bug #19044 (Open): Attempting to compile a static ruby 3.1 fails with MinGW
- 1. I use the code from https://github.com/ruby/ruby/tree/ruby_3_1 and GHA workflow at https://github.com/ruby/ruby/blob/ruby_3_1/.github/workflows/mingw.yml as a baseline
2. I alter configure command in the workflow from
```
- name... -
10:07 AM Revision 546566d3 (git): Do not set `$!` to `SyntaxError` when error tolerant
-
10:05 AM Revision d9e2ef60 (git): Extract `assert_error_tolerant`
-
07:27 AM Revision f178ff39 (git): Allow abbreviated dump options with additional options
-
07:26 AM Revision 43f69224 (git): Set AST prettyprint width to 80 explicitly
- `PrettyPrint` results depend on the `COLUMNS` environment variable by
default. -
05:56 AM Revision 02af7847 (git): Revert "sync tool/rbinstall.rb to current master."
- This reverts commit bda0b8c09331111f38af98291c201595ce3a2872.
-
05:00 AM Revision 561b6c4f (git): Remove unused macro
- NEW_PREEXE has not been used since 52a5f76e8b1ab02ee6e259a7cff9e8c5475744e8
-
03:15 AM Revision bda0b8c0 (git): sync tool/rbinstall.rb to current master.
10/08/2022
-
07:06 PM Revision b22a2803 (git): Fix flaky test test_thrashing_for_young_objects
- The test could be flaky when a heap has below GC_HEAP_INIT_SLOTS number
of free slots because it would trigger a major GC and allocate more
pages. -
06:30 PM Feature #19024: Proposal: Import Modules
- @shioyama Thank you for that explaination, I now have a better understanding of the motivation for this proposal.
In terms of loading code, Ruby has two methods, `load` and `require`. `load` can take a wrapping module, `require` cann... -
02:27 PM Feature #19024: Proposal: Import Modules
- Before I start, I'd like to put aside the problem of transitive `require` and of compiled native extensions for a moment. These are the most contentious points of this proposal, and I now regret making them so central because they are no...
-
02:29 PM Revision 8483737b (git): Fix typos
-
01:30 PM Revision 50f52232 (git): Fix SEGV of dump parsetree
- Assign internal_id to semantic value so that dump parsetree option
can render the tree for these codes without SEGV.
* `def m(&); end`
* `def m(*); end`
* `def m(**); end` -
10:30 AM Revision 0f231f2b (git): [ruby/optparse] Don't treat empty string as an option description
- https://github.com/ruby/optparse/commit/078638ee6d
-
08:59 AM Feature #19013 (Closed): Error Tolerant Parser
- Applied in changeset commit:git|fbbdbdd8911ffb24d98bb71c7c33d24609ce7dfe.
----------
Add error_tolerant option to RubyVM::AST
If this option is enabled, SyntaxError is not raised and Node is
returned even if passed script is broken.
[... -
08:59 AM Revision 35310860 (git): "expr_value" can be error
- So that "IF" node is kept in the case below
```
def m
if
end
```
[Feature #19013] -
08:59 AM Revision 4bfdf6d0 (git): Move `error` from top_stmts and top_stmt to stmt
- By this change, syntax error is recovered smaller units.
In the case below, "DEFN :bar" is same level with "CLASS :Foo"
now.
```
module Z
class Foo
foo.
end
def bar
end
end
```
[Feature #19013] -
08:59 AM Revision 4f24f3ea (git): Treat "end" as reserved word with consideration of indent
- "end" after "." or "::" is treated as local variable or method,
see `EXPR_DOT_bit` for detail.
However this "changes" where `bar` method is defined. In the example
below it is not module Z but class Foo.
```
module Z
class Foo
foo... -
08:59 AM Revision 342d4c16 (git): Generates "end" tokens if parser hits end of input
- but "end" tokens are needed for correct language.
[Feature #19013] -
08:59 AM Revision 52eaffde (git): Support "+error-tolerant" as ruby option
- [Feature #19013]
-
08:59 AM Revision fbbdbdd8 (git): Add error_tolerant option to RubyVM::AST
- If this option is enabled, SyntaxError is not raised and Node is
returned even if passed script is broken.
[Feature #19013] -
08:01 AM Bug #18455: `IO#close` has poor performance and difficult to understand semantics.
- I didn't realise it but I already filed a bug for a race condition in this behaviour too: https://bugs.ruby-lang.org/issues/14681
-
07:53 AM Feature #18005 (Closed): Enable non-blocking `binding.irb`.
- This is fixed and working correctly. But we might want to add tests so it doesn't break in the future.
-
07:34 AM Feature #18411 (Closed): Introduce `Fiber.blocking` for disabling scheduler.
- It was merged.
-
07:34 AM Feature #18630 (Closed): Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- It was merged.
- 07:05 AM Revision 7775d143 (git): Update bundled gems list at 2022-10-08
- 03:36 AM Revision 1fe2e346 (git): Fix a typo Denail-of-Service => Denial-of-Service [ci skip]
-
03:29 AM Revision a74626a8 (git): bump patchlevel
- 03:27 AM Revision df738817 (git): * 2022-10-08 [ci skip]
-
03:27 AM Revision d77e6e65 (git): Merge RubyGems-3.3.23 and Bundler-2.3.23
- 01:02 AM Revision 844a9dff (git): Try `nil` as default for 'default timeout'. (#6509)
10/07/2022
-
09:44 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
- Thank you all for looking at this issue. I have some more cycles now. I took a look at the explanation and the PR. I don't feel equipped to weigh in on the implementation. I understand the problem description and proposed solution(s).
-
06:17 PM Revision 5b3079a8 (git): [ruby/irb] Sort constant completion's candidates
- https://github.com/ruby/irb/commit/ee9b33c817
-
06:17 PM Revision 7cafe09a (git): [ruby/irb] Lazily evaluate candidates locals
- https://github.com/ruby/irb/commit/19a2fcbd87
-
06:17 PM Revision 7be5e9b9 (git): [ruby/irb] Correct assert_equal's usage in completion tests
- https://test-unit.github.io/test-unit/en/Test/Unit/Assertions.html#assert_equal-instance_method
https://github.com/ruby/irb/commit/00f90d40ad -
06:17 PM Revision afc1f4fb (git): [ruby/irb] Add constant completion test
- https://github.com/ruby/irb/commit/39f8fcb058
-
06:17 PM Revision 3e18bb91 (git): [ruby/irb] Regroup completion tests
- https://github.com/ruby/irb/commit/71631287c8
-
06:17 PM Revision 83a9b915 (git): [ruby/irb] Add tests for primitive types' method completion
- https://github.com/ruby/irb/commit/2e12fac38e
-
04:38 PM Revision d76854f1 (git): Update NEWS about [Feature #18589]
-
03:05 PM Feature #18885: End of boot advisory API for RubyVM
- Thank you Matz!
> My only concern is that the target of warming up might not be Process in the future
Given the type of optimizations we have in mind right now, I think they'll still be global even on a Ractor heavy context. The ma... -
02:38 PM Feature #18885: End of boot advisory API for RubyVM
- Process.warmup sounds better than other candidates. My only concern is that the target of warming up might not be Process in the future (e.g. when Ractor local GC is introduced).
Matz.
-
02:04 PM Feature #14022: String#surround
- schmijos (Josua Schmid) wrote in #note-20:
> I've got another example of how I'd like to use `surround` in Rails string building:
> ...
```ruby
model_instance.name.presence&.then { "(#{_1})" }
``` -
12:34 PM Feature #14022: String#surround
- I've got another example of how I'd like to use `surround` in Rails string building:
```rb
model_instance.name.presence&.surround('(%s)')
# or
model_instance.name.presence&.surround('(', ')')
``` -
01:39 PM Revision ad0def7f (git): Add more debugging output to test_thrashing_for_young_objects
-
01:11 PM Bug #19007: Unicode tables differences from Unicode.org 14.0 data
- nobu (Nobuyoshi Nakada) wrote:
> But U+11720..U+11721 in `CR_Grapheme_Cluster_Break_SpacingMark` is absent in the original data of the Unicode.org.
> ...
Read https://www.unicode.org/reports/tr29/#SpacingMark again, and found U+11720 a... -
12:20 PM Feature #19024: Proposal: Import Modules
- > You’re right, I was wrong to characterize it as such as it does minimize the thought and work you have put into this. I’m sorry.
Thank you, I really appreciate it. - 11:33 AM Revision 24f3e397 (git): Add spec for `Coverage.supported?` and `start(eval: true)`. (#6499)
- * Don't emit coverage for eval when eval coverage is disabled.
-
11:05 AM Feature #18980: `it` as a default block parameter
- I would like to provide a data point.
I have been using Ruby for 10+ years and for a long time I missed a syntax that would allow me to map things quickly. Over time I decided to always use a variable named `x` for such purposes: `ma... - 10:37 AM Revision 1e6cdc76 (git): [ruby/logger] Fix the Logger::Formatter documentation
- https://github.com/ruby/logger/commit/db554fbda7
- 09:51 AM Revision a081fe76 (git): Simplify default argument specification. (#6507)
- 08:48 AM Revision e4f91bbd (git): Add IO#timeout attribute and use it for blocking IO operations. (#5653)
-
08:32 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- I am OK with it. Let us put aside having aggregating timeout errors (like `TimeoutError` module) for the future.
Matz.
-
02:28 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- @matz I've updated the PR so it has the following structure:
``` ruby
class IO::TimeoutError < IOError
end
```
Is that acceptable?
We can decide in separate issue to introduce general top level `TimeoutError`.
Since we no ... - 07:03 AM Revision e76217a7 (git): Update bundled gems list at c3a87e16d8edea1496eebc60d7514f [ci skip]
-
07:02 AM Revision c3a87e16 (git): Bundle RBS 2.7.0 (#6506)
-
06:20 AM Revision 4f78560c (git): Add --with-libffi-source-dir feature and removed --enable-bundled-libffi option. (#113)
- https://bugs.ruby-lang.org/issues/18571
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Sutou Kouhei <kou@clear-code.com> - 06:18 AM Revision 92f0c539 (git): [ruby/fiddle] test: don't use assert_true/assert_false
- GitHub: GH-102
They aren't available in ruby/ruby.
https://github.com/ruby/fiddle/commit/ced671e43b - 06:18 AM Revision ada9f8a9 (git): [ruby/fiddle] closure: follow variable name change
- GitHub: GH-102
https://github.com/ruby/fiddle/commit/2530496602 - 06:18 AM Revision a4ad6bd9 (git): [ruby/fiddle] closure: free resources when an exception is raised in Closure.new
- GitHub: GH-102
https://github.com/ruby/fiddle/commit/81a8a56239 - 06:18 AM Revision 9f62768e (git): [ruby/fiddle] test: ensure freeing closure
- GitHub: GH-102
https://github.com/ruby/fiddle/commit/b2fef1770d - 06:18 AM Revision 824c474c (git): [ruby/fiddle] test: ensure freeing closure
- GitHub: GH-102
This also improves freed closures assertions.
https://github.com/ruby/fiddle/commit/0495624caf - 06:18 AM Revision dfca6a87 (git): [ruby/fiddle] test: don't use power-assert
- It seems that we can't use it in ruby/ruby.
https://github.com/ruby/fiddle/commit/e1221297fb - 06:18 AM Revision 7c331412 (git): [ruby/fiddle] test: ensure freeing closure
- GitHub: GH-102
This also improves freed closures assertions.
https://github.com/ruby/fiddle/commit/f6431f3cf8 - 06:18 AM Revision 255e617b (git): [ruby/fiddle] Add Fiddle::Closure.create and Fiddle::Closure.free
- GitHub: fix GH-102
It's for freeing a closure explicitly.
We can't use Fiddle::Closure before we fork the process. If we do it,
the process may be crashed with SELinux.
See https://github.com/ruby/fiddle/issues/102#issuecomment-124176... - 06:18 AM Revision 191b91f4 (git): [ruby/fiddle] test: suppress a warning
- test/fiddle/test_import.rb:138: warning:
ambiguous first argument; put parentheses or a space even after `-' operator
https://github.com/ruby/fiddle/commit/060eef76ad -
06:18 AM Revision 0097c7f3 (git): [ruby/fiddle] Add `sym_defined?` methods to test if a symbol is defined (https://github.com/ruby/fiddle/pull/108)
- I would like to check if a symbol is defined before trying to access it.
Some symbols aren't available on all platforms, so instead of raising an
exception, I want to check if it's defined first.
Today we have to do:
```ruby
begin
ad... -
06:18 AM Revision 755d99e8 (git): [ruby/fiddle] Move "type" constants to `Fiddle::Types` (https://github.com/ruby/fiddle/pull/112)
- This helps to reduce repetition in code. Instead of doing "TYPE_*"
everywhere, you can do `include Fiddle::Types`, and write the type name
directly.
This PR is to help reduce repetition when writing Fiddle code. Right now
we have to typ... -
06:18 AM Revision 48a64984 (git): [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111)
- This commit adds constants for unsigned values. Currently we can use `-`
to mean "unsigned", but I think having a specific name makes Fiddle more
user friendly. This commit continues to support `-`, but introduces
negative constants with... - 06:18 AM Revision 6d01b667 (git): [ruby/fiddle] test: ensure GC-ing closures
- GitHub: fix GH-102
We can't use Fiddle::Closure before we fork the process. If we do it,
the process may be crashed with SELinux.
See https://github.com/ruby/fiddle/issues/102#issuecomment-1241763091
for details.
Reported by VÃt Ondru... -
05:41 AM Revision 1b7c5c39 (git): [ruby/date] Fix misplaced time zone offset checks
- https://github.com/ruby/date/commit/d21c69450a
-
05:38 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
- I and nobu added `--with-xxx-source-dir` option for psych and fiddle instead of `--enable-bundled-libyaml`.
* https://github.com/ruby/psych/pull/544
* https://github.com/ruby/fiddle/pull/113
The users who want to use newer version... -
05:17 AM Bug #18034 (Closed): Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
- I created https://github.com/ruby/fiddle/pull/113. It removed `--enable-bundled-libffi` and add `--with-libffi-source-dir`. We leave from the bundled source code from Ruby 3.2.
-
03:55 AM Revision fc218e59 (git): [ruby/psych] Removed the related condition of --enable-bundled-libyaml
- https://github.com/ruby/psych/commit/7c211a43c1
-
03:55 AM Revision 94d4bea7 (git): [ruby/psych] --enable-bundled-libyaml config has been removed
- https://github.com/ruby/psych/commit/447d372dcd
-
03:12 AM Revision a87de5e3 (git): [ruby/rdoc] Special characters are prohibited as filename on Windows
- https://github.com/ruby/rdoc/commit/13b9da5932
-
03:12 AM Revision 39909d8c (git): [ruby/rdoc] Escape search results
- https://hackerone.com/reports/1321358
https://github.com/ruby/rdoc/commit/2ebf8fd510 -
03:12 AM Revision a3cb09c7 (git): [ruby/rdoc] Escape file names
- https://hackerone.com/reports/1321358
https://github.com/ruby/rdoc/commit/8c07cc4657 -
03:09 AM Revision 8d0b2162 (git): [ruby/rdoc] Escape main title
- https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/5dedb5741d -
03:09 AM Revision 586e18b9 (git): [ruby/rdoc] Escape HYPERLINKs
- https://github.com/ruby/rdoc/commit/ac35485be6
-
03:09 AM Revision 9e3ab9da (git): [ruby/rdoc] Escape RDOCLINKs
- https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/7cecf1efae -
03:09 AM Revision deaa6566 (git): [ruby/rdoc] Escape TIDYLINKs
- https://hackerone.com/reports/1187156
https://github.com/ruby/rdoc/commit/1ad2dd3ca2
10/06/2022
-
10:42 PM Revision 0472effc (git): YJIT: add an assert for branch_stub_hit() (#6505)
- We set the PC in branch_stub_hit(), which only makes sense if we're
running with the intended iseq for the stub. We ran into an issue caught
by this while tweaking code layout. -
10:41 PM Revision 43e87c7e (git): YJIT: fix ARM64 bitmask encoding for 32 bit registers (#6503)
- For logical instructions such as AND, there is a constraint that the N
part of the bitmask immediate must be 0. We weren't respecting this
condition previously and were silently emitting undefined instructions.
Check for this condition ... - 09:58 PM Revision fa2e1b67 (git): [ruby/open-uri] Support 308 status redirect
- https://github.com/ruby/open-uri/commit/d8899ae4ac
-
09:08 PM Bug #19043 (Open): Segfault on macOS 11.7 while using StringScanner in multiple threads
- During testing on our CI, one of the runners failed due to a segfault that appears to have originated from the `StringScanner` class, specifically the `scan_until` method. The test ensures that we are able to properly parse strings in a ...
-
08:02 PM Revision 7837dccb (git): Adapt doc guide to new GFM features (#6504)
- * Adapt doc guide to new GFM features
* Adapt doc guide to new GFM features -
07:39 PM Bug #19042 (Closed): Bug: Dir.glob ignores subdirectories in alternation when alternation is preceded by recursive directory pattern
- The Dir.glob method omits results from subdirectories listed in an alternation when that alternation is preceded by a recursive directory pattern (`**/`).
Demonstration here: https://replit.com/@MattKern1/Dirglob-subdirectory-alternat... -
07:32 PM Bug #19041: Weakref is still alive after major garbage collection
- I don't think this is a bug per say. The Ruby GC is conservative. That means it goes over the whole stack in search for potential references to objects, and mark them.
As a result, it can happen that an object ref stays in an unused s... -
07:03 PM Bug #19041 (Closed): Weakref is still alive after major garbage collection
- I am able to get into an infinite loop waiting for garbage collection to take a WeakRef.
### Reproduction Process
The following script prints a "0", then a "1", and then hangs forever. I expect it to keep printing numbers.
```
requ... -
06:58 PM Revision 43650f60 (git): Notify CI failures of Miscellaneous checks
-
06:56 PM Revision 1f2c84de (git): [ruby/rdoc] Remove trailing spaces to fix CI
- https://github.com/ruby/ruby/actions/runs/3199301563/jobs/5224898228
https://github.com/ruby/rdoc/commit/369e4fa32d60bc00982801a6848efe5338603ac5 -
05:46 PM Revision 3df904d1 (git): Add debug output to test_thrashing_for_young_objects
- The test is failing only on trunk-repeat50@phosphorus-docker. This
commit adds some debugging output to debug the failure. - 05:13 PM Revision 13e87e50 (git): fix Data docs (#6497)
-
04:37 PM Misc #19040: DevMeeting-2022-10-20
- * [Feature #12084] Add `Class#attached_object` (ufuk)
* The proposed method returns the object that the receiver is the singleton class for, and raises `TypeError` if the receiver is not a singleton class.
* There is one particular... -
02:39 PM Misc #19040 (Closed): DevMeeting-2022-10-20
- # The next dev meeting
**Date: 2022/10/20 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/master/DevMeeting-2022-10-20.md
- Dev meeting *IS NOT* a decision-making place. All decisions should be done at the bu... -
04:23 PM Feature #19024: Proposal: Import Modules
- shioyama (Chris Salzberg) wrote in #note-17:
> Just one thing before I respond to other comments:
> ...
You’re right, I was wrong to characterize it as such as it does minimize the thought and work you have put into this. I’m sorry. -
09:26 AM Feature #19024: Proposal: Import Modules
- Just one thing before I respond to other comments:
@austin
> which makes this misfeature less useful
I should probably ignore this, but I can't.
I asked for "constructive feedback", and I very much include in that constructiv... -
04:20 PM Feature #18798: `UnboundMethod#==` with inherited classes
- Thanks for confirming. It sounds good to me.
Does @ko1 or anyone else plan to work on this? Otherwise I can give it a try when I have some time. -
02:29 PM Feature #18798: `UnboundMethod#==` with inherited classes
- > No class field anymore:
> ...
This understanding is correct.
Discussed at the dev meeting. To the best of our knowledge, the receiver of instance_method is now only used in `UnboundMethod#inspect` (and `#to_s`). At the dev meeting,... -
12:07 PM Feature #18798: `UnboundMethod#==` with inherited classes
- In code terms:
```ruby
module M
def foo
end
end
class A
prepend M
def foo
end
end
class B
prepend M
def foo
end
end
a = A.instance_method(:foo)
b = B.instance_method(:foo)
p a
p b
p a == b
p [a.... -
12:00 PM Feature #18798: `UnboundMethod#==` with inherited classes
- `UnboundMethod#inspect` currently shows the class used for lookup:
```
irb(main):001:0> String.instance_method(:object_id)
=> #<UnboundMethod: String(Kernel)#object_id()>
```
Without it we can't show `String` here, it'd have to be `#<Unb... -
06:07 AM Feature #18798: `UnboundMethod#==` with inherited classes
- I don't think UnboundMethod needs the reference to the class that generates the object, so that `UnboundMethod#==` works.
Matz.
-
04:02 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
- Sounds OK-ish except I think `full_message` should be called instead of `detailed_message`.
Also if terminating all threads takes a while it delays the printing significantly, that's not so nice.
The order I posted above seems much cle... -
02:35 PM Bug #19016: syntax_suggest is not working with Ruby 3.2.0-preview2
- At the dev meeting, @nobu proposed a slightly different order of termination process: (1) calls #detailed_message and keep the result string, (2) terminates all threads, and (3) prints the kept message.
@nobu Do you create a patch? -
02:49 PM Feature #19022: Use __builtin_ppc_get_timebase on POWER with clang
- I use Clang 13.0.0 on FreeBSD 13.1-RELEASE. I can see it was added in https://github.com/llvm/llvm-project/commit/65e1e4dbe0f1fff23eceeb0fcadd93e8f0a302aa.
-
02:43 PM Feature #19022: Use __builtin_ppc_get_timebase on POWER with clang
- At the dev meeting, @akr was wondering which version of clang supports the function.
-
02:38 PM Misc #18977 (Closed): DevMeeting-2022-09-22
-
07:07 AM Misc #18977: DevMeeting-2022-09-22
- * [Bug #19016] syntax_suggest is not working with Ruby 3.2.0-preview2
* What's blocker now? -
02:30 PM Revision bbbdb574 (git): [DOC] Integrate io_streams.rdoc into io.c (#6491)
- Integrate io_streams.rdoc into io.c
-
02:22 PM Revision cf3056be (git): [ruby/rdoc] Add center align
- https://github.com/ruby/rdoc/commit/512cc55a0e
-
02:21 PM Revision 28e24ce3 (git): [ruby/rdoc] Allow spaces around pipes
- https://github.com/ruby/rdoc/commit/3b3a583580
-
02:17 PM Revision 7c03c824 (git): [ruby/rdoc] Allow escaped pipes in cells
- https://github.com/ruby/rdoc/commit/333952a62d
-
02:16 PM Revision f6c916c7 (git): [ruby/rdoc] Allow leading pipes to be ommitted
- https://github.com/ruby/rdoc/commit/d263a2c9c4
-
02:14 PM Revision a19bf47d (git): [ruby/rdoc] Allow trailing pipes to be ommitted
- https://github.com/ruby/rdoc/commit/1318048877
-
01:01 PM Bug #19038 (Closed): Corruption of generic_iv_tbl when compacting
- Applied in changeset commit:git|76bae60d9b967415c5930c2c5906e14c8362a6dd.
----------
[Bug #19038] Fix corruption of generic_iv_tbl when compacting
When the generic_iv_tbl is resized up, rebuild_table performs
allocations that can trigg... -
01:01 PM Revision 76bae60d (git): [Bug #19038] Fix corruption of generic_iv_tbl when compacting
- When the generic_iv_tbl is resized up, rebuild_table performs
allocations that can trigger GC. If autocompaction is enabled, then
moved objects are removed from and inserted into the generic_iv_tbl.
This may cause another call to rebuild... -
10:49 AM Revision d2f4cbf0 (git): merge revision(s) 5101671cbc008230cae7b5c2190b2f6938a19f74:
- Disable parallel built in test-bundled-gems
---
common.mk | 2 +-
tool/test-bundled-gems.rb | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-) - 10:00 AM Revision e696ec67 (git): Introduce `Fiber.blocking{}` for bypassing the fiber scheduler. (#6498)
-
09:24 AM Revision 75a53f6b (git): [ruby/rdoc] Allow RDoc markups in table cells
- https://github.com/ruby/rdoc/commit/b16d3f1727
-
09:24 AM Revision e929b0aa (git): [ruby/rdoc] Add `RDoc::Markup::ToHtml#accept_table` test
- https://github.com/ruby/rdoc/commit/0cb3df713b
- 09:01 AM Revision 4e1086f9 (git): * remove trailing spaces. [ci skip]
- 09:00 AM Revision 43e92509 (git): [ruby/open-uri] fix: added test case that validates that bad TLS version is silently ignored
- https://github.com/ruby/open-uri/commit/4b91b11730
- 09:00 AM Revision cdbaac3f (git): [ruby/open-uri] feat: allow option to pass version of SSL / TLS to use during communication. Allow versions are OpenSSL::SSL::SSLContext::METHODS
- https://github.com/ruby/open-uri/commit/8729858517
-
08:42 AM Bug #18743: Enumerator#next / peek re-use each others stacktraces
- Hello @matz, please let me know if someone else should be pinged for this.
-
08:15 AM Revision 7f80ec47 (git): [ruby/open-uri] Use omit instead of skip for test-unit
- https://github.com/ruby/open-uri/commit/63f466d6ed
-
08:15 AM Revision cc5313ce (git): [ruby/open-uri] Run global constant count test only under Ruby 3.2
- https://github.com/ruby/open-uri/commit/a8f1605ae9
-
08:08 AM Feature #18411: Introduce `Fiber.blocking` for disabling scheduler.
- It was accepted.
PR: https://github.com/ruby/ruby/pull/6498 -
08:01 AM Feature #18589: Finer-grained constant invalidation
- Note: This proposal merged at https://github.com/ruby/ruby/pull/5716 again.
-
07:55 AM Revision d15b38d9 (git): [ruby/open-uri] Avoid busting the global constant cache
- `Object#extend(mod)` bump the global constant cache if the module
has constants of its own.
So by moving these constants outside of `Meta` we avoid bumping
the cache.
https://github.com/ruby/open-uri/commit/363c399bac -
06:53 AM Feature #19023: Enable riscv64 coroutines on riscv64-freebsd, arm32 on arm*-freebsd and ppc on powerpc-freebsd
- It looks okay to me, but I don't know about how we test this and track regressions.
-
06:49 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
- Works for me. I'll leave this ticket open until I add some more spec and documentation to the existing method.
-
06:47 AM Feature #18982: Add an `exception: false` argument for Queue#push, Queue#pop, SizedQueue#push and SizedQueue#pop
- > Because timeout: 0 in some APIs (not necessarily ruby) can mean no timeout.
Already the implementation do -> "Queue#pop(timeout:0) returns nil if Queue is empty" so no problem? -
06:44 AM Bug #18978 (Feedback): Unexpected behaviour in Time.utc and Time.local when 8 arguments are passed in
- Even if `parsedate` is a pretty old library, I am not sure if it's OK to stop supporting it.
Do we rally have enough benefit to break the compatibility?
Matz.
-
05:54 AM Bug #18790 (Closed): cannot load such file -- digest (LoadError)
- The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened. -
05:54 AM Bug #18758 (Closed): Ruby fails to build on M1 Mac when x86 Homebrew is installed
- The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened. -
05:54 AM Bug #18764 (Closed): Build Error when Using msys2-mingw64 and Ruby 3.2
- The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2.
This issue no longer happened. -
05:52 AM Feature #18068 (Closed): Silence LoadError only if it is for rubygems itself
- https://github.com/ruby/ruby/pull/4719 has been merged.
-
05:30 AM Bug #19039 (Open): Closing an IO being select'ed in another thread does not resume the thread
- Is this intentional?
```ruby
r1, w1 = IO.pipe
r2, w2 = IO.pipe
Thread.new do
select([r1, r2])
p :ok
end
sleep 1
p r1.close
# expected: closing r1 resumes select([r1, r2]) in the thread
# actual: select([r1, r2]) ... -
05:27 AM Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
- mame (Yusuke Endoh) wrote in #note-2:
> Please write your ticket as self-contained and concise as possible.
Done edit, please check. -
02:09 AM Bug #19037: [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
- Please write your ticket as self-contained and concise as possible.
-
02:08 AM Bug #19037 (Feedback): [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
- Can you update the details of your request/question? It's hard to understand by "Please check the discuss here".
-
04:46 AM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
- ### Naming Convention
Looking at #note-3, the last dev-meeting's primary ask was to provide a rationale for naming the configurations. So far, the following things have been mentioned:
* [ECMA-48 standard](https://www.ecma-international... -
04:22 AM Feature #18919: Ractor: can't share #Method objects
- Now Method object is not shareable, but if the receiver is shareable, we can make it shareable.
Matz asked me to make it shareable, so we can consider the spec. -
01:04 AM Revision 3e842902 (git): [ruby/rdoc] Remove unused abbrev require
- This library originally used `abbrev` to expand abbreviations into
fully-qualified classes, but that was replaced in
https://github.com/ruby/rdoc/commit/f9ffe6684e2afeac65c62bf1a5a2fce729f21001
`abbrev` is no longer used anywhere, so th...
10/05/2022
-
11:34 PM Bug #18759 (Closed): snapshot-ruby_2_7: test failure on macos-12
-
11:24 PM Misc #18888 (Assigned): Migrate ruby-lang.org mail services to Google Domains and Google Workspace
- The following users are still unverified.
* akr@ruby-lang.org
* aycabta@ruby-lang.org
* ayumin@ruby-lang.org
* byroot@ruby-lang.org
* gotoken@ruby-lang.org
* jaruga@ruby-lang.org
* kosaki@ruby-lang.org
* odaira@ruby-lang.org
... -
08:13 PM Revision 358fe26b (git): [rubygems/rubygems] Fix little UI issue when bundler shows duplicated gems in a list
- https://github.com/rubygems/rubygems/commit/3f71d882e9
-
08:08 PM Bug #19038 (Closed): Corruption of generic_iv_tbl when compacting
- GitHub PR: https://github.com/ruby/ruby/pull/6494
When the generic_iv_tbl is resized up, rebuild_table performs allocations that can trigger GC. If autocompaction is enabled, then moved objects are removed from and inserted into the g... -
07:46 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
- An issue exists elsewhere, see https://github.com/oneclick/rubyinstaller2/issues/308#issuecomment-1268851455. I'm just the messenger, I don't have the knowledge needed for this issue.
Quoting the response from ArminG-MSFT:
Hello t... -
12:20 PM Revision b9771836 (git): update debug.gem commit hash to cease nightly packaging failures.
-
11:24 AM Bug #19037 (Feedback): [Ruby 3.1.2] irb display color character not correct(as literal form) when set IRB.conf[:USE_COLORIZE] = true (it is default)
- When work with ruby 3.1.X, [looksee](https://github.com/oggy/looksee) gem could not display color character correct in new version IRB, as you can see as following:
```
^[[1;37m[Roda::RodaPlugins::Sprockets::Task instance]^[[0m
^[... -
10:43 AM Revision 139e79e5 (git): [DOC] Remove unknown markup or macro [ci skip]
- Also remove the ancient word "Windows NT".
-
10:22 AM Revision 83a6213f (git): [ruby/irb] Fixed sort of variables in completion
- https://github.com/ruby/irb/commit/5842888255
-
10:20 AM Revision 107acbd9 (git): [ruby/irb] Add description of IRB_LANG, IRBRC, and XDG_CONFIG_HOME to man
- https://github.com/ruby/irb/commit/564bd91387
-
10:15 AM Revision d8803222 (git): [ruby/irb] Update remark of self.install_extend_commands.
- Create line
https://github.com/ruby/irb/commit/64d6a461d5 -
09:59 AM Revision 2f6a2637 (git): [ruby/irb] Use USE_REIDLINE for backword compatibility
- https://github.com/ruby/irb/commit/e58a3c1b39
-
09:26 AM Revision b84140f6 (git): Mentioned removing libffi sources from fiddle
-
09:22 AM Revision 0b4352b9 (git): Removed the related files for downloading with extlibs
-
08:14 AM Revision 19e4a4c6 (git): [ruby/irb] Rename IDB::ReidlineInputMethod to IRB::RelineInputMethod
- Deprecates IDB::ReidlineInputMethod and USE_REIDLINE in favor of
IRB::RelineInputMethod and USE_RELINE. The Input method uses Reline to
read input from the console, so it can be named directly after the
Reline library like other inputs m... - 06:25 AM Revision 48c261a0 (git): Update default gems list at 203b8310655ac8a67de2c5b2bd7afa [ci skip]
-
06:25 AM Revision 203b8310 (git): [ruby/irb] Bump version to 1.4.2
- https://github.com/ruby/irb/commit/f9960dbd37
-
06:15 AM Revision f081bba8 (git): [ruby/irb] Added aycabta to authors
- https://github.com/ruby/irb/commit/a6bfa7b2e6
-
02:48 AM Revision 7293bfe1 (git): YJIT: add support for calling bmethods (#6489)
- * YJIT: fix a parameter name
* YJIT: add support for calling bmethods
This commit adds support for the VM_METHOD_TYPE_BMETHOD method type in
YJIT. You can get these type of methods from facilities like
Kernel#define_singleton_method an...