Commit Graph

3257 Commits

Author SHA1 Message Date
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
Yukihiro "Matz" Matsumoto 95fb1fd809 mrbc to take multiple files, preserving debug information if -g given; close #1243 2013-05-14 23:39:56 +09:00
Yukihiro "Matz" Matsumoto 7cc66cf819 Merge pull request #1252 from carsonmcdonald/fixfilenames
Fix for issue 1243
2013-05-14 06:49:41 -07:00
Yukihiro "Matz" Matsumoto 17f10b05f2 Merge pull request #1253 from skandhas/pr-add-comments-for-array-ext
add comments for mruby-array-ext
2013-05-14 01:57:18 -07:00
skandhas ad638fc12a add comments for mruby-array-ext 2013-05-14 16:28:14 +08:00
Carson McDonald 87eb57b663 Fix off by one issue 2013-05-13 11:34:41 -04:00
Carson McDonald 9f43a25602 Add example of modifying mrbc options to add debug info 2013-05-13 10:16:52 -04:00
Carson McDonald 7df8e6936e Allow mrbc command options to be changed 2013-05-13 10:16:31 -04:00
Carson McDonald 546d1626e3 Fix early free of irep->filename 2013-05-13 10:15:37 -04:00
Yukihiro "Matz" Matsumoto 077213c5eb forgot to add src/backtrace.c 2013-05-13 11:15:08 +09:00
Yukihiro "Matz" Matsumoto 0b858ab801 show a backtrace when when an error occurs on gem load; close #1243 2013-05-13 10:41:59 +09:00