Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use class methods of `File` over `Kernel.open` and `IO.read` | Nobuyoshi Nakada | 2022-12-01 | 6 | -9/+9 |
| | |||||
* | MJIT: Rename mjit_compile_attr to mjit_sp_inc | Takashi Kokubun | 2022-11-29 | 2 | -1/+1 |
| | | | | There's no mjit_compile.inc, so no need to use this prefix anymore. | ||||
* | Extract outdate-bundled-gems.rb | Nobuyoshi Nakada | 2022-11-29 | 1 | -0/+134 |
| | |||||
* | MJIT: Rename mjit_compiler.h to mjit_c.h | Takashi Kokubun | 2022-11-28 | 1 | -2/+2 |
| | | | | because it exists primarily for generating mjit_c.rb. | ||||
* | sync_default_gems.rb: move default_branch to REPOSITORIES | Nobuyoshi Nakada | 2022-11-28 | 1 | -15/+25 |
| | | | | `sync_default_gems_with_commits` also needs the default branch. | ||||
* | sync_default_gems.rb: suppress a duplicated range warning | Nobuyoshi Nakada | 2022-11-28 | 1 | -1/+1 |
| | |||||
* | sync_default_gems.rb: adjust indent [ci skip] | Nobuyoshi Nakada | 2022-11-28 | 1 | -659/+659 |
| | |||||
* | sync_default_gems.rb: extend for singleton methods | Nobuyoshi Nakada | 2022-11-28 | 1 | -0/+1 |
| | |||||
* | Fix the case of multiple trailers | Nobuyoshi Nakada | 2022-11-28 | 2 | -2/+13 |
| | |||||
* | Add tests for sync_default_gems.rb | Nobuyoshi Nakada | 2022-11-28 | 2 | -0/+60 |
| | |||||
* | MJIT: Use a String buffer in builtin compilers | Takashi Kokubun | 2022-11-27 | 1 | -9/+9 |
| | | | | | | | 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 exists | Takashi Kokubun | 2022-11-27 | 1 | -0/+8 |
| | |||||
* | Do not use the same variable for multiple things | Takashi Kokubun | 2022-11-25 | 1 | -5/+5 |
| | | | | | | | `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. | ||||
* | Support other GitHub PR/issue syntaxes | Takashi Kokubun | 2022-11-25 | 1 | -1/+1 |
| | | | | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue | ||||
* | Use class methods of `File` over `Kernel.open` and `IO.read` | Nobuyoshi Nakada | 2022-11-21 | 7 | -39/+31 |
| | |||||
* | Fix a broken interpolation #{head} | Takashi Kokubun | 2022-11-20 | 1 | -2/+3 |
| | |||||
* | sync_default_gems.rb: Fix substitution [ci skip] | Nobuyoshi Nakada | 2022-11-20 | 1 | -3/+9 |
| | | | | | | As there should be no modified files just affter `git cherry-pick` succeeded in `sync_default_gems_with_commits`, reset to the previous revision once to pick up the committed files. | ||||
* | Run skipped minitest tests that now pass | Alan Wu | 2022-11-19 | 1 | -5/+0 |
| | | | | The mentioned PR was merged. | ||||
* | rename SHAPE_BITS to SHAPE_ID_NUM_BITS | Aaron Patterson | 2022-11-18 | 1 | -1/+1 |
| | |||||
* | tool/generic_erb.rb: Add a hack to prevent "unused variable" warnings | Yusuke Endoh | 2022-11-18 | 1 | -0/+3 |
| | |||||
* | Revert "tool/generic_erb.rb: Use ERB#result_with_hash instead of #result" | Yusuke Endoh | 2022-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit bd148a2bdd0c1a4d7679eedcd649171cdb4234d7. ERB#result_with_hash does not work on Ruby 2.2 https://ci.appveyor.com/project/ruby/ruby/builds/45420170 ``` ../tool/generic_erb.rb:33:in `block (2 levels) in <main>': undefined method `result_with_hash' for #<ERB:0x0000000002516650> (NoMethodError) ``` | ||||
* | tool/generic_erb.rb: Use ERB#result_with_hash instead of #result | Yusuke Endoh | 2022-11-18 | 1 | -1/+1 |
| | | | | | | | | to prevent the warnings: ``` ./tool/generic_erb.rb:23: warning: assigned but unused variable - output ./tool/generic_erb.rb:24: warning: assigned but unused variable - vpath ``` | ||||
* | Remove duplicate `.rbinc` on `.rb` dependencies | Nobuyoshi Nakada | 2022-11-16 | 1 | -1/+1 |
| | |||||
* | Let mjit-bindgen use BASERUBY and bundle/inline (#6740) | Takashi Kokubun | 2022-11-15 | 3 | -11/+12 |
| | |||||
* | Depending on revision.h with VPATH | Nobuyoshi Nakada | 2022-11-16 | 1 | -1/+1 |
| | |||||
* | MJIT: Fix vm_cc_cme(cc).def.type to use bit field | Takashi Kokubun | 2022-11-15 | 1 | -1/+1 |
| | | | | | | | | | access properly. Because the libclang node had two children, it wasn't handled well by the pattern matching for the bit field case. In addition to that, this bit field has a non-1 width. Because we're returning true/false for a width-1 bit field, I added another behavior that works like a char value for bit fields with width 2-8. | ||||
* | Update RSpec gems | David RodrÃguez | 2022-11-15 | 4 | -19/+20 |
| | |||||
* | Remove USE_RVARGC code | Aaron Patterson | 2022-11-14 | 1 | -1/+0 |
| | | | | We don't need this constant to be exposed anymore, so remove it | ||||
* | Import shape constants with mjit-bindgen | Takashi Kokubun | 2022-11-14 | 1 | -0/+10 |
| | |||||
* | Import class constants with mjit-bindgen | Takashi Kokubun | 2022-11-14 | 1 | -0/+8 |
| | |||||
* | Try to overwrite the file in VPATH if possible | Nobuyoshi Nakada | 2022-11-13 | 1 | -1/+2 |
| | |||||
* | Preprocess for older bison is no longer needed | Nobuyoshi Nakada | 2022-11-10 | 1 | -24/+0 |
| | |||||
* | jobserver option may not be at the last | Nobuyoshi Nakada | 2022-11-07 | 1 | -1/+2 |
| | |||||
* | Set `autoclose:` for inherited FDs only [ci skip] | Nobuyoshi Nakada | 2022-11-07 | 1 | -2/+2 |
| | |||||
* | GNU make 4.4 now uses a fifo for the jobserver | Nobuyoshi Nakada | 2022-11-06 | 1 | -3/+8 |
| | |||||
* | Don't report changed ENV caused by Bundler | Peter Zhu | 2022-11-04 | 1 | -0/+3 |
| | | | | | | Bundler's backups changes environment variables starting with BUNDLER_ORIG_. This causes a lot of noise in tests as the leakchecker reports them as changed. | ||||
* | mkconfig.rb: take CPU name from arch flag | Nobuyoshi Nakada | 2022-11-04 | 1 | -0/+8 |
| | |||||
* | sync_default_gems.rb: fix a typo [ci skip] | Nobuyoshi Nakada | 2022-11-04 | 1 | -1/+1 |
| | |||||
* | sync_default_gems.rb: fix the position to insert the original URL | Nobuyoshi Nakada | 2022-11-04 | 1 | -2/+3 |
| | | | | | Since the regexp had expected an empty line before `Co-Authored-By:` trailer lines, it failed to match when the body has the trailer only. | ||||
* | sync_default_gems.rb: accept log input from other than STDIN | Nobuyoshi Nakada | 2022-11-04 | 1 | -4/+6 |
| | |||||
* | Fix crash in test runner on timeout | Peter Zhu | 2022-11-02 | 1 | -1/+4 |
| | | | | | | | | | | | When a test worker hangs and timeouts, the test runner crashes with the following stack trace: ruby/tool/lib/test/unit.rb:1747:in `puke': undefined method `backtrace' for Timeout::Error:Class (NoMethodError) from ruby/tool/lib/test/unit.rb:790:in `block in _run_parallel' from ruby/tool/lib/test/unit.rb:788:in `each' This commit adds handling for Timeout::Error and outputs a message. | ||||
* | file2lastrev.rb: changed revision may be `nil` [ci skip] | Nobuyoshi Nakada | 2022-11-02 | 1 | -2/+4 |
| | | | | | | When `--suppress_not_found` option is given, no revision information is available. And remove extraneous newline, when result is empty or ends with a newline. | ||||
* | file2lastrev.rb: try to overwrite the found revision.h as before | Nobuyoshi Nakada | 2022-11-02 | 2 | -6/+9 |
| | |||||
* | file2lastrev.rb: separate options for `Output` and `VPath` | Nobuyoshi Nakada | 2022-11-02 | 3 | -1/+8 |
| | | | | | So the `--srcdir` option in this file can override the same option in `VPath`. | ||||
* | file2lastrev.rb: use output.rb for the options | Nobuyoshi Nakada | 2022-11-01 | 1 | -2/+5 |
| | |||||
* | file2lastrev.rb: rename output as format | Nobuyoshi Nakada | 2022-11-01 | 1 | -15/+15 |
| | | | | | | Also: - format -> time_format - output -> formatter | ||||
* | output.rb: extract from generic_erb.rb | Nobuyoshi Nakada | 2022-11-01 | 2 | -33/+55 |
| | | | | | | | - writing to a file or stdout - touching timestamp files - overwriting only if changed - colorizing | ||||
* | colorize.rb: support for NO_COLOR | Nobuyoshi Nakada | 2022-11-01 | 1 | -1/+1 |
| | |||||
* | vpath.rb: tweak --vpath option message | Nobuyoshi Nakada | 2022-11-01 | 1 | -1/+1 |
| | |||||
* | vcs.rb: do not reference the constant before assignment | Nobuyoshi Nakada | 2022-11-01 | 1 | -3/+3 |
| |