Commit graph

534 commits

Author SHA1 Message Date
vladdeSV
9aefe36296 Change S to Char[]
Replace std.conv.convFormat() with alias to std.format.format()
2015-08-15 12:33:06 +02:00
vladdeSV
4a366aad57 Added isSomeString 2015-08-10 16:58:03 +02:00
vladdeSV
c3e86ff4fc Fix error in conv.d 2015-08-10 16:20:09 +02:00
Walter Bright
8dd8c0856e std.conv add toChars() 2015-07-09 15:29:27 -07:00
Steven Schveighoffer
c6e3b256fe Merge pull request #3409 from JesseKPhillips/octaldocs
Minor change to octal documentation
2015-06-12 23:44:52 -04:00
Jesse Phillips
7996459389 Add reference to C for octal numbers 2015-06-12 20:23:23 -07:00
Jesse Phillips
f086bb7a9c Minor change to octal documentation
This is in response to the reverting found in pull #3375.

This removes a mention of being experimental and possible future deprecation of a no longer valid 0 prefix.

It also mentions parse for runtime parsing of octal strings.
2015-06-09 10:15:41 -07:00
Steven Schveighoffer
d4078d4900 Revert "Modify std.conv.octal to be usable at runtime" 2015-06-05 17:48:05 -04:00
Steven Schveighoffer
4cea8f1e4d Merge pull request #3343 from McSherry/runtime-octal-conv
Modify std.conv.octal to be usable at runtime
2015-06-04 09:03:16 -04:00
Liam McSherry
a73480eae4 document std.conv.octal(T)(const(char)[]) precondition 2015-06-01 17:51:39 +01:00
Liam McSherry
dccd13cd6c modify std.conv.octal to be usable at runtime 2015-06-01 15:55:42 +01:00
Daniel Murphy
ebc90dc149 Merge pull request #2657 from joakim-noah/separate_glibc
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-30 08:22:30 -06:00
Robert burner Schadek
e6ce6b0d22 updates to new alias syntax 2015-05-28 18:28:48 +02:00
Joakim
3352c90c2e Separate linux kernel, glibc, and bionic APIs where appropriate 2015-05-27 21:54:52 -05:00
Martin
5ddd7e5da3 Adapt some unit tests for MSVCRT 14 (VS 2015). 2015-05-21 23:47:33 +02:00
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