jmdavis
735c2adbda
Changes required for issue# 6277.
2012-07-21 01:57:28 -07:00
Don Clugston
399e811eb3
Undo workaround for bug 7898
...
Undo commit 12a866f03
, which was a fix for
7898 [CTFE] std.algorithm:copy fails when used with two arrays.
The workaround is unnecessary now that
8216 CTFE should allow 'pointer is inside range' comparisons
has been implemented in the compiler.
2012-07-18 07:07:36 +02:00
jmdavis
8881a31541
Workaround for bug# 4789 removed.
...
The "workaround" for bug# 4789 was correct, because it _is_ illegal to
assign overlapping arrays, which assigning a static array to itself
does.
2012-07-11 01:36:58 -07:00
Andrei Alexandrescu
8c747b0aba
Merge pull request #655 from jmdavis/string
...
Fix for issue# 8323.
2012-07-08 20:16:36 -07:00
jmdavis
28781bfb9f
Old deprecations which were not properly taken care of previously.
2012-07-07 02:03:49 -07:00
jmdavis
121a69a04b
Optimizations for startsWith and endsWith.
2012-07-02 21:55:07 -07:00
Jonathan M Davis
6048cafc58
Merge pull request #612 from jmdavis/min
...
Fix for issue# 8158.
2012-06-30 19:23:08 -07:00
Andrei Alexandrescu
d7a79d7c9f
updated
2012-06-17 15:08:19 -05:00
k-hara
bf1a32fdfc
fix Issue 8240 - std.algorithm.joiner and empty inputRangeObject
...
In this case, _current member is invalid at the start of iteration.
Then joiner should have additional member _valid_current.
2012-06-15 13:23:15 +09:00
Jonathan M Davis
8e37bf3d01
Merge pull request #544 from 9rnsr/fix7878
...
Issue 7878 - A problem with purity and general templated algorithms
2012-06-04 01:36:51 -07:00
k-hara
1bd9b79e84
fix Issue 8171 - Broken std.algorithm.move for nested struct has no member
2012-05-31 10:38:28 +09:00
jmdavis
adb31e7048
Fix for issue# 8158.
2012-05-29 03:28:17 -07:00
David Simcha
b1e1fa658d
Merge pull request #588 from gchatelet/input_range_fill_algorithm
...
Issue 8112 - std.algorithm.fill must accept InputRange
2012-05-27 20:33:18 -07:00
Guillaume Chatelet
e9dd66f8a0
Issue 8112 - std.algorithm.fill accepts InputRange
2012-05-26 11:17:47 +02:00
k-hara
12a866f036
fix Issue 7898 - [CTFE] std.algorithm:copy fails when used with two arrays
2012-05-26 01:30:16 +09:00
Guillaume Chatelet
0bc122f7d2
std.algorithm.fill must accept InputRange
2012-05-17 18:53:35 +02:00
Lambert
66c886a4f1
Mehrdad's first commit, mainly as a test. Changed filter()'s structure to FilteredRange to give better error messages.
2012-05-11 16:20:26 -07:00
Andrei Alexandrescu
650609be9b
Added reference to binary search
2012-05-11 16:39:50 -05:00
k-hara
9d02596a50
Optimize unary move().
2012-05-09 01:22:13 +09:00
k-hara
af50634ea7
Use endsWith.
2012-05-08 09:45:53 +09:00
k-hara
dc6fb32f87
fix Issue 8057 - std.algorithm.move cannot use for nested struct
2012-05-07 12:33:24 +09:00
k-hara
279963c9d0
fix Issue 8055 - std.algorithm.move corrupts moved object field
2012-05-07 12:05:01 +09:00
jmdavis
2b9d1552b3
Added documentation to undocumented overload of std.algorithm.joiner.
2012-04-28 02:24:02 -07:00
Hara Kenji
2cdd101ddb
Merge pull request #546 from Aatch/std-algoritm-skipOver
...
Fix and improvements to skipOver unitttests
2012-04-22 23:06:09 -07:00
James Miller
7ee38df89f
Only unittest changes now
2012-04-23 16:21:11 +12:00
Denis Shelomovskij
e01210d131
Fix typo leading to incorrect empty result
...
* also improve style a bit
2012-04-22 15:35:27 +04:00
k-hara
e2c892fdbf
fix Issue 7878 - A problem with purity and general templated algorithms
2012-04-21 15:48:30 +09:00
James Miller
c1ad954895
more skipOver changes
...
Combined the string predicate and function parameter types.
Added a skipWhile function that skips over a range while pred is true,
returns the skippedOver range.
2012-04-20 22:11:08 +12:00
James Miller
d52a1ec8b9
skipOver now supports delegates as predicates
2012-04-20 22:11:08 +12:00
Andrei Alexandrescu
81dd3869fc
Merge pull request #510 from Aatch/docfixes
...
Assorted documentation fixes until this gets pulled.
2012-03-30 06:27:34 -07:00
Andrei Alexandrescu
84a847cbe1
Merge pull request #462 from blackwhale/regex-fixes
...
fix Issue 7300 - std.regex.ShiftOr!dchar.search is broken
2012-03-30 06:26:15 -07:00
James Miller
db7bf83a23
Fixed typo in documentation for countUntil
2012-03-28 16:53:34 +13:00
Andrei Alexandrescu
9273c74aa8
Merge branch 'master' of github.com:D-Programming-Language/phobos
2012-03-27 20:11:25 -06:00
Martin Nowak
c4db50c986
pointsTo moved to std.exception
2012-03-27 05:35:28 +03:00
Dmitry Olshansky
71b1c1a47a
fix Issue 6217 - [GSOC] result of std.algorithm.map is not movable
...
It's so simple, and it's been ages as it was broken.
2012-03-23 12:17:28 +04:00
Andrei Alexandrescu
ce83f49cf1
Add commonPrefix algorithm
2012-03-19 02:05:23 -05:00
dawg
627c48f00c
fix documented precondition of moveAll
2012-03-08 22:51:04 -08:00
Andrej Mitrovic
7f25129260
Add better description to findSplit.
2012-02-24 00:03:55 +01:00
Vladimir Panteleev
f7e0387b6d
std.algorithm: Fix the documentation of remove with pred
...
The description contradicted the example/unittest/actual behavior.
2012-02-22 17:37:56 +02:00
Andrei Alexandrescu
fa927d18bf
Merge pull request #438 from dsimcha/anyAll
...
Add all to std.algorithm and alias canFind to any for consistency with s...
2012-02-20 21:34:02 -08:00
dsimcha
2e919aa77c
Schedule for deprecation the predicate-only version of canFind and make any handle that use case.
2012-02-20 23:12:28 -05:00
Andrei Alexandrescu
91c4363398
Merge pull request #365 from dsimcha/opDollar
...
Add opDollar aliases for std.range and std.algorithm.
2012-02-20 19:45:38 -08:00
dsimcha
d1938e5563
Add all to std.algorithm and alias canFind to any for consistency with standard functional programming terminology.
2012-02-18 16:07:16 -05:00
dsimcha
3f510e39f1
Bug 7484: Overlapping array copy.
2012-02-11 19:26:09 -05:00
Yao Gómez
337d2d5c2d
Fix std.algorithm.reverse docs.
2012-02-05 16:55:56 -06:00
dsimcha
052941a087
Add opDollar aliases for std.range and std.algorithm.
2011-12-11 12:38:45 -05:00
Andrei Alexandrescu
f88e848ed9
Merge branch 'reverse'
2011-12-09 12:02:06 -06:00
Andrei Alexandrescu
24192fc3a0
Added in-place reverse for narrow strings
2011-12-09 11:49:36 -06:00
David Nadlinger
ca2a082868
Until.predSatisfied() is a private helper function, mark it as such.
2011-12-04 09:56:14 +01: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