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

80799 Коммитов

Автор SHA1 Сообщение Дата
Jemma Issroff 62baf723b6 [PRISM] Fix popped for AssocSplatNode 2023-11-02 17:46:43 -03:00
Jemma Issroff 8b4b3b1d38 [PRISM] Fix popped for MatchWriteNode 2023-11-02 17:46:43 -03:00
Jemma Issroff 0359f9ca67 [PRISM] Fix popped for ConstantPathOperatorWriteNode 2023-11-02 17:46:43 -03:00
Jemma Issroff ddf12e8a3b [PRISM] Fix popped for ConstantPathOrWriteNode 2023-11-02 17:46:43 -03:00
Jemma Issroff ca24136da6 [PRISM] Fix popped on DefinedNode 2023-11-02 17:46:43 -03:00
Jemma Issroff 698654ca84 [PRISM] Fixed popped for ConstantPathAndWriteNode 2023-11-02 17:46:43 -03:00
Jemma Issroff 00407894b5 [PRISM] Fix test infrastucture, comment out failing tests
Unfortunately, 84dfa0fa5e introduced
a bug where we were no longer testing the "popped" case because the
"; 1" meant to be appended to the source was no longer functioning
as intended.

This commit re-introduces the popped case, and comments out all
now failing tests.
2023-11-02 17:46:43 -03:00
Jean Boussier 0cb1fc3850 Fix vm_getivar to handle module with TOO_COMPLEX shape 2023-11-02 19:57:14 +01:00
Peter Zhu 4c3cc25ea2 Use shape capacity transition for class ivars
This commit changes class ivars to respect the capacity transition in
shapes rather than growing the capacity independently.
2023-11-02 13:42:11 -04:00
Peter Zhu 38ba040d8b Make every initial size pool shape a root shape
This commit makes every initial size pool shape a root shape and assigns
it a capacity of 0.
2023-11-02 13:42:11 -04:00
Takashi Kokubun ad4f973ecd
YJIT: Always define method codegen table at boot (#8807) 2023-11-02 09:15:48 -07:00
Peter Zhu 5f130e2111 Fix write barrier in rb_copy_generic_ivar 2023-11-02 09:23:14 -04:00
Peter Zhu 944e0ae698 Remove duplicated code in generic_ivar_set
There is a duplicated check for the object is too complex.
2023-11-02 08:46:54 -04:00
Jean Boussier 33795931a0 Better handle running out of shapes in remove_shape_recursive 2023-11-02 12:00:42 +01:00
Hiroshi SHIBATA 42f368ead5
Surpressing additional message if it missed to detect gem name 2023-11-02 15:48:34 +09:00
Hiroshi SHIBATA e10f7c9d5b
Fix to detect gem name logic. It's mistake to migrate bundled_gems.rb from rubygems_integration.rb
https://github.com/ioquatix/bake/pull/15#issuecomment-1777985097
2023-11-02 15:48:34 +09:00
Lars Kanis 7523ede7ba Windows: Fix description of runtimes
`mswin` platform links to `vcruntimeXXX.dll` but `mingw-ucrt` doesn't.
2023-11-02 15:16:41 +09:00
Hiroshi SHIBATA 7149543f24
Added TestRipper namespace to test_call_colon2 2023-11-02 15:13:40 +09:00
lukeg 1925c6d555
test/ripper: nest helper classes under TestRipper module
Generic names like Node and NodeList should be namespaced properly.
2023-11-02 15:10:50 +09:00
Nobuyoshi Nakada 4218e913d8
Fix functions for name tables as `st_foreach_callback_func` 2023-11-02 15:00:39 +09:00
Hiroshi SHIBATA e34e8b93f8
Support Pathname object for warning feature of bundled gems 2023-11-02 13:32:53 +09:00
Kevin Newton d9cb75b741 List prism as a default gem 2023-11-01 22:16:33 -04:00
Nobuyoshi Nakada ee90a7f981
[DOC] Update the document for `FilePathStringValue` 2023-11-02 10:31:13 +09:00
Nobuyoshi Nakada 45eee0cd94
Remove duplicate to_path conversion
`rb_file_open_str` calls `FilePathValue`, and the converted result is
not used in this function.
2023-11-02 10:06:03 +09:00
Mau Magnaguagno d3ea9070bb
YJIT: skip to_a in format_number (#8815)
String#chars returns an array instead of an enumerator since Ruby 2.0.
2023-11-01 18:40:40 +00:00
Peter Zhu 909afcb4fc Fix SystemStackError in test_run_out_of_shape_for_class_cvar 2023-11-01 13:47:26 -04:00
Kevin Newton 52e127280b [ruby/prism] Disallow assigning to numbered parameters in regexp
https://github.com/ruby/prism/commit/ec419422f8
2023-11-01 17:40:16 +00:00
Peter Zhu bdf8ce807f Fix remove_class_variable for too complex classes 2023-11-01 13:13:51 -04:00
Kevin Newton 90b21b864d [prism] Updates for sync 2023-11-01 13:10:29 -04:00
Kevin Newton 3551abab06 [ruby/prism] Fix up lint
https://github.com/ruby/prism/commit/77d4056766
2023-11-01 13:10:29 -04:00
Kevin Newton 690f3bbf5d [ruby/prism] Last remaining missing C comments
https://github.com/ruby/prism/commit/e327449db6
2023-11-01 13:10:29 -04:00
Kevin Newton e745af2f0e [ruby/prism] Comment format for prism.c
https://github.com/ruby/prism/commit/83f737ce17
2023-11-01 13:10:29 -04:00
Kevin Newton 51079a89af [ruby/prism] More documentation for ast.h
https://github.com/ruby/prism/commit/84e22c5581
2023-11-01 13:10:29 -04:00
Kevin Newton 17923cc876 [ruby/prism] Even more C file documentation
https://github.com/ruby/prism/commit/9c648ce615
2023-11-01 13:10:29 -04:00
Kevin Newton 6b3b530cc1 [ruby/prism] Documentation for nodes
https://github.com/ruby/prism/commit/69323d3df4
2023-11-01 13:10:29 -04:00
Kevin Newton 171788c703 [ruby/prism] Remove unnecessary PM_EMPTY_ARGUMENTS
https://github.com/ruby/prism/commit/271f3bf628
2023-11-01 13:10:29 -04:00
Kevin Newton b12c795bdc [ruby/prism] Remove unnecessary PM_EMPTY_NODE_LIST
https://github.com/ruby/prism/commit/857f72e1f4
2023-11-01 13:10:29 -04:00
Kevin Newton f791db4433 [ruby/prism] Documentation for defines, version, and prettyprint
https://github.com/ruby/prism/commit/e2e29bef2d
2023-11-01 13:10:29 -04:00
Kevin Newton 1de05631b5 [ruby/prism] Documentation for diagnostics and regexp
https://github.com/ruby/prism/commit/16e0579044
2023-11-01 13:10:29 -04:00
Kevin Newton affa6714bc [ruby/prism] Documentation for constant pool
https://github.com/ruby/prism/commit/76af64eb21
2023-11-01 13:10:29 -04:00
Kevin Newton 87c6fb8548 [ruby/prism] Documentation for the encodings
https://github.com/ruby/prism/commit/52a0d80a15
2023-11-01 13:10:29 -04:00
Kevin Newton 493439c9ce [ruby/prism] Documentation for pm_strncasecmp
https://github.com/ruby/prism/commit/26934263b7
2023-11-01 13:10:29 -04:00
Kevin Newton e8a72b516f [ruby/prism] Documentation for more C functions
https://github.com/ruby/prism/commit/88336e7d9f
2023-11-01 13:10:29 -04:00
Kevin Newton 86bfd6060d [ruby/prism] Documentation for pm_newline_list_t
https://github.com/ruby/prism/commit/97b3cc0af8
2023-11-01 13:10:29 -04:00
Kevin Newton 8302f9986c [ruby/prism] Documentation for pm_string_t
https://github.com/ruby/prism/commit/ff1d2ec579
2023-11-01 13:10:29 -04:00
Kevin Newton b67994d6bf [ruby/prism] Even more C documentation
https://github.com/ruby/prism/commit/bec5ca37a0
2023-11-01 13:10:29 -04:00
Kevin Newton 7c8d939680 [ruby/prism] Start better documenting C API
https://github.com/ruby/prism/commit/2b6e661bbc
2023-11-01 13:10:29 -04:00
Kevin Newton 4490979615 [ruby/prism] Finish Ruby documentation
https://github.com/ruby/prism/commit/dfdcc98a3c
2023-11-01 13:10:29 -04:00
Kevin Newton 79034fbd50 [ruby/prism] More Ruby docs
https://github.com/ruby/prism/commit/ca9a660f52
2023-11-01 13:10:29 -04:00
Kevin Newton 953138698e [ruby/prism] Docs for node.rb and parse_result.rb
https://github.com/ruby/prism/commit/085da4feb9
2023-11-01 13:10:29 -04:00