summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-12-19Add my name to the AUTHORS fileJohn Bampton
2020-12-19Merge pull request #5232 from jbampton/lint-markdownYukihiro "Matz" Matsumoto
feat(CI): add a GitHub Action to lint the Markdown
2020-12-19Merge pull request #5230 from dearblue/mruby-config.2Yukihiro "Matz" Matsumoto
Ignore `mruby-bin-config` in cross-building
2020-12-19feat(CI): add a GitHub Action to lint the MarkdownJohn Bampton
Run on pull request only Using https://www.npmjs.com/package/markdownlint-cli Lint Markdown for rules: - MD009/no-trailing-spaces - MD012/no-multiple-blanks - MD022/blanks-around-headings - MD031/blanks-around-fences - MD032/blanks-around-lists
2020-12-19Merge pull request #5231 from jbampton/fix-linksYukihiro "Matz" Matsumoto
🔒 Fix missing HTTPS on links
2020-12-19🔒 Fix missing HTTPS on linksJohn Bampton
2020-12-19Merge pull request #5229 from jbampton/fix-linksYukihiro "Matz" Matsumoto
🔒 Fix missing HTTPS on links
2020-12-19🔒 Fix missing HTTPS on linksJohn Bampton
2020-12-19Warn that it was ignored in crossbuilddearblue
2020-12-19Avoid using `MRuby::CrossBuild.current`dearblue
This is because `MRuby::Build.currrent` and `MRuby::CrossBuild.current` are assignments to different instance variables.
2020-12-18Merge pull request #5228 from jbampton/spell-checkerYukihiro "Matz" Matsumoto
feat(CI): add a GitHub Action to check spelling
2020-12-17feat(CI): add a GitHub Action to check spellingJohn Bampton
- Fix spelling - Run only on pull request - Using https://github.com/client9/misspell
2020-12-16Merge pull request #5224 from jbampton/lint-yamlYukihiro "Matz" Matsumoto
feat(CI): add a GitHub Action to lint the YAML
2020-12-16Merge pull request #5227 from shuujii/rename-build-configuration-files-for-CIYukihiro "Matz" Matsumoto
Rename build configuration files for CI
2020-12-16Rename build configuration files for CIKOBAYASHI Shuji
Currently, there are build configuration files for CI, `travis.rb` and `appveyor.rb`, but they are used for GCC/Clang and MSVC, not for Travis CI and Appveyor, respectively. Therefore, rename them to `gcc-clang.rb` and `msvc.rb`, respectively, and move them under `build_config/ci/` to clarify that they are for CI.
2020-12-16Merge pull request #5226 from ↵Yukihiro "Matz" Matsumoto
shuujii/guess-toolchain-when-MRubyBuild-toolchain-argument-is-omitted Guess toolchain when `MRuby::Build#toolchain` argument is omitted
2020-12-16Guess toolchain when `MRuby::Build#toolchain` argument is omittedKOBAYASHI Shuji
2020-12-15feat(CI): add a GitHub Action to lint the YAMLJohn Bampton
- Run only on pull request - Add a `.yamllint` config file - Lint YAML
2020-12-15Merge pull request #5223 from ↵Yukihiro "Matz" Matsumoto
shuujii/ensure-initialization-of-RVALUE_zero-in-mrb_obj_alloc Ensure initialization of `RVALUE_zero` in `mrb_obj_alloc`
2020-12-15Merge pull request #5225 from ↵Yukihiro "Matz" Matsumoto
shuujii/output-build-log-at-the-time-of-installation Output build log at the time of installation
2020-12-15Merge pull request #5222 from jbampton/remove-trailing-whitespaceYukihiro "Matz" Matsumoto
refactor: remove trailing whitespace from C, Header, Ruby and YAML files
2020-12-15Output build log at the time of installationKOBAYASHI Shuji
2020-12-15refactor: remove trailing whitespace from C, Header, Ruby and YAML filesJohn Bampton
Lint
2020-12-15Ensure initialization of `RVALUE_zero` in `mrb_obj_alloc`KOBAYASHI Shuji
Union initialization initializes the first member. The first member of `RVALUE` is `struct free_obj`, but because it is only 4-words, it seems that initialization after the 5th word is not ensured. Therefore, I created 6-words `struct RVALUE_initializer` for initialization and made it the first member.
2020-12-13Merge pull request #5221 from jbampton/fix-spellingYukihiro "Matz" Matsumoto
Fix spelling
2020-12-13Fix spellingJohn Bampton
2020-12-12Remove positive check for unsigned integer; close #5218Yukihiro "Matz" Matsumoto
2020-12-09Argument forwarding with `...` now supports leading arguments.Yukihiro "Matz" Matsumoto
```ruby def method_missing(meth, ...) send(:"do_#{meth}", ...) end ```
2020-12-08Fix a bug caused by `tBDOT3` (argument forwarding).Yukihiro "Matz" Matsumoto
2020-12-07Make type of `pc` arguments in `debug.c` consistent; close #5218Yukihiro "Matz" Matsumoto
They used to be `size_t`, `uint32_t` and `ptrdiff_t`. Now all of them made to be `uint32_t`.
2020-12-06Merge pull request #5217 from ↵Yukihiro "Matz" Matsumoto
shuujii/call-super-before-creating-host-build-in-MRubyCrossBuild-initialize Call `super` before creating `host` build in `MRuby::CrossBuild#initialize`
2020-12-06Call `super` before creating `host` build in `MRuby::CrossBuild#initialize`KOBAYASHI Shuji
Call `super` (`block`) ahead so that creation of the `host` build can be skipped if pre-built `mrbc` can be specified in the future. close #5213.
2020-12-05Merge pull request #5214 from shuujii/allow-obsoluted-MRB_METHOD_T_STRUCTYukihiro "Matz" Matsumoto
Allow obsoluted `MRB_METHOD_T_STRUCT`
2020-12-05Merge pull request #5216 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-unused-@endian-in-MRubyCrossBuild-initialize Remove unused `@endian` in `MRuby::CrossBuild#initialize`
2020-12-05Merge pull request #5215 from ↵Yukihiro "Matz" Matsumoto
shuujii/update-Configuration-Options-Changed-in-doc-mruby3.md Update "Configuration Options Changed" in `doc/mruby3.md` [ci skip]
2020-12-05Remove unused `@endian` in `MRuby::CrossBuild#initialize`KOBAYASHI Shuji
2020-12-05Update "Configuration Options Changed" in `doc/mruby3.md` [ci skip]KOBAYASHI Shuji
2020-12-05Allow obsoluted `MRB_METHOD_T_STRUCT`KOBAYASHI Shuji
2020-12-05Fixed a memory leak bug on `codegen_error()` when `irep->rlen>255`.Yukihiro "Matz" Matsumoto
2020-12-05Merge pull request #5212 from ↵Yukihiro "Matz" Matsumoto
shuujii/make-it-possible-that-libmruby.a-is-not-created Make it possible that `libmruby.a` is not created
2020-12-05Make it possible that `libmruby.a` is not createdKOBAYASHI Shuji
Previously, `libmruby.a` was created even if only `mruby-bin-mrbc` or` mruby-compiler` was specified for gem, but by specifying `disable_libmruby`, the creation of `libmruby.a` can be suppressed. ### Note The https://github.com/mruby/mruby/pull/5084#issuecomment-723521971 incompatibility seems to be difficult for users to avoid, so the original behavior has been restored. Therefore, if we need `mrbc` other than the `host` build, we need to explicitly specify `mruby-bin-mrbc` gem. Due to the above changes, `build_config/boxing.rb` etc. will not work, but I have added` mruby-bin-mrbc` to `default.gembox` to fix it. I don't think this change is a big deal because originally `mruby-compiler` was included.
2020-12-05Fixed a bug with modules prepended many times.Yukihiro "Matz" Matsumoto
Adjust insertion point in `fix_prepend_module()`.
2020-12-04Make `Module#include` and `Module#prepend` behave like Ruby3.0.Yukihiro "Matz" Matsumoto
Module#include and Module#prepend now affect classes and modules that have already included or prepended the receiver, mirroring the behavior if the arguments were included in the receiver before the other modules and classes included or prepended the receiver. ```ruby class C; end module M1; end module M2; end C.include M1 M1.include M2 p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject] ```
2020-12-04Merge pull request #5211 from ↵Yukihiro "Matz" Matsumoto
shuujii/move-mrbc-test-to-mruby-bin-mrbc-gem-from-mruby-compiler-gem Move `mrbc` test to `mruby-bin-mrbc` gem from `mruby-compiler` gem
2020-12-04Move `mrbc` test to `mruby-bin-mrbc` gem from `mruby-compiler` gemKOBAYASHI Shuji
2020-12-03Merge pull request #5209 from shuujii/remove-build-presym.inc-by-rake-cleanYukihiro "Matz" Matsumoto
Remove `build/presym{,.inc}` by `rake clean` [ci skip]
2020-12-02Remove `build/presym{,.inc}` by `rake clean` [ci skip]KOBAYASHI Shuji
Currently, adding gems to build configuration and rebuilding does not regenerate `presym`, which can lead to build errors. Therefore in this case we need to remove the `presym` file and then rebuild mruby, but when the` presym` file is regenerated we will need to recompile most of the files, so it seems useful to have the `presym` file deleted by `rake clean`.
2020-12-02Merge pull request #5208 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-build-for-C++11-when-enable_cxx_exception Fix build for C++ version >= C++11 when `enable_cxx_exception`; close #5199
2020-12-02Fix build for C++ version >= C++11 when `enable_cxx_exception`; close #5199KOBAYASHI Shuji
2020-12-02Merge pull request #5198 from shuujii/remove-unused-Rake-rulesYukihiro "Matz" Matsumoto
Remove unused Rake rules