summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-30[ruby/prism] Add other UTF8 encodingsKevin Newton
https://github.com/ruby/prism/commit/709fb6e09f
2023-11-30YJIT: Cancel on-stack jit_return on invalidation (#9086)Takashi Kokubun
* 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>
2023-11-30YJIT: Use `stats[:live_page_count]`, renamed from :compiled_page_countAlan Wu
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-11-30NEWS: Adjust indentation for RDoc's markdown parserAlan Wu
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
2023-11-30NEWS update about calling Kernel#lambda with non-literal blockAlan Wu
2023-11-30YJIT: optimized codegen for `rb_ary_length()` (#9085)Maxime Chevalier-Boisvert
YJIT: optimized codegen for rb_ary_length()
2023-11-30Add assertions in redblack_balancePeter Zhu
These assertions check that binary search tree invariants are held for the new tree.
2023-11-30[Prism] Fix local variable access for POST_EXECUTION_NODEMatt Valentine-House
2023-11-30Store depth offset inside the scope node.Matt Valentine-House
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.
2023-11-30Rename variables redblack_balancePeter Zhu
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.
2023-11-30[rubygems/rubygems] Only show "Defaulting to user installation" message when ↵Ellen Marie Dash
it matters. https://github.com/rubygems/rubygems/commit/61b0947225
2023-11-30Update documentation for [[:word:]] and \p{Word} in regexpsJeremy Evans
Onigmo uses Decimal_Number and not Number for these. Fixes [Bug #19417]
2023-11-30Mention {Queue,SizedQueue}#freeze change in NEWSJeremy Evans
2023-11-30[ruby/prism] Remove no-op assignmentHaldun Bayhantopcu
https://github.com/ruby/prism/commit/4b3079d9e8
2023-11-30Fix imemo_env corruption under auto compactionAlan Wu
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.
2023-11-30YJIT: Bump ec->cfp after setting cfp->jit_return (#9072)Takashi Kokubun
2023-11-30[ruby/irb] Page evaluation result's outputStan Lo
(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
2023-11-30[ruby/rdoc] Get rid of `Kernel#open`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/dc56f6d0bd
2023-11-30Highlight some GC improvements in NEWSJean Boussier
3.3. got some major GC changes that do translate in very meaningful performance gains, we should surface that.
2023-11-30Add a rescue for `defined?(A::B::C)`Aaron Patterson
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
2023-11-30[ruby/prism] Fix typo in commentsid-707
https://github.com/ruby/prism/commit/eb1a6ba263
2023-11-30[ruby/prism] Fix lex_compat for `<<HEREDOC # comment` at EOFMartin Emde
Fixes https://github.com/ruby/prism/pull/1874 https://github.com/ruby/prism/commit/304dd78dd2
2023-11-30[Bug #19877] Assign captures for direct regexp literal onlyNobuyoshi Nakada
2023-11-30Add `RUBY_REFERENCES`Nobuyoshi Nakada
Instead of `RUBY_REFERENCES_START` and `RUBY_REFERENCES_END`, so that auto-indent works well.
2023-11-30Prefix `REF_EDGE` and `REFS_LIST_PTR` with `RUBY_`Nobuyoshi Nakada
Also move `struct` so that `typedef`-ed names can be used.
2023-11-30Add some test cases to Data testOKURA Masafumi
I noticed that `deconstruct` and `hash` don't have enough coverage. The behavior of `hash` is documented so I copied it.
2023-11-30Skip test_resolurion_error_error_code with FreeBSD environmentHiroshi SHIBATA
https://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20231130T103002Z.fail.html.gz
2023-11-30Add NEWS entry for the deprecation of subprocess creation/forkingYusuke Endoh
[Feature #19630]
2023-11-30Sort links [ci skip]Kazuhiro NISHIYAMA
2023-11-30Add NEWS entry for WeakMap#delete and `RUBY_CRASH_REPORT`Jean Boussier
I wasn't too sure where to put `RUBY_CRASH_REPORT`, it's not exactly a command line option but close enough.
2023-11-30[ruby/cgi] Fix unescapeHTMLflosacca
https://github.com/ruby/cgi/commit/67610e6ca8
2023-11-30[ruby/cgi] Add failing test cases for CGI::Escape.unescapeHTMLflosacca
https://github.com/ruby/cgi/commit/92fdb3316b
2023-11-30Move #19785 correct category in NEWSHiroshi SHIBATA
2023-11-30Update bundled gems list as of 2023-11-29git
2023-11-30Fix the argument orderNobuyoshi Nakada
2023-11-30Adjust indent [ci skip]Nobuyoshi Nakada
2023-11-30Make test-bundled-gems successMisaki Shioi
2023-11-30Fix failing specMisaki Shioi
2023-11-30Rename rsock_raise_socket_error to rsock_raise_resolution_errorMisaki Shioi
Again, rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
2023-11-30Replace SocketError with Socket::ResolutionError in rsock_raise_socket_errorMisaki Shioi
rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
2023-11-30Add Socket::ResolutionError & Socket::ResolutionError#error_codeMisaki Shioi
Socket::ResolutionError#error_code returns Socket::EAI_XXX
2023-11-29Implement proc_entry on VWAPeter Zhu
2023-11-29Implement Write Barriers on proc_entryPeter Zhu
2023-11-29Add RUBY_TYPED_FREE_IMMEDIATELY flag to proc_entryPeter Zhu
2023-11-30[rubygems/rubygems] Allow auto-install to install missing git gemsSamuel Giddins
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
2023-11-30Manually sync with https://github.com/ruby/open3/pull/22 and related PRsHiroshi SHIBATA
2023-11-30[prism] Remove escaping C source filesKevin Newton
2023-11-29Guard match from GC in String#gsubPeter Zhu
We need to guard match from GC because otherwise it could end up being reclaimed or moved in compaction.
2023-11-29YJIT: edit `yjit.md` and bring it up to date (#9068)Maxime Chevalier-Boisvert
Also make various minor edits to improve readability.
2023-11-29Support RUNRUBY_USE_RR for rr debuggerPeter Zhu