RazvanN7
8b29f206ae
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange
2016-12-06 13:19:57 +02:00
RazvanN7
73406665c1
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:19:57 +02:00
RazvanN7
26f4aec45c
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:19:57 +02:00
RazvanN7
17d13e2066
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:19:57 +02:00
RazvanN7
050781da61
Added proper indentation
2016-12-06 13:10:10 +02:00
RazvanN7
5498a70f0e
Applied review feedback
2016-12-06 13:10:10 +02:00
RazvanN7
bacddb87ff
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
f5bece91ab
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
58374ac540
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
3ab55e96e1
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
ddc63be000
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
RazvanN7
6d13f66855
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types
2016-12-06 13:10:10 +02:00
somzzz
c3714ea01e
unittest
2016-12-06 02:04:57 -08:00
anonymous
c8a123f4d0
fix issue 16948 - broken links in std.stdio due to inccorrect use of WEB macro
2016-12-04 22:14:15 +01:00
somzzz
192b47aadb
allow BinaryHeap.dup only on Store.dup present
2016-12-02 12:37:42 -08:00
somzzz
fba056a8df
fix issue 13314
2016-12-02 04:40:14 -08:00
Jonathan M Davis
1a8cfa7029
Require that popFront and popBack be callable without parens.
...
Technically, prior to this change, it was possible to define popFront
and popBack to be callables that required parens - such as member
variable with an overloaded opCall or a delegate. It's unlikely that
anyone has actually declared popFront or popBack in this manner, but
it's possible. Because of that, calling popFront or popBack without
parens would technically not work with some valid ranges (even if such
ranges are unlikely to exist) and thus without this change, it's
arguably not valid to call popFront or popBack without parens in generic
code - especially in the standard library.
Andrei wants to be able to call popFront without parens in generic code,
and when I pointed out the existing problem with that, he wanted me to
change it so that it's no longer legal to have a range where popFront or
popBack is a callable that requires parens. So, this PR fixes that.
Now, technically, this is a breaking change, but it's highly unlikely
that it actually breaks any code, and I don't know of any way to do this
change in a way which would allow for any kind of deprecation message
for anyone trying to declare a range with a popFront or popBack that
would not work without parens. So, as far as I can tell, if we want to
make this change, we're stuck making a breaking change, but the odds of
it actually mattering seem low.
2016-11-25 10:42:29 -08:00
Nick Treleaven
cdd2acb0d5
Fix Issue 16758 - Variant.opIndex result not modified after opAssign
...
Add VariantN.opIndexOpAssign.
Also undocument & tweak test for const(Variant).opIndex.
2016-11-24 15:41:05 +00:00
Nick Treleaven
b46ca983f2
Fix Issue 16478 - Don't allow to!T() in constraint
...
Use specialization to prefer to!S when S is a static array.
2016-11-24 15:16:50 +00:00
Steven Schveighoffer
6a059e752f
Merge pull request #4898 from ntrel/to-args
...
[trivial] std.conv: Don't allow to!T() in constraint
2016-11-23 18:09:58 -05:00
Steven Schveighoffer
b612dcdd56
Fix constraint
2016-11-23 17:23:24 -05:00
Andrei Alexandrescu
7556346843
Merge pull request #4908 from ntrel/variant-constraints
...
std.variant: Minor fixes
2016-11-23 09:06:21 -05:00
Nick Treleaven
e36fb0a670
Fix doc typos
2016-11-23 10:43:42 +00:00
Nick Treleaven
a70f96377c
std.variant: Fix constraints for Algebraic opEquals, opCmp.
...
This avoids internal error messages in VariantN.this.
2016-11-23 10:43:39 +00:00
Nick Treleaven
9fcc269f1e
Ensure VariantN.opIndexAssign takes a suitable value
2016-11-23 10:37:21 +00:00
Andrei Alexandrescu
3fec190b7f
Merge pull request #4916 from Darredevil/issue-16611
...
Fix Issue 16611 - 'Unrecognized type const(void)' error for std.trait…
2016-11-22 16:36:12 -05:00
ZombineDev
b44fb6bea2
Fix typo introduced in PR #4915
2016-11-22 10:09:38 +02:00
Alexandru Razvan Caciulescu
a636bb6bb0
Fix Issue 16611 - 'Unrecognized type const(void)' error for std.traits.fullyQualifiedName
2016-11-22 04:29:33 +02:00
Andrei Alexandrescu
5891dce851
Merge pull request #4913 from aG0aep6G/std.algorithm.sorting-lrefs
...
remove pointless LREFs
2016-11-21 07:49:17 -05:00
anonymous
dfebb1f5ff
[Ddoc] backticks around isSorted and isStrictlyMonotonic
...
DDOX doesn't do auto-highlighting, but the symbols need to be formatted as
code there, too.
2016-11-21 13:05:53 +01:00
Михаил Страшун
2a6b43605d
Merge pull request #4905 from MartinNowak/fix16667
...
fix Issue 16667 - wrong @safe unittest compilation error
2016-11-21 01:55:23 +02:00
Martin Nowak
26a6857e7b
Merge pull request #4889 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-11-21 00:19:08 +01:00
Martin Nowak
de688d978d
Merge pull request #4901 from Dicebot/revert-regressions2
...
Fix issue 16663: std.unit.toUpper rejects an alias this to a string
2016-11-20 23:47:17 +01:00
Martin Nowak
ea55c96c43
move unittest outside of template
2016-11-20 23:27:37 +01:00
Tomoya Tanjo
242a4959d4
Make std.container.rbtree.RedBlackTree._add @safe
2016-11-21 06:22:45 +09:00
Petar Kirov
a7597df60e
Fix issue 16705 - TaskPool.reduce fails to compile "cannot get frame pointer to D main"
2016-11-20 20:55:43 +02:00
anonymous
74acd69f8b
remove pointless LREFs
...
The LREFs were broken. Could fix that with underscores, but the links would
just point back at the current section. There's no point in having such
links.
2016-11-18 23:47:54 +01:00
Daniel Murphy
9707f00e22
Merge pull request #4904 from MartinNowak/fix16661
...
fix Issue 16661 - failing dstring/wstring format string
2016-11-17 19:56:20 +11:00
Martin Nowak
0556bf138e
fix Issue 16667 - wrong @safe unittest compilation error
2016-11-16 20:05:29 +01:00
Martin Nowak
ce85fd60a9
fix Issue 16661 - failing dstring/wstring format string
...
- fix incorrect pointer diff computation introduced by PR #4427
commit 2be035584f
2016-11-16 19:47:00 +01:00
Martin Nowak
8b1a270f36
Merge pull request #4902 from Dicebot/revert-regressions3
...
Fix issue 16682: "privatization" of symbols in std.stdio breaks DFMT
2016-11-16 15:54:06 +01:00
Dicebot
73b699de12
Revert "Merge pull request #4789 from JackStouffer/package2"
...
This reverts commit c940f5a418
, reversing
changes made to aaf31b531c
.
Fixes issue 16682
2016-11-15 12:44:16 +02:00
Dicebot
2f27e58b0e
Add regression test for issue 16663
2016-11-15 12:26:59 +02:00
Eduard Staniloiu
adb71a6c6b
enhancement issue 4851: use assert in choice function
2016-11-14 14:01:52 +02:00
Nick Treleaven
43f37800ab
Defer doc changes to another PR
2016-11-14 10:51:08 +00:00
anonymous
11a9c58a8e
XREF -> REF
...
Removing the one that refers to std.algorithm.setops.SetUnion, because
that is not documented anymore (it's deprecated).
2016-11-13 01:25:25 +01:00
Nick Treleaven
b967d944a2
Remove isRawStaticArray - same as isStaticArray
...
isStaticArray!T already checks !isAggregateType!T.
2016-11-12 12:33:26 +00:00
Nick Treleaven
006ee446f8
Fix Issue 16478 - Don't allow to!T() in constraint
...
Also avoid highlighting 'to' unnecessarily.
2016-11-12 12:33:23 +00:00
Eduard Staniloiu
783d15bfa0
enhancement issue 4851: add choice function to std.random
2016-11-11 18:09:20 +02:00
Dicebot
8f8979ebe1
Revert "Merge pull request #4790 from JackStouffer/uni-private"
...
This reverts commit 1a7914a48c
, reversing
changes made to d38727771b
.
Fixes issue 16663
2016-11-10 19:21:14 +02:00