| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/709fb6e09f
|
|
* YJIT: Cancel on-stack jit_return on invalidation
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
* Use RUBY_VM_CONTROL_FRAME_STACK_OVERFLOW_P
---------
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
|
|
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
|
|
Indenting by 2 spaces wasn't yielding nested list up as intended. I guess
it's a quirk of RDoc's markdown parser:
https://github.com/ruby/rdoc/blob/v6.6.0/lib/rdoc/markdown.kpeg#L1128-L1130
NonindentSpace = / {0,3}/
Indent = /\t| /
IndentedLine = Indent Line
|
|
|
|
YJIT: optimized codegen for rb_ary_length()
|
|
These assertions check that binary search tree invariants are held for
the new tree.
|
|
|
|
Instead of incrementing the depth using call by reference as we're
recursing up the stack we could instead store an offset for each known
scope where we know the depth is going to represented differently in the
Prism ast.
|
|
It's too difficult for me to keep track that y is the new node, x is the
new left node, z is the new right node, a is the new left left node,
b is the new left right node, c is the new right left node, and d is
the new right right node. This commit refactors the variable names to be
more descriptive.
|
|
it matters.
https://github.com/rubygems/rubygems/commit/61b0947225
|
|
Onigmo uses Decimal_Number and not Number for these.
Fixes [Bug #19417]
|
|
|
|
https://github.com/ruby/prism/commit/4b3079d9e8
|
|
Previously, vm_make_env_each() did:
1. ALLOC env_body
2. Copy locals into env_body
3. Allocate imemo_env
4. Set up imemo_env with env_body
If compaction runs during (3), locals copied to env_body could be
moved and the imemo_env could end up with invalid references.
Move (2) down so it reads references after potential movement.
|
|
|
|
(https://github.com/ruby/irb/pull/784)
* Page evaluation result's output
This will make it easier to work with long output that exceeds the terminal's height.
* Use consistent TERM in rendering tests
This makes sure we get consistent result on all platforms.
https://github.com/ruby/irb/commit/4fedce93d3
|
|
https://github.com/ruby/rdoc/commit/dc56f6d0bd
|
|
3.3. got some major GC changes that do translate in very meaningful
performance gains, we should surface that.
|
|
It's possible for `defined?(A::B::C)` to raise an exception. `defined?`
must swallow the exception and return nil, so this commit adds a rescue
entry for `defined?` expressions on constant paths
|
|
https://github.com/ruby/prism/commit/eb1a6ba263
|
|
Fixes https://github.com/ruby/prism/pull/1874
https://github.com/ruby/prism/commit/304dd78dd2
|
|
|
|
Instead of `RUBY_REFERENCES_START` and `RUBY_REFERENCES_END`, so that
auto-indent works well.
|
|
Also move `struct` so that `typedef`-ed names can be used.
|
|
I noticed that `deconstruct` and `hash` don't have enough coverage.
The behavior of `hash` is documented so I copied it.
|
|
https://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20231130T103002Z.fail.html.gz
|
|
[Feature #19630]
|
|
|
|
I wasn't too sure where to put `RUBY_CRASH_REPORT`, it's not exactly
a command line option but close enough.
|
|
https://github.com/ruby/cgi/commit/67610e6ca8
|
|
https://github.com/ruby/cgi/commit/92fdb3316b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Again, rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
|
|
rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
|
|
Socket::ResolutionError#error_code returns Socket::EAI_XXX
|
|
|
|
|
|
|
|
Currently, auto-install with git gems fails, when
it would succeed with a rubygems-source gem
Fix the issue by doing the same fallback for git errors as we do for
missing gems, the git errors should only bubble up in these cases when
the gem is not installed, meaning we want to go through the install flow
(and any persistent errors will be raised through there)
https://github.com/rubygems/rubygems/commit/e25a339f7a
|
|
|
|
|
|
We need to guard match from GC because otherwise it could end up being
reclaimed or moved in compaction.
|
|
Also make various minor edits to improve readability.
|
|
|