sinkuu
7cab71b22b
Fix Issue 14042 - std.conv.to of a immutable char pointer
2015-01-31 22:48:10 +09:00
Andrei Alexandrescu
71e3ecf680
Merge pull request #2934 from WalterBright/dip25
...
DIP25: make phobos work with it
2015-01-30 13:59:37 -08:00
Walter Bright
dc302d26a4
DIP25: make phobos work with it
2015-01-30 12:02:48 -08:00
Daniel Murphy
f255c9e689
Replace more implicit array to bool conversions
2015-01-28 16:33:12 +11:00
Robert burner Schadek
d9e0440e5f
conv.d example moved from comment to unittest
2015-01-20 15:08:17 +01:00
Denis Shelomovskij
d1783bbbc3
Issue 13931 - Missing overflow checks in std.conv
for negative numbers which start from the most negative number digits
...
Issue URL: https://issues.dlang.org/show_bug.cgi?id=13931
2015-01-04 16:38:28 +03:00
Andrej Mitrović
4162e956b5
Merge pull request #2822 from Dicebot/controlled-conv
...
Add explicitCast helper to std.conv
2014-12-31 21:02:00 +01:00
Dicebot
3ed09e8928
Add explicitCast helper to std.conv
...
Makes possible to define more restricted cast that won't accidently
result in broken behavior during refactoring.
2014-12-31 21:32:37 +02:00
e10s
a7f26a8ac7
Disable to!String(infiniteRange)
2014-12-28 23:33:25 +09:00
Rainer Schuetze
7c2f962b10
make nested foreach over TypeTuple bodies into lambdas to avoid huge functions
2014-11-28 17:15:37 +01:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Lars T. Kyllingstad
96583fe46b
isNaN() is not a property
...
...so it shouldn't be used as one.
2014-11-20 20:22:00 +01:00
Mike
700240f7b9
std.conv.d - Fix typo
2014-11-20 11:46:18 +09:00
Ilya Yaroshenko
efb880f651
move format to std.format
...
The reason is to do not import `std.uni` tables, `std.string` and
probably `std.algorithm`. Note that format is used in CTFE code and
`Exception` handing.
And it is more comfortable to import `format` from `std.format`.
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
update std.conv scope import
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
move sfromat
add public import of sformat
use std.uni
2014-11-18 22:14:28 +03:00
Ilya Yaroshenko
e678d31797
std.stdio: clean imports
...
fix
fix
remove string import
uncomment unittest
update Flag!"KeepTerminator" usage
fix typo
fix errors
private format
fix yes/no
update private format
format workaround
renamed flags to lower case
2014-11-17 21:20:40 +03:00
Ilya Yaroshenko
117b2d23e9
std.conv: clean imports
2014-11-14 15:15:56 +03:00
Ilya Yaroshenko
ab83cd94da
std.string: clean imports
2014-11-11 22:42:57 +03:00
Ilya Yaroshenko
cd8531fc55
added scope format imports
2014-11-11 11:31:37 +03:00
Ilya Yaroshenko
cb01d8dab9
std.conv: clean imports
...
fix parse for null and bool
1. Allow parse nulls from input range
2. Remove slow (unicode like) version of parse for bools.
3. Range version of parse for bools is used.
revert some changes
remove some changes
remove few changes
2014-11-11 11:19:08 +03:00
Nick Treleaven
06994f4dad
Use immutable integer to demonstrate removed qualification
2014-11-07 12:19:42 +00:00
Nick Treleaven
6a9d5b9364
Fix wrong unittests for std.conv.unsigned, signed
2014-11-07 12:19:40 +00:00
Ilya Yaroshenko
cb8d75ee68
remove isnan
2014-10-25 02:33:38 +04:00
Igor Stepanov
be01776946
fix to!string test
2014-09-22 19:17:32 +04:00
Brad Roberts
8d1c89d2a6
Merge pull request #2432 from rainers/coff32
...
COFF support for Win32
2014-09-11 13:55:13 -07:00
H. S. Teoh
76db0de19c
Eliminate C-style array declarations.
2014-08-30 06:51:27 -07:00
Geod24
7100047473
Replace enforceEx with enforce where it's possible
2014-08-25 12:18:02 +02:00
Rainer Schuetze
3ed25d61ae
use CRuntime_DigitalMars/CRuntime_Microsoft instead of Win32/Win64 where appropriate
2014-08-23 16:14:18 +02:00
Martin Nowak
e7bcad9406
localize some imports
2014-08-02 01:05:56 +02:00
Dmitry Olshansky
087b2f7732
Merge pull request #2355 from NilsBossung/13163
...
fix issue 13163 - std.conv.parse misses overflow when it doesn't result in a smaller value
2014-07-31 00:22:40 +04:00
Nils Boßung
b4e31a5348
fix whitespace
2014-07-25 01:23:49 +02:00
Nils Boßung
2606fd5f41
don't bother with signed types
...
Everything is >= 0 all the time anyway.
2014-07-25 01:22:41 +02:00
Nils Boßung
efe0d1722b
fix issue 13163 - std.conv.parse misses overflow when it doesn't result in a smaller value
2014-07-24 00:29:19 +02:00
Dmitry Olshansky
bc270d27bd
Merge pull request #2160 from monarchdodra/emplaceRef
...
Make emplaceRef parameter optional
2014-07-20 16:13:47 +04:00
Joakim
11de397dd7
Start getting tests passing on Android/x86
2014-07-09 17:52:15 -05:00
Johannes Pfau
6487d4dd7f
ARM fixes for 2.065
2014-06-27 17:49:06 +02:00
Walter Bright
231f8b664e
std.conv: parse not handling some cases
2014-05-19 11:59:38 -07:00
monarchdodra
4b16412b59
emplaceRef unittest
2014-05-11 16:06:46 +02:00
monarchdodra
19ebfac20e
Make emplaceRef parameter optional
2014-05-11 16:06:46 +02: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