Commit Graph

1583 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 08213e32e8 const reference from instance_eval should not cause SEGV 2012-07-25 08:53:49 +09:00
Akira Kuroda f114e3e252 fix segmentation fault in Array#last 2012-07-25 00:05:51 +09:00
Yukihiro Matsumoto 88b638cf82 instance_eval should set target_class in the block 2012-07-24 23:16:41 +09:00
Yukihiro Matsumoto 42b7d75a67 instance_eval should raise NotImplementedError on string argument 2012-07-24 22:57:59 +09:00
Yukihiro Matsumoto 328353b287 treat exceptional usec value 2012-07-23 23:25:00 +09:00
Yukihiro Matsumoto fcc64c9f93 Merge branch 'master' of github.com:mruby/mruby 2012-07-23 17:06:58 +09:00
Yukihiro "Matz" Matsumoto edee3f33c0 Merge pull request #392 from monaka/pr-use-memcpy-instead-of-strncpy
Use memcpy instead of strncpy
2012-07-23 00:27:27 -07:00
Masaki Muranaka d73a54d80a Use memcpy instead of strncpy 2012-07-23 10:18:11 +09:00
Yukihiro Matsumoto cac740c750 remove duplicated variable declaration 2012-07-23 08:45:53 +09:00
Yukihiro Matsumoto 8b6f6faf1e separate sec and usec in mrb_time_plus 2012-07-23 08:38:24 +09:00
Yukihiro Matsumoto 8dc69cf216 time.c: separate sec and usec to keep precisions 2012-07-23 07:33:18 +09:00
Yukihiro "Matz" Matsumoto 6cd32ee4c2 Merge pull request #391 from crimsonwoods/android_ndk_support
fix: SIZE_MAX is not defined in "stdint.h"
2012-07-22 14:02:09 -07:00
Yukihiro Matsumoto a9a91c3561 Time.at should take optional second argument 2012-07-22 23:16:40 +09:00
crimsonwoods d61cb77346 fix: SIZE_MAX is not defined in "stdint.h" 2012-07-22 23:10:15 +09:00
Yukihiro Matsumoto 3de8c4441e Merge branch 'master' of github.com:mruby/mruby 2012-07-22 23:07:45 +09:00
Yukihiro Matsumoto 6ada0df27e mruby should print exception 2012-07-22 23:07:21 +09:00
Yukihiro "Matz" Matsumoto 1b9708ef83 Merge pull request #390 from akuroda/float_test
add test cases in test/t/float.rb
2012-07-22 06:35:13 -07:00
Yukihiro "Matz" Matsumoto 5926a4406e Merge pull request #389 from masamitsu-murase/modify_module_initialization
Remove initialization of mt.
2012-07-22 06:34:39 -07:00
Akira Kuroda 9dd3ac36d1 add test cases for floor, inifinite?, truncate, ceil, and round 2012-07-22 21:53:58 +09:00
Masamitsu MURASE a4c6b1c75e Remove initialization of mt. 2012-07-22 00:35:49 +09:00
Yukihiro "Matz" Matsumoto 78aa61453e Merge pull request #388 from masamitsu-murase/modify_irep_allocation_size
Modify allocation size of mrb->irep.
2012-07-21 06:51:54 -07:00
Masamitsu MURASE 7010aebbce Modify allocation size of mrb->irep. 2012-07-21 19:40:20 +09:00
Yukihiro "Matz" Matsumoto c98134905f Merge pull request #387 from spiritloose/mrb_load_return_value
mrb_load_* should return value
2012-07-19 22:32:55 -07:00
Jiro Nishiguchi 4bc416cae9 mrb_load_* should return value 2012-07-19 23:13:29 +09:00
Yukihiro Matsumoto 4b9ef5dabe use no malloc in mrb_funcall; close #386 2012-07-19 17:45:13 +09:00
Yukihiro Matsumoto 8ae67d10b3 make MRB_ARENA_SIZE to be configurable 2012-07-19 11:28:06 +09:00
Yukihiro Matsumoto c697e111c8 Merge branch 'master' of github.com:mruby/mruby 2012-07-19 08:24:10 +09:00
Yukihiro Matsumoto b60baedae5 replace strcpy by memcpy; close #383 2012-07-19 08:23:49 +09:00
Yukihiro "Matz" Matsumoto a7e0f9f640 Merge pull request #324 from monaka/pr-remove-magic-numbers-in-mrb_funcall
Remove magic numbers in mrb_funcall()
2012-07-18 06:08:51 -07:00
Masaki Muranaka f146fd0397 MRB_FUNCALL_ARGC_MAX support. (refs comments in #324). 2012-07-18 15:47:57 +09:00
Masaki Muranaka 7bb71a7d58 Remove magic numbers in mrb_funcall() 2012-07-18 15:26:53 +09:00
Yukihiro Matsumoto fdc224ff2f remove unused label; close #381 2012-07-18 14:43:14 +09:00
Yukihiro "Matz" Matsumoto 8eca0d5609 Merge pull request #378 from masamitsu-murase/modify_proc_lambda
Modify proc_lambda
2012-07-17 16:25:36 -07:00
Yukihiro "Matz" Matsumoto 4df4a3f0bf Merge pull request #380 from masamitsu-murase/modify_respond_to
Modify return value of 'respond_to?'
2012-07-17 16:24:16 -07:00
Yukihiro "Matz" Matsumoto 1f7003c467 Merge pull request #379 from masamitsu-murase/undef_extend_object
Undef Class#extend_object.
2012-07-17 16:23:36 -07:00
Masamitsu MURASE e6f1e7b899 Add tests for Kernel#lambda and Kernel.lambda. 2012-07-18 02:25:34 +09:00
Masamitsu MURASE 6f2aefae1f Add test for 'respond_to?'. 2012-07-18 02:23:16 +09:00
Masamitsu MURASE a0c4f8558b Kernel#respond_to? should return false if the method is undefined. 2012-07-18 02:17:29 +09:00
Masamitsu MURASE 2936ba19aa proc_lambda should return blk instead of self. 2012-07-18 02:11:43 +09:00
Masamitsu MURASE 265aa0b885 Undef Class#extend_object. 2012-07-18 02:07:42 +09:00
Yukihiro Matsumoto a18699a80c print.rb: raise NotImplementedError for disabled methods 2012-07-17 23:56:57 +09:00
Yukihiro Matsumoto 42cfe5c9f3 make mruby work even when DISABLE_STDIO is set 2012-07-17 23:51:57 +09:00
Yukihiro Matsumoto 1cffba6ae1 use fwrite() instead of loop putc 2012-07-17 23:50:19 +09:00
Yukihiro Matsumoto 36664174cb change return type of mrb_p() to void 2012-07-17 23:48:55 +09:00
Yukihiro Matsumoto 6ea5c6b517 make mirb work even when DISABLE_STDIO is set 2012-07-17 23:46:48 +09:00
Yukihiro Matsumoto cb8fe4400f mrb_p() should return the argument 2012-07-17 23:41:02 +09:00
Yukihiro Matsumoto 87daf837d6 prepare empty mrb_p() to make like work 2012-07-17 23:40:05 +09:00
Yukihiro Matsumoto 0ac2d7ac97 remove debug print 2012-07-17 23:38:43 +09:00
Yukihiro Matsumoto 8ce2af99f3 CRuby style inclusion order; close #377 2012-07-17 03:31:56 +09:00
Yukihiro Matsumoto e8ade38104 undef append_features for Classes 2012-07-17 02:17:16 +09:00