aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prefix `REF_EDGE` and `REFS_LIST_PTR` with `RUBY_`Nobuyoshi Nakada2023-11-304-17/+17
| | | | Also move `struct` so that `typedef`-ed names can be used.
* Add some test cases to Data testOKURA Masafumi2023-11-301-0/+17
| | | | | I noticed that `deconstruct` and `hash` don't have enough coverage. The behavior of `hash` is documented so I copied it.
* Skip test_resolurion_error_error_code with FreeBSD environmentHiroshi SHIBATA2023-11-301-0/+3
| | | | https://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20231130T103002Z.fail.html.gz
* Add NEWS entry for the deprecation of subprocess creation/forkingYusuke Endoh2023-11-301-0/+10
| | | | [Feature #19630]
* Sort links [ci skip]Kazuhiro NISHIYAMA2023-11-301-2/+2
|
* Add NEWS entry for WeakMap#delete and `RUBY_CRASH_REPORT`Jean Boussier2023-11-301-4/+15
| | | | | I wasn't too sure where to put `RUBY_CRASH_REPORT`, it's not exactly a command line option but close enough.
* [ruby/cgi] Fix unescapeHTMLflosacca2023-11-301-7/+26
| | | | https://github.com/ruby/cgi/commit/67610e6ca8
* [ruby/cgi] Add failing test cases for CGI::Escape.unescapeHTMLflosacca2023-11-301-0/+18
| | | | https://github.com/ruby/cgi/commit/92fdb3316b
* Move #19785 correct category in NEWSHiroshi SHIBATA2023-11-301-3/+4
|
* Update bundled gems list as of 2023-11-29git2023-11-302-2/+2
|
* Fix the argument orderNobuyoshi Nakada2023-11-301-1/+1
|
* Adjust indent [ci skip]Nobuyoshi Nakada2023-11-301-15/+15
|
* Make test-bundled-gems successMisaki Shioi2023-11-301-1/+1
|
* Fix failing specMisaki Shioi2023-11-301-1/+1
|
* Rename rsock_raise_socket_error to rsock_raise_resolution_errorMisaki Shioi2023-11-304-9/+9
| | | | Again, rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
* Replace SocketError with Socket::ResolutionError in rsock_raise_socket_errorMisaki Shioi2023-11-304-8/+20
| | | | rsock_raise_socket_error is called only when getaddrinfo and getaddrname fail
* Add Socket::ResolutionError & Socket::ResolutionError#error_codeMisaki Shioi2023-11-302-0/+13
| | | | Socket::ResolutionError#error_code returns Socket::EAI_XXX
* Implement proc_entry on VWAPeter Zhu2023-11-291-11/+3
|
* Implement Write Barriers on proc_entryPeter Zhu2023-11-291-3/+3
|
* Add RUBY_TYPED_FREE_IMMEDIATELY flag to proc_entryPeter Zhu2023-11-291-0/+1
|
* [rubygems/rubygems] Allow auto-install to install missing git gemsSamuel Giddins2023-11-302-1/+18
| | | | | | | | | | | | 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
* Manually sync with https://github.com/ruby/open3/pull/22 and related PRsHiroshi SHIBATA2023-11-301-24/+66
|
* [prism] Remove escaping C source filesKevin Newton2023-11-301-4/+0
|
* Guard match from GC in String#gsubPeter Zhu2023-11-292-4/+17
| | | | | We need to guard match from GC because otherwise it could end up being reclaimed or moved in compaction.
* YJIT: edit `yjit.md` and bring it up to date (#9068)Maxime Chevalier-Boisvert2023-11-292-27/+40
| | | Also make various minor edits to improve readability.
* Support RUNRUBY_USE_RR for rr debuggerPeter Zhu2023-11-291-0/+4
|
* debugger can never be nilPeter Zhu2023-11-291-1/+1
|
* [rubygems/rubygems] Avoid re-compiling static regexp in a loopSamuel Giddins2023-11-291-1/+1
| | | | | | Pathname::SEPARATOR_PAT is a constant and can safely be interpolated once, avoiding creating a new regexp object on every iteration https://github.com/rubygems/rubygems/commit/75d9c0f1e4
* [PRISM] Compile empty array as newarray 0Jemma Issroff2023-11-291-3/+9
| | | | | | | Prior to this commit, we were compiling an empty array as a duparray of [] which meant we were allocating a new value unnecessarily. With this commit, we emit a newarray with size 0 instead.
* [PRISM] Implement CallNodes with splat followed by argsJemma Issroff2023-11-292-5/+20
|
* [PRISM] Account for ImplicitRestNodeJemma Issroff2023-11-292-6/+7
| | | | | | Prism introduced a new ImplicitRestNode. This adds tests for the ImplicitRestNode cases, and changes one assert which is no longer accurate.
* [PRISM] Fix EnsureNode, pass depth to get localsJemma Issroff2023-11-292-39/+77
| | | | | | | This commit fixes a bug with locals in ensure nodes by setting the local tables correctly. It also changes accessing locals to look at local tables in parent scopes, and account for this correctly on depths of get or setlocals.
* GC guard catch_table_ary in iseq_set_exception_tablePeter Zhu2023-11-291-3/+7
| | | | | | The function iseq_set_exception_table allocates memory which can cause a GC compaction to run. Since catch_table_ary is not on the stack, it can be moved, which would make tptr incorrect.
* [prism] Add MacJapanese encodings to common.mkKevin Newton2023-11-291-64/+5
|
* [ruby/prism] Add MacJapanese encodingMatt Boldt2023-11-295-0/+62
| | | | | | | MacJapanese (also aliased as MacJapan) is a modified Shift_JIS encoding, but is implemented identically in Ruby https://github.com/ruby/prism/commit/9e0a097699
* [ruby/irb] Use gem repl_type_completor, remove type_completiontomoya ishida2023-11-2913-3372/+114
| | | | | | | implementation (https://github.com/ruby/irb/pull/772) https://github.com/ruby/irb/commit/a4868a5373
* [prism] Add pm_cp950 to make targetsKevin Newton2023-11-291-0/+5
|
* [ruby/prism] added CP950 encodingDhaval2023-11-295-0/+61
| | | | https://github.com/ruby/prism/commit/9c2d1cf4ba
* Assert that the left and right nodes are correctPeter Zhu2023-11-291-0/+9
|
* [ruby/prism] Fixed comment on pm_parser_numbered_parameters_setJemma Issroff2023-11-291-1/+1
| | | | https://github.com/ruby/prism/commit/ceae5727b8
* Add missing assertion in test_use_all_shapes_then_freezePeter Zhu2023-11-291-1/+2
|
* [ruby/prism] Convert start line to signed integersJean Boussier2023-11-2911-18/+74
| | | | | | | | | | | | | | | | | | | Ruby allows for 0 or negative line start, this is often used with `eval` calls to get a correct offset when prefixing a snippet. e.g. ```ruby caller = caller_locations(1, 1).first class_eval <<~RUBY, caller.path, caller.line - 2 # frozen_string_literal: true def some_method #{caller_provided_code_snippet} end RUBY ``` https://github.com/ruby/prism/commit/0d14ed1452
* [ruby/prism] Rename varint as varuintJean Boussier2023-11-295-58/+58
| | | | | | | Line numbers may be negative, so we need to introduce signed varint, so renaming unsigned ones first avoid confusion. https://github.com/ruby/prism/commit/90d862361e
* [Bug #17037] Improve accuracy of division near precision limitsNobuyoshi Nakada2023-11-292-2/+16
| | | | | When dividing near the precision limit of `double`, use Bignum division to get rid of rounding errors.
* [Bug #20025] Check if upper/lower before fallback to case-foldingNobuyoshi Nakada2023-11-292-2/+7
|
* [rubygems/rubygems] update Magnus library in Rust extension gem templateMichael Go2023-11-291-1/+1
| | | | https://github.com/rubygems/rubygems/commit/46f09800da
* [ruby/prism] Reject class/module defs in method params/rescue/ensure/elseTSUYUSATO Kitsune2023-11-296-71/+174
| | | | | | Fix https://github.com/ruby/prism/pull/1936 https://github.com/ruby/prism/commit/232e77a003
* Remove written-but-never-read `me->def.body.refined.owner`Alan Wu2023-11-293-30/+9
| | | | This also removes aliasing rule violations; the anonymous structs were distinct types from `rb_method_refined_t`.
* Do not call the inplicit convercion spec on older ruby versionsTema Bolshakov2023-11-291-10/+12
|
* Fix Array#rassoc specTema Bolshakov2023-11-291-3/+3
|