| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-15 | Merge pull request #4512 from lopopolo/patch-1 | Yukihiro "Matz" Matsumoto | |
| Support parsing a Regexp literal with 'o' option | |||
| 2019-09-14 | Revert "Update `%pure-parser` to `%define api.pure` for newer `bison`; fix ↵ | Yukihiro "Matz" Matsumoto | |
| #4706" The `bison` on MacOS does not support `%define api.pure`. This reverts commit f7c9f1f796d83b9316917681ea068ff648248425. | |||
| 2019-09-14 | Update `%pure-parser` to `%define api.pure` for newer `bison`; fix #4706 | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Skip `nil?` method call in `if` conditionals. | Yukihiro "Matz" Matsumoto | |
| Compile `if expr.nil?` to use `OP_JMPNIL` instead of calls. | |||
| 2019-08-20 | Fixed a bug in the `OP_JMPNOT` optimization (13eaff4); fix #4644 | Yukihiro "Matz" Matsumoto | |
| 2019-08-19 | Merge pull request #4639 from dearblue/suppress-Wstringop-truncation | Yukihiro "Matz" Matsumoto | |
| Suppress warnings for `strncat()` | |||
| 2019-08-18 | Suppress warnings for `strncat()` | dearblue | |
| `strncat()` also needs `'\0'`. | |||
| 2019-08-18 | Prohibit changes to iseq in principle | dearblue | |
| 2019-08-17 | Remove unnecessary `OP_JMPNOT` for `unless` statement. | Yukihiro "Matz" Matsumoto | |
| 2019-08-16 | Avoid creating unnecessary empty arrays on splat. | Yukihiro "Matz" Matsumoto | |
| But this changes requires `OP_ARYCAT` and `OP_ARYPUSH` to accept `nil` as their first operand. Alternative VMs (e.g. `mruby/c`) that understand mruby bytecode need to be updated. | |||
| 2019-08-12 | Remove unnecessary prototypes from 'keywords`; fix #4628 | Yukihiro "Matz" Matsumoto | |
| 2019-08-05 | Use new specifiers/modifiers of `mrb_vfromat()` | KOBAYASHI Shuji | |
| The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back. | |||
| 2019-07-27 | Fix line number bug; fix #4513 | Yukihiro "Matz" Matsumoto | |
| Also fix the misfeature introduced in 23783a4, that ignores newlines between method chains. | |||
| 2019-07-17 | Revert #4300 | KOBAYASHI Shuji | |
| Originally, it was not necessary to change. I made mistake. | |||
| 2019-07-15 | Unify type of line number to `uint16_t` | KOBAYASHI Shuji | |
| 2019-06-17 | Support parsing a Regexp literal with 'o' option | Ryan Lopopolo | |
| CRuby supports a 'o' `Regexp` option for `Regexp` literals, e.g. `/foo/o` that disables multiple interpolation passes. This commit adds support for parsing such literals. Nothing is done with the option, it is consumed and ignored by the parser. | |||
| 2019-06-17 | Fixed indentation in parse.y | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Allow newlines and comments between method calls. | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Support `&.` at the beginning of the line. | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Fixed wrong behavior on `..` at the beginning of the line. | Yukihiro "Matz" Matsumoto | |
| 2019-05-16 | Enable `YYSTACK_USE_ALLOCA`. | Yukihiro "Matz" Matsumoto | |
| It used heap allocated memory for the parser stack, but there's possibility of parser termination by exceptions. In that case, the parser stack memory is leaked. We were afraid of stack consumption, but parser stack size is only 4KB, so we don't have to worry about it (at least for the parser). | |||
| 2019-05-15 | Fix | Ukrainskiy Sergey | |
| 2019-05-15 | Small refactoring | Ukrainskiy Sergey | |
| 2019-05-15 | Initial suffix support | Ukrainskiy Sergey | |
| 2019-05-03 | Clean duplicate code | dearblue | |
| Removed duplicates in the code entered for "Concatenate string literal". | |||
| 2019-04-14 | Merge pull request #4376 from dearblue/leak-symbols | Yukihiro "Matz" Matsumoto | |
| Fix leaked function symbols | |||
| 2019-04-14 | Fix leaked function symbols | dearblue | |
| - `free_heap()` in src/gc.c - `symhash()` in src/symbol.c - `no_optimize()` in mrbgems/mruby-compiler/core/codegen.c | |||
| 2019-04-14 | Fix string index for appending | dearblue | |
| `sizeof(string-literal)` is included `'\0'` character | |||
| 2019-04-14 | Fix hexdigits convertion | dearblue | |
| 2019-04-12 | Deallocate `s->lines` in `codegen_error`; ref #4370 | Yukihiro "Matz" Matsumoto | |
| 2019-04-12 | The number of local variables should be less than 1024; fix #4370 | Yukihiro "Matz" Matsumoto | |
| The `env` stores stack length in a 10 bit field. See `MRB_ENV_STACK_LEN()` macro. | |||
| 2019-04-11 | Fix buffer overflows in parser. | Clayton Smith | |
| 2019-04-10 | Rename `itoa` to `dump_int` to avoid name crash; ref #4173 | Yukihiro "Matz" Matsumoto | |
| 2019-04-08 | Avoid using `snprintf` when `MRB_DISABLE_STDIO` is set; fix #4173 | Yukihiro "Matz" Matsumoto | |
| 2019-04-01 | Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342 | Yukihiro "Matz" Matsumoto | |
| The addresses for packed inline symbols reference `mrb->symbuf` that could be overridden by the later call of `mrb_sym2name_len`. Since file names in call stack information are kept as symbols, keeping the address in the C structures could cause problems like #4342. This changes small incompatible changes in function prototypes: * `mrb_parser_get_filename`: return value changed to `mrb_sym`. * `mrb_debug_get_filename`: add `mrb_state*` as a first argument. * `mrb_debug_get_line`: ditto. I believe above functions are almost internal, and no third-party mrbgem use them. | |||
| 2019-03-25 | Use uppercase version of `ctype` macros e.g. `ISSPACE`; fix #4338 | Yukihiro "Matz" Matsumoto | |
| 2019-02-28 | Add `warning: ` prefix to parser warning message | KOBAYASHI Shuji | |
| 2019-02-28 | Merge pull request #4301 from shuujii/remove-unnecessary-backticks | Yukihiro "Matz" Matsumoto | |
| Remove unnecessary backticks; ref #2858 | |||
| 2019-02-27 | Compositing `NODE_DSTR` and `NODE_DSTR` | dearblue | |
| 2019-02-27 | Compositing `NODE_DSTR` and `NODE_STR` | dearblue | |
| 2019-02-27 | Compositing `NODE_STR` and `NODE_DSTR` | dearblue | |
| 2019-02-27 | Replacement to function for composite two string nodes | dearblue | |
| 2019-02-27 | Replacement to function for `NODE_STR` cheking | dearblue | |
| 2019-02-27 | Compositing `NODE_STR` and `NODE_STR` | dearblue | |
| 2019-02-27 | Concatenate string literals | dearblue | |
| 2019-02-27 | Remove unnecessary backticks; ref #2858 | KOBAYASHI Shuji | |
| 2019-02-27 | Use `yywarning()` instead of `yywarning_s()` for `MRB_WITHOUT_FLOAT` | KOBAYASHI Shuji | |
| 2019-02-18 | Use key argument register for `OP_KEY_P` to reduce register use. | Yukihiro "Matz" Matsumoto | |
| 2019-02-11 | Small refactoring in `codegen.c` | KOBAYASHI Shuji | |
| 2019-02-07 | Add `OP_ENTER` to blocks without parameters; fix #4175 | Yukihiro "Matz" Matsumoto | |
| So that `lambda{}.call(1)` raises `ArgumentError` as CRuby does. Also, fixed junk assignment for `lambda{|;a|p a}.call{}`. | |||
