Commit graph

190 commits

Author SHA1 Message Date
Vladimir Panteleev
ee2fe285c8 std.path: Emphasize that isValidPath does not check existence 2016-04-02 07:55:45 +00:00
Martin Nowak
ce2ac192c9 fix incorrect imports/fqn usages
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
  selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
Martin Nowak
0e95f6723a Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-27 15:55:59 +01:00
Martin Nowak
0a9f9ccc3e fixup for string-like overloads
- undocument overloads for aliased/static strings
- make std.traits helpers phobos internal
- rename isStringLike to isConvertibleToString for clearer documentation
- rename peelStringLike to convertToString
- fix a few staticMap!(selectString) uses in std.path
2015-10-26 19:50:08 +01:00
Martin Nowak
994ef503b2 std.path fixes for string-like types 2015-10-25 19:28:08 +01:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Robert burner Schadek
deb344ab2d std.path unittest doc
* a lot of comment example could be moved to unittest examples
* removed unittest duplication due to move

fix

another test

win fix

win

quickfur format hints
2015-10-01 14:21:08 +02:00
H. S. Teoh
06d22e9c96 Add missing Params and Returns to std.path docs.
Various doc improvements.

Kill trailing whitespace.
2015-09-02 08:24:06 -07:00
Martin Nowak
0663a30751 rangify base parameter of asRelativePath 2015-08-25 00:53:24 +02:00
anonymous
b593591978 Ddoc: fix two stray parentheses 2015-08-13 22:18:31 +02:00
Martin Nowak
5ca7ddad60 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	posix.mak

Manually edited:
	std/datetime.d (rename toNormalizedPath -> asNormalizedPath)
2015-07-24 01:28:58 +02:00
Vladimir Panteleev
bf1d655754 std.path: Rename toAbsolutePath, toNormalizedPath, toRelativePath
New names: asAbsolutePath, asNormalizedPath, asRelativePath

Discussion:
http://forum.dlang.org/post/mmktgszutvkqgrjmnice@forum.dlang.org
2015-07-08 11:32:13 +00:00
Vladimir Panteleev
9561bc631d std.path: Rename defaultExt to withDefaultExtension
Discussion:
http://forum.dlang.org/post/btbyfqvkpwivjxuolmhx@forum.dlang.org
2015-06-29 19:34:28 +00:00
Vladimir Panteleev
044cbc00c3 std.path: Rename setExt to withExtension
Discussion:
http://forum.dlang.org/post/dgtczeqnaulmdgdvvdrx@forum.dlang.org
2015-06-29 19:34:28 +00:00
Walter Bright
bb2a23050f std.path.toNormalizedPath - fix typo 2015-06-17 03:31:08 -07:00
Walter Bright
519c3bf35a Range-ify std.path.buildNormalizedPath by adding toNormalizedPath() 2015-06-10 11:25:50 -07:00
Walter Bright
5cd1d24917 Range-ify std.path.pathSplitter() 2015-06-08 00:24:52 -07:00
Andrei Alexandrescu
3de3633f41 Merge pull request #3384 from WalterBright/toRelativePath
Range-ify std.path.relativePath by adding toRelativePath()
2015-06-07 15:56:26 -07:00
Walter Bright
e87d9c867b Range-ify std.path.relativePath by adding toRelativePath() 2015-06-07 14:59:12 -07:00
Vladimir Panteleev
1fb3b10798 std.path: Fix building documentation 2015-06-07 20:17:46 +00:00
Walter Bright
84dad982fc rewrite std.path.buildPath in terms of chainPath() 2015-06-06 20:48:04 -07:00
Walter Bright
01496c87fb Range-ify std.path.absolutePath by adding toAbsolutePath() 2015-06-06 14:18:41 -07:00
Walter Bright
03866cb12a Range-ify std.path.buildPath by adding chainPath() 2015-06-05 17:30:22 -07:00
Andrei Alexandrescu
0fd371325b Merge pull request #3370 from WalterBright/addSetExt
Range-ify std.path.setExtension by adding setExt()
2015-06-04 23:42:43 -07:00
Walter Bright
aad6b591a8 Range-ify std.path.setExtension by adding setExt() 2015-06-04 22:53:24 -07:00
Walter Bright
70c9965ade Range-ifdefaulttd.path.setExtensiondefault adding setExt() 2015-06-04 22:17:06 -07:00
Andrei Alexandrescu
e0d8161aed Merge pull request #3368 from WalterBright/rangeStripExtension
Range-ify std.path.stripExtension()
2015-06-03 16:16:38 -07:00
Walter Bright
1b321c0070 Range-ify std.path.stripExtension() 2015-06-03 14:38:21 -07:00
Walter Bright
f6345626ee Range-ify std.path.dirName() 2015-06-03 14:31:22 -07:00
Walter Bright
97efe3f06e Range-ify std.path.driveName() 2015-06-02 22:07:22 -07:00
Walter Bright
a73e4b4e1f Range-ify std.path.rootName() 2015-06-02 19:43:53 -07:00
Joakim
3352c90c2e Separate linux kernel, glibc, and bionic APIs where appropriate 2015-05-27 21:54:52 -05:00
Andrei Alexandrescu
c5d5a3fa9b Merge pull request #3268 from WalterBright/relaxtrimSeparators
accept more range types for std.path.*trimSeparators()
2015-05-22 13:08:00 -07:00
Walter Bright
c31c02c004 accept more range types for std.path.*trimSeparators() 2015-05-21 23:29:44 -07:00
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