Tomoyuki Sahara
|
6c4d39412f
|
Merge pull request #30 from ksss/cloexec
Opened fd should be set FD_CLOEXEC by default
|
2015-08-26 17:37:21 +09:00 |
|
Joe Kutner
|
2467332c93
|
Made FILE_SEPERATOR platform dependent
|
2015-08-20 07:22:48 -05:00 |
|
Terence Lee
|
ec4982b2d3
|
define PATH_SEPARATOR
|
2015-08-02 17:35:07 +02:00 |
|
Blaž Hrastnik
|
8da787be72
|
Remove mrb_io_s_select typo.
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-07-02 21:02:56 +02:00 |
|
Jared Breeden
|
6d6be18d4e
|
Removing redundant platform check
|
2015-04-17 15:45:14 -04:00 |
|
Jared Breeden
|
36343cf098
|
Correct File::NULL for Windows
|
2015-04-17 15:39:11 -04:00 |
|
Jared Breeden
|
c0738a74c6
|
Excluding wait call for windows
|
2015-04-05 17:21:02 -04:00 |
|
Tomoyuki Sahara
|
e92fd76248
|
wait for child processes when we close pipes. fixes #37.
|
2015-04-03 10:05:09 +09:00 |
|
Tomoyuki Sahara
|
3a97a453c4
|
rewrite IO.for_fd.
IO.for_fd should call IO#initialize to initialize the created object
properly. It cannot be implemented in Ruby.
|
2014-12-26 11:09:07 +09:00 |
|
Tomoyuki Sahara
|
c455544ee2
|
better error message.
|
2014-12-26 11:08:18 +09:00 |
|
TOMITA Masahiro
|
be9e203563
|
FIX: IO#sysread occurs SEGV
|
2014-12-15 20:24:01 +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 |
|
sdottaka
|
24007b80b4
|
Fix broken build for Visual C++
|
2014-11-22 17:48:59 +09:00 |
|
ksss
|
a44ada616e
|
Implement FileTest.size
- File.size delegate to FileTest.size
- File.size more faster by reading i-node value
|
2014-11-16 14:55:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b50093ad28
|
garbage collect when open(2) fails with ENFILE or EMFILE
|
2014-11-13 01:50:46 +09:00 |
|
jbreeden
|
9a2cbc4122
|
Correcting E_NOTIMP_ERROR reference
|
2014-08-03 16:45:46 -04:00 |
|
Tomoyuki Sahara
|
e60951a305
|
add IO#sync and IO#sync=
|
2014-07-29 10:55:02 +09:00 |
|
Tomoyuki Sahara
|
1768ee02e5
|
remove extra ';'.
|
2014-07-22 23:55:25 +09:00 |
|
take_cheeze
|
689541d0fb
|
Fix type of argument passed to mrb_get_args.
|
2014-07-19 21:37:13 +09:00 |
|
Tomoyuki Sahara
|
fa39825b1b
|
refactor.
|
2014-07-09 10:01:33 +09:00 |
|
dreamedge
|
7e689e8680
|
Add IO#close_on_exec=
and a test on test/io.rb
|
2014-07-08 15:56:56 +09:00 |
|
dreamedge
|
59b7c4eaf0
|
add IO.close_on_exec?
|
2014-07-07 12:47:53 +09:00 |
|
Tomoyuki Sahara
|
d894de86f4
|
fd2 is valid if fd2 >= 0. fixes #18.
|
2014-06-10 10:22:50 +09:00 |
|
windwiny
|
dc61ef1c65
|
compatible 32 bit windows
|
2014-05-07 20:33:12 +08:00 |
|
Julien Ammous
|
9a1b25bdd8
|
raise an error for flock on solaris
|
2014-04-28 15:40:04 +02:00 |
|
Tomoyuki Sahara
|
5aeb99ad49
|
fix mrb_raisef usage.
|
2014-04-21 11:14:40 +09:00 |
|
Tomoyuki Sahara
|
9c00de59ce
|
IO.for_fd can be written in Ruby.
|
2014-04-21 10:24:59 +09:00 |
|
Tomoyuki Sahara
|
99c67749ff
|
remove return statements after mrb_raise().
|
2014-04-21 09:06:46 +09:00 |
|
Tomoyuki Sahara
|
7d7a549a4f
|
remove io_open().
|
2014-04-18 11:32:38 +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
|
1c4f46f324
|
remove standard header files from io.h.
|
2014-04-17 16:29:27 +09:00 |
|
Tomoyuki Sahara
|
a11780f4f1
|
file.c depends on mruby/ext/io.h now.
|
2014-04-17 16:18:26 +09:00 |
|
Tomoyuki Sahara
|
a3e1e535dc
|
function declarations should be in a header file.
|
2014-04-17 16:13:18 +09:00 |
|
Tomoyuki Sahara
|
10be4cbb2c
|
file.c does not depend on mruby/ext/io.h.
|
2014-04-17 15:56:11 +09:00 |
|
Julien Ammous
|
cd168c6f32
|
solaris does not have flock
|
2014-04-10 19:26:55 +02:00 |
|
Tomoyuki Sahara
|
719452b8d2
|
remove unsed.
|
2014-03-14 10:47:54 +09:00 |
|
Paolo Bosetti
|
d9f3fd868a
|
Merge branch 'master' of https://github.com/iij/mruby-io into test
Conflicts:
src/io.c
|
2014-03-03 13:15:57 +01:00 |
|
Tomoyuki Sahara
|
f7c054bd39
|
quiet compiler.
|
2014-02-25 12:28:34 +09:00 |
|
Tomoyuki Sahara
|
e8706d4ee7
|
remove unused.
|
2014-02-25 12:23:15 +09:00 |
|
Tomoyuki Sahara
|
b9dff44582
|
Merge branch 'master' of github.com:iij/mruby-io
|
2014-02-25 12:20:52 +09:00 |
|
Tomoyuki Sahara
|
56a8c592dd
|
add IO.read
|
2014-02-25 12:19:52 +09:00 |
|
Akira Yumiyama
|
d28f042118
|
compatibility support (mruby/mruby, iij/mruby and 1.0.0)
- refs https://github.com/mruby/mruby/commit/36e234aa377d50d8ee425c7868e0651cf78e85cf
|
2014-02-22 20:45:07 +09:00 |
|
Tomoyuki Sahara
|
7fd585bae1
|
support older version.
|
2014-02-14 10:36:37 +09:00 |
|
Tomoyuki Sahara
|
40c52f58d0
|
Merge pull request #9 from matsumoto-r/support_mrb_get_module
Support mrb_module_get
|
2014-02-12 10:57:58 +09:00 |
|
Paolo Bosetti
|
ee2859de6e
|
Updated mrb_include_module call after mruby 1.0.0
|
2014-02-11 14:54:30 +01:00 |
|
Tomoyuki Sahara
|
b74458a486
|
remove _bless trick. closes #8.
|
2014-02-10 09:49:37 +09:00 |
|
MATSUMOTO Ryosuke
|
526608c8a2
|
Support mrb_module_ge
|
2014-02-08 17:38:41 +09:00 |
|
Paolo Bosetti
|
a2af349959
|
Now the drive letter is returned as leading path element by File#dirname on Windows
|
2014-01-13 17:29:57 +01:00 |
|
Paolo Bosetti
|
23afaf02dc
|
Made compatible with VisualStudio
|
2013-12-10 14:34:26 +01:00 |
|