| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-04 | Merge branch 'test' of https://github.com/mirichi/mruby into mirichi-test | Yukihiro "Matz" Matsumoto | |
| 2021-06-04 | Merge pull request #5469 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.1.0 build(deps): bump github/super-linter from 4.0.2 to 4.1.0 | |||
| 2021-06-04 | build(deps): bump github/super-linter from 4.0.2 to 4.1.0 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.0.2...v4.1.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| 2021-06-03 | add a few regressions test from #2313 | Yukihiro "Matz" Matsumoto | |
| The code was contributed from Carson McDonald (@carsonmcdonald) | |||
| 2021-06-02 | vm.c: unify `JUMP` instructions in `OP_SEND`. | Yukihiro "Matz" Matsumoto | |
| 2021-06-01 | cdump.c: rename `dump_` prefix to `cdump` for static functions. | Yukihiro "Matz" Matsumoto | |
| 2021-06-01 | cdump.c: separate irep dump in C feature. | Yukihiro "Matz" Matsumoto | |
| 2021-05-31 | Merge pull request #5464 from shuujii/fix-typo-in-lib-mruby-presym.rb | Yukihiro "Matz" Matsumoto | |
| Fix typo in `lib/mruby/presym.rb` | |||
| 2021-05-31 | Fix typo in `lib/mruby/presym.rb` | KOBAYASHI Shuji | |
| 2021-05-31 | numeric.c: fixed a silly bug related to pointer decrement. | Yukihiro "Matz" Matsumoto | |
| 2021-05-30 | sprintf.c: avoid object allocation in integer formatting. | Yukihiro "Matz" Matsumoto | |
| 2021-05-30 | numeric.c: introduce `mrb_int_to_cstr()` to dump `mrb_int`. | Yukihiro "Matz" Matsumoto | |
| * refactor `mrb_integer_to_str()` * refactor `mrb_str_format()` | |||
| 2021-05-29 | codegen.c: just raise the exception on broken node for assignments. | Yukihiro "Matz" Matsumoto | |
| 2021-05-28 | Merge pull request #5463 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/actions/cache-2.1.6 build(deps): bump actions/cache from 2.1.5 to 2.1.6 | |||
| 2021-05-28 | build(deps): bump actions/cache from 2.1.5 to 2.1.6 | dependabot[bot] | |
| 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] <[email protected]> | |||
| 2021-05-28 | kernel.c: avoid recursive VM call in `mrb_f_caller`. | Yukihiro "Matz" Matsumoto | |
| 2021-05-28 | kernel.c: `caller` should not include the frame for itself. | Yukihiro "Matz" Matsumoto | |
| 2021-05-28 | backtrace.c: do not skip frames for C function calls. | Yukihiro "Matz" Matsumoto | |
| 2021-05-28 | vm.c: skip actual `method_missing` call unless it's overridden. | Yukihiro "Matz" Matsumoto | |
| 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) ``` | |||
| 2021-05-27 | kernel.c: clear `mid` for `raise` and `method_missing` | Yukihiro "Matz" Matsumoto | |
| Method names need not to be printed in backtrace history. | |||
| 2021-05-27 | backtrace.c: do not print trace line if there's no backtrace history | Yukihiro "Matz" Matsumoto | |
| 2021-05-27 | array.c: unify `mrb_ary_ref` and `mrb_ary_entry` | Yukihiro "Matz" Matsumoto | |
| Use only `mrb_ary_entry` hereafter. | |||
| 2021-05-27 | array.c: check for negative shift size. | Yukihiro "Matz" Matsumoto | |
| 2021-05-26 | fmt_fp.c: move mruby specific `mrb_float_to_str` to `numeric.c` | Yukihiro "Matz" Matsumoto | |
| 2021-05-26 | Merge pull request #5461 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.0.2 build(deps): bump github/super-linter from 3.17.1 to 4.0.2 | |||
| 2021-05-26 | build(deps): bump github/super-linter from 3.17.1 to 4.0.2 | dependabot[bot] | |
| 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] <[email protected]> | |||
| 2021-05-25 | fmt_fp.c: truncate precision to prevent buffer overflow. | Yukihiro "Matz" Matsumoto | |
| 2021-05-25 | fmt_fp.c: use constant that depends on `mrb_float` size. | Yukihiro "Matz" Matsumoto | |
| 2021-05-25 | fmt_fp.c: use a const int instead of a macro constant. | Yukihiro "Matz" Matsumoto | |
| 2021-05-24 | strtod.c: new public domain implementation of `strtod`; ref #5448 | Yukihiro "Matz" Matsumoto | |
| 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. | |||
| 2021-05-24 | fmt_fp.c: exponential may be bigger than `100`. | Yukihiro "Matz" Matsumoto | |
| 2021-05-24 | class.c: no need to create aliases if both symbols are same. | Yukihiro "Matz" Matsumoto | |
| 2021-05-24 | class.c: add write barrier for aliases. | Yukihiro "Matz" Matsumoto | |
| 2021-05-23 | Merge pull request #5459 from shuujii/fix-typo-in-src-fmt_fp.c | Yukihiro "Matz" Matsumoto | |
| Fix typo in `src/fmt_fp.c` [ci skip] | |||
| 2021-05-22 | Fix typo in `src/fmt_fp.c` [ci skip] | KOBAYASHI Shuji | |
| 2021-05-22 | mruby-sprintf: reduce float digits to avoid test failure. | Yukihiro "Matz" Matsumoto | |
| Too many digits to fit in single precision float numbers, so that tests fail when `MRB_USE_FLOAT32` defined. | |||
| 2021-05-22 | fp_fmt.c: remove `mrb_float_to_cstr()`. | Yukihiro "Matz" Matsumoto | |
| The function was intended to be a utility function for `mruby-sprintf`. The functionality was integrated into `sprintf.c`. | |||
| 2021-05-22 | fmt_fp.c: replace with public domain float format routine; ref #5448 | Yukihiro "Matz" Matsumoto | |
| The original code can be found in `https://github.com/dhylands/format-float`. Changes: - support `double` - support `#` (alt_form) modifier - small refactoring | |||
| 2021-05-21 | fmt_fp.c: remove `fmt` argument from `mrb_float_to_str()`. | Yukihiro "Matz" Matsumoto | |
| With major refactoring to prepare removing `snprintf(3) calls. | |||
| 2021-05-21 | numeric.h: remove 2 functions from `MRB_API` | Yukihiro "Matz" Matsumoto | |
| - `mrb_float_to_str()` - `mrb_float_to_cstr()` Both functions will be replaced to support new coming `format-float.c`. | |||
| 2021-05-21 | test/syntax.rb: fix endless def warning (no assertion). | Yukihiro "Matz" Matsumoto | |
| 2021-05-21 | sprintf.c: remove specifiers `%a` and `%A`. | Yukihiro "Matz" Matsumoto | |
| `fmt_fp.c` does not support those specifiers. In addition, I believe no one uses hexadecimal representation of float values. | |||
| 2021-05-21 | Merge pull request #5456 from ↵ | Yukihiro "Matz" Matsumoto | |
| 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 | |||
| 2021-05-20 | Support load 64-bit integer from mrb format with MRB_32BIT and MRB_INT64 | KOBAYASHI Shuji | |
| 2021-05-18 | parse.y: allow "command" syntax in endless method definition. | Yukihiro "Matz" Matsumoto | |
| This change allows `def hello = puts "Hello"` without parentheses. This syntax has been introduced since Ruby3.1. | |||
| 2021-05-18 | parse.y: endless singleton method definition can omit parens. | Yukihiro "Matz" Matsumoto | |
| 2021-05-17 | Global renaming regarding `integer` and `float`. | Yukihiro "Matz" Matsumoto | |
| 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` | |||
| 2021-05-17 | Rename `mrb_fixnum_to_str` to `mrb_integer_to_str`. | Yukihiro "Matz" Matsumoto | |
| 2021-05-17 | Rename `mrb_flo_to_fixnum` to `mrb_float_to_integer`. | Yukihiro "Matz" Matsumoto | |
| 2021-05-17 | rational.c: update function prefixes. | Yukihiro "Matz" Matsumoto | |
| To be consistent, functions with `rational_` prefix implements methods, functions with `rat_` prefix are utility functions. | |||
