Граф коммитов

83079 Коммитов

Автор SHA1 Сообщение Дата
Aaron Patterson 4778b0eeda Fix kwarg ordering
Required keyword arguments need to come first.

Fixes: https://github.com/ruby/prism/issues/2158

Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-19 12:32:20 -08:00
Takashi Kokubun e0f7cee8c5
YJIT: Avoid doubly splitting Opnd::Value on CSel (#9617)
YJIT: Avoid doubly splitting Opnd::Value
2024-01-19 11:51:35 -08:00
Peter Zhu 740f0b52e0 [PRISM] Fix typo with pm_scope_node_destroy
We need to run the pm_scope_node_destroy after compiling the iseq.
2024-01-19 14:09:32 -05:00
Aaron Patterson efe4b8ac0f Fix ensure code when running break in a while loop
We need to run ensure code when breaking from a while loop

Co-authored-by: John Hawthorn <jhawthorn@github.com>
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-19 09:35:36 -08:00
Aaron Patterson 200d3cc14d add assert on SP 2024-01-19 09:35:36 -08:00
Kevin Newton 400341aee9
[PRISM] Sync to latest 2024-01-19 11:22:40 -05:00
Peter Zhu 5a5cf23d02 [PRISM] Fix indentation for PM_SCOPE_NODE [ci skip] 2024-01-19 11:18:47 -05:00
git ba4b00d31c * remove trailing spaces. [ci skip] 2024-01-19 16:12:34 +00:00
Kevin Newton da521fc92c [ruby/prism] Parsing rules document
https://github.com/ruby/prism/commit/57a9575543
2024-01-19 16:12:25 +00:00
Takashi Kokubun 3c9290173a
YJIT: Optimize defined?(yield) (#9599)
* YJIT: Optimize defined?(yield)

* Remove an irrelevant comment

* s/get/gen/
2024-01-19 11:00:46 -05:00
Matthew Healy a58e091686 [ruby/prism] Extract identifier lexing documentation to separate file
https://github.com/ruby/prism/commit/c9df17e3c0
2024-01-19 15:43:29 +00:00
Matthew Healy 9c06297cbb [ruby/prism] Remove non-ASCII examples from ReadNode fields documentation
This is due to a constraint, enforced in `templates/template.rb`,
relating to non-UTF-8 locales prohibiting non-ASCII characters in C
source files.

https://github.com/ruby/prism/commit/74e9a890be
2024-01-19 15:43:28 +00:00
Matthew Healy 57c138c5f4 [ruby/prism] Document ConstantReadNode fields
https://github.com/ruby/prism/commit/a1623f6451
2024-01-19 15:43:28 +00:00
Matthew Healy b7d37e274a [ruby/prism] Document LocalVariableReadNode fields
https://github.com/ruby/prism/commit/5e9afd3729
2024-01-19 15:43:27 +00:00
Matthew Healy 1c5e54069f [ruby/prism] Document NumberedReferenceReadNode fields
https://github.com/ruby/prism/commit/c3148b4519
2024-01-19 15:43:27 +00:00
Matthew Healy 3fa6dbf304 [ruby/prism] Document BackReferencedReadNode fields
https://github.com/ruby/prism/commit/99a5660623
2024-01-19 15:43:26 +00:00
Matthew Healy 512be6cee1 [ruby/prism] Document GlobalVariableReadNode fields
https://github.com/ruby/prism/commit/5d092e6389
2024-01-19 15:43:26 +00:00
Matthew Healy 9031fd08dc [ruby/prism] Document ClassVariableReadNode fields
https://github.com/ruby/prism/commit/23ed81dd15
2024-01-19 15:43:26 +00:00
Matthew Healy 88810f7109 [ruby/prism] Document InstanceVariableReadNode fields
https://github.com/ruby/prism/commit/c0747103b0
2024-01-19 15:43:25 +00:00
Peter Zhu d0b774cfb8 Remove null checks for xfree
xfree can handle null values, so we don't need to check it.
2024-01-19 10:25:02 -05:00
Kevin Newton d29cd972f7 [ruby/prism] Use inttypes for more accurate printf formatting
https://github.com/ruby/prism/commit/2a22b9b72f
2024-01-19 14:49:09 +00:00
git 7b0f6d6d94 Update bundled gems list at c46d23cde7 [ci skip] 2024-01-19 11:02:59 +00:00
Hiroshi SHIBATA c46d23cde7 Added dependencies rinda and drb 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA fa5094e183 Stop sync rinda repo 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA ce73fbd717 Document about rinda at Ruby 3.4 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA 411cda2d5c Extract rinda 2024-01-19 20:02:19 +09:00
git 0f315216bb Update bundled gems list as of 2024-01-19 2024-01-19 08:57:54 +00:00
Hiroshi SHIBATA 31a5d4a0cd Skip test task for resolv-replace 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA 36095ed3db Removed sync task for resolv-replace 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA 6c098d145a Document about resolv-replace at Ruby 3.4 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA 99c2c703da Extract resolv-replace 2024-01-19 17:44:58 +09:00
git 9ac316bb48 Update bundled gems list at 11ec59c92b [ci skip] 2024-01-19 07:28:30 +00:00
Hiroshi SHIBATA 11ec59c92b Removed sync task for abbrev 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA e28bdff941 Document about abbrev at Ruby 3.4 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA f4670b46c4 spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/abbrev/**/*.rb 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA b4ee5266f1 Extract abbrev as bundled gems 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA d3898e9752
Removed sync task for observer 2024-01-19 15:56:55 +09:00
git e8cb9e1328 Update bundled gems list as of 2024-01-18 2024-01-19 06:35:57 +00:00
Hiroshi SHIBATA fb5722c09a Document about observer at Ruby 3.4 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA 8b551b0e7a spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/observer/**/*.rb 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA 176a442883 Extract observer as bundled gems 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA 68b403c45a
Fixed inconsistent library name 2024-01-19 14:01:30 +09:00
Hiroshi SHIBATA 385a1b15ef
Fixed upstream URL at bundled gems 2024-01-19 14:00:08 +09:00
Hiroshi SHIBATA 54552b89e7
Revert "[rubygems/rubygems] Fix `require` of a default gem when unresolved gems depend on it"
This reverts commit f1f5f22d22.
2024-01-19 12:12:33 +09:00
Hiroshi SHIBATA 04cf66765a
Revert "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
This reverts commit db44088c2a.

  https://github.com/ruby/ruby/actions/runs/7578672002/job/20641640821
  https://github.com/ruby/ruby/actions/runs/7578672002/job/20641641212
  https://github.com/ruby/ruby/actions/runs/7578672002/job/20641642031
2024-01-19 11:54:17 +09:00
dependabot[bot] 7265a5be01 Bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...694cdabd8b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 18:44:42 -08:00
David Rodríguez a8fa28ab80
Bump uri version used in development 2024-01-19 11:29:55 +09:00
David Rodríguez db44088c2a [rubygems/rubygems] Fix activation conflicts when circularly requiring a gem
If a gem is required circular, and there are unresolved specs depending
on it, we may end up in an activation conflict.

The solution is to not try to activate unresolved gems when requiring a
default gem, regardless of it having already been activated or not.

https://github.com/rubygems/rubygems/commit/3b2b8f4e3e
2024-01-19 11:28:11 +09:00
David Rodríguez f1f5f22d22 [rubygems/rubygems] Fix `require` of a default gem when unresolved gems depend on it
The following conditions must be met:

* A default gem is required.
* A previous require left some gems unresolved, and those dependencies
  themselves depend on the default gem.

In this case, rubygems require will first activate the default version
of the gem, then try to activate another unresolved version of the
default gem that conflicts with the first activation.

The solution is, if we are in the middle of requiring a default gem,
skip this step, because we have already activated it successfully.

https://github.com/rubygems/rubygems/commit/8cd5608db5

Co-authored-by: Stan Hu <stanhu@gmail.com>
2024-01-19 11:28:11 +09:00
David Rodríguez 8044e57907 [rubygems/rubygems] Add a comment to explain default gem activation
https://github.com/rubygems/rubygems/commit/291128268f
2024-01-19 11:28:10 +09:00