Commit Graph

15998 Commits

Author SHA1 Message Date
Carson McDonald 43732ecd17 Minor wording changes and a couple spelling fixes 2013-06-02 08:29:49 -04:00
Akira Yumiyama 5625e44371 add method: IO#select 2013-06-02 15:25:14 +09:00
Akira Yumiyama 1272df7cb6 fix IO#eof? method (consider the read buffer) 2013-06-02 13:24:34 +09:00
Yukihiro "Matz" Matsumoto 5c6d281866 Merge branch 'master' of github.com:mruby/mruby 2013-05-29 00:06:22 +09:00
Yukihiro "Matz" Matsumoto b172be47fa small refactoring over word boxing 2013-05-29 00:05:57 +09:00
Yukihiro "Matz" Matsumoto 83bd1bab31 Merge pull request #1268 from carsonmcdonald/fiberextests
Add a couple Fiber tests
2013-05-28 07:37:17 -07: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
Akito Mochizuki 35defaf1c9 fix mrb_voidp_value function call 2013-05-28 10:15:25 +09: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
Tomoyuki Sahara f4aa3e7ae7 getaddrinfo("localhost") returns "fe80::1%lo0" on MacOS! 2013-05-21 14:48:42 +09:00
Tomoyuki Sahara 1411d5b974 using mruby-mtest on test/socket.rb. 2013-05-21 14:23:35 +09:00
Tomoyuki Sahara 12144b9ad2 getaddrinfo("localhost") may return 2 or more. 2013-05-21 14:23:07 +09:00
Tomoyuki Sahara 0f2d7e8a99 fix reading wrong variable. 2013-05-21 14:15:15 +09:00
Tomoyuki Sahara b8912c3508 Linux does not have getpeereid(2). 2013-05-21 14:13:15 +09:00
Tomoyuki Sahara 4bebd4d70f mrb_sys_fail() is declared in src/error.h 2013-05-21 14:03:10 +09:00
Tomoyuki Sahara cfe18142cb test runner. 2013-05-21 13:53:27 +09:00
Tomoyuki Sahara 89147066f8 mruby-socket depends on mruby-io. 2013-05-21 13:48:33 +09:00
Tomoyuki Sahara bc5feb39a1 short description, example, requirement, todo, license. 2013-05-21 13:40:14 +09:00
Tomoyuki Sahara e459ecc934 Merge branch 'master' of github.com:iij/mruby-socket 2013-05-21 13:19:32 +09:00
Tomoyuki Sahara 49e53bca5d Socket library for mruby. 2013-05-21 13:17:34 +09:00
Tomoyuki Sahara 06f1c82f64 Initial commit 2013-05-20 21:15:50 -07: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