aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/syntax_suggest] Do not output "Syntax OK" when there's an errorschneems2022-11-284-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Due to a problem with ripper we do not recognize `break` as invalid code. It's confusing that "Syntax OK" is output in that case. When there's no syntax error, the algorithm should not say anything. The exception is in the CLI and that's for compatibility with `ruby -wc` ``` $ cat /tmp/break.rb break ⛄️ 3.1.2 🚀 /Users/rschneeman/Documents/projects/syntax_suggest (schneems/no-syntax-not-okay-break) $ ruby -wc /tmp/break.rb Syntax OK ``` > Note that this is invalid, running this code will raise a Syntax error. ``` $ exe/syntax_suggest /tmp/break.rb Syntax OK ``` Close https://github.com/ruby/syntax_suggest/pull/157 https://github.com/ruby/syntax_suggest/commit/d7bd8f03a2
* [ruby/syntax_suggest] Failing test for #157schneems2022-11-281-0/+16
| | | | https://github.com/ruby/syntax_suggest/commit/14e8cdc916
* sync_default_gems.rb: move default_branch to REPOSITORIESNobuyoshi Nakada2022-11-281-15/+25
| | | | `sync_default_gems_with_commits` also needs the default branch.
* sync_default_gems.rb: suppress a duplicated range warningNobuyoshi Nakada2022-11-281-1/+1
|
* sync_default_gems.rb: adjust indent [ci skip]Nobuyoshi Nakada2022-11-281-659/+659
|
* Added permission restrictions for GitHub actionsHiroshi SHIBATA2022-11-2814-0/+46
|
* sync_default_gems.rb: extend for singleton methodsNobuyoshi Nakada2022-11-281-0/+1
|
* Revert "MJIT: Make it parsable by Solargraph"Takashi Kokubun2022-11-285-816/+815
| | | | | | | | | | | 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.
* MJIT: Fix miniruby with MJIT_FORCE_ENABLETakashi Kokubun2022-11-271-1/+1
|
* MJIT: Make it parsable by SolargraphTakashi Kokubun2022-11-275-814/+815
|
* Fix the case of multiple trailersNobuyoshi Nakada2022-11-282-2/+13
|
* Add tests for sync_default_gems.rbNobuyoshi Nakada2022-11-282-0/+60
|
* MJIT: Do not document a dynamic type [ci skip]Takashi Kokubun2022-11-271-1/+1
| | | | Solargraph complains about it
* MJIT: Avoid hanging on mjit_wait with a JIT failureTakashi Kokubun2022-11-271-1/+6
|
* Make the timeout of test_system_sigpipe longerTakashi Kokubun2022-11-271-1/+1
| | | | https://github.com/ruby/ruby/actions/runs/3562236318/jobs/5983796689
* MJIT: Get rid of C.fprintfTakashi Kokubun2022-11-273-52/+47
| | | | Faster code generation and cleaner code.
* Suppress warnings againTakashi Kokubun2022-11-271-1/+1
|
* Relax a too strict timeoutTakashi Kokubun2022-11-271-1/+1
| | | | | Regexp tests are flaky. http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20221128T050004Z.fail.html.gz
* MJIT: Refactor invokebuiltin_delegate_leaveTakashi Kokubun2022-11-271-27/+25
| | | | | | | | | | 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.
* MJIT: Use a String buffer in builtin compilersTakashi Kokubun2022-11-276-32/+27
| | | | | | | 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.
* MJIT: Clear .cache/clangd on bindgen if existsTakashi Kokubun2022-11-271-0/+8
|
* NEWS.md: sort [ci skip]Kazuhiro NISHIYAMA2022-11-281-1/+1
|
* Update default gems list at b335d899fff3cc22b022c9ee2ceb63 [ci skip]git2022-11-281-1/+1
|
* [ruby/cgi] Bump up 0.3.6Hiroshi SHIBATA2022-11-281-1/+1
| | | | https://github.com/ruby/cgi/commit/827b7d43cc
* [ruby/rdoc] Add `--no-skipping-tests` optionSven Riedel2022-11-284-1/+80
| | | | https://github.com/ruby/rdoc/commit/33925f885f
* [ruby/cgi] Loosen the domain regex to accept '.'Xenor Chang2022-11-282-1/+4
| | | | | | | | | | | (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>
* Update default gems list at 98074a57ca9f3169fe9da9af6c49b6 [ci skip]git2022-11-281-1/+1
|
* [ruby/cgi] Prepare to release 0.3.6Hiroshi SHIBATA2022-11-281-1/+1
| | | | https://github.com/ruby/cgi/commit/710a647855
* Bundle RBS 2.8.1 (#6819)Soutaro Matsumoto2022-11-280-0/+0
| | | Update `bundled_gems` to bundle RBS 2.8.1
* Update bundled gems list at 2022-11-28git2022-11-282-2/+2
|
* [StepSecurity] ci: Harden GitHub ActionsStepSecurity Bot2022-11-283-0/+15
| | | Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
* MJIT: Move some private declarationsTakashi Kokubun2022-11-272-29/+21
| | | | and clean up legacy comments for the Ruby migration
* Synchronously run the MJIT compiler in the parentTakashi Kokubun2022-11-271-43/+50
| | | | | | | | | | | 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.
* Disable test-all on MJIT CI for nowTakashi Kokubun2022-11-271-5/+5
| | | | https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
* Test only --mjit-wait for nowTakashi Kokubun2022-11-271-4/+4
| | | | | | | | | 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.
* Skip a broken RDoc testTakashi Kokubun2022-11-271-0/+1
| | | | | | | | | | | | | | | | | | 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
* [ruby/rdoc] Revert "Refactor `RDoc::Markup::Parser#tokenize`"Nobuyoshi Nakada2022-11-272-118/+117
| | | | | | This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc. https://github.com/ruby/rdoc/commit/5d2c47e8b8
* [ruby/rdoc] Refactor `RDoc::Markup::Parser#tokenize`Nobuyoshi Nakada2022-11-272-117/+118
| | | | | | Make verbatims text or newline only, and simplify `build_verbatim`. https://github.com/ruby/rdoc/commit/41ceae93b3
* [ruby/rdoc] Darkfish: group method call-seq in div.method-headernick evans2022-11-271-20/+22
| | | | | | | | | 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
* [ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headingsnick evans2022-11-272-4/+50
| | | | | | | 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
* [ruby/rdoc] Refine regexp usages and reduce substring allocationsNobuyoshi Nakada2022-11-273-31/+27
| | | | https://github.com/ruby/rdoc/commit/a976fb9d39
* [ruby/rdoc] Pull up handle_tab_width to RDoc::ParserNobuyoshi Nakada2022-11-273-26/+18
| | | | | | To share with the duplicate code in RDoc::Parser::Ruby#initialize. https://github.com/ruby/rdoc/commit/27829ac119
* Update default gems list at 6fdc677186b646f8f011411f827c2f [ci skip]git2022-11-271-1/+1
|
* [ruby/erb] Version 4.0.1Takashi Kokubun2022-11-271-1/+1
| | | | https://github.com/ruby/erb/commit/3bb67009dd
* [ruby/erb] Skip using the extension for truffleruby as wellTakashi Kokubun2022-11-272-4/+12
| | | | | | | | | | | | | | | | | | | | (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
* [ruby/irb] Activate yamatanooroti tests on CIStan Lo2022-11-271-2/+2
| | | | | | | | | | (https://github.com/ruby/irb/pull/459) * Activate yamatanooroti tests on CI * Fix delete test https://github.com/ruby/irb/commit/750cf4c480
* [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar2022-11-271-17/+58
| | | | https://github.com/ruby/net-http/commit/77c6878970
* MJIT: Remove a duplicated rescueTakashi Kokubun2022-11-261-5/+2
| | | | | `#compile` has a catch-call rescue, so compile_insn_entry shouldn't do that. It was a temporary code needed during the migration.
* MJIT: Merge mjit_compiler.rb into mjit.rbTakashi Kokubun2022-11-265-20/+13
| | | | There are too many mjit_compiler.* files. It was hard to find files.
* [ruby/net-http] Fix test for Ruby headPeter Zhu2022-11-261-1/+5
| | | | | | | 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