David Nadlinger
90b2e94a7f
Merge pull request #1218 from monarchdodra/scoped2
...
tweak in scoped
2013-03-23 11:48:01 -07:00
Jacob Carlborg
c08f47e52c
Use escape sequence for DELETE character.
...
This is just to make it a bit clearer what's going on.
2013-03-23 17:55:05 +01: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
Jacob Carlborg
f6e27e6f79
Enable a bunch of tests for std.net.isemail.
...
These tests were previously commented out because of a bug
the regular expression module. Now when we have a new regular
expression module we can enable these tests.
This also fixed a bug in the internally used "substr" function.
2013-03-22 15:44:58 +01: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
Walter Bright
c22747b895
add cov testing to win32.mak
2013-03-20 00:06:34 -07:00
Andrej Mitrovic
c1ee4f2506
Merge pull request #1212 from 9rnsr/fix_ti_next
...
Remove unnecessary cast
2013-03-19 07:37:22 -07: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
Jonathan M Davis
ff6ec13d8f
Merge pull request #1211 from AndrejMitrovic/Fix9753
...
Issue 9753 - Remove unnecessary asserts.
2013-03-18 17:51:08 -07:00
Andrej Mitrovic
c89bc4b0e3
Fixes Issue 9753 - Remove unnecessary asserts.
2013-03-18 23:44:18 +01:00
David Nadlinger
f4ddfec8d6
Merge pull request #1209 from CyberShadow/fix9725
...
std.array: Fix inefficient appending of const(char)[] (Issue 9725)
2013-03-17 02:40:13 -07: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
Hara Kenji
b56d9000f1
Merge pull request #1204 from 9rnsr/fix_ctor_qual
...
Transient change for qualified constructor introduction
2013-03-12 22:32:20 -07:00
k-hara
b9444a7a0f
Transient change for qualified constructor introduction
2013-03-13 12:58:35 +09:00
Timothee Cour
a983cd6d79
Update random.d
...
fixed spacing
2013-03-12 18:21:47 -07:00
Timothee Cour
e3221dd626
Update random.d
...
fix wrong usage in doc example (Random gen(unpredictableSeed)).
2013-03-12 16:44:55 -07: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
Jonathan M Davis
0a8aecf8f7
Merge pull request #1196 from monarchdodra/cycleFixup
...
Fixup for cycle RangeError invocation
2013-03-11 03:17:21 -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
David Nadlinger
b4f5c4f6dd
Merge pull request #1193 from 9rnsr/fix3789
...
Issue 3789 - Structs members that require non-bitwise comparison not correctly compared
2013-03-09 03:13:38 -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
11848c9482
Merge pull request #1191 from rainers/win.mak
...
make win*.mak more adjustable to the build environment
2013-03-08 10:04:07 -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