Commit Graph

2588 Commits

Author SHA1 Message Date
bggd 69c2b8310f Fix invalid array initialize for VS2012 2014-05-28 11:04:28 +09:00
yui-knk 5fd1eaec58 fix indent. 2014-05-27 08:48:12 +09:00
ksss 7fe34d8f49 Should not call inherited method
when class nothing
2014-05-23 23:56:01 +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 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 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 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
take_cheeze d8d07a2345 Move Kernel.local_variables to core. 2014-05-19 22:05:02 +09:00
ksss c4a225f0be mrb_include_module support class and module
that not have methods each other
2014-05-19 19:29:33 +09:00
ksss ffbf90bdc8 Implement Module#initialize (15.2.2.4.31) 2014-05-19 19:28:42 +09:00
Yukihiro "Matz" Matsumoto c4268f67d0 UINT16_MAX as symbol length is reserved; ref #2294 2014-05-19 18:43:32 +09:00
Yukihiro "Matz" Matsumoto 54c2dcf231 allow NULL (no variable) in lvar section of mrb format; fix #2294
This fix use UINT16_MAX for NULL symbol tag, that means maximum symbol length
is not UINT16_MAX-1.
2014-05-19 18:39:37 +09:00
ksss ef4f29be70 support class define in singleton class 2014-05-18 12:55:35 +00:00
Yukihiro "Matz" Matsumoto 4a6650b191 Merge pull request #2287 from yui-knk/add-space
Add a space aftre bracket.
2014-05-18 21:09:04 +09:00
Yukihiro "Matz" Matsumoto 85e36b52aa Merge pull request #2285 from suzukaze/fix-indent
Fix indent in mrb_hash_to_hash()
2014-05-18 21:07:58 +09:00
yui-knk 45305686fe Add a space aftre bracket. 2014-05-18 19:40:17 +09:00
Jun Hiroe 47c964bc18 Use boolean macro in kernel.c 2014-05-18 15:37:01 +09:00
Jun Hiroe d330e5b102 Fix indent in mrb_hash_to_hash() 2014-05-18 15:33:41 +09:00
yui-knk 3422805fc4 Use boolean macro in exc_equal. 2014-05-18 14:25:44 +09:00
yui-knk 1f3957afe4 Change range_check before mrb_obj_alloc. 2014-05-18 11:59:54 +09:00
Yukihiro "Matz" Matsumoto 1f6d8d73bd Merge pull request #2276 from yui-knk/add-comment
Add comment to Fixnum Class.
2014-05-17 16:07:00 +09:00
yui-knk 76593ee0e7 Add comment to Fixnum Class. 2014-05-17 13:51:16 +09:00
Jun Hiroe 932efe53e9 Refactor mrb_str_intern() in string.c 2014-05-17 13:22:43 +09:00
Jun Hiroe 944b395083 Refactor mrb_str_equal_m in string.c 2014-05-17 13:22:43 +09:00
Jun Hiroe cf680f05fb Refactor mrb_str_new() in string.c 2014-05-17 13:20:00 +09:00
Yukihiro "Matz" Matsumoto a1a5eae925 Merge pull request #2273 from suzukaze/refactor-range.c
Use boolean macro in mrb_range_initialize()
2014-05-17 13:05:28 +09:00
Yukihiro "Matz" Matsumoto 54d627bd00 Merge pull request #2270 from suzukaze/refactor-class.c
Use boolean macro
2014-05-17 13:05:05 +09:00
Jun Hiroe 0725aacfeb Use boolean macro in mrb_range_initialize() 2014-05-17 09:58:40 +09:00
Jun Hiroe bcd8980c78 Use boolean macro 2014-05-17 02:08:01 +09:00
Jun Hiroe 0388e373d0 Delete unnecessary semicolon 2014-05-17 00:52:00 +09:00
Jun Hiroe 7328169a13 Fix indents 2014-05-17 00:20:32 +09:00
Yukihiro "Matz" Matsumoto 265f1b9952 Merge pull request #2265 from suzukaze/refactor
Add new line behind return type
2014-05-17 00:15:13 +09:00
Yukihiro "Matz" Matsumoto 0e50d8e8f4 Merge pull request #2264 from ksss/const_missing
const_missing error message more detail
2014-05-17 00:14:48 +09:00
Yukihiro "Matz" Matsumoto f2f8c72254 Merge pull request #2262 from ksss/doc-opcode
[DOC] fix op code doc
2014-05-17 00:13:56 +09:00
Jun Hiroe 665bc37288 Add new line behind return type 2014-05-16 22:46:41 +09:00
ksss 066c2772e8 const_missing error message more detail 2014-05-16 22:26:47 +09:00