Alex Rønne Petersen
51a7943a17
Merge pull request #1123 from quickfur/cartprod_unittest
...
Re-enable unittest that is now working.
2013-02-10 09:40:14 -08:00
unknown
2992800aa1
Remov workaround 8763
2013-02-09 12:21:20 +01:00
H. S. Teoh
30fca5f703
Re-enable unittest that is now working.
2013-02-07 16:24:02 -08:00
Andrei Alexandrescu
eec793e18c
Merge pull request #1120 from quickfur/multi_cartprod
...
Implement variadic cartesianProduct
2013-02-07 15:01:15 -08:00
H. S. Teoh
96ae34ea53
Showcase precise ordering of output.
2013-02-07 14:20:24 -08:00
Andrej Mitrovic
ec1dcf53e3
Fixup Pull1555 - Zero-arg text() should return null string.
2013-02-07 21:06:01 +01:00
Alex Rønne Petersen
ad44a7dd9e
Merge pull request #1115 from AndrejMitrovic/SpeedUpText
...
Specialize textImpl for 1-argument case.
2013-02-07 11:46:28 -08:00
Alex Rønne Petersen
046ad90efc
Merge pull request #1121 from 1100110/patch-2
...
Fix broken example in std.stdio;
2013-02-07 11:45:51 -08:00
1100110
8b8ed8c652
Fix broken example.
...
That one example wouldn't compile, so I fixed it.
2013-02-07 13:07:01 -06:00
Andrej Mitrovic
0b9ace7f34
Specialize textImpl for 1-argument case.
2013-02-07 19:41:37 +01:00
H. S. Teoh
bcdb07d1c2
Expand docs to showcase 3-argument cartesianProduct.
...
Use same code in unittest (it's good to make sure examples actually
work! :-P)
2013-02-07 10:10:46 -08:00
Andrej Mitrovic
92b7d19000
Fixes Issue 4287 - Implement concat-assign operator for Appender.
2013-02-07 18:49:53 +01:00
Andrej Mitrovic
10745625bc
Detab std.array.
2013-02-07 18:49:01 +01:00
H. S. Teoh
ef259db8d2
Disable unittest that eats too much memory.
2013-02-07 08:16:58 -08:00
H. S. Teoh
206c3b4cc7
Fix compile error.
...
Add unittest.
2013-02-07 08:16:58 -08:00
H. S. Teoh
1b90ce3702
Variadic version of cartesianProduct.
2013-02-07 08:16:58 -08:00
jmdavis
aecbaea6cf
Workaround for bug# 8763 for std.container.make.
2013-02-06 23:41:18 -08:00
jmdavis
7c91df868f
Make std.container.make alias-able.
...
make is particularly useful for handling the construction of different
range types in unit tests, but it works much better if it can be aliased
so that the construction is fully generic. Also, the fact that make has
not been able to construct structs with no arguments is needlessly
restrictive.
2013-02-06 22:22:23 -08:00
Alex Rønne Petersen
7e31be5f14
Merge pull request #1113 from jmdavis/maxSize
...
Make std.variant.maxSize public.
2013-02-05 01:42:14 -08:00
Andrei Alexandrescu
e57c8c7393
Merge pull request #1008 from monarchdodra/save
...
Consolidating forward range requirements
2013-02-04 21:03:08 -08:00
jmdavis
a9bf4d4136
Make std.variant.maxSize public.
...
It's kind of hard to use VariantN without it.
2013-02-04 19:54:57 -08:00
Andrej Mitrovic
7c616db71a
Fixes Issue 8837 - BigInt needs better operator constraints.
2013-02-04 22:06:41 +01: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
H. S. Teoh
bac97f9967
Update docs.
2013-02-03 20:18:31 -08:00
H. S. Teoh
310216ec19
Fix -property errors.
2013-02-03 17:47:02 -08:00
H. S. Teoh
31fdd7900d
Delete unrelated line.
2013-02-03 17:47:02 -08:00
H. S. Teoh
4c5f3d266a
Improve unittests.
...
Make unittests independent of exact order of pairs produced by
cartesianProduct.
Add unittest for cartesian product of two finite ranges.
2013-02-03 17:47:02 -08:00
H. S. Teoh
468f7e12c4
Replace unittests to avoid issue 8542.
2013-02-03 17:47:02 -08:00
H. S. Teoh
4ac5350bfa
Add cartesianProduct to cheatsheet.
2013-02-03 17:47:02 -08:00
H. S. Teoh
fcb95e6fef
Preliminary implementation of cartesianProduct.
...
For the case of two infinite ranges, use Andrei's schedule of traversing
right and bottom edges of an increasing square area over the infinite
table of combinations. This allows us to only need to traverse each
range in one direction, so only forward ranges are needed.
2013-02-03 17:47:02 -08: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
Andrei Alexandrescu
cc135ce703
Merge pull request #1107 from AndrejMitrovic/Fix8920
...
Issue 8920 - iota should work with types smaller than int
2013-02-03 16:29:52 -08:00
Andrei Alexandrescu
61d26e7dcf
Merge pull request #1022 from quickfur/permute
...
Implement nextPermutation and nextEvenPermutation
2013-02-03 16:28:36 -08:00
Andrei Alexandrescu
857f1ed875
Merge pull request #1035 from monarchdodra/startWith
...
Maintenance in [starts|ends]With
2013-02-03 16:26:51 -08:00
Andrej Mitrovic
3625bcb7e8
Fixes Issue 8920 - iota should work with types smaller than int.
2013-02-04 01:14:13 +01:00
Andrei Alexandrescu
40725d7331
Merge pull request #1106 from donc/stdmathprettify
...
Prettify std.math. Cosmetic changes only.
2013-02-01 08:18:09 -08:00
Don Clugston
b9990fc2b2
Prettify std.math. Cosmetic changes only.
...
Prettify brace placement, remove unused mfeq() unittest function.
2013-02-01 07:25:43 +01:00
Brad Roberts
37d927d1ea
Merge pull request #1091 from complexmath/curl-fixes-02
...
Reverted Curl SSL VERIFYPEER change and added config @property
2013-01-31 21:50:31 -08:00
k-hara
c753619ffe
fix Issue 9404 - Nullable is unusable with 2.061
2013-01-31 11:36:19 +09:00
k-hara
5c092c2814
Fix isAssignable unittest results
2013-01-31 09:34:53 +09:00
Jonathan M Davis
f874471407
Merge pull request #1101 from Dicebot/stdfile_depr
...
Fulfilled depreation promise for std.file functions (November 2012)
2013-01-28 20:14:11 -08:00
Alex Rønne Petersen
74d8804c21
Merge pull request #1099 from AndrejMitrovic/Fix6614
...
Add isFinalFunction, isAbstractClass, and isFinalClass to std.traits
2013-01-26 20:32:31 -08:00
Dicebot
55e958a19d
Removed unit-test of deprecated listDir
2013-01-26 20:02:15 +02:00
Dicebot
5523985f44
Fulfilled depreation promise for std.file functions (November 2012)
2013-01-26 17:37:35 +02:00
Andrej Mitrovic
40cca46b42
Fixes Issue 6614 - Add isFinalFunction and isFinalClass.
...
Add isAbstractClass to mirror __traits().
2013-01-25 23:56:00 +01:00
Andrej Mitrovic
e387b6fd80
Improve isAbstractFunction and add unittest.
2013-01-25 23:53:04 +01:00
Andrej Mitrovic
b22a90eb9e
Fixes Issue 9336 - Format should work on shared address.
2013-01-25 19:44:16 +01:00
Alex Rønne Petersen
ca65b3701a
Merge pull request #1095 from dawgfoto/workaround9378
...
workaround Bug 9378
2013-01-24 00:20:29 -08:00