The Dlang Bot
4d7e5829cb
Merge pull request #7625 from jamesragray/chunkbyfix
...
Issue 14909: Provided a fix for the forward range version of chunkBy …
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-09-23 03:05:14 +02:00
Andrei Alexandrescu
71ff9d79c5
EASY: factor implementations of range length into a mixin template
2020-09-20 02:38:14 +02:00
James Gray
40286ea15d
Fixed several style problems
2020-09-11 15:26:35 +02:00
James Gray
e32356385e
Fixed trailing whitespace at line 2129 of std/algorithm/iteration.d
2020-09-11 15:11:50 +02:00
James Gray
2ed6952a71
Issue 14909: Provided a fix for the forward range version of chunkBy so that it can accept predicates refernce variables in the calling function
2020-09-10 20:42:17 +02:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Simen Kjærås
692f909883
Fix issue 20928
2020-06-15 10:11:43 +02:00
Biotronic
fd59b6a92e
Fix issue 19525
2020-05-29 01:18:40 +02:00
MoonlightSentinel
8fd3b6d3a5
Fix Issue 20496 - chunkby should support ref predicate
...
Provide an lvalue when checking the predicate
2020-04-26 03:20:42 +02:00
Geod24
62c72ca6ff
Follow up review on PR 7441
...
Steven identified a couple mistakes in the massive round of linkification.
Fixing them here.
2020-04-15 02:15:04 +09:00
Geod24
f349a76c24
Correct issue number: 93532 -> 19532
2020-04-14 23:34:18 +09:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Geod24
4c85510313
Improve comment about issue 5710
2020-04-12 22:48:16 +09:00
Iain Buclaw
c882086f85
std.algorithm.iteration: Fix typo.
...
Taken from patch for gdc bugzilla PR other/93756
2020-03-14 19:13:45 +01:00
Atila Neves
f049f0fd4b
Make one std.algorithm.iteration.map unittest @nogc
2020-01-22 12:51:02 +01:00
Bernhard Seckinger
66a2ba02fd
Fix Issue 15891 - Compiler error when std.algorithm.cache after 2
...
layers of std.algorithm.map
2020-01-08 16:05:25 +01:00
Marco de Wild
d93e7be91d
Improved error message when calling sum without a default value
...
If sum() is called, it tries to find a default value by constructing it with 0 (e.g. float(0)). This works for numbers, but produces obscure errors if the value cannot be constructed this way (e.g. issue #19525 ). The error message now states that the problem lies in the default value and suggests to supply one instead.
2019-12-30 16:11:55 +01:00
Iain Buclaw
bb7bd70fbf
Silence warning: struct Rebindable has method toHash, however it cannot be called with const(Rebindable!(const(C))) this.
2019-10-07 23:29:47 +02:00
Martin Kinkelin
7653e97a32
Rewrite dubious refRange() shortcuts in unittests
...
As preparation for dlang/dmd#10124 , which makes elements of array
literals rvalues.
2019-08-15 18:54:08 +02:00
Robert Schadek
35d32abf3a
Adds assert messages
2019-06-25 09:39:29 +01:00
The Dlang Bot
ad540ccaa2
Merge pull request #7072 from shove70/patch-4
...
Fix issue 19823 - std.range.dropOne doesn't drop the element when cal…
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2019-06-25 08:31:58 +02:00
shove70
83a3ab4d6a
Fix issue 19823 - std.range.dropOne doesn't drop the element when called after std.algorithm.iteration.filter
2019-06-18 14:00:00 +08:00
Martin Nowak
b42d6291ab
Merge remote-tracking branch 'upstream/stable' into merge_stable
2019-06-13 01:06:21 +02:00
Sebastian Wilzbach
12c5e1ee91
Use selective top-level module imports in std.algorithm
2019-05-23 10:21:19 +02:00
Spoov
46a35b9028
Fix Issue 19850 - double nested joiner .back falsely thinks the range is empty
2019-05-07 15:16:32 +03:00
Andrei Alexandrescu
cc5f89f524
Fix wrong code formatting
2019-05-04 16:36:43 -04:00
aG0aep6G
b8610beec3
use constructors instead of move
2019-03-31 15:25:03 +02:00
aG0aep6G
729f732fbc
make splitter
compatible with RefRange
...
Part of a series on issue 18657.
2019-03-26 21:41:31 +01:00
aG0aep6G
e14ef1c912
make group
compatible with RefRange
...
Part of a series on issue 18657.
2019-03-24 15:19:51 +01:00
Jon Degenhardt
02952b1c9f
Unit test covering std.group.save method
2019-02-01 23:19:42 -08:00
Jon Degenhardt
b17984059e
Fix Issue 19532 - chunkBy errors involving non-forward input ranges
2019-01-26 23:58:03 -08:00
Sebastian Wilzbach
07ea0e0201
Merge pull request #6803 from edi33416/issue_19213
...
Fix Issue 19213 - goto skips declaration of variable in std.algorithm…
2018-12-31 12:53:01 +01:00
Eduard Staniloiu
6572e4abb3
Fix Issue 19213 - goto skips declaration of variable in std.algorithm.iteration.joiner
2018-12-20 16:40:55 +02:00
Nicholas Wilson
4804e7d9c7
Merge pull request #6751 from dukc/emptySubstitute
...
Corrected initialization of empty substitute
2018-11-15 17:38:59 +08:00
dukc
d95bc60dad
Fix Issue 18796 - Made substitute with multiple range elements correctly recognize empty base ranges
2018-11-15 15:00:58 +10:00
Mike Parker
e44a862811
Typo in REF macro parameter list in each doc.
...
`$(REF Flag, std.typecons)`!"each"` should have a comma between the package names, not a dot. It was causing the text to render as `std.typecons..Flag!"each"`.
2018-11-09 19:43:43 +09:00
The Dlang Bot
e2709ee1e8
Merge pull request #6700 from schveiguy/fixsplitter
...
Allow no-arg splitter function to work on ranges that aren't standard strings
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-19 15:50:54 +02:00
Steven Schveighoffer
f7154ec86a
Fix issue 19238 - Allow splitter on random-access ranges of characters that aren't
...
character arrays.
2018-10-18 11:05:57 -04:00
Martin Nowak
95a1713806
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-10-05 17:26:18 +02:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
John Colvin
82c73711a5
fix issue 19207
2018-08-30 11:58:43 +01:00
Sebastian Wilzbach
6ef73fb360
Another merge
2018-08-15 15:05:16 +02:00
Sebastian Wilzbach
e1d37201f7
Fix early stopping PR
2018-08-15 11:06:43 +02:00
Andrei Alexandrescu
8ef426d772
More doc fixes
2018-08-15 11:06:43 +02:00
Andrei Alexandrescu
b803ffabd4
It's Yes...
2018-08-15 11:06:43 +02:00
Andrei Alexandrescu
662acd4cf6
Make each capable of early stopping
2018-08-15 11:06:43 +02:00
The Dlang Bot
bb769cfaf5
Merge pull request #4990 from wilzbach/fix-15357-each-foreach
...
Fix issue 17019: `each` should be usable with parallel (and behave like foreach)
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-08-14 21:19:55 +02:00
Sebastian Wilzbach
3f44a4cd73
Fix issue 17019 - std.algorithm.iteration.each should be usable with parallel
2018-08-01 16:25:26 +02:00
Nathan Sashihara
5e90a60ebd
Make PR #6115 compatible with BlackEdder/ggplotd
2018-07-09 22:56:38 -04:00
Sebastian Wilzbach
e34f420ff1
Fix Issue 13121 - std.algorithm.joiner should return a bidirectional range if possible
2018-06-07 19:09:02 +02:00