summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-06-14Clear stack in OP_CALL; fix #3694Yukihiro "Matz" Matsumoto
2017-06-14Fixed uninitialized local variable bug; ref #3692Yukihiro "Matz" Matsumoto
2017-06-14The out-of-memory error should not be an instance of RuntimeError.Yukihiro "Matz" Matsumoto
And arena-overflow error as well. They should not be caught by `rescue` by default.
2017-06-14Avoid out-of-bound access of VM stack in OP_SENDB; fix #3692Yukihiro "Matz" Matsumoto
2017-06-13sizeof(optval) must be 1 for IP_MULTICAST_TTL & IP_MULTICAST_LOOP. fixes #34.Tomoyuki Sahara
2017-06-12Merge pull request #85 from ksss/readTomoyuki Sahara
Support outbuf argument for IO#read
2017-06-12Merge pull request #86 from ksss/writeTomoyuki Sahara
Reseek when write
2017-06-12Merge pull request #84 from ksss/posTomoyuki Sahara
To accurate `pos`
2017-06-12Reseek when writeksss
2017-06-12Support outbuf argument for IO#readksss
2017-06-11To accurate `pos`ksss
pos shouldn't cache because it's not controllable
2017-06-07Handles exceptions from code generation phase; fix #3695Yukihiro "Matz" Matsumoto
2017-06-07mruby 1.2.0 assumes test blocks return their results. master does not.Tomoyuki Sahara
2017-06-07Merge pull request #13 from ksss/unpack-utf8Tomoyuki Sahara
Support unpack template "U"
2017-06-05Merge pull request #80 from ksss/sysreadTomoyuki Sahara
IO#sysread Check for readable
2017-06-05Limit recursion level of `codegen()`; fix #3690Yukihiro "Matz" Matsumoto
2017-06-03Revert "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-03Prohibit changing generational mode during GC disabled; fix #3689Yukihiro "Matz" Matsumoto
2017-06-03Check if a block is a lambda before marking it orphan; ref #3640Yukihiro "Matz" Matsumoto
2017-06-03Add checks for `break from proc-closure`; fix #3640Yukihiro "Matz" Matsumoto
2017-06-02Make `break` in lambdas work as `return` according to CRuby behavior.Yukihiro "Matz" Matsumoto
2017-06-02Revert "Update NODE_BLOCK check logic in `void_expr_error`."Yukihiro "Matz" Matsumoto
This reverts commit 31e30686b0bd9333eb0593fb1fb43b9b99744517.
2017-06-02Fixed a bug that make a loop in singleton_class clone; fix #3687Yukihiro "Matz" Matsumoto
2017-06-02Update NODE_BLOCK check logic in `void_expr_error`.Yukihiro "Matz" Matsumoto
2017-06-02Restore `test/t/codegen.rb`Yukihiro "Matz" Matsumoto
2017-06-02Fixed a bug in `void_expr_error`.Yukihiro "Matz" Matsumoto
2017-06-02Add more precise void expression checks; ref #3686Yukihiro "Matz" Matsumoto
2017-06-02Remove tests which can not be compiled on CRuby.Yukihiro "Matz" Matsumoto
2017-06-02Adjust ridx if `mrb_yield` terminated by `break`; fix #3686Yukihiro "Matz" Matsumoto
This issue is related to #3640.
2017-06-01Avoid invoking GC when disabled or iterating; fix #3681Yukihiro "Matz" Matsumoto
2017-06-01Call `stack_clear()` after `stack_extend()`; fix #3682Yukihiro "Matz" Matsumoto
2017-06-01Simplify rescue stack management; ref #3683Yukihiro "Matz" Matsumoto
2017-06-01Simplify ensure stack management; fix #3683Yukihiro "Matz" Matsumoto
2017-06-01Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680Yukihiro "Matz" Matsumoto
2017-06-01Print most recent call last as CPython does.Yukihiro "Matz" Matsumoto
2017-06-01Check for super using OP_ARGARY; fix #3678Yukihiro "Matz" Matsumoto
It generates a wasted empty array for each `super` call though. It should be fixed in the future, if possible.
2017-06-01Clear VM stack in OP_EXEC; ref #3678Yukihiro "Matz" Matsumoto
2017-06-01Simplify code since OP_EXEC never takes CFUNC Proc; #3678Yukihiro "Matz" Matsumoto
2017-05-31Restore MRB_API function `mrb_exc_backtrace(mrb, exc)`; ref 9644ad5Yukihiro "Matz" Matsumoto
2017-05-31Prevent splicing big recursive arrrays; ref #3679Yukihiro "Matz" Matsumoto
We know this is not perfect, but this change makes hack like #3679 bit harder. Harmless for useful cases.
2017-05-31Simplify the logic in `mrb_realloc`; ref #3679Yukihiro "Matz" Matsumoto
2017-05-31Revert 4566c80; fix #3679Yukihiro "Matz" Matsumoto
The patch deallocate the memory in `mrb_default_allocf` but that hinders GC in `mrb_realloc`.
2017-05-31Avoid infinite loop on negative exponent; fix #3677Yukihiro "Matz" Matsumoto
2017-05-31Reduce the size of VM stack clear window; ref #3676Yukihiro "Matz" Matsumoto
2017-05-31Clear VM stack for top level; fix #3676Yukihiro "Matz" Matsumoto
Top-level local variables contained junk after ab25eaea2
2017-05-30Check env context before jump from OP_RETURN; fix #3673Yukihiro "Matz" Matsumoto
2017-05-30Avoid using C++ style comments (//).Yukihiro "Matz" Matsumoto
2017-05-30Initialize String before Exception; fix #3672Yukihiro "Matz" Matsumoto
The old order generated some strings with their class set to NULL.
2017-05-30Exceptions in fibers must be re-raised via `#resume`; fix #3675Yukihiro "Matz" Matsumoto
2017-05-29Mark the proc object representing top-level as an internal object; #3621Yukihiro "Matz" Matsumoto