Activity
From 03/28/2024 to 04/03/2024
04/03/2024
-
11:44 PM Revision 60567731 (git): Move shareable_constant_value logic from parse.y to compile.c
-
09:34 PM Revision 4ef99905 (git): [PRISM] Enhance syntax error message extraction in test_literal_suffix btest
-
09:34 PM Revision ced6aff2 (git): [PRISM] Mark constant path owning expressions as not popped
-
09:34 PM Revision 6bbb3e31 (git): [ruby/prism] Allow retry in rescue modifier
- https://github.com/ruby/prism/commit/debe19459a
-
09:34 PM Revision 7e28d3c1 (git): [PRISM] Enable passing tests for invalid block exits
-
09:34 PM Revision ffba4847 (git): [PRISM] Fix up syntax error message parsing in btests
-
09:34 PM Revision e48fd409 (git): [ruby/prism] No invalid block exits in eval
- https://github.com/ruby/prism/commit/85e045ce40
-
09:34 PM Revision a64f1ab6 (git): [ruby/prism] Fix up pm_node_list_grow
- https://github.com/ruby/prism/commit/7784365d3f
-
09:34 PM Revision a33f19f7 (git): [ruby/prism] Allow yields in default values in method definitions
- https://github.com/ruby/prism/commit/5bc4cc3413
-
09:34 PM Revision bddd004c (git): [ruby/prism] Further delineate block types
- https://github.com/ruby/prism/commit/750116e5dc
-
09:34 PM Revision e19fccbf (git): [ruby/prism] Delineate rescue/else/ensure for more accurate exits
- https://github.com/ruby/prism/commit/92868fad78
-
09:34 PM Revision be48b733 (git): [ruby/prism] Pass block exits up the tree
- https://github.com/ruby/prism/commit/168f72b9fe
-
09:34 PM Revision 1fb11824 (git): [ruby/prism] Introduce PM_NODE_LIST_FOREACH to make it easier to iterate over node lists
- https://github.com/ruby/prism/commit/5d4da7c69c
-
09:34 PM Revision 198d197a (git): [ruby/prism] Allow block exits in defined? and fix modifier while/until
- https://github.com/ruby/prism/commit/2752f0b8df
-
09:34 PM Revision 7ddf0935 (git): [ruby/prism] Allow block exits from while/until/for
- https://github.com/ruby/prism/commit/bc46306b9b
-
09:34 PM Revision 664a5082 (git): [ruby/prism] Check for syntax errors using RubyVM
- https://github.com/ruby/prism/commit/9e200dd1c1
-
09:34 PM Revision 1153bcde (git): [ruby/prism] Fix up errors test
- https://github.com/ruby/prism/commit/5f86742537
-
09:34 PM Revision 8a18a600 (git): [ruby/prism] Fix up location tests
- https://github.com/ruby/prism/commit/eeef9eb09e
-
09:34 PM Revision e454cf22 (git): [ruby/prism] Update fixtures to be all valid Ruby
- https://github.com/ruby/prism/commit/a0b978d25b
-
09:34 PM Revision 7d9e5061 (git): [ruby/prism] Correct errors for invalid retry
- https://github.com/ruby/prism/commit/96ca6e51fc
-
09:34 PM Revision a83736c2 (git): [ruby/prism] Log errors for invalid jumps
- https://github.com/ruby/prism/commit/892d0f9310
-
09:34 PM Revision 447d3cca (git): [ruby/prism] Update unparser tests
- https://github.com/ruby/prism/commit/b70f760b28
-
09:34 PM Revision 79c17250 (git): [ruby/prism] Update seattlerb/ruby_parser tests
- https://github.com/ruby/prism/commit/cd823d5026
-
09:34 PM Revision 6cd35215 (git): [ruby/prism] Update whitequark/parser tests
- https://github.com/ruby/prism/commit/b1492ec87c
-
09:34 PM Revision 08c841ff (git): [ruby/prism] Use tilde for extended error lines
- https://github.com/ruby/prism/commit/daaa386a4f
-
09:34 PM Revision 3147404d (git): [ruby/prism] Match circular parameter error message
- https://github.com/ruby/prism/commit/c0381b10e4
-
09:28 PM Revision 571bfc74 (git): YJIT: update code optimization tips in yjit.md (#10445)
- * YJIT: update code optimization tips in yjit.md
* Function => method -
07:49 PM Revision c7cda1ae (git): YJIT: Let sp_opnd take the number of slots (#10442)
-
06:06 PM Revision f24bf2f9 (git): Do not rely on ripper for magic comment test
-
05:38 PM Revision 354e1583 (git): YJIT: Suppress warn(static_mut_refs) (#10440)
-
05:38 PM Revision 8388604a (git): Revert "Migrate auto_request_review back to CODEOWNERS" (#10441)
- Revert "Migrate auto_request_review back to CODEOWNERS (#10133)"
This reverts commit c5b568bab6a1401df385331e4b6ed6209fe4071d. -
04:25 PM Bug #20409: Missing reporting some invalid breaks
- I think
```ruby
END { break }
```
should also be a syntax error, as it seems to always result in a `LocalJumpError`, but I could be wrong. -
04:24 PM Bug #20409: Missing reporting some invalid breaks
- Sorry hit enter too soon...
```ruby
def a
break
rescue
b while c
end
```
```ruby
def a
break
ensure
b while c
end
``` -
04:23 PM Bug #20409 (Open): Missing reporting some invalid breaks
-
03:40 PM Feature #20408: Add heap_live_slots to GC.stat_heap
- Thank you for this ticket. I opened a PR that implements this feature: https://github.com/ruby/ruby/pull/10439
-
02:24 PM Feature #20408 (Open): Add heap_live_slots to GC.stat_heap
- `GC.stat` exposes a `heap_live_slots` metric that returns the number of live objects occupying eden slots.
Because the slot size was fixed to `RVALUE_SIZE`, this allowed for some basic approximations of how many bytes were live/in-use... -
02:14 PM Revision f928e60d (git): Check if a fatal signal is from kernel
- On Linux, `siginfo_t` uses a union for each `si_code`, and the field
corresponding to `si_pid` does not belong to the `_sigfault` field for
SIGSEGV. It actually overlaps the `si_addr` field, which is usually
non-zero on stack overflow.
... -
01:47 PM Revision 4960a598 (git): Reapply "Mark iseq structs with rb_gc_mark_movable"
- This reverts commit 16c18eafb579cf2263c7e0057c4c81358fe62075.
-
11:50 AM Misc #20407 (Closed): Question about applying encoding modifier to an interpolated Regexp
- I am wondering how Regexp encoding modifiers (u, s, e, n) interfere in encoding negotiation of parts/fragments in an interpolated Regexp literal.
Examples #1
```ruby
# encoding: us-ascii
# Unicode: Ф - U+0424
# windows-1251: Ф... -
10:45 AM Feature #20350: Return chilled string from Symbol#to_s
- I added this to the dev meeting: https://bugs.ruby-lang.org/issues/20336#note-8
-
10:45 AM Misc #20336: DevMeeting-2024-04-17
- * [Feature #20350] Return chilled string from Symbol#to_s
* Since there are now chilled strings, it seems the perfect tool to transition to Symbol#to_s eventually returning a frozen String to avoid wasteful allocations.
* OK to ret... -
08:00 AM Misc #20336: DevMeeting-2024-04-17
- * [Feature #20396] Add `string_value: true/false` parameter to `ObjectSpace.dump_all` (byroot)
* This method is often used in production to investigate memory leak and other memory related issues.
* Because it dumps (pure ASCII) stri... -
10:33 AM Misc #20406: Question about Regexp encoding negotiation
- > It seems to behave a bit like string interpolation/concatenation here
Specifically:
```
$ ruby -e '# encoding: EUC-JP
p ("a" + "\xC3\xA9".force_encoding("UTF-8") + "c").encoding'
#<Encoding:UTF-8>
```
But it seems very much unexpecte... -
10:29 AM Misc #20406: Question about Regexp encoding negotiation
- I found another case which does not seem to respect those rules:
```
$ ruby -ve 'p /#{"é".dup}/e.encoding'
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
#<Encoding:UTF-8>
$ ruby -e 'p /a#{"é".dup}b/e.encoding'
#<Encod... -
09:57 AM Misc #20406: Question about Regexp encoding negotiation
- > By default, a regexp with only US-ASCII characters has US-ASCII encoding:
I was wondering what kind of check is used for that and it seems to be checking the Regexp source when building it (makes sense):
```
$ ruby -e 'p /a/.encod... -
06:10 AM Misc #20406: Question about Regexp encoding negotiation
- Seems like a real bug to me.
```
% docker run --rm -it -e 'ALL_RUBY_SINCE=ruby-1.8.7' rubylang/all-ruby ./all-ruby -e 'p(/#{} a/e.encoding)'
ruby-1.8.7 -e:1: undefined method `encoding' for / a/e:Regexp (NoMethodError)
... -
09:07 AM Revision 25e28559 (git): Ignore warnings on the bundled gems repo
-
08:15 AM Feature #4831 (Closed): Integer#prime_factors
- prime is already extracted from ruby repository to https://github.com/ruby/prime.
We should move to its place. -
07:38 AM Revision ce395d7e (git): Reset `$.` before matching
- This is a global variable and may happen to be set to 4 elsewhere.
http://ci.rvm.jp/logfiles/brlog.trunk.20240403-054356#L1707
```
The if expression with a boolean range ('flip-flop' operator) warns when Integer literals are used instea... -
07:17 AM Revision 56ecd803 (git): Launchable: Add lineNumber field
-
07:04 AM Feature #20404: `2pi`
- zverok (Victor Shepelev) wrote in #note-7:
> When writing/reading in Ruby some math, there are several different irky things:
One thing that irks me about Math::sin and friends is that these are not available as methods (on Float a... -
06:35 AM Feature #20404: `2pi`
- > This proposal is half joke, half serious.
There are several interesting things to unpack here (though I don’t see any actionable proposals). When writing/reading in Ruby some math, there are several different irky things:
1. `Math:... -
01:16 AM Feature #20404 (Rejected): `2pi`
- April Fools' Day is over. Closing.
This proposal is half joke, half serious. I can think of some reasons why we should introduce `2pi`.
### There are some languages that provide not only `pi` but also commonly used values.
@ko1 ... -
05:53 AM Misc #12751 (Closed): Incompatibility of Ruby 3
- Ruby 3 is already released today.
-
05:52 AM Feature #14125 (Closed): Readline Module (STDLIB): Add support for ^O emacs keybinding?
- readline wrapper is extracted to https://github.com/ruby/readline-ext. Can you file your request to https://github.com/ruby/readline-ext ?
Or we used reline that is pure ruby altanative of readline today. You may need to file this to ... -
05:52 AM Bug #20397: The nkf license in LEGAL file seems to be obsolete
- nkf is out of tree these days. Just clearing that section should suffice I think.
-
05:45 AM Bug #19048 (Closed): Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL
- Closing due to lack of feedback over 1 year.
-
05:33 AM Misc #13787 (Rejected): The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
-
04:26 AM Bug #17878 (Assigned): bootstraptest/test_ractor.rb:224 a random failing test with "The outgoing-port is already closed (Ractor::ClosedError)"
-
04:22 AM Feature #15261 (Closed): Expose rl_variable_value as Readline.variable_value
- We have been moved this discussion to https://github.com/ruby/readline-ext/pull/3.
-
04:20 AM Bug #20076 (Closed): M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
- This issue is no longer happened while 3 months. I'll close this.
-
03:50 AM Misc #20387 (Assigned): Meta-ticket for ASAN support
-
03:50 AM Feature #20261 (Assigned): Add symbol synonyms for '' and nil for IO method line separator arguments
-
03:50 AM Bug #20255 (Assigned): Embedded arrays aren't moved correctly across ractors
-
03:50 AM Bug #20225 (Assigned): Inconsistent behavior of regex matching for a regex has a null loop
-
03:50 AM Feature #20105 (Assigned): Introduce `IO::Stream` or something similar.
-
03:50 AM Feature #20102 (Assigned): Introduce `Fiber#resuming?`
-
03:50 AM Bug #20082 (Assigned): Killing fibers across threads: unexpected exception
-
03:50 AM Bug #20041 (Assigned): Array destructuring and default values in parameters
-
03:50 AM Feature #19840 (Assigned): [Proposal] Expand Find pattern to Multiple Find
-
03:50 AM Bug #19765 (Assigned): Ractor.make_shareable ignores self of a proc created from a Method
-
03:50 AM Misc #19758 (Assigned): Statically link ext/json
-
03:50 AM Bug #19696 (Assigned): YJIT panicked - branch stubs should never enlarge branches
-
03:50 AM Feature #19642 (Assigned): Remove vectored read/write from `io.c`.
-
03:50 AM Feature #19472 (Assigned): Ractor::Selector to wait multiple ractors
-
03:50 AM Bug #19387 (Assigned): ObjectSpace.each_objects only returns shareable objects after starting a Ractor
-
03:50 AM Bug #19363 (Assigned): Fix rb_transient_heap_mark: wrong header (T_STRUCT) segfault
-
03:50 AM Feature #19324 (Assigned): Enumerator.product => Enumerable#product
-
03:50 AM Misc #19304 (Assigned): Kernel vs Object documentation
-
03:50 AM Feature #19171 (Assigned): Update Unicode data to Unicode Version 15.1
-
03:50 AM Bug #19154 (Assigned): Specify require and autoload guarantees in ractors
-
03:50 AM Misc #19122 (Assigned): Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
-
03:50 AM Feature #19077 (Assigned): Introduce `Hash#dup` copy on write.
-
03:50 AM Feature #19059 (Assigned): Introduce top level `module TimeoutError` for aggregating various timeout error classes.
-
03:50 AM Feature #19056 (Assigned): Introduce `Fiber.annotation` for attaching messages to fibers.
-
03:50 AM Bug #18818 (Assigned): Thread waitq does not retain referenced objects, can lead to use after free.
-
03:50 AM Misc #18761 (Assigned): provide an example wasm project
-
03:50 AM Bug #18740 (Assigned): Use of rightward assignment changes line number needed for line-targeted TracePoint
-
03:50 AM Bug #18601 (Assigned): Invalid byte sequences in Big5 encodings
-
03:50 AM Feature #18275 (Assigned): Add an option to define_method to not capture the surrounding environment
-
03:50 AM Feature #18227 (Assigned): Static class initialization.
-
03:50 AM Bug #18002 (Assigned): s390x: Tests failing without LC_ALL env
-
03:50 AM Feature #17884 (Assigned): locindex for profiling tools
-
03:50 AM Feature #17849 (Assigned): Fix Timeout.timeout so that it can be used in threaded Web servers
-
03:50 AM Feature #17830 (Assigned): Add Integer#previous and Integer#prev
-
03:50 AM Feature #17785 (Assigned): Allow named parameters to be keywords
-
03:50 AM Bug #17624 (Assigned): Ractor.receive is not thread-safe
-
03:50 AM Bug #17617 (Assigned): When a Ractor's incoming port is closed, Ractor.receive_if does not raise Ractor::ClosedError, but instead blocks indefinitely
-
03:50 AM Misc #17569 (Assigned): `uri` lib maintainership
-
03:50 AM Feature #17513 (Assigned): Methods of shareable objects and UnboundMethods should be shareable
-
03:50 AM Misc #17502 (Assigned): C vs Ruby
-
03:50 AM Feature #17473 (Assigned): Make Pathname to embedded class of Ruby
-
03:50 AM Bug #17420 (Assigned): Unsafe mutation of $" when doing non-RubyGems require in Ractor
-
03:50 AM Feature #17414 (Assigned): Ractor should allow access to shareable attributes for Modules/Classes
-
03:50 AM Feature #17404 (Assigned): Ractor `move:` API to allow shareability check
-
03:50 AM Bug #17400 (Assigned): Incorrect character downcase for Greek Sigma
-
03:50 AM Feature #17393 (Assigned): `Ractor::Moved#inspect`
-
03:50 AM Bug #17359 (Assigned): Ractor copy mode is not Ractor-safe
-
03:50 AM Feature #17288 (Assigned): Optimize __send__ call with a literal method name
-
03:50 AM Feature #17279 (Assigned): Allow a negative step in Range#step with a block
-
03:50 AM Feature #17210 (Assigned): More readable and useful `Set#inspect`
-
03:50 AM Feature #17184 (Assigned): No stdlib function to perform simple string replacement
-
03:50 AM Feature #17173 (Assigned): open-uri で ciphers を設定したい
-
03:50 AM Misc #17154 (Assigned): Update Pathname Documentation to Clarify Expected Behavior
-
03:50 AM Feature #16992 (Assigned): Sets: officially ordered
-
03:50 AM Feature #16989 (Assigned): Sets: need ♥️
-
03:50 AM Feature #16986 (Assigned): Anonymous Struct literal
-
03:50 AM Feature #16985 (Assigned): Improve `pp` for `Hash` and `String`
-
03:50 AM Feature #16978 (Assigned): Ruby should not use realpath for __FILE__
-
03:50 AM Feature #16894 (Assigned): Integer division for Ruby 3
-
03:50 AM Feature #16833 (Assigned): Add Enumerable#empty?
-
03:50 AM Feature #16559 (Assigned): Net::HTTP#request injects "Connection: close" header if #started? is false, wasting HTTP server resources
-
03:50 AM Feature #16291 (Assigned): Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
-
03:50 AM Misc #16188 (Assigned): What are the performance implications of the new keyword arguments in 2.7 and 3.0?
-
03:50 AM Feature #15991 (Assigned): Allow questionmarks in variable names
-
03:50 AM Feature #15940 (Assigned): Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
-
03:50 AM Feature #15931 (Assigned): encoding for CESU-8
-
03:50 AM Feature #15918 (Assigned): Pattern matching for Set
-
03:50 AM Feature #15881 (Assigned): Optimize deconstruct in pattern matching
-
03:50 AM Feature #15854 (Assigned): Tracing instance variable assignment
-
03:50 AM Feature #15837 (Assigned): Module#name_components
-
03:50 AM Feature #15815 (Assigned): Add option to raise NoMethodError for OpenStruct
-
03:50 AM Misc #15802 (Assigned): Reduce the minimum string buffer size from 127 to 63 bytes
-
03:50 AM Feature #15778 (Assigned): Expose an API to pry-open the stack frames in Ruby
-
03:50 AM Bug #15764 (Assigned): Whitespace and control characters should not be permitted in tokens
-
03:50 AM Feature #15554 (Assigned): warn/error passing a block to a method which never use a block
-
03:50 AM Feature #15445 (Assigned): Reject '.123' in Float() method
-
03:50 AM Feature #15408 (Assigned): Deprecate ObjectSpace._id2ref
-
03:50 AM Bug #15334 (Assigned): child_info_fork::abort: address space needed by 'emoji_iso2022_kddi.so' on cygwin
-
03:50 AM Feature #15330 (Assigned): autoload_relative
-
03:50 AM Bug #15315 (Assigned): ec_switch can still lose interrupts
-
03:50 AM Feature #15305 (Assigned): [PATCH] include/ruby/ruby.h (RB_ALLOCV*): remove GC guard
-
03:50 AM Feature #15277 (Assigned): at_exec
-
03:50 AM Bug #15263 (Assigned): [PATCH] vm_trace.c (postponed_job_register): only hit main thread
-
03:50 AM Feature #15240 (Assigned): Set operations check for is_a?(Set), rather than allowing duck typing
-
03:50 AM Feature #15192 (Assigned): Introduce a new "shortcut assigning" syntax to convenient setup instance variables
-
03:50 AM Feature #15112 (Assigned): Introducing the short form of `STDERR.puts expr.inspect`.
-
03:50 AM Bug #15097 (Assigned): Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
-
03:50 AM Misc #15007 (Assigned): Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
-
03:50 AM Feature #14982 (Assigned): Improve namespace system in ruby to avoiding top-level names chaos
-
03:50 AM Feature #14927 (Assigned): Loading multiple files at once
-
03:50 AM Feature #14859 (Assigned): [PATCH] implement Timeout in VM
-
03:50 AM Feature #14844 (Assigned): Future of RubyVM::AST?
-
03:50 AM Feature #14813 (Assigned): [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
-
03:50 AM Misc #14760 (Assigned): cross-thread IO#close semantics
-
03:50 AM Feature #14724 (Assigned): chains of inequalities
-
03:50 AM Misc #14692 (Assigned): Question: Ruby stdlib's Option Parser
-
03:50 AM Bug #14640 (Assigned): [win32] File.realpath treats a relative path with a drive letter as an absolute path.
-
03:50 AM Feature #14609 (Assigned): Let `Kernel#p` without an argument print the receiver
-
03:50 AM Feature #14548 (Assigned): Allow some_array&.[1] to be a valid syntax
-
03:50 AM Feature #14546 (Assigned): Hash#delete!
-
03:50 AM Feature #14492 (Assigned): iseq loading + caching should be in core
-
03:50 AM Feature #14394 (Assigned): Class.descendants
-
03:50 AM Feature #14128 (Assigned): Introduce Hash#delete default value
-
03:50 AM Feature #13697 (Assigned): [PATCH]: futex based thread primitives
-
03:50 AM Feature #13696 (Assigned): Add exchange and noreplace options to File.rename
-
03:50 AM Feature #13512 (Assigned): System Threads
-
03:50 AM Feature #13385 (Assigned): [PATCH] Make Resolv::DNS::Name validation similar to host and dig commands
-
03:50 AM Feature #13378 (Assigned): Eliminate 4 of 8 syscalls when requiring file by absolute path
-
03:50 AM Feature #12306 (Assigned): Implement String #blank? #present? and improve #strip and family to handle unicode
-
03:50 AM Feature #12244 (Assigned): Add a way to `integer - integer % num`
-
03:50 AM Feature #12064 (Assigned): Make creation of enc/unicode/casefold.h automatic again
-
03:50 AM Feature #12019 (Assigned): Better low-level support for writing concurrent libraries
-
03:50 AM Feature #11882 (Assigned): Map or NamedMap
-
03:50 AM Bug #11840 (Assigned): Error with "make check" on Cygwin
-
03:50 AM Bug #11808 (Assigned): Different behavior between Enumerable#grep and Array#grep
-
03:50 AM Feature #11735 (Assigned): Porting String#squish and String#squish! from Ruby on Rails' Active Support
-
03:50 AM Feature #11710 (Assigned): [PATCH] Replace Set#merge with Set#merge! and make Set#merge non-mutating.
-
03:50 AM Feature #11670 (Assigned): Show warning to make nested def obsolete
-
03:50 AM Feature #11627 (Assigned): make `nonzero` an alias of `nonzero?`
-
03:50 AM Feature #11599 (Assigned): Dump entries of hash in ObjectSpace
-
03:50 AM Feature #11518 (Assigned): Queue enhancement - promote! and promote_all!
-
03:50 AM Feature #11517 (Assigned): Queue enhancement - conditional pop
-
03:50 AM Bug #11438 (Assigned): native_thread_init_stack() get machine.stack_start unequal to thread's stack start address, x86 win32
-
03:50 AM Feature #11390 (Assigned): Allow symbols starting with numbers
-
03:50 AM Feature #11312 (Assigned): Add Resolv::DNS::Resource::IN::SPF
-
03:50 AM Feature #11307 (Assigned): exception-free non-blocking Queue#pop
-
03:50 AM Feature #11299 (Assigned): [PATCH] use Array instead of custom struct for generic ivars
-
03:50 AM Feature #11292 (Assigned): objspace: Dump type of special consts
-
03:50 AM Feature #11181 (Assigned): Add a line directive to Ruby
-
03:50 AM Bug #11142 (Assigned): Command line argument parser on windows handles double quotes inconsistently.
-
03:50 AM Feature #11122 (Assigned): exception-free non-blocking Queue/SizedQueue operations
-
03:50 AM Feature #10932 (Assigned): Enabling allocation tracing as early as possible
-
03:50 AM Misc #10628 (Assigned): Peformance of URI module
-
03:50 AM Feature #10574 (Assigned): Add String#lchomp and String.lchomp!
-
03:50 AM Feature #10549 (Assigned): Deprecate each_with_index and each_with_object in favor of with_index and with_object
-
03:50 AM Misc #10541 (Assigned): Remove shorthand string interpolation syntax
-
03:50 AM Misc #10513 (Assigned): instance_eval yields the receiver, but is documented to yield no arguments
-
03:50 AM Feature #10498 (Assigned): Make `loop` yield a counter
-
03:50 AM Feature #10489 (Assigned): Add inherit method for clearer and multiple inheritance
-
03:50 AM Feature #10423 (Assigned): [PATCH] opt_str_lit*: avoid literal string allocations
-
03:50 AM Bug #10416 (Assigned): Create mechanism for updating of Unicode data files downstreams when we want
-
03:50 AM Feature #10404 (Assigned): Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer
-
03:50 AM Feature #10328 (Assigned): [PATCH] make OPT_SUPPORT_JOKE a proper VM option
-
03:50 AM Feature #10287 (Assigned): rename COLON3 to COLON2_HEAD.
-
03:50 AM Feature #10238 (Assigned): todo: remove dependency on malloc_usable_size
-
03:50 AM Bug #10128 (Assigned): Quoting problem for arguments of Kernel.system, Kernel.exec on Windows
-
03:50 AM Bug #10009 (Assigned): IO operation is 10x slower in multi-thread environment
-
03:50 AM Feature #9704 (Assigned): Refinements as files instead of modules
-
03:50 AM Feature #9614 (Assigned): ordering of non-Hash items which use st_ internally
-
03:50 AM Feature #9590 (Assigned): introduce st_foreach_update and st_foreach_update_check for performance.
-
03:50 AM Bug #9409 (Assigned): Cygwin で "filesystem" の encoding が正しくないケース
-
03:50 AM Feature #9347 (Assigned): Accept non callable argument to detect
-
03:50 AM Feature #9123 (Assigned): Make Numeric#nonzero? behavior consistent with Numeric#zero?
-
03:50 AM Feature #9070 (Assigned): Introduce `---` as synonym of `end` keyword
-
03:50 AM Feature #9043 (Assigned): Add String#f method as shortcut for #freeze
-
03:50 AM Feature #8804 (Assigned): ONCE syntax
-
03:50 AM Feature #8663 (Assigned): Officialy alias ArgumentError to ArgError
-
03:50 AM Feature #8478 (Assigned): The hash returned by Enumerable#group_by should have an empty array for its default value
-
03:50 AM Feature #8449 (Assigned): Array#ary_plus always returns an array
-
03:50 AM Bug #8444 (Assigned): Regexp vars $~ and friends are not thread local
-
03:50 AM Feature #8270 (Assigned): Ruby should build without thread support (aka minix)
-
03:50 AM Feature #8232 (Assigned): Rudiments of abstract algebra in Ruby
-
03:50 AM Feature #8229 (Assigned): extend Hash.include?
-
03:50 AM Feature #8061 (Assigned): 重複するキーワードをエラーにする
-
03:50 AM Feature #7914 (Assigned): Case for local class methods
-
03:50 AM Bug #7892 (Assigned): MIME encoding bug of NKF.nkf
-
03:50 AM Feature #7883 (Assigned): Add Regex#to_proc
-
03:50 AM Feature #7876 (Assigned): Add method for accessing Class from within Singleton Class
-
03:50 AM Feature #7848 (Assigned): Restore default state for core ruby objects
-
03:50 AM Feature #7795 (Assigned): Symbol.defined? and/or to_existing_symbol
-
03:50 AM Feature #7788 (Assigned): YAML Tag Schema Support
-
03:50 AM Feature #7748 (Assigned): Contextual send
-
03:50 AM Feature #7745 (Assigned): lib/observer.rb: Observers are compared by identity
-
03:50 AM Bug #7742 (Assigned): System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
-
03:50 AM Feature #7704 (Assigned): Add a list of enabled (experimental) language features.
-
03:50 AM Feature #7702 (Assigned): Remove Proc#binding
-
03:50 AM Feature #7657 (Assigned): Array#& doesn't accept Enumerables
-
03:50 AM Feature #7654 (Assigned): Add optional code block to IO::readlines
-
03:50 AM Feature #7614 (Assigned): alias_accessor
-
03:50 AM Feature #7611 (Assigned): Focal method for all loads/requires
-
03:50 AM Feature #7604 (Assigned): Make === comparison operator ability to delegate comparison to an argument
-
03:50 AM Feature #7548 (Assigned): Load and Require Callbacks
-
03:50 AM Feature #7546 (Assigned): Change behavior of `Array#slice` for an argument of `Range` class
-
03:50 AM Feature #7444 (Assigned): Array#product_set
-
03:50 AM Feature #7377 (Assigned): #indetical? as an alias for #equal?
-
03:50 AM Feature #7149 (Assigned): Constant magic for everyone.
-
03:50 AM Feature #6869 (Assigned): Do not treat `_` parameter exceptionally
-
03:50 AM Feature #6817 (Assigned): Partial application
-
03:50 AM Feature #6641 (Assigned): Hash.auto constructor
-
03:44 AM Feature #13604 (Closed): Exposing alternative interface of readline
- The C wrapper library of libreadline is extracted https://github.com/ruby/readline-ext from Ruby 3.3. If you still interest this, can you submit your proposal to upstream?
-
03:31 AM Feature #12676 (Closed): Significant performance increase, and code conciseness, for prime_division method in prime.rb
- prime is maintained at https://github.com/ruby/prime today. If you still interest this, can you submit this to upstream repo?
-
03:24 AM Bug #9189 (Open): Build failure on Windows in case of nonascii TEMP environment.
-
03:23 AM Feature #11625 (Open): Unlock GVL for SHA1 calculations
-
02:35 AM Feature #15628 (Closed): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
- Closing in favor of https://bugs.ruby-lang.org/issues/20108
-
02:35 AM Feature #17525 (Closed): Implement Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
- Closing in favor of https://bugs.ruby-lang.org/issues/20108
-
12:55 AM Revision b664590c (git): [DOC] Fix examples for `u` packing directive
- The directive is a lowercase `u` instead of an uppercase `U`. Adjusted
input and output to match.
Reported by Leah Neukirchen.
04/02/2024
-
05:26 PM Revision 24a74079 (git): Remove with_gc functions in darray
- We can wrap in DURING_GC_COULD_MALLOC_REGION instead.
-
05:19 PM Misc #20406 (Open): Question about Regexp encoding negotiation
- I am wondering what are the rules to calculate Regexp literal encoding in case an encoding modifier is specified.
From the documentstion:
> By default, a regexp with only US-ASCII characters has US-ASCII encoding:
> ...
Looking ... -
04:29 PM Revision 3c4de946 (git): YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible (#10402)
- * YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible
We were loading 1 into a register and then doing ADDS/SUBS previously.
That was particularly bad since those come up in fixnum operations.
```diff
# integer left shift with rh... -
03:11 PM Revision 94f7098d (git): [PRISM] Fix ISEQ load
-
02:35 PM Misc #20387: Meta-ticket for ASAN support
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-13:
> That's not a bad idea (avoid adding yet more combinations!) but do you know how widely these builds are currently used and what for? ASAN will make them a heck of a lot slower so tha... -
02:28 PM Revision 85e5a99e (git): [PRISM] Document more reasons for failures
-
12:55 PM Revision 3d1d1435 (git): Launchable: Refactor the logic of JsonStreamWriter
-
12:53 PM Revision 5903fdf4 (git): [DOC] Fix wheather -> whether typos in configure.
-
12:21 PM Revision 6ba73783 (git): [PRISM] Enable more passing parsing tests
-
10:37 AM Revision e816ab0b (git): Remove `rb_imemo_tmpbuf_t` from parser
- No parser semantic value types are `VALUE` then no need to
use imemo for managing semantic value stack anymore. -
09:34 AM Revision e6513952 (git): Warn pstore for Ruby 3.5
-
08:50 AM Revision 1e5949bd (git): Update to ruby/spec@573cf97
-
06:58 AM Feature #14449 (Closed): error when trying to run rails s
- These versions of Ruby and Bundler are EOL today.
-
06:34 AM Feature #16012 (Closed): Add a (small) test-install suite?
- We have this at https://github.com/ruby/actions.
-
06:29 AM Feature #14217 (Closed): Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
- This issue has been fixed at recent version of Bundler.
https://github.com/rubygems/rubygems/pull/7016 -
06:22 AM Feature #15036 (Closed): after upgrade when run apt upgrade metasploit
- Ruby 2.3 is EOL. You should contact distribution or application maintainer.
-
05:26 AM Feature #20345 (Closed): Add `--target-rbconfig` option to mkmf
- Applied in changeset commit:git|8b55aaa85ca3b5333e6659f0f0b1eabdd0b9491b.
----------
[Feature #20345] Add `--target-rbconfig` option to mkmf
Introduce a new mkmf option `--target-rbconfig` to specify the RbConfig
file for the deploymen... -
05:24 AM Revision 8b55aaa8 (git): [Feature #20345] Add `--target-rbconfig` option to mkmf
- Introduce a new mkmf option `--target-rbconfig` to specify the RbConfig
file for the deployment target platform. This option is useful for
cross-compiling Ruby extensions without faking the global top-level
`RbConfig` constant. -
03:26 AM Misc #20336: DevMeeting-2024-04-17
- * [Feature #20347] Separate docs task from all
* I would like to remove docs task from main. It works same as current behavior.
* https://github.com/ruby/ruby/pull/10282/commits/b160083175aed062c320b8d76eafe1c8706309d4 - 02:22 AM Revision 457a30df (git): Update bundled gems list at a65d49ce77af76b29ee17ec64c15b7 [ci skip]
-
02:22 AM Revision a65d49ce (git): Use Rake 13.2.0
-
02:22 AM Revision 94f56098 (git): Use fixed version of rake with ostruct
-
02:22 AM Revision 4db7c8a2 (git): Warn ostruct for Ruby 3.5
-
12:00 AM Feature #20331 (Closed): Should parser warn hash duplication and when clause?
- Applied in changeset commit:git|799e854897856e431c03a5122252358e2c57aff2.
----------
[Feature #20331] Simplify parser warnings for hash keys duplication and when clause duplication
This commit simplifies warnings for hash keys duplicat...
04/01/2024
-
11:26 PM Revision 799e8548 (git): [Feature #20331] Simplify parser warnings for hash keys duplication and when clause duplication
- This commit simplifies warnings for hash keys duplication and when clause duplication,
based on the discussion of https://bugs.ruby-lang.org/issues/20331.
Warnings are reported only when strings are same to ohters. -
10:26 PM Revision 8066e3ea (git): Remove VALUE from `struct rb_strterm_struct`
- In the past, it was imemo. However a075c55 changed it.
Therefore no need to use `VALUE` for the first field. -
10:17 PM Misc #20387: Meta-ticket for ASAN support
- > How about making ASAN enabled for ruby-debug builds
That's not a bad idea (avoid adding yet more combinations!) but do you know how widely these builds are currently used and what for? ASAN will make them a heck of a lot slower so t... -
01:20 PM Misc #20387: Meta-ticket for ASAN support
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-11:
> * Could we get an ASAN build of ruby into setup-ruby? This would make it easier to use ASAN with github actions and the like.
How about making ASAN enabled for ruby-debug builds a... -
07:39 PM Revision b25282e6 (git): [ruby/prism] Replace . with decimal point for strtod
- https://github.com/ruby/prism/commit/578a4f983e
-
07:28 PM Revision b7597dac (git): [ruby/prism] Match more error messages
- https://github.com/ruby/prism/commit/0cc3a9d63a
-
07:28 PM Revision d6c1cc55 (git): [ruby/prism] Fix up error messages for empty global variable
- https://github.com/ruby/prism/commit/fa7559d40b
-
07:28 PM Revision d898f00f (git): [ruby/prism] Match error messages for invalid instance/class variables
- https://github.com/ruby/prism/commit/82fd0599ed
-
07:28 PM Revision 67bd5b33 (git): [ruby/prism] Match error message for invalid class/module name
- https://github.com/ruby/prism/commit/f00ae59070
-
07:28 PM Revision 05904c3b (git): [ruby/prism] Match error message for invalid class/module definition
- https://github.com/ruby/prism/commit/1879a9d22e
-
07:28 PM Revision a885d597 (git): [ruby/prism] Match error message for multiple blocks given
- https://github.com/ruby/prism/commit/6b594d9d42
-
07:28 PM Revision fee70c1e (git): [ruby/prism] Add better error messages for invalid block-locals
- https://github.com/ruby/prism/commit/27ad452436
-
07:28 PM Revision 1e737ec9 (git): [ruby/prism] Fix up error message for invalid numbered reference alias
- https://github.com/ruby/prism/commit/74bff9e834
-
07:08 PM Revision cc6668c6 (git): [PRISM] Enable passing pattern matching tests
-
06:13 PM Revision a9658b64 (git): [ruby/prism] Do not track locals starting with _
- https://github.com/ruby/prism/commit/0d5a6d936a
-
06:13 PM Revision ec879e7e (git): [ruby/prism] Use RubyVM::InstructionSequence instead of Ripper for validity check
- https://github.com/ruby/prism/commit/ddec1c163d
-
06:13 PM Revision c2735c48 (git): [ruby/prism] Track duplicate hash keys for pattern matching
- https://github.com/ruby/prism/commit/71ea82f299
-
06:13 PM Revision f1e385aa (git): [ruby/prism] Track captures in pattern matching for duplicates
- https://github.com/ruby/prism/commit/aa2182f064
-
06:12 PM Revision a531cac3 (git): [ruby/reline] Refactor completion
- (https://github.com/ruby/reline/pull/647)
* Refactor completion: split autocompletion and tabcompletion logic and state
* Move completion candidate listup logic from dialog proc to LineEditor
https://github.com/ruby/reline/commit/c3c0... -
04:25 PM Revision 508bddc8 (git): [ruby/reline] Align completion menu items
- (https://github.com/ruby/reline/pull/613)
https://github.com/ruby/reline/commit/a622704f62 -
04:00 PM Feature #20404: `2pi`
- This has been brought up before to add the constant `tau`
https://bugs.ruby-lang.org/issues/17496 -
02:26 PM Feature #20404: `2pi`
- The Tau Manifesto (https://tauday.com/) was introduced by Michael Hartl, a Rubyist, and handily `𝜏 == 2π` so it might be worth also considering the tau letter: 𝜏
-
11:24 AM Feature #20404: `2pi`
- Now that Ruby has been unicode aware for over a decade, it's probably better to use actual pi letter: `2π`
-
05:40 AM Feature #20404: `2pi`
- I really like this proposal. But I think for most of the world, it was a few hours too early. A time around 2024-04-01 12:00:00 UTC may have been easier to understand for most of the world.
-
03:03 PM Revision e2a1d0b5 (git): [rubygems/rubygems] Improve error message when strict resolution filters out everything
- https://github.com/rubygems/rubygems/commit/1ea44b3749
-
03:03 PM Revision f80bb383 (git): [rubygems/rubygems] Keep unfiltered versions separately
- https://github.com/rubygems/rubygems/commit/7b5cc51a96
-
03:03 PM Revision bfdbdf7a (git): [rubygems/rubygems] No need to check for root package every time
- https://github.com/rubygems/rubygems/commit/6ca192649f
-
03:03 PM Revision b6ac37c9 (git): [rubygems/rubygems] No need for any version prioritization when building errors
- We just need to filter versions belonging to the range, but don't need
anything else.
https://github.com/rubygems/rubygems/commit/8355a225d7 -
03:03 PM Revision caaafbc3 (git): [rubygems/rubygems] Make it look more like BasicPackageSource
- https://github.com/rubygems/rubygems/commit/bb5727934c
-
03:03 PM Revision d69ef1cc (git): [rubygems/rubygems] Let GemVersionPromoter sort in preferred order directly
- So that we don't need to reverse the Array.
https://github.com/rubygems/rubygems/commit/aeea5e2e00 -
03:03 PM Revision 2b82b7d1 (git): [rubygems/rubygems] Update docs
- https://github.com/rubygems/rubygems/commit/ac24a68486
-
03:03 PM Revision 0a1e3696 (git): [rubygems/rubygems] Remove unnecessary filtering
- We do that when first caching versions, and then it's no longer
necessary.
https://github.com/rubygems/rubygems/commit/ede15847db -
03:03 PM Revision acbd91e4 (git): [rubygems/rubygems] No need to sort twice when filling versions
- https://github.com/rubygems/rubygems/commit/13294528c4
-
03:03 PM Revision d342937e (git): [rubygems/rubygems] Rename method for clarity
- And also so that it matches the method used by main PubGrub sample
resolver class.
https://github.com/rubygems/rubygems/commit/0e612361b8 -
03:03 PM Revision 3ca06835 (git): [rubygems/rubygems] Fix typo
- https://github.com/rubygems/rubygems/commit/0ddf25e5aa
-
02:26 PM Revision e26ac3ab (git): Test finalizer is ran in bootstraptest
-
08:53 AM Feature #20405: Inline comments
- vo.x (Vit Ondruch) wrote in #note-1:
> I like this proposal. But there are other possibilities, such as:
> ...
Thank you for the comment, but you may know `(:` can conflict existing code.
The reason I selected `(|` is that `/:|)` is u... -
08:41 AM Feature #20405: Inline comments
- I like this proposal. But there are other possibilities, such as:
~~~
(: This is comment :)
~~~
That would just underline Ruby as a "happy" language. Of course variants such as `(-: ... :-)` or even `(o: ... :o)` could even exte... -
01:09 AM Feature #20405 (Open): Inline comments
- I propose a new inline comment syntax.
```ruby
p (| This is a comment (| and nested one |) /:|) (:|) #=> :|
``` -
08:17 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
- Thanks!
-
07:55 AM Revision 12329753 (git): add CI matrix for clang-19
-
07:51 AM Revision b50c4dc3 (git): Rename the variable
- It is not an empty gzipped data, a gzipped empty dump data.
-
07:03 AM Revision 70645a5a (git): Write gzipped data as binary
- Be careful when writing binary data on Windows.
```
$ ruby -e 's = Gem::Util.gzip("\x04\x08[\x05".b); p s.index("\n"); puts IO::Buffer.for(s).hexdump'
6
0x00000000 1f 8b 08 00 6c 3d 0a 66 00 03 63 e1 88 66 05 00 ....l=.f..c..f..
0x0000... -
06:32 AM Revision acfef7c4 (git): Use dummy data generated by RubyGems
-
03:05 AM Revision 0774232b (git): Remove unnecessary macros and functions for Universal Parser
-
01:06 AM Revision e07178d5 (git): [DOC] Fix scope resolution operator typo in `Process#wait` docs
03/31/2024
-
11:57 PM Bug #20403: TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
- Fixed in https://github.com/ruby/resolv/pull/49
-
11:57 PM
Bug #20403 (Closed): TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
- Applied in changeset commit:git|80bda107c84187d90eeff9497d465e086364b420.
----------
[ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb
This helper tries to bind UDP and TCP sockets to the same port, by
retrying the b... -
11:14 AM Bug #20403: TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
- I opened https://github.com/ruby/ruby/pull/10413 for this.
-
11:10 AM Bug #20403 (Closed): TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
- The test TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback wants to make a TCP and UDP DNS server on the same port. It achieves this by binding to a random UDP port (with `:0`), and then trying to bind to that TCP port. Howeve...
- 11:57 PM Revision 80bda107 (git): [ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb
- This helper tries to bind UDP and TCP sockets to the same port, by
retrying the bind if the randomly-assinged UDP port is already taken in
TCP. This fixes a flaky test.
[Bug #20403]
https://github.com/ruby/resolv/commit/3d135f99d9 -
04:51 PM Feature #20404 (Rejected): `2pi`
- I propose a new Float literal: `2pi`.
```ruby
p 2pi #=> 6.283185307179586 == 2 * Math::PI
```
I am not proposing `1pi`, `3pi` or `4pi`. I do only `2pi`. Because in most cases, all you need is `2pi`. Any other multiple of pi is r... -
10:20 AM Bug #20245: Crash when checking symbol encoding
- ruby_3_2 27606daf8efeb0ae6d0590a2c9bb1c5aae07f140 merged revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2.
-
10:20 AM Bug #20190: `invalid_encoding_string << number` should be valid encoding in some case, but does not
- ruby_3_2 4f3ed07d5bfd581b630e4afc8b9bb170ce781e7f merged revision(s) ade56737e2273847426214035c0ff2340b43799a.
-
10:19 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
- ruby_3_2 bf6e9299ef4f10dbd23f32331c355ac875bfb5e3 merged revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417.
-
10:19 AM Bug #20194: Memory leak with TracePoint on bmethod
- ruby_3_2 1b5c74a2408d248f35cb811327dd51f49ee37c9e merged revision(s) b14674b236445fb70f484603e678722760f678f4.
- 10:12 AM Revision e02a06fb (git): Document how to run the tests under ASAN now that they pass!
-
09:48 AM Misc #20387: Meta-ticket for ASAN support
- OK! Everything required to make `make check` pass on my machine with ASAN enabled has been merged! I opened https://github.com/ruby/ruby/pull/10412 to update the documentation to include the correct incantation.
The next things I woul... -
09:33 AM
Bug #20402 (Closed): Double-free in TestIseqLoad#test_stressful_roundtrip
- Applied in changeset commit:git|9d0a5148ae062a0481a4a18fbeb9cfd01dc10428.
----------
Add missing RB_GC_GUARDs related to DATA_PTR
I discovered the problem in `compile.c` from a failing
TestIseqLoad#test_stressful_roundtrip test with AS... - 09:33 AM Revision 9d0a5148 (git): Add missing RB_GC_GUARDs related to DATA_PTR
- I discovered the problem in `compile.c` from a failing
TestIseqLoad#test_stressful_roundtrip test with ASAN enabled. The other
two changes in array.c and string.c I found by auditing similar usages
of DATA_PTR in the codebase.
[Bug #20402] -
08:37 AM Revision 27606daf (git): merge revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2: [Backport #20245]
- Compile code without Symbol GC always
---
symbol.c | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Fix crash when checking symbol encoding
[Bug #20245]
... -
08:31 AM Bug #20098: Wrong regexp match in ruby 3.2 and 3.3
- The changeset bb59696614083660241ef272f222628cbfa95844 cannot be merged into ruby_3_2 branch cleanly and hard to me to write a patch. @tompng Could you kindly create the patch for ruby_3_2 branch?
-
08:18 AM Revision 4f3ed07d (git): merge revision(s) ade56737e2273847426214035c0ff2340b43799a: [Backport #20190]
- Fix coderange of invalid_encoding_string.<<(ord)
Appending valid encoding character can change coderange from invalid to valid.
Example: "\x95".force_encoding('sjis')<<0x5C will be a valid string "\x{955C}"
---
... -
08:17 AM Revision 1b5c74a2 (git): merge revision(s) b14674b236445fb70f484603e678722760f678f4: [Backport #20194]
- Memory leak with TracePoint on bmethod
[Bug #20194]
When disabling the TracePoint on bmethod, the hooks list is not freed.
For example:
obj = Object.new
obj.define_singleton_method(:foo... -
08:16 AM Revision bf6e9299 (git): merge revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417: [Backport #20231]
- Don't wait in `io_binwrite_string` if not necessary. (#9792)
---
io.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-) - 02:37 AM Revision 174b6716 (git): [rubygems/rubygems] [commands/rebuild] Remove unused DATE_FORMAT constant.
- https://github.com/rubygems/rubygems/commit/3c4e3fadc9
-
02:24 AM Revision 9579cf45 (git): If we have a shape cache we should use it
- If there is a shape cache, then we should believe the results instead of
doing a linear search for non-existent items
This fixes a case where checking the index of an undefined ivar would
result in an O(n) search. Now we get O(log n).
...
03/30/2024
-
03:54 PM Revision 376ae222 (git): Manage required baseruby version in one place
- Add a Ruby script mode to `tool/missing-baseruby.bat` that checks if
`RUBY_VERSION` meets the required version. This will enable similar
checks on mswin as well. -
09:34 AM Revision f697d324 (git): Manage required baseruby version in one place
- 06:58 AM Revision a6d8837d (git): Update bundled gems list as of 2024-03-29
-
02:02 AM Bug #20402: Double-free in TestIseqLoad#test_stressful_roundtrip
- https://github.com/ruby/ruby/pull/10408 should fix this
-
01:57 AM Bug #20402 (Closed): Double-free in TestIseqLoad#test_stressful_roundtrip
- With ASAN enabled, the TestIseqLoad#test_stressful_roundtrip fails with the following output:
```
2/9] TestIseqLoad#test_stressful_roundtrip = 7.26 s
1) Failure:
TestIseqLoad#test_stressful_roundtrip [/home/kj/ruby/test/-ext-/ise...
03/29/2024
-
11:32 PM Revision cdb8d208 (git): [PRISM] Fix error message for duplicate parameter name
-
09:29 PM Bug #20330 (Closed): [BUG] Segmentation fault at 0xffffffffffffffff
- I think this is a duplicate of #20184 and should be fixed in 3.3.1.
- 07:27 PM Revision d7d59ea1 (git): [rubygems/rubygems] add test case to ensure updating with multiple sources + caching maintains the right lockfile
- https://github.com/rubygems/rubygems/commit/65839757e6
-
04:28 PM Revision f57c7fef (git): [PRISM] Have RubyVM::InstructionSequence.compile respect --parser=prism
-
03:44 PM Revision 729a3968 (git): [ruby/prism] Fix calloc argument order
- https://github.com/ruby/prism/commit/9947ab13c0
-
03:43 PM Revision 718c7d4a (git): [ruby/prism] Handle NULL byte terminators for strings, regexps, and lists
- https://github.com/ruby/prism/commit/79a75258a4
-
03:39 PM Bug #20216 (Closed): Circular parameter reference not checked for assignment
-
03:21 PM Bug #20399: Ripper doesn't respect implicit -x
- I agree, but I still think Ripper should match the parser's behavior here. Otherwise you can't get the AST of those kinds of files.
-
05:11 AM Bug #20399: Ripper doesn't respect implicit -x
- Shebang makes sense only in an executable script file.
```sh
$ echo $'#!/bin/sh\np :sh' | ruby
ruby: no Ruby script found in input (LoadError)
bash: exit 1
$ ruby -e $'#!/bin/sh\np :sh'
:sh
``` -
03:18 PM Feature #20384: RubyVM::InstructionSequence.{new,compile} use --parser option
- I've opened a PR here https://github.com/ruby/ruby/pull/10406. I'm assuming no one has an objection based on the silence, so I'll merge once CI passes.
-
12:51 PM Revision 8191735b (git): [PRISM] Fix BEGIN{} execution order
-
11:55 AM Bug #20400 (Closed): Nested BEGIN{} execution order
- Thank you for the clarification!
-
05:37 AM Bug #20400: Nested BEGIN{} execution order
- `BEGIN` blocks are:
a. executed in the order they appeared in the same nesting level.
b. executed in prior to outside the block.
> ```ruby
> ...
"2" is first because it is in the inner `BEGIN` in the block for "1".
> ```ruby
... - 08:03 AM Revision 38331c89 (git): [rubygems/rubygems] [gemspec_helpers] Fix Rubocop warning.
- https://github.com/rubygems/rubygems/commit/4ebf6ee5ac
- 08:03 AM Revision d19744fb (git): [rubygems/rubygems] [build, rebuild] Split common find_gemspec() out to GemspecHelpers.
- https://github.com/rubygems/rubygems/commit/2f80a595c4
- 08:03 AM Revision d916dbcb (git): [rubygems/rubygems] Improve formatting of "gem rebuild --help" output.
- https://github.com/rubygems/rubygems/commit/701550f9dd
- 08:03 AM Revision 54d90e13 (git): [rubygems/rubygems] [rebuild] If --diff is not passed and a rebuild fails, suggest passing --diff.
- https://github.com/rubygems/rubygems/commit/7caadd182c
- 08:03 AM Revision dfe83df0 (git): [rubygems/rubygems] [rebuild_command] Bail early if the RubyGems version doesn't match.
- https://github.com/rubygems/rubygems/commit/a691170dc7
- 08:03 AM Revision 88d7be46 (git): [rubygems/rubygems] [rebuild_command] Use Gem.* helpers.
- https://github.com/rubygems/rubygems/commit/8644ce7193
- 08:03 AM Revision fe096f64 (git): [rubygems/rubygems] [rebuild_command] Clean up help text.
- https://github.com/rubygems/rubygems/commit/4446389f2e
- 08:03 AM Revision 54e0b807 (git): [rubygems/rubygems] [rebuild_command] Use temporary directory instead of the working directory.
- https://github.com/rubygems/rubygems/commit/f2e4e5b56f
- 08:03 AM Revision a28087af (git): [rubygems/rubygems] [rebuild_command] Add --diff flag to try using diffoscope.
- https://github.com/rubygems/rubygems/commit/3e9545193a
- 08:03 AM Revision cd12dfd3 (git): [rubygems/rubygems] [rebuild_command] Avoid leaking files.
- https://github.com/rubygems/rubygems/commit/3b88553d0d
- 08:03 AM Revision e5def27f (git): [rubygems/rubygems] Add "gem rebuild" command.
- https://github.com/rubygems/rubygems/commit/6d661573f0
-
06:18 AM Bug #20398: heap-buffer-overflow in numeric literal parsing
- Thank you, that fixed it yes. And it's a much better fix :)
-
04:43 AM Bug #20401: Duplicated when clause warning line number
- This behavior was discovered and briefly discussed during the previous dev meeting. The actual warning is
```
test.rb:4: warning: duplicated 'when' clause with line 2 is ignored
```
According to @nobu, this reads "The 'when' clau... -
01:56 AM Bug #20401: Duplicated when clause warning line number
- On the otherhand, if you have duplicated hash keys you get:
```ruby
{
bar: 1,
baz: 1,
bar: 1
}
```
For the warning: `warning: key :bar is duplicated and overwritten on line 4`. So this seems correct. -
01:55 AM Bug #20401 (Closed): Duplicated when clause warning line number
- When you have a duplicated when clause, you get a warning for it. For example:
```ruby
case foo
when :bar
when :baz
when :bar
end
```
you get ``warning: duplicated `when' clause with line 2 is ignored``.
But the when claus... -
02:16 AM Bug #17996 (Closed): Cygwin: thread + pipe behavior since Ruby 2.6
- https://github.com/ruby/ruby/pull/9357 may be fixed this.
03/28/2024
-
11:13 PM Revision 02d40b6c (git): Use ubf list on cygwin
-
09:41 PM Revision f3c35749 (git): YJIT: Optimize putobject+opt_ltlt for integers
- In `jit_rb_int_lshift()`, we guard against the right hand side changing
since we want to avoid generating variable length shifts. When control
reaches a `putobject` and `opt_ltlt` pair, though, we know that the right
hand side never chan... -
09:35 PM Revision 817eecf6 (git): [PRISM] Enable passing regexp test
-
08:39 PM Revision a8ec347c (git): [ruby/prism] Allow writing to keywords with named captures if they are already locals
- https://github.com/ruby/prism/commit/418318e1c8
-
07:30 PM Revision 8780059c (git): [ruby/prism] Reject invalid capture groups (keywords)
- https://github.com/ruby/prism/commit/bb78d83e88
-
07:21 PM Revision bb3cbdfe (git): YJIT: add iseq_alloc_count to stats (#10398)
- * YJIT: add iseq_alloc_count to stats
* Remove an empty line
---------
Co-authored-by: Takashi Kokubun <[email protected]> -
07:17 PM Revision a8f902ea (git): [PRISM] Add debug info for frozen strings
-
07:13 PM Feature #20394: Add an offset parameter to `String#to_i`
- byroot (Jean Boussier) wrote in #note-10:
> `StringIO` isn't as convenient as you make it out to be. Maybe it could become that, but it isn't today.
Hmm, it's not like it matters very much, but I get the weird feeling you misundersto... -
08:54 AM Feature #20394: Add an offset parameter to `String#to_i`
- > but rest assured once we can start using IO::Buffer exclusively, I will do so.
I'd be curious to see an HTTP1 parser using IO::Buffer. I don't see how you'd do it today. -
08:52 AM Feature #20394: Add an offset parameter to `String#to_i`
- My protocol gems have been around since Ruby 2.3+ so there are compatibility issues, but rest assured once we can start using `IO::Buffer` exclusively, I will do so. Using `String` for IO buffers is equally fraught with odd issues like e...
-
07:28 AM Feature #20394: Add an offset parameter to `String#to_i`
- > What about IO::Buffer? It was introduced somewhat stealthily and its API is somewhat unique, and yet by its idea it seems to be exactly that.
I'm aware of it, but it only offer binary oriented methods. Perhaps it could be extended t... -
07:20 AM Feature #20394: Add an offset parameter to `String#to_i`
- > I'd be all for a dedicated `Buffer` class that allow to efficiently parse text protocols like HTTP and RESP3, but right now all we got is String.
What about [IO::Buffer](https://docs.ruby-lang.org/en/master/IO/Buffer.html)? It was i... -
06:59 AM Feature #20394 (Closed): Add an offset parameter to `String#to_i`
- > This interpretation mismatch could be a source of vulnerability.
Good catch @mame, that does indeed make the `to_i` proposal much more problematic. I guess I don't really have much of a proposal anymore.
> ...
Not today no. You c... -
03:22 AM Feature #20394: Add an offset parameter to `String#to_i`
- I thought of a security concern.
I suppose all methods proposed in this ticket would allow underscores as a digit separator. This is natural in Ruby, but usually an unnecessary feature outside of Ruby, including the Redis protocol.
T... -
06:13 PM Bug #20400 (Closed): Nested BEGIN{} execution order
- Right now there are specs for the order in which `BEGIN{}` should be executed, which is the order they appear in the file. For example:
```ruby
BEGIN { print "1" }
print "4"
BEGIN { print "2" }
print "5"
BEGIN { print "3" }
```
... -
05:02 PM Revision 3e9c6842 (git): [PRISM] Allow space before encoding comment
-
04:04 PM Revision 86e0d83a (git): [PRISM] Simplify raising load errors
-
04:04 PM Revision d583616f (git): [ruby/prism] Ensure deserialization works with errors+warnings>256
- https://github.com/ruby/prism/commit/f540e830b5
-
04:04 PM Revision 35ff3028 (git): [ruby/prism] Various cleanup with new -x option
- https://github.com/ruby/prism/commit/020756fb11
-
04:04 PM Revision f7c5e11d (git): [PRISM] Use new -x prism API
-
04:04 PM Revision fcc06fa8 (git): [ruby/prism] CLI -x flag
- https://github.com/ruby/prism/commit/2068e3c30a
-
03:54 PM Revision 97b2cc34 (git): Allow FormatError to take either String or Gem for source
- Most of the calls to `FormatError.new` pass `@gem` for the second argument, which has a `path` method.
But in one case—on package.rb:691 in `verify_gz`, the `source` argument is a `String`.
So if there's ever a GZip decode error when a... -
03:54 PM Revision fa0a6241 (git): Don't check for dynamic symbol when reference updating
- All symbols in the GC are dynamic symbols, so we don't need to check it.
-
02:58 PM Revision 03ab4a56 (git): Clean symlinks to be runnable [ci skip]
-
02:48 PM Revision 7055dcf9 (git): [ruby/prism] Improve description for InterpolatedStringNodeFlags
- https://github.com/ruby/prism/commit/caa576d63f
-
02:28 PM Bug #20398 (Closed): heap-buffer-overflow in numeric literal parsing
- Applied in changeset commit:git|2ab9fb1c2e659f1f819ed63796171b2129255185.
----------
[Bug #20398] Terminate token buffer at invalid octal number -
12:02 PM Bug #20398: heap-buffer-overflow in numeric literal parsing
- Does this fix it?
```diff
diff --git a/parse.y b/parse.y
index 585130c3465..55619273b8e 100644
--- a/parse.y
+++ b/parse.y
@@ -10164,6 +10164,7 @@ parse_numeric(struct parser_params *p, int c)
/* prefixed octal */
... -
04:54 AM Bug #20398: heap-buffer-overflow in numeric literal parsing
- https://github.com/ruby/ruby/pull/10393 should fix this
-
04:51 AM Bug #20398 (Closed): heap-buffer-overflow in numeric literal parsing
- I found the following ASAN error in `TestRubyLiteral#test_integer`. It appears that this code is calling strdup on a non-null terminated string.
```
[1/1] TestRubyLiteral#test_integer==================================================... -
02:27 PM Bug #20399 (Open): Ripper doesn't respect implicit -x
- For the given script:
```ruby
#!/bin/sh
# -*- ruby -*-
exec "${RUBY-ruby}" "-x" "$0" "$@" && [ ] if false
#!ruby
# This needs ruby 2.0, Subversion and Git.
# As a Ruby committer, run this in an SVN repository
# to commit a chan... -
02:19 PM Revision 4fa8fefd (git): Suppress warning at literal string
-
01:28 PM Revision 2ab9fb1c (git): [Bug #20398] Terminate token buffer at invalid octal number
-
08:41 AM
Feature #19057: Hide implementation of `rb_io_t`.
- "ioquatix (Samuel Williams) via ruby-core" <[email protected]> wrote:
> Issue #19057 has been updated by ioquatix (Samuel Williams).
>
>
> > Why don't you reconsider the "nested public interface" approach?
>
> My asses... -
06:52 AM Misc #20336: DevMeeting-2024-04-17
- * [Bug #19865] Segfault when calling user signal handlers during VM shutdown
* Seems like the bug is well understood and there is a patch for it (https://github.com/nobu/ruby/tree/signal-at-cleanup), can it be merged? -
05:01 AM Bug #20050: Segfault on Ruby 3.2.2 (and 3.1) on x86_64 Darwin 20 (rb_id_table_lookup for #hash)
- Any chance this could be backported into Ruby 3.2? It was a bit tricky because of the VWA-related changes in 3.3, but I did manage to open a PR to do this: https://github.com/ruby/ruby/pull/10394
I'm running into this problem with the... -
02:44 AM Revision 7630a89a (git): Use www.rfc-editor.org for RFC text.
- We use the following site for that now:
* https://tools.ietf.org/ or http
* https://datatracker.ietf.org or http
Today, IETF said the official site of RFC is www.rfc-editor.org.
FYI: https://authors.ietf.org/en/references-in-rfcxml
I... -
02:18 AM Revision 67bdb7aa (git): [DOC] Use `rdoc-ref:@` shorthands for `rdoc-label:` tags
-
01:55 AM Revision 7293cef0 (git): [DOC] molinillo has been moved
-
01:15 AM Revision 84236132 (git): Launchable: Configure OS correctly in macos.yaml