summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-27MJIT: Refactor invokebuiltin_delegate_leaveTakashi Kokubun
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-27MJIT: Use a String buffer in builtin compilersTakashi Kokubun
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-27MJIT: Clear .cache/clangd on bindgen if existsTakashi Kokubun
2022-11-28NEWS.md: sort [ci skip]Kazuhiro NISHIYAMA
2022-11-28Update default gems list at b335d899fff3cc22b022c9ee2ceb63 [ci skip]git
2022-11-28[ruby/cgi] Bump up 0.3.6Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/827b7d43cc
2022-11-28[ruby/rdoc] Add `--no-skipping-tests` optionSven Riedel
https://github.com/ruby/rdoc/commit/33925f885f
2022-11-28[ruby/cgi] Loosen the domain regex to accept '.'Xenor Chang
(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-28Update default gems list at 98074a57ca9f3169fe9da9af6c49b6 [ci skip]git
2022-11-28[ruby/cgi] Prepare to release 0.3.6Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/710a647855
2022-11-28Bundle RBS 2.8.1 (#6819)Soutaro Matsumoto
Update `bundled_gems` to bundle RBS 2.8.1 Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2022-11-28Update bundled gems list at 2022-11-28git
2022-11-28[StepSecurity] ci: Harden GitHub ActionsStepSecurity Bot
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Notes: Merged: https://github.com/ruby/ruby/pull/6811
2022-11-27MJIT: Move some private declarationsTakashi Kokubun
and clean up legacy comments for the Ruby migration
2022-11-27Synchronously run the MJIT compiler in the parentTakashi Kokubun
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-27Disable test-all on MJIT CI for nowTakashi Kokubun
https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
2022-11-27Test only --mjit-wait for nowTakashi Kokubun
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-27Skip a broken RDoc testTakashi Kokubun
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[ruby/rdoc] Revert "Refactor `RDoc::Markup::Parser#tokenize`"Nobuyoshi Nakada
This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc. https://github.com/ruby/rdoc/commit/5d2c47e8b8
2022-11-27[ruby/rdoc] Refactor `RDoc::Markup::Parser#tokenize`Nobuyoshi Nakada
Make verbatims text or newline only, and simplify `build_verbatim`. https://github.com/ruby/rdoc/commit/41ceae93b3
2022-11-27[ruby/rdoc] Darkfish: group method call-seq in div.method-headernick evans
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[ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headingsnick evans
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[ruby/rdoc] Refine regexp usages and reduce substring allocationsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/a976fb9d39
2022-11-27[ruby/rdoc] Pull up handle_tab_width to RDoc::ParserNobuyoshi Nakada
To share with the duplicate code in RDoc::Parser::Ruby#initialize. https://github.com/ruby/rdoc/commit/27829ac119
2022-11-27Update default gems list at 6fdc677186b646f8f011411f827c2f [ci skip]git
2022-11-27[ruby/erb] Version 4.0.1Takashi Kokubun
https://github.com/ruby/erb/commit/3bb67009dd
2022-11-27[ruby/erb] Skip using the extension for truffleruby as wellTakashi Kokubun
(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[ruby/irb] Activate yamatanooroti tests on CIStan Lo
(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[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar
https://github.com/ruby/net-http/commit/77c6878970
2022-11-26MJIT: Remove a duplicated rescueTakashi Kokubun
`#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-26MJIT: Merge mjit_compiler.rb into mjit.rbTakashi Kokubun
There are too many mjit_compiler.* files. It was hard to find files.
2022-11-26[ruby/net-http] Fix test for Ruby headPeter Zhu
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@e6185dda26ea6db7a3515d4f47ab231f5f4ac902
2022-11-26Update bundled gems list at 3853385377525258881d35850a4247 [ci skip]git
2022-11-26Update bundled_gems (#6813)Soutaro Matsumoto
* Update bundled_gems Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2022-11-26Update default gems list at 534bac04e71efcbb9f4dc877f490b9 [ci skip]git
2022-11-26[ruby/erb] Version 4.0.0Takashi Kokubun
https://github.com/ruby/erb/commit/2809a54d88
2022-11-25Do not use the same variable for multiple thingsTakashi Kokubun
`conv` proc is used before and after the `url` variable is updated. So this script didn't seem to behave correctly for the "Close #xxx" syntax. Reusing the same variable name for different things seems prone to errors.
2022-11-25Support other GitHub PR/issue syntaxesTakashi Kokubun
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
2022-11-25Allow an arbitrary number of newlinesTakashi Kokubun
2022-11-25Revert "Update default gems list at 574896a0ce99ab00676aa5ff2fabd3 [ci skip]"Takashi Kokubun
This reverts commit eb3a6ae524b029e96738f21931d95dfad1caed2f.
2022-11-26Update default gems list at 574896a0ce99ab00676aa5ff2fabd3 [ci skip]git
2022-11-26[ruby/erb] Define ERB::Escape moduleTakashi Kokubun
(https://github.com/ruby/erb/pull/38) Close #32
2022-11-26Revert "Update default gems list at d0bb24c497ceae01cc7b7698365982 [ci skip]"Nobuyoshi Nakada
This reverts commit ba26dd7ba557f1a8d58251bb8437d579e0d5d23a, which duplicates the list.
2022-11-26Update default gems list at d0bb24c497ceae01cc7b7698365982 [ci skip]git
2022-11-26[DOC] Fix loose and tight listsNobuyoshi Nakada
The MarkDown parser of RDoc does not allow mixing loose and tight lists, and the results may be very unexpected otherwise.
2022-11-26[DOC] Fix indents of nested bullet listsNobuyoshi Nakada
2022-11-26Follow the NEWS.md change up [ci skip]Nobuyoshi Nakada
2022-11-25MJIT: Change default --mjit-max-cache back to 100Takashi Kokubun
These days we benchmark MJIT using yjit-bench. The warmup duration in yjit-bench is very short, so compiling many methods comes at a cost even while it's actually optimal for MJIT to compile everything / tens of thousands of methods once it reaches the peak performance. yjit-bench doesn't necessarily represent the peak performance on production. It measures the performance of Ruby 30~60s after boot. If your JIT takes more than 1 minute to warm up, there's no way for the JIT to make the numbers good on yjit-bench. Until we make MJIT's compilation much faster, we don't afford compiling 10,000 methods on yjit-bench. This change alone makes MJIT's benchmark number on railsbench 2x better :p
2022-11-25MJIT: Refactor source_shape_id extractionTakashi Kokubun
I'm not comfortable indenting code that deeply.
2022-11-25MJIT: Remove obsoleted variableTakashi Kokubun
no longer used after 4ea9d7d7c223ff92365c4a013fc1bd073d67a3a5