aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix ext/socket/constdefs.c dependency [ci skip]Nobuyoshi Nakada2023-12-171-1/+1
|
* Add `undocumnted` target [ci skip]Nobuyoshi Nakada2023-12-171-0/+6
|
* Adjust rubygems styleHiroshi SHIBATA2023-12-171-1/+1
|
* Restore tracked_files for ruby core repoHiroshi SHIBATA2023-12-171-1/+7
|
* Stir the hash value more with encoding indexNobuyoshi Nakada2023-12-172-3/+6
|
* Adjust styles [ci skip]Nobuyoshi Nakada2023-12-173-8/+15
|
* Use regex instead of hard coded pathsHiroshi SHIBATA2023-12-161-1/+1
|
* We don't use tracked_files in before(:suite). It breaks with release package.Hiroshi SHIBATA2023-12-161-1/+1
|
* Added simple test scriptHiroshi SHIBATA2023-12-162-19/+32
|
* Avoid warning when requiring bigdecimal/util when bigdecimal is in gemfileSamuel Giddins2023-12-161-3/+7
|
* Added test for sub-feature like bigdecimal/utilHiroshi SHIBATA2023-12-162-0/+15
|
* [Bug #20068] Encoding does not matter to empty stringsNobuyoshi Nakada2023-12-162-1/+2
|
* Use minimum arguments for BootsnapHiroshi SHIBATA2023-12-161-10/+1
|
* Update default gems list at 582862754fbbcc521e3d660eba6bfb [ci skip]git2023-12-161-2/+3
|
* [ruby/io-console] Bump up v0.7.1Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/io-console/commit/8ac766d870
* [ruby/readline] Bump up v0.0.4Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/readline/commit/7dbc5bd8d9
* [ruby/readline] Fix readline-ext gem loading in non Unix-like environmentshogelog2023-12-161-1/+1
| | | | https://github.com/ruby/readline/commit/6e1e5d0eb8
* [ruby/reline] Bump version to 0.4.1ima1zumi2023-12-161-1/+1
| | | | | | (https://github.com/ruby/reline/pull/612) https://github.com/ruby/reline/commit/8937279e0f
* Update default gems list at 4fd3c85acdfa942d88d8e9e2ccd17b [ci skip]git2023-12-161-0/+1
|
* [ruby/ipaddr] Bump up v1.2.6Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/ipaddr/commit/247459faa5
* Update default gems list at 8936bb74c66e68f44d2a18564ea0b0 [ci skip]git2023-12-161-0/+2
|
* [ruby/abbrev] Bump up v0.1.2Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/abbrev/commit/b362e8e3b9
* [ruby/syslog] Bump up v0.1.2Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/syslog/commit/f7b29e2199
* Update default gems list at 2b3fc0407a9b9527ae5bf806994366 [ci skip]git2023-12-161-1/+1
|
* [ruby/securerandom] Bump up v0.3.1Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/securerandom/commit/890d659970
* Update default gems list at 6a79e53823e328281b9e9eee53cd14 [ci skip]git2023-12-161-2/+2
|
* Rollback to released version numbers of stringio and strscanHiroshi SHIBATA2023-12-162-2/+2
|
* Update default gems list at 1a244730a9fada79fbfc1b2f478c2f [ci skip]git2023-12-161-1/+1
|
* [ruby/open3] Bump up v0.2.1Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/open3/commit/b890922205
* Update default gems list at 6c7c4ac407c4eb2f70cd599c78808c [ci skip]git2023-12-161-1/+1
|
* [ruby/rdoc] Bump up v6.6.2Hiroshi SHIBATA2023-12-161-1/+1
| | | | https://github.com/ruby/rdoc/commit/895f1affc0
* Revert all of commits after Prism 0.19.0 releaseHiroshi SHIBATA2023-12-1641-141/+98
| | | | We should bundle released version of Prism for Ruby 3.3.0
* Update default gems list at 711e85674e7c98909f5a43b7852ddc [ci skip]git2023-12-161-2/+2
|
* Pin versions that are RubyGems 2.5.1 and Bundler 2.5.1Hiroshi SHIBATA2023-12-162-2/+2
|
* Partly pick commit from https://github.com/rubygems/rubygems/pull/7285Samuel Giddins2023-12-161-0/+1
| | | | | | Refactor vendoring to allow validating vendoring is reproducible Helps ensure that unsuspecting diffs to the vendored code arent accidentally introduced
* Fix Sinatra warning during specsDavid Rodríguez2023-12-161-2/+2
| | | | | | | | | | | | Some specs now print the following warning: ``` /path/to/bundler/tmp/1/gems/base/ruby/3.2.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:902: warning: constant Tilt::Cache is deprecated ``` Updating sinatra to latest & greatest fixes it. Update other deps too since at it.
* [rubygems/rubygems] Fix Bundler daily CIDavid Rodríguez2023-12-161-1/+1
| | | | | | | | | A default Bundler copy with vendored net-http is causing a Bundler spec to end up loading that copy instead of the copy of Bundler under test. This is because of vcr, but we don't really need vcr in the command that's failing, so I avoided loading it. https://github.com/rubygems/rubygems/commit/304ab6e1b9
* [rubygems/rubygems] More improves to default gem home selection for installationDavid Rodríguez2023-12-161-16/+15
| | | | https://github.com/rubygems/rubygems/commit/966daf7d42
* [rubygems/rubygems] Improve command suggestion when gems are missingDavid Rodríguez2023-12-161-1/+3
| | | | | | | | | | | | | | Previous attempt to use a full path when the running version is different than the one that would be activated by default are different was not correct. This is because if this error happens in a `bundle exec` context, the `Gem.loaded_specs` is cleared because we're in an exec'd process, so will be always using a full path in these cases. This alternative approach should do what I was expecting. https://github.com/rubygems/rubygems/commit/e0bb8bf51b
* [rubygems/rubygems] Fix Ruby DSL no longer working as expectedDavid Rodríguez2023-12-162-1/+35
| | | | | | https://github.com/rubygems/rubygems/commit/f6258e5679 Co-authored-by: AndrewSwerlick <andrew.swerlick@gmail.com>
* [PRISM] Fix incorrect instructions for `default_proc=`eileencodes2023-12-151-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is kind of specific and was found via debugging ruby/prism#2061 but does not actually fix that issue. The change here checks for `!popped` for the additional instructions that are normally added for nodes with the `attribute_write` flag. I also removed the extra catch table by deleting the `ISEQ_COMPILE_DATA(iseq)->catch_except_p = true;` line. I'm...not entirely sure why it was added but it doesn't match the upstream compiler [code](https://github.com/ruby/ruby/blob/92b10f5be7453aceb5863e46ac775a4ddbf83b97/compile.c#L887-L892). The changes here unfortunately don't improve the test failures mentioned in the linked issue so we still have other issues with instructions for hashes. Instructions before: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(34,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 32)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 33)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 34)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave == disasm: #<ISeq:block in <compiled>@<compiled>:33 (33,19)-(33,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 33)[LiBc] 0002 leave [Br] true "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:31 (31,0)-(33,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 31)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 putnil ( 32)[Li] 0012 getlocal h@0, 0 0015 putspecialobject 1 0017 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0020 setn 2 0022 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0025 pop 0026 pop 0027 getlocal h@0, 0 ( 33)[Li] 0030 putobject :nope 0032 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0035 leave ( 31) == disasm: #<ISeq:block in <compiled>@<compiled>:32 (32,17)-(32,32)> == catch table | catch type: redo st: 0000 ed: 0002 sp: 0000 cont: 0000 | catch type: next st: 0000 ed: 0002 sp: 0000 cont: 0002 |------------------------------------------------------------------------ local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 32)[LiBc] 0002 leave [Br] ``` Instructions after: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(34,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 32)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 33)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 34)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave == disasm: #<ISeq:block in <compiled>@<compiled>:33 (33,19)-(33,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 33)[LiBc] 0002 leave [Br] "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:31 (31,0)-(33,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 31)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 32)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 33)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave ( 31) == disasm: #<ISeq:block in <compiled>@<compiled>:32 (32,17)-(32,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 32)[LiBc] 0002 leave [Br] ```
* [PRISM] Compile CallTargetNodeMatt Valentine-House2023-12-152-1/+43
|
* [PRISM] Compile IndexTargetNodeMatt Valentine-House2023-12-152-9/+57
|
* [ruby/prism] Fix majority of RBS type mismatchesGopal Patel2023-12-151-5/+5
| | | | https://github.com/ruby/prism/commit/62cc50e41b
* [ruby/prism] String literal hash keys should be frozeneileencodes2023-12-153-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | String literal hash keys can't be mutated by the user so we should mark them as frozen. We were seeing instructions for hashes with string literal keys using two `putstring` instructions when it should be a `putobject` and `putstring`. Code example: ```ruby { "a" => "b" } ``` Instructions before: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,14)> 0000 putobject "a" ( 2)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,14)> 0000 putstring "a" ( 1)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave ``` Instructions after: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,14)> 0000 putobject "a" ( 2)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,14)> 0000 putobject "a" ( 1)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave ``` https://github.com/ruby/prism/commit/b14ae55385
* [DOC] NEWS entries for C APIsKoichi Sasada2023-12-161-7/+41
|
* [rubygems/rubygems] Let the guards have some space to breatheMartin Emde2023-12-151-2/+8
| | | | https://github.com/rubygems/rubygems/commit/73f1609715
* [rubygems/rubygems] Use a mutex around Checksum::Store @store accessMartin Emde2023-12-151-21/+35
| | | | | | | Not wrapping to_lock since access to it is single threaded and read-only at the time of writing the lockfile. https://github.com/rubygems/rubygems/commit/3b53aa1b12
* [rubygems/rubygems] Remove test-only & unused methods from Checksum::StoreMartin Emde2023-12-152-21/+13
| | | | https://github.com/rubygems/rubygems/commit/79636dec12
* [ruby/prism] Finish keyword hash node flag refactor by renaming flagUfuk Kayserilioglu2023-12-1531-72/+66
| | | | https://github.com/ruby/prism/commit/7f812389f8