Commit graph

469 commits

Author SHA1 Message Date
Martin Nowak
9f2eebde49 Merge pull request #3032 from JakobOvrum/emplace_elaborate_postblit_attributes
Use _postblitRecurse in emplaceRef to enable attribute inference
2015-05-09 15:37:29 +02:00
Jakob Ovrum
52b52a5c8c Use _postblitRecurse in emplaceRef to enable attribute inference 2015-05-07 23:59:45 +09:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
Martin Nowak
f345d1ac5e Merge pull request #3133 from WalterBright/hexString
add std.conv.hexString() to replace core language hex strings
2015-05-02 20:39:42 +02:00
JakobOvrum
fedc3722a4 Merge pull request #3205 from nomad-software/fix-ddoc-parameter-warnings
Updated some missing params and return sections in the documentation.
2015-05-01 05:17:11 +09:00
Walter Bright
ad1343b552 add hexString() 2015-04-27 01:37:09 -07:00
Gary Willoughby
4699b0c16d Updated documentation to remove unnecessary symbol highlights in descriptions. 2015-04-21 10:56:50 +01:00
Martin Nowak
a467402bd7 Merge pull request #3204 from aG0aep6G/stable
merge stable into master
2015-04-20 18:11:11 +02:00
Gary Willoughby
c117523c10 Updated some missing params and return sections in the documentation. 2015-04-19 19:33:43 +01:00
anonymous
99da04d9af fix Issue 14396 - compile error std.conv.parse!int with input range (dmd2.067) 2015-04-12 11:12:55 +02:00
k-hara
9f68938b8f Supplemental fix for issue 14401 - Deal with the type change of typeid(ClassType).init to const(void)[] 2015-04-04 03:51:22 +09:00
Robert Schadek
ebb2b8ce5d Merge pull request #2999 from MartinNowak/fix14194
fix Issue 14194 - nothrow emplace for classes needed
2015-03-25 12:40:52 +01:00
Daniel Murphy
b2bbff77fa Merge pull request #3044 from MartinNowak/fixup3038
fixup #3038 add reference to bugzilla issue 14198
2015-03-10 12:39:19 +01:00
Martin Nowak
4dfde4caab Merge pull request #3038 from WalterBright/fix14198
fix Issue 14198 - [REG2.067a] Link failure with Variant
2015-03-10 12:38:32 +01:00
Martin Nowak
77b9b31bb6 fixup #3038 add reference to bugzilla issue 14198 2015-03-07 19:07:37 +01:00
Walter Bright
646dc1969c fix Issue 14198 - [REG2.067a] Link failure with Variant 2015-03-05 02:32:37 -08:00
Martin Nowak
75ca200750 fix Issue 14194 - nothrow emplace for classes needed
- turn the chunk size and alignment checks into asserts
2015-02-17 16:45:25 +01:00
Matt Kline
a15d9be6fd Remove unneeded .dup of arrays
See comments from #2974, specifically
https://github.com/D-Programming-Language/phobos/pull/2974#discussion_r24388654
2015-02-12 22:22:58 -08:00
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