Nobuyoshi Nakada
d72f6749cb
sync_default_gems.rb: adjust indent [ci skip]
2022-11-28 20:55:09 +09:00
Hiroshi SHIBATA
8bac8772df
Added permission restrictions for GitHub actions
2022-11-28 18:28:31 +09:00
Nobuyoshi Nakada
906a2f067d
sync_default_gems.rb: extend for singleton methods
2022-11-28 17:17:06 +09:00
Takashi Kokubun
8e18761da1
Revert "MJIT: Make it parsable by Solargraph"
...
This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767.
Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE"
This reverts commit b033775ed9d9226ba73c1d4a197e55ba89575142.
GitHub Actions is failing. I ran out of time today to investigate it.
will try it again tomorrow.
2022-11-28 00:13:23 -08:00
Takashi Kokubun
b033775ed9
MJIT: Fix miniruby with MJIT_FORCE_ENABLE
2022-11-27 23:58:50 -08:00
Takashi Kokubun
ccd8dd6ad3
MJIT: Make it parsable by Solargraph
2022-11-27 23:46:59 -08:00
Nobuyoshi Nakada
93e87c0217
Fix the case of multiple trailers
2022-11-28 16:30:40 +09:00
Nobuyoshi Nakada
5a171ee4c0
Add tests for sync_default_gems.rb
2022-11-28 16:30:40 +09:00
Takashi Kokubun
fb599523cd
MJIT: Do not document a dynamic type [ci skip]
...
Solargraph complains about it
2022-11-27 23:29:44 -08:00
Takashi Kokubun
1d1200555f
MJIT: Avoid hanging on mjit_wait with a JIT failure
2022-11-27 23:06:29 -08:00
Takashi Kokubun
168b0e1f02
Make the timeout of test_system_sigpipe longer
...
https://github.com/ruby/ruby/actions/runs/3562236318/jobs/5983796689
2022-11-27 22:48:19 -08:00
Takashi Kokubun
2c1c0d3df0
MJIT: Get rid of C.fprintf
...
Faster code generation and cleaner code.
2022-11-27 22:47:46 -08:00
Takashi Kokubun
87e7b640eb
Suppress warnings again
2022-11-27 22:14:48 -08:00
Takashi Kokubun
880e8fd1f9
Relax a too strict timeout
...
Regexp tests are flaky.
http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20221128T050004Z.fail.html.gz
2022-11-27 21:48:32 -08:00
Takashi Kokubun
a22c684c59
MJIT: Refactor invokebuiltin_delegate_leave
...
You shouldn't assume bf->compiler is always non-zero. While struct
aref/aset is no longer a builtin function since
https://github.com/ruby/ruby/pull/5131 , it seems like you could still
load such an iseq binary.
The refactored code fallbacks to compile_insn_default correctly when
bf->compiler is zero.
2022-11-27 21:44:28 -08:00
Takashi Kokubun
6844bcc6b4
MJIT: Use a String buffer in builtin compilers
...
instead of FILE*.
Using C.fprintf is slower than String manipulation on memory. I'm going
to change the way MJIT writes files, and this is a prerequisite for it.
2022-11-27 21:11:33 -08:00
Takashi Kokubun
6d26f78f68
MJIT: Clear .cache/clangd on bindgen if exists
2022-11-27 21:04:41 -08:00
Kazuhiro NISHIYAMA
833545a211
NEWS.md: sort [ci skip]
2022-11-28 13:57:50 +09:00
git
529e58d610
Update default gems list at b335d899fff3cc22b022c9ee2ceb63 [ci skip]
2022-11-28 04:41:36 +00:00
Hiroshi SHIBATA
b335d899ff
[ruby/cgi] Bump up 0.3.6
...
https://github.com/ruby/cgi/commit/827b7d43cc
2022-11-28 04:40:26 +00:00
Sven Riedel
e0901f46b7
[ruby/rdoc] Add --no-skipping-tests
option
...
https://github.com/ruby/rdoc/commit/33925f885f
2022-11-28 04:36:29 +00:00
Xenor Chang
745dcf5326
[ruby/cgi] Loosen the domain regex to accept '.'
...
(https://github.com/ruby/cgi/pull/29 )
* Loosen the domain regex to accept '.'
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
https://github.com/ruby/cgi/commit/5e09d632f3
Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
2022-11-28 04:34:11 +00:00
git
1612d57691
Update default gems list at 98074a57ca9f3169fe9da9af6c49b6 [ci skip]
2022-11-28 03:35:19 +00:00
Hiroshi SHIBATA
98074a57ca
[ruby/cgi] Prepare to release 0.3.6
...
https://github.com/ruby/cgi/commit/710a647855
2022-11-28 03:34:42 +00:00
Soutaro Matsumoto
1a744417f2
Bundle RBS 2.8.1 ( #6819 )
...
Update `bundled_gems` to bundle RBS 2.8.1
2022-11-28 12:31:17 +09:00
git
0096d99eff
Update bundled gems list at 2022-11-28
2022-11-28 02:57:48 +00:00
StepSecurity Bot
595f3063f0
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2022-11-28 11:42:40 +09:00
Takashi Kokubun
e3de723043
MJIT: Move some private declarations
...
and clean up legacy comments for the Ruby migration
2022-11-27 14:50:20 -08:00
Takashi Kokubun
2a6dfb1cbb
Synchronously run the MJIT compiler in the parent
...
process. Completely isolating the MJIT compilation process complicates a
lot of things for ensuring consistency before and after the fork.
Just running this synchronously makes things a lot easier, for example
the race condition of capture_cc_entries could be fixed by this patch
alone. Hopefully, the bottleneck is the C compiler and not this Ruby
code. Also, this change doesn't negatively impact MJIT's final numbers
on yjit-bench while "1st itr" is degraded for sure.
2022-11-27 14:16:29 -08:00
Takashi Kokubun
f93ae96b0e
Disable test-all on MJIT CI for now
...
https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
2022-11-27 13:34:10 -08:00
Takashi Kokubun
62476dd268
Test only --mjit-wait for now
...
We've disabled MJIT CI on GitHub Actions for a while. It's convenient
that fork repositories need to see failures or disable it.
We should remove unused CI by default instead of silently disabling it.
Since I saw --mjit-wait passed on my fork, I'd like to try running
--mjit-wait one.
2022-11-27 13:12:34 -08:00
Takashi Kokubun
03b96319b4
Skip a broken RDoc test
...
http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309535
http://ci.rvm.jp/results/trunk-random0@phosphorus-docker/4309536
http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/4309538
http://ci.rvm.jp/results/trunk-random2@phosphorus-docker/4309541
http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/4309544
http://ci.rvm.jp/results/trunk-no-mjit@phosphorus-docker/4309550
http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309556
http://ci.rvm.jp/results/trunk-random0@phosphorus-docker/4309562
http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/4309564
http://ci.rvm.jp/results/trunk-random2@phosphorus-docker/4309567
http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/4309570
http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20221127T200003Z.fail.html.gz
http://ci.rvm.jp/results/trunk-random-repeat@phosphorus-docker/4309581
http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20221127T203002Z.fail.html.gz
http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309588
2022-11-27 13:02:43 -08:00
Nobuyoshi Nakada
5b1db79129
[ruby/rdoc] Revert "Refactor RDoc::Markup::Parser#tokenize
"
...
This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc .
https://github.com/ruby/rdoc/commit/5d2c47e8b8
2022-11-27 19:46:12 +00:00
Nobuyoshi Nakada
21977b95e2
[ruby/rdoc] Refactor RDoc::Markup::Parser#tokenize
...
Make verbatims text or newline only, and simplify `build_verbatim`.
https://github.com/ruby/rdoc/commit/41ceae93b3
2022-11-27 17:24:38 +00:00
nick evans
29862ce273
[ruby/rdoc] Darkfish: group method call-seq in div.method-header
...
This way, custom CSS styles can be easily applied to the entire method
header at once. Otherwise, it can be tricky to make a border that goes
around the entire set of method call-seq, but not the method
description.
https://github.com/ruby/rdoc/commit/5db4bce01e
2022-11-27 17:24:17 +00:00
nick evans
ae3817bc61
[ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headings
...
This uses `<details><summary>heading</summary><ul>nested</ul></detail>`,
similar to how the classes and pages lists are now nested.
https://github.com/ruby/rdoc/commit/e57beff287
2022-11-27 17:18:16 +00:00
Nobuyoshi Nakada
511864d1a7
[ruby/rdoc] Refine regexp usages and reduce substring allocations
...
https://github.com/ruby/rdoc/commit/a976fb9d39
2022-11-27 16:35:08 +00:00
Nobuyoshi Nakada
1b67c58f41
[ruby/rdoc] Pull up handle_tab_width to RDoc::Parser
...
To share with the duplicate code in RDoc::Parser::Ruby#initialize.
https://github.com/ruby/rdoc/commit/27829ac119
2022-11-27 16:35:07 +00:00
git
d055c44b0c
Update default gems list at 6fdc677186b646f8f011411f827c2f [ci skip]
2022-11-27 06:33:33 +00:00
Takashi Kokubun
6fdc677186
[ruby/erb] Version 4.0.1
...
https://github.com/ruby/erb/commit/3bb67009dd
2022-11-27 06:32:58 +00:00
Takashi Kokubun
d2c62426e5
[ruby/erb] Skip using the extension for truffleruby as well
...
(https://github.com/ruby/erb/pull/39 )
* Skip using the extension for truffleruby as well
* Just skip building the C extension for TruffleRuby
* Skip rake compile for truffleruby
* Use resolve_feature_path
* Revert "Use resolve_feature_path"
This reverts commit https://github.com/ruby/erb/commit/acc1e0c0ffaf .
* Use resolve_feature_path with LoadError guard
https://github.com/ruby/erb/commit/85dcb08439
2022-11-27 06:30:48 +00:00
Stan Lo
ec76c9868b
[ruby/irb] Activate yamatanooroti tests on CI
...
(https://github.com/ruby/irb/pull/459 )
* Activate yamatanooroti tests on CI
* Fix delete test
https://github.com/ruby/irb/commit/750cf4c480
2022-11-27 06:09:50 +00:00
Burdette Lamar
b55da1cd97
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeader
...
https://github.com/ruby/net-http/commit/77c6878970
2022-11-27 00:21:49 +00:00
Takashi Kokubun
73e42ef856
MJIT: Remove a duplicated rescue
...
`#compile` has a catch-call rescue, so compile_insn_entry shouldn't do
that. It was a temporary code needed during the migration.
2022-11-26 15:39:53 -08:00
Takashi Kokubun
b2dcde839d
MJIT: Merge mjit_compiler.rb into mjit.rb
...
There are too many mjit_compiler.* files. It was hard to find files.
2022-11-26 15:31:38 -08:00
Peter Zhu
de9e2a5ac7
[ruby/net-http] Fix test for Ruby head
...
The error raised for broken coderanges was changed in ruby/ruby@571d21f
and the test was fixed in that commit but not ported to this repo.
ruby/net-http@e6185dda26
2022-11-26 16:06:05 -05:00
git
26794b95cf
Update bundled gems list at 3853385377525258881d35850a4247 [ci skip]
2022-11-26 06:45:33 +00:00
Soutaro Matsumoto
3853385377
Update bundled_gems ( #6813 )
...
* Update bundled_gems
2022-11-26 15:44:56 +09:00
git
51994955cd
Update default gems list at 534bac04e71efcbb9f4dc877f490b9 [ci skip]
2022-11-26 06:06:50 +00:00
Takashi Kokubun
534bac04e7
[ruby/erb] Version 4.0.0
...
https://github.com/ruby/erb/commit/2809a54d88
2022-11-26 06:05:23 +00:00