| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-02-05 | Fix ensure with yield context on break and return | Kouhei Sutou | |
| How to reproduce: class A def x yield ensure y end def y end end # Work A.new.x do end # Not work # trace: # [2] /tmp/a.rb:5:in A.x # [0] /tmp/a.rb:15 # /tmp/a.rb:5: undefined method 'y' for main (NoMethodError) A.new.x do break end # trace: # [2] /tmp/a.rb:5:in A.call # [0] /tmp/a.rb:19 # /tmp/a.rb:5: undefined method 'y' for main (NoMethodError) lambda do A.new.x do return end end.call `self` in ensure is broken when yield and break/return are used. | |||
| 2015-01-26 | Use setter macro instead of directly setting values | Xuejie "Rafael" Xiao | |
| 2014-11-28 | preserve ICLASS in ci->target_class; fix #2657; ensuring #1467 #1470 #1493 ↵ | Yukihiro "Matz" Matsumoto | |
| still works | |||
| 2014-11-19 | Fix an error when calling a method implemented in C by super() with ↵ | sdottaka | |
| arguments. This fix makes the following code workable: Expected: class MRBTime < Time; def self.new; super(2012, 4, 21); end; end MRBTime.new # => Sat Apr 21 00:00:00 2012 Actual: class MRBTime < Time; def self.new; super(2012, 4, 21); end; end MRBTime.new # => can't convert nil into Integer (TypeError) | |||
| 2014-10-15 | fix typo (i->idx) | Jan Berdajs | |
| 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-09-01 | remove ci->nreg initialization from cipush() | Yukihiro "Matz" Matsumoto | |
| 2014-08-28 | add write barrier to env on pop call info poped. #2525 | dycoon | |
| 2014-08-26 | use MRB_STRINGIZE | cremno | |
| It's defined in mruby/version.h which gets included in mruby.h, so it's safe to use. | |||
| 2014-08-09 | Fix a bug that class variable can't be referenced from class method | Kouhei Sutou | |
| Class method defined in singleton class should be evaluated in class context not singleton class context. fix #2515 | |||
| 2014-08-07 | removed non-need space | go kikuta | |
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-07-23 | check if block is given in eval_under(); fix #2486 | Yukihiro "Matz" Matsumoto | |
| 2014-07-12 | use SystemStackError instead of RuntimeError | Yukihiro "Matz" Matsumoto | |
| 2014-07-09 | rename SET_FIXNUM_VALUE to SET_INT_VALUE since it sets mrb_int value | Yukihiro "Matz" Matsumoto | |
| 2014-07-09 | Clean up value.h and mrb_value boxing | David Turnbull | |
| 2014-06-26 | Sacrifice some micro-optimization to remove duplicate code | Patrick Pokatilo | |
| 2014-06-25 | OP_ENTER: Rewrite split aspec use macros | ksss | |
| 2014-06-10 | should not add extra stack space to callinfo->nregs; maybe related to #2375 | Yukihiro "Matz" Matsumoto | |
| 2014-06-03 | Remove space. | yui-knk | |
| 2014-05-30 | add internal function mrb_toplevel_run_keep() to keep stack contents; close ↵ | Yukihiro "Matz" Matsumoto | |
| #2326 | |||
| 2014-05-21 | direct invocation of instance_eval | Yukihiro "Matz" Matsumoto | |
| 2014-05-21 | direct invocation of module_eval; ref #2298 | Yukihiro "Matz" Matsumoto | |
| 2014-05-21 | break in blocks cannot cross C function boundaries; fix #2298 | Yukihiro "Matz" Matsumoto | |
| 2014-05-16 | include/mruby/opcode.h fix operation doc | ksss | |
| src/vm.c fix operation doc [ci skip] | |||
| 2014-05-14 | mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gem | Yukihiro "Matz" Matsumoto | |
| 2014-05-13 | Consolidate muliptlication into one place | Carson McDonald | |
| 2014-05-13 | protect argument array from GC in OP_ENTER | Yukihiro "Matz" Matsumoto | |
| 2014-05-13 | convert &arg using to_proc; fix #2242 | Yukihiro "Matz" Matsumoto | |
| 2014-05-10 | OP_ENTER fix segmentation fault | ksss | |
| 2014-05-09 | OP_ENTER clean block object in register | ksss | |
| 2014-05-06 | OP_ENTER fix variable assignment | ksss | |
| 2014-05-05 | add function for checked mrb_int subtraction | cremno | |
| 2014-05-05 | add function for checked mrb_int addition | cremno | |
| 2014-05-04 | Don't reset ridx,eidx. And fix for #1949 | sasaki takeru | |
| 2014-05-02 | goto STOP if ridx==0 | sasaki takeru | |
| 2014-05-01 | On overflow, clear new stack space before mrb_raise | Carson McDonald | |
| 2014-04-29 | Add doubling stack extend, as fix for #2016 | kyab | |
| 2014-04-29 | clear all stack everytime to prevent GC crash; ref #2109 | Yukihiro "Matz" Matsumoto | |
| 2014-04-29 | clear ci->proc to prevent GC crash | Yukihiro "Matz" Matsumoto | |
| 2014-04-28 | should care about the case that given arguments are less then mandatory ↵ | Yukihiro "Matz" Matsumoto | |
| formal arguments and optional arguments exist; close #2144 | |||
| 2014-04-26 | The correct is to compare the MRB_STACK_GROWTH. | mirichi | |
| 2014-04-26 | check length before calling stack_copy(); based on a patch from @mirich; ↵ | Yukihiro "Matz" Matsumoto | |
| close #2129 | |||
| 2014-04-25 | Refactoring OP_CALL | mirichi | |
| 2014-04-25 | eliminate plain int except for a few cases like arena_index | Yukihiro "Matz" Matsumoto | |
| 2014-04-23 | fixed. | mirichi | |
| 2014-04-22 | bug fixed | mirichi | |
| 2014-04-22 | reduce the init size of stack | mirichi | |
| 2014-04-22 | OP_SEND refactoring | mirichi | |
| 2014-04-21 | remove `mrb_str_buf_cat` | cremno | |
| It does the same as `mrb_str_cat`. | |||
