- 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
-
- 25 Aug, 2021 1 commit
-
-
- 24 Aug, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Checks the frozen object with `mrb_get_args()`
-
- 23 Aug, 2021 3 commits
-
-
dearblue authored
This now works with the `+` modifier that can be added after each specifier. - `nil` is bypassed. - The `s` and `z` specifiers are received in C as a `const char *`, so adding a `+` modifier will raise an exception. - The `a` specifier is received in C as `const mrb_value *`, so adding a `+` modifier will raise an exception. - The `|`, `*`, `&`, `?` and `:` specifiers with `+` modifier raises an exception. If `!`/`+` exceeds one for each specifier, an exception will occur in the subsequent processing. This is the same behavior as before.
-
dearblue authored
The previously used `given` variable will be merged into the `pickarg` pointer variable, which points to the argument currently being processed for each loop.
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Aug, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Organize the include of header files
-
Yukihiro "Matz" Matsumoto authored
Stirs internal state when `seed` is set in `Random`
-
- 21 Aug, 2021 1 commit
-
-
dearblue authored
- `#include <math.h>` is done in `mruby.h`. Eliminate the need to worry about the `MRB_NO_FLOAT` macro. - Include mruby header files before standard header files. If the standard header file is already placed before `mruby.h`, the standard header file added in the future tends to be placed before `mruby.h`. This change should some reduce the chances of macros that must be defined becoming undefined in C++ or including problematic header files in a particular mruby build configuration.
-