Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Walter Bright
75744e07f3
Merge pull request #5406 from jmdavis/path
...
Fix safety issues with baseName and dirName
2017-05-21 07:24:31 -07:00
Walter Bright
c0403e1527
path.d: add overflow checks
2017-05-20 13:07:08 -07:00
Jonathan M Davis
edc049d7dd
Fix it so that using convertible types with baseName is @safe.
2017-05-20 09:16:07 -07:00
Jonathan M Davis
cc8bd1cdfc
Fix it so that dirName does not use isConvertibleToString.
2017-05-20 08:43:35 -07:00
Sebastian Wilzbach
b95264241f
[BOOKTABLES]: Add BOOKTABLE to std.path
2017-03-01 08:27:58 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
5521541032
Unify assert style to have no spaces between the first brace
...
Application of:
sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Sebastian Wilzbach
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +01:00
Jack Stouffer
da65768451
Add checks for infinite ranges in many range function signitures
2017-02-14 21:59:12 -05:00
Sebastian Wilzbach
cc7f125ed1
Add missing imports to public unittests
2016-12-15 23:23:35 +01:00
Basile Burg
9d1fc0750b
[TRIVIAL, DDOC] fix issue 16624 - setExtension ddoc comment is strangely formated
2016-11-03 10:09:46 +01:00
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