Commit graph

3064 commits

Author SHA1 Message Date
jmdavis
52b51cf2dd Fix for issue# 8195. 2012-06-03 22:08:38 -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
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
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
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
David Nadlinger
61f991ba51 Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio.
With Unique being a template, commit 4ee4efe (pull request #601) caused the messages to be printed for unittest builds of client code as well.
2012-05-23 18:48:18 +02:00
David Nadlinger
ca86dad193 Bug 4356 is fixed, use ordinary assertion. 2012-05-23 18:47:45 +02:00
Jonathan M Davis
4a88cd82bf Merge pull request #601 from 9rnsr/fix7796
Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio
2012-05-23 09:22:41 -07:00
Hara Kenji
adafbe0595 Merge pull request #590 from jmdavis/range
Fixed note on bidirectional ranges.
2012-05-23 07:47:25 -07:00
k-hara
4ee4efe2b0 fix Issue 7796 - std.typecons.Unique is using writeln without importing std.stdio 2012-05-23 20:24:16 +09:00
jmdavis
4b8143afee Deprecated stuff scheduled for deprecation in May 2012. 2012-05-23 01:31:25 -07:00
jmdavis
1a4e2892b6 Removed deprecated functions which were to be removed in May 2012. 2012-05-23 00:51:12 -07:00
k-hara
95c49e3762 fix Issue 8040 - writeln(null) too 2012-05-23 13:02:18 +09:00
k-hara
f5ccd7fdab Retry to fix Issue 7348 - Format and unformat typeof(null) objects properly
We should represent null literal as "null" instead of "" in formatting, because unformatting requires one or more length string representation of the object.
2012-05-23 13:01:50 +09:00
k-hara
93da97d514 typeof(null) is not any reference types in std.traits module (string, array, associative array, pointer, class, and interface) 2012-05-23 12:49:57 +09:00
Graham Fawcett
4aae62cb95 std/regex.d: fix typo in documentation (occurrence) 2012-05-22 17:12:47 -03:00
k-hara
40de9e601b fix Issue 8080 - 'alias this' causes toString to be shadowed by aliased object 2012-05-22 16:10:13 +09:00
k-hara
2e3d877f76 fix Issue 7348 - to!string(null) matches more than one template declaration 2012-05-22 16:10:11 +09:00
k-hara
8d455147cf fix Issue 6175 - String corruption when passing static char arrays to std.conv 2012-05-22 16:10:10 +09:00
k-hara
d964333d35 Fix documentations 2012-05-22 16:10:09 +09:00
k-hara
532f88e3d3 Arrangement tests 2012-05-22 16:10:07 +09:00