k-hara
e2d991b005
Move checkCTFEable to std.exception.assertCTFEable, and use it
2013-06-02 02:32:24 +09:00
majiang
62ac95f305
fix 10188 - Wrong document comment
2013-05-29 13:38:10 +09:00
majiang
d47fdc4d32
fix issue 10167
2013-05-26 00:39:33 +09:00
jmdavis
ce1b2294b0
Undocument some deprecated functions.
...
They were marked for removal in the docs (many of them were intended to
be removed in January), so now they've been removed from the docs and
marked for removal from the code in November.
2013-05-05 16:34:25 -07:00
Vladimir Panteleev
16286c045b
DDoc tweaks and fixes
2013-04-18 23:49:06 +00:00
k-hara
8bd50039b5
Remove unnecessary cast
...
That has changed in https://github.com/D-Programming-Language/druntime/pull/359
2013-03-19 15:10:26 +09:00
Andrej Mitrovic
b22a90eb9e
Fixes Issue 9336 - Format should work on shared address.
2013-01-25 19:44:16 +01:00
Andrej Mitrovic
aaa6854eb7
Fixes Issue 9373 - Add deprecation messages to Phobos.
2013-01-23 02:44:08 +01:00
Andrej Mitrovic
5057ca5404
Fixes Issue 7142 - Implement field width for boolean formatting.
2013-01-22 04:10:12 +01:00
Andrei Alexandrescu
e9cb971002
Merge pull request #1079 from AndrejMitrovic/Fix5065
...
Issue 5065 - Format specifier must be '%s' for some types
2013-01-20 04:50:26 -08:00
Andrej Mitrovic
d6d12ffdc8
Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier.
2013-01-19 03:11:06 +01:00
Daniel Murphy
41a9f1fa05
Fix Issue 6408 - Phobos fixes
...
Do not use typeof(Type[0]) to get the element type of an array, use typeof(Type.init[0])
2013-01-18 19:10:16 +11:00
Andrei Alexandrescu
259cd23d67
Merge pull request #901 from Poita/bug8900
...
Fix bug 8900 - Zip with infinite char range fails.
2012-12-13 09:00:09 -08:00
k-hara
1c54f33603
fixup for Issue 8902
...
After default initialization, only the first one in overlapped fields is readable in CTFE.
2012-12-13 19:29:33 +09:00
k-hara
6f825ddb3e
More workaround
2012-12-09 22:28:34 +09:00
k-hara
7882f28d60
Fix formatting nan in Win64 platform
2012-12-09 19:48:57 +09:00
Andrei Alexandrescu
d6100b404f
Merge pull request #939 from 9rnsr/replace_format
...
Replacement std.string.format and sformat implementations in November 2012
2012-12-08 19:41:35 -08:00
k-hara
75064f6be1
fix Issue 9117 - format fails if opCast and this alias are both defined in an aliased struct
2012-12-07 19:15:42 +09:00
k-hara
6d53de5893
fix isBuiltinType and BuiltinTypeOf
2012-11-27 22:46:21 +09:00
k-hara
fa61476205
fix isAssociativeArray
2012-11-27 22:46:20 +09:00
k-hara
158275cda9
fix isDynamicArray and DynamicArrayTypeOf
2012-11-27 22:46:18 +09:00
k-hara
965fc86820
fix isStaticArray
2012-11-27 22:46:16 +09:00
k-hara
d31e45ac28
fix isSomeString and StringTypeOf
...
additionally DynamicArrayTypeOf and StaticArrayTypeOf considers enums based on arrays
2012-11-27 22:46:12 +09:00
k-hara
108761f273
fix isSomeChar and CharTypeOf
2012-11-27 22:46:11 +09:00
k-hara
6e67956903
fix isUnsigned/isSigned and Unsigned/Signed
2012-11-27 22:14:18 +09:00
k-hara
9f98163968
fix isFloatingPoint and FloatingPointTypeOf
2012-11-27 22:10:28 +09:00
k-hara
0c88d6ffc4
fix isIntegral and IntegralTypeOf
2012-11-27 22:10:19 +09:00
k-hara
8a60edd140
fix isBoolean and BooleanTypeOf
2012-11-27 22:10:16 +09:00
Rainer Schuetze
04ae02f1c3
win64: fix format output for nan
2012-11-24 18:26:39 +01:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
k-hara
9db098b69a
[Fixup] Now, bug 5625 might not be directly related to std.string.format
2012-11-14 14:25:47 +09:00
k-hara
1742cb146e
Fix format result, it is breaking change
2012-11-14 14:25:46 +09:00
k-hara
f93fe17b83
[Fixup] Add leading format string
2012-11-14 14:12:27 +09:00
Peter Alexander
a00c3c825c
Fix bug 8900 - Zip with infinite range fails.
...
`std.range.Zip` contains a `Tuple`, whose `toString()` function calls `formatElement` which eventually calls this function, leading to a static call to `walkLength` on infinite ranges. Since pul request 880, `walkLength` doesn't work with infinite ranges, so it fails to compile.
This change ensures that `walkLength` is called with only valid range types.
Bug: http://d.puremagic.com/issues/show_bug.cgi?id=8900
2012-10-27 12:02:56 +01:00
Vladimir Panteleev
fde0998dea
Fix various problems in DDoc, identified from compiler warnings.
2012-10-19 19:09:47 +03:00
alexrp
b202180295
Remove all uses of sizediff_t in favor of ptrdiff_t.
2012-10-15 04:24:09 +02:00
H. S. Teoh
965e591101
Fix typo in ddoc.
2012-10-08 07:41:01 -07:00
Walter Bright
bf119860f4
fix Win64 varargs bug
2012-09-26 19:26:32 -07:00
Walter Bright
2dd8615254
varargin64 varargs issues
2012-09-22 20:31:18 -07:00
Walter Bright
18f7d60f0d
Win64 fixes
2012-09-11 19:39:15 -07:00
kai
54abec0048
snprintf already defined in core.stdc.stdio.
...
The snprintf function is already defined in core.stdc.stdio. This version has the advantage that it also works with the MS C Runtine on Windows.
2012-09-05 20:53:25 +02:00
Andrei Alexandrescu
0a511e3975
Merge pull request #755 from 9rnsr/fix8574
...
Issue 8574 - [std.format] The flag ' ' works for floating numbers, not only for integers
2012-08-27 01:44:07 -07:00
monarchdodra
3a621e8276
Update std/format.d
2012-08-26 10:50:33 +03:00
monarchdodra
74982f7d7f
Documenting return value of formattedRead
2012-08-25 17:45:25 +03:00
k-hara
b7df920554
fix Issue 8574 - [std.format] The flag ' ' works for floating numbers, not only for integers
2012-08-22 00:44:12 +09:00
k-hara
4a05464800
fix Issue 8339 - is(typeof(...)) is reporting true when it's false due to nested function error
...
Avoid frame access check and disabled default construction in predicate templates.
2012-08-18 17:49:05 +09:00
k-hara
c6dc1711c4
fix template constraints
2012-08-06 01:05:06 +09:00
jmdavis
735c2adbda
Changes required for issue# 6277.
2012-07-21 01:57:28 -07:00
jmdavis
02931eb501
Revert "Merge pull request #664 from denis-sh/add-ArrayTarget-template"
...
This reverts commit f4d0a49493
, reversing
changes made to 3cb69914c5
.
The merging of request #664 was accidental, and it should not have been
merged. See https://github.com/D-Programming-Language/phobos/pull/664
for details.
2012-07-11 11:49:28 -07:00
k-hara
d6ffbd1328
Add const attribute more strictly
2012-07-11 01:02:59 +09:00