David Nadlinger
73aa70f716
Merge pull request #1208 from denis-sh/std.math.FloatingPointControl-fixes
...
`std.math.FloatingPointControl` fixes
2013-03-23 14:16:58 -07:00
David Nadlinger
6bcb2f2f93
Merge pull request #948 from denis-sh/add-traits-for-nested-structs
...
Add `std.traits.{isNested,hasNested}`.
2013-03-23 14:04:20 -07:00
Brad Roberts
3724fe5441
Merge pull request #1219 from jacob-carlborg/issue_9794
...
Fixes Issue 9794 - std.json cannot handle delete character
2013-03-23 12:38:42 -07:00
David Nadlinger
90b2e94a7f
Merge pull request #1218 from monarchdodra/scoped2
...
tweak in scoped
2013-03-23 11:48:01 -07:00
Jacob Carlborg
a272a595ad
Fixes Issue 9794 - std.json cannot handle delete character
2013-03-23 17:39:30 +01:00
unknown
35bae9ad6e
tweak in scoped
2013-03-23 10:19:35 +01:00
David Nadlinger
7cba78d5db
Merge pull request #1197 from andralex/4909
...
Fix issue 4909 - Two suggestions for std.algorithm.schwartzSort()
2013-03-23 02:07:23 -07:00
Hara Kenji
9052288851
Merge pull request #1215 from monarchdodra/scope
...
Improve scoped implementation
2013-03-20 17:05:20 -07:00
monarch dodra
e364e71eab
Improve scoped
2013-03-20 23:03:35 +01:00
k-hara
8bd50039b5
Remove unnecessary cast
...
That has changed in https://github.com/D-Programming-Language/druntime/pull/359
2013-03-19 15:10:26 +09:00
Andrej Mitrovic
c89bc4b0e3
Fixes Issue 9753 - Remove unnecessary asserts.
2013-03-18 23:44:18 +01:00
Vladimir Panteleev
0b1f86119a
std.array: Fix inefficient appending of const(char)[] (Issue 9725)
2013-03-15 04:40:14 +00:00
Denis Shelomovskij
6fb40fb8ac
[docs] Improve std.math.FloatingPointControl
example.
2013-03-14 18:57:56 +04:00
Denis Shelomovskij
99e3440e2f
Fix std.math.FloatingPointControl
two issues.
...
1. Do not call `setControlState` in destructor if not initialized (previously results in enabling all exceptions).
2. Call `initialize` on setting rounding mode (previously not called).
2013-03-14 17:23:47 +04:00
Denis Shelomovskij
9bf70d5b06
[whitespace] Fix spaces in std.math.FloatingPointControl
example and unittest.
2013-03-14 17:23:47 +04:00
k-hara
b9444a7a0f
Transient change for qualified constructor introduction
2013-03-13 12:58:35 +09:00
Alex Rønne Petersen
f7fa1496ce
Merge pull request #1200 from 9rnsr/improve_Proxy
...
Improves for std.typecons.Proxy
2013-03-11 22:05:42 -07:00
Alex Rønne Petersen
bba5dbe1c6
Merge pull request #1198 from CyberShadow/fix5032
...
std.file: Fix/document/test clobber behavior for copy and rename (Issue 5032)
2013-03-11 22:03:43 -07:00
k-hara
89c0c18602
fix Issue 8613 - std.typecons.Proxy cannot work with operator 'in'
2013-03-12 12:43:22 +09:00
k-hara
b6d2e042c7
Use unary std.traits.isAssignable
2013-03-12 11:54:05 +09:00
k-hara
e878e2c44a
fix Issue 8655 - bitfields and Typedef don't mix
...
Support built-in properties
2013-03-12 11:54:04 +09:00
k-hara
c0dcacbcb8
Enable test line that had been blocked by issue 7641
2013-03-12 11:54:02 +09:00
k-hara
0879a5ea45
Improve test cases for qualified objects
...
By fixing issue 8669, they are now working properly.
2013-03-12 11:52:14 +09:00
k-hara
77788c7040
Merge two opEquals into one
...
This did not work by compiler bug, but does now.
2013-03-12 10:27:52 +09:00
k-hara
4ca1b61134
Enable test lines that had been blocked by issue 2486
2013-03-12 10:25:32 +09:00
David Nadlinger
ab10ad4397
Merge pull request #1194 from blackwhale/named-matches-fix
...
Fix a bug in CTFE branch of std.regex parser
2013-03-11 16:54:52 -07:00
Vladimir Panteleev
eb1a477087
std.file: Document and test that copy clobbers
2013-03-11 05:14:35 +02:00
Vladimir Panteleev
7d35ad4953
std.file: Make rename clobber on Windows, adjust docs (Issue 5032)
2013-03-11 05:14:18 +02:00
Andrei Alexandrescu
aeaf0caded
Fix issue 4909
2013-03-10 22:38:25 -04: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
Dmitry Olshansky
be25fd00b1
fix Issue 9280
...
A bug in _ctfe branch that was introduced while stubbing out non-CTFeable blocks.
Now CTFE is having more power and able to run the same code just fine!
2013-03-10 13:03:00 +04: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
Denis Shelomovskij
6a2c63bf51
Document what exactly std.traits.FieldTypeTuple
do.
2013-03-06 09:34:56 +04:00
Denis Shelomovskij
9365e706a0
Fix std.traits.FieldTypeTuple
for structs.
2013-03-06 09:34:56 +04:00
Denis Shelomovskij
fd17064603
Add std.traits.{isNested,hasNested}
.
2013-03-06 09:34:56 +04:00