Dmitry Olshansky
cc64dc38e9
Merge pull request #3486 from WalterBright/rmdirr
...
Range-ify std.file rmdir()
2015-07-28 08:51:08 +02:00
Yannick Koechlin
e4a596746d
use UFC and nicer lambda syntax for example
2015-07-27 12:47:34 +02:00
Walter Bright
162f1cbd96
Range-ify: std.file chdir and others
2015-07-15 17:02:11 -07:00
Walter Bright
a520b819e1
Range-ify std.file rmdir
2015-07-15 16:59:57 -07:00
Dmitry Olshansky
030595bcb2
Merge pull request #3452 from WalterBright/rangedirit
...
Range-ify std.path.DirIteratorImpl
2015-07-10 09:16:38 +03:00
Walter Bright
ee21d0e791
Range-ify std.path.DirIteratorImpl
2015-07-09 15:31:58 -07:00
Andrei Alexandrescu
b7e9336f99
Merge pull request #3447 from WalterBright/rangeattr
...
Range-ify std.file attribute functions
2015-07-09 01:41:12 -04:00
Andrei Alexandrescu
fcf7cdc22b
Merge pull request #3453 from WalterBright/rangecopy
...
Range-ify std.file.copy()
2015-07-09 00:42:07 -04:00
Vladimir Panteleev
9b6e8df513
std.file: Fix building documentation on Windows
...
This fixes the error:
safe function 'std.file.timeLastModified' cannot call system function 'std.file.getTimesWin!(const(char)[]).getTimesWin'
2015-07-02 19:45:22 +00:00
Walter Bright
4c5bb70ca4
Range-ify std.file.copy()
2015-06-28 17:08:38 -07:00
Walter Bright
25e5a601f8
Range-ify std.file attribute functions
2015-06-27 22:21:45 -07:00
Walter Bright
2b8e61d129
Range-ify std.file setTimes()
2015-06-22 02:08:40 -07:00
Walter Bright
785f548864
Range-ify std.file remove, getSize
2015-06-20 00:15:56 -07:00
Walter Bright
8e79049452
Range-ify std.file rename() and exists()
2015-06-18 21:09:13 -07:00
Walter Bright
d842f7d576
Range-ify std.file.write()
2015-06-18 13:40:35 -07:00
Walter Bright
223913c31b
Range-ify std.file.read()
2015-06-17 15:17:21 -07:00
Andrei Alexandrescu
66c5b91587
package-shared unittest functions should not be under version(unittest)
2015-06-11 23:04:05 -07:00
Tony Tung
6f05d3bad5
Accept EISDIR as an error code for mkdir.
...
Older versions of Linux, older versions of FreeBSD, and current versions
of Darwin can return EISDIR to signal an existing directory[1]. Accept
that as a possible return code.
[1] http://cr.yp.to/docs/unixport.html
2015-06-02 11:26:37 -07:00
Joakim
3352c90c2e
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-27 21:54:52 -05:00
Artem Kharytoniuk
2594ed65c6
Align max chunk size on 64K boundary
2015-05-25 08:48:12 +03:00
Artem Kharytoniuk
95fd043dc6
Fix Issue 14469 - read > 4GB file on Windows x64.
2015-05-25 08:29:51 +03:00
Andrei Alexandrescu
9b9af3196a
Revert "Prefer std.typecons.Flag over booleans for some Phobos arguments"
2015-05-16 18:26:55 -07:00
Matt Kline
d04ebe0baa
Add comments and fixup capitalization of flags
2015-05-16 15:47:25 -07:00
Matt Kline
f6cf4b50ff
Make dirEntries use Flag instead of bool
2015-05-14 00:43:06 -07:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Martin Nowak
efe9cf79a0
combine copy&paste dirEntry tests
2015-03-14 16:08:42 +01:00
Martin Nowak
c591095cfa
sub/add 2 seconds from currTime instead of sleeping
...
- saves a total of 16 seconds unittest time
2015-03-14 16:07:49 +01:00
Andrei Alexandrescu
38802decf5
Update file.d
2015-02-10 13:12:19 -08:00
Andrei Alexandrescu
6523440d15
Merge pull request #2973 from WalterBright/listdir
...
document replacing D1's listdir()
2015-02-10 12:57:57 -08:00
Walter Bright
cae91b00a2
document replacing D1's listdir()
2015-02-10 02:12:33 -08:00
Andrei Alexandrescu
524efa6e76
Fix read() on posix
2015-02-04 22:08:23 -08:00
Andrei Alexandrescu
accb351b96
Merge pull request #2948 from CyberShadow/pull-20150202-045026
...
fix Issue 14110 - std.file.read cannot read files open for writing
2015-02-01 22:10:11 -08:00
Vladimir Panteleev
cb4463fea4
fix Issue 14110 - std.file.read cannot read files open for writing
2015-02-02 04:55:53 +00:00
Walter Bright
dc302d26a4
DIP25: make phobos work with it
2015-01-30 12:02:48 -08:00
Ulrich Küttler
56ea547034
fix comment
2014-12-08 09:42:56 +01:00
Ulrich Küttler
eaf99c607f
Add PreserveAttributes flag to copy function to preserve file attributes (issue 11434) and current behavior (not at the same time)
...
Avoid compiler errors from new versions
rename flag
add documentation and spaces
2014-12-06 19:43:53 +01:00
Timothee Cour
25babfc37d
added version(Posix) to unittest
2014-12-04 22:13:37 +01:00
Timothee Cour
82c506c95d
fix issue 11434
2014-12-04 22:13:37 +01:00
k-hara
c6d1f79b5b
Add missing imports
2014-12-05 00:13:45 +09:00
Martin Nowak
3473f6b5c7
Merge pull request #2765 from 9il/rename
...
std.range: constraints => primitives
2014-11-24 14:38:59 +01:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
kai
e838cc73ac
Solaris changes for std.file and std.socket.
...
std.file: Add implementation for thisExePath(), fix struct DirEntry
std.socket: Add implementation for formatSocketError
2014-11-22 00:18:49 +01:00
k-hara
b80083f198
fix property enforcement
2014-11-20 22:37:57 +09:00
Ilya Yaroshenko
1be2f486fb
std.file: clean imports
...
fix
fix
fix
fix
fix
fix
fix
2014-11-15 19:27:10 +03:00
jmdavis
76df657bb4
Move some deprecations along.
2014-10-26 19:31:08 -07:00
Andrei Alexandrescu
6fe8b57728
Merge pull request #2597 from tom-tan/safe-file-readLink
...
Make std.file.readLink safe
2014-10-19 11:43:52 -07:00
Andrei Alexandrescu
a62bdfe63f
Merge pull request #2601 from tom-tan/safe-file-DirEntry-_ensureStatDone
...
Make std.file.DirEntry._ensureStatDone safe
2014-10-19 08:53:27 -07:00
Tomoya Tanjo
2bec7fc296
Make std.file.DirEntry._ensureStatDone safe
2014-10-09 19:04:18 +09:00