Commit graph

609 commits

Author SHA1 Message Date
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
k-hara
d7fdf6991f fix imports 2015-12-03 23:23:03 +09:00
Robert burner Schadek
2c78a472e0 std.file whitespace fix
I merged a comment only PR that added a litte bit of doc.
It containted whitespace at the end.

This PR removes that whitespace.
2015-11-25 21:51:01 +01:00
Lance Bachmeier
0c8c51c952 Update file.d 2015-11-24 10:42:47 -06:00
Lance Bachmeier
5aec7996e2 Update file.d 2015-11-20 11:35:53 -06:00
Blumerline
c1333caf69 Fix issue 15319 - broken import in std.file.copy 2015-11-19 13:30:35 +01:00
Brian Schott
4b57ad66e6 Merge pull request #3816 from lionello/doc_warnings
Fixed some doc warnings
2015-11-16 18:04:35 -08:00
Brian Schott
3b90461984 Merge pull request #3814 from CyberShadow/pull-20151116-000847
std.file: Update dirEntries documentation regarding path==""
2015-11-16 17:39:03 -08:00
Lionello Lunesu
be227ef595 Fixed some doc warnings 2015-11-17 09:21:52 +08:00
Andrei Alexandrescu
32b51aed4f Merge pull request #3690 from CyberShadow/pull-20151003-171210
fix Issue 15146 - std.file.dirEntries("") only works on Windows
2015-11-15 19:44:58 -05:00
Vladimir Panteleev
bf0fe11936 std.file: Update dirEntries documentation regarding path=="" 2015-11-16 00:09:43 +00:00
Martin Nowak
0e95f6723a Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-27 15:55:59 +01:00
Martin Nowak
0a9f9ccc3e fixup for string-like overloads
- undocument overloads for aliased/static strings
- make std.traits helpers phobos internal
- rename isStringLike to isConvertibleToString for clearer documentation
- rename peelStringLike to convertToString
- fix a few staticMap!(selectString) uses in std.path
2015-10-26 19:50:08 +01:00
Martin Nowak
3a8a9ea793 std.file fixes for string-like types
- fixes Issue 15027
2015-10-25 21:49:57 +01:00
Martin Nowak
f35d013be1 Merge remote-tracking branch 'upstream/pr/3762' into stable 2015-10-22 15:10:57 +02:00
Rainer Schuetze
e0de691f55 removed ditto to keep overload undocumented 2015-10-22 08:16:14 +02:00
Rainer Schuetze
1573b98304 fix isDir for alias this'd strings 2015-10-22 08:13:02 +02:00
Brian Schott
c5c87895a8 Merge pull request #3716 from CyberShadow/pull-20151014-040843
Remove declarations already declared by the new Windows headers
2015-10-16 22:00:44 -07:00
Vladimir Panteleev
545bb55e76 fix Issue 15146 - std.file.dirEntries("") only works on Windows 2015-10-14 23:38:03 +00:00
Vladimir Panteleev
7c3373eacc Remove declarations already declared by the new Windows headers 2015-10-14 04:09:32 +00:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Dmitry Olshansky
f9a6e0b0dd Add test for issue 14817 2015-09-12 14:44:50 +03:00
Robert burner Schadek
bdfbd56550 std.file unittest doc example
quickfur fix

another test

another deleteme

unquie -> unique
2015-09-11 11:04:19 +02:00
Jonathan M Davis
7b4abd0aa7 Move deprecations along. 2015-08-29 17:01:23 -07:00
Denis.Hlyakin
3a025da7c6 Cleanup for Issue 7648. Add Non-ASCII characters in filename for unittests. 2015-08-18 15:58:12 +03:00
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