Activity
From 12/01/2023 to 12/07/2023
12/07/2023
-
10:53 PM Revision ac5fd587 (git): YJIT: Fix on-stack ISEQ comparison for auto_compact (#9164)
-
10:29 PM Revision 2755cb1b (git): [rubygems/rubygems] Use modern hashes consistently
- https://github.com/rubygems/rubygems/commit/bb66253f2c
-
10:07 PM Revision 9d696aa2 (git): Support method calls inside `defined?`
- This commit supports all kinds of method calls (including methods with
parameters) inside `defined?` calls. -
09:34 PM Revision f76881c9 (git): RDoc for Complex
-
08:52 PM Revision 6816e8ef (git): Free everything at shutdown
- when the RUBY_FREE_ON_SHUTDOWN environment variable is set, manually free memory at shutdown.
Co-authored-by: Nobuyo... -
08:29 PM Revision b361a800 (git): Added comment
-
08:29 PM Revision a0c7bb43 (git): [PRISM] Account for multiple arguments when compiling ArgumentsNode
- BreakNode, ReturnNode and NextNode all compile the ArgumentsNode
directly, but we weren't accounting for multiple arg... -
07:57 PM Bug #20050 (Closed): Segfault on Ruby 3.2.2 (and 3.1) on x86_64 Darwin 20 (rb_id_table_lookup for #hash)
- Hi,
In the rubygems & bundler repositories we've now had two segfaults in the same exact code within days of mergi... -
07:27 PM Revision 7738b31d (git): Eliminate array allocation for f(1, *a, &arg), f(*a, **kw, &arg), and f(*a, kw: 1, &arg)
- These are similar to the f(1, *a, &lvar), f(*a, **kw, &lvar) and
f(*a, kw: 1, &lvar) optimizations, but they use getb... -
07:27 PM Revision f5a01b09 (git): Add benchmark for recent optimization to avoid implicit allocations
-
07:27 PM Revision 13cd9635 (git): Prevent modification of splat array inside setup_parameters_complex
- For the following:
```
def f(*a); a end
p f(*a, kw: 3)
```
`setup_parameters_complex` pushes `{kw: 3}` onto `a`. T... -
07:27 PM Revision aa808204 (git): Eliminate array allocation for f(*a, kw: 1, &lvar) and f(*a, kw: 1, &@iv)
- Similar to the previous commit, but this handles the block pass
case. -
07:27 PM Revision 5e33f2b0 (git): Eliminate array allocation for f(*a, kw: 1)
- In cases where the compiler can detect the hash is static, it would
use duphash for the hash part. As the hash is sta... -
07:27 PM Revision 95615872 (git): Eliminate array allocation for f(*a, **lvar, &lvar) and f(*a, **@iv, &@iv)
- The compiler already eliminates the array allocation for
f(*a, &lvar) and f(*a, &@iv). If that is safe, then elimina... -
07:27 PM Revision 1731dd05 (git): Eliminate array allocation for f(*a, **lvar) and f(*a, **@iv)
- The compiler already eliminates the array allocation for
f(*a, &lvar) and f(*a, &@iv), and eliminating the array allo... -
07:27 PM Revision c70c1d2a (git): Eliminate array allocation for f(1, *a, &lvar) and f(1, *a, &@iv)
- Due to how the compiler works, while f(*a, &lvar) and f(*a, &@iv)
do not allocate an array, but f(1, *a, &lvar) and f... -
07:27 PM Revision 40a2afd0 (git): Eliminate array allocation for f(1, *a)
- Due to how the compiler works, while f(*a) does not allocate an
array f(1, *a) does. This is possible to fix in the ... -
07:12 PM Revision 41b299d6 (git): [PRISM] Stop catch table entries being deleted by the optimiser
-
06:29 PM Bug #18886 (Closed): Struct aref and aset don't trigger any tracepoints.
- Applied in changeset commit:git|3081c83169c55ef7eead6222e49248e09232c22c.
----------
Support tracing of struct membe... -
05:18 AM Bug #18886: Struct aref and aset don't trigger any tracepoints.
- Please merge it.
> I don't think this will affect performance unless TracePoint is used, because the same method c... -
06:29 PM Revision 3081c831 (git): Support tracing of struct member accessor methods
- This follows the same approach used for attr_reader/attr_writer in
2d98593bf54a37397c6e4886ccc7e3654c2eaf85, skipping... -
05:42 PM Revision 1721bb9d (git): Skip a flaky objspace test on Visual Studio
- This seems to happen only on VisualStudio:
https://github.com/ruby/ruby/actions/runs/7130917319/job/19418375386
It f... -
05:30 PM Bug #19779 (Closed): `eval "return"` at top level raises `LocalJumpError`
- Applied in changeset commit:git|3a88de3ca73052809f5c0bfb4ef8cd435b29ae5f.
----------
Support eval "return" at toplev... -
10:00 AM Bug #19779: `eval "return"` at top level raises `LocalJumpError`
- @jeremyevans0 Matz said go ahead in today's dev meeting.
-
05:30 PM Revision 3a88de3c (git): Support eval "return" at toplevel
- Since Ruby 2.4, `return` is supported at toplevel. This makes `eval "return"`
also supported at toplevel.
This most... -
05:25 PM Feature #20049 (Feedback): Destructive drop_while for Array and Hash
- I propose a "drop_while!" variant for arrays and hashes, which changes the current instance.
```ruby
h = {foo: 0,... -
05:23 PM Revision 0c3593b6 (git): Use free with ruby_dtoa
- In ae0ceafb0c0d05cc80623b525070255e3abb34ef ruby_dtoa was switched to
use malloc instead of xmalloc, which means that... -
05:22 PM Revision 5f81f58b (git): Use xfree in hash_st_free
- st.c redefines malloc and free to be ruby_xmalloc and ruby_xfree, so
when this was copied into hash.c it ended up mis... -
04:35 PM Revision ca204a20 (git): Fix keyword splat passing as regular argument
- Since Ruby 3.0, Ruby has passed a keyword splat as a regular
argument in the case of a call to a Ruby method where th... -
04:20 PM Revision e6a6ea9d (git): Fix typo in a comment [ci skip]
-
04:16 PM Revision 195dbf24 (git): Fix potential compaction issue in env_copy()
- `src_ep[VM_ENV_DATA_INDEX_ME_CREF]` was read out and held without
marking across the allocation in vm_env_new(). In c... -
04:16 PM Revision 050806f4 (git): Add missing write barrier to env_copy()
- Previously, the following crashed with
`vm_assert_env:imemo_type_p(obj, imemo_env)` due to missing a missing
WB:
... -
04:09 PM Revision 5809b750 (git): [ruby/irb] Debugging command warning should not be specific to the
- `debug` command
(https://github.com/ruby/irb/pull/806)
https://github.com/ruby/irb/commit/b7b57311cc -
04:00 PM Revision c05278e4 (git): [ruby/prism] Update ordering of integer base flags
- https://github.com/ruby/prism/commit/d711950d5f
-
03:49 PM Revision 0dc40bd2 (git): Check need_major_gc during GC stress
- need_major_gc is set when a major GC is required. However, if
gc_stress_no_major is also set, then it will not actual... -
03:48 PM Bug #20048 (Closed): UDPSocket#remote_address spec errors
- Testing of Fedora Rawhide, we have recently started to observe following errors:
~~~
$ make -C redhat-linux-build... -
03:34 PM Revision b8df6b9e (git): [PRISM] Don't pop arguments on a return node
- Since ReturnNodes don't get popped, their arguments shouldn't either
-
03:29 PM Misc #19980: Is the Ruby 3.3 ABI frozen?
- Thank you, @naruse!
-
08:34 AM Misc #19980: Is the Ruby 3.3 ABI frozen?
- I think your request sounds reasonable, but I also want to leverage committer's productivity as much as possible.
Th... -
03:19 PM Bug #20022 (Closed): GC.verify_compaction_references does not actually move all objects
- Applied in changeset commit:git|5d832d16d9878766dfe527934ef1ad64698b9bf8.
----------
Add objspace_each_pages to gc.c... - 03:19 PM Revision cbc0e0be (git): Fix GC.verify_compaction_references not moving every object
- The intention of GC.verify_compaction_references is, I believe, to force
every single movable object to be moved, so ... - 03:19 PM Revision 5d832d16 (git): Add objspace_each_pages to gc.c
- This works like objspace_each_obj, except instead of being called with
the start & end address of each page, it's cal... -
02:39 PM Revision 10bc0bd4 (git): [ruby/prism] Remove warnings check from parse_success? method
- https://github.com/ruby/prism/commit/e30a241fb3
-
02:38 PM Revision 8e86a434 (git): [PRISM] Ensure should set correct end_label
-
02:38 PM Revision c4b96953 (git): [PRISM] Rescue should set correct end_label
- In order for a break inside the rescue to have the correct jump target
-
01:07 PM Bug #20047 (Open): ConditionVariable#wait has spurious wakeups from signal traps
- ```ruby
Signal.trap("INT") { p :SIGINT }
Thread.new do
sleep 0.6
`kill -INT #{$$}`
end
m, cv = Mutex.ne... -
12:07 PM Revision 071df404 (git): Lrama v0.5.12
-
10:50 AM Revision 30a1ccbc (git): NEWS: Move "interruptible name resolution" to "Stdlib updates" section
-
10:50 AM Revision d69af478 (git): [ruby/io-console] [DOC] Add documentation for IO#cursor
- ruby/io-console#50
https://github.com/ruby/io-console/commit/ee752ce771 -
10:48 AM Misc #20046 (Closed): DevMeeting-2023-12-20
- # The next dev meeting
**Date: 2023/12/20 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
10:47 AM Misc #19997 (Closed): DevMeeting-2023-11-30
-
10:45 AM Bug #19392: Endless method and parsing priorities
- @mame I understand I might sound annoying, but I believe there is **absolutely nothing natural** about this behavior ...
-
10:25 AM Bug #19392 (Closed): Endless method and parsing priorities
- Discussed at today's dev meeting. Because `a = b and c` is interpreted as `(a = b) and c`, it is natural that `def a ...
-
10:33 AM Bug #20044: Add runtime flag and environment variable for prism
- Discussed at today's dev meeting. @matz said:
* Introduce a command-line option `--parser=prism` and `--parser=par... -
10:04 AM Bug #19877: Non intuitive behavior of syntax only applied to literal value
- In today's dev meeting, @matz said:
```
expr if (cond1..cond2) # This should be a flip-flop
expr ... -
09:59 AM Bug #20012: Fix keyword splat passing as regular argument
- @jeremyevans0 In today's dev meeting, @matz said it should be fixed soon, so let's merge it. If someone complains it,...
-
09:57 AM Feature #20018 (Closed): Get the error codes as Socket::EAI_XXX when getaddrinfo and getnameinfo fail
- https://github.com/ruby/ruby/pull/9018 was merged. Closing.
- 09:57 AM Revision 2e9329e7 (git): Update bundled gems list at bc6a0ede4a05d19dc999d05c84b46a [ci skip]
-
09:56 AM Revision bc6a0ede (git): Bump up bundled net-ftp gem version to 0.3.0
-
09:44 AM Revision eaead94d (git): Sort links [ci skip]
-
09:28 AM Bug #20045: `TestDir#test_home` fails on i686
- BTW `TestFileExhaustive#test_expand_path_for_existent_username` still fails as well, but that is likely the same issu...
-
09:28 AM Bug #20045 (Assigned): `TestDir#test_home` fails on i686
- This is followup to #19147. Testing on Fedora 38 and Fedora Rawhide, we are facing this test failure:
~~~
$ tar x... -
09:28 AM Revision abf192eb (git): always omit test_ai_addrconfig.
-
09:14 AM Feature #18368: Range#step semantics for non-Numeric ranges
- @naruse Is there a chance for this change to be included in 3.3?
-
08:55 AM Bug #19144 (Closed): Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
- Applied in changeset commit:git|d2ba8ea54a4089959afdeecdd963e3c4ff391748.
----------
Set AI_ADDRCONFIG when making g... - 08:55 AM Revision d2ba8ea5 (git): Set AI_ADDRCONFIG when making getaddrinfo(3) calls for outgoing conns (#7295)
- When making an outgoing TCP or UDP connection, set AI_ADDRCONFIG in the
hints we send to getaddrinfo(3) (if supported... -
08:03 AM Revision c6eb355e (git): Revert "Warn `it` only with -W:deprecated"
- This reverts commit 5458252bb0edcd498e6bd4bea57fd7500bacd54c.
Revert "Fallback rb_warn_deprecated for UNIVERSAL_PARS... -
08:00 AM Revision 680be886 (git): Fallback rb_warn_deprecated for UNIVERSAL_PARSER
-
07:44 AM Revision 5458252b (git): Warn `it` only with -W:deprecated
- 07:23 AM Revision 3bf1c487 (git): Update default gems list at a41d6c825c4b1ed5699fd7880edeb8 [ci skip]
-
07:22 AM Revision a41d6c82 (git): [ruby/open-uri] Bump up 0.4.1
- https://github.com/ruby/open-uri/commit/d72508a7f4
-
07:15 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
- Thanks for following up.
-
07:02 AM Feature #11322 (Closed): OpenUri: RuntimeError: HTTP redirection loop
- I merged https://github.com/ruby/open-uri/pull/18. Thanks all.
-
06:59 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
- I agree with `max_redirects` option.
-
07:14 AM Revision ae76c8a1 (git): Warn `it` (#9152)
- https://bugs.ruby-lang.org/issues/18980
-
07:14 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- But a build time warning at least would be a good way to prevent new gems from being written using that API.
-
07:13 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- > Therefore such proposal needs to clearly shows the merit of the removal.
I mentioned why I'd want it removed. It... -
04:48 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
- Generally deprecation and migration takes development cost for gem developer.
Therefore such proposal needs to clear... -
07:08 AM Feature #18980 (Assigned): `it` as a default block parameter
- In today's Developers Meeting, @matz accepted to warn `it` in Ruby 3.3 and add `it` in Ruby 3.4. Quote from the meeti...
- 07:00 AM Revision 41c00bc9 (git): [ruby/open-uri] Set default for max_redirects and add exception class
- https://github.com/ruby/open-uri/commit/dcdcb885cc
- 07:00 AM Revision d97479f9 (git): [ruby/open-uri] Add :max_redirects option
- https://github.com/ruby/open-uri/commit/7fd5ea09a7
-
05:18 AM Feature #20011: Reduce implicit array allocations on caller side of method calling
- Thank you. Please try it.
-
05:08 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
- Accepted (with a new name).
Matz.
- 04:56 AM Revision 7d32830b (git): [rubygems/rubygems] Make --build-root disable auto-user-install.
- https://github.com/rubygems/rubygems/commit/6a06b0763f
-
04:56 AM Revision 33bd9562 (git): [rubygems/rubygems] Better approach to falling back to user installation when GEM_HOME not writable
- https://github.com/rubygems/rubygems/commit/f67bced16b
-
04:56 AM Revision 0f3f907e (git): [rubygems/rubygems] Add some early assertions to make sure the test is progressing fine
- If an error happens during the install command, it will fail in an
strange way right now.
https://github.com/rubygem... - 04:55 AM Revision aabf2ce1 (git): [rubygems/rubygems] Use globals variables for standard input/output
- Replace use of `STDIN`, `STDOUT` and `STDERR` constants by their
`$stdin`, `$stdout` and `$stderr` global variable eq... -
04:33 AM Feature #19324: Enumerator.product => Enumerable#product
- We agreed that it's okay to add Enumerable#product that returns an array (of arrays) and the lazy counterpart Enumera...
-
04:23 AM Misc #20028: I'd like my commit bit back
- @zenspider Can you look k0kubun's suggestion? After that, I will handle to recover your account of ruby.
-
04:20 AM Feature #16431 (Closed): Optionally load did_you_mean (and RubyGems)
- https://github.com/ruby/ruby/pull/2764 has been merged.
-
04:20 AM Feature #19993: Optionally Free all memory at exit
- Agreed to optionally free all memory at exit. But we haven't used the term “shutdown” for process termination. How ab...
-
04:16 AM Misc #20032: Propose @kjtsanaktsidis as a commiter
- @kjtsanaktsidis Can you look https://github.com/ruby/ruby/wiki/Committer-How-To#how-to-register-you-as-a-committer an...
-
04:07 AM Misc #20032: Propose @kjtsanaktsidis as a commiter
- Agreed.
Matz.
-
03:25 AM Bug #20039 (Closed): Matching US-ASCII string to copied UTF-8 Regexp causes invalid multibyte character error
- Applied in changeset commit:git|d89280e8bf6496aa83326b5f9c293724bd1cc1e9.
----------
Copy encoding flags when copyin... -
03:25 AM Revision d89280e8 (git): Copy encoding flags when copying a regex [Bug #20039]
- * :bug: Fixes [Bug #20039](https://bugs.ruby-lang.org/issues/20039)
When a Regexp is initialized with another Regexp... -
03:11 AM Revision 1ace2186 (git): Remove a note for `bundle exec ruby` not printing a warning
- The implementation limitation is fixed by https://github.com/rubygems/rubygems/pull/7224
-
02:58 AM Feature #20024: SyntaxError subclasses
- For the [irb use cases](https://github.com/ruby/irb/blob/f86d9dbe2fc05ed62332069a27f4aacc59ba9634/lib/irb/ruby-lex.rb...
-
02:37 AM Revision 214f6d65 (git): Move replace_require into bundled_gems.rb
-
02:34 AM Bug #19977: (nil..nil) === x can raise an exception, differing from Range#cover?
- Can this fix be included in 3.3.0?
-
01:37 AM Revision 4f213ea1 (git): Fix SEGV caused by `GC::Profiler.raw_data` (#9122)
-
12:45 AM Revision 5078aa82 (git): Add NEWS for Range#overlap?
12/06/2023
-
10:20 PM Misc #19997: DevMeeting-2023-11-30
- * [Bug #20044] Add runtime flag and environment variable for prism
* We would like to add a runtime flag and envir... - 10:15 PM Revision ce094e85 (git): [ruby/prism] Emit error for constant assignments in defs
- https://github.com/ruby/prism/commit/864b06f90e
-
09:42 PM Revision 9d9865d9 (git): YJIT: Add some object validity assertions
- We've seen quite a few compaction bugs lately, and these assertions
should give clearer symptoms. We only call class_... -
09:34 PM Revision c5a4409f (git): [ruby/prism] Simplify unterminated string
- https://github.com/ruby/prism/commit/ef512ca914
-
09:12 PM Revision c8b60c8a (git): [PRISM] Correct depth offset for block local vars
- Blocks should always look at their own local table first, even when
defined inside an ensure/rescue or something else... -
08:57 PM Bug #20044: Add runtime flag and environment variable for prism
- I agree with marking it as experimental. This would only be for testing purposes (or maybe for an IDE for getting mor...
-
01:40 PM Bug #20044: Add runtime flag and environment variable for prism
- > What are the appropriate names.
Given the precedent set by `mjit` and `yjit` of having short names that mirror the... -
12:59 PM Bug #20044: Add runtime flag and environment variable for prism
- I think a warning would cause some incompatibility and is not necessary, instead the flag & env var can be documented...
-
01:59 AM Bug #20044: Add runtime flag and environment variable for prism
- I am happy to adopt any direction the core team likes for this proposal, but to attempt answers to @mame's questions,...
-
01:30 AM Bug #20044 (Closed): Add runtime flag and environment variable for prism
- To enable prism to be used as the parser when running Ruby code, I would like to add a runtime flag and environment v...
-
08:50 PM Revision fe6ee5e9 (git): [ruby/prism] Move flag position consistently to front
- https://github.com/ruby/prism/commit/6e69a81737
-
08:48 PM Revision cbb941f5 (git): [ruby/prism] Fix closing loc for string literals
- Fix https://github.com/ruby/prism/pull/1974
https://github.com/ruby/prism/commit/453d403593 - 08:38 PM Revision a57186b9 (git): [ruby/prism] Fix one potential memory leak and silence one false positive report.
- https://github.com/ruby/prism/commit/9608aa386e
-
08:19 PM Revision a439fc2f (git): YJIT: Avoid register allocation conflict with a higher stack_idx (#9143)
- YJIT: Avoid register allocation conflict
with a higher stack_idx -
08:05 PM Revision 9336bbb0 (git): [rubygems/rubygems] Bundler::Fetcher uses Bundler::CIDetector
- Additionally, the result is memoized, as it's used twice in a row.
This change does result in a net behavioral diff,... -
08:05 PM Revision 6fd3b358 (git): [rubygems/rubygems] Duplicate Gem::CIDetector into bundler
- Because bundler needs to support older versions of rubygems, we can't
actually rely on Gem::CIDetector (yet - in a ye... -
08:05 PM Revision a6c912a8 (git): [rubygems/rubygems] Gem::UpdateSuggestion uses Gem::CIDetector
- https://github.com/rubygems/rubygems/commit/e5b0458342
-
08:05 PM Revision b1b78c4f (git): [rubygems/rubygems] Introduce the Gem::CIDetector
- This is based on the list in Gem::UpdateSuggestion and Bundler::Fetcher;
these have similar purposes (determining whe... -
07:26 PM Revision 82072254 (git): [ruby/prism] Update documentation for encodings
- https://github.com/ruby/prism/commit/18e6df0d4f
-
07:23 PM Revision 153c09f2 (git): [prism] Handle string and xstring encodings
-
07:23 PM Revision 82f18baa (git): [ruby/prism] Provide flags for changing encodings
- https://github.com/ruby/prism/commit/e838eaff6f
-
06:26 PM Bug #20041: Array destructuring and default values in parameters
- matz (Yukihiro Matsumoto) wrote in #note-1:
> It is **not** intended behavior, but under the current implementation,... -
01:27 PM Bug #20041: Array destructuring and default values in parameters
- It is **not** intended behavior, but under the current implementation, fixing this issue would make the VM far more c...
-
06:05 PM Revision 9620ca67 (git): [PRISM] Extract a PM_NOP helper
-
05:25 PM Revision 0316e666 (git): [PRISM] Fix ReturnNodes
- This code is almost exactly the same (fixed variable names) as
what exists already in compile.c -
04:34 PM Revision 12e3b074 (git): Re-embed when removing Object instance variables
- Objects with the same shape must always have the same "embeddedness"
(either embedded or heap allocated) because YJIT... -
04:31 PM Revision f80262b1 (git): [PRISM] Account for nil parent in Call{Operator,And,Or}PathWriteNodes
- Prior to this commit, we were not accounting for the case of a nil
parent in a CallXPathWriteNode, for example ::A ||... -
04:14 PM Revision 64ab04da (git): [ruby/bigdecimal] Clarify that JSON methods come from the JSON gem
- https://github.com/ruby/bigdecimal/commit/581725d4e5
-
03:33 PM Bug #20043: `defined?` checks for method existence but only sometimes
- > Is there any use case for defined? besides those?
Instance variables for sure: `defined?(@ivar)`.
Also checki... -
12:55 PM Bug #20043: `defined?` checks for method existence but only sometimes
- I wonder if `defined?` should only be defined for constant paths and method call without arguments, e.g. `defined?(Ru...
-
03:16 PM Revision 4a7151a8 (git): Deduplicate assertions in redblack_balance
- The bug in i686 was fixed in commit
71babe5536bdb2238509752d8706194ee57ff485. -
02:59 PM Revision dab5a4b6 (git): [ruby/bigdecimal] [DOC] Add section Methods for Working with JSON
- https://github.com/ruby/bigdecimal/commit/2edd8d0a23
-
02:55 PM Revision 018dbf18 (git): [ruby/prism] Add locals_body_index to DefNode, BlockNode, LambdaNode
- The locals_body_index gives the index in the locals array where
the locals from the body start. This allows compilers... -
02:46 PM Revision da1519b2 (git): [PRISM] Implement `PM_MATCH_PREDICATE_NODE` for `defined?`
- Ruby code:
```ruby
defined? 1 in 1
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compile... -
02:46 PM Revision 45471084 (git): [PRISM] Implement `PM_KEYWORD_HASH_NODE` for `defined?`
- Ruby code:
```ruby
defined? [a: [:b, :c]]
```
Instructions (without optimizations):
```
"********* Ruby **********... -
02:46 PM Revision 86497645 (git): [PRISM] Implement `PM_SPLAT_NODE` for `defined?`
- In an array for `defined?` we need to check if there is a
`contains_splat` flag, if so bail early.
Ruby code:
```ru... -
02:46 PM Revision 02961fdb (git): [PRISM] Implement `PM_SOURCE_LINE_NODE` for `defined?`
- Ruby code:
```ruby
defined?(__LINE__)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<comp... -
02:46 PM Revision d4742395 (git): [PRISM] Implement `PM_SOURCE_FILE_NODE` for `defined?`
- Ruby code:
```ruby
defined?(__FILE__)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<comp... -
02:46 PM Revision 41b117e5 (git): [PRISM] Implement `PM_SOURCE_ENCODING_NODE` for `defined?
- Ruby code:
```ruby
defined?(__ENCODING__)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<... -
02:46 PM Revision b04255de (git): [PRISM] Implement `PM_IMAGINARY_NODE` for `defined?`
- Ruby Code:
```
defined?(1i)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<com... -
12:36 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- @matz Could we try this again for 3.4, soon after the 3.3 release?
Then there is plenty of time to discover any is... -
12:02 PM Revision d6ec1aa0 (git): [PRISM] Compile Rescue Modifier nodes
- 11:41 AM Revision 34543f7c (git): [ruby/prism] Update snapshot
- https://github.com/ruby/prism/commit/5f0ea09785
-
11:35 AM Revision c23c5f1e (git): Add NEWS entry about Encoding#replicate
-
10:56 AM Revision ca8733da (git): [DOC] Fixed document position
- Method documentation must be placed immediately before each
implementation, without any other functions or preprocess... -
10:13 AM Bug #19886 (Closed): "default->bundled gem" warning is not shown under "bundle exec"
- I investigate this again.
`bundle exec ruby` called `Bundler.setup`. But `Gem::BUNDLED_GEMS` is not loaded because... -
10:10 AM Revision d411d8f5 (git): [rubygems/rubygems] Try to load Gem::BUNDLED_GEMS on Bundler
- `bundle exec ruby foo.rb` ignore to load gem_prelude.rb. Because warnings feature
is not working with `bundle exec ... -
09:35 AM Revision e03e872e (git): [ruby/rdoc] Only word-ending colon separates new definition
- When followed by non-space characters, rather it looks like a URL or a
path name on Windows.
https://github.com/ruby... -
09:35 AM Revision 379f0679 (git): [ruby/rdoc] Needs more backslash to match escaping backslashs
- https://github.com/ruby/rdoc/commit/1904e9076d
-
09:35 AM Revision 8105ff9a (git): [ruby/rdoc] Use single quotes to keep backslash literally
- https://github.com/ruby/rdoc/commit/4ac9be7f48
-
09:22 AM Bug #19147: `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
- Testing further, there might be issue in some other places. While I can't reproduce the issue on Fedora Rawhide, it s...
-
08:13 AM Revision 1fd976db (git): Refine the NEWS entry for bundler warning
-
08:02 AM Bug #20042: ObjectSpace finalizer can cause segfault
- Actually nevermind, my simplification was wrong. Using exactly your script, it crash all the way to 3.0.
```
:x: ... -
07:59 AM Bug #20042: ObjectSpace finalizer can cause segfault
- It started on 3.1:
```
:ok: 1.8 -- 3.0
(no stdout :speak_no_evil:)
:ok: 3.1,3.2
<internal:gc>:34: warning: Exc... - 06:48 AM Revision 7e05e9ff (git): Fix incorrect "nested_fake_name" documentation. (#9135)
- 06:47 AM Revision 88805180 (git): Add news for `Fiber#kill`. (#9134)
-
06:16 AM Revision 5f50593b (git): Fix RCLASS_EXT dump [ci skip]
-
06:14 AM Revision 582c202c (git): Adjust styles [ci skip]
- 02:49 AM Revision 538ff351 (git): [rubygems/rubygems] test_bundled_ca.rb: Add Net::OpenTimeout as a offline case.
- It seems that when DNS connection is enabled, but the TCP connection is
disabled in a way, the `Net::HTTP.connect` ra... -
02:45 AM Revision d9a1bb4b (git): [rubygems/rubygems] Use String#unpack1 available since ruby 3.0
- https://github.com/rubygems/rubygems/commit/46258d6cb4
-
01:21 AM Revision b8b319dd (git): Revert "allow enabling Prism via flag or env var"
- This reverts commit 9b76c7fc89460ed8e9be40e4037c1d68395c0f6d.
-
12:43 AM Revision c146da50 (git): Adjust styles [ci skip]
- 12:42 AM Revision 00467699 (git): Don't warn generally for `IO::Buffer`, only on specific code paths e.g. `map`. (#9131)
-
12:18 AM Feature #20027: Add Range Deconstruction
- Pattern matching would be another option though Range doesn't implement #deconstruct or #deconstruct_keys by default....
-
12:14 AM Feature #20040: Make Hash respond do deconstruct to allow matchting key/value pairs
- Theoretically possible, but could you show us a specific use case, please?
Matz.
12/05/2023
-
11:19 PM Revision 0346cbbc (git): Fix parameter types for rb_ivar_foreach() callbacks
- For this public API, the callback is declared to take
`(ID, VALUE, st_data_t)`, but it so happens that using
`(st_dat... -
10:17 PM Bug #20043 (Closed): `defined?` checks for method existence but only sometimes
- When an expression is passed to `defined?`, it will _sometimes_ check if a method in a sub-expression is defined and ...
-
09:25 PM Revision 56eccb35 (git): Fix alphabetical order of include in shape.c
-
09:09 PM Revision 5f0ea3f5 (git): [rubygems/rubygems] Converts Bundler lockfile checksum validation to opt-in only
- Looks for the CHECKSUMS section in the lockfile, activating the feature
only if the section exists. Without a CHECKSU... -
08:47 PM Bug #20042 (Closed): ObjectSpace finalizer can cause segfault
- ```ruby
class Finalizer
def call # <- missing (id) argument
end
end
object = Object.new
ObjectSpace.defin... -
08:47 PM Revision a33632e1 (git): [ruby/prism] Fix defined with new line
- It's possible to write the following and have it be valid Ruby:
```
defined?("foo"
)
```
But Prism wasn't taking th... -
07:52 PM Bug #20041 (Assigned): Array destructuring and default values in parameters
- It's possible to set the default value of a parameter to a previous parameter. For example:
```ruby
def foo(a, b... -
06:25 PM Revision 82883dc8 (git): [ruby/syntax_suggest] Change assertion to not rely on exact text from prism
- The original ripper test was very stable as the output didn't change. Prism is under active development and changing ...
-
06:24 PM Feature #20040 (Open): Make Hash respond do deconstruct to allow matchting key/value pairs
- It would be nice to allow pattern matching to work on key/value pairs of a Hash to e.g. find the first entry, or entr...
-
06:20 PM Revision a063969e (git): YJIT: Assert code pages are not partially in-bounds
- Helps understand page switching
-
06:20 PM Revision 695e5c17 (git): YJIT: Simplify code page switching logic, remove an assert
- We have received a report of `assert!( !cb.has_dropped_bytes())` in
set_page() failing. The only explanation for this... -
05:51 PM Revision c175e265 (git): [ruby/syntax_suggest] Remove duplicate error messages
- Before:
```
Expected a newline or semicolon after the statement
Cannot parse the expression
Expected a newline or se... -
05:51 PM Revision 6d39d6d2 (git): [ruby/syntax_suggest] Update docs, clean up PR
- Removes or updates mentions of Ripper
https://github.com/ruby/syntax_suggest/commit/08aaa3f50a -
05:51 PM Revision 62c96959 (git): [ruby/syntax_suggest] Support lexing with Prism
- https://github.com/ruby/syntax_suggest/commit/7f4176a914
-
05:51 PM Revision cce29750 (git): [ruby/syntax_suggest] Initial support for the prism parser
- Prism will be the parser in Ruby 3.3. We need to support 3.0+ so we will have to "dual boot" both parsers.
Todo:
- ... -
05:17 PM Revision 9b76c7fc (git): allow enabling Prism via flag or env var
- Enable Prism using either --prism
ruby --prism test.rb
or via env var
RUBY_PRISM=1 ruby test.rb - 04:35 PM Revision 19114014 (git): Update default gems list at b29ed638833f2abc7ce99b5bbf5cd0 [ci skip]
-
04:34 PM Revision b29ed638 (git): [ruby/irb] Bump version to v1.10.1
- (https://github.com/ruby/irb/pull/801)
https://github.com/ruby/irb/commit/a1e431bd83 -
04:32 PM Revision f55746a9 (git): [ruby/irb] Disable pager when TERM is not set too
- (https://github.com/ruby/irb/pull/802)
https://github.com/ruby/irb/commit/173980974b -
04:03 PM Revision ef387e67 (git): [ruby/irb] Pager should be disabled when TERM=dumb
- (https://github.com/ruby/irb/pull/800)
For apps/libs that test against IRB, it's recommended to set `TERM=dumb`
so t... - 03:25 PM Revision 94bf9f80 (git): [ruby/prism] Remove unnecessary match
- https://github.com/ruby/prism/commit/694d3d7279
-
03:16 PM Revision ff6706b0 (git): [ruby/prism] Fix a typo
- https://github.com/ruby/prism/pull/1949#discussion_r1412568793
https://github.com/ruby/prism/commit/a00f21d10a -
03:16 PM Revision 3260ed7e (git): [ruby/prism] Add test cases
- https://github.com/ruby/prism/commit/e91f8dbb99
-
03:16 PM Revision 975b74a8 (git): [ruby/prism] Fix argument order
- https://github.com/ruby/prism/pull/1949#discussion_r1410733341
https://github.com/ruby/prism/commit/27635da821
Co-A... -
03:16 PM Revision 3d4a4b25 (git): [ruby/prism] Fix some corner cases
- https://github.com/ruby/prism/commit/d5453f168e
-
03:16 PM Revision dcd75fd4 (git): [ruby/prism] Fix to parse command-style method calls more correctly
- Fix https://github.com/ruby/prism/pull/1468
Fix https://github.com/ruby/prism/pull/1575
To decide command-style meth... -
03:10 PM Bug #19147 (Closed): `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
-
11:24 AM Bug #19147: `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
- This was already fixed at 3.2.0 release it seems. Nevertheless, I am still unsure, what was cause and fix for this.
-
01:56 PM Revision 6b9622eb (git): [PRISM] Implement Retry node.
-
01:42 PM Revision 674eb7df (git): Make env_copy compaction safe
- The original order of events is:
1. Allocate env_body.
2. Fill env_body using elements in src_env, and it performs o... -
01:42 PM Revision ed25f0bd (git): Make env_clone compaction safe
- The original order of events is:
1. Allocate new_body.
2. Peform memcpy into new_body.
3. Create new_env using new_b... -
09:10 AM Revision bf0c8055 (git): [DOC] Fix wording in descriptions of Time-like objects
- Co-authored-by: Burdette Lamar <[email protected]>
-
09:04 AM Revision bf0f56e1 (git): [DOC] Mention Time-like objects
-
08:48 AM Revision 113f5d7f (git): [ruby/rdoc] Allow any single-word token upto 2 before C method implementation
- Previously only unknown word `intern` is allowed between a single-word
token before a C method. Now any single-word ... -
08:48 AM Revision c0baa378 (git): [ruby/rdoc] Reduce matched substring allocations
- https://github.com/ruby/rdoc/commit/aaed688a97
- 07:38 AM Revision 8bdd28da (git): Update default gems list at d691b1a14167129cc415abda3792aa [ci skip]
-
07:37 AM Revision d691b1a1 (git): [ruby/rdoc] Bump up 6.6.1
- https://github.com/ruby/rdoc/commit/7cf353a696
- 07:03 AM Revision 99698c7f (git): Update default gems list at f19de1289b4c20b12efe431d124f69 [ci skip]
-
07:02 AM Revision f19de128 (git): [ruby/tempfile] Bump up 0.2.1
- https://github.com/ruby/tempfile/commit/1450bb4f1c
-
06:43 AM Revision 494e2e4b (git): [ruby/tempfile] Alias #to_s to #inspect
- https://github.com/ruby/tempfile/commit/e515889412
- 06:39 AM Revision aec56594 (git): Update default gems list at e7cc79183879b6449d42050407b3e9 [ci skip]
-
06:38 AM Revision e7cc7918 (git): [ruby/cgi] Bump up 0.4.1
- https://github.com/ruby/cgi/commit/929e6264b5
- 06:21 AM Revision 56ccad06 (git): [ruby/rdoc] Early return when `token_stream` is `nil`
- https://github.com/ruby/rdoc/commit/04f75d8516
Co-authored-by: Nobuyoshi Nakada <[email protected]> - 06:21 AM Revision cda431f5 (git): [ruby/rdoc] fix: fix `NoMethodError` when `token_stream` is nil
- The change in #1055 might be a breaking change.
So, just simply wrap `token_stream` with `Array`
https://github.com/... - 06:10 AM Revision 09ce41a0 (git): Update default gems list at eecae51502215ae4dab9d99a107963 [ci skip]
-
06:09 AM Revision eecae515 (git): [flori/json] Bump up 2.7.1
- https://github.com/flori/json/commit/a1af7a308c
-
05:28 AM Revision 16669cd6 (git): [rubygems/rubygems] Fix crash when duplicating a dev dependency in Gemfile & gemspec
- https://github.com/rubygems/rubygems/commit/e78c0a4a48
-
05:28 AM Revision 7ab87776 (git): [rubygems/rubygems] Instead of checking writability, try to write
- Checking writability is prone to errors. For example:
$ mkdir -p foo/bar
$ chmod -w foo
$ touch foo/bar/baz # succee... -
05:28 AM Revision 4a71852f (git): [rubygems/rubygems] Set specs as pending at the beginning
- And word them consistently with other specs.
https://github.com/rubygems/rubygems/commit/eee7afefd3 -
05:28 AM Revision a60718d1 (git): [rubygems/rubygems] Simplify `--no-user-install` spec
- This spec is ignoring the local `.gem` file, so most stuff is not
needed.
https://github.com/rubygems/rubygems/commi... -
05:28 AM Revision 57178a97 (git): [rubygems/rubygems] Prefer String#split with block in Gem::YAMLSerializer#load
- String#split supports a block since Ruby 2.6, avoiding intermediate array.
https://github.com/rubygems/rubygems/comm... -
05:28 AM Revision 5f789350 (git): [rubygems/rubygems] Prefer String#split with block in Bundler::CompactIndexClient::Cache#versions
- String#split supports a block since Ruby 2.6, avoiding intermediate array.
https://github.com/rubygems/rubygems/comm... -
05:28 AM Revision a3cd7b3e (git): [rubygems/rubygems] Prefer String#split with block in Bundler::YAMLSerializer#load
- String#split supports a block since Ruby 2.6, avoiding intermediate array.
https://github.com/rubygems/rubygems/comm... -
05:27 AM Revision 440ea778 (git): VERSION file of JSON is removed from upstream
-
04:11 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
- nobu (Nobuyoshi Nakada) wrote in #note-11:
> I'm for A a little, right now.
I see. I'll change the name later. -
03:55 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
- tagomoris (Satoshi Tagomori) wrote in #note-10:
> This actually does not call the symbol but returns a callable symb... -
03:04 AM Revision a399c1f2 (git): Removed obsoleted version definition
-
03:04 AM Revision bf536849 (git): [flori/json] Detect json version from version.rb
- https://github.com/flori/json/commit/3ef57b5b39
-
03:04 AM Revision 84654bfb (git): [flori/json] cosmetics
- https://github.com/flori/json/commit/39d6c854a4
-
03:04 AM Revision abc3d124 (git): [flori/json] The modern Ruby uses utf-8 encodings by default
- https://github.com/flori/json/commit/11b31210ac
-
03:04 AM Revision c8faaf4c (git): [flori/json] [DOC] RDoc for additions
- (https://github.com/flori/json/pull/557)
* RDoc for additions
* Update lib/json/add/time.rb
Co-authored-by: Hirosh... -
03:04 AM Revision 70740dee (git): [flori/json] Fix JSON.dump overload combination
- https://github.com/flori/json/commit/41c2712a3b
-
03:04 AM Revision e6b35e8a (git): [flori/json] Overload kwargs in JSON.dump
- https://github.com/flori/json/commit/936f280f9f
-
03:04 AM Revision a22ed894 (git): [flori/json] JSON.dump: handle unenclosed hashes regression
- Fix: https://github.com/flori/json/issues/553
We can never add keyword arguments to `dump` otherwise
existing code u...
12/04/2023
-
10:29 PM Revision 5a2d70ef (git): [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb
- https://github.com/ruby/syntax_suggest/commit/73753518e9
-
10:18 PM Revision 13482ab1 (git): [ruby/syntax_suggest] Update standardrb to Ruby 3.0 standards
- https://github.com/ruby/syntax_suggest/commit/2771dcabe0
-
10:02 PM Revision 81a70085 (git): [PRISM] Fixed redo node
-
09:54 PM Bug #20039 (Closed): Matching US-ASCII string to copied UTF-8 Regexp causes invalid multibyte character error
- Matching a US-ASCII string to a UTF-8 encoded regexp with multibyte characters works as expected.
```ruby
re = Re... -
09:45 PM Revision 7d371ca2 (git): [PRISM] Handle percent literals for `defined?`
- Tests all the possible percent literal with `defined?`. Implements the
missing `PM_X_STRING_NODE` for the `%x` litera... -
09:45 PM Revision 09e8d37f (git): [PRISM] Implement `PM_INTERPOLATED_REGULAR_EXPRESSION_NODE`
- Implements `PM_INTERPOLATED_REGULAR_EXPRESSION_NODE` for `defined?`
Code:
```ruby
defined?(/#{1}/)
```
```
"******... -
09:45 PM Revision 33bc22ef (git): [PRISM] Implement `PM_INTERPOLATED_STRING_NODE`
- Implements `PM_INTERPOLATED_STRING_NODE` for `defined?`
Code:
```ruby
defined?("#{expr}")
```
```
"********* Ruby ... -
09:45 PM Revision c23b2e53 (git): [PRISM] Fix `PM_PARENTHESES_NODE`
- In #9101 I only accounted for an empty paren. This change implements the
`PM_PARENTHESES_NODE` for when it's `nil` an... -
08:55 PM Misc #20038 (Closed): Strings with mixed escapes not detected around interpolation
- I'm not 100% my understanding is correct, but here's what I think is happening:
When a string is being parsed, it ... -
08:03 PM Revision 569750f6 (git): [Prism] Implement backref and numbered reference for `defined?`
- This PR implements `PM_BACK_REFERENCE_READ_NODE` and
`PM_NUMBERED_REFERENCE_READ_NODE` for `defined?`. The following ... -
07:03 PM Revision e3ca50b0 (git): [PRISM] Fix compilation for NextNode
- This code was almost enitrely the same as the existing compiler's
code for its NextNode. -
06:57 PM Revision 71babe55 (git): Use 32-bit integers for redblack_id_t
- On 32-bit systems, the shape cache size is 1048576 (value of
REDBLACK_CACHE_SIZE), but a 16-bit unsigned integer can ... -
05:23 PM Feature #20024: SyntaxError subclasses
- @yui-knk your proposal matches how prism works today. Prism never raises a syntax error, it returns a list of errors ...
-
05:15 PM Revision d35aa58b (git): [ruby/prism] Fix up docs for lex_compat
- https://github.com/ruby/prism/commit/9131e84060
-
05:00 PM Revision ea9f89ee (git): [ruby/prism] Ripper compat docs update
- https://github.com/ruby/prism/commit/5f70b32b02
-
03:27 PM Revision b9f2c671 (git): [PRISM] Fix dependencies
-
03:27 PM Misc #20035: Command-line settings move from parser to compiler
- I assume in this case that you would still pass the settings into the parser so that it could be aware of it. In look...
-
03:13 PM Revision b5a62eb9 (git): YJIT: Mark and update stubs in invalidated blocks (#9104)
- Like in the example given in delayed_deallocation(), stubs can be hit
even if the block housing it is invalidated. Ma... -
02:58 PM Revision f40727f4 (git): Make rb_obj_copy_ivs_to_hash_table_i static
- 02:33 PM Revision 1227b6d9 (git): [ruby/prism] Refactor pm_diagnostic_t and pm_comment_t to use pm_location_t
- https://github.com/ruby/prism/commit/115b6a2fc6
-
02:00 PM Revision 2a65d837 (git): [ruby/prism] Check "void value expression" for array literals
- Fix https://github.com/ruby/prism/pull/1978
https://github.com/ruby/prism/commit/194c997d0a -
08:55 AM Bug #20025: Parsing identifiers/constants is case-folding dependent
- @nobu (Nobuyoshi Nakada) wrote in #note-3:
> The reason is that micro sign is folded to small Mu in Windows-1253.
... -
07:45 AM Bug #20037: ractor related test failure on recent ruby3.3.0dev
- Verified that commit:85bc80a51b is test successful. I see commit:ad54fbf281ca1935e79f4df1460b0106ba76761e is reverted.
-
02:37 AM Revision 85bc80a5 (git): Revert "Add missing GVL hooks for M:N threads and ractors"
- This reverts commit ad54fbf281ca1935e79f4df1460b0106ba76761e.
-
01:39 AM Revision 9c5e1b71 (git): Fix format specifiers for `size_t`
-
01:32 AM Revision 2e8a4470 (git): Remove `rb_libruby_selfpath` for MJIT
-
01:02 AM Revision 3e07e04d (git): Win32: ruby-runner is unnecessary on Windows in favor of SxS [ci skip]
12/03/2023
- 05:07 PM Revision 9126a513 (git): Update default gems list at 52eabf2e329485088672beefe4bc59 [ci skip]
-
05:06 PM Revision 52eabf2e (git): [ruby/irb] Bump version to v1.10.0
- (https://github.com/ruby/irb/pull/798)
https://github.com/ruby/irb/commit/4acc9b8d6c -
02:05 PM Revision a2197466 (git): [ruby/irb] Disable pager in eval_history test
- (https://github.com/ruby/irb/pull/799)
https://github.com/ruby/irb/commit/ee85e84935 -
10:25 AM Bug #20037 (Closed): ractor related test failure on recent ruby3.3.0dev
- Creating ticket for tracking anyway:
With commit:d4b1f56f50 ruby build on Fedora 40 sees test failure as:
```
... - 09:59 AM Revision 0a70dde9 (git): Fix patch mistake
- 09:54 AM Revision cb4b2917 (git): * 2023-12-03 [ci skip]
-
09:53 AM Revision 902cbd05 (git): [CI] windows.yml - use MSYS2 bison instead of Chocolatey
-
09:32 AM Bug #16145: regexp match error if mixing /i, character classes, and utf8
- @zenspider I said that single-character character classes get reduced to just the actual character. So that would mea...
-
06:00 AM Bug #20022: GC.verify_compaction_references does not actually move all objects
- Alright, I have figured it out I think - @peterzhu2118 do you mind taking another look at my PR? The insight is we ne...
-
04:58 AM Revision 47971272 (git): [CI] windows.yml - use MSYS2 bison instead of Chocolatey
12/02/2023
-
09:17 PM Revision d4b1f56f (git): [Fix] Support when nil is assigned to variable `name` (#9105)
- * Add `!name.nil?` to if condition
-
06:06 PM Revision ad54fbf2 (git): Add missing GVL hooks for M:N threads and ractors
- [Bug #20019]
This fixes GVL instrumentation in three locations it was missing:
- Suspending when blocking on a Racto... -
05:46 PM Revision 715cf9b6 (git): [DOC] More on What's Here (#9099)
- * More on What's Here
* More on What's Here -
02:46 PM Bug #19144: Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-5:
> @akr could you take a look at my PR when you get a chance? I thi... -
02:06 PM Revision d1691617 (git): Pin instruction storage
- The operands in each instruction needs to be pinned because if
auto-compaction runs in iseq_set_sequence, then the ob... -
01:17 PM Feature #20034: [mkmf] Support creating a compilation database for C language tooling
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-3:
> I wonder if a middle ground between "in cruby" and "in a gem th... -
07:17 AM Feature #20034: [mkmf] Support creating a compilation database for C language tooling
- kjtsanaktsidis wrote:
> I wonder if a middle ground between "in cruby" and "in a gem that ~nobody knows about" wou... -
12:13 AM Feature #20034: [mkmf] Support creating a compilation database for C language tooling
- > It did not work for me (insomuch that I could not find the generated compile-commands.json)
I just had another p... -
12:48 PM Revision 092a17e7 (git): [DOC] Markup class name `Time` as code
-
12:46 PM Revision ae3e9f11 (git): [DOC] Include timezones document in timev.rb
- So that it can be referred as a part of the document of `Time`.
-
12:40 PM Revision c9c1670f (git): [ruby/rdoc] Markup punctuations need to be separated with a space
- https://github.com/ruby/rdoc/commit/83f0149fc1
-
11:18 AM Bug #20022: GC.verify_compaction_references does not actually move all objects
- I stared at this and did a bit of `printf` on it, and I _think_ I worked out that the formula for how many pages to a...
-
09:58 AM Bug #19877: Non intuitive behavior of syntax only applied to literal value
- I found a similar behavior for MATCH node (Prism::MatchLastLineNode)
~~~ruby
RubyVM::AbstractSyntaxTree.parse 'if (... -
08:58 AM Bug #20036: Backport 6ebcf25de2859b5b6402b7e8b181066c32d0e0bf
- ruby_3_2 82d39cb846748cd7de618b34b818f34d2c077e7e merged revision(s) 6ebcf25de2859b5b6402b7e8b181066c32d0e0bf.
-
08:06 AM Bug #20036 (Closed): Backport 6ebcf25de2859b5b6402b7e8b181066c32d0e0bf
- This is a backport management ticket.
I think https://github.com/ruby/ruby/commit/6ebcf25de2859b5b6402b7e8b181066c32... -
08:58 AM Revision 82d39cb8 (git): merge revision(s) 6ebcf25de2859b5b6402b7e8b181066c32d0e0bf: [Backport #20036]
- GC guard catch_table_ary in iseq_set_exception_table
The function iseq_set_exception_table allocates memory ... -
04:32 AM Revision 4ee1f0fb (git): [ruby/irb] Implement `history` command
- (https://github.com/ruby/irb/pull/761)
* Implement `history` command
Lists IRB input history with indices. Also ali...
12/01/2023
-
11:58 PM Revision 9f6c6f88 (git): Lrama v0.5.11
-
10:56 PM Revision 818813c2 (git): Implement paren node for `defined?`
- Implements and adds a test for passing a parentheses node to `defined?`.
- 10:51 PM Revision 6ecc1ca9 (git): [DOC] Update ARGF.readlines documentation to match/reference IO.readlines.
-
10:49 PM Misc #20035: Command-line settings move from parser to compiler
- Moving `-n`/`-p` makes impossible to check `break`/`next`/`redo` in parser.
```shell-session
$ ruby -c -p -e break <... -
06:44 PM Misc #20035 (Closed): Command-line settings move from parser to compiler
- Right now, when you pass `-n`, `-p`, `-l`, or `-a`, these options are all passed to the parser to manipulate the pars...
-
10:13 PM Revision 0aed37b9 (git): Make expandarray compaction safe
- The expandarray instruction can allocate an array, which can trigger
a GC compaction. However, since it does not incr... -
10:11 PM Feature #20034: [mkmf] Support creating a compilation database for C language tooling
- kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-1:
> Does this do what you want? (I haven’t used it in a year or so,... -
04:28 PM Feature #20034: [mkmf] Support creating a compilation database for C language tooling
- Oh, I wrote a gem for this a while ago! https://rubygems.org/gems/extconf_compile_commands_json
Does this do what ... -
01:59 PM Feature #20034 (Open): [mkmf] Support creating a compilation database for C language tooling
- # Abstract
Ruby projects are often developed with C extensions. These can be easily compiled by ruby by using `cre... -
08:53 PM Revision 492c82cb (git): [ruby/prism] Prism.parse_success?(source)
- A lot of tools use Ripper/RubyVM::AbstractSyntaxTree to determine
if a source is valid. These tools both create an AS... -
08:21 PM Revision b77551ad (git): Remove unneeded local variables
- 08:10 PM Revision 562d949e (git): [ruby/prism] Fix parsing heredoc ends
- https://github.com/ruby/prism/commit/aa8c702271
-
08:05 PM Revision 39238888 (git): Implements missing literals for `defined?`
- This PR implements the following literals:
- String
- Symbols
- Integers
- Floats
- Regexs
- Ranges
- Lambdas
- Hash... -
08:04 PM Revision ee0eca19 (git): Make String#undump compaction safe
-
08:04 PM Revision 80ea7fba (git): Pin embedded shared strings
- Embedded shared strings cannot be moved because strings point into the
slot of the shared string. There may be code u... -
07:50 PM Revision 0ed55bf0 (git): [rubygems/rubygems] Reduce array allocations when loading definition
- The same array was being re-created in a loop (as well as the `generic_local_platform`), which is avoidable by hoisti...
-
06:57 PM Bug #20033 (Closed): `/#{''}(?<lvar>)/ =~ s` looks like a dynamic regexp match but assigns to local variable
- Applied in changeset commit:git|a607d62d8c5786087916413c369dbde0c62db573.
----------
[Bug #20033] Dynamic regexp sho... -
05:39 PM Bug #20033: `/#{''}(?<lvar>)/ =~ s` looks like a dynamic regexp match but assigns to local variable
- https://github.com/ruby/ruby/pull/9097
-
01:38 PM Bug #20033: `/#{''}(?<lvar>)/ =~ s` looks like a dynamic regexp match but assigns to local variable
- +1, it should only be static regexp literals which assign variables (= without `#{}`), that's much simpler for everyo...
-
01:02 PM Bug #20033 (Closed): `/#{''}(?<lvar>)/ =~ s` looks like a dynamic regexp match but assigns to local variable
- I expect all of these code not to assign to lvar because all regexp looks like embedded dynamic regexp.
~~~ruby
/#{... -
06:57 PM Revision a607d62d (git): [Bug #20033] Dynamic regexp should not assign captures
-
06:46 PM Revision ec83bd73 (git): [ruby/prism] Provide heredoc? queries
- https://github.com/ruby/prism/commit/e148e8fe6a
-
06:23 PM Revision 2a8d9c59 (git): [PRISM] Account for RescueNodes with no statements
- We need a PUTNIL if a RescueNode has no statements.
-
06:07 PM Revision d6584a02 (git): [PRISM] Fix behavior of BlockParameters with only one parameter
- This commit sets the ambiguous param flag if there is only one
parameter on a block node. It also fixes a small bug w... -
06:04 PM Revision ef466ac9 (git): [ruby/irb] Scrub past history input before split
- (https://github.com/ruby/irb/pull/795)
* Scrub past history input before split
* Don't rewrite ENV["LANG"]
https:/... -
05:52 PM Revision 73440e1e (git): [rubygems/rubygems] Many major_deprecations supply :removed_message
- Generally the removed message is very similar, but often it needs to
specify that the feature has "been removed" inst... -
05:52 PM Revision 079dfa18 (git): [rubygems/rubygems] major_deprecation accepts :removed_message
- If supplied, it uses that in place of the message for the case where the
deprecation version is already past.
https:... -
05:41 PM Bug #19838 (Closed): Ripper nested heredocs
- Applied in changeset commit:git|e5e1f9813e23c427cf45a25181b2e6d3cf97411a.
----------
[Bug #19838] Flush delayed toke... -
05:41 PM Revision e5e1f981 (git): [Bug #19838] Flush delayed token nonconsecutive with the next token
-
05:41 PM Revision add0ab07 (git): Extract `end_with_newline_p`
-
05:41 PM Revision 6e2b10d4 (git): Prefer proper enum over bare int
-
05:20 PM Revision 9d209093 (git): [PRISM] Clean up trailing comment
-
05:14 PM Revision d224618b (git): [PRISM] Restructure parameters
- Prior to this commit, we weren't accounting for hidden variables
on the locals table, so we would have inconsistencie... -
05:03 PM Revision 5150ba0d (git): [prism] Update to latest numbered parameters
-
05:03 PM Revision cdb74d74 (git): [ruby/prism] Change numbered parameters
- Previously numbered parameters were a field on blocks and lambdas
that indicated the maximum number of numbered param... -
04:40 PM Revision 90d9c20a (git): [PRISM] Compile RescueNode
-
03:34 PM Bug #19877: Non intuitive behavior of syntax only applied to literal value
- Thank you @nobu that fixes the regex, but we still need it for flip-flops:
https://github.com/ruby/prism/issues/19... -
03:23 PM Revision 8f3310dc (git): Remove unused files in prism
-
03:18 PM Revision 64f33aea (git): [ruby/prism] Update snapshots
- https://github.com/ruby/prism/commit/f4c80c67dc
-
03:17 PM Revision cbe57caa (git): [ruby/prism] Fix comments after HEREDOCs again.
- The problem was deeper than just looking back a single token.
You can push the heredoc_end token way back into the li... -
03:15 PM Revision ffeec108 (git): [ruby/prism] Add missing context names to the switch in `debug_context`
- Now, `PM_DEBUG_LOGGING` can be available.
https://github.com/ruby/prism/commit/569ffacb5f -
03:15 PM Revision 417d7004 (git): [ruby/prism] Improve to handle unterminated strings
- Fix https://github.com/ruby/prism/pull/1946
This fixes to set an error position for unterminated strings to the
open... -
03:13 PM Revision 0e599336 (git): [ruby/prism] Fix `not_provided` comment
- I don't know when it is changed, but the `not_provided` signature is
changed.
https://github.com/ruby/prism/commit/0... -
03:04 PM Revision 3b21932d (git): [PRISM] Use depth_offset not transparent scopes for FOR
-
03:04 PM Revision ce5f5ca1 (git): [PRISM] Remove transparent scope nodes
-
02:56 PM Revision 43ef0da0 (git): Add assertions for shape cache grandchild nodes
-
12:24 PM Feature #20031: Regexp using greedy quantifier and unions on a big string uses a lot of memory
- I played around a bit and both time and memory seem linear in the size of the input string on CRuby.
However the memo... -
12:46 AM Feature #20031: Regexp using greedy quantifier and unions on a big string uses a lot of memory
- I think this behavior is expected. The regex engine stretches the stack by the number of charaters in the input strin...
-
11:33 AM Revision 64c4bbb8 (git): [ruby/prism] Add test/prism/snapshots/heredoc_with_comment.txt
- https://github.com/ruby/prism/commit/97b296a0f7
- 07:48 AM Revision e005c517 (git): Update default gems list at 7d142c08cb5b65e4ba110b116c41a8 [ci skip]
-
07:47 AM Revision 7d142c08 (git): lib/helper only needs on flori/json repo
-
07:47 AM Revision 86045fca (git): Manually merged from flori/json
- > https://github.com/flori/json/pull/525
> Rename escape_slash in script_safe and also escape E+2028 and E+2029
... -
07:47 AM Revision 0dfeb172 (git): Rename escape_slash in script_safe and also escape E+2028 and E+2029
- It is rather common to directly interpolate JSON string inside
<script> tags in HTML as to provide configuration or p... -
07:47 AM Revision 698cb840 (git): Use ruby_xfree to free buffers
- They are allocated with ruby_xmalloc, they should be freed with
ruby_xfree. -
07:47 AM Revision 32f289d1 (git): [flori/json] Bump up 2.7.0
- https://github.com/flori/json/commit/ca546128f2
-
07:47 AM Revision 4b770527 (git): [flori/json] Fix "unexpected token" offset for Infinity
- Previously in the JSON::Ext parser, when we encountered an "Infinity"
token (and weren't allowing NaN/Infinity) we wo... - 07:47 AM Revision 854e6559 (git): [flori/json] tests/ractor_test.rb: make assert_separately available
- Require tests/lib/helper.rb to avoid:
NoMethodError: undefined method `assert_separately'
https://github.com/flori/... -
07:45 AM Revision 062b59ba (git): Fix typos [ci skip]
-
07:39 AM Revision 60568e97 (git): Sort links [ci skip]
-
06:38 AM Bug #20030 (Closed): `Ripper.tokenize('"\\C-あ"')` separates encoding valid string to encoding invalid string.
- Applied in changeset commit:git|d503e1b95a40e45d7767e0175de60092de4ba54e.
----------
[Bug #20030] dispatch invalid e... -
06:16 AM Bug #20030: `Ripper.tokenize('"\\C-あ"')` separates encoding valid string to encoding invalid string.
- https://github.com/ruby/ruby/pull/9091
This fixes another ripper scanner event issue at a syntax error too. -
06:04 AM Revision e36b9760 (git): Dispatch invalid hex escape content too
-
06:04 AM Revision d503e1b9 (git): [Bug #20030] dispatch invalid escaped character without ignoring it
-
03:20 AM Revision 52c26601 (git): Fixup with review comment
- https://github.com/ruby/ruby/pull/9088#discussion_r1411490445
-
03:20 AM Revision 1bfd30a1 (git): Relax test conditions to velify Socket::ResolutionError#error_code
- The test for Socket::ResolutionError#error_code fails in the FreeBSD environment with this test condition. Because So...
-
02:37 AM Revision e2bbbacc (git): [ruby/prism] Correctly pass around const pm_encoding_t *
- https://github.com/ruby/prism/commit/ce4c67fb3a
-
02:37 AM Revision b4a85e40 (git): [PRISM] Fix up prism encoding targets
-
02:37 AM Revision 99a147ff (git): [ruby/prism] Document remaining encodings
- https://github.com/ruby/prism/commit/b9510aed40
-
02:37 AM Revision 0c277f2b (git): [ruby/prism] Group encodings into a single array
- https://github.com/ruby/prism/commit/f4b7beadc9
-
02:37 AM Revision 6b234c1a (git): [ruby/prism] Do not expose encodings that do not need to be exposed
- https://github.com/ruby/prism/commit/c52c7f37ea
-
02:37 AM Revision ea409958 (git): [ruby/prism] Remove ability to decode other encodings
- https://github.com/ruby/prism/commit/98e218d989
-
02:37 AM Revision 99708318 (git): [ruby/prism] Remove public ASCII functions that can now be static
- https://github.com/ruby/prism/commit/9461384b0c
-
02:37 AM Revision abb1fe28 (git): [PRISM] Consolidate prism encoding files
-
02:37 AM Revision 19a321bf (git): [ruby/prism] CESU encoding
- https://github.com/ruby/prism/commit/2d5b9c2b3c
-
02:37 AM Revision ca26e0e3 (git): [ruby/prism] EUC-TW encoding
- https://github.com/ruby/prism/commit/edfb54f039
-
02:37 AM Revision dde0abb2 (git): [ruby/prism] Shorter function definitions in pm_big5.c
- https://github.com/ruby/prism/commit/7ddf651bab
-
02:37 AM Revision 32249c2c (git): [ruby/prism] GB18030 encoding
- https://github.com/ruby/prism/commit/ca3ab7ec89
-
02:37 AM Revision a9162a44 (git): [ruby/prism] Emacs MULE encodings
- https://github.com/ruby/prism/commit/4c06b6c42e
-
02:37 AM Revision 10d3897e (git): [PRISM] Big5 encodings
-
02:37 AM Revision 700e172a (git): [ruby/prism] EUC-KR encodings
- https://github.com/ruby/prism/commit/ba5218385a
-
02:37 AM Revision ddaa0730 (git): [ruby/prism] Support other EUC-JP encodings
- https://github.com/ruby/prism/commit/d040337ce9
-
02:37 AM Revision 7b5bb978 (git): [PRISM] Alias CP51932 to EUC-JP
-
02:37 AM Revision 9ba92327 (git): [PRISM] Consolidate SJIS encodings
-
02:37 AM Revision 219c3c1c (git): [ruby/prism] Add other UTF8 encodings
- https://github.com/ruby/prism/commit/709fb6e09f
-
02:35 AM Revision ba1cdadf (git): YJIT: Cancel on-stack jit_return on invalidation (#9086)
- * YJIT: Cancel on-stack jit_return on invalidation
Co-authored-by: Alan Wu <[email protected]>
* Use RUBY_V... -
01:54 AM Misc #20032 (Assigned): Propose @kjtsanaktsidis as a commiter
-
01:54 AM Misc #20028 (Assigned): I'd like my commit bit back
-
12:50 AM Feature #20011: Reduce implicit array allocations on caller side of method calling
- I expanded the pull request to handle `getblockparamproxy` for block arguments, in addition to `getlocal` and `getins...
-
12:19 AM Revision 5888a16a (git): YJIT: Use `stats[:live_page_count]`, renamed from :compiled_page_count
- Co-authored-by: Takashi Kokubun <[email protected]>
Also available in: Atom