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
Andrei Alexandrescu
28fad77612
Merge pull request #1192 from AndrejMitrovic/Fix5359
...
Issue 5359 - isDelegate should work for types and expressions.
2013-03-09 15:58:55 -08:00
Andrej Mitrovic
fd11cb3c97
Merge pull request #1190 from chadjoan/patch-4
...
Use Lambdas and UFCS in std.algorithm examples.
2013-03-09 09:45:58 -08:00
k-hara
3eecfd2b1e
fix Issue 3789 - Structs members that require non-bitwise comparison not correctly compared
2013-03-09 16:52:43 +09:00
cjoan
2b67c97066
Use approxEqual for doubles in some examples.
...
Replaced a few instances of doubles being compared with == in std.algorithm's examples. They are now compared with approxEqual. This should encourage better practices, since floating point numbers can experience rounding errors that would make direct equality checks fail in situations where they are expected to work.
2013-03-08 23:53:52 -05:00
Andrej Mitrovic
38aebebeba
Merge pull request #1182 from Dicebot/fqn_stringof
...
fullyQualifiedNameImplForSymbols: .stringof -> __traits(identifier)
2013-03-08 15:37:16 -08:00
Alex Rønne Petersen
3fd69b6ebc
Merge pull request #1090 from someboddy/add-ml-style-exception-handling
...
Add ML style exception handling
2013-03-08 15:23:51 -08:00
IdanArye
370b84f1d5
Added ML style functional exception handling.
...
Using the new "ifThrown" function in the std.exception module.
2013-03-09 00:13:48 +02:00
Andrej Mitrovic
091a57650b
Fixes Issue 5359 - isDelegate should work for types and expressions.
2013-03-08 22:25:57 +01:00
Alex Rønne Petersen
2ad62682c4
Merge pull request #1050 from AndrejMitrovic/Fix9260
...
Issue 9260 - std.getopt: Implement boolean parsing with optional argument
2013-03-08 10:38:55 -08:00
Alex Rønne Petersen
9cb2065fe6
Merge pull request #1092 from AndrejMitrovic/Fix6224
...
Issue 6224 - Add ownerTid() property.
2013-03-08 09:53:48 -08:00
cjoan
c45e75a97a
Use Lambdas and UFCS in std.algorithm examples.
...
Better represent Lambda syntax and UFCS in the map/filter/reduce examples in std.algorithm.
2013-03-07 21:55:36 -05:00
Andrei Alexandrescu
29e043d461
Fix Issue 4847 - std.algorithm.topN documentation
...
Converted unittest into an example.
2013-03-07 13:39:47 -05:00
Alex Rønne Petersen
8dbfc1a738
Merge pull request #1178 from denis-sh/add-Issue-9578-workaround-to-std.algorithm.all
...
Add Issue 9578 workaround to `std.algorithm.all`
2013-03-06 22:15:37 -08:00
k-hara
526d4571a7
Change Nullable ctor to inout
2013-03-07 13:27:52 +09:00
Jonathan M Davis
30d3d470e7
Merge pull request #1139 from monarchdodra/stdio
...
Errors vs Exception in stdio
2013-03-06 20:16:45 -08:00
k-hara
4785bc179f
Fix qualifier to call correct constructor
2013-03-06 21:36:41 +09:00
Andrej Mitrovic
337f268cf1
Fixes Issue 9648 - Make import to std.random independent of -unittest switch.
2013-03-05 05:04:32 +01:00
Andrei Alexandrescu
3d5a203323
Fix Issue 4847 - std.algorithm.topN documentation
...
This was a quick fix so I'm doing it online.
2013-03-04 18:39:42 -05:00
Andrej Mitrovic
e2831a5f2a
Fixes Issue 9265 - assertNotThrown should emit msg from thrown exception if available.
2013-03-02 16:16:53 +01:00
Brad Anderson
b7d075d555
Cycle opSlice should throw when finish > start
...
Issue 9612
2013-02-27 18:37:23 -07:00
Dicebot
a269e6eb76
fullyQualifiedNameImplForSymbols: .stringof -> __traits(identifier)
2013-02-27 23:09:29 +02:00
Jonathan M Davis
30d565f432
Fix issue# 9609.
...
std.string.icmp's markup was wrong.
2013-02-27 10:54:53 -08:00
Denis Shelomovskij
b5ca2ef0c9
Add Issue 9578 workaround to std.algorithm.all
...
As a result `all` can now be used with nested predicates.
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=9578
2013-02-27 17:56:56 +04:00
Hara Kenji
1ad673925a
Merge pull request #1177 from 9rnsr/fix9596
...
Issue 9596 - Ambiguous match is incorrectly hidden by additional lesser match
2013-02-27 03:09:09 -08:00
Andrei Alexandrescu
74cd007c6f
Fix issue 4921 - Synopsis code in std.variant documentation throws an assertion error
...
http://d.puremagic.com/issues/show_bug.cgi?id=4921
2013-02-26 12:04:07 -05:00
k-hara
7dd1ed7a21
fix Issue 9596 - Ambiguous match is incorrectly hidden by additional lesser match
2013-02-27 01:25:28 +09:00
Andrei Alexandrescu
d6af628438
Merge pull request #1159 from quickfur/getopt_optend
...
Fix issue 9583
2013-02-26 06:54:50 -08:00
jmdavis
978ac725b5
Revert "Merge pull request #1170 from jmdavis/perf"
...
This reverts commit 684c43dfc5
, reversing
changes made to 707a60101b
.
2013-02-26 01:18:14 -08:00
Alex Rønne Petersen
684c43dfc5
Merge pull request #1170 from jmdavis/perf
...
Remove the long-deprecated and undocumented std.perf.
2013-02-25 21:08:27 -08:00
Alex Rønne Petersen
707a60101b
Merge pull request #1172 from andralex/5924
...
Fixes Issue 5924
2013-02-25 20:28:06 -08:00
Andrei Alexandrescu
56c47cecbe
Issue 5924 fix
2013-02-25 09:52:00 +02:00
H. S. Teoh
fcc03537cf
Improve code based on feedback.
2013-02-24 22:18:35 -08:00
H. S. Teoh
6293612e19
Add unittest.
2013-02-24 22:18:35 -08:00
H. S. Teoh
20cda1eae0
getopt should consume options terminator "--".
...
As stated by the docs. (Cf. issue 9583)
2013-02-24 22:18:35 -08:00
jmdavis
1360fbed42
Remove the long-deprecated and undocumented std.perf.
2013-02-24 19:43:36 -08:00
jmdavis
2735d30f4e
Remove all uses of std.metastrings.Format.
2013-02-24 18:42:46 -08:00
jmdavis
895550649f
Remove all uses of toStringNow.
2013-02-24 18:23:51 -08:00
jmdavis
a8f180a7c7
Revert "Merge pull request #1169 from andralex/5924"
...
This reverts commit 118d9182a9
, reversing
changes made to 75f578228c
.
2013-02-24 17:14:32 -08:00
Alex Rønne Petersen
35d08ef3d8
Merge pull request #1153 from andralex/5013
...
Fix Issue 5013 - std.typecons.Tuple should have constructor for static arrays
2013-02-24 16:58:24 -08:00
Alex Rønne Petersen
11ff6ea9e7
Merge pull request #1157 from jmdavis/regexp
...
Finally remove std.regexp.
2013-02-24 16:54:50 -08:00
Alex Rønne Petersen
5bbd5ef9c2
Merge pull request #1160 from andralex/5106
...
Fix Issue 5106 - makeIndex should return SortedRange
2013-02-24 16:53:51 -08:00
Alex Rønne Petersen
71079e3901
Merge pull request #1161 from CyberShadow/std-process-additional-unittest
...
std.process: Add an additional unit test for escapeShellCommand (issue 9310)
2013-02-24 16:53:23 -08:00
Alex Rønne Petersen
118d9182a9
Merge pull request #1169 from andralex/5924
...
Fix Issue 5924 - schwartzSort of Tuple!(char)[]
2013-02-24 16:52:41 -08:00
Alex Rønne Petersen
75f578228c
Merge pull request #1163 from andralex/5310
...
Fix Issue 5310 - Variant == const(Variant) doesn't compile
2013-02-24 16:51:24 -08:00
Alex Rønne Petersen
54ddafa1a8
Merge pull request #1166 from andralex/5507
...
Fix Issue 5507 - countUntil should take Ranges... instead of R2
2013-02-24 16:50:06 -08:00
Alex Rønne Petersen
299cf68ecc
Merge pull request #1167 from andralex/5514
...
Fix Issue 5514 - Erroneous documentation and lacking randomization for topN
2013-02-24 16:49:20 -08:00
Alex Rønne Petersen
2b00a2a5f9
Merge pull request #1168 from andralex/5658
...
Fix Issue 5658 - Undocumented fields in std.typecons.Tuple
2013-02-24 16:48:47 -08:00
Alex Rønne Petersen
dae612300f
Merge pull request #1156 from jmdavis/format
...
Deprecate std.metastrings.
2013-02-24 16:47:56 -08:00
Andrei Alexandrescu
48c38ddd2c
Issue 5924 fix
2013-02-25 02:13:01 +02:00