Commit graph

153 commits

Author SHA1 Message Date
Andrei Alexandrescu
d1af429d17 Merge pull request #3266 from WalterBright/rangeFilenameCmp
Range-ify std.path.filenameCmp()
2015-05-21 19:52:51 -07:00
Walter Bright
86c6afa188 Range-ify std.path.filenameCmp() 2015-05-18 00:03:40 -07:00
Martin Nowak
d47c603448 Merge pull request #3261 from WalterBright/rangeGlobMatch
Range-ify std.path.globMatch()
2015-05-12 23:53:06 +02:00
Walter Bright
4e760187ff Refactor std.string.relativePath() to use algorithms 2015-05-08 13:47:59 -07:00
Martin Nowak
0029b30a2e Merge pull request #3260 from WalterBright/refactorExpandTilde
Refactor std.path.expandTilde() to remove unnecessary gc allocations
2015-05-07 23:16:36 +02:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Walter Bright
7a2561e2e2 Range-ify std.path.globMatch() 2015-05-06 02:57:22 -07:00
Walter Bright
1a7556946c Refactor std.path.expandTilde() to remove unnecessary gc allocations 2015-05-05 23:29:24 -07:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
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