Commit graph

144 commits

Author SHA1 Message Date
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
Lars T. Kyllingstad
4a0bdeb2ff Undo change from "Windows" to "Win32"
This was changed in pull request 3185, for reasons unknown.  The correct
term is "Win32 device namespace".
aa365247(v=vs.85).aspx#namespaces
2015-05-04 16:07:14 +02:00
Walter Bright
10be8d574e upgrade std.path.isValidFilename and isValidPath for Ranges 2015-04-12 03:28:48 -07:00
Andrei Alexandrescu
27197a5fe3 Merge pull request #2803 from WalterBright/entity
use uuml entity for Thomas' name
2015-01-05 20:48:22 -08:00
Walter Bright
64f87e895c use uuml entity for Thomas' name 2015-01-05 20:46:53 -08:00
H. S. Teoh
5265bb1288 Fix typo in PR 2791. 2014-12-18 20:12:45 -08:00
Crom (Thibaut CHARLES)
a6251a3f24 Added tests & changed windows paths to backquoted strings 2014-12-13 18:05:22 +01:00
Crom (Thibaut CHARLES)
10ca987d87 Spaces between parenthesis 2014-12-11 17:46:12 +01:00
Crom (Thibaut CHARLES)
45d2283978 Spaces between "==" 2014-12-11 11:16:09 +01:00
Crom (Thibaut CHARLES)
fce47d8b09 code style (braces) and !is comparison 2014-12-11 10:11:43 +01:00
Crom (Thibaut CHARLES)
c7654bdbc3 Doc update 2014-12-09 11:50:52 +01:00
Crom (Thibaut CHARLES)
6e83a614f0 Added unittests (not tested on windows platform) 2014-12-09 11:45:55 +01:00
Crom (Thibaut CHARLES)
5462585245 Fix Issue 12114
buildNormalizedPath shouldn't normalize current path to empty string
2014-12-09 11:24:40 +01:00
H. S. Teoh
64d5a3a806 Merge pull request #2777 from WalterBright/upgrade
add upgrade hints
2014-11-30 19:24:48 -08:00
Walter Bright
21221cf34a add upgrade hints 2014-11-30 18:51:02 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
c8d9afedea clean scope imports
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Ilya Yaroshenko
573c894c62 std.path: clean imports 2014-11-14 17:07:57 +03:00
Joakim
093d636de4 Deprecate std.c.* and move all remaining declarations to core.stdc.* 2014-10-14 09:26:21 -05:00
k-hara
4b632bcfb1 Revert pull request #2537 to fix git-head regression issue 13498
This reverts commit 875f2fe031, reversing
changes made to f5c7e97f2b.

The changed absolutePath code essentially cannot work because the buildPath() result is not implicitly convertible to inout(char)[], but it was accidentally accepted by the regression 13498.
2014-09-20 23:47:31 +09:00
H. S. Teoh
ecde625bc7 std.path.absolutePath should accept mutable pathnames. 2014-09-19 15:15:54 -07:00
Brad Anderson
61863ee593 Fix documentation of when dirName() allocates
Whether the `path` argument is mutable or not has no bearing on if dirName() allocates.
2014-07-20 14:15:48 -06:00
k-hara
625ed56a43 [Refactoring] reduce overloads 2014-07-15 00:43:14 +09:00
k-hara
35f1c347be Remained fix for issue 13098 - isValidFilename and alias this 2014-07-15 00:43:12 +09:00
Михаил Страшун
3ee34072a6 Merge pull request #2150 from joakim-noah/android
Get tests passing on Android/x86
2014-07-12 04:05:07 +03:00
Martin Nowak
3a114c45fb fix Issue 13098 - std.path functions no longer works with DirEntry 2014-07-11 18:30:13 +02:00
Joakim
11de397dd7 Start getting tests passing on Android/x86 2014-07-09 17:52:15 -05:00
Walter Bright
daa82fdce8 fix Issue 13056 - [2.066.0-b1] Regression: Error: template std.path.baseName cannot deduce function from argument types !()(DirEntry) 2014-07-06 16:17:04 -07:00
k-hara
e96c387027 fix property enforcement 2014-05-17 19:00:26 +09:00
monarch dodra
0c58d564e2 Merge pull request #2169 from WalterBright/path-more-ranges
std.path - more range-ification
2014-05-17 09:12:57 +02:00
Walter Bright
44c203672c isValidFilename() to range 2014-05-15 20:26:50 -07:00
Walter Bright
a9c3a3514e std.path - more rangification 2014-05-15 17:46:56 -07:00
Walter Bright
736c2edcf8 extend functions to use RandomAccessRanges 2014-05-09 11:05:18 -07:00
Walter Bright
e6bbe83518 add @nogc annotations to std.path 2014-05-05 17:38:49 -07:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Martin Nowak
c1251436ba fix Issue 11691 - can't join pathSplitter with pathSeparator
- The inferred return type of front had an additional
  layer of const because it's a const method.
2013-12-05 15:22:01 +01:00
Martin Nowak
a30171a0cd add test 2013-12-05 15:16:32 +01:00
k-hara
7fdd9e0630 More parenthesis fix 2013-08-08 04:12:10 +09:00
monarch dodra
d19dcfa7ef Merge pull request #1442 from kyllingstad/buildPath-range
Added range version of std.path.buildPath()
2013-08-06 14:38:55 -07:00
Lars T. Kyllingstad
bacb06d048 Fixed order of imports 2013-08-06 11:31:23 +02:00
Lars T. Kyllingstad
58cbee5ec7 More improvements to buildPath()
Re: @monarchdodra's review
2013-08-01 08:22:48 +02:00
Lars T. Kyllingstad
d6ce714d20 Pre-allocate 255 bytes, not 256, in buildPath()
...as recommended by @monarchdodra.
2013-07-31 19:42:59 +02:00
Lars T. Kyllingstad
3e2574a001 Minor buildPath DDOC style issue 2013-07-31 19:09:46 +02:00
Lars T. Kyllingstad
23a1fe9ae0 Added unittests for issue 10348 2013-07-31 19:04:11 +02:00
Lars T. Kyllingstad
e78e55558d Minor buildPath() style issues 2013-07-31 18:15:07 +02:00
Lars T. Kyllingstad
b6757581d3 Added range version of std.path.buildPath() 2013-07-30 20:50:00 +02:00
H. S. Teoh
5685e9a862 Simplify unittest. 2013-07-28 13:13:04 -07:00
H. S. Teoh
e43433f566 Fix issue 10601.
If extension is empty, std.path.setExtension should be equivalent to
std.path.stripExtension. This special case is useful in generic code
that needs to alternate between, e.g., .exe on Windows and no executable
extension on Posix.
2013-07-28 13:13:04 -07:00
k-hara
2f21ff0c74 More fix for issue 313 & 314 2013-06-25 17:01:52 +09:00
k-hara
e2d991b005 Move checkCTFEable to std.exception.assertCTFEable, and use it 2013-06-02 02:32:24 +09:00