Commit Graph

5553 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto f38e53ecca Merge pull request #2330 from take-cheeze/struct_set_str
Improve `Struct#[]=`.
2014-05-29 11:57:39 +09:00
take_cheeze 32bfa1f15c Add invalid key type check in Struct#[]=. 2014-05-28 23:21:13 +09:00
take_cheeze 7bc4d08f71 Support string key in Struct#[]=. 2014-05-28 23:14:28 +09:00
Yukihiro "Matz" Matsumoto 415b8fc6b0 Merge pull request #2329 from bggd/patch-4
Fix invalid array initialize for VS2012
2014-05-28 13:16:53 +09:00
bggd 69c2b8310f Fix invalid array initialize for VS2012 2014-05-28 11:04:28 +09:00
Yukihiro "Matz" Matsumoto 0f432e9028 Merge pull request #2324 from yui-knk/fix-indent
fix indent.
2014-05-27 15:03:06 +09:00
yui-knk 5fd1eaec58 fix indent. 2014-05-27 08:48:12 +09:00
Yukihiro "Matz" Matsumoto 6cf5618b44 Merge branch 'master' of github.com:mruby/mruby 2014-05-25 23:19:35 +09:00
Yukihiro "Matz" Matsumoto 6d6957078e no one uses Array.try_convert, so removed it that discourages duck typing; close #2317 2014-05-25 23:18:45 +09:00
Yukihiro "Matz" Matsumoto 84116c26c9 Merge pull request #2320 from yui-knk/test-enumerable
Replace assert_true with assert_equal.
2014-05-25 22:38:25 +09:00
Yukihiro "Matz" Matsumoto 77942f70a5 Merge pull request #2316 from ksss/test-exception
Exception#exception fix test
2014-05-25 22:37:10 +09:00
Yukihiro "Matz" Matsumoto 7c30097183 Merge pull request #2315 from suzukaze/fix-test-proc
Fix assert_equal argument order in test/t/proc.rb
2014-05-25 22:36:05 +09:00
Yukihiro "Matz" Matsumoto af38511c1b Merge pull request #2314 from take-cheeze/fiber_test_refactor
Use `assert_*` method instead of using result value in fiber test.
2014-05-25 22:35:34 +09:00
Yukihiro "Matz" Matsumoto 3925ce9f6e Merge pull request #2312 from take-cheeze/kind_of
Use `assert_kind_of` instead in `Proc#inspect` test.
2014-05-25 22:34:40 +09:00
Yukihiro "Matz" Matsumoto 218d188936 Merge pull request #2318 from yui-knk/fix-typo
fix typo.
2014-05-25 22:33:38 +09:00
yui-knk 83986e2636 Replace assert_true with assert_equal. 2014-05-25 20:19:41 +09:00
yui-knk 6bdeebe3b0 fix typo. 2014-05-25 18:50:43 +09:00
ksss bc0cf69a83 Exception#exception fix test
Exception.exception is not call Exception#exception.
Test for Exception#exception should call Exception#exception method.
2014-05-25 11:18:39 +09:00
Jun Hiroe 6a2eced74e Fix assert_equal argument order in test/t/proc.rb 2014-05-25 00:34:40 +09:00
take_cheeze 2d25a15b3b Use assert_* method instead of using result value.
Use `do ... end` for test block.
2014-05-24 23:39:53 +09:00
take_cheeze 2c451dd1fc Use assert_kind_of instead. 2014-05-24 23:18:03 +09:00
Yukihiro "Matz" Matsumoto 229e7fe245 Merge pull request #2310 from ksss/class-segv
Should not call inherited method when class nothing
2014-05-24 00:17:19 +09:00
ksss 7fe34d8f49 Should not call inherited method
when class nothing
2014-05-23 23:56:01 +09:00
Yukihiro "Matz" Matsumoto 5900bb376f Merge pull request #2305 from take-cheeze/doc_update
Update C++ extensions in build instruction document.
2014-05-23 07:39:58 +09:00
take_cheeze 8bbde64ead Update C++ extensions in build instruction document. 2014-05-22 22:06:38 +09:00
Yukihiro "Matz" Matsumoto 9be81e7429 call Class#initialize from Class.new; ref ISO 15.2.3.3.1 2014-05-22 14:44:59 +09:00
Yukihiro "Matz" Matsumoto 00f2144692 allocate object after mrb_get_args() 2014-05-22 14:18:03 +09:00
Yukihiro "Matz" Matsumoto fc557085d8 Merge pull request #2304 from ksss/class-new
Class.new do not call `class_eval'
2014-05-22 14:12:03 +09:00
Yukihiro "Matz" Matsumoto ccaf3e35aa Merge pull request #2303 from ksss/module-initialize
Module#initialize set created object for block argument
2014-05-22 14:10:11 +09:00
Yukihiro "Matz" Matsumoto 267eb74abc Merge branch 'master' of github.com:mruby/mruby 2014-05-22 08:22:18 +09:00
Yukihiro "Matz" Matsumoto f25897cd05 Merge pull request #2282 from yui-knk/check-before-malloc
Change range_check before mrb_obj_alloc.
2014-05-22 08:22:05 +09:00
Yukihiro "Matz" Matsumoto 69a094dc24 git push origin masterMerge branch 'take-cheeze-refactor_dump' 2014-05-22 08:21:10 +09:00
Yukihiro "Matz" Matsumoto 79a6574ac8 remove unnecessary assignment; ref #2301 2014-05-22 08:20:54 +09:00
Yukihiro "Matz" Matsumoto c52838cadb Merge pull request #2286 from suzukaze/refactor-kernel
Use boolean macro in kernel.c
2014-05-22 01:01:16 +09:00
ksss 1f3d7e939f Class.new add test case 2014-05-22 00:11:40 +09:00
ksss c28b46bcf6 Class.new do not call `class_eval'
and set self for block argument
2014-05-22 00:00:46 +09:00
ksss 0bd8e48773 Module#initialize set created object
for block argument
2014-05-21 23:09:19 +09:00
take_cheeze 3fa19357b3 Reduce children filenames listing.
It is executed per each debug filenames in irep to same ireps(children).
2014-05-21 22:00:11 +09:00
take_cheeze 87eec261e0 Reduce filename table creation in irep dumping to once. 2014-05-21 21:57:33 +09:00
Yukihiro "Matz" Matsumoto f4570d411d Merge pull request #2301 from mimaki/fix-load-mrb-segv
mrb_load_irep_file() caused SEGV
2014-05-21 18:03:58 +09:00
Yukihiro "Matz" Matsumoto a11f994e01 direct invocation of instance_eval 2014-05-21 18:00:48 +09:00
mimaki e52f1bd74e Check mrbc_context is null 2014-05-21 17:12:03 +09:00
Yukihiro "Matz" Matsumoto 74da72409e direct invocation of module_eval; ref #2298 2014-05-21 14:49:06 +09:00
Yukihiro "Matz" Matsumoto a6f26514a5 break in blocks cannot cross C function boundaries; fix #2298 2014-05-21 09:00:30 +09:00
Yukihiro "Matz" Matsumoto abbb8c5c31 Merge pull request #2300 from yui-knk/fix-comment
Correct comment in exception test.
2014-05-20 23:16:26 +09:00
Yukihiro "Matz" Matsumoto ee274ba30f Merge pull request #2299 from take-cheeze/cc_ext
Support extension '.cc' in source code listing.
2014-05-20 23:16:05 +09:00
yui-knk 756bfa6cd2 Correct comment in exception test. 2014-05-20 23:02:47 +09:00
take_cheeze 9ac23ae214 Support extension '.cc' in globbing. 2014-05-20 22:52:08 +09:00
Yukihiro "Matz" Matsumoto 929328ad3b Merge pull request #2295 from ksss/module-initialize
Implement Module#initialize (15.2.2.4.31)
2014-05-20 16:22:11 +09:00
Yukihiro "Matz" Matsumoto 3cbae53541 move prototype of mrb_format() from error.h to mruby.h; ref #2274 2014-05-20 14:53:42 +09:00