Commit Graph

1378 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 7ccc6fa28c Merge pull request #460 from iij/pr-nul-in-string
compiler may generate broken binary if string literal has NUL characters
2012-09-10 06:13:05 -07:00
Yukihiro "Matz" Matsumoto 1b882609e1 Merge pull request #458 from bovi/master
Add Tests for current Changes in Code Base
2012-09-10 06:12:03 -07:00
Yukihiro "Matz" Matsumoto c999216aa8 Merge pull request #459 from shancat/warning_fix
Fixed Windows warning.
2012-09-10 06:11:30 -07:00
Yukihiro Matsumoto e49224284d OP_EQ should try direct compararison first 2012-09-10 22:09:24 +09:00
Yukihiro Matsumoto b21afdfbaf use mrb_test 2012-09-10 22:06:57 +09:00
Yukihiro Matsumoto 1a816db854 eagerly reduce allocated array memory 2012-09-10 21:54:42 +09:00
Yukihiro Matsumoto 22f22cc2e2 use mrb_malloc instead of clearing mrb_calloc 2012-09-10 20:46:24 +09:00
Yukihiro Matsumoto b0f3c28caa simplify array generation from mrb_run 2012-09-10 20:36:03 +09:00
Yukihiro Matsumoto fd252fecf4 check special_const before calling respond_to? 2012-09-10 20:35:42 +09:00
Tomoyuki Sahara ebf88eec6b a string may have NUL characters. 2012-09-10 18:44:30 +09:00
Shannen Saez 151d75b4e0 Fixed Windows warning.
Compiling on Windows 7 from a Windows SDK 7 prompt with CMake.
`nmake all test` now works with the `tzset()` warning gone.
2012-09-10 17:12:38 +10:00
Yukihiro Matsumoto d416a5c3fe should have preserved original method name 2012-09-10 11:01:36 +09:00
Yukihiro Matsumoto 51686a006a inlining some mrb_value assignments 2012-09-10 03:23:23 +09:00
Daniel Bovensiepen fffa89014e Add Time Tests 2012-09-09 15:28:27 +08:00
Daniel Bovensiepen e6fb7d988a Add Module Tests 2012-09-09 15:28:14 +08:00
Daniel Bovensiepen 5b96b41b8a Add Kernel Tests 2012-09-09 15:28:01 +08:00
Yukihiro Matsumoto 9e7ca5d944 mrb might be intialized incompletely from mrbc; close #457 2012-09-09 13:14:32 +09:00
Yukihiro Matsumoto fc52d2d6e0 Merge branch 'master' of github.com:mruby/mruby 2012-09-06 22:48:06 +09:00
Yukihiro "Matz" Matsumoto 84bfb2a7f1 Merge pull request #456 from joequery/test_info
Add more info on how to run tests
2012-09-06 06:47:54 -07:00
Yukihiro Matsumoto 3c95aff5ac some cosmetic change on OP_SENDB 2012-09-06 22:46:56 +09:00
Yukihiro Matsumoto e01c5a2b5b add CASE(OP_SENDB) for non direct_threaded; close #455 2012-09-06 22:45:42 +09:00
Joseph McCullough 4ef8c5ab28 Add more info on how to run tests 2012-09-06 07:49:14 -05:00
Yukihiro Matsumoto 7f30385d4a MRB_TT_MAIN is an immediate type; need make clean; close #452 2012-09-06 19:41:02 +09:00
Yukihiro Matsumoto 4f6600b98a add Time#inspect 2012-09-06 01:44:01 +09:00
Yukihiro Matsumoto c0ac010b68 add Module#inspect; close #453 2012-09-06 01:42:53 +09:00
Yukihiro Matsumoto f9f425ae5f inspect on classes should not cause SEGV 2012-09-06 01:41:45 +09:00
Yukihiro "Matz" Matsumoto ac26b2a85d Merge pull request #449 from masamitsu-murase/free_rescue_and_ensure_in_mrb_close
Free mrb->rescue and mrb->ensure.
2012-09-04 15:05:18 -07:00
Yukihiro "Matz" Matsumoto e8b419edc2 Merge pull request #448 from masamitsu-murase/check_iv_tbl
Check iv in mrb_iv_remove.
2012-09-04 14:14:34 -07:00
Yukihiro "Matz" Matsumoto e8ae210c25 Merge pull request #451 from monaka/pr-print-usage
[xpcat] Print usage in the parameter error.
2012-09-04 14:13:53 -07:00
Yukihiro "Matz" Matsumoto 3f2743c3e1 Merge pull request #447 from iij/pr-tailcall-oob
fix out-of-bound access on compiling empty blocks.
2012-09-04 14:11:35 -07:00
Yukihiro "Matz" Matsumoto 9c3f070a8c Merge pull request #450 from monaka/pr-avoid-using-memset
Avoid using memset
2012-09-04 14:10:13 -07:00
Masaki Muranaka 71672494c8 Costmetic change. 2012-09-05 03:11:13 +09:00
Masaki Muranaka 8a7678a8dc Print usage in case using -o without outputfile. 2012-09-05 03:10:11 +09:00
Masaki Muranaka 4854f21c08 Remove some redundant memset(). 2012-09-05 02:56:32 +09:00
Masaki Muranaka 75da995489 Fix not to use memset() in structure inizialization. 2012-09-05 02:55:25 +09:00
Masaki Muranaka a1876bc22b Reset last_code_line instead of ruby_code. 2012-09-05 02:50:34 +09:00
Masamitsu MURASE ab5a5813c4 Free mrb->rescue and mrb->ensure. 2012-09-05 02:42:49 +09:00
Masamitsu MURASE e79c38b6c6 Check iv.
iv_del should be called in mrb_iv_remove only when t is not NULL.
2012-09-05 02:21:21 +09:00
Yukihiro Matsumoto 50d469d900 small performance tweak; inline assignment 2012-09-04 23:02:24 +09:00
Yukihiro Matsumoto bf7f9f83c7 rename config macro name IV_INITIAL_SIZE -> IVHASH_INIT_SIZE 2012-09-04 17:38:27 +09:00
Tomoyuki Sahara 65f855b044 add IIJ. 2012-09-04 16:33:19 +09:00
Tomoyuki Sahara 20e9d53fb8 fix out-of-bound access on compiling empty blocks. 2012-09-04 15:59:39 +09:00
Yukihiro Matsumoto eb080397fa zero check added to mrb_fixnum_mul as well 2012-09-03 22:22:57 +09:00
Yukihiro Matsumoto 7d1673276c zero check before overflow check devision; close #446 2012-09-03 21:13:19 +09:00
Yukihiro Matsumoto dabe3ca0c7 mirb would terminate on quit in the continuing line 2012-09-03 15:34:22 +09:00
Yukihiro Matsumoto 4e8317f5df do no generate lineno info if no filename is specified 2012-09-03 15:33:35 +09:00
Yukihiro Matsumoto 4f7a1a167d remove memleaks using linked allocator 2012-09-03 08:34:31 +09:00
Yukihiro Matsumoto 5340126443 remove OP_LOADNIL before OP_SEND by introducing OP_SENDB (send with block) 2012-09-03 08:32:57 +09:00
Yukihiro Matsumoto 8fb23fe67d improve local variable dump in parser_dump 2012-09-03 02:47:12 +09:00
Yukihiro Matsumoto ba0154c671 should print file:line when exception is raised within mrblib 2012-09-03 01:26:12 +09:00