Михаил Страшун
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
Vladimir Panteleev
16286c045b
DDoc tweaks and fixes
2013-04-18 23:49:06 +00:00
Lars T. Kyllingstad
869769d684
Removed deprecated functions from std.path
2013-03-27 16:23:55 +01:00
Andrei Alexandrescu
1b2b5fb76e
Merge pull request #951 from monarchdodra/count3
...
improvements/fixes for count countUntil
2012-12-13 09:17:47 -08:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
monarch dodra
a98a93f1e4
fixing countUntil vs indexOf issue
2012-11-20 09:05:50 +01:00
Vladimir Panteleev
fde0998dea
Fix various problems in DDoc, identified from compiler warnings.
2012-10-19 19:09:47 +03:00
alexrp
b202180295
Remove all uses of sizediff_t in favor of ptrdiff_t.
2012-10-15 04:24:09 +02:00
alexrp
d27198beed
Use errno property instead of setErrno in std.path.
2012-07-09 04:35:56 +02:00
Denis Shelomovskij
350a8f263d
Do not call getcwd
(or other base
) in absolutePath
and relativePath
if not needed.
2012-05-03 17:37:19 +04:00
k-hara
c1aa44b250
Revert a part of pull #558
2012-05-02 23:54:21 +09:00
Lars T. Kyllingstad
a0cb29e077
std.path: Note all memory allocations in docs
...
Most functions represent simple and cheap string-slicing operations. In
some cases, however, new memory must be allocated, and this increases
the cost of the operation by orders of magnitude. As some of these
cases may not be very obvious, I think it is best they are explicitly
mentioned in the documentation.
2012-05-01 09:10:08 +02:00
Lars T. Kyllingstad
6813b56d9f
More consistent std.path docs
...
Specifically, the documentation for all functions is now written in
descriptive rather than imperative form.
2012-05-01 08:05:37 +02:00
Lars T. Kyllingstad
4f598ffcb0
std.path: Added more function attributes
...
Improvements in the compiler have made it possible to fix some old
TODOs.
2012-04-30 23:31:50 +02:00
Nils Boßung
55d89dcad1
move the import of onOutOfMemoryError out of the deprecated section
...
outOfMemoryError is in use by undeprecated code, and it's not deprecated
itself either
2012-04-04 20:19:44 +02:00
jmdavis
61c3c09004
Fix dmd tests on Windows.
2012-03-17 19:03:13 -07:00
jmdavis
982070556e
Small tweak to std.path to get dmd's unit tests to compile.
...
It looks like the static assert didn't like being compiled with
deprecated symbols.
2012-03-10 20:10:29 -08:00
jmdavis
1078995f00
Deprecated old std.path functions.
...
They were scheduled for deprecation in March.
2012-03-10 17:56:04 -08:00
jmdavis
091609ca1e
Moved February deprecations to March.
...
Having the January deprecations and February deprecations in the same
month seems a bit much to me, since we managed to have both of those
months have quite a few, whereas the next few months have very few if
any. And we're close to release too, so I'd prefer to avoid causing
issues by deprecating them now.
2012-02-11 02:44:46 -08:00
k-hara
490e7c577e
Insert assertions that check the results.
2012-02-06 19:53:32 +09:00
k-hara
6b9da73f83
buildNormalizedPath() and join() have same issue.
2012-02-06 19:53:31 +09:00
k-hara
c07fe7c8ba
Issue 7397 - [Regression] std.path.buildPath can't be used with string[]
2012-02-06 19:53:31 +09:00
Daniel Green
58f4356ca2
Change version( Win32 ) to version( Windows ) when Win64 would be supported as well.
2012-01-16 22:10:18 -05:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Andrei Alexandrescu
703f612973
Fixed wrong C library lookups
2011-11-12 21:55:22 -06:00