Commit Graph

3267 Commits

Author SHA1 Message Date
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
Yukihiro "Matz" Matsumoto 8487ab06dd Merge pull request #1267 from skandhas/pr-add-Fiber-alive_p
add Fiber#alive?
2013-05-27 06:09:13 -07: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
Yukihiro "Matz" Matsumoto ec3a5f33ba Merge pull request #1266 from kimushu/feature/word-boxing
Add MRB_WORD_BOXING mode (represent mrb_value as a word)
2013-05-26 05:26:50 -07: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
Yukihiro "Matz" Matsumoto 9ea1155c98 Merge pull request #1265 from bovi/add-fiber-test
Add Fiber Test for issue #1264
2013-05-24 09:20:24 -07:00
Daniel Bovensiepen 4174690d0b Add Fiber Test for issue #1264 2013-05-24 23:50:03 +08:00
Yukihiro "Matz" Matsumoto aa1cc2360f fixed a bug in initializing post mandatory block parameters 2013-05-25 00:45:06 +09:00
Yukihiro "Matz" Matsumoto fdb6176aee should set argc at proper position; close #1264 2013-05-25 00:22:30 +09:00
Yukihiro "Matz" Matsumoto 97a11305c6 fiber do not work on MRB_NAN_BOXING 2013-05-24 15:35:55 +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 93d710117d should have protected the return value from GC, even when the method is defined in Ruby; close #1263 2013-05-23 15:14:27 +09:00
Yukihiro "Matz" Matsumoto 2045a35292 garbage collect context (fiber) properly 2013-05-22 11:05:22 +09:00
Yukihiro "Matz" Matsumoto 1cfd3fb9eb remove unnecessary assignment 2013-05-21 09:10:14 +09:00
Yukihiro "Matz" Matsumoto a17fd80eb4 error in initializing callinfo stack in cipush(); close #1261 2013-05-21 07:49:08 +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 2b1ca488fb Merge pull request #1260 from carsonmcdonald/rewordtypo
Change Fibder to Fiber
2013-05-20 06:34:03 -07: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
Yukihiro "Matz" Matsumoto 35ee85164d Merge pull request #1259 from carsonmcdonald/typeofixfortmat
Change fortmat to format.
2013-05-19 15:14:55 -07:00
Carson McDonald 163022f276 Change fortmat to format. 2013-05-19 08:40:04 -04:00
Yukihiro "Matz" Matsumoto 6678d2d035 Merge pull request #1258 from luislavena/mrbc-dump-binary
mrbc: use binary mode on outfile
2013-05-18 16:01:26 -07:00
Luis Lavena 0fc9064c59 mrbc: use binary mode on outfile
This solves the problem of incorrect bytecode generated by mrbc
for single files on Windows platform (which is by default text-mode)
2013-05-18 12:24:54 -03:00
Yukihiro "Matz" Matsumoto bb59d6ec02 Merge pull request #1257 from schmurfy/cleanup
removed unused variables / assigns never used
2013-05-18 08:06:56 -07: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
Yukihiro "Matz" Matsumoto 834ea241e0 Merge branch 'master' of https://github.com/Archytaus/mruby into Archytaus-master 2013-05-18 11:19:25 +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 4acfadfee1 Fixed the each object callback to be more consistent with other callbacks. 2013-05-18 10:55:41 +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
Yukihiro "Matz" Matsumoto 36216ac6f7 Merge branch 'master' of github.com:mruby/mruby 2013-05-16 09:24:18 +09:00
Yukihiro "Matz" Matsumoto c8c4dfe426 Merge pull request #1255 from carsonmcdonald/mrbcoutwarnfix
Fix compiler warning by exiting if wfp isn't set
2013-05-15 17:23:56 -07:00
Carson McDonald 439359324d Fix compiler warning by exiting if wfp isn't set 2013-05-15 09:02:27 -04:00
Yukihiro "Matz" Matsumoto 103ab2e53d avoid unnecessary copy of context->filename 2013-05-15 00:08:28 +09:00