ksss
|
051d7bc8db
|
Reseek when write
|
2017-06-12 09:57:18 +09:00 |
|
Tomoyuki Sahara
|
3a73a58493
|
mruby 1.2.0 assumes test blocks return their results. master does not.
|
2017-06-07 11:36:37 +09:00 |
|
ksss
|
a3a4f4d061
|
IO#sysread Check for readable
|
2017-05-27 13:34:11 +09:00 |
|
ksss
|
0bbd60b523
|
IO#sysread should raise error when invalid pos
|
2017-05-22 11:47:45 +09:00 |
|
ksss
|
86edc9ab85
|
IO#sysread should raise IOError when closed
|
2017-05-21 22:54:46 +09:00 |
|
ksss
|
844b2c368f
|
IO#sysread with 0 always return empty string
|
2017-05-21 22:54:12 +09:00 |
|
Tomoyuki Sahara
|
3ae5fea2b8
|
run mrbtest outside of source tree.
|
2017-02-28 12:10:51 +09:00 |
|
Tomoyuki Sahara
|
f6a82772e6
|
eof? should raise an IOError if it is not opened for reading.
|
2016-09-30 17:10:55 +09:00 |
|
Tomoyuki Sahara
|
2229a2aa0f
|
reimplement #eof. fixes #66.
|
2016-09-30 16:27:11 +09:00 |
|
ksss
|
d2c1f4d10b
|
Enable Fixnum option
|
2016-08-07 22:19:21 +09:00 |
|
ksss
|
b462ef4506
|
Enable option :in, :out, :err
|
2016-08-07 21:21:01 +09:00 |
|
Tomoyuki Sahara
|
93d481d4b4
|
update $? when IO object is closed. closes #58.
|
2016-06-22 10:29:49 +09:00 |
|
Tomoyuki Sahara
|
2af2a4fff8
|
add IO#isatty and IO#tty?
|
2016-06-21 09:49:34 +09:00 |
|
takahashim
|
dd754220ce
|
Fix for windows(mingw)
* 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-08 00:29:42 +09:00 |
|
Tomoyuki Sahara
|
11ffb93852
|
assert_nothing_raised is not available on mruby 1.0.0.
|
2015-11-24 17:00:12 +09:00 |
|
ksss
|
a55accd736
|
Implement IO.pipe
|
2015-11-24 14:24:24 +09:00 |
|
Tomoyuki Sahara
|
21963f8fa1
|
UT for IO#sysseek.
|
2015-10-20 15:37:05 +09:00 |
|
takahashim
|
9bbfc38bb4
|
add IO#rewind
|
2015-09-27 21:25:06 +09:00 |
|
takahashim
|
c26f998ed5
|
support IO#<<
|
2015-09-27 00:29:17 +09:00 |
|
ksss
|
e61c469724
|
IO.popen fd set close_on_exec flag by default
|
2014-12-04 10:25:03 +09:00 |
|
ksss
|
9439b981d8
|
Opened fd should be set FD_CLOEXEC by default
|
2014-12-04 10:25:03 +09:00 |
|
Tomoyuki Sahara
|
e60951a305
|
add IO#sync and IO#sync=
|
2014-07-29 10:55:02 +09:00 |
|
dreamedge
|
78f5f98710
|
delete debug messages
|
2014-07-09 05:29:20 +09:00 |
|
dreamedge
|
7e689e8680
|
Add IO#close_on_exec=
and a test on test/io.rb
|
2014-07-08 15:56:56 +09:00 |
|
Tomoyuki Sahara
|
ddfc4eb5ef
|
IO#read(0) should return "" immediately. fixes iij/mruby-socket#13.
|
2014-06-19 09:57:08 +09:00 |
|
Tomoyuki Sahara
|
9c00de59ce
|
IO.for_fd can be written in Ruby.
|
2014-04-21 10:24:59 +09:00 |
|
Tomoyuki Sahara
|
c46cb1b5eb
|
more tests.
|
2014-04-21 10:02:25 +09:00 |
|
Tomoyuki Sahara
|
36045ea96f
|
IO#syswrite should raise an error if it's not opened for writing.
|
2014-04-18 11:20:55 +09:00 |
|
Tomoyuki Sahara
|
87ce12dfe3
|
io.write("") -> 0
|
2014-04-17 15:53:51 +09:00 |
|
Akira Yumiyama
|
eda9d1a8fc
|
nonexistent test fixes (for travis-ci)
|
2014-03-26 22:09:10 +09:00 |
|
Tomoyuki Sahara
|
ab9dcc766e
|
IO.close should be IO._sysclose. closes #13.
|
2014-03-26 17:22:57 +09:00 |
|
Tomoyuki Sahara
|
56a8c592dd
|
add IO.read
|
2014-02-25 12:19:52 +09:00 |
|
Tomoyuki Sahara
|
e44da8a6cc
|
test for #6.
|
2013-11-16 05:44:04 +09:00 |
|
Tomoyuki Sahara
|
47a610e688
|
use array parameter on IO.open.
|
2013-08-30 19:09:36 +09:00 |
|
Tomoyuki Sahara
|
9dc875f246
|
add cmd (command output expression).
|
2013-08-23 16:00:08 +09:00 |
|
Akira Yumiyama
|
e8ca5e5169
|
initial commit
|
2013-04-01 09:12:01 +09:00 |
|