Commit graph

199 commits

Author SHA1 Message Date
Sean Enck
335beff82d The word "tranforms" is a typo, should be "transforms" (especially painful when searching for the word "transforms") 2016-10-15 11:12:28 -04:00
Jack Stouffer
8053150b64 Remove package wide std.algorithm imports from std.path 2016-09-16 10:33:21 +01:00
Walter Bright
6c379491db std.path: make .ptr access trusted 2016-07-23 17:58:13 -07:00
Atila Neves
5ed8ffc05b Add @system and @safe to std.path unit tests 2016-07-08 16:24:32 +02:00
Jack Stouffer
bc0276ff16 Fixed local imports in std.path 2016-07-01 09:42:41 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
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