summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-06-12Merge pull request #85 from ksss/readTomoyuki Sahara
Support outbuf argument for IO#read
2017-06-12Merge pull request #86 from ksss/writeTomoyuki Sahara
Reseek when write
2017-06-12Merge pull request #84 from ksss/posTomoyuki Sahara
To accurate `pos`
2017-06-12Reseek when writeksss
2017-06-12Support outbuf argument for IO#readksss
2017-06-11To accurate `pos`ksss
pos shouldn't cache because it's not controllable
2017-06-07mruby 1.2.0 assumes test blocks return their results. master does not.Tomoyuki Sahara
2017-06-05Merge pull request #80 from ksss/sysreadTomoyuki Sahara
IO#sysread Check for readable
2017-05-27IO#sysread Check for readableksss
2017-05-23Merge pull request #78 from ksss/syswriteTomoyuki Sahara
Should raise SyscallError on IO#syswrite
2017-05-23Merge pull request #79 from ksss/ioerrorTomoyuki Sahara
Fix some spec for IO#sysread
2017-05-22IO#sysread should raise error when invalid posksss
2017-05-21IO#sysread should raise IOError when closedksss
2017-05-21IO#sysread with 0 always return empty stringksss
2017-05-21Should raise SyscallError on IO#syswriteksss
instead of IOError
2017-05-19"open" error message should include pathname. fixes #77.Tomoyuki Sahara
2017-04-25Merge pull request #76 from yyamano/issue-75Tomoyuki Sahara
Make backquote work with the latest mruby. Fixed #75
2017-04-24Make backquote work with the latest mruby. Fixed #75Yuji Yamano
2017-02-28Merge pull request #74 from iij/run-test-outside-source-treeTomoyuki Sahara
run mrbtest outside of source tree.
2017-02-28run mrbtest outside of source tree.Tomoyuki Sahara
2017-02-17Add a travis-ci badge.Tomoyuki Sahara
2017-02-10File class does not have to include Enumerable.Tomoyuki Sahara
Because IO class, which is the superclass of File class, includes it.
2017-02-08define IO#hash to override Enumerable#hash. fixes #73.Tomoyuki Sahara
Current implementation of Enumerable#hash calls #each to collect hash values of enumerated objects (then calculates the hash value of the Enumerable object). But IO#each is a method to read lines. It is not expected that IO#hash reads all lines from the IO object. Or even worse, program waits for the IO object to be readable if it is a socket or something cannot be read immediately.
2016-12-26Merge pull request #72 from masahino/add_pointer_castingTomoyuki Sahara
Add pointer casting
2016-12-24Add pointer castingmasahino
2016-12-19Merge pull request #71 from eagletmt/readlinkTomoyuki Sahara
Add File.readlink
2016-12-17Fix memory leak in error caseKohei Suzuki
2016-12-17Add File.readlinkKohei Suzuki
2016-12-16Merge pull request #70 from eagletmt/chmodTomoyuki Sahara
Add File.chmod
2016-12-16Add File.chmodKohei Suzuki
2016-11-27Merge pull request #69 from eagletmt/explicit-castTomoyuki Sahara
Add explicit cast from void* to struct mrb_io*
2016-11-26Add explicit cast from void* to struct mrb_io*Kohei Suzuki
For compatibility with C++.
2016-10-13raise an exception when we cannot close "fd" but can close "fd2".Tomoyuki Sahara
2016-09-30eof? should raise an IOError if it is not opened for reading.Tomoyuki Sahara
2016-09-30reimplement #eof. fixes #66.Tomoyuki Sahara
2016-09-13Merge pull request #65 from ksss/joinTomoyuki Sahara
Support Array argument
2016-09-11Support Array argumentksss
2016-09-11Show value of expect and actual each assertionksss
2016-08-10Merge pull request #64 from asfluido/masterTomoyuki Sahara
Apparently, in mruby-process gem, Process is now a Module, not a Class
2016-08-09Apparently, in mruby-process gem, Process is now a Module, not a ClassCarlo - PERI
2016-08-08Merge pull request #63 from ksss/optTomoyuki Sahara
Enable option :in, :out, :err to IO.popen
2016-08-08Merge pull request #62 from ksss/globalTomoyuki Sahara
Should use global variable
2016-08-07Enable Fixnum optionksss
2016-08-07Enable option :in, :out, :errksss
2016-08-06Should use global variableksss
2016-06-22update $? when IO object is closed. closes #58.Tomoyuki Sahara
2016-06-21Merge pull request #60 from drbrain/test_io_setup_failureTomoyuki Sahara
Test io setup failure
2016-06-21add IO#isatty and IO#tty?Tomoyuki Sahara
2016-05-12Create socket in /tmp for securityEric Hodel
Some systems do not allow UNIX sockets from arbitrary directories. Instead of trying to `#define SOCKET_PATH` correctly I assume the /tmp/ directory is accessible and use it.
2016-05-12Include reason in test failure messageEric Hodel
I am seeing this test fail in some environments but can't determine why. The extra information will help me determine the reason bind(2) is failing.