Walter Bright
231f8b664e
std.conv: parse not handling some cases
2014-05-19 11:59:38 -07:00
monarchdodra
d609bd332f
Sed "@safe pure nothrow"
2014-05-06 08:21:13 +02:00
monarch dodra
e03879ce81
Merge pull request #2118 from AndrejMitrovic/Fix12633
...
Issue 12633 - std.conv.to should support target fixed-sized arrays
2014-04-26 00:30:41 +02:00
Andrej Mitrovic
3cd997aef2
Fix Issue 12633 - std.conv.to should support target fixed-sized arrays.
2014-04-25 09:56:27 +02:00
Andrej Mitrovic
4cc475fb67
Strip spaces.
2014-04-24 16:25:19 +02:00
monarchdodra
f2c05e893f
Mark some tests as nothrow
2014-04-17 08:22:17 +02:00
monarchdodra
8a4e72a2d1
Remove useless enforce
...
It's already asserted
2014-04-17 08:05:30 +02:00
monarchdodra
6e7aa9da8f
remove debug statements
2014-04-17 08:04:11 +02:00
monarch dodra
78d84e515a
Fix Issue 12494 - to!string(enum) incorrect value
2014-03-31 19:47:48 +02:00
monarchdodra
59ad77ad9f
Improve emplaceRef for qualified construction
2014-03-17 22:48:30 +01:00
Andrej Mitrovic
b99ed6cc3d
Merge pull request #1984 from Poita/bug11698
...
Fix Issue 11698 - readf doesn't work with bool
2014-03-13 20:07:43 +01:00
Peter Alexander
ecc20513da
Implementation simplification for std.conv.parse!bool
2014-03-10 08:23:28 +00:00
Peter Alexander
2ae91087e7
Fix Issue 11698 - readf doesn't work with bool
2014-03-08 20:01:24 +00:00
Yazan S. Dabain
a81f6200cf
[Trivial] Fix documentation typos
2014-02-28 21:08:19 +02:00
Rainer Schuetze
40c14681f3
std.digest.sha: disable SSSE3 for SHA because it has unsupported calling convention
...
std.format, std.math: workarounds for different behaviour of sprintf
std.conv: workarounds for different behaviour of strtold
std.math: disable unittests for exp2f and exp2l
std.math: fix lrint(real), disable tmpfile test
std.process: seek to end of file before trying to append to it from another process
std.process: do not try to terminate an invalid process handle
win64.mak: disable COMDAT folding for release build
2014-02-27 22:16:29 +01:00
Daniel Murphy
4d0892baba
Remove uses of the comma operator
2014-02-18 00:48:40 +11:00
monarchdodra
95152081f3
swap isAssignable and !hasElaborateAssign
2014-02-16 17:04:34 +01:00
monarchdodra
5930a3c183
Introduce std.conv.emplaceRef
2014-02-16 17:04:25 +01:00
Andrej Mitrovic
5a5f89946a
Merge pull request #1864 from CyberShadow/std-conv-opcall-and-ctor
...
std.conv: Fix ambiguity when target has ctor and source has opCast
2014-02-16 01:41:40 +01:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Iain Buclaw
8fa9990e23
Merge pull request #1862 from jpf91/arm-4
...
[ARM] Implement parse!real for systems with 64bit reals
2014-02-01 08:40:36 -08:00
Johannes Pfau
9564f42693
Fix formatting in std.conv.parse!real
2014-02-01 10:08:12 +01:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Vladimir Panteleev
0f6a6e2ab0
std.conv: Fix ambiguity when target has ctor and source has opCast
2014-01-16 14:22:36 +00:00
Johannes Pfau
c4a9dbd185
[ARM] Implement parse!real for systems with 64bit reals
...
and some unittest fixes
2014-01-14 21:29:02 +01:00
k-hara
baf5c78deb
Use selective local import and place at the head of the required code block
2013-12-26 11:55:06 +09:00
Andrei Alexandrescu
de5789d6c9
Reduce deps in std.conv and std.typecons
2013-12-19 18:16:39 -08:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Martin Nowak
05fe0ae758
fix usage of Type.prop in typeof expressions
...
- use Type.init.prop
2013-12-01 21:32:32 +01:00
monarchdodra
ad52c5f027
Revert "Workaround Issue 11497 - lambda in "static if"/"assert" prevent inlining of function"
...
This reverts commit 8f10b877ea
.
Itroduced by pull #1688 . Because 11497 is now fixed.
2013-11-23 22:48:44 +01:00
monarch dodra
9a93d82e99
Merge pull request #1679 from BioTronic/master
...
BigInt const (Fixes 11148 and parts of 11188)
2013-11-18 01:29:53 -08:00
monarchdodra
8f10b877ea
Workaround Issue 11497 - lambda in "static if"/"assert" prevent inlining of function
2013-11-13 17:14:27 +01:00
Simen Kjærås
8dc07ba85e
BigInt const (Fixes 11148 and parts of 11188)
2013-11-02 02:27:23 +01:00
Simen Kjærås
ac9fcce808
Better fix for bug 11390 :p
2013-10-31 00:37:46 +01:00
Simen Kjærås
0c5a439e93
Fix bug 11390
2013-10-30 22:47:09 +01:00
monarchdodra
93cfc88c27
Final fix for emplace
2013-10-16 09:35:35 +02:00
David Nadlinger
353f043fa9
Merge pull request #1552 from monarchdodra/emplaceFixup
...
Emplace fixup
2013-10-08 05:42:14 -07:00
David Nadlinger
43be59545a
Merge pull request #1491 from monarchdodra/toSafe
...
makes to! string to string `@safe`, `pure` and `CTFE`-able
2013-10-07 12:03:13 -07:00
Denis Shelomovskij
4f195b804d
Fix toStringRadixConvert
call in std.conv.toImpl
.
...
`toStringRadixConvert` is not a property.
2013-09-28 16:06:29 +04:00
monarchdodra
bbe8efd585
ctfe unittest for to!string,string
2013-09-12 17:23:41 +02:00
monarchdodra
9d9b169903
makes to! string to string safe
2013-09-12 17:23:41 +02:00
monarchdodra
31afedbc5c
fix Issue 11009 - Regression (2.064 git-head): DMD consumes huge memory when it compiles enum containing many items
...
This is a fixup of pull #1540 .
Turns out NoDuplicates is scary inefficient for large input.
This cleans up and simplifies the pull somewhat.
2013-09-12 09:15:03 +02:00
monarchdodra
2d138c9eb9
Change messages in emplace to use format
2013-09-10 08:57:41 +02:00
monarchdodra
fd8d7d5373
tweak trustedMemcpy in emplace
2013-09-10 08:57:12 +02:00
monarchdodra
6878466527
Simplify T* emplace(T)(T* chunk)
2013-09-10 08:57:12 +02:00
monarch dodra
d39696d151
Merge pull request #1540 from AndrejMitrovic/ConvOptimize
...
Use a switch table for enum->string conversion, which avoids runtime memory allocation.
2013-09-08 08:38:16 -07:00
Andrej Mitrovic
680a7291ff
Use a switch table for enum->string conversion, which avoids runtime memory allocation.
2013-09-06 16:03:49 +02:00
monarch dodra
b001c0a786
Merge pull request #1525 from lyrebirdsw/issue_10909
...
issue 10909 toImpl narrowing conversion support for bool type. mostNegative support for bool type
2013-09-04 07:57:22 -07:00
growler
dcb634e8a2
issue 10909 toImpl support for bool narrowing conversion. mostNegative support for bool.
2013-08-27 21:05:00 +10:00
monarchdodra
52cadf9f01
Yet another emplace unittest that is fixed
2013-08-25 23:03:54 +02:00