Peter Zhu
50564f8882
ASAN unpoison whole heap page after adding to size pool
2024-09-16 09:27:29 -04:00
Peter Zhu
46ba3752c2
Don't return inside of asan_unpoisoning_object
2024-09-16 09:27:29 -04:00
Peter Zhu
c5a782dfb0
Replace with asan_unpoisoning_object
2024-09-16 09:27:29 -04:00
David Rodríguez
f4f46af958
Complete spec
...
Co-authored-by: Vít Ondruch <vondruch@redhat.com>
2024-09-16 13:13:43 +00:00
David Rodríguez
2bfeedc082
[rubygems/rubygems] Simplify handling default gem caching
...
By the time `cached_gem` is called, default gem cache has already been
handled. So no need to try redownload it again, it's enough to check the
cache location directly.
https://github.com/rubygems/rubygems/commit/70e10236b6
2024-09-16 13:13:43 +00:00
Kevin Newton
d57bc870ac
[PRISM] Remove snapshot testing from Prism sync
2024-09-16 08:44:19 -04:00
David Rodríguez
fab01b15e9
[rubygems/rubygems] Remove temporary `.lock` files left around by gem installer
...
https://github.com/rubygems/rubygems/commit/edbb2e3475
2024-09-16 11:37:58 +00:00
David Rodríguez
7411caa103
[rubygems/rubygems] Make sure implementations of `Gem.open_file_with_flock` match
...
https://github.com/rubygems/rubygems/commit/174a8e5284
2024-09-16 11:37:58 +00:00
Yusuke Endoh
532af89e3b
Prevent warnings: the block passed to ... may be ignored
2024-09-15 10:06:11 +09:00
Yusuke Endoh
bc13ec735b
Prevent warnings: assigned but unused variable
2024-09-15 10:05:57 +09:00
Kevin Newton
ddbd644001
[ruby/prism] Stat file first to check directory
...
https://github.com/ruby/prism/commit/4ed7de537b
2024-09-13 19:30:57 +00:00
Kevin Newton
f85efc9748
[ruby/prism] Expose main_script in serialization API
...
https://github.com/ruby/prism/commit/0b527ca93f
2024-09-13 19:13:21 +00:00
Kevin Newton
77521afac1
[PRISM] Do not warn ambiguous ampersand when symbol literal
...
Fixes [Bug #20735 ]
2024-09-13 14:09:02 -04:00
Kevin Newton
9afc6a981d
[PRISM] Only parse shebang on main script
...
Fixes [Bug #20730 ]
2024-09-13 12:51:53 -04:00
Kevin Newton
d42d19059d
[PRISM] Allow case/when to be indented with no warning
...
Fixes [Bug #20731 ]
2024-09-13 12:51:36 -04:00
Kevin Newton
74f315c3f5
[PRISM] Turn off mismatched indentation warnings in eval
...
Fixes [Bug #20732 ]
2024-09-13 12:08:56 -04:00
Andrew Konchin
353997dd3e
[ruby/prism] Refactor and move common node flags count into a constant to reuse in templates
...
https://github.com/ruby/prism/commit/c20bf05ecc
2024-09-13 15:05:33 +00:00
Andrew Konchin
38f8f42e4f
[ruby/prism] Unify code style of flags generation in the nodes templates
...
https://github.com/ruby/prism/commit/dbb7e0a44e
2024-09-13 15:05:33 +00:00
Peter Zhu
c996f4091f
Ignore -Wdangling-pointer in rb_gc_set_stack_end
...
Fixes this compiler warning:
thread.c:4530:18: warning: storing the address of local variable ‘stack_end’ in ‘*stack_end_p’ [-Wdangling-pointer=]
4530 | *stack_end_p = &stack_end;
| ~~~~~~~~~~~~~^~~~~~~~~~~~
2024-09-13 10:06:57 -04:00
Kevin Newton
f0dcbbe9b9
[ruby/prism] Reverse-sync numbered reference range handling
...
https://github.com/ruby/prism/commit/a2f57ef6e3
2024-09-13 13:17:56 +00:00
David Rodríguez
8e2d971b9a
[rubygems/rubygems] Remove redundant arguments passed to `bundle` helper
...
They are used by default.
https://github.com/rubygems/rubygems/commit/0b7f7d879f
2024-09-13 12:42:26 +00:00
David Rodríguez
36b2fea691
[rubygems/rubygems] Remove `BUNDLER_IGNORE_DEFAULT_GEM`
...
As long as we use a high enough test version, the default version of
Bundler should never get in the middle.
https://github.com/rubygems/rubygems/commit/d63f0818aa
2024-09-13 12:42:26 +00:00
David Rodríguez
642528511e
[rubygems/rubygems] Make sure test does not load system version of Bundler
...
https://github.com/rubygems/rubygems/commit/d850ea1d95
2024-09-13 12:42:25 +00:00
Nobuyoshi Nakada
24493779b7
[Bug #20725 ] Should not call compare on `nil`-endpoint
...
It means unbounded, always inclusive of other ranges.
2024-09-13 18:23:28 +09:00
Yusuke Endoh
0f3dc2f958
Prevent warnings "the block passed to ... may be ignored"
2024-09-13 16:52:38 +09:00
Yusuke Endoh
b6c7226fac
Put typeprof.gemspec
2024-09-13 15:49:28 +09:00
Yusuke Endoh
f090d1fa59
Try to find bundled gem version from lib/*/version.rb
2024-09-13 15:49:28 +09:00
Yusuke Endoh
cf5b965897
Use the development version of typeprof in test-bundled-gems
2024-09-13 15:49:28 +09:00
aoki1980taichi
5894202365
typo otherBasis -> orthoBasis
...
The original function name in ao.c was orthoBasis.
I guess the function is generating orthonormal basis (https://en.wikipedia.org/wiki/Orthonormal_basis ).
2024-09-13 14:35:25 +09:00
Hiroshi SHIBATA
3146cbbbc4
Dont't warn reline called from irb, reline is already declared at irb gemspec
2024-09-13 13:19:31 +09:00
Yusuke Endoh
6ae05584bd
[ruby/net-http] Prevent warnings
...
```
/home/chkbuild/chkbuild/tmp/build/20240913T003003Z/ruby/test/net/http/utils.rb:32: warning: assigned but unused variable - e
/home/chkbuild/chkbuild/tmp/build/20240913T003003Z/ruby/test/net/http/utils.rb:61: warning: assigned but unused variable - version
/home/chkbuild/chkbuild/tmp/build/20240913T003003Z/ruby/test/net/http/utils.rb:124: warning: method redefined; discarding old query
```
https://github.com/ruby/net-http/commit/6f818346ce
2024-09-13 02:39:11 +00:00
Yusuke Endoh
5e3f1b6a6d
Prevent a warning: assigned but unused variable - exp_events
2024-09-13 11:34:20 +09:00
Yusuke Endoh
d1d0c50c9d
Prevent a warning: assigned but unused variable - t0
2024-09-13 11:32:51 +09:00
Nobuyoshi Nakada
d80a81c152
Constify `struct getpwnam_r_args::login`
2024-09-13 09:28:51 +09:00
Peter Zhu
0fc8422a05
Move checks for heap traversal to rb_gc_mark_weak
...
If we are during heap traversal, we don't want to call rb_gc_impl_mark_weak.
This commit moves that check from rb_gc_impl_mark_weak to rb_gc_mark_weak.
2024-09-12 16:03:28 -04:00
Peter Zhu
92b7b78e06
Assert that we are during GC when marking
2024-09-12 16:03:28 -04:00
Peter Zhu
661f64e876
Add variable objspace in RB_GC_MARK_OR_TRAVERSE
2024-09-12 16:03:28 -04:00
Peter Zhu
606db2c423
Move special const checks to rb_gc_mark_weak
2024-09-12 16:03:28 -04:00
Kevin Newton
2d495300e2
[PRISM] Fix up pm_compile_branch_condition issue with single insn iseqs
2024-09-12 15:49:44 -04:00
Burdette Lamar
0960c8aacd
[DOC] Tweaks for Array#fetch_values ( #11603 )
2024-09-12 15:19:20 -04:00
Burdette Lamar
ce5fd35b35
[DOC] Tweaks for Array#fetch ( #11602 )
2024-09-12 15:18:56 -04:00
Kevin Newton
05e02783a5
[PRISM] Ignore test_parse_directory if error is nil
2024-09-12 15:07:04 -04:00
Kevin Newton
9c461cd125
[PRISM] Check error type for parsing directory
2024-09-12 13:43:04 -04:00
Kevin Newton
38ba15beed
[ruby/prism] Check errno for parsing directory
...
https://github.com/ruby/prism/commit/d68ea29d04
2024-09-12 13:43:04 -04:00
Kevin Newton
ca61729fa7
Fix opening multibyte character filepath on Windows
2024-09-12 13:43:04 -04:00
Kevin Newton
d4af38ec9d
Fix FILE_SHARE_* permissions for Windows in read_entire_file
2024-09-12 13:43:04 -04:00
Kevin Newton
d5232fd7ae
Temporarily exclude some TestRubyOptions test for parse.y
...
The description has been updated when running with Prism to have
+PRISM, which means that tests asserting against the description
when running with --parser=parse.y will be incorrect if the
subprocess ends up using Prism. We need to fix these tests, but
we are currently disabling them in order to get this over the line.
2024-09-12 13:43:04 -04:00
Kevin Newton
f59b908e47
[PRISM] Omit some TestAST tests when Prism is enabled
2024-09-12 13:43:04 -04:00
Kevin Newton
d4ab1e4482
[PRISM] Move compile scope node to its own function
2024-09-12 13:43:04 -04:00
Kevin Newton
c4b43692db
[PRISM] Move case node compilation into its own function
2024-09-12 13:43:04 -04:00