| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-07-26 | parse.y: unify redundant functions `yywarn()` and `yywarning()`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | debug.c: small refactoring. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | debug.c: remove type cast warnings. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | fmt_fp.c: add implicit cast from `mrb_float` to `int8_t`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | vm.c: fix integer type error in `mrb_protect_error`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | irep.h: operand c should be fit in `uint8_t`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-26 | test/binding.rb: remove a duplicated test. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | time.c: fixed a potential buffer overflow in `time_zonename`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | time.c: fixed `time_zonename` buffer size bug. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | time.c: stop returning `LOCAL` for the zone name from `Time.zone`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | time.c: update the document for `Time#usec`; close #5515 | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | pack.c: fixed sign comparison warning. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | parse.y: replace `strtoul()` by `mrb_int_read()`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-25 | Remove redundant include headers. | Yukihiro "Matz" Matsumoto | |
| - stdlib.h - stddef.h - stdint.h - stdarg.h - limits.h - float.h | |||
| 2021-07-24 | Merge pull request #5514 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.5.1 build(deps): bump github/super-linter from 4.5.0 to 4.5.1 | |||
| 2021-07-23 | build(deps): bump github/super-linter from 4.5.0 to 4.5.1 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.5.0...v4.5.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-07-23 | codegen.c: fixed a bug in `OP_LOADI32` peephole optimization. | Yukihiro "Matz" Matsumoto | |
| 2021-07-22 | codegen.c: `get_int_operand()` to support `OP_LOADL` (int in pool). | Yukihiro "Matz" Matsumoto | |
| 2021-07-22 | codegen.c: add constant folding for unary numeric operators (+, -, ~). | Yukihiro "Matz" Matsumoto | |
| 2021-07-22 | codegen.c: compare symbol names directly avoiding string conversion. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: skip `-@` call if the argument is a literal integer. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: move `gen_setxv()` after `new_sym()`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: introduce `gen_int()` to generate integer instructions. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: add peephole optimization for `OP_LOADI32` before `OP_MOVE`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: add peephole optimization for `OP_LOADI16` before `OP_MOVE`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-21 | codegen.c: a new function `get_int_operand`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-20 | codegen.c: negative zero equals to positive zero. | Yukihiro "Matz" Matsumoto | |
| `OP_LOADI Rn -0` should be `OP_LOADI_0`. | |||
| 2021-07-20 | codegen.c: allow `OP_EXT` before `OP_ADDI` and `OP_SUBI`. | Yukihiro "Matz" Matsumoto | |
| This is preparation for integer constant folding. | |||
| 2021-07-19 | Remove unused prototypes for `mrb_proc_merge_lvar()`; ref #5511 | Yukihiro "Matz" Matsumoto | |
| 2021-07-19 | Merge pull request #5511 from dearblue/binding.3 | Yukihiro "Matz" Matsumoto | |
| Explicit write barrier for binding | |||
| 2021-07-18 | Merge pull request #5510 from dearblue/check-stdint | Yukihiro "Matz" Matsumoto | |
| Output an error if the `INTPTR_MAX` macro is undefined in C++ | |||
| 2021-07-17 | Merge pull request #5509 from dearblue/cast-c++ | Yukihiro "Matz" Matsumoto | |
| Avoid implicit casting from void pointers for C++ | |||
| 2021-07-17 | Explicit write barrier for binding | dearblue | |
| 2021-07-17 | Output an error if the `INTPTR_MAX` macro is undefined in C++ | dearblue | |
| When doing `conf.enable_cxx_abi` and compiling with FreeBSD + clang or MinGW, such as `INTPTR_MAX` constant macro is not defined if `#include <stdint.h>` precedes `#include <mruby.h>`. Currently I get a warning when I use an undefined macro, but if I don't notice it I get confused in a link error. It can be expected that the problem will be easier to understand by making a clear error. Adding `-Werror=undef` as a compiler flag can also result in an error, but this can be a problem if the system header file itself uses undefined macros, for example. This patch does minimal confirmation only, but has no side effects. | |||
| 2021-07-17 | Avoid implicit casting from void pointers for C++ | dearblue | |
| 2021-07-17 | codedump.c: update some instructions. | Yukihiro "Matz" Matsumoto | |
| - OP_GETGV - OP_SETGV - OP_GETSV - OP_SETSV - OP_GETIV - OP_SETIV - OP_GETCV - OP_SETCV - OP_GETCONST - OP_SETCONST - OP_GETMCNST - OP_SETMCNST - OP_GETUPVAR - OP_SETUPVAR | |||
| 2021-07-17 | codegen.c: optimize variable assignments after `OP_MOVE`. | Yukihiro "Matz" Matsumoto | |
| - `OP_SETGV` - `OP_SETIV` - `OP_SETCV` - `OP_SETCONST` | |||
| 2021-07-17 | codegen.c: optimize `OP_SETUPVAR` after `OP_MOVE`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-16 | Merge pull request #5508 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.5.0 build(deps): bump github/super-linter from 4.4.1 to 4.5.0 | |||
| 2021-07-16 | codegen.c: add new peephole optimization for `OP_MOVE`. | Yukihiro "Matz" Matsumoto | |
| If `OP_MOVE` comes after `OP_GETUPVAR`, you can skip move and redirect the destination register of `OP_GETUPVAR`. | |||
| 2021-07-16 | codegen.c: add new peephole optimization for `OP_GETUPVAR`. | Yukihiro "Matz" Matsumoto | |
| When `OP_GETUPVAR` is generated right after `OP_SETUPVAR`, there is no need to read the upvar back to the register, e.g. 3 008 OP_ADDI R2 1 3 011 OP_SETUPVAR R2 1 0 4 015 OP_GETUPVAR R2 1 0 4 019 OP_LOADI_2 R3 `OP_GETUPVAR` at the address `015` is useless. We can skip it like: 3 008 OP_ADDI R2 1 3 011 OP_SETUPVAR R2 1 0 4 015 OP_LOADI_2 R3 | |||
| 2021-07-15 | build(deps): bump github/super-linter from 4.4.1 to 4.5.0 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.4.1 to 4.5.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.4.1...v4.5.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-07-15 | test/syntax.rb: add tests for `break` and `redo`. | Yukihiro "Matz" Matsumoto | |
| 2021-07-15 | codegen.c: `gen_jmpdst` always needs to generate relative address. | Yukihiro "Matz" Matsumoto | |
| 2021-07-15 | Merge pull request #4141 from udzura/add-test-for-attr-nil-guard | Yukihiro "Matz" Matsumoto | |
| Add a testcase of #4137 fix | |||
| 2021-07-15 | Merge pull request #5507 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.4.1 build(deps): bump github/super-linter from 4.3.0 to 4.4.1 | |||
| 2021-07-14 | build(deps): bump github/super-linter from 4.3.0 to 4.4.1 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.3.0 to 4.4.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.3.0...v4.4.1) --- 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-07-14 | Merge pull request #5506 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.3.0 build(deps): bump github/super-linter from 4.2.2 to 4.3.0 | |||
| 2021-07-13 | build(deps): bump github/super-linter from 4.2.2 to 4.3.0 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.2 to 4.3.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.2.2...v4.3.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-07-12 | load.c: call `mrb_top_run()` from `mrb_load_proc()`; fix #5504 | Yukihiro "Matz" Matsumoto | |
| So that the function behave consistently with `mrb_load_proc()`. | |||
