Commit graph

573 commits

Author SHA1 Message Date
The Dlang Bot
58cb6963fb
Merge pull request #7288 from berni44/issue11631
Clarify the behaviour of rename on posix systems.
merged-on-behalf-of: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
2019-11-21 02:14:02 +01:00
Bernhard Seckinger
fb9c323599 Clarify the behaviour of rename on posix systems. 2019-11-20 16:11:51 +01:00
Bernhard Seckinger
557d932212 Change Posix to POSIX in comments. 2019-11-20 16:00:09 +01:00
Vladimir Panteleev
3892071c32 std.file: Fix unittest for no autodecode 2019-08-15 12:13:58 +00:00
Walter Bright
9e61c5740d std.math: change tests for rounding 2019-07-15 22:07:50 -07:00
Mike
2b2a4a10bb Replace usages of in with const scope 2019-07-15 16:10:22 +09:00
shove70
8ba408b521 Fix issue 19834 - File exception for [std.file.copy] on windows shows the target file rather than the source file 2019-07-05 16:58:43 +08:00
jercaianu
6010a7ccde Fix Issue 16487 - Add function to obtain the available disk space (#5776)
Fix Issue 16487 - Add function to obtain the available disk space
merged-on-behalf-of: unknown
2019-06-28 08:35:59 +02:00
Iain Buclaw
6b9336b962 std/file.d: Clean-up unused imports after merging #6805 2019-04-06 13:25:35 +02:00
The Dlang Bot
8808233223
Merge pull request #6912 from CyberShadow/pull-20190318-132350
[Trivial] std.file: Optimize deleteme a bit
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-03-18 15:19:23 +01:00
Vladimir Panteleev
2a2dce67f5
std.file: Optimize deleteme a bit
- Remove one unnecessary TLS variable

- Replace std.conv.to + concatenation with std.conv.text to lower the
  upper bound of allocations
2019-03-18 13:26:21 +00:00
Bastiaan Veelo
1a33bd1e6f
Fix documentation link.
In absence of LREF_ALTTEXT, sacrifice grammatical correctness to get a working link. There is precedence on line 4784.
2019-02-13 09:31:53 +01:00
Bastiaan Veelo
4af6b11d7e
Fix typo in documentation. 2019-02-12 20:11:37 +01:00
Martin Nowak
6804bf18cd Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-12-24 17:26:02 +01:00
Rainer Schuetze
94e508905a do not mix arrays and raw GC.realloc/free: base address of arrays are not necessarily the base of the allocation, realloc doesn't update array info 2018-12-23 14:04:02 +01:00
Nicholas Wilson
e7cfc5c1f2
Merge pull request #6805 from edi33416/issue_19133
Fix Issue 19133 - core.exception.rangeerror@std/file.d(3812)
2018-12-18 19:46:37 +08:00
The Dlang Bot
43be36c179
Merge pull request #6790 from joakim-noah/stable
Android and AArch64: tweak tests that trip
merged-on-behalf-of: unknown
2018-12-18 03:26:39 +01:00
Nathan Sashihara
6ffd4e7f28 Replace imports of core.sys.windows.windows to speed up compilation 2018-12-17 21:03:31 -05:00
Hiroki Noda
fce262d1c2 [trivial] Fix dirEntries docs
Use `std.process.executeShell` instead of old system function.
2018-12-17 06:02:46 +09:00
Vladimir Panteleev
e86df01f02
std.file: Use simpler dirent reading closer to C API 2018-12-14 15:18:35 +00:00
Eduard Staniloiu
cb1dd9fef6 Fix Issue 19133 - core.exception.rangeerror@std/file.d(3812) 2018-12-14 16:39:30 +02:00
Walter Bright
f30f6b3ce1 inure against windows.d changes by casting to LPCWSTR 2018-12-04 22:56:29 -08:00
Joakim
a3e12db149 Android: much of /proc was made inaccessible since Oreo, but cpuinfo is still readable. 2018-12-04 17:10:00 +05:30
Sebastian Wilzbach
0a45323f6f
Revert "Add getTimesPosix" 2018-11-16 21:33:59 +10:00
Nicholas Lindsay Wilson
13fb09dbb7 Whitespace 2018-11-16 10:45:42 +08:00
Roman Chistokhodov
87c9e6a9e3 Add getTimesPosix 2018-11-16 10:36:10 +08:00
Roman Chistokhodov
d1c9bd2721 Add fillStatBuf 2018-11-16 10:36:10 +08:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Basile Burg
8ab8b1fa4a rather check if stripped line is empty 2018-08-25 22:34:24 +02:00
Basile Burg
9ca114d141 fix issue 11431 - std.file.slurp fails with Windows newlines 2018-08-25 19:36:34 +02:00
The Dlang Bot
53fc9912a6
Merge pull request #5755 from FreeSlave/public_statTimeToStdTime
Make statTimeToStdTime public
merged-on-behalf-of: unknown
2018-07-15 12:47:32 +02:00
Roman Chistokhodov
732e2ab434 Make safe unittest 2018-06-15 22:51:58 +03:00
Walter Bright
beba2bea7f file: add scope 2018-06-09 22:34:52 -07:00
Walter Bright
32d5038b56 file.d: don't leak file names 2018-06-08 13:02:39 -07:00
Roman Chistokhodov
40297000ee Make stat_t time functions auto ref templated 2018-06-05 14:55:03 +03:00
The Dlang Bot
a56ae8026b
Merge pull request #6542 from wilzbach/underscore
Remove a few cases of underscore escaping
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-06-04 22:29:52 +02:00
Roman Chistokhodov
31c123fda2 Add public time functions that accept stat_t 2018-06-04 15:51:13 +03:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
f9cd2af795 Fix Issue 18752 - std.file.read runnable example fails 2018-06-02 16:48:57 +02:00
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