Nobuyoshi Nakada
04c86a63cd
[ruby/date] Update zonetab.h at 2024-06-26
...
https://github.com/ruby/date/commit/ef5a0dac5b
2024-06-26 10:01:21 +00:00
Hiroshi SHIBATA
b4503d7964
Mentioned new mswin tasks related with vcpkg
2024-06-26 14:45:24 +09:00
Hiroshi SHIBATA
514aa80563
Added git for requirements of Windows build
2024-06-26 14:45:24 +09:00
git
f63b54caa0
Update bundled gems list as of 2024-06-26
2024-06-26 04:55:26 +00:00
Soutaro Matsumoto
da01974e7e
Test rbs-gem with unreleased version ( #11060 )
...
Use rbs#1912
2024-06-26 04:42:26 +00:00
Hiroshi SHIBATA
d70057d4b5
We couldn't use nmake before configure.bat
2024-06-26 12:31:02 +09:00
Hiroshi SHIBATA
797e1dfb83
Link dll files on install-vcpkg tasks
2024-06-26 12:31:02 +09:00
yui-knk
4fb7e1b6d0
Change `enum rb_parser_ary_data_type` default value to 1 for easy debug
...
We face `[BUG] unexpected rb_parser_ary_data_type (0) for script lines`
on master branch recently.
This commit changes `enum rb_parser_ary_data_type` to start with `1`
and `0` to be invalid then it makes clear `rb_parser_ary_data_type (0)`
is not intentional.
2024-06-26 07:48:43 +09:00
Andrew Konchin
a47c152ab5
[ruby/prism] Fix documentation comment in generated with templates files
...
Fix warning
```
/******************************************************************************/
^
warning: [dangling-doc-comments] documentation comment is not attached to any declaration
```
in Nodes.java and AbstractNodeVisitor.java files. /** is treated as a starting of a javadoc comment.
https://github.com/ruby/prism/commit/c83d7844b8
2024-06-25 20:15:25 +00:00
Thomas Marshall
b88ac94eec
[rubygems/rubygems] Only validate resolution info in Bundler
...
This commit switches out the full gemspec validation for a partial one
which only performs resolution related checks. This will allow gem
authors to run `bundle` commands immediately after creating a new gem
with Bundler, rather than having to fix metadata validation issues in
the default gemspec.
https://github.com/rubygems/rubygems/commit/d5aa9cae9d
2024-06-25 14:32:20 +00:00
Thomas Marshall
39951293b4
[rubygems/rubygems] Add Specification#validate_for_resolution
...
This method validates only what is required for resolution, skipping any
irrelevant metadata validation. This will be used by Bundler instead of
doing a full validation, allowing gem authors to use `bundle` commands
immediately in newly created gems without first having to fix invalid
metafata fields in the default gemspec.
https://github.com/rubygems/rubygems/commit/da7704cfc0
2024-06-25 14:32:19 +00:00
Kevin Newton
9f420e2ba5
[PRISM] Modules should also emit the CLASS event
2024-06-25 09:33:39 -04:00
Josef Šimánek
bfb4272d8a
[rubygems/rubygems] Regenerate bundler docs for June 2024.
...
https://github.com/rubygems/rubygems/commit/72103ca1e8
2024-06-25 12:55:56 +00:00
Nobuyoshi Nakada
65b991bc85
Allow ambiguosity of `return` line
2024-06-25 16:30:14 +09:00
Hiroshi SHIBATA
2f76faaf51
Added tasks related vcpkg
2024-06-25 16:14:45 +09:00
git
501b22aade
Update bundled gems list as of 2024-06-25
2024-06-25 06:59:43 +00:00
Nobuyoshi Nakada
3b4ff810d2
Move to test/.excludes-prism
2024-06-25 12:42:16 +09:00
Nobuyoshi Nakada
a7f33c99c6
Pending `EVENT_RETURN` settracefunc tests with Prism
2024-06-25 12:37:50 +09:00
Nobuyoshi Nakada
bed34b3a52
Show the detail info in the first line
2024-06-25 11:50:03 +09:00
Nobuyoshi Nakada
250fc1223c
[Bug #20457 ] Do not remove final `return` node
...
This was an optimization for versions prior to 1.9 that traverse the
AST at runtime.
2024-06-25 11:07:58 +09:00
Nobuyoshi Nakada
22f98bb7ca
Parenthesize `nd_fl_newline` macro expressions
2024-06-25 11:07:58 +09:00
tomoya ishida
691d85d342
[ruby/reline] Rerender and enter raw mode again by SIGCONT
...
(https://github.com/ruby/reline/pull/727 )
https://github.com/ruby/reline/commit/be45660c83
2024-06-25 00:55:07 +00:00
Jeremy Evans
ae0c7faa79
Handle hash and splat nodes in defined?
...
This supports the nodes in both in the parse.y and prism compilers.
Fixes [Bug #20043 ]
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-06-24 11:32:58 -07:00
Nobuyoshi Nakada
e428ee7bbe
[ruby/io-console] Use locale insensitive casecmp
...
https://github.com/ruby/io-console/commit/4b2e876dd7
2024-06-24 15:38:11 +00:00
Nobuyoshi Nakada
f4f8aa0f89
[ruby/io-console] Use `strcasecmp`
...
https://github.com/ruby/io-console/commit/f8ec8a0617
2024-06-24 15:38:10 +00:00
Nobuyoshi Nakada
25c2aa0a1c
[ruby/io-console] Use gperf 3.1 to generate ANSI-C code
...
https://github.com/ruby/io-console/commit/3798aae42d
2024-06-24 15:38:10 +00:00
Nobuyoshi Nakada
865a2027a1
[ruby/date] Use locale insensitive casecmp
...
https://github.com/ruby/date/commit/cfbd6a6b13
2024-06-24 15:36:56 +00:00
Nobuyoshi Nakada
7aafd3ed0e
[ruby/date] Use `strncasecmp`
...
https://github.com/ruby/date/commit/5974ac9c7e
2024-06-24 15:36:56 +00:00
Nobuyoshi Nakada
12e66f11e5
[ruby/date] Use gperf 3.1 to generate ANSI-C code
...
https://github.com/ruby/date/commit/5d67437b1f
2024-06-24 15:36:55 +00:00
Nobuyoshi Nakada
1213623e5c
Use gperf 3.1 to generate ANSI-C code
2024-06-24 23:43:45 +09:00
Jean Boussier
95ffcd3f9f
Fix `--debug-frozen-string-literal` to not apply `--disable-frozen-string-literal`
...
[Feature #20205 ]
This was an undesired side effect. Now that this value is a triplet, we can't
assume it's disabled by default.
2024-06-24 12:43:39 +02:00
Yusuke Endoh
9cfc1362aa
Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt
2024-06-24 18:14:34 +09:00
Nobuyoshi Nakada
65d3eacc80
No longer needs `sigsetjmp`
...
Since signal handlers just set flag and return now, `sigsetjmp` and
`siglongjmp` will not be needed.
2024-06-24 17:38:01 +09:00
Koichi Sasada
92f2cf1bf9
With ASAN `EC_REPUSH_TAG` doesn't work
...
With ASAN, `EC_TMPPOP_TAG`/`EC_REPUSH_TAG` doesn't work
so rewrite it without them. They are used for the performance,
but here calling stacked `END{}` and not so performance critical.
2024-06-24 16:50:09 +09:00
Naoto Ono
afd42e4db7
Use $GITHUB_PATH
2024-06-24 13:25:30 +09:00
Naoto Ono
a22448df9d
Integrate Launchable into mingw
2024-06-24 13:25:30 +09:00
Yusuke Endoh
96b45e61ca
Introduce retry to the setup of test files with TestFile#test_stat
...
GitHub Actions macos-arm-oss is often too slow and does not timestamp as
expected.
2024-06-24 13:18:21 +09:00
Yusuke Endoh
ace17ba3cd
Extend the timeout of Fiddle::TestFunction#test_nogvl_poll
2024-06-24 13:11:45 +09:00
Yusuke Endoh
3a323c6b12
Extend the timeout of TestVMDump#test_darwin_invalid_call, etc.
2024-06-24 11:54:10 +09:00
Hiroshi SHIBATA
2b5ddcee56
Removed obsoleted workaround for OpenSSL
2024-06-24 10:48:15 +09:00
Hiroshi SHIBATA
f58fef62dc
Use expanded path for --with-opt-dir
2024-06-24 10:48:15 +09:00
Hiroshi SHIBATA
5f5da2e839
Use manifest mode of vcpkg
2024-06-24 10:48:15 +09:00
MSP-Greg
18404af9ec
.github/actions/setup/macos/action.yml - use brew openssl@3, not 1.1
2024-06-24 09:03:55 +09:00
git
acce96647d
Update bundled gems list as of 2024-06-22
2024-06-23 06:59:37 +00:00
Nobuyoshi Nakada
d8c6e91748
Fix dangling `else`
2024-06-23 09:42:25 +09:00
Dmitry Davydov
fba8aff7af
[Bug #20592 ] Fix segfault when sending NULL to freeaddrinfo
...
On alpine freeaddrinfo does not accept NULL pointer
2024-06-22 22:05:31 +09:00
Nobuyoshi Nakada
d122a68863
Exported symbols in DLL on Windows are managed by win32/mkexports.rb
2024-06-22 18:48:14 +09:00
Yuta Saito
73b7eebf07
build: fix crossruby build by handling empty `ac_abs_builddir`
...
`ac_abs_builddir` can be empty when the build is top-level (not
subdirs, and Ruby is usually the case). In such case, the MINIRUBY is
expanded to `$RUBY -I -r'$(arch)-fake'`, which interprets `-r$(arch)-fake`
as an argument to `-I` option. This led to:
- Not loading the fake config file
- Then not setting `CROSS_COMPILING` constant during extmk.rb execution
- Then misusing cross-compiled `./miniruby` instead of baseruby to generate
files used in exts.
This commit fixes the issue by handling the empty `ac_abs_builddir` case
properly.
2024-06-22 15:12:00 +09:00
Nobuyoshi Nakada
cab0d03037
Get rid of nesting backquotes
...
Also executing variable containing an option may not be portable.
Follow up of dd378c5a24
.
2024-06-22 10:58:32 +09:00
Nobuyoshi Nakada
dd378c5a24
Expand --with-opt-dir arguments
2024-06-22 02:16:16 +09:00