| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-08-10 | build(deps): bump github/super-linter from 4.6.0 to 4.6.1 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.6.0...v4.6.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| 2021-08-10 | Merge pull request #5524 from dearblue/gem-headers | Yukihiro "Matz" Matsumoto | |
| Expose all header files of the gems for small compilation | |||
| 2021-08-09 | Expose all header files of the gems for small compilation | dearblue | |
| After building mruby, if the user compiles and links to `libmruby.a`, expose the included directory of the captured gems. This is a change to the `<build-dir> /lib/libmruby.flags.mak` file and will result in being added to `bin/mruby-config --cflags`. This eliminates the need for the user to look up the path and add the compiler flag if the user wants to take advantage of her gems publishing features. In the main build with `rake CONFIG=...`, there is no problem because it can only be seen from the gems that depends directly and indirectly as before. However, when compiling independently by the user using `bin/mruby-config`, a header file name collision may occur if a unique header directory is added. | |||
| 2021-08-09 | Merge pull request #5525 from jbampton/pre-commit-autoupdate | Yukihiro "Matz" Matsumoto | |
| pre-commit autoupdate | |||
| 2021-08-09 | pre-commit autoupdate | John | |
| https://pre-commit.com/#pre-commit-autoupdate | |||
| 2021-08-09 | Merge pull request #5522 from dearblue/pack-EOF | Yukihiro "Matz" Matsumoto | |
| Fixed compilation error of "mruby-pack" with `MRB_NO_STDIO` | |||
| 2021-08-08 | Merge pull request #5523 from jbampton/patch-1 | Yukihiro "Matz" Matsumoto | |
| docs: fix case of mruby | |||
| 2021-08-07 | docs: fix case of mruby | John Bampton | |
| 2021-08-07 | Fixed compilation error of "mruby-pack" with `MRB_NO_STDIO` | dearblue | |
| 2021-08-07 | codedump.c: print two operands `R(x)` and `R(x+1)` for clarity. | Yukihiro "Matz" Matsumoto | |
| 2021-08-07 | codegen.c: need to push the value when the loop was eliminated. | Yukihiro "Matz" Matsumoto | |
| 2021-08-07 | array.h: avoid duplicated defined of `MRB_ARY_NO_EMBED`; fix #5520 | Yukihiro "Matz" Matsumoto | |
| 2021-08-07 | Merge pull request #5521 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.6.0 build(deps): bump github/super-linter from 4.5.1 to 4.6.0 | |||
| 2021-08-06 | build(deps): bump github/super-linter from 4.5.1 to 4.6.0 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.1 to 4.6.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.5.1...v4.6.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-08-06 | numeric_ext.c: fix a bug regarding `MRB_INT_MIN`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-06 | numeric.c: fix a bug regarding `MRB_INT_MIN`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-06 | codegen.c: `-9223372036854775808 % -1` overflows 64 bit integer. | Yukihiro "Matz" Matsumoto | |
| 2021-08-05 | codegen.c: remove code duplication from `NODE_ARRAY`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-04 | codegen.c: detect integer overflow in division. | Yukihiro "Matz" Matsumoto | |
| `MRB_INT_MIN / -1` overflows. | |||
| 2021-08-04 | numeric.c: fix a bug in left shift of negative integer. | Yukihiro "Matz" Matsumoto | |
| `-1 * (1<<63)` causes overflow, but `-1<<63` is a valid value. | |||
| 2021-08-03 | numeric.c: check zero division before modulo. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | codegen.c: check zero division before constant folding. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric_ext.c: `modulo` and `remainder` should handle infinite argument. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric_ext.c: add `Float#modulo` and `#remainder` methods. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric_ext.c: update `Integer#remainder` method. | Yukihiro "Matz" Matsumoto | |
| - need to detect zero division error - support floating point number argument (as `%`) | |||
| 2021-08-03 | Revert "numeric.c: simplifies `int_mod` definition." | Yukihiro "Matz" Matsumoto | |
| This reverts commit 3738d62a86a54524d5d7738ddbafe4700ca6a889. The change changed the behavior with floating point numbers. | |||
| 2021-08-03 | codegen.c: avoid division by zero in constant folding. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric_ext.c: use `mrb_integer` instead of `mrb_as_int`. | Yukihiro "Matz" Matsumoto | |
| `mrb_as_int` implicitly converts the value into the integer, but those methods are defined for Integer class so that the value should always be integers. | |||
| 2021-08-03 | numeric.c: simplifies `int_mod` definition. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric_ext.c: define `modulo` and `remainder` methods for `Integer`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | Replace `mrb_fixnum_value()` with `mrb_int_value()`. | Yukihiro "Matz" Matsumoto | |
| Use `mrb_fixnum_value()` only when you are absolutely sure that the value is within `Fixnum` range, i.e. 31 bits signed integer at least. | |||
| 2021-08-03 | Replace `fixnum` references with `int`. | Yukihiro "Matz" Matsumoto | |
| The `Fixnum` class is no longer provided by `mruby`. | |||
| 2021-08-03 | numeric_ext.c: remove unnecessary prefix `mrb_` from static functions. | Yukihiro "Matz" Matsumoto | |
| 2021-08-03 | numeric.c: rename `fixdivmod` to `intdivmod`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | codegen.c: allow constant folding for negative integer modulo. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | numeric.c: simpler integer modulo calculation. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | mrdb.c: do not skip `OP_JMP` on step execution. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | codegen.c: refactor `readint()` to read `MRB_INT_MIN`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | numeric.c: use C's modulo operator if both operands are positive. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | test/driver.c: remove unused constants related to `FIXNUM`. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | codegen.c: fix a bug in bit shift constant folding. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | numeric.c: refactor integer bit shift operations. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | codegen.c: refactor unary operator optimization. | Yukihiro "Matz" Matsumoto | |
| 2021-08-02 | codegen.c: constant folding binary operators, <<, >>, %, &, |, ^. | Yukihiro "Matz" Matsumoto | |
| 2021-08-01 | codegen.c: eliminate loop if condition is constant. | Yukihiro "Matz" Matsumoto | |
| For example, `while false; ...; end` should be removed. | |||
| 2021-08-01 | codegen.c: peephole optimize OP_JMPxxx. | Yukihiro "Matz" Matsumoto | |
| 2021-07-31 | codegen.c: allow constant folding for mul / div. | Yukihiro "Matz" Matsumoto | |
| 2021-07-31 | codegen.c: `mrb_prev_pc()` to take previous instruction position. | Yukihiro "Matz" Matsumoto | |
| It rescans `s->iseq` so that peephole optimizer can take multiple previous instructions for constant folding, etc. | |||
| 2021-07-30 | codedump.c: instruction length should be `ilen`, not `iseq`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-29 | codegen.c: order instructions in natural order for loops. | Yukihiro "Matz" Matsumoto | |
| `while` and `until` generates in `cond` `jmpif` `body` `jmp` order. It used to be in `jmp` `body` `cond` `jmpif` order. | |||
