Commit graph

420 commits

Author SHA1 Message Date
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
tsbockman
8343948e17 Trivial fixes to enable Phobos to compile properly with DMD PR #5229. 2015-10-23 20:43:52 -07:00
Shriramana Sharma
9faf41e770 std.format: give a proper message when a floating point value is not given a compatible format character 2015-10-21 20:22:52 +05:30
Brian Schott
67c95e6de2 Merge pull request #3715 from dcarp/AliasSeq
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
82590904f7 fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos 2015-10-15 23:44:44 +00:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimris Nordholm
645e9e14e9 Change Char[] to immutable(Char)[] 2015-08-28 22:06:13 +02:00
vladdeSV
0cb9b9e523 format() returns the correcty type
Change type from C to S

Fix error in conv.d

Added isSomeString

Changed unittests

assert message is converted to string

Change S to Char[]

Replace std.conv.convFormat() with alias to std.format.format()

Revert S to Char[]

Change back to Char[]

Remove pure
2015-08-26 11:25:57 +02:00
Hara Kenji
c3a39c5461 Merge pull request #3470 from WalterBright/betterFormatU
std.format.formatUnsigned: refactor
2015-07-04 14:36:23 +09:00
Hara Kenji
c47f468a0e Merge pull request #3471 from WalterBright/betterFormat
std.format - better formatChar()
2015-07-04 13:38:31 +09:00
Walter Bright
83c3adb2a0 std.format - void buffer init 2015-07-03 20:21:59 -07:00
Walter Bright
e9b59df0ab std.format - better formatChar() 2015-07-03 19:25:06 -07:00
Walter Bright
f4e37c3979 std.format.formatUnsigned: refactor 2015-07-03 17:14:13 -07:00
anonymous
b28962635f fix package XREFs
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02: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
434d6bb202 format: alias syntax update 2015-05-28 18:43:49 +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
116dec1374 Merge pull request #3263 from rainers/format_ti_const_base
Adjust to change in TypeInfo_Const.next/base
2015-05-07 20:20:52 +02:00
Rainer Schuetze
782a1c07c3 Adjust to changed fixed TypeInfo_Const.next -> base 2015-05-06 23:37:40 +02:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07: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
Kai Nacke
d1de8c7996 Cent-ify std.format.
Adds formatted output support for cent/ucent if supported.
Requires #3153.
2015-05-01 13:51:37 +02:00
smcmurray
3dd86d6ecb Example needs std.array for appender!string() 2015-04-03 20:17:08 -07:00
Hackerpilot
194e962fe9 Fix macro expansion for format() 2015-03-29 16:09:12 -07:00
Ulrich Kuettler
6f6c6862d6 Add table headers in ddoc function tables 2015-02-21 19:10:51 +01:00
Ulrich Kuettler
7ded904816 Add very high level description for first time readers
Be more precise about allocation

Sort function table
2015-02-21 13:30:18 +01:00
Hara Kenji
799fdf81ad Merge pull request #2970 from aG0aep6G/14153
[DDoc] fix Issue 14153 - std.format page displaying incorrectly
2015-02-10 00:17:06 +09:00
anonymous
3886e0ac6c indent 2015-02-09 12:49:27 +01:00
anonymous
d99ad147e4 add missing dl tags 2015-02-09 12:47:58 +01:00
sinkuu
4a0f817304 Use enforceFmt 2015-02-06 21:59:39 +09:00
sinkuu
8063616929 Issue 14059 - Formatted write with wrong formatting string 2015-02-04 21:10:54 +09:00
majiang
39997524e9 Fix Issue 14111 - Broken DDOC for std.format
<dl> and </dl> were not matching.
2015-02-02 14:35:50 +09:00
JakobOvrum
dfbd50636c Merge pull request #2923 from yebblies/arraybool9999
Replace more implicit array to bool conversions
2015-01-30 04:27:30 +09:00
Daniel Murphy
dbb070a994 Copy variadic arguments to buffer to avoid horrific varargs hacks 2015-01-28 19:08:00 +11:00
Daniel Murphy
f255c9e689 Replace more implicit array to bool conversions 2015-01-28 16:33:12 +11:00
k-hara
3ee0dc79dd Remove pure attribute from the unittests which contain formatting floating point values
They were added by pull 2890 (ab9e15222a), but they were incorrectly accepted by the compiler regression.
2015-01-26 21:47:58 +09:00
Robert burner Schadek
e21a35fd01 documentation update for std.format.d
* to much to name it all

alot more examples

back to undocumented + marked for deprecation
2015-01-24 22:01:19 +01:00
H. S. Teoh
e46d911f67 Get rid of obsolete useless comment. 2015-01-07 15:35:19 -08:00
Andrei Alexandrescu
e03e647cea Fix documentation confusion 2015-01-06 22:55:11 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
33f089cbd9 Merge pull request #2745 from 9il/fv
fix Issue 13746 - formatValue of delegates
2014-11-19 10:00:21 -08: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
04c16e49c0 fix Issue 13746 - formatValue of delegates 2014-11-18 14:01:21 +03:00
Ilya Yaroshenko
4725f89022 std.format: clean imports 2014-11-14 16:30:20 +03:00
Ilya Yaroshenko
ca933b1c82 fix std.format new scope imports 2014-11-11 02:02:56 +03:00
Ilya Yaroshenko
f87ca3ecbf std.format: clean imports
remove new private stuff

add local import

add local import

remove global std.con import
2014-11-09 02:32:20 +03:00
Ilya Yaroshenko
cb8d75ee68 remove isnan 2014-10-25 02:33:38 +04:00