Commit Graph

5523 Commits

Author SHA1 Message Date
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 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
Yukihiro "Matz" Matsumoto 7195600dbf Merge branch 'master' of github.com:mruby/mruby 2014-05-20 11:27:06 +09:00
Yukihiro "Matz" Matsumoto 4b6de9dea6 update raise in ensure test 2014-05-20 11:25:17 +09:00
Yukihiro "Matz" Matsumoto 3fc8f0435a correct comment; ref #2297 2014-05-20 11:24:15 +09:00
Yukihiro "Matz" Matsumoto b0477f1d3f Merge branch 'add-exception-test' of https://github.com/yui-knk/mruby into yui-knk-add-exception-test 2014-05-20 11:22:49 +09:00
Yukihiro "Matz" Matsumoto 4004e122a2 Merge pull request #2296 from take-cheeze/core_local_vars
Move `Kernel.local_variables` to core.
2014-05-20 11:21:31 +09:00
yui-knk f55851cb74 Add 'Raise in rescue' test to exception. 2014-05-20 00:02:03 +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
Yukihiro "Matz" Matsumoto 91a025b1e6 reimplement Range#size using double with fixing corner cases; ref #2293 2014-05-19 18:04:27 +09:00
Yukihiro "Matz" Matsumoto 90fa54767a Merge pull request #2293 from suzukaze/range.size
Add Range#size
2014-05-19 16:48:27 +09:00
Jun Hiroe 4b3ff090ab Add Range#size 2014-05-19 16:17:10 +09:00
Yukihiro "Matz" Matsumoto 67c5d554a3 Merge pull request #2291 from carsonmcdonald/removeivtest
Add test for remove_instance_variable
2014-05-19 15:01:48 +09:00
Yukihiro "Matz" Matsumoto ef01692c54 Merge pull request #2289 from take-cheeze/local_variables_iso
Add ISO index to `Kernel.local_variables`.
2014-05-19 15:00:57 +09:00
Yukihiro "Matz" Matsumoto c0e6f5f801 Merge pull request #2290 from take-cheeze/eval_iso
Add ISO index to `Kernel.eval` and `Kernel#eval`.
2014-05-19 14:07:43 +09:00
Carson McDonald aa2e03cdf6 Add test for remove_instance_variable 2014-05-18 15:53:11 -04:00
take_cheeze 3aeb4568ab Add ISO index to Kernel.eval and Kernel#eval. 2014-05-18 23:45:24 +09:00
take_cheeze 0f742392b5 Add ISO index to Kernel.local_variables. 2014-05-18 23:34:56 +09:00
Yukihiro "Matz" Matsumoto a1d11762dc Merge pull request #2288 from ksss/define-class
support class define in singleton class
2014-05-18 23:02:35 +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
Yukihiro "Matz" Matsumoto a600963ccf Merge pull request #2284 from yui-knk/use-macro
Use boolean macro in exc_equal.
2014-05-18 21:07:28 +09:00
Yukihiro "Matz" Matsumoto d4db72d721 Merge pull request #2283 from yui-knk/delete-space
Remove space.
2014-05-18 21:07:01 +09:00
Yukihiro "Matz" Matsumoto 3979cb0433 Merge pull request #2281 from ksss/doc-test
instance method name use "#" instead of "." for assert
2014-05-18 21:05:13 +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