Commit graph

583 commits

Author SHA1 Message Date
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Jacob Carlborg
6425af57b1 Fix std.file unit test
The current working directory is not writeable on Apple's ARM platforms.
2020-03-03 12:51:07 +01:00
Jacob Carlborg
280f3fce87 Disable most of std.process on iOS derived platforms
A process does not have permission to create new processes on
iOS derived platforms.
2020-03-03 12:51:07 +01:00
Jacob Carlborg
5bccc30ef7 Implement thisExePath on iOS derived platforms 2020-03-03 12:51:07 +01:00
The Dlang Bot
1c91e85bb1
Merge pull request #7392 from mark-summerfield/patch-1
Added a chmod example in the description...
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-02-26 06:05:46 +01:00
Adam D. Ruppe
ae93f5317c Use consistent quickindex wrapper around hand-written list-of-links tables 2020-02-21 21:04:05 -05:00
Mark
049acda282
Wrapped to 80 cols
The github editor doesn't show line lengths so I've guessed.
2020-02-06 08:03:14 +00:00
Mark
810f0dab52
Deleted spurious whitespace 2020-02-05 13:37:22 +00:00
Mark
817602e479
Added a chmod example in the description...
I added this because if you search the D docs for `chmod` no results appear. This should help with the search and also provide a useful example.
2020-02-05 11:19:08 +00:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
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