| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-05-25 | Move "src/mrb_throw.h" to "include/mruby/throw.h". | take_cheeze | |
| Related to #2760. | |||
| 2015-05-23 | Move `mrb_codedump_all` to "src/codedump.c". | take_cheeze | |
| Related to #2760. | |||
| 2015-05-20 | there may be expecting here-doc when we see terminating characters; fix #2780 | Yukihiro "Matz" Matsumoto | |
| 2015-05-07 | fix splat without assignment; fix #2781 | cremno | |
| The parser generates NODE_NIL for tSTAR without argument in masgns. The codegen didn't handle that. | |||
| 2015-02-24 | Fix a bug that no expression case doesn't return valid value | Kouhei Sutou | |
| Here is a script that reproduces this problem: x = case when true; 1 end p x # => main # 1 is expected | |||
| 2015-02-24 | Fix a bug that if and no return value case can't return true clause value | Kouhei Sutou | |
| Here is a script that reproduce this problem: x = if true 1 else case 2 when 3 end 4 end p x # => nil # 1 is expected | |||
| 2014-12-23 | Fix splat and multiple assignments | Kouhei Sutou | |
| Case1: From variable Code: a = [1, 2, 3, 4, 5] b, c, *d = a p [a, b, c, d] Before: [[1, 2, 3, 4, 5], 1, 2, []] After: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Ruby: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Case2: From variables Code: a = [1, 2, 3] b = [4, 5, 6, 7] c, d, *e, f, g = *a, *b p [a, b, c, d, e, f, g] Before: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [], 6, 7] After: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Case 3: "for" Code: a = [1, 2, 3, 4, 5, 6, 7] for b, c, *d, e, f in [a] do p [a, b, c, d, e, f] end Before: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [], nil, nil] After: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] | |||
| 2014-12-01 | should not pop register when value from multiple assignment required | Yukihiro "Matz" Matsumoto | |
| 2014-11-27 | wrong register adjustment | Yukihiro "Matz" Matsumoto | |
| 2014-11-26 | wrong register number adjustment in multiple assignment; fix #2654 | Yukihiro "Matz" Matsumoto | |
| 2014-11-26 | OP_APOST local variable display was wrong | Yukihiro "Matz" Matsumoto | |
| 2014-11-23 | align indent of local variable names in codedump() | Yukihiro "Matz" Matsumoto | |
| 2014-11-22 | should support recursive mlhs decomposition, e.g. (a,b),c = [1,2],3 | Yukihiro "Matz" Matsumoto | |
| 2014-10-28 | Refactor for_body func | Jun Hiroe | |
| 2014-09-08 | fixed wandering filename problem | Yukihiro "Matz" Matsumoto | |
| 2014-09-03 | get rid of shadowing variables | cremno | |
| Mostly by renaming the shadowing variable. If a shadowing variable was deleted, the shadowed one can be used instead. | |||
| 2014-08-29 | more OP_MOVE swap detection in peephole optimization | Yukihiro "Matz" Matsumoto | |
| 2014-08-29 | allow no_optimize esp. for debugger | Yukihiro "Matz" Matsumoto | |
| 2014-08-29 | Fix mismatches for MRB_API declarations. | Tatsuhiko Kubo | |
| 2014-08-27 | Add a missing space after ",". | Tatsuhiko Kubo | |
| 2014-08-26 | printf: cast variables to the expected type | cremno | |
| %x expects unsigned int and %p expects void * GCC emits a diagnostic about %p/void* in pedantic mode: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542 | |||
| 2014-08-20 | should use non NULL scope for raise_error(); ref #2547 | Yukihiro "Matz" Matsumoto | |
| 2014-08-20 | Fix allocation-error-handlings for scope_new(). | Tatsuhiko Kubo | |
| 2014-08-20 | Use specified macro(NULL) instead of magic-number. | Tatsuhiko Kubo | |
| 2014-08-18 | refactor mruby method(fix indent. remove temporary value, duplicate procedure) | kkkkkt | |
| 2014-07-09 | invalid base shouldn't silently fail | cremno | |
| Revert 44a5809224e819bf8bcca4ae9a8c5ea5bf4cefd7 and check range of `base` with `mrb_assert`. It actually can only be either 2, 8, 10 or 16 (and never 0), unless mruby sources are modified. But I don't see a reason to impose further limits. | |||
| 2014-06-13 | Using 'mrb_assert' instead of an returning 0 while checking s->irep in ↵ | Jose Narvaez | |
| codegen.c. | |||
| 2014-06-13 | Revert "Fixed dereference to null pointer in 'codegen.c' reported by ↵ | Jose Narvaez | |
| 'clang-analyzer'" This reverts commit 29f14e728d319d9fc80702ba78959c1957944767. | |||
| 2014-06-13 | Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-13 | Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-13 | Fixed possible division by zero in 'codegen.c' reported by 'clang-analyzer' | Jose Narvaez | |
| 2014-06-10 | reserve a register for a block parameter in a for statement body; ref #2375 | Yukihiro "Matz" Matsumoto | |
| 2014-06-10 | NODE_FOR does not introduce new local variables | Yukihiro "Matz" Matsumoto | |
| 2014-06-09 | codedump should display proper L(n) for OP_STRING op | Yukihiro "Matz" Matsumoto | |
| 2014-05-16 | register<nlocals may not have a local variable name (e.g. a block arg); fix ↵ | Yukihiro "Matz" Matsumoto | |
| #2258 | |||
| 2014-05-14 | print_r() and print_lv() should only be compiled in for ENABLE_STDIO | Mitchell Blank Jr | |
| 2014-05-14 | mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gem | Yukihiro "Matz" Matsumoto | |
| 2014-05-14 | resize register number in LVAR section from 32bits to 16bits | Yukihiro "Matz" Matsumoto | |
| 2014-05-14 | Merge branch 'dump_lv' of https://github.com/take-cheeze/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| take-cheeze-dump_lv | |||
| 2014-05-13 | Remove unnecessary newline in `OP_GETGLOBAL` codedump. | take_cheeze | |
| 2014-04-29 | Remove `lv_len` and use `nlocals - 1` instead. | take_cheeze | |
| Check that `lv`'s length is always `nlocals - 1`. | |||
| 2014-04-29 | Support local variables information dumping. | take_cheeze | |
| 2014-04-29 | indent codedump when file/line info is not available; ref #2147 | Yukihiro "Matz" Matsumoto | |
| 2014-04-28 | Use int32_t as line variable type. | take_cheeze | |
| 2014-04-28 | Print file name and line number in codedump if available. | take_cheeze | |
| 2014-04-28 | fix OP_BLKPUSH dump format | Yukihiro "Matz" Matsumoto | |
| 2014-04-28 | prevent printf warning | Yukihiro "Matz" Matsumoto | |
| 2014-04-28 | better codedump formatting | Yukihiro "Matz" Matsumoto | |
| 2014-04-28 | presreve local variables names in irep->lv | Yukihiro "Matz" Matsumoto | |
| 2014-04-27 | rename `mrb_str_buf_append` to `mrb_str_cat_str` | cremno | |
| The new name is better and less confusing, because: - `mrb_str_append` calls `mrb_str_to_str` and this function doesn't - `mrb_str_buf_append` _is_ `mrb_str_cat` for `mrb_value` strings | |||
