- 29 May, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
* refactor `mrb_integer_to_str()` * refactor `mrb_str_format()`
-
Yukihiro "Matz" Matsumoto authored
-
- 28 May, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump actions/cache from 2.1.5 to 2.1.6
-
dependabot[bot] authored
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6) Signed-off-by:
dependabot[bot] <support@github.com>
-
- 27 May, 2021 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
So that `mruby -e 'a'` does not print backtrace history, i.e. ``` % mruby -e 'a' -e:1: undefined method 'a' (NoMethodError) ``` Instead of ``` % mruby -e 'a' trace (most recent call last): [1] -e:1 -e:1: undefined method 'a' (NoMethodError) ```
-
Yukihiro "Matz" Matsumoto authored
Method names need not to be printed in backtrace history.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Use only `mrb_ary_entry` hereafter.
-
- 26 May, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 3.17.1 to 4.0.2
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.17.1 to 4.0.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3.17.1...v4.0.2) Signed-off-by:
dependabot[bot] <support@github.com>
-
- 25 May, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 24 May, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Instead of using copyrighted `strtod`, now use the public domain implementation of `strtod` by Yasuhiro Matsumoto (@mattn). The function has been renamed to `mrb_float_read()`; ref #5460 as well.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 22 May, 2021 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix typo in `src/fmt_fp.c` [ci skip]
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Too many digits to fit in single precision float numbers, so that tests fail when `MRB_USE_FLOAT32` defined.
-
Yukihiro "Matz" Matsumoto authored
The function was intended to be a utility function for `mruby-sprintf`. The functionality was integrated into `sprintf.c`.
-
Yukihiro "Matz" Matsumoto authored
The original code can be found in `https://github.com/dhylands/format-float`. Changes: - support `double` - support `#` (alt_form) modifier - small refactoring
-
- 20 May, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
With major refactoring to prepare removing `snprintf(3) calls.
-
Yukihiro "Matz" Matsumoto authored
- `mrb_float_to_str()` - `mrb_float_to_cstr()` Both functions will be replaced to support new coming `format-float.c`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`fmt_fp.c` does not support those specifiers. In addition, I believe no one uses hexadecimal representation of float values.
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #5456 from shuujii/support-load-64-bit-integer-from-mrb-format-with-MRB_32BIT-and-MRB_INT64 Support load 64-bit integer from mrb format with MRB_32BIT and MRB_INT64
-
KOBAYASHI Shuji authored
-
- 18 May, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
This change allows `def hello = puts "Hello"` without parentheses. This syntax has been introduced since Ruby3.1.
-
Yukihiro "Matz" Matsumoto authored
-
- 17 May, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Consistent number conversion function names: * `mrb_value` to immediate (C) value * `mrb_int()` -> `mrb_as_int()` * `mrb_to_flo()` -> `mrb_as_float()` * `mrb_value` to `mrb_value` (converted) * `mrb_to_int()' * `mrb_Integer()` - removed * `mrb_Float()` -> `mrb_to_float` Consistent function name (avoid `_flo` suffix): * `mrb_div_flo()` -> `mrb_div_float`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
To be consistent, functions with `rational_` prefix implements methods, functions with `rat_` prefix are utility functions.
-
- 16 May, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-