Commit graph

4086 commits

Author SHA1 Message Date
jmdavis
27912bb268 Fix for issue# 8334. 2012-08-12 20:57:10 -07:00
Andrei Alexandrescu
230c5000f4 Merge pull request #747 from lomereiter/master
fix behaviour of std.stdio.File.ByLine
2012-08-12 19:53:31 -07:00
Andrei Alexandrescu
a381e4c879 Merge pull request #746 from CyberShadow/std-path-escapeposixargument
std.process: Fix escapePosixArgumentImpl
2012-08-12 19:50:59 -07:00
Andrei Alexandrescu
e68ec9c4d0 Merge pull request #742 from denis-sh/fix-issue-8516
Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types
2012-08-12 19:21:07 -07:00
Andrei Alexandrescu
d29283cf56 Merge pull request #741 from epi/master
Array!bool now stores and reads correct values on 64-bit machines
2012-08-12 19:18:31 -07:00
Artem Tarasov
c8e0469019 fix std.stdio.byLine behaviour 2012-08-11 12:34:32 +04:00
Vladimir Panteleev
96556b54f3 std.process: Fix escapePosixArgumentImpl 2012-08-10 10:15:06 +03:00
jmdavis
ad177d0cf1 Workaround for bug# 8521. 2012-08-08 12:43:56 -07:00
jmdavis
4ca0af8662 Made it so that decode works with arbitrary ranges of code units.
I also added decodeFront which operates on the first code point in the
range (unlike stride and strideBack, it requires a different name, since
the signatures of decode and decodeFront are almost identical - the only
difference being that decode takes the index by ref, and decodeFront
takes it as out).
2012-08-07 00:41:18 -07:00
jmdavis
b45e37139e Made it so that strideBack works with arbitrary ranges of code units.
I also added overloads for strideBack which don't require an index
(they operates on the last code point).
2012-08-07 00:38:11 -07:00
jmdavis
acc72035a0 Made it so that stride works with arbitrary ranges of code units.
I also added overloads for stride which don't require an index (they
operate on index 0).
2012-08-07 00:37:50 -07:00
Denis Shelomovskij
ef10bdf6bc Fix Issue 8516 - std.string.representation works incorrect for shared(const(T)) types 2012-08-07 11:17:29 +04:00
Adrian Matoga
09a5f5c472 Array!bool now assigns and reads correct values on 64-bit machines 2012-08-06 18:49:32 +01:00
David Nadlinger
395e360d74 Document non-short-circuiting behavior of allSatisfy/anySatisfy. 2012-08-06 14:34:51 +02:00
David Nadlinger
41cca054a5 std.typetuple docs: Use "template predicate". 2012-08-06 14:34:51 +02:00
Andrei Alexandrescu
90eb931303 Merge pull request #735 from denis-sh/fix-win32.mak-clean-target
Fix win32.mak clean target
2012-08-05 20:40:45 -07:00
Andrei Alexandrescu
d823b4eb13 Merge pull request #731 from monarchdodra/algoSave2
Fixes in std algorithm
2012-08-05 20:14:21 -07:00
Andrei Alexandrescu
2296401172 Merge pull request #724 from monarchdodra/RefCounted
Small fix for opAssign(T)
2012-08-05 19:30:23 -07:00
jmdavis
46c8498fc5 Added new overload for takeNone which can sometimes return the original type. 2012-08-05 19:25:33 -07:00
Andrei Alexandrescu
a3b34c7c41 Merge pull request #723 from dsimcha/partialShuffle
Add std.random.partialShuffle.
2012-08-05 19:23:56 -07:00
Andrei Alexandrescu
de23ee20d1 Merge pull request #722 from dsimcha/parallelismDocImprovements
Improvements to std.parallelism docs:  Add source link, improve formatti...
2012-08-05 19:21:35 -07:00
jmdavis
106bdd8cae Fixed type in std.conv. 2012-08-05 17:01:07 -07:00
Andrei Alexandrescu
d67d2eaa66 Merge pull request #712 from jmdavis/canFind
Added overload for canFind which works with multiple needles.
2012-08-05 15:58:41 -07:00
Andrei Alexandrescu
3d9c72bcfa Merge pull request #688 from jmdavis/filter
Added std.typetuple.Filter.
2012-08-05 15:42:15 -07:00
Andrei Alexandrescu
8cddf7d176 Merge pull request #682 from jmdavis/swap
Workaround for bug# 4789 removed.
2012-08-05 15:38:02 -07:00
Jonathan M Davis
f541d19e9c Merge pull request #739 from 9rnsr/fix8508
Issue 8508 - std.traits.isSomeString no longer works with enums
2012-08-05 15:13:31 -07:00
k-hara
c6dc1711c4 fix template constraints 2012-08-06 01:05:06 +09:00
k-hara
5daf79cbe3 fix Issue 8508 - std.traits.isSomeString no longer works with enums 2012-08-06 01:04:24 +09:00
Jonathan M Davis
fc99e5583e Merge pull request #729 from andralex/bug8469
Added additional check to isSorted to detect invalid predicates
2012-08-04 18:47:06 -07:00
jmdavis
68de5f2f5a Added Filter and Lambda to std.typetuple. 2012-08-02 19:51:42 -07:00
Denis Shelomovskij
7b4fdfec1a Fix win32.mak clean target
* this small issue was introduced by commit 1d9c3fa371
2012-08-02 19:47:36 +04:00
monarchdodra
d0457fe82a This test is actually needed
Adds "isSomeString" to map's "length" test.
2012-07-31 13:47:27 +03:00
monarchdodra
58fef77d02 Fixes in std algorithm
*Tuning of map for "length", "opIndex", "opSlice"
*Fill is more efficient, accepts infinite inpute length
*adjacentFind: Correctly saves
*minCount: Using value types (and not reference types). Throws on empty range
*minPos: Correcttly saves
*equal: More efficient implementation
2012-07-31 12:46:19 +03:00
Walter Bright
ffe42c7b3c Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-07-30 20:31:33 -07:00
Andrei Alexandrescu
dbcee59922 Merge pull request #730 from 9rnsr/rev_const
Revert all const qualifier of class member functions that inherited from Object.
2012-07-30 18:33:02 -07:00
k-hara
119f7f7424 Revert all const qualifier of class member functions that inherited from Object.
This change is necessary to avoid breaking existing codes which inherit them in user code.
2012-07-31 10:05:59 +09:00
Andrei Alexandrescu
3f6def1694 Added additional check to isSorted to detect invalid predicates 2012-07-30 18:19:39 -04:00
Walter Bright
54fe40d78e Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-07-30 13:50:36 -07:00
Andrei Alexandrescu
09ea7f599b Merge pull request #728 from 9rnsr/fix5939
Issue 5939 - Cannot copy std.algorithm.map
2012-07-30 10:42:27 -07:00
k-hara
1d9c3fa371 Separate unittest building in Windows platform. 2012-07-31 00:33:12 +09:00
k-hara
cedddcd23e fix Issue 5939 - Cannot copy std.algorithm.map
Move out Voldemort types to modle level.
2012-07-31 00:30:07 +09:00
Andrei Alexandrescu
0a5c88daf3 Merge pull request #726 from jmdavis/traits
Fix for issue# 8459.
2012-07-28 17:20:28 -07:00
jmdavis
9ca21ef2e7 Fix for issue# 8459.
isTrusted and isSafelyCallable have been removed. isSafe now checks for
both @safe and @trusted again (but correctly now).
2012-07-28 17:15:32 -07:00
Walter Bright
7cae8bc713 Merge branch 'master' of github.com:D-Programming-Language/phobos 2012-07-28 15:34:07 -07:00
jmdavis
59f3a6ae6b Added fix for issue# 8450 to changelog. 2012-07-27 17:43:32 -07:00
Andrei Alexandrescu
494cbc5295 Merge pull request #725 from jmdavis/8450
Fix for regression bug# 8450.
2012-07-27 17:33:32 -07:00
Andrei Alexandrescu
82865e86f2 Merge pull request #675 from jmdavis/traits
Fix for issue# 8362.
2012-07-27 17:32:18 -07:00
jmdavis
e169f5dfae Fix for issue# 8362.
"std.traits.isSafe doesn't work with unsafe lamdba functions"
2012-07-27 13:06:58 -07:00
jmdavis
3bd83aad16 Fix for regression bug# 8450.
This requires the fix for bug# 8362 in order to compile and work.
2012-07-26 21:21:30 -07:00
monarchdodra
f0304974e8 Fix for opAssign(T)
This either:
*Asserts if autoInit==No and not initialized (instead of doing an access violation)
*EnsuresInitialized if autoInit==Yes

Uses "move(a, b)" instead of "b = move(a)" for slightly increased performance
2012-07-26 11:41:26 +03:00