summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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 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-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-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-21should adjust pc after OP_CALLYukihiro Matsumoto
2012-09-20OP_CALL for cfunc must restore callinfo; close #476Yukihiro Matsumoto
2012-09-13should define String#+ (non inlined); close #469Yukihiro Matsumoto
2012-09-13Merge branch 'master' of github.com:mruby/mrubyYukihiro Matsumoto
2012-09-12check if an Exception instance has a "mesg" attributeTomoyuki Sahara
fix the issue that "Exception.new.inspect" causes SIGSEGV.
2012-09-12mrb_sym can be short integer; reduced 10KBYukihiro Matsumoto
2012-09-12remoce duplicate declaration of TOUPPER/TOLOWERYukihiro Matsumoto
2012-09-12two more wrapper macros for ctype.hTomoyuki Sahara
we need them on the platform where 'char' is signed.
2012-09-12typo fixedYukihiro Matsumoto
2012-09-12Merge branch 'master' of github.com:mruby/mrubyYukihiro Matsumoto
2012-09-10Merge pull request #463 from emboss/define_dbl_dig_conditionallyYukihiro "Matz" Matsumoto
Define DBL_DIG only if it wasn't previously defined
2012-09-11Fixes #464.Shannen Saez
2012-09-11Define DBL_DIG only if it wasn't previously definedemboss
DBL_DIG may already be defined on the target system, defining it without checking first may overwrite system values.
2012-09-10Merge pull request #461 from bovi/makefile-writing-fixesYukihiro "Matz" Matsumoto
Fix writing errors in Makefiles
2012-09-10Fix writing errors in MakefilesDaniel Bovensiepen
2012-09-10Array#reverse! should call ary_modifyYukihiro Matsumoto
2012-09-10Merge pull request #460 from iij/pr-nul-in-stringYukihiro "Matz" Matsumoto
compiler may generate broken binary if string literal has NUL characters
2012-09-10Merge pull request #459 from shancat/warning_fixYukihiro "Matz" Matsumoto
Fixed Windows warning.
2012-09-10OP_EQ should try direct compararison firstYukihiro Matsumoto
2012-09-10use mrb_testYukihiro Matsumoto
2012-09-10eagerly reduce allocated array memoryYukihiro Matsumoto
2012-09-10use mrb_malloc instead of clearing mrb_callocYukihiro Matsumoto
2012-09-10simplify array generation from mrb_runYukihiro Matsumoto
2012-09-10check special_const before calling respond_to?Yukihiro Matsumoto
2012-09-10a string may have NUL characters.Tomoyuki Sahara
2012-09-10Fixed Windows warning.Shannen Saez
Compiling on Windows 7 from a Windows SDK 7 prompt with CMake. `nmake all test` now works with the `tzset()` warning gone.
2012-09-10should have preserved original method nameYukihiro Matsumoto
2012-09-10inlining some mrb_value assignmentsYukihiro Matsumoto
2012-09-09mrb might be intialized incompletely from mrbc; close #457Yukihiro Matsumoto