| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-06-03 | Revert "Simplify rescue stack management; ref #3683" | Yukihiro "Matz" Matsumoto | |
| This reverts commit eb5a606fe209944d0757301edb331ed7ff0fd31f and 079f310fbc9c23b97f062230c32bd91ac65e4835. The rescue stack works differently from ensure stack, so the change caused #3686 and #3688. It might take long to solve the problems, so that I would revert the changes for now. Fix #3688 | |||
| 2017-06-03 | Check if a block is a lambda before marking it orphan; ref #3640 | Yukihiro "Matz" Matsumoto | |
| 2017-06-03 | Add checks for `break from proc-closure`; fix #3640 | Yukihiro "Matz" Matsumoto | |
| 2017-06-02 | Make `break` in lambdas work as `return` according to CRuby behavior. | Yukihiro "Matz" Matsumoto | |
| 2017-06-02 | Adjust ridx if `mrb_yield` terminated by `break`; fix #3686 | Yukihiro "Matz" Matsumoto | |
| This issue is related to #3640. | |||
| 2017-06-01 | Call `stack_clear()` after `stack_extend()`; fix #3682 | Yukihiro "Matz" Matsumoto | |
| 2017-06-01 | Simplify rescue stack management; ref #3683 | Yukihiro "Matz" Matsumoto | |
| 2017-06-01 | Simplify ensure stack management; fix #3683 | Yukihiro "Matz" Matsumoto | |
| 2017-06-01 | Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680 | Yukihiro "Matz" Matsumoto | |
| 2017-06-01 | Clear VM stack in OP_EXEC; ref #3678 | Yukihiro "Matz" Matsumoto | |
| 2017-06-01 | Simplify code since OP_EXEC never takes CFUNC Proc; #3678 | Yukihiro "Matz" Matsumoto | |
| 2017-05-31 | Reduce the size of VM stack clear window; ref #3676 | Yukihiro "Matz" Matsumoto | |
| 2017-05-31 | Clear VM stack for top level; fix #3676 | Yukihiro "Matz" Matsumoto | |
| Top-level local variables contained junk after ab25eaea2 | |||
| 2017-05-30 | Check env context before jump from OP_RETURN; fix #3673 | Yukihiro "Matz" Matsumoto | |
| 2017-05-30 | Exceptions in fibers must be re-raised via `#resume`; fix #3675 | Yukihiro "Matz" Matsumoto | |
| 2017-05-29 | Protect the returning value in OP_RETURN; fix #3669 | Yukihiro "Matz" Matsumoto | |
| Even though the returning value is retrieved from the stack, it may be freed if GC is caused during stack rewinding (e.g. ensure calls). | |||
| 2017-05-27 | Unwind callinfo (mrb->c->ci) when a fiber termitates with error. | Yukihiro "Matz" Matsumoto | |
| Fix #3668 | |||
| 2017-05-27 | Avoid unsharing env when context (mrb->c) differs; ref #3668 | Yukihiro "Matz" Matsumoto | |
| 2017-05-26 | Invoke ensure clauses on Fiber termination; fix #3666 | Yukihiro "Matz" Matsumoto | |
| Related to #3662 | |||
| 2017-05-25 | Revert "Use env preserved in Proc structure in ecall(); fix #3612" | Yukihiro "Matz" Matsumoto | |
| This reverts commit e26e11860466676e5713fa0d9ab268ea8dbdcef9. Fix #3664 | |||
| 2017-05-25 | Invoke ensure clauses before switching context from fibers; fix #3662 | Yukihiro "Matz" Matsumoto | |
| 2017-05-25 | Clear top level env in `mrb_top_run()`; fix #3643 | Yukihiro "Matz" Matsumoto | |
| 2017-05-25 | Avoid unsharing stack if env refers top-level; ref #3643 | Yukihiro "Matz" Matsumoto | |
| 2017-05-25 | Check env stack length before `OP_SETUPVAR`; ref #3643 | Yukihiro "Matz" Matsumoto | |
| 2017-05-25 | Avoid using `mrb_raise()` in `mrb_vm_exec()`; ref #3660 | Yukihiro "Matz" Matsumoto | |
| 2017-05-25 | Preserve the current pc before `method_missing()`; fix #3660 | Yukihiro "Matz" Matsumoto | |
| 2017-05-23 | Simplify backtrace mechanism; fix #3633 #3634 #3644 | Yukihiro "Matz" Matsumoto | |
| Instead of preserving a backtrace in `mrb_state`, `mrb_exc_set` keeps packed backtrace in an exception object. `#backtrace` unpacks it to an array of strings. | |||
| 2017-04-25 | Avoid duplicated `envadjust()` of env stacks; fix #3637 | Yukihiro "Matz" Matsumoto | |
| 2017-04-24 | Revert "Simplify pointer calculation in `envadjust`." | Tomasz Dąbrowski | |
| This reverts commit a1d32af91692c2b624e9c04fcd94aa958dbba626. | |||
| 2017-04-22 | Small cosmetic changes. | Yukihiro "Matz" Matsumoto | |
| 2017-04-22 | Use env preserved in Proc structure in ecall(); fix #3612 | Yukihiro "Matz" Matsumoto | |
| 2017-04-22 | Keep reference to mrb_context from env; fix #3619 | Yukihiro "Matz" Matsumoto | |
| 2017-04-21 | Simplify pointer calculation in `envadjust`. | Yukihiro "Matz" Matsumoto | |
| 2017-04-21 | Fixed a possible memory leak. | Yukihiro "Matz" Matsumoto | |
| 2017-04-21 | VM stack may be reallocated in `mrb_convert_type()`; fix #3622 | Yukihiro "Matz" Matsumoto | |
| 2017-04-20 | Do not raise an exception for living closure; ref #3359 | Yukihiro "Matz" Matsumoto | |
| 2017-04-19 | Use trampoline technique for `instance_exec`; ref #3359 | Yukihiro "Matz" Matsumoto | |
| A new function `mrb_yield_cont()` is provided. You have to call it at the end of a C defined method, e.g. `return mrb_yield_cont()`. | |||
| 2017-04-19 | Need to raise "break from proc-closure" error; fix #3359 fix #3495 | Yukihiro "Matz" Matsumoto | |
| Some examples in #3359 still behave differently from CRuby. | |||
| 2017-04-19 | Fixed a bug caused by last minute change; fix #3610 | Yukihiro "Matz" Matsumoto | |
| Omitted `goto L_RAISE` to raise an exception. | |||
| 2017-04-18 | Call envadjust() before updating VM stack. | Yukihiro "Matz" Matsumoto | |
| 2017-04-18 | `super` may call context switching method like `send`; fix #3611 | Yukihiro "Matz" Matsumoto | |
| 2017-04-18 | Add "no super" check to OP_ARGARY; fix #3610 | Yukihiro "Matz" Matsumoto | |
| 2017-04-12 | Let 'mrb_vm_run()` to restore the calling fiber; ref #3537 | Yukihiro "Matz" Matsumoto | |
| 2017-04-12 | Should not unshare env stack repeatedly; fix #3601 | Yukihiro "Matz" Matsumoto | |
| 2017-04-12 | `method_missing` might have updated stack beyond boundary; fix #3599 | Yukihiro "Matz" Matsumoto | |
| 2017-04-12 | Exceptions may be raised in yyparse(); fix #3600 | Yukihiro "Matz" Matsumoto | |
| 2017-04-10 | Protect arguments from GC; fix #3597 | Yukihiro "Matz" Matsumoto | |
| GC may be called with OP_ENTER (especially when GC_STRESS is set). | |||
| 2017-04-10 | Callinfo may be changed in `ecall()`; fix #3589 | Yukihiro "Matz" Matsumoto | |
| 2017-04-10 | Avoid clearing VM stack every time to gain performance. | Yukihiro "Matz" Matsumoto | |
| VM stack is cleared by 5c114c9, 0cb501 and c063641. | |||
| 2017-04-10 | Fill omitted arguments by nil for non-strict Proc. | Yukihiro "Matz" Matsumoto | |
