Commit Graph

240 Commits

Author SHA1 Message Date
Carson McDonald c2d94e2ed8 Fix warning by making call explicit 2013-07-16 12:43:45 -04:00
Yukihiro "Matz" Matsumoto 5b0907b470 Merge pull request #1376 from suzukaze/replace-mrb_intern-in-random.c
Replace mrb_intern() with mrb_intern2() in random.c
2013-07-14 05:58:55 -07:00
Jun Hiroe e8b31f286b Replace mrb_intern() with mrb_intern2() in random.c 2013-07-14 01:09:38 +09:00
Jun Hiroe 3cf1a9beae Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr(). 2013-07-14 00:39:21 +09:00
Yukihiro "Matz" Matsumoto 3d792b9762 Merge branch 'kyab-toplevel_ext' 2013-07-11 15:03:56 +09:00
Yukihiro "Matz" Matsumoto 2e1532b88d add mruby-toplevel-ext as default 2013-07-11 15:03:19 +09:00
Yukihiro "Matz" Matsumoto 176f4ffe21 add private/protected/public to main 2013-07-11 14:54:14 +09:00
kyab 6a21667602 Add include for toplevel self(main) 2013-07-02 23:50:35 +09:00
Yukihiro "Matz" Matsumoto a77a638d5d Merge pull request #1328 from h2so5/add-object-instance-exec
Add Object#instance_exec
2013-07-02 04:15:50 -07:00
Carson McDonald b39388e152 Fix signed/unsigned warning. 2013-07-01 07:05:47 -04:00
h2so5 2117f0973c Add Object#instance_exec 2013-07-01 16:23:14 +09:00
Yukihiro "Matz" Matsumoto dfb240627f Merge pull request #1304 from iij/pr_nil_methods
add nil.to_a, nil.to_f, nil.to_i methods
2013-06-29 06:49:29 -07:00
Akira Yumiyama 36fc42e7db add nil.to_a, nil.to_f, nil.to_i methods 2013-06-28 10:01:07 +09:00
Cremno 8728837478 Visual Studio 2013 support + strtof + inline
- VC12 has better C99 library support due to C++11
- defined strtof for VC11 or older
- define "inline" only if the C compiler is used
2013-06-27 12:18:35 +02:00
Tomoyuki Sahara 4ab62e3f81 fix typo: Tus -> Tue. 2013-06-18 13:24:16 +09:00
Yukihiro "Matz" Matsumoto 33b81f2ad7 do not specify implementation dependant exception class names in fiber test 2013-06-06 23:54:40 +09:00
Carson McDonald 35b58e571d Test for raise when yield is called on root fiber 2013-05-28 09:04:53 -04:00
Carson McDonald 406e089a74 Add test for raise on resume after fiber is dead 2013-05-28 09:01:27 -04:00
skandhas 345ba02e4d add Fiber#alive? 2013-05-27 15:21:56 +08:00
Yukihiro "Matz" Matsumoto 7b8ae1b8b6 Merge branch 'master' of github.com:mruby/mruby 2013-05-26 21:27:16 +09:00
kimu_shu e720782f81 Add MRB_WORD_BOXING mode (represent mrb_value as a word) 2013-05-26 10:09:17 +09:00
Yukihiro "Matz" Matsumoto 6557ee938a mruby error messages should be directed to stderr 2013-05-26 02:13:02 +09:00
Yukihiro "Matz" Matsumoto d78f23d28b fix fiber GC problem 2013-05-26 00:37:44 +09:00
Daniel Bovensiepen 4174690d0b Add Fiber Test for issue #1264 2013-05-24 23:50:03 +08:00
Yukihiro "Matz" Matsumoto fdb6176aee should set argc at proper position; close #1264 2013-05-25 00:22:30 +09:00
Yukihiro "Matz" Matsumoto aa2040fc97 add fiber tests 2013-05-23 15:24:55 +09:00
Yukihiro "Matz" Matsumoto 76ddf86c72 manage fiber status (create|running|resumed|terminated) 2013-05-23 15:24:31 +09:00
Yukihiro "Matz" Matsumoto 2045a35292 garbage collect context (fiber) properly 2013-05-22 11:05:22 +09:00
Yukihiro "Matz" Matsumoto 6492a3cdb8 Merge branch 'master' of github.com:mruby/mruby 2013-05-20 22:34:14 +09:00
Yukihiro "Matz" Matsumoto 58b25fdcb3 avoid unnecessary pool/syms restoration 2013-05-20 22:33:25 +09:00
Carson McDonald cc772dd3cc Change Fibder to Fiber and a couple other wording issues 2013-05-20 07:57:12 -04:00
Yukihiro "Matz" Matsumoto 7320139fd9 update error message 2013-05-20 18:23:01 +09:00
Yukihiro "Matz" Matsumoto 799852d60b update Fiber.new doc 2013-05-20 17:57:56 +09:00
Yukihiro "Matz" Matsumoto 5c0b9b703c primary mruby fiber implementation 2013-05-20 17:54:07 +09:00
Julien Ammous 8057eb935c removed unused variables / assigns never used 2013-05-18 14:13:04 +02:00
Yukihiro "Matz" Matsumoto ac2adf3476 indentation fix 2013-05-18 11:24:09 +09:00
Yukihiro "Matz" Matsumoto a1c6996fea remove unused local variable 2013-05-18 11:22:44 +09:00
Ryan Scott 8161f0f6d7 Merge remote-tracking branch 'origin/master' 2013-05-18 11:05:09 +10:00
Ryan Scott 008aec2bbc Cleanup of mruby_objectspace.c and removed the unneccessary README for mruby_objectspace. 2013-05-18 11:03:54 +10:00
Ryan Scott 43d2fe80ad Added mruby-objectspace to the detault gembox. 2013-05-18 10:56:03 +10:00
Ryan Scott 391807b73c Changed the counting so that only objects that are alive are added to the object counts. 2013-05-18 10:46:55 +10:00
Ryan Scott e36a0275e1 Minor formatting change. 2013-05-17 08:04:19 +10:00
Ryan Scott 40d63f7740 Changed the each_object callback so that a pointer is passed for the object, instead of the struct. 2013-05-17 08:02:24 +10:00
Ryan Scott da6b61db79 Removed debug output 2013-05-17 07:56:31 +10:00
Ryan Scott f62cc5b1ee Changed the object_count so that it only iterates over the RBasic object, not the full RVALUE known by the GC 2013-05-17 07:41:13 +10:00
Ryan Scott 222918deae First implementation of ObjectSpace moved outside of gc.c 2013-05-17 07:21:33 +10:00
skandhas ad638fc12a add comments for mruby-array-ext 2013-05-14 16:28:14 +08:00
Yukihiro "Matz" Matsumoto 7921fd545c move mruby's showcallinfo into the core 2013-05-13 10:40:43 +09:00
Yukihiro "Matz" Matsumoto b7a24de377 change mrb_bug to get mrb_state and %S formatter 2013-05-10 22:11:28 +09:00
Yukihiro "Matz" Matsumoto fad8b1cefa change mrb_warn to get mrb_state and %S formatter 2013-05-10 22:09:02 +09:00