Activity
From 09/11/2022 to 09/17/2022
09/17/2022
-
09:35 PM Feature #19008: Introduce coverage support for `eval`.
- I'm against introducing a keyword argument to `eval`. `coverage` implementation should not leak into unrelated code.
-
08:40 PM Feature #19008: Introduce coverage support for `eval`.
- In terms of ERB template coverage, I recently added support to Tilt for it. Tilt is the library used by Sinatra, Roda, Hanami, dry-view and most non-Rails web frameworks to render templates. Since `eval` doesn't support coverage, the ap...
-
10:15 AM Feature #19008: Introduce coverage support for `eval`.
- Basically I am okay to this proposal. When I first created coverage.so, I tried to support eval. But @ko1 objected to it because the source code for eval is not retained and there is no clear need for it. But I just talked to @ko1, and h...
-
09:56 AM Feature #19008 (Closed): Introduce coverage support for `eval`.
- I'd like to introduce coverage support for `eval`. I mostly only care about the case where an explicit path is given, and I'd even be okay to only handle the case where the line number is the default (0).
https://github.com/ruby/ruby/... -
03:10 PM Revision 67417e79 (git): Replace revision.tmp with the HAVE_BASERUBY trick
- but without relying on replacement.
This seems to work on OpenBSD as well. -
02:44 PM Revision 39f91bc2 (git): Always generate non-empty revision.h
- Non-GNU make seems to generate empty revision.h, but it doesn't make
sense since https://github.com/ruby/ruby/pull/6382.
Also the $(HAVE_BASERUBY:yes=tmp) hack doesn't seem to be working on
OpenBSD. I'll remove it to focus on fixing Rub... -
02:05 PM Revision 922e61fc (git): Remove git command existence check again
- With 33c6dd2cc89c27bbf406508ec39038a181fb99bc, it's no longer necessary.
This is what I got on openbsd-current:
```
-bash-5.1$ git -v
unknown option: -v
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec... -
01:24 PM Revision 33c6dd2c (git): Fallback to VCS.release_date on VCS::NotFoundError
- when -q is given.
One of the RubyCI servers, freebsd12, had a broken git environment:
```
$ git show
fatal: detected dubious ownership in repository at '/usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby'
To add an exception f... -
01:08 PM Revision 1825d367 (git): Skip test_wait on MinGW CI
- This test has been unstable, and it seems like we're not interested in
fixing that for MinGW.
https://github.com/ruby/ruby/actions/runs/3073317191/jobs/4965373284 -
12:16 PM Revision 38a7a13a (git): Auto-generate the release date on version.h from git CommitDate (#6382)
- * Auto-generate the release date on version.h
from git CommitDate
* Generate revision.h on mswin -
11:29 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- I've been doing some digging around the `TestProcess#test_daemon_noclose` test failure.
Minimum reproducible code is here
```ruby
Process.daemon(false, true)
Dir.pwd
```
And got some facts:
- On macOS, you should not use Objective-C ... -
07:47 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
- Xcode 14 has been released. The all stable versions of Ruby couldn't build with Xcode 14.
We fixed this issue at Ruby 2.7-3.1 and master branch. But the stable versions are not released yet.
I strongly recommend to not upgrade Xcod... -
09:08 AM Revision afb59710 (git): Merge RubyGems-3.3.22 and Bundler-2.3.22
-
07:55 AM Feature #19006 (Closed): Inconsistent behaviour of autoload in wrapped script
-
05:13 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- Rethinking this, `autoload` can fairly easily be patched at the gem level to make this work, without changes at the language level, so this isn't strictly necessary. In terms of transitivity, `require` is the more important one.
I'm hap... -
04:42 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- > It was never designed to be transitive, nor documented as being transitive, so I don't think the current behavior is a bug. Making the behavior transitive would be a feature request, IMO.
Agree, I've changed the tracker to "feature" t... -
03:55 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- When loading `foo.rb` with the `MyModule` wrapper, you are loading the equivalent of:
```ruby
module MyModule
module Foo
autoload :Bar, "foo/bar"
end
end
```
`foo/bar.rb` defines `::Foo::Bar`, not `::MyModule::Foo::Ba... -
02:35 AM Feature #19006: Inconsistent behaviour of autoload in wrapped script
- This is related to: https://bugs.ruby-lang.org/issues/10320#note-13
-
01:49 AM Feature #19006 (Closed): Inconsistent behaviour of autoload in wrapped script
- Suppose I have two files, `foo.rb` and `bar.rb`:
```ruby
# foo.rb
puts "loading Foo..."
module Foo
autoload :Bar, "foo/bar"
end
```
and
```ruby
# foo/bar.rb
puts "loading Foo::Bar..."
module Foo
module Bar
... -
06:59 AM Revision b3969f76 (git): Merge openssl-3.0.1
- The changes can be found at:
https://github.com/ruby/openssl/compare/v3.0.0...v3.0.1 -
05:06 AM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
I just saying this behavior is inconsistent between versions.
Current behavior looks like a bug to me, because it feels like only hooks already set at the moment of the event arrival sh... -
05:05 AM Bug #18816: Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
- ruby_3_1 99d254d8b025fd952375ed15c345ecc1b806652a merged revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf.
-
05:05 AM Revision 99d254d8 (git): merge revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf: [Backport #18816]
- Use VM Lock when mutating waiting threads list
`rb_thread_wait_for_single_fd` needs to mutate the `waiting_fds` list
that is stored on the VM. We need to delete the FD from the list before
returning, and deletin... -
04:30 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Thanks! I've confirmed this solves the problem and that the linker adds this argument.
Could this patch be backported to 2.7 as well? Thanks! -
03:10 AM Bug #19005 (Closed): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Applied in changeset commit:git|6898984f1cd1b0375c3da44d7832724489e0e470.
----------
[Bug #19005] dynamic_lookup linker option in external libraries
The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems s... -
04:10 AM Bug #19007 (Closed): Unicode tables differences from Unicode.org 14.0 data
- I found the header in Unicode Emoji 14.0 data files had changed slightly (and again at 15.0), but `enc/unicode/case-folding.rb` didn't follow it.
Then I fixed it and rebuilt the headers under `enc/unicode/14.0.0`, `name2ctype.h` had dif... -
03:37 AM Revision ca4cbe59 (git): Move case-folding.rb to tooldir with enc-prefix
-
03:37 AM Revision e9982fd6 (git): Derive UNICODE_EMOJI_VERSION from UNICODE_VERSION
-
03:37 AM Revision 03ce48da (git): Emoji files header changed at 15.0 again
-
03:37 AM Revision 76c00565 (git): Follow emoji data files header change
- The header of emoji data files in UCD, which were moved at 13.0.0, has
been changed since 14.0.0. It seems to be the same as other files in
UCD. -
03:09 AM Revision 6898984f (git): [Bug #19005] dynamic_lookup linker option in external libraries
- The warning against `-undefined dynamic_lookup` is just a warning yet,
and many gems seem to pay no attention to warnings. Until it fails
actually, keep it as a migration path, except for standard extension
libraries and bundled extensi... -
02:32 AM Feature #10320: require into module
- @shyouhei
> Pure-ruby codes could perhaps be loaded multiple times side-by-side
Not multiple times, loaded only once in the namespace where `require` is called (wrap module), then when loaded again original constants are aliased to the... -
02:00 AM Feature #10320: require into module
- > This NilClass definition, even if reassigning global ::NilClass doesn't have any effect on nil though, isn't it?
Or do you actually define mod::NilClass = NilClass before loading the ActiveSupport files?
Yes, `mod::NilClass = NilClass... -
01:53 AM Feature #10320: require into module
- > I have only quickly skimmed Im, so I may say innacurate things, but it seems to me that what would be desirable would be to load a "namespace" in isolation, but not necessarily its dependencies as well.
`Im` uses a registry to track f...
09/16/2022
-
09:45 PM Feature #10320: require into module
- > Loading ActiveRecord::Base won't work because when it tries to dynamic-link libpq.so or libmysqlclient.so or whatever, that can already be loaded under another namespace; then fails.
An orthogonal question is whether loading two ver... -
10:52 AM Feature #10320: require into module
- It is declared that `dlopen` will not fail in such cases.
https://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html
> Only a single copy of an executable object file shall be brought into the address space, even if `dlopen... -
07:34 AM Feature #10320: require into module
- Pure-ruby codes could perhaps be loaded multiple times side-by-side, but the problem is a DLL.
Loading ActiveRecord::Base won't work because when it tries to dynamic-link libpq.so or libmysqlclient.so or whatever, that can already be lo... -
06:52 AM Feature #10320: require into module
- This NilClass definition, even if reassigning global ::NilClass doesn't have any effect on nil though, isn't it?
Or do you actually define mod::NilClass = NilClass before loading the ActiveSupport files? -
07:55 PM Feature #18776: Object Shapes
- The performance numbers look good and I'm very happy with the improvements that you've made wrt shape ids being 32 bits. It's also nice to see that the generated code for property accesses in YJIT is shorter than before.
There seems t... -
05:58 PM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
- This issue shows a case where you are adding a local tracepoint during global tracepoint processing. There are a couple approaches Ruby could take here:
1) For a local tracepoint added during global tracepoint processing, only call it... -
05:48 PM Bug #18983: Range#size for beginless Range is not nil.
- Returning Infinity for numeric ranges bounded in either direction is expected (there are tests explicitly for it).
It does seem inconsistent that `(..object).size` returns Infinity and `(object..).size` returns nil for non-numeric obj... -
05:25 PM Feature #15371 (Closed): IRB with ARGV
- Applied in changeset commit:git|b07db967441161a84386bcbbb41d990a2f3ad31c.
----------
[ruby/irb] Support --noscript option to not use first non-option argument as script
Also add --script option to turn the option back on.
Previously t... - 05:25 PM Revision e3a32abe (git): * 2022-09-17 [ci skip]
-
05:25 PM Revision b07db967 (git): [ruby/irb] Support --noscript option to not use first non-option argument as script
- Also add --script option to turn the option back on.
Previously there wasn't a way to get an interactive IRB session
and access arguments provided on the command line.
Additionally, handle `-` as script as stdin. In Unix-like tools, `-... -
01:47 PM Revision 64200990 (git): [ci skip] Fix typos in documentation in io.c
-
01:25 PM Revision 87463832 (git): merge revision(s) a28e7871e54d7a87afbfd686291c500d71edb7cb:
- Update bundled_gems
Try latest patch to avoid some race on Mac OS X.
---
gems/bundled_gems | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) -
01:19 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Yes, it's only a few gems that previously depended on `-undefined,dynamic_lookup` being present as a linker argument.
In the `pg_query` case, it seems that there is a bug: the library exports a symbol that's not actually present.
In th... -
06:06 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- Ah, Sorry. I misunderstood. I could install other native extensions like ffi, hiredis and eventmachine.
this issue happens like ffi-yajl. -
05:59 AM Bug #19005 (Open): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- `ruby_3_1` head already fixed a similar issue with bundle loader. But I could reproduce https://bugs.ruby-lang.org/issues/19005#note-3 with `ruby_3_1` head.
We should fix this before 3.1.3 release. -
05:19 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- I think we can close this issue, unless someone thinks we might want to relax the `configure` check so that the `-undefined,dynamic_lookup` linker flag is again the default for macOS.
Gems should be able to handle building without `-und... -
04:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- A related issue was discussed in https://gitlab.kitware.com/vtk/vtk/-/issues/17214#note_385533 in the context of Python.
https://github.com/apple-opensource/ld64/pull/1/files would indeed be useful. -
04:14 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- nobu (Nobuyoshi Nakada) wrote in #note-5:
> What is the version of ruby you are using?
ruby 2.7.6p219 (2022-04-12 revision 44c8bfa984) [arm64-darwin21] -
03:05 AM Bug #19005 (Feedback): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- What is the version of ruby you are using?
-
01:39 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- `ffi-yajl` expects to run `dlopen` to bring in these symbols: https://github.com/chef/ffi-yajl/blob/2ac7f207c0850a7621880ea03c85c509072fff85/ext/ffi_yajl/ext/dlopen/dlopen.c#L29
-
01:18 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- It's possible this is a problem with the respective gems. In https://github.com/pganalyze/pg_query/issues/255#issuecomment-1248800937, I note that the `Init_pg_query` is using C++ visibility rules.
However, for `ffi-yajl`, I'm not sur... -
12:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- I should note that it's also possible to workaround the issue by compiling the interpreter with `DLDFLAGS="-Wl,-undefined,dynamic_lookup"`.
`configure` no longer adds this flag by default because of the warning:
```
configure:28712: ch... -
11:44 AM Revision 5b735d0b (git): Invalidate i-cache after link_labels (#6388)
-
10:25 AM Misc #18977: DevMeeting-2022-09-22
- - [Feature #18885] End of boot advisory API (byroot)
- The general concept was accepted, but it need a proper name.
- Suggestions:
- `Kernel.booted` / `Kernel.application_booted` / `Kernel.code_loaded` / `Kernel.startup_done`
... -
09:54 AM Revision a28e7871 (git): Update bundled_gems
- Try latest patch to avoid some race on Mac OS X.
-
08:05 AM Revision 6ad69944 (git): Omit a DRb test on MinGW
- This test seems to leak a thread and let TestIOWait fail:
https://github.com/ruby/ruby/actions/runs/3065426880/jobs/4949517274
DRb almost never seemed to stably work on MinGW. I don't think we intend
to fix it either. We should just omi... - 06:13 AM Revision 6be430ef (git): * 2022-09-16 [ci skip]
-
06:12 AM Revision 7900a9bd (git): Backport https://github.com/ruby/ruby/pull/6193
- Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
- 06:11 AM Revision a62cfce7 (git): * 2022-09-16 [ci skip]
-
06:11 AM Revision 31bc55dc (git): Backport https://github.com/ruby/ruby/pull/6193
- Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
-
05:46 AM Revision c8d94d27 (git): Now test-bundler nees fake.rb
- 04:37 AM Revision 3ff65dcd (git): * 2022-09-16 [ci skip]
- 04:37 AM Revision 2387fbfb (git): Fix splat args (#6385)
- * Fix splat args
Cfuncs were not working properly so I disabled them right now.
There were some checks above that were also actually preventing splat args from being called.
Finally I did some basic code cleanup after realizing I didn...
09/15/2022
-
11:07 PM Bug #19005 (Closed): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
- This seems related to https://bugs.ruby-lang.org/issues/18912 and https://bugs.ruby-lang.org/issues/18981 .
Steps to reproduce:
1. Upgrade to XCode 14.
2. Compile a new Ruby interpreter. I used the version provided in https://gith... -
07:23 PM Feature #18776: Object Shapes
- # Summary
The implementation has been updated to solve some performance problems and simplify both source code and generated code.
The performance of this branch against multiple benchmarks, including microbenchmarks, RailsBench an... - 02:14 PM Revision cc7f6fe7 (git): YJIT should die if we compile on Aarch64 with no instruction cache clear available (#6380)
- YJIT should die if we compile on ARM64 with no icache clear available
-
02:12 PM Revision 64a02032 (git): Add asm comments to make disasm more readable (#6377)
-
01:36 PM Misc #18977: DevMeeting-2022-09-22
- - [Bug #18978] Unexpected behaviour in Time.utc and Time.local when 8 arguments are passed in (peterzhu2118)
- Passing 8 arguments causes both the 7th (microseconds) and 8th arguments to be ignored.
- The behaviour is undocumente... -
03:26 AM Misc #18977: DevMeeting-2022-09-22
- * [Bug #18960] Module#using raises RuntimeError when called at toplevel from wrapped script (shioyama)
* @jeremyevans0 mentioned this, but I think this is a bug based on common reading of the wrap argument to load.
* See also context... -
01:28 PM Bug #18995: IO#set_encoding sometimes set an IO's internal encoding to the default external encoding
- Can anyone confirm that this is a bug and not a misunderstanding? It looks like the changes to fix this will require a fair bit of refactoring, and there don't yet appear to be any tests around the various cases for arguments to `IO#set...
-
01:16 PM Feature #18885: End of boot advisory API for RubyVM
- So I wrote a reproduction script to showcase the effect of constant caches on Copy on Write performance:
```ruby
class MemInfo
def initialize(pid = "self")
@info = parse(File.read("/proc/#{pid}/smaps_rollup"))
end
def... -
11:21 AM Feature #16946: Add an `intersperse` method
- Just came across this while attempting to see if there was an elegant way to do this. My use case is that I want to generate an array with separator elements -- specifically, I want to generate a nested array of "cellable" objects in Pra...
-
05:49 AM Revision 68a5b0f0 (git): [rubygems/rubygems] Mask the file mode when extracting files
- When extracting files from the tarball, a mode is retrieved from
the header. Occasionally you'll encounter a gem that was packaged
on a system whose permission bits result in a value that is larger
than the value that File.chmod will all... -
05:48 AM Revision bf72afa7 (git): Remove warning for old TLS version connection
- RubyGems.org already has refused connection requests using older than
TLS 1.2. -
03:50 AM Revision 6b2b9e00 (git): [rubygems/rubygems] Also added x86_64-darwin-21
- https://github.com/rubygems/rubygems/commit/c03e7e1564
-
03:50 AM Revision ec0d9a6a (git): [rubygems/rubygems] Added arm64-darwin-22 to lockfiles for testing
- https://github.com/rubygems/rubygems/commit/d7956e9ce5
-
03:19 AM Feature #10320: require into module
- The `wrap` option to `load` has recently been expanded to allow passing a module instead of a boolean (https://bugs.ruby-lang.org/issues/6210) (thanks @jeremyevans0)! This opens the door to new approaches to this problem.
I think there ... -
01:25 AM Revision d152ac67 (git): Make CodeQL ignore syntax_suggest because of the performance problem
- https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
-
01:03 AM Feature #12084: `Class#instance`
- matz (Yukihiro Matsumoto) wrote in #note-6:
> * `attached_object` is better, at least for singleton classes. But there's still no real-world use-case.
I recently ran into a real-world use-case inside one of the gems I maintain and I ... -
12:39 AM Revision aecb57ce (git): Fix style on vm_ivar benchmarks (#6379)
09/14/2022
-
11:25 PM Revision 752ae81e (git): [ruby/irb] Refine assertion for failures
- https://github.com/ruby/irb/commit/fd047512b3
-
11:25 PM Revision ae2e8d36 (git): [ruby/irb] `Dir.mktmpdir` creates a directory including the process ID
- https://github.com/ruby/irb/commit/a15f68ffdb
-
10:18 PM Bug #18983: Range#size for beginless Range is not nil.
- Nevermind. Build failed.
-
08:50 PM Revision 513a11b4 (git): Add vm_ivar get, get_unitialized, and lazy_set benchmarks
-
08:22 PM Misc #18977: DevMeeting-2022-09-22
- * [Bug #18960] Module#using raises RuntimeError when called at toplevel from wrapped script (jeremyevans0)
* Do we want to support this? I think since #using is permitted at top level and inside a module, we should.
* [Bug #18919] R... -
08:15 PM Revision f98d6d3f (git): YJIT: Implement specialized respond_to? (#6363)
- * Add rb_callable_method_entry_or_negative
* YJIT: Implement specialized respond_to?
This implements a specialized respond_to? in YJIT.
* Update yjit/src/codegen.rs
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> -
04:38 PM Revision d5cdc2ed (git): [TravisCI] The source of YAML is no longer bundled
-
04:38 PM Revision fb2e9053 (git): [TravisCI] Make gems/src directory writable
- 03:32 PM Revision 0953ea64 (git): * 2022-09-15 [ci skip]
-
03:31 PM Revision b6a9e683 (git): Add noarch-fake.rb target
- `yes-fake` depends on it when `arch=noarch` is given, but the rule to
generate it from fake.rb.in is ignored now. - 02:32 PM Revision 758a1d73 (git): Initial support for VM_CALL_ARGS_SPLAT (#6341)
- * Initial support for VM_CALL_ARGS_SPLAT
This implements support for calls with splat (*) for some methods. In
benchmarks this made very little difference for most benchmarks, but a
large difference for binarytrees. Looking at side exit... -
02:27 PM Revision 8f37e9c9 (git): YJIT: Add Opnd#with_num_bits to use only 8 bits (#6359)
- * YJIT: Add Opnd#sub_opnd to use only 8 bits
* Add with_num_bits and let arm64_split use it
* Add another assertion to with_num_bits
* Use only with_num_bits - 02:14 PM Revision 2e25b85a (git): configure.ac: Apply suggestions from code review in #6366
- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
-
02:10 PM Revision 960db13c (git): Reuse `opt_arg_append` function
-
01:21 PM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
- > Some users even decided to disable it completely because the colors are unreadable to them. I have also seen people sharing tips for disabling this feature: [example](https://twitter.com/sdogruyol/status/1538512030449254400).
JFYI, I'... - 01:17 PM Revision f512df73 (git): configure.ac: Add --with-gmp-dir (#6366)
- Add the `--with-gmp-dir` to specify the prefix directory of GMP.
The`--without-gmp` option is preserved for convenience. It can
be used to force to reject using GMP even if the `--with-gmp-dir`
option is specified. -
12:24 PM Revision 075df960 (git): Add comments to touch libyjit
-
12:24 PM Revision e1a9d884 (git): Touch libyjit.a which may be still old due to the cache
-
12:24 PM Revision f2429f0a (git): Expand dependency for `$(YJIT_LIBS)`
- Currently, miniruby is rebuild **always** when yjit is enabled, even
if nothing is changed. -
11:12 AM Bug #18914: Segmentation fault during Ruby test suite execution
- I believe this error is a problem of the Fiddle gem, as according to FFI upstream, when process forks with allocated FFI Closures on SELinux systems, the Parent and Child process need to coordinate on memory usage see my comment on the F...
-
08:30 AM Revision d66b29cc (git): Add link to how to build Ruby
-
02:27 AM Revision 2e324b64 (git): Manage paths for bundler tests
-
02:27 AM Revision 035978d7 (git): Pass job-server FDs to bundler tests
-
02:27 AM Revision c428fc0e (git): -undefined dynamic_lookup is obsolete
-
02:24 AM Revision c28a4e03 (git): Replace "Fixes"/"Fixed" in commit logs as well as vcs.rb [ci skip]
- Use the same regexp to replace "(#NNNN)" and "GH-NNNN" style
references in vcs.rb, too. -
02:14 AM Revision f863bc50 (git): [ruby/irb] Fix the error when LC_MESSAGES config value is nil
- https://github.com/ruby/irb/commit/6bbde84369
-
01:53 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
- commit:e4f5296f065110fa83eb450d3a861253e76e534f removed them.
-
01:42 AM Revision e2b47b83 (git): configure.ac: Manage OPT_DIR better (#6367)
- * Check rpath flag earlier
* Manage OPT_DIR at once -
01:15 AM Revision 9299db49 (git): [ruby/irb] Fix history file saving with concurrent irb sessions when history file doesn't exist
- If history file didn't exist when irb was started, @loaded_history_mtime
would be nil. However, if the history file didn't exist before, but it
exists when saving history, that means the history file was modified,
and we should handle i...
09/13/2022
- 10:21 PM Revision b876230e (git): * 2022-09-14 [ci skip]
-
10:21 PM Revision 6a78ae2f (git): Remove CODEOWNERS to switch to auto-request-review (#6365)
- * Remove CODEOWNERS to switch to auto-request-review
* Random change to test reviews
* Revert "Random change to test reviews"
This reverts commit 814b10d062d82d953019ea4afadc3f8fcf638379. - 06:44 AM Revision 316b44df (git): Add GMP support for mswin
-
01:48 AM Revision 391eebfe (git): Increase the timeout for make all on MinGW
- https://github.com/ruby/ruby/actions/runs/3041702828/jobs/4899106526#step:14:1219
-
01:38 AM Revision 2e21fef6 (git): Drop synchronized event
- because it doesn't seem to be working. It's a bit annoying that
synchronized doesn't work, but in many cases, opened and
ready_for_review should be enough. As a last resort, you could
close/reopen it.
Also, the token scope needs to be p... -
01:24 AM Revision 64cd0970 (git): Tweak the glob for auto_request_review
-
01:18 AM Revision 9179f666 (git): Configure auto_request_review for YJIT team
- We need to use pull_request_target instead of pull_request to use secrets.
pull_request_target seems to be executed from the default branch, so
pushing this to master to test this. - 12:25 AM Revision bc8bbd23 (git): * 2022-09-13 [ci skip]
-
12:25 AM Revision fcf861a1 (git): Try latest debug.gem
09/12/2022
-
01:23 PM Feature #18949: Deprecate and remove replicate and dummy encodings
- In https://github.com/ruby/ruby/pull/6323 I managed to replace all usages of `rb_define_dummy_encoding()` by just `rb_raise(rb_eArgError, "unknown encoding name - %s", name);`, and all tests pass.
Feedback/review appreciated. -
12:05 PM Feature #18949 (Open): Deprecate and remove replicate and dummy encodings
- Done:
* Deprecate Encoding#replicate
* Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-16/UTF-32 (https://github.com/ruby/ruby/pull/6322)
Still to do:
* Limit the number of dynamic encodings defined by rb_def... -
12:02 PM Feature #18949 (Closed): Deprecate and remove replicate and dummy encodings
- Applied in changeset commit:git|6525b6f760ccd9612c9546b0313ab1c7e4af5e66.
----------
Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-16/UTF-32
* And simplify callers of get_actual_encoding().
* See [Feature ... -
01:13 PM Revision 2aa8edae (git): [rubygems/rubygems] Deduplicate results just once
- Instead of checking for uniqueness for every spec.
https://github.com/rubygems/rubygems/commit/97d28c9665 -
01:13 PM Revision 75d90cc8 (git): [rubygems/rubygems] Use a single hash to keep track of prereleases
- https://github.com/rubygems/rubygems/commit/9d7bd177b0
-
01:13 PM Revision 03d19627 (git): [rubygems/rubygems] Remove unnecessary sorting
- Already done by the gem version promoter.
https://github.com/rubygems/rubygems/commit/aae2cc9fe0 -
01:13 PM Revision dce73c86 (git): [rubygems/rubygems] Simplify instantiating the gem version promoter
- https://github.com/rubygems/rubygems/commit/c4e2737f2c
-
01:13 PM Revision 6a21d196 (git): [rubygems/rubygems] Let specs be sorted just once by the gem version promoter
- https://github.com/rubygems/rubygems/commit/3cea25a39d
-
01:13 PM Revision 8d2bcc88 (git): [rubygems/rubygems] This sorting seems unnecessary too
- https://github.com/rubygems/rubygems/commit/823cb1fef9
-
01:13 PM Revision a4860e04 (git): [rubygems/rubygems] Remove unnecessary spec sorting
- Specs in a SpecSet with the same name are only sorted by platform
priority when they are read. No need to sort everything eagerly.
https://github.com/rubygems/rubygems/commit/aeafff52df -
12:59 PM Revision acc61cbf (git): Add NEWS entry for the previous commit
-
12:02 PM Revision 6525b6f7 (git): Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-16/UTF-32
- * And simplify callers of get_actual_encoding().
* See [Feature #18949].
* See https://github.com/ruby/ruby/pull/6322#issuecomment-1242758474 -
10:53 AM Revision ed029e9b (git): Autoconf 2.70 or AC_PROG_CC_C99 for earlier is checking for C99
- It is no longer necessary to add it to `CFLAGS`/`CPPFLAGS` later.
Furthermore, as `CPPFLAGS` is used also with C++ compiler, the option
particular to C such as `-std=gnu99` results in an error. -
07:24 AM Bug #18938: Backport cf7d07570f50ef9c16007019afcff11ba6500d70
- @nagachika it's my fault. For backporting purpose `cf7d07570f50ef9c16007019afcff11ba6500d70` alone should be backported and `c6aa65430fbb94651f4d15e2a976f59b5475ca19` should be ignored.
09/11/2022
-
10:50 PM Revision 89077b4c (git): Add comments for some peephole optimizations [ci skip]
- 10:48 PM Revision 6f8267b7 (git): * 2022-09-12 [ci skip]
-
10:47 PM Revision 9205b8c8 (git): Revert "defs/gmake.mk: no _FORTIFY_SOURCE unless optimization"
- This reverts commit b8c376cb9d91854fd40f6e06f07773404899b54f, as it
seems no longer needed probably. -
02:08 PM Bug #18880 (Closed): IO#sysread on Windows does not validate arguments
- Applied in changeset commit:git|684353fc03afd6e7c887b65bd18f0b3aeb98101c.
----------
[Win32] Negative length `IO#sysread`
Raise `ArgumentError` in `IO#sysread` on Windows when given a negative
length.
Fixes [Bug #18880] -
02:08 PM Revision 684353fc (git): [Win32] Negative length `IO#sysread`
- Raise `ArgumentError` in `IO#sysread` on Windows when given a negative
length.
Fixes [Bug #18880] -
10:45 AM Feature #18798: `UnboundMethod#==` with inherited classes
- This would be really helpful for checking if a class has redefined a method inherited form a superclass.
As an example, I’m working on a compiler that replaces certain method calls with their inlined expected behaviour from an abstrac... -
10:30 AM Misc #18977: DevMeeting-2022-09-22
- * [Feature #18798] `UnboundMethod#==` with inherited classes (eregon)
* OK to change `UnboundMethod#==` to check if same method definition (and ignore from which class `instance_method` was used on)? If yes, what about `UnboundMethod#e... -
07:13 AM Feature #12354 (Closed): PKey::EC Can't output public key pem when private key exists
- openssl v2.2 added OpenSSL::PKey::PKey#public_to_pem and #public_to_der for this purpose.
https://github.com/ruby/openssl/pull/297
Ruby 3.0 includes v2.2 by default. -
06:58 AM Bug #18763 (Closed): The configure option “--with-openssl-dir” has lower precedence than pkg-config
- Upstream issue for this bug: https://github.com/ruby/openssl/pull/486
Yes. This is resolved by openssl gem releases 2.1.4/2.2.2/3.0.1. Backporting is requested in #18999. -
06:39 AM Revision 472e7b85 (git): MJIT: Use the built-in PACK_MAP
- 106744107b made this possible.
-
06:30 AM Revision 10674410 (git): [ruby/fiddle] Fix PACK_MAP for unsigned types (https://github.com/ruby/fiddle/pull/110)
- https://github.com/ruby/fiddle/commit/4a71246645ccff001292c9d80b855b2ef5bf06c1
-
02:54 AM Feature #16122: Data: simple immutable value object
- zverok (Victor Shepelev) wrote in #note-68:
> Pull request: https://github.com/ruby/ruby/pull/6353
Very nice.
I don't think `keyword_init` and "naming as the first argument"
features are needed for new `Data`. So, I guess that s... -
02:49 AM Feature #18951: Object#with to set and restore attributes around a block
- This idea is very similar to Algebraic effects, which dry-rb has a variant on:
https://dry-rb.org/gems/dry-effects/main/
I would personally like the `with` variant myself, granting that it is a bit vague, but is also in line with w... -
02:34 AM Feature #18951: Object#with to set and restore attributes around a block
- It would be super nice to somehow support `ENV` as well, since it is super common pattern in test suites.
-
01:14 AM Revision 7232f264 (git): Remove -j from MinGW test-all
- MinGW CI has been crashing too often. Now that we don't have slow test_mjit in MinGW, I'd like to see if not using parallel test workers fixes the problem.
-
12:09 AM Revision aa8a3b23 (git): MJIT: Do not hang after forking with threads
- First, rb_mjit_fork should call rb_thread_atfork to stop threads after
fork in the child process. Unfortunately, we cannot use rb_fork_ruby to
prevent this kind of mistakes because MJIT needs special handling of
waiting_pid and mjit_paus...