Activity
From 07/01/2023 to 07/07/2023
07/07/2023
-
08:37 PM Revision 7f2bd17f (git): [DOC] RDoc for dir.c (#8037)
-
07:55 PM Revision dadf1781 (git): Add ruby_globals to lldb for easier debugging (#8041)
-
05:46 PM Revision 9e3a5cc5 (git): [ruby/yarp] Add a yp_location_for_node function to the C API
- yp_location_for_node takes a parser and a node and returns the
location in a way that can be punned into ruby/ruby types
https://github.com/ruby/yarp/commit/75e06016a7 -
05:46 PM Revision 31f83a6f (git): [ruby/yarp] Add source to ParseResult
- https://github.com/ruby/yarp/commit/f3802e03e0
-
05:46 PM Revision 61efa9c8 (git): [ruby/yarp] Remove bin/newlines
- Since newlines are working, this bin/newlines is less helpful, and
we can remove the API for newlines
https://github.com/ruby/yarp/commit/b538460b99 -
05:27 PM Revision 24d9e21f (git): [ruby/reline] Reduce direct references to `Reline::IOGate`
- (https://github.com/ruby/reline/pull/566)
* Avoid referencing IOGate from IOGate classes
The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.
* A... -
08:14 AM Bug #19760: Marshal.load Segmentation fault in ruby 2.2.10 aarch64
- I wonder if it's a similar issue to https://github.com/ruby/setup-ruby/issues/496, i.e., 2.2 is too old and miscompiled on recent OS/compiler.
-
07:06 AM Bug #19760 (Rejected): Marshal.load Segmentation fault in ruby 2.2.10 aarch64
- Ruby 2.2 is too old. We currently support only Ruby 3.0 or later. Please try the newer versions.
-
06:45 AM Bug #19760: Marshal.load Segmentation fault in ruby 2.2.10 aarch64
- gcc version 7.3.0 (GCC)
-
06:42 AM Bug #19760: Marshal.load Segmentation fault in ruby 2.2.10 aarch64
- Executing Marshal. load multiple times may cause Ruby program segment errors in arrch64 CPU.
For some reason, I am unable to upgrade to the Ruby version.
Can you help determine if a patch can be applied to this issue? thanks -
06:40 AM Bug #19760 (Rejected): Marshal.load Segmentation fault in ruby 2.2.10 aarch64
- irb(main):121:0> 100000.times{ Marshal.load(Marshal.dump(""))}
(irb):121: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.10p489 (2018-03-28 revision 63023) [aarch64-linux]
-- C level backtrace information --------------------... -
04:03 AM Bug #19751: Ruby 3.2.2 Fails to Compile from Source
- My version.i
-
02:04 AM Feature #19057: Hide implementation of `rb_io_t`.
- k0kubun (Takashi Kokubun) wrote in #note-20:
> It looks like @byroot sent a patch for this at https://yhbt.net/kgio-public/[email protected]/T/#u.
`rb_convert_type(io, T_FILE, "IO", "to_io")` can be `rb_i... -
12:41 AM Feature #19057: Hide implementation of `rb_io_t`.
- > I've noticed the same thing while trying to install kgio with the latest ruby HEAD.
It looks like @byroot sent a patch for this at https://yhbt.net/kgio-public/[email protected]/T/#u.
Both patches are... -
01:20 AM Bug #19759: Surprising automatic splat with ruby2_keywords_hash
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/8039
-
12:28 AM Revision a642a94b (git): llvm-objcopy is not provided by Xcode Command Line Tools.
- Revert "Disable YJIT if objcopy command is old"
This reverts commit 75f8781c08da421d6bcfb2c3c8b7b74efea3bec2.
07/06/2023
-
11:54 PM Bug #19759 (Closed): Surprising automatic splat with ruby2_keywords_hash
- On Ruby 3 and newer the following prints `[:aa, :bb, :k]`:
```ruby
def yielder(splat)
yield([:a, :b], *splat)
end
yielder([[:aa, :bb], Hash.ruby2_keywords_hash({k: :k})]) do |a, b, k:|
p [a, b, k]
end
```
It expanded t... -
11:04 PM Feature #19717: `ConditionVariable#signal` is not fair when the wakeup is consistently spurious.
- @ioquatix any thboughts? :)
-
07:51 PM Revision 48d95de6 (git): YJIT: Use registers to pass stack temps to C calls (#7920)
- * YJIT: Use registers to pass stack temps to C calls
* YJIT: Update comments in ccall -
06:20 PM Misc #19722: DevMeeting-2023-07-13
- * [Bug #11064] #singleton_methods for objects with special singleton_class returns an empty array (jeremyevans0)
* Is it OK to make {NilClass,TrueClass,FalseClass}#singleton_method always raise an exception?
* [Bug #19293] The new Ti... -
05:26 PM Revision 06c2d3e0 (git): Resync YARP (#8036)
- It got out of sync again. After this re-sync, it should happen
cherry-picking automatically. -
04:27 PM Revision 055f7219 (git): Improve ArgumentError message for Module#set_temporary_name
-
04:27 PM Revision 9ee1877e (git): Ensure the name given to Module#set_temporary_name is not a valid constant path
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
-
04:27 PM Revision e76022f4 (git): Specs for Module#set_temporary_name should be in their own file
-
02:17 PM Revision 2acb44e0 (git): YJIT: add new stats counter for compiled ISEQ entry points (#8032)
- * YJIT: add new stats counter for compiled ISEQ entry points
* Update yjit.rb
Co-authored-by: Takashi Kokubun <[email protected]>
---------
Co-authored-by: Takashi Kokubun <[email protected]> -
12:16 PM Revision 75f8781c (git): Disable YJIT if objcopy command is old
- Co-authored-by: Takashi Kokubun <[email protected]>
-
09:22 AM Feature #19351: Promote bundled gems at Ruby 3.3
- https://github.com/ruby/ruby/pull/7436 is working fine to load bundled gems without Gemfile declaration.
-
08:26 AM Revision 20478caf (git): do not set environment variables
- These variables were used only once.
-
05:01 AM Revision d287d859 (git): [rubygems/rubygems] Avoid to use Base64 library because I have a plan to base64 gem to bundled gems in ruby/ruby.
- https://github.com/rubygems/rubygems/commit/221797cfd1
-
01:46 AM Misc #19758: Statically link ext/json
- The problem appears to be here:
```
$(LIBRUBY_A): $(OBJS) $(INITOBJS)
$(ECHO) linking static-library $(@:\=/)
$(Q) $(AR) $(ARFLAGS)$@ $(OBJS) $(INITOBJS)
```
where:
```
INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT)
```
...
07/05/2023
-
09:42 PM Revision 57bf7322 (git): Add a NEWS entry for --yjit-exec-mem-size [ci skip]
-
09:21 PM Revision 9c1776e6 (git): YJIT: Use --yjit-exec-mem-size=128 by default (#8031)
-
09:18 PM Revision f314656c (git): Skip a failing spec for the latest bigdecimal
-
09:10 PM Revision f0f099a5 (git): Disable clippy on Cirrus for now
-
09:10 PM Revision 7c9ce38c (git): Remove duplicated Rust installation
-
08:58 PM Revision 163cdb4c (git): Deleted unnecessary YARP fuzzing doc file
-
08:58 PM Revision 9614a613 (git): Fixed build scripts for YARP
-
08:58 PM Revision bfb93337 (git): Manual YARP resync
-
08:38 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- Dan0042 (Daniel DeLorme) wrote in #note-7:
> While all this is technically true and correct, I am not particularly interested in "what is permitted"; I think "what actually exists in the real world out there" is the only thing worth car... -
07:25 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- While all this is technically true and correct, I am not particularly interested in "what is permitted"; I think "what actually exists in the real world out there" is the only thing worth caring about.
The robustness principle is "be ... -
07:08 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- This is a better thread overall and there are a *number* of points worth reading in it. It boils down to:
- Underscores are not permitted in hostnames and therefore URLs/URIs.
- Leading underscores are permitted in DNS labels.
- Und... -
06:58 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- Dan0042 (Daniel DeLorme) wrote in #note-4:
> shugo (Shugo Maeda) wrote in #note-3:
> ...
RFC1123 and related RFCs suggest that network reachable hostnames *may not* have underscores, although they are permitted in informational DNS rec... -
03:15 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- shugo (Shugo Maeda) wrote in #note-3:
> is there any use case to use them with URI::HTTP.build?
I assume the purpose of `URI::HTTP.build` is the same as `URI.parse` but with a hash instead of a string. While writing a crawler I have ... -
04:18 AM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- Dan0042 (Daniel DeLorme) wrote in #note-2:
> Maybe underscores are not allowed by some spec, but they are common in the wild. `_dmarc.example.com` and `google._domainkey.example.com` are standard subdomains. And many/most DNS servers wi... -
03:12 AM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- Maybe underscores are not allowed by some spec, but they are common in the wild. `_dmarc.example.com` and `google._domainkey.example.com` are standard subdomains. And many/most DNS servers will happily accept subdomains with underscores.
-
08:21 PM Revision 6f9d1b4b (git): [ruby/reline] Update Relin::IOGate dinamically when it is needed
- (https://github.com/ruby/reline/pull/560)
https://github.com/ruby/reline/commit/4680d1c9e0 -
08:15 PM Revision 5f07f78e (git): [ruby/bigdecimal] Update to_s doc examples
- https://github.com/ruby/bigdecimal/commit/8a94a29cf1
-
08:15 PM Revision 10f59dcb (git): [ruby/bigdecimal] Add .to_s('F') digit grouping for integer part
- https://github.com/ruby/bigdecimal/commit/f63544d465
-
05:56 PM Feature #19757: Add new C API to create a subclass of `Data`
- Why not just using `rb_funcall()`?
-
10:25 AM Feature #19757 (Closed): Add new C API to create a subclass of `Data`
- I propose a C API `rb_data_define` which crates a subclass of `Data`.
```C
/**
* Defines an anonymous data class.
*
* @endinternal
*
* @param[in] super Superclass of the defining class. Must be a
* ... -
05:10 PM Revision 1dde9d72 (git): Explain why YJIT is disabled for clang<=9 [ci skip]
-
04:33 PM Revision cd7166cc (git): [ruby/reline] Fix wrong byte_pointer passed to auto_indent_proc
- (https://github.com/ruby/reline/pull/562)
https://github.com/ruby/reline/commit/4348354604 -
03:01 PM Misc #19758: Statically link ext/json
- nobu (Nobuyoshi Nakada) wrote in #note-2:
> Does generated ext/extinit.c include `init(Init_parser, "json/ext/parser")` line?
Yes, it also contains the other libraries that are missing,eg. Init_socket -
02:55 PM Misc #19758: Statically link ext/json
- Does generated ext/extinit.c include `init(Init_parser, "json/ext/parser")` line?
-
02:35 PM Misc #19758: Statically link ext/json
- EDIT: I'm using `--enable-install-static-library --with-static-linked-ext` and it appears as if non of the ext's are actually linked into the static lib.
-
01:24 PM Misc #19758 (Assigned): Statically link ext/json
- Hi,
I'm building Ruby both as dynamic and static library with MSVC for a project. Everything appears to work fine, but now I'm trying to use the json ext, and it only works with the dynamically linked version.
In the statically linke... -
02:34 PM Revision 6a871baa (git): Note that YJIT requires FLONUM [ci skip]
-
02:13 PM Revision 833b32f5 (git): also disable yjit for clang < 10
- They don't compile. I guess nobody actively maintain such old
compilers. Chances are the situation won't improve. Let's stop
testing yjit on them. -
02:13 PM Revision dd7c590f (git): disable yjit when for non-flonum
- YJIT does not interface with this flag.
-
01:45 PM Revision 00f92315 (git): [DOC] RDoc for some of dir.c (#8026)
-
11:37 AM Revision 1f9618fc (git): Remove stale YARP snapshort file [ci skip]
- 11:37 AM Revision bd936024 (git): Sync man pages
- Co-Authored-By: David Rodríguez <[email protected]>
- 11:37 AM Revision 89844421 (git): [rubygems/rubygems] `gemfile.5`: Quote default glob to escape Markdown
- For consistency, I chose code format over plaintext escaping.
-
10:11 AM Revision 1e7ddfa7 (git): [ruby/psych] Extract accessor methods without forwardable
- We should leave additional dependency if we leave from them.
https://github.com/ruby/psych/commit/3d0325a774 -
09:21 AM Feature #16657 (Assigned): Don't ship bundled gems as .gem files as well as in expanded form
- 04:09 AM Revision 62b49834 (git): [ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more method signatures
- This commit improves the behavior of showing the "toggle source" element on mouseover.
For example, when a method has one more signatures by using `:call-seq:`,
```ruby
# :call-seq:
# foo {|element| ... } -> self
# foo -> new_enume... - 04:08 AM Revision f9288fb5 (git): [ruby/rdoc] Add source_code, homepage and changelog uris to gemspec metadata [ci skip]
- https://github.com/ruby/rdoc/commit/b93687fdd0
- 03:39 AM Revision 62754503 (git): [ruby/rdoc] [DOC] Fix to use KeyboardEvent.key over keyCode
- https://github.com/ruby/rdoc/commit/663edc807c
- 03:37 AM Revision 77fa4787 (git): [ruby/rdoc] Add keydown event listener to focus on search field
- https://github.com/ruby/rdoc/commit/db62e47df2
07/04/2023
- 08:45 PM Revision fd6da40f (git): [ruby/irb] Use `max_by` for `longest_cmd_name_length`
- (https://github.com/ruby/irb/pull/628)
https://github.com/ruby/irb/commit/5e87f3bfdd
Co-authored-by: Andy Waite <[email protected]> -
08:02 PM Revision 6b2abe57 (git): YJIT: Avoid reloading InsnOut operands (#8021)
-
07:57 PM Revision a1d4dada (git): YJIT: Break register cycles for C arguments (take 2) (#8018)
- * Revert "Revert "YJIT: Break register cycles for C arguments (#7918)""
This reverts commit 78ca085785460de46bfc4851a898d525c1698ef8.
* Use shfited_live_ranges for the last-insn check -
04:19 PM Bug #19756: URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- Note that underscores are not allowed in host names.
I think it is a reasonable behavior for `URI::HTTP.build(host:"_gateway")` to raise an exception in order to prevent the generation of invalid URI strings.
It is arguable about the... -
02:11 AM Bug #19756 (Open): URI::HTTP.build does not accept a host of `_gateway`, but `URI.parse` will.
- I noticed a difference in behavior between `URI::HTTP.build` and `URI.parse`. `URI::HTTP.build` will not accept `host:` value of `_gateway`, but `URI.parse` will.
## Steps To Reproduce
```ruby
URI::HTTP.build(host: "_gateway")
``... -
03:17 PM Revision f6af5a11 (git): [ruby/irb] Refactor eval history
- (https://github.com/ruby/irb/pull/623)
* Rename `ext/history.rb` to `ext/eval_history.rb`
To confusion with `lib/irb/history.rb`
* Add eval_history tests
* Rename eval_history's History to EvalHistory to avoid confusion -
03:07 PM Revision 2f603bc4 (git): ruby_3_2 backport for #8006 (#8008)
- YJIT: Fix autosplat miscomp for blocks with optionals
When passing an array as the sole argument to `yield`, and the yieldee
takes more than 1 optional parameter, the array is expanded similar
to `*array` splat calls. This is called "au... -
02:45 PM Revision 296782ab (git): YJIT: Fix autosplat miscomp for blocks with optionals (#8006)
- * YJIT: Fix autosplat miscomp for blocks with optionals
When passing an array as the sole argument to `yield`, and the yieldee
takes more than 1 optional parameter, the array is expanded similar
to `*array` splat calls. This is called "... -
02:18 PM Revision 218f913a (git): Suppressing security alert of atty dependency by env_logger-0.9.0
-
01:52 PM Revision 0a8b5cac (git): [ruby/reline] Refactor Reline::Core
- (https://github.com/ruby/reline/pull/561)
* Use Reline::Core.encoding instead of directly referencing IOGate
* Set input/output based on the IOGate's interface -
01:23 PM Revision 2e6a8a86 (git): [DOC] Dir doc (#8014)
-
01:14 PM Revision 9178a998 (git): Remove reference to USE_RINCGC
- This compile time flag was removed in https://github.com/ruby/ruby/pull/7313
This commit cleans up some related dead code. -
12:30 PM Revision 8ddfc177 (git): Use `uint_least32_t`
- The elements of `ruby_global_name_punct_bits` table are 32-bit masks.
-
11:13 AM Revision ab661556 (git): fix substitution errors
- These expressions don't exist.
-
11:13 AM Revision 7ee39556 (git): fix typo
- `matrix.name` doesn't exist.
-
11:13 AM Revision 72e58bbd (git): fix typo
- According to https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#check_suite
the key is "types", not "type". -
11:13 AM Revision 7690a312 (git): chore: add blank lines [ci skip]
- A bit readable to me.
-
11:13 AM Revision f7732d63 (git): Use `${{}}` for if statement [ci skip]
- Looking at `git log` it seems multiple members of the team prefer
this style. Let us follow the tradition. -
11:13 AM Revision b0977e40 (git): chore: just add spaces [ci skip]
- As seen in:
https://docs.github.com/en/actions/learn-github-actions/expressions -
11:13 AM Revision 8ba5437f (git): annocheck: de-matrix
- This workflow have never needed matrix since its birth.
-
11:13 AM Revision d1efc7a3 (git): chore: prettier [ci skip]
- This is just `prettier --single-quote`. Single quote is because
it generated smaller diff than vice verca. -
11:13 AM Revision 420d069c (git): refactor extract mkdir
- Everyone does `mkdir build; src/autogen.sh`; why not merge them.
-
10:32 AM Bug #19751: Ruby 3.2.2 Fails to Compile from Source
- I have what looks to be the exact same issue, with the same errors and a very similar log. The issue manifests with both the tarball and with the git repo on the ruby_3_2 branch. I can provide a full log if needed just for quick comparis...
-
09:51 AM Bug #19751 (Feedback): Ruby 3.2.2 Fails to Compile from Source
- Waiting for feedback.
-
08:51 AM Revision 6f4c8d1d (git): [Cirrus] Run only when YJIT sources change [skip appveyor]
- [ci skip] on other CIs.
Our tasks very often reach a concurrency limit on Cirrus-CI, and get
delayed. Submitting new tasks during the delay seems to make delay
longer and longer. So I think we should restrict the use of Cirrus,
provis... - 05:54 AM Revision 4f2f1ddf (git): [rubygems/rubygems] Test that git sources in lockfiles have stable sort order
- https://github.com/rubygems/rubygems/commit/4c982684ea
-
05:54 AM Revision 09382135 (git): [rubygems/rubygems] Fix git source lockfile unstability
- We have some flags that limit running git commit commands under certain
situations, for example, when running under `--local`. However, those
should only affect remote git operations, not local read-only operations
like `git --version`, ... -
05:54 AM Revision 0ae2709d (git): [rubygems/rubygems] When printing frozen errors, print only Gemfile information
- https://github.com/rubygems/rubygems/commit/93f74abc5f
-
05:54 AM Revision 0fcb4c6a (git): [rubygems/rubygems] Fix another incorrect removal of "ruby" platform from lockfile
- When dependencies in path sources have changed, we'll be re-resolving,
and we can't really know whether the resolution will be valid or invalid
for the Ruby platform, so skip the removal in that case.
https://github.com/rubygems/rubygem... -
04:47 AM Bug #19753: IO::Buffer#get_string can't handle negative offset
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> > irb(main):003:0> b.get_string(-1000)
> ...
Well now that I look at `String#[]` and `Array#[]` they return `nil` when `offset < -size`:
```ruby
irb(main):001:0> s = 'abc'
=> "abc"
irb(...
07/03/2023
-
04:30 PM Feature #19755: Module#class_eval and Binding#eval use caller location by default
- > Indeed, and `class_eval`/`eval` is broken if decorated e.g. for `a = 3; class_eval "a"`.
Oh yeah, good point, that one slipped my mind. -
03:59 PM Feature #19755: Module#class_eval and Binding#eval use caller location by default
- byroot (Jean Boussier) wrote in #note-3:
> Decorating `class_eval / eval` should be quite rare anyways.
Indeed, and `class_eval`/`eval` is broken if decorated e.g. for `a = 3; class_eval "a"`.
The direct caller of `Module#class_eval... -
01:43 PM Feature #19755: Module#class_eval and Binding#eval use caller location by default
- > doesn't work if another module is in the call chain
I'm not sure we can / should handle this. Decorating `class_eval / eval` should be quite rare anyways. -
01:15 PM Feature #19755: Module#class_eval and Binding#eval use caller location by default
- +1
Just be careful about the implementation, because that monkey patch doesn't work if another module is in the call chain
```ruby
module DebugEval
def class_eval(code, ...)
p debug: code
super # <= source_location wi... -
12:01 PM Feature #19755: Module#class_eval and Binding#eval use caller location by default
- `#<UnboundMethod: Foo#foo() (eval in /tmp/foo.rb):10>` sounds great to me, +1.
The `(eval` makes it clear it's an eval in that file and so the line of an exception inside might not be exact. -
11:19 AM Feature #19755 (Closed): Module#class_eval and Binding#eval use caller location by default
- ### Background
In Ruby we're very reliant on `Method#source_location` as well as `caller_locations` to locate source code.
However, code generated via `Binding#eval`, `Module#class_eval` etc defeat this if called without a location... -
01:48 PM Revision af9eeb19 (git): [ruby/irb] Stop treating history-saving logic as extension
- (https://github.com/ruby/irb/pull/613)
Since `IRB.conf[:SAVE_HISTORY]` is assigned with 1000 by default, history-saving
is a feature enabled by default. So it should not be treated as an extension,
which adds unnecessary complexity to t... -
11:07 AM Bug #19753 (Assigned): IO::Buffer#get_string can't handle negative offset
- noteflakes (Sharon Rosner) wrote:
> ```ruby
> ...
I think this should raise an `ArgumentError`.
> ```ruby
> ...
At least, it should not be `"ab"`. -
07:35 AM Bug #19753: IO::Buffer#get_string can't handle negative offset
- PR here: https://github.com/ruby/ruby/pull/8015
-
06:14 AM Bug #19753 (Closed): IO::Buffer#get_string can't handle negative offset
- ```ruby
irb(main):001:0> b = IO::Buffer.for('abc')
=>
#<IO::Buffer 0x00007f858f5450c0+3 EXTERNAL READONLY SLICE>
...
irb(main):002:0> b.get_string(-1)
=> "\x00abc"
irb(main):003:0> b.get_string(-1000, 3)
(irb):3:in `get_string':... -
10:48 AM Bug #19754 (Closed): `IO::Buffer#get_string` raises unsuitable exception for too large offset
- The message seems suitable when both of `offset` and `length` are given.
```ruby
IO::Buffer.for("test").get_string(5, 0) #=> Specified offset+length exceeds buffer size! (ArgumentError)
```
But without `length`, it doesn't seem to ... -
09:57 AM Revision 4430b73c (git): [ruby/timeout] Require Ruby >= 2.6 for the timeout gem
- * The test suite fails on 2.5.
* See https://github.com/ruby/timeout/pull/35
https://github.com/ruby/timeout/commit/03873a9237 - 09:26 AM Revision 8281f8fd (git): [ruby/timeout] Test that work is done in the same thread/fiber as
- the caller
(https://github.com/ruby/timeout/pull/34)
* see discussion in
https://github.com/ruby/timeout/pull/30#issuecomment-1616179651 -
05:47 AM Bug #18933 (Closed): Dir.tmpdir implemented in non-Ractor-safe manner
- Applied in changeset commit:git|3e605a781970cef365002167634a1b5a176bffcb.
----------
[ruby/tmpdir] [Bug #18933] Make `Dir.mktmpdir` Ractor-safe
Fix https://bugs.ruby-lang.org/issues/18933
https://github.com/ruby/tmpdir/commit/446e636434 -
05:47 AM Revision 3e605a78 (git): [ruby/tmpdir] [Bug #18933] Make `Dir.mktmpdir` Ractor-safe
- Fix https://bugs.ruby-lang.org/issues/18933
https://github.com/ruby/tmpdir/commit/446e636434 -
04:36 AM Revision 4bfa4433 (git): [Cirrus] Set up cargo environments just once at first
-
04:36 AM Revision d2ffd0ad (git): [Cirrus] Share configuration using YAML aliases
- https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
-
04:35 AM Revision 3a761dcc (git): [Cirrus] Show CPU and memory info
-
04:35 AM Revision bde3b98a (git): [Cirrus] Make gem download non-verbose
-
04:35 AM Revision 4a607641 (git): [Cirrus] Run also crons other than nightly
07/02/2023
- 10:51 PM Revision 7e333b7a (git): [ruby/timeout] require ruby version in gemspec
- https://github.com/ruby/timeout/commit/949445f591
-
05:49 PM Feature #19752 (Assigned): Allow `--backtrace-limit` to appear in RUBYOPT
- The proposed patch includes a change to treat it as unspecified with -1. I would like to get Matz's approval on this.
-
04:42 PM Feature #19735: Add support for UUID version 7
- I hadn't realized that `"random/formatter"` belonged to `securerandom`. I closed the `ruby` PR and created a new PR here: https://github.com/ruby/securerandom/pull/19. There was also another earlier PR which looks almost identical to m...
-
02:31 PM Feature #19742: Introduce `Module#anonymous?`
- > I think it would be great to reflect it in the Module#name if a Module is no longer reachable through that name.
> ...
If I understand this correctly, I believe it is not possible preserving today's rules.
Nowadays, if a module was ev... -
07:52 AM Revision 9682275b (git): [Travis] make `.bundle` directory writable
- To create gem files from sources under `gems/src` for tests.
- 04:49 AM Revision 12fc80ab (git): Update default gems list at 4bad2a9562aece90f6df9f3ef1c7ec [ci skip]
-
04:49 AM Revision 4bad2a95 (git): [ruby/irb] Bump version to 1.7.1
- (https://github.com/ruby/irb/pull/621)
https://github.com/ruby/irb/commit/b9a9dd97df -
04:00 AM Revision fa6e14c4 (git): [DOC] Stop downloading Unicode data only for unicode_properties.rdoc
-
03:21 AM Feature #19521: Support for `Module#name=` and `Class#name=`.
- @sawa there are also methods that start with `set_`, for example `set_trace_func` and `set_encoding`. I think one difference is that most `xyz_set` methods tend to also have a `xyz_get` counterpart. Which is not the case for `set_tempora...
07/01/2023
-
03:30 PM Revision 765a19ab (git): [ruby/psych] Remove private methods unused since #487
- https://github.com/ruby/psych/commit/902c292f26
-
03:02 PM Feature #17339: Semantic grouping with BigDecimal#to_s
- I've sent pull request with solution as specified by author of issue: https://github.com/ruby/bigdecimal/pull/264
-
02:55 PM Feature #19752 (Closed): Allow `--backtrace-limit` to appear in RUBYOPT
- The `--backtrace-limit` option was added in #8661 but it is not currently supported in the `RUBYOPT` environment variable, which appears to be a mistake. Unlike other long options which are not allowed in `RUBYOPT` (e.g. `--copyright`, `...
-
02:22 PM Bug #19728 (Closed): Automate (checking of) Regexp character property documentation
- Applied in changeset commit:git|08b3fb11524e6cde453476f24ac80fd60457dfef.
----------
[Bug #19728] Auto-generate unicode property docs
https://bugs.ruby-lang.org/issues/19728 -
02:22 PM Revision 08b3fb11 (git): [Bug #19728] Auto-generate unicode property docs
- https://bugs.ruby-lang.org/issues/19728
-
02:17 PM Revision 3fd1968d (git): Introduce script_lines function for refactor script_lines_defined and script_lines_get functions
-
02:16 PM Revision a70320b8 (git): Define `NO_SANITIZE` with reference to ext/bigdecimal/missing.c
-
02:16 PM Revision 174dbe33 (git): Supress `warning: ‘unsigned-integer-overflow’ attribute directive ignored [-Wattributes]`
-
06:59 AM Bug #19751: Ruby 3.2.2 Fails to Compile from Source
- Could you share `version.i` generated with `make version.i`?
-
05:59 AM Bug #19751 (Closed): Ruby 3.2.2 Fails to Compile from Source
- Details are at the attached file, but the build-crash-log seems to be:
```
compiling addr2line.c
compiling dmyenc.c
linking miniruby
/bin/sh ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb update... -
06:14 AM Revision 1a6f3bec (git): Fallback `rb_iseq_complete`
- For compilers that do not eliminate references to functions that are
never called, such as SunC. -
05:19 AM Bug #19394: cvars in instance of cloned class point to source class's cvars even after class_variable_set on clone
- Merged https://github.com/ruby/ruby/pull/7888
-
04:55 AM Bug #19394 (Closed): cvars in instance of cloned class point to source class's cvars even after class_variable_set on clone
- This issue should be fixed at 40f090f4339820d19da8ecdf81a981489c22eb57 and 135a5eb716399443da58db342de6093c91b5ad62 in master branch.
Thank you for creating the PRs to backport them into stable branches.
I will handle it (the one for... -
05:18 AM Revision 07d5709f (git): bump patchlevel
-
05:17 AM Revision 038913f1 (git): Add missing write barrier
- We were missing the write barrier for class_value to cref. This should
fix the segv we were seeing in http://ci.rvm.jp/logfiles/brlog.trunk-gc-asserts.20230601-165052
Co-authored-by: Aaron Patterson <[email protected]> -
05:17 AM Revision 8a3d5797 (git): Fix cvar caching when class is cloned
- The class variable cache that was added in
https://github.com/ruby/ruby/pull/4544 changed the behavior of class
variables on cloned classes. As reported when a class is cloned AND a
class variable was set, and the class variable was read... -
05:17 AM Revision 06dae460 (git): Copy cvar table on clone
- When a class with a class variable is cloned we need to also copy the
cvar cache table from the original table to the clone. I found this bug
while working on fixing [Bug #19379]. While this does not fix that bug
directly it is still a r... -
04:48 AM Revision 814271b2 (git): bump patchlevel
-
04:46 AM Revision bbf1eb40 (git): Merge URI-0.12.2 for Bundler
-
04:46 AM Revision dd73fe07 (git): Merge URI-0.12.2
-
03:22 AM Revision 2952dbad (git): [DOC] Move document for YARP
-
02:38 AM Bug #19750 (Closed): Ruby hangs when parsing Regexp with unterminated unicode "/\u{"
- Applied in changeset commit:git|1bc8838d60ef3fc6812d3b64ed87caaf0ae943d9.
----------
Handle unterminated unicode escapes in regexps
This fixes an infinite loop possible after ec3542229b29ec93062e9d90e877ea29d3c19472.
For \u{} escapes i... -
02:37 AM Revision 1bc8838d (git): Handle unterminated unicode escapes in regexps
- This fixes an infinite loop possible after ec3542229b29ec93062e9d90e877ea29d3c19472.
For \u{} escapes in regexps, skip validation in the parser, and rely on the regexp
code to handle validation. This is necessary so that invalid unicode ... -
02:23 AM Bug #19749: Confirm correct behaviour when attaching private method with `#define_method`
- I submitted a pull request to fix this: https://github.com/ruby/ruby/pull/8009