alexrp
d6c2ef0fb6
Deprecate crc32 and move it into std.hash.crc32.
2012-06-06 07:48:47 +02:00
Jonathan M Davis
53581e7a45
Merge pull request #573 from 9rnsr/disable_auto_escape
...
Support %-( ... %) and add documentation.
2012-06-05 22:30:47 -07:00
jmdavis
55666e778c
Added additional unit tests for 7937.
2012-06-04 23:20:15 -07:00
jmdavis
105e3600ce
Additional tweaks for 7937.
...
I didn't notice that iota had overloads. They've now been taken care of
as well.
2012-06-04 03:23:50 -07:00
jmdavis
5ca9dd0fd9
Fix for issue# 7937.
2012-06-04 02:10:40 -07: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
jmdavis
4b5b11450d
Slight tweak to save line count.
2012-06-04 00:48:27 -07:00
Dmitry Olshansky
92defbb4a0
save on line count
2012-06-04 11:42:47 +04:00
Dmitry Olshansky
b823cf6731
replaceInto baseline & unittest
2012-06-04 11:37:08 +04:00
jmdavis
52b51cf2dd
Fix for issue# 8195.
2012-06-03 22:08:38 -07:00
jmdavis
453a6822c7
Fix for issue# 8187.
2012-06-02 22:57:04 -07:00
k-hara
064a2c5015
fix Issue 8186 - Formatting class object has an alias this to int* field is broken.
2012-06-02 19:04:33 +09:00
k-hara
75b709bf28
Tweak by Dmitry Olshansky's comment.
2012-05-31 20:55:03 +09:00
k-hara
72a33de959
Replace object.clear to destroy
2012-05-31 19:27:52 +09:00
k-hara
ec773717bb
Add author
2012-05-31 19:24:39 +09:00
Jonathan M Davis
6751d4a185
Merge pull request #614 from 9rnsr/fix8171
...
Issue 8171 - Broken std.algorithm.move for nested struct has no member
2012-05-30 19:21:21 -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
Nils Boßung
e5ae9fef21
make sure that Array instances refuse ranges that don't belong to them
2012-05-29 12:29:14 +02:00
jmdavis
adb31e7048
Fix for issue# 8158.
2012-05-29 03:28:17 -07:00
Nils Boßung
ea41da991b
fix insertAfter
2012-05-29 12:24:16 +02:00
jmdavis
9b40487759
Some tweaks to unsigned.
...
unsigned was severely lacking in unit tests. This remedies that. It also
makes its return types more consistent. Previously, in the case of
signed values, the return type was their Unqualed, unsigned counterpart,
whereas in the case of unsigned values, the return type was exactly the
same as the type passed in. Now, it's the Unqualed, unsigned type in all
cases.
2012-05-29 02:14:29 -07:00
jmdavis
73b56a12bb
Revert "Changed min()/max() to compare against T.init instead of 0."
...
This reverts commit b1a9c1cd52
.
2012-05-29 01:36:54 -07:00
Jonathan M Davis
b6f43d5e95
Merge pull request #610 from donc/deprecateGamma
...
Remove deprecated tgamma and erfc from math
2012-05-29 00:42:14 -07:00
Jonathan M Davis
c164f04018
Merge pull request #592 from wfunction/master
...
Changed min()/max() to use T.init instead of 0
2012-05-28 18:51:55 -07:00
jmdavis
08acc16b83
Fix issue 7515
...
I created an adjusted version of translate which is ASCII-only and
renamed maketrans to makeTrans with some minor changes. Instead of
deprecating the old translate and maketrans, maketrans is now a
deprecated alias of makeTrans, and the new ASCII-only translate should
be compatible with the old one.
2012-05-28 15:35:28 -07:00
Jonathan M Davis
fa52571d8c
Merge pull request #530 from MikeWey/patch-1
...
File.detach should decrement the ref count - Issue 7022
2012-05-28 14:17:37 -07:00
jmdavis
7fd793e177
Added warnings of future deprecation to modules that will be replaced.
...
All of these modules are currently planned to be replaced in their
entirety, so it seems wise to have warnings about that.
2012-05-28 14:08:20 -07:00
Lars T. Kyllingstad
2bf0ff99c8
Merge pull request #595 from donc/feqrel_float
...
Implement feqrel!(float) + fix code formatting
2012-05-28 14:00:19 -07:00
Jonathan M Davis
5d423fecc8
Merge pull request #555 from klickverbot/func-attr
...
std.traits: Add SetFunctionAttributes.
2012-05-28 13:53:37 -07:00
Hara Kenji
3115e61d28
Merge pull request #576 from 9rnsr/fix8015
...
Issue 8015 - std.typecons.Tuple does not support struct with alias method this
2012-05-28 12:04:26 -07:00
Hara Kenji
61947e5fef
Merge pull request #599 from 9rnsr/fix_nullfmt
...
Issue 7348 & 8040 - null literal should be formatted as "null"
2012-05-28 11:16:07 -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
David Simcha
1c33f47992
Merge pull request #539 from 9rnsr/fix7824
...
Issue 7824 - isInputRange fails to recognize inout(T)[]
2012-05-27 19:54:14 -07:00
David Simcha
613d10f1b2
Merge pull request #566 from eco/unsigned-reverse-iota
...
fix Issue 7982 - unsigned reverse iota broken
2012-05-27 19:48:04 -07:00
k-hara
900fa89e42
More fixes for inout qualifier.
2012-05-28 10:45:33 +09:00
k-hara
ed00f6c28c
fix Issue 7824 - isInputRange fails to recognize inout(T)[]
2012-05-28 09:54:07 +09:00
Jonathan M Davis
ae7c91bfab
Merge pull request #598 from alexrp/variant-attributes
...
@trusted pure nothrow const in some parts of std.variant.
2012-05-26 22:32:02 -07:00
Lambert
b1a9c1cd52
Changed min()/max() to compare against T.init instead of 0.
2012-05-26 15:19:14 -07:00
Brad Roberts
487fa80642
Merge pull request #582 from jmdavis/array
...
Improve the const-correctness of Appender and RefAppender.
2012-05-26 12:01:16 -07:00
Jonathan M Davis
bf6350816d
Merge pull request #600 from jmdavis/deprecations
...
May Deprecations
2012-05-26 10:18:46 -07:00
Guillaume Chatelet
e9dd66f8a0
Issue 8112 - std.algorithm.fill accepts InputRange
2012-05-26 11:17:47 +02:00
Jonathan M Davis
9d78612e30
Merge pull request #604 from 9rnsr/fix7898
...
Issue 7898 - [CTFE] std.algorithm:copy fails when used with two arrays
2012-05-25 21:22:23 -07:00
Jonathan M Davis
965df0300a
Merge pull request #605 from schveiguy/rbtree_begin
...
issue 5650 - A RedBlackTree performance problem
2012-05-25 12:17:56 -07:00
Steven Schveighoffer
a83d5f1388
issue 5650 - A RedBlackTree performance problem
...
Caching first node (as _begin) to improve lookup performance of first node.
2012-05-25 14:23:59 -04: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
Don Clugston
09a0801b0a
Remove deprecated tgamma and erfc from math
...
Improved versions have been in std.mathspecial for 1.5 years.
2012-05-25 18:23:02 +02:00
Hara Kenji
0d81fe8f27
Merge pull request #591 from deadalnix/fix_stride_slicing
...
Fix empty range creation when using stride.
2012-05-25 05:32:14 -07:00
dawg
f38bc8c08b
remove windows declarations
...
- now added to druntime
2012-05-24 00:21:11 +02:00
deadalnix
f05173a9bd
Added assertion.
...
Workaround for failing tests.
2012-05-23 22:28:25 +02:00
alexrp
c12eebb3c8
@trusted pure nothrow const in some parts of std.variant.
2012-05-23 18:49:44 +02:00