summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2012-10-23adjust regsiter stack for NODE_OP_ASGN that use OP_SENDYukihiro Matsumoto
2012-10-23skip useless OP_MOVE in peephole optimizationYukihiro Matsumoto
2012-10-23adjust regsiter stack for NODE_OP_ASGN; close #499Yukihiro Matsumoto
2012-10-23mrb_raisef(): new function. Same as previou version of mrb_raise().Masaki Muranaka
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-22Merge pull request #504 from monaka/pr-remove-redundant-sizeof-charYukihiro "Matz" Matsumoto
Remove redundant sizeof(char).
2012-10-22Merge pull request #503 from ↵Yukihiro "Matz" Matsumoto
monaka/pr-fix-protype-declaration-mismatch-in-uint8_dump Fix prototype/declaration mismatch in uint8_dump().
2012-10-22Remove redundant sizeof(char). "Always sizeof(char) == 1" is described in ↵Masaki Muranaka
ISO C specs.
2012-10-22Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char).Masaki Muranaka
2012-10-22Fix prototype/declaration mismatch in uint8_dump().Masaki Muranaka
2012-10-22Avoid memcpy() on copying structures.Masaki Muranaka
2012-10-21Merge pull request #500 from monaka/pr-avoid-memcpy-on-copying-structureYukihiro "Matz" Matsumoto
Avoid memcpy() on copying structures.
2012-10-21Avoid memcpy() on copying structures.Masaki Muranaka
2012-10-20avoid duplicated OP_RETURNYukihiro Matsumoto
2012-10-20pop register stack before rescueYukihiro Matsumoto
2012-10-20unexpect break/next/redo/retry should raise LocalJumpErrorYukihiro Matsumoto
2012-10-20pool string need not to convertYukihiro Matsumoto
2012-10-20should handle break in rescueYukihiro Matsumoto
2012-10-19shuld handle return in rescue; close #497Yukihiro Matsumoto
2012-10-19empty NODE_BEGIN should push nil; close #496Yukihiro Matsumoto
2012-10-19Merge pull request #495 from iij/pr-hexstr-load-brokenYukihiro "Matz" Matsumoto
Fix wrong storage of data when hex-style string is loaded
2012-10-19lshift must not assume sizeof(long) >= sizeof(mrb_int)Yukihiro Matsumoto
2012-10-18Fix wrong storage of data when hex-style string is loadedTakashi Sogabe
This patch fixes corruption of data when hex-style string is loaded. I saw following phenomenon in an ubuntu/amd64 environment. Test code: str = "\x0\x1\x2\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10" p str[-1] == "\0x10" Output(binary program with mrbc -B): false Output(script with mruby): true
2012-10-17Merge branch 'master' of github.com:mruby/mrubyYukihiro Matsumoto
2012-10-17Merge pull request #493 from iij/pr-return-breaks-spYukihiro "Matz" Matsumoto
Fix disappearance of a local variable when return statement is called
2012-10-17Fix degrades by #490. (Some changes are reverted.)Masaki Muranaka
2012-10-17Fix disappearance of a local variable when return statement is calledTakashi Sogabe
Commit of #18dd60c causes disappearance of a local variable if return statement is called without arguments. This patch fixes incorrect value of stack pointer. test program: def test_return_cond return if nil obj = 123 p obj p obj.class end test_return_cond output(commit #18dd60c): main Object output(includes this patch): 123 Fixnum
2012-10-17no memory copy for call_iseqYukihiro Matsumoto
2012-10-17should not free() static iseq from cdumpYukihiro Matsumoto
2012-10-16remove wasting stack spaceYukihiro Matsumoto
2012-10-16Kernel#block_given? always gave falseYukihiro Matsumoto
2012-10-16true/false should print proper inspect stringYukihiro Matsumoto
2012-10-16register number adjustment for case statement was wrong; close #487Yukihiro Matsumoto
2012-10-161.divmod(0) should not crash, but return [Inf,NaN] (CRuby incompat); close #492Yukihiro Matsumoto
2012-10-15Avoid memcpy() on copying structure.Masaki Muranaka
2012-10-15Avoid memcpy() on copying structure.Masaki Muranaka
2012-10-15Avoid memcpy() on copying structure.Masaki Muranaka
2012-10-09Bugfix for crash if main was extended with a module.Beoran
2012-10-04fix indent of mrb_exc_raiseYukihiro Matsumoto
2012-10-04should handle exception from Ruby implemented method called from funcall; ↵Yukihiro Matsumoto
close #484
2012-09-29Merge pull request #481 from monaka/pr-tiny-cleanup-20120929Yukihiro "Matz" Matsumoto
Tiny clean-up
2012-09-30wrong termination of mrb_run on exception; close #480Yukihiro Matsumoto
2012-09-29mrb_long2int(n) : Remove as unused.Masaki Muranaka
defines.h : Remove as already commented out.
2012-09-27Merge remote-tracking branch 'upstream/master' into mrbgemsDaniel Bovensiepen
2012-09-27should adjust array sizeYukihiro Matsumoto
2012-09-27load_exec should return undef on syntax errorsYukihiro Matsumoto
2012-09-26should not call mrb_parser_free() on NULL pointerYukihiro Matsumoto
2012-09-24Merge remote-tracking branch 'upstream/master' into mrbgemsDaniel Bovensiepen
2012-09-21should adjust pc after OP_CALLYukihiro Matsumoto
2012-09-20Merge remote-tracking branch 'upstream/master' into mrbgemsDaniel Bovensiepen
2012-09-20OP_CALL for cfunc must restore callinfo; close #476Yukihiro Matsumoto