The Dlang Bot
e13e3889ac
Merge pull request #6435 from JackStouffer/input-range-link
...
Make references to input ranges a link to isInputRange
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-15 01:42:45 +02:00
RazvanN7
0369df5584
Fix double initialization of field errno in std/file.d
2018-04-12 17:57:18 +03:00
Jack Stouffer
e14f89e170
Make references to input ranges a link to isInputRange
2018-04-08 16:19:57 -04:00
Roman Chistokhodov
9215b48ea3
Add timeStatusChanged documentation comment
2018-04-08 16:37:57 +03:00
MetaLang
92ecb29edd
Fix typo
2018-04-07 22:10:22 -03:00
Jack Stouffer
60e5f06709
Link all references of FileException
2018-04-07 20:30:39 -04:00
Jack Stouffer
7478c44d12
Added Params and Returns sections to all ddocs in std.file
2018-04-07 20:08:30 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
a961d665b7
Fix spurious build failures in std.file by using more unique test
...
directories
2018-03-26 08:59:55 +02:00
Sebastian Wilzbach
3e0906d482
mkdir with an non-existent directory throws a WindowsException on Windows
2018-03-22 17:05:55 +01:00
Sebastian Wilzbach
d46ccb3c06
Limit setAttributes unittest to Posix
2018-03-22 16:32:37 +01:00
Sebastian Wilzbach
bba5ead362
Fix std.file unittests for auto-tester
2018-03-22 15:22:21 +01:00
Sebastian Wilzbach
0b153a2884
Add public examples to std.file + enable DScanner check
2018-03-22 01:46:57 +01:00
The Dlang Bot
ba11d630a0
Merge pull request #6252 from JackStouffer/issue18158
...
Fix Issue 18158 - std.file.getcwd should be usable in @safe
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-11 19:08:25 +01:00
Jonathan M Davis
1436fca1cc
Add website link to author name for Jonathan M Davis.
2018-03-10 16:31:23 -07:00
Jack Stouffer
767d1c51d4
Fix Issue 18158 - std.file.getcwd should be usable in @safe
2018-03-07 16:14:42 -05:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Jonathan M Davis
5d52a81e4d
Fix issue 15949: Make readText check BOMs.
...
This makes it so that readText checks for a BOM. If there is a BOM, it
is for UTF-8, UTF-16, or UTF-32, and it doesn't match the requested
string type, then a UTFException is thrown. Other encodings are let
through in case they happen to work with the requested string type and
pass UTF validation.
Also, this makes it so that readText checks the alignment of the buffer
against the requested string type and throws a UTFException instead of
letting the cast throw an Error.
2018-02-10 19:53:29 -07:00
Timothee Cour
f3e9c89aae
fix doc inaccuracy in dirEntries
...
cf FORUM: dirEntries returns relative, not absolute paths
2018-02-06 13:45:28 -08:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
RazvanN7
fa52c3f709
Fix erroneous imports in unittests
2018-01-23 13:10:34 +02:00
Jack Stouffer
9d8a331e40
address Andrei's review
2018-01-03 14:40:10 -05:00
Jack Stouffer
3eadd0095e
Merge branch 'file-overflow' of https://github.com/WalterBright/phobos into file-overflow
2018-01-03 13:16:52 -05:00
Joakim
ee4036a53a
Use the Posix TMPDIR logic, as D can be used from the command-line too on Android.
2017-12-22 18:42:35 +05:30
Diederik de Groot
31ca73d58d
Port of phobos to DragonFlyBSD
...
Notes:
- FIXME message related to dragonfly malloc issue (issue reported on upstream dragonfly issue database)
2017-12-20 08:05:49 +01:00
Jonathan M Davis
fc86ca916e
Fix issue 17962: dirEntries is truncating Unicode file names.
2017-11-05 18:56:32 -07:00
Alexandru Jercaianu
d30cda8feb
impl is initialized only in constructor
2017-10-07 15:39:37 +03:00
Alexandru Jercaianu
7f6ce8026f
added safe in the stddoc block
2017-10-07 12:41:08 +03:00
Alexandru Jercaianu
b7f8edd630
safe at toplevel; replaced strlen with countUntil
2017-10-07 10:57:56 +03:00
Alexandru Jercaianu
daa79a5b03
removed unused lstatbuf
2017-10-05 13:23:50 +03:00
Alexandru Jercaianu
5e88b67808
minor code refactoring
2017-10-05 13:20:39 +03:00
Alexandru Jercaianu
0ff1cfe045
Safe for windows
2017-10-01 11:38:58 +03:00
Alexandru Jercaianu
aac8e8d7d9
DirIterator is safe
2017-09-30 19:57:30 +03:00
wolframw
0a434259c0
Fix documentation for std.file
...
Corrected typos and added $(D) where necessary. Added underscores to
non-identifier tokens which weren't properly prefixed (and were
therefore wrongly hightlighted in the docs).
2017-07-25 21:57:12 +02:00
Sebastian Wilzbach
cf7766c1a9
Make std.file examples runnable
2017-07-09 16:22:53 +02:00
Vladimir Panteleev
2e6c52d02f
std.file: Unify dirEntries overloads' documentation
2017-07-07 17:33:29 +00:00
Vladimir Panteleev
4697a127c2
Update a missed dirEntries overload (fixup for #5569 )
2017-07-07 16:31:57 +00:00
Vladimir Panteleev
efd740e551
Improve documentation of std.file.SpanMode (issue 8680)
...
This clarifies the terminology used for describing the iteration order
of dirEntries, as the current terminology has been found misleading.
2017-07-07 15:39:28 +00:00
Vladimir Panteleev
657339069c
Fix broken links
2017-07-06 19:15:31 +02:00
Sebastian Wilzbach
d8959320e0
Fix deprecations on Windows
2017-07-06 01:01:52 +02:00
Roman Chistokhodov
dc7f802605
Add errnoString to remove code duplication from some modules
2017-07-01 02:34:49 +03:00
Jack Stouffer
20d40a954c
Switched package-wide datetime imports to new sub-packages
2017-06-30 13:51:53 -04:00
Sebastian Wilzbach
d2c5c53ab7
Fix REF links in std.file.slurp
2017-06-24 04:50:11 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd
Sort multiple packages within one line
2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Walter Bright
85eb47baac
file.d: add overflow checks
2017-05-20 17:35:01 -07:00
Steven Schveighoffer
fabf19affc
Defer addition of template until we need it for ranges.
2017-05-17 08:32:43 -04:00
Sebastian Wilzbach
e50531d921
Fix issue 17394 - mkdirRecurse isn't @safe
2017-05-13 13:34:07 +02:00