summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2017-06-11To accurate `pos`ksss
pos shouldn't cache because it's not controllable
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-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
2016-12-24Add pointer castingmasahino
2016-12-17Fix memory leak in error caseKohei Suzuki
2016-12-17Add File.readlinkKohei Suzuki
2016-12-16Add File.chmodKohei Suzuki
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-08-09Apparently, in mruby-process gem, Process is now a Module, not a ClassCarlo - PERI
2016-08-07Enable Fixnum optionksss
2016-08-07Enable option :in, :out, :errksss
2016-06-22update $? when IO object is closed. closes #58.Tomoyuki Sahara
2016-06-21add IO#isatty and IO#tty?Tomoyuki Sahara
2015-12-08Fix for windows(mingw)takahashim
* File.expand_path: support drive letter and ALT_SEPARATOR * File.dirname: support ALT_SEPARATOR * File.basename: ditto. * IO.popen: raise NotImplementedError * IO.pipe: ditto. * `cmd`: ditto. * File#flock: ditto. * FileTest.pipe?: ditto. * FileTest.symlink?: ditto. * FileTest.socket?: ditto.
2015-12-04fix file separatortakahashim
* File::SEPARATOR should be "/" * File::ALT_SEPARATOR should be "\\" or nil.
2015-12-02build on Win32takahashim
2015-11-24symlink(2) returns -1 when it fails.Tomoyuki Sahara
2015-11-24Implement IO.pipeksss
2015-11-24arguments can be shared strings.Tomoyuki Sahara
2015-11-22add File.symlinktakahashim
2015-10-20off_t can be larger than mrb_int.Tomoyuki Sahara
2015-10-20raise a SystemCallError when lseek(2) fails.Tomoyuki Sahara
2015-10-20fix typo.Tomoyuki Sahara
2015-10-20Merge branch 'master' of github.com:iij/mruby-ioTomoyuki Sahara
2015-10-19Fix buffer overflow of `pos` when file-size is too bigMATSUMOTO, Ryosuke
2015-08-27variables are not used on the platforms lack FD_CLOEXEC.Tomoyuki Sahara
2015-08-26Merge pull request #30 from ksss/cloexecTomoyuki Sahara
Opened fd should be set FD_CLOEXEC by default
2015-08-20Made FILE_SEPERATOR platform dependentJoe Kutner
2015-08-02define PATH_SEPARATORTerence Lee
2015-07-02Remove mrb_io_s_select typo.Blaž Hrastnik
Uncovered with a Coverity scan of our project using mruby-io. https://scan8.coverity.com/reports.htm#v26153/p11375/fileInstanceId=6844382&defectInstanceId=2515905&mergedDefectId=121921
2015-04-17Removing redundant platform checkJared Breeden
2015-04-17Correct File::NULL for WindowsJared Breeden
2015-04-05Excluding wait call for windowsJared Breeden
2015-04-03wait for child processes when we close pipes. fixes #37.Tomoyuki Sahara
2014-12-26rewrite IO.for_fd.Tomoyuki Sahara
IO.for_fd should call IO#initialize to initialize the created object properly. It cannot be implemented in Ruby.
2014-12-26better error message.Tomoyuki Sahara
2014-12-15FIX: IO#sysread occurs SEGVTOMITA Masahiro
2014-12-04IO.popen fd set close_on_exec flag by defaultksss
2014-12-04Opened fd should be set FD_CLOEXEC by defaultksss
2014-11-22Fix broken build for Visual C++sdottaka
2014-11-16Implement FileTest.sizeksss
- File.size delegate to FileTest.size - File.size more faster by reading i-node value
2014-11-13garbage collect when open(2) fails with ENFILE or EMFILEYukihiro "Matz" Matsumoto
2014-08-03Correcting E_NOTIMP_ERROR referencejbreeden