- 26 Nov, 2021 1 commit
-
-
dearblue authored
The `__id__` method implemented in the C function has `MRB_ARGS_NONE()` specified, but it is also effective in the following cases. ```ruby p nil.__id__ opts: 1 rescue p :a p nil.method(:__id__).call 1 rescue p :b p nil.method(:__id__).call opts: 1 rescue p :c p nil.method(:__id__).to_proc.call 1 rescue p :d p nil.method(:__id__).to_proc.call opts: 1 rescue p :e p nil.method(:__id__).unbind.bind_call nil, 1 rescue p :f p nil.method(:__id__).unbind.bind_call nil, opts: 1 rescue p :g p nil.__send__ :__id__, 1 rescue p :h p nil.__send__ :__id__, opts: 1 rescue p :i ``` After applying this patch, all items will output symbols in the same way as CRuby. For this purpose, add `MRB_PROC_NOARG` to `struct RProc::flags`.
-
- 25 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fixed some methods where keyword arguments are not passed
-
- 24 Nov, 2021 2 commits
-
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump actions/cache from 2.1.6 to 2.1.7
-
- 23 Nov, 2021 3 commits
-
-
dependabot[bot] authored
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fixed occurs `SIGSEGV` with `mrbgems/mruby-method`
-
- 22 Nov, 2021 1 commit
-
-
dearblue authored
Calling the `Method#{parameters,source_location}` method on a static `Proc` object resulted in `SIGSEGV`. The trigger is https://github.com/mruby/mruby/pull/5402. The original implementation of the `Method#{parameters,source_location}` method was to temporarily rewrite the object and then call the method of the same name in `Proc`. Rewriting of objects placed in the ROM section by #5402 above is prohibited by hardware such as the CPU. This caused a `SIGSEGV`.
-
- 21 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Nov, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Nov, 2021 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fixes keywords are lost with the `OP_SENDB`
-
Yukihiro "Matz" Matsumoto authored
Fixed a discrepancy in `OP_ASET`
-
dearblue authored
There was a discrepancy in the actual behavior, assertions, and documentation. Therefore, I modified it based on the actual behavior.
-
dearblue authored
If a splat argument was passed, it could write out of range on the VM stack. ```console % bin/mruby -e 'def m(*args, **opts, &blk) p [args, opts, blk] end; m(*%w(X Y Z), r: 1, g: 2, b: 3) {}' [["X", "Y", "Z"], {}, #<Proc:0x80077d7d0>] ```
-
- 18 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.8.3 to 4.8.4
-
- 17 Nov, 2021 3 commits
-
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.8.3 to 4.8.4. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/v4.8.3...v4.8.4) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 16 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.8.1 to 4.8.3
-
- 15 Nov, 2021 2 commits
-
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.8.1 to 4.8.3. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/v4.8.1...v4.8.3) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
-
- 14 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 13 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 12 Nov, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 09 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 08 Nov, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 06 Nov, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Run the task only once when `parse.y` is updated
-
Yukihiro "Matz" Matsumoto authored
-
- 05 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 04 Nov, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Added `Random.#bytes` method
-
Yukihiro "Matz" Matsumoto authored
Added `Array#product` method
-