| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | Use `mrb_funcall_id()` extensively. | Yukihiro "Matz" Matsumoto | |
| Except for support files e.g. `mruby-test/driver.c`, which are not target of symbol collection via `rake gensym`. | |||
| 2020-10-12 | Use more `MRB_QSYM()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `MRB_QSYM()` instead of `MRB_OPSYM()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `MRB_OPSYM()` instead of `mrb_intern_lit()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `MRB_SYM()` for inline symbols. | Yukihiro "Matz" Matsumoto | |
| 2020-09-10 | Update `y.tab.c`; ref #4933 | Yukihiro "Matz" Matsumoto | |
| 2020-09-10 | Merge pull request #4933 from dearblue/variables | Yukihiro "Matz" Matsumoto | |
| Fix take over file scope variables with `mruby` and `mirb` command | |||
| 2020-08-11 | Fix `mrb_int` and `size_t` combination warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-06-09 | Update `OP_HASH` generation to support big hash creation. | Yukihiro "Matz" Matsumoto | |
| 2020-06-05 | Change arena index from `mrb_int` to `int`. | Yukihiro "Matz" Matsumoto | |
| 2020-06-02 | Remove `patch_irep()` in `mruby-eval` | dearblue | |
| - It can now deal with operands in the range of `OP_EXT*`. - It can now call the same method as the variable name without arguments. ```ruby def a "Safe!" end a = "Auto!" eval "a()" # call method `a` ``` | |||
| 2020-05-25 | Add `y.tab.c` to remove Bison from build dependencies; ref 4ce3997c | KOBAYASHI Shuji | |
| I sometimes see Bison related problems in setting up build environments. Therefore to remove Bison from build time dependencies, add `y.tab.c` generated by Bison to the repository. The reduction of dependency at build time also reduces the labor and time for setup and installation in CI. In addition, a path in `#line` directive is converted to a relative path so that its path is constant regardless of development environments. | |||
| 2020-05-15 | Remove `YYERROR_VERBOSE` which no longer supported since `bison 3.6`. | Yukihiro "Matz" Matsumoto | |
| Instead we added `%define parse.error verbose`. | |||
| 2020-05-09 | Fix boundary check for `OP_LOADI16`; ref fa8668c | dearblue | |
| It was making a negative integer if the highest-order bit of a 16-bit integer was 1. no patched: ```ruby p 0x7fff # => 32767 p 0x8000 # => -32768 p 0xffff # => -1 p 0x10000 # => 65536 ``` | |||
| 2020-05-07 | Add a new instruction `OP_LOADI16`. | Yukihiro "Matz" Matsumoto | |
| Which loads 16bit integer to the register. The instruction number should be reorder on massive instruction refactoring. The instruction is added for `mruby/c` which had performance issue with `OP_EXT`. With this instruction, `mruby/c` VM can just raise errors on `OP_EXT` extension instructions. | |||
| 2020-05-07 | Fix wrong line number before comment line; fix #4993 | Yukihiro "Matz" Matsumoto | |
| 2020-04-27 | Updating `parse.y for recent `bison` (retry). | Yukihiro "Matz" Matsumoto | |
| 2020-04-27 | Revert "Change obsolete `%pure-parser` to `%define api.pure`." | Yukihiro "Matz" Matsumoto | |
| This reverts commit 682a31f92b3ac86ca59f7e8e740197e50b4452e5. Unfortunately, I couldn't run newer `bison` on TravisCI. Maybe next time. | |||
| 2020-04-27 | Change obsolete `%pure-parser` to `%define api.pure`. | Yukihiro "Matz" Matsumoto | |
| Recent `bison` warns for `%pure-parser`. We kept it since MacOS only provide ancient `bison`, but the warning is noisy and there's no hope that Apple will upgrade `bison`. MacOS users must install the newer version of `bison`, by typing `brew install bison` for example. Note that `brew` does not overwrite the `bison` execution path automatically, so you need to update your `.bash_profile` as instructed by `brew`. | |||
| 2020-04-25 | Implemented argument forwarding by `...` | Yukihiro "Matz" Matsumoto | |
| 2020-04-01 | Avoid unnecessary `nextc()` recursion. | Yukihiro "Matz" Matsumoto | |
| 2020-01-19 | Add `mrbc_cleanup_local_variables()` with `mrbc_context`; ref #4931 | dearblue | |
| Clean up defined local variables. | |||
| 2020-01-08 | `p->locals` may be `NULL` when error occurs before the point. | Yukihiro "Matz" Matsumoto | |
| This is reported by oss-fuzz: Issue 19886: mruby:mruby_fuzzer: Potential-null-reference in setup_numparams | |||
| 2020-01-06 | Avoid creating temporary objects in `read_irep_record_1`; close #4920 | Yukihiro "Matz" Matsumoto | |
| The basic idea of this change is from @dearblue. Note: the arguments of `mrb_str_pool()` have changed, but the function is provided for internal use (No `MRB_API`). So basically you don't have to worry about the change. | |||
| 2020-01-05 | Fix ainfo with keyword arguments; fix #4921 | dearblue | |
| 2020-01-01 | Allow `here-doc` in the middle of Hash expressions; fix #4815 | Yukihiro "Matz" Matsumoto | |
| 2019-12-27 | Merge pull request #4910 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-Rake-DSL-instead-of-commands-of-FileUtils Use Rake DSL instead of commands of `FileUtils` | |||
| 2019-12-27 | Use Rake DSL instead of commands of `FileUtils` | KOBAYASHI Shuji | |
| - Respect `--verbose(-v)` and `--dry-run(-n)` options. - Silence warnings to keyword arguments on Ruby 2.7. | |||
| 2019-12-27 | Prohibit assignment to numbered parameters. | Yukihiro "Matz" Matsumoto | |
| It is stricter than CRuby but confusing anyway. | |||
| 2019-12-27 | Allow non numbered-parameter identifier like `_1` outside of blocks. | Yukihiro "Matz" Matsumoto | |
| But it causes warnings as CRuby does; fix #4892 fix #489 | |||
| 2019-12-27 | Numbered parameters: usually linked list uses `cdr` for links. | Yukihiro "Matz" Matsumoto | |
| 2019-12-27 | Prohibit numbered parameters as method arguments; fix #4892 | Yukihiro "Matz" Matsumoto | |
| As of CRuby2.7 it is only warned. `mruby` prohibits explicitly to implement the future Ruby3 behavior. | |||
| 2019-12-23 | Handle CR LF newline natively in lexer | take-cheeze | |
| 2019-12-21 | Numbered parameters should not be available in the lambda bodies. | Yukihiro "Matz" Matsumoto | |
| `mruby` does not warn like `CRuby` for cases like #4893. Fix #4890, fix #4891, fix #4893. | |||
| 2019-12-21 | `_0` is not numbered parameter | KOBAYASHI Shuji | |
| #### Before this patch: ```console $ bin/mruby rb -e '_0=:l; p ->{_0}.()' -e:1:13: _0 is not available -e:1:13: syntax error, unexpected $end, expecting '}' ``` #### After this patch (same as Ruby): ```console $ bin/mruby rb -e '_0=:l; p ->{_0}.()' :l ``` | |||
| 2019-12-21 | Fix SEGV from numbered parameters outside of blocks; fix #4862 | Yukihiro "Matz" Matsumoto | |
| 2019-12-09 | Warnings for numbered parameters in nested blocks. | Yukihiro "Matz" Matsumoto | |
| 2019-12-09 | Parser refactoring on numbered parameters. | Yukihiro "Matz" Matsumoto | |
| Now identifiers like `_1abc` are allowed. | |||
| 2019-12-09 | Support new numbered parameter syntax `_1` instead of `@1`. | Yukihiro "Matz" Matsumoto | |
| 2019-12-09 | Implement numbered parameters | Ukrainskiy Sergey | |
| 2019-11-19 | Always enable the rational and complex literals | KOBAYASHI Shuji | |
| I think they can always be enabled because the regular expression literal is always enabled. | |||
| 2019-11-14 | Fix here document with EOF | KOBAYASHI Shuji | |
| #### Before this patch: ``` $ bin/mruby -e 'p <<EOS 1 EOS' -e:4:0: can't find heredoc delimiter "EOS" anywhere before EOF -e:4:0: syntax error, unexpected $end, expecting tHEREDOC_END or tHD_STRING_PART or tHD_STRING_MID ``` #### After this patch (same as Ruby): ``` $ bin/mruby -e 'p <<EOS 1 EOS' "1\n" ``` | |||
| 2019-11-13 | Use `mrb_intern_lit` if possible in `parse.y` | KOBAYASHI Shuji | |
| 2019-11-12 | Use `intern` instead of `intern_cstr` if possible in `parse.y` | KOBAYASHI Shuji | |
| 2019-11-08 | Fixed a bug in keyword arguments in block parameters; fix #4810 | Yukihiro "Matz" Matsumoto | |
| This is caused by incomplete fix in #4746 | |||
| 2019-11-08 | Allow here-doc before closing parentheses; ref #4796 | Yukihiro "Matz" Matsumoto | |
| 2019-11-04 | Avoid using C++ style comments (`//`) in `parse.y` [ci skip] | KOBAYASHI Shuji | |
| 2019-10-30 | Fix here-doc inside parens and brackets; fix #4796 | Yukihiro "Matz" Matsumoto | |
| 2019-10-11 | Move exception raising to `scope_new`. | Yukihiro "Matz" Matsumoto | |
| Besides that fix bugs that mistakenly calls `raise_error` that emits code to raise runtime error instead of `codegen_error` that terminates code generation immediately. | |||
| 2019-10-04 | Refactor local variables addition in optional/keyword arguments. | Yukihiro "Matz" Matsumoto | |
