yui-knk
b5ef16ba03
Change to always use locals->car->car.
...
When p->locals->car is not NULL and p->locals->car->car is NULL,
local_add_f dose not append sym to p->locals->car->car.
This commit change to append sym to p->locals->car->car.
This will close #2333 .
2014-06-02 09:38:24 +09:00
Yukihiro "Matz" Matsumoto
a22495df00
Merge branch 'master' of github.com:mruby/mruby
2014-06-01 02:51:24 +09:00
Yukihiro "Matz" Matsumoto
35d4137da1
remove part of 9cd71916 test for same reason as 5306e47
2014-06-01 02:51:04 +09:00
Yukihiro "Matz" Matsumoto
c86d7fe834
Merge pull request #2336 from katmutua/master
...
Fix typos in gc
2014-05-31 23:35:17 +09:00
katmutua
36ab17d8ce
Fix typos in gc
2014-05-31 10:42:39 -03:00
Yukihiro "Matz" Matsumoto
2ad2cf2fed
Merge pull request #2334 from yui-knk/remove-space
...
Remove space.
2014-05-31 16:06:36 +09:00
yui-knk
c131f69d21
Remove space.
2014-05-31 14:10:30 +09:00
Yukihiro "Matz" Matsumoto
6bf1ee78c8
add internal function mrb_toplevel_run_keep() to keep stack contents; close #2326
2014-05-30 15:25:58 +09:00
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