- 05 Sep, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 04 Sep, 2021 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
KOBAYASHI Shuji authored
Because the current behavior of `__method__` is equivalent to `__callee__`. Example: # example.rb def src __send__(ARGV[0]) end alias dst src %w[src dst].each {|n| puts "call #{n} => #{__send__(n).inspect}"} Ruby: $ ruby example.rb __method__ call src => :src call dst => :src $ ruby example.rb __callee__ call src => :src call dst => :dst mruby: $ mruby example.rb __method__ call src => :src call dst => :dst
-
Yukihiro "Matz" Matsumoto authored
Otherwise `target_class` can be lost when it differs from `proc`'s `target_class`, e.g. when called from `instance_eval`. Also we should not pass `target_class` to `MRB_OBJ_ALLOC` since it checks instance type from the class, and `target_class` may not have proper information. ref #5272
-
Yukihiro "Matz" Matsumoto authored
-
- 03 Sep, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 01 Sep, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.6.3 to 4.7.1
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.3 to 4.7.1. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/master/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/v4.6.3...v4.7.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
Use gender-neutral pronouns
-
Stuart Hinson authored
-
- 31 Aug, 2021 12 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.6.2 to 4.6.3
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
To reduce number of string allocation.
-
Yukihiro "Matz" Matsumoto authored
Replace them by `mrb_ensure_string_type()`.
-
Yukihiro "Matz" Matsumoto authored
`__to_str` was a mere type check method despite its name.
-
Yukihiro "Matz" Matsumoto authored
And merged to `mrb_f_integer()` which is only usage of the function.
-
Yukihiro "Matz" Matsumoto authored
* should not raise error for non-string arguments * avoid allocating case converted string internally
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
They return the checking argument without modification, so the values are already there. Maybe we should change the return type to `void` but keep them unchanged for compatibility.
-
Yukihiro "Matz" Matsumoto authored
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.2 to 4.6.3. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.6.2...v4.6.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>
-
- 29 Aug, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Allow `nil` for `c!` and `I!` specifiers of `mrb_get_args()`
-
- 28 Aug, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Integrate the processing of similar specifiers of `mrb_get_args()`
-
dearblue authored
-
dearblue authored
It is `o`, `C`, `S`, `A` and `H` specifiers that are integrated. As a side effect, the `C!` Specifier can now be used.
-
Yukihiro "Matz" Matsumoto authored
Refactor the `mrb_get_args()` function
-
- 27 Aug, 2021 1 commit
-
-
dearblue authored
- Removed the `ARGV` macro. The current path doesn't go into the mruby VM and there's also no need to separate variables. - Use common functions to check object types. - Use `mrb_ensure_string_type()` to check the string instead of `mrb_to_str()`. This is for consistency with array and hash. - Use `mrb_ensure_array_type()` to check the array instead of `to_ary()`. - Use `mrb_ensure_hash_type()` to check the hash instead of `to_hash()`. - Add and use `ensure_class_type()` to check class and module. - Changed the argument index type from `mrb_int` to `int`. Even if it is `int16_t`, it is enough. `mrb_int` is overkill, especially if `MRB_32BIT` and `MRB_INT64` are defined.
-
- 26 Aug, 2021 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.6.1 to 4.6.2
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.6.1...v4.6.2) --- 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
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`MRB_WORDBOX_USE_HEAP_FLOAT` instead of `MRB_USE_FLOAT_FULL_PRECISION`.
-
Yukihiro "Matz" Matsumoto authored
* use predefined `mrb_ro_data_p()` for user-mode Linux and macOS * define `MRB_LINK_TIME_RO_DATA_P` if predefined one is used * configure macro `MRB_USE_LINK_TIME_RO_DATA_P` is no longer used * contributions for new platforms are welcome
-
Yukihiro "Matz" Matsumoto authored
pre-commit autoupdate
-