monarch dodra
43a77fa50c
support for empty static arrays in ElementEncodingType
2013-10-24 12:37:41 +02:00
monarchdodra
a4b9321901
Fix Issue 11336 - ElementType does not support types with disabled postblits
2013-10-24 09:44:41 +02:00
Daniel Cousens
00a2cb06b4
Adds Bidirectionality to Repeat
2013-10-13 03:52:39 +11:00
Denis Shelomovskij
6788a62506
Fix Issue 11196 - std.range.zip
fails to compile if range elements aren't default contructable
...
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11196
2013-10-08 17:08:27 +04:00
Andrej Mitrovic
6924d3e6db
Merge pull request #1483 from monarchdodra/chunksAmbiguity
...
Solve conflicting "chunks" declaration
2013-10-01 18:13:48 -07:00
H. S. Teoh
5b3b4b1cdc
Add RefRange to ddoc overview.
2013-08-25 14:05:56 -07:00
monarchdodra
26cc34840f
Solve conflicting "chunks" declaration
2013-08-16 20:23:40 +02:00
k-hara
30356d606f
Fix @property annotations and incorrect parenthesis
2013-07-16 00:31:26 +09:00
Hara Kenji
50c7b20959
Merge pull request #1398 from monarchdodra/mapSlice
...
Better slicing for map
2013-07-15 05:24:06 -07:00
jmdavis
32c3998ebd
Fix for issue# 10474.
2013-07-08 13:36:50 -07:00
monarchdodra
0ac90b1770
make cycle opDollar manifest constant
2013-07-08 20:03:29 +02:00
Andrej Mitrovic
4da1639c98
Merge pull request #1337 from 9rnsr/fix_attrs
...
Potentially @safe & pure formatting
2013-06-27 18:53:22 -07:00
Andrej Mitrovic
4727fdde0b
Fixes Issue 10468 - Remove ref from parameter type in lockstep, which caused a regression.
2013-06-25 00:19:05 +02:00
k-hara
d8d4c1ea41
[formatValue] (pointer)
...
+ Infer attributes in retro range primitives
2013-06-20 10:57:48 +09:00
irritate
5521cca32a
Just call Unqual once after CommonType.
2013-06-18 21:30:45 -04:00
irritate
ebe93db8c1
Issue 10130 - Fix compile error when calling map on iota with const step.
...
Also fixed the similar issue for iota with const begin/end/step floats.
2013-06-18 20:53:12 -04:00
Andrei Alexandrescu
13a3131d26
reduced imports for std.range
2013-06-09 02:29:44 -04:00
Brad Anderson
746afc47b8
Fix link to put primitive in std.range docs
2013-05-28 20:39:57 -06:00
David Nadlinger
dc4fe37080
Merge pull request #992 from monarchdodra/chunks
...
Update in chunks
2013-05-27 04:16:23 -07:00
monarch dodra
3e8a8cd887
fix typo in comment
2013-05-27 13:10:43 +02:00
jmdavis
ce1b2294b0
Undocument some deprecated functions.
...
They were marked for removal in the docs (many of them were intended to
be removed in January), so now they've been removed from the docs and
marked for removal from the code in November.
2013-05-05 16:34:25 -07:00
Vladimir Panteleev
16286c045b
DDoc tweaks and fixes
2013-04-18 23:49:06 +00:00
monarch dodra
6f21319029
Update in chunks
...
reduces requirements to ForwardRange
2013-03-27 08:08:55 +01:00
unknown
dd1a80c56f
Fixup for cycle RangeError invocation
...
From: #1183 :
Issue 9612: Cycle opSlice should throw when finish > start
Because a RangeError is not actually customizable, and the first argument is actually the file name. The error was producing:
```
core.exception.RangeError@2 > 1(3836): Range violation
```
Now it produces:
```
core.exception.RangeError@std\range.d(3835): Range violation
```
2013-03-10 22:16:12 +01:00
Brad Anderson
b7d075d555
Cycle opSlice should throw when finish > start
...
Issue 9612
2013-02-27 18:37:23 -07:00
jmdavis
2735d30f4e
Remove all uses of std.metastrings.Format.
2013-02-24 18:42:46 -08:00
Andrej Mitrovic
c0713f1b79
Refactor lockstep and simplify opApply string mixin generator.
2013-02-08 22:57:39 +01:00
Andrei Alexandrescu
e57c8c7393
Merge pull request #1008 from monarchdodra/save
...
Consolidating forward range requirements
2013-02-04 21:03:08 -08:00
monarch dodra
54b151ffdb
Consolidating forward range requirements
...
Because returning anything other than an *exact* type match messes everything up. This is particularly true in the sense that "saved" ranges are usually passed directly to a function, so not cast back to the original.
2013-02-04 18:55:14 +01:00
jmdavis
70dbc120bd
Uncommented stuff that was commented out due to bug 9947.
...
Kenji missed a couple of lines of commented out code in hasSlicing, so
this commit uncomments them now that bug 9947 has been fixed.
2013-02-03 17:10:21 -08:00
Andrei Alexandrescu
a765c38c79
Merge pull request #1109 from 9rnsr/fix8847
...
Enable hasSlicing test which had been blocked by bug 9947
2013-02-03 16:57:16 -08:00
k-hara
6109cb6192
Enable hasSlicing test which had been blocked by bug 9947
2013-02-04 09:34:48 +09:00
Andrej Mitrovic
3625bcb7e8
Fixes Issue 8920 - iota should work with types smaller than int.
2013-02-04 01:14:13 +01:00
Daniel Murphy
41a9f1fa05
Fix Issue 6408 - Phobos fixes
...
Do not use typeof(Type[0]) to get the element type of an array, use typeof(Type.init[0])
2013-01-18 19:10:16 +11:00
jmdavis
9bab8393c3
Made cycle's DollarToken private.
...
There's no reason for anyone to use it directly, so it's better for it
to be private.
2013-01-12 22:51:35 -08:00
Alex Rønne Petersen
c1c7adec0c
Merge pull request #1065 from monarchdodra/repeatSlice
...
Provide slicing for Repeat
2013-01-12 08:50:29 -08:00
Alex Rønne Petersen
fa6131bb29
Merge pull request #1069 from monarchdodra/zipLockstep
...
Const fixes in Zip and Lockstep
2013-01-11 02:46:52 -08:00
jmdavis
1ec00a35d8
Add opSlice to Cycle.
2013-01-11 00:05:16 -08:00
unknown
24164c5e9b
Various fixes in lockstep and zip
...
Mainly, they accepted the types R, provided Unqual!R is a range. But that doesn't make sense.
Reduced to only accepting if R itself is a range.
Improved constraints, fixed implementations, removed needles bug workaround.
2013-01-11 08:31:09 +01:00
unknown
af67984222
Activate bugfix 6336 unittest
2013-01-11 08:31:08 +01:00
monarch dodra
8298d0dfc3
Provide slicing for Repeat
2013-01-10 23:47:47 +01:00
monarch dodra
4fdaafa8a9
Remove back/popBack primitives from Repeat
...
Because a bidirectional infinite range makes no sense. AFAIK.
2013-01-10 13:31:47 +01:00
monarch dodra
273e5821ad
use enum opDollar in Sequence
...
Because an enum is better than a function
2013-01-10 13:29:03 +01:00
monarch dodra
47ab0b3f92
Fix zip for slicing infinite ranges
...
Because the type returned is not the same.
2013-01-10 13:27:47 +01:00
Andrei Alexandrescu
ca44a116d5
Merge pull request #1047 from Poita/bug8367
...
Issue 8367 - Insufficient constraints for chain
2013-01-08 23:07:23 -08:00
Nick Treleaven
5083260795
Fix typos
2013-01-07 17:01:11 +00:00
Vladimir Panteleev
600862c927
Fix mismatched parens in DDoc.
2013-01-06 23:32:52 +02:00
Poita
3731c856c7
Undoing formatting error
2013-01-03 08:52:34 +00:00
Poita
8977fd6ae3
Changed only.Result to static struct
2013-01-03 08:45:46 +00:00
Peter Alexander
fb3a15a33f
Voldemortification of std.range.only
2013-01-03 07:54:40 +00:00