berni44
5e180880cb
Fix Issue 21777 - std.format: several issues when formatting integers with precision
2021-04-14 17:25:59 +02:00
berni44
21918e2374
std.format: New version for formatting integral values using writeAligned
2021-04-14 17:25:59 +02:00
berni44
594eebf3bd
std.format: Add precision for integers to writeAligned.
2021-04-13 11:54:49 +02:00
berni44
c9121a8c89
Fix Issue 20536 - std.format: %a on reals is inconsistent with %a on float/double
2021-04-12 08:23:51 +02:00
berni44
c116ac8d9c
Fix Issue 20371 - std.format limited to 500 characters for floats
2021-04-12 08:23:38 +02:00
berni44
23e5c9e150
Fix Issue 20320 - format("%f") leeds to wrong output
2021-04-12 08:23:28 +02:00
berni44
6fb98242e0
Fix Issue 9297 - Formatting of floating point values in std.format truncates reals to double
2021-04-12 08:23:17 +02:00
berni44
c75bd8756d
Fix Issue 8424 - Compile time conversions of double/floats to strings
2021-04-12 08:23:13 +02:00
berni44
36152d4e2e
std.format: Replace snprintf for x87-reals
2021-04-12 08:22:29 +02:00
berni44
d9ba005ff5
Extend writeAligned to care about grouping.
2021-04-10 17:16:35 +08:00
berni44
9301312981
Fix Issue 20534 - std.format: %r on boolean gives wrong result
2021-04-08 15:36:07 +02:00
berni44
96ee071156
Fix Issue 17381 - Checked format string is permissive after floating point argument
2021-03-31 12:28:22 +02:00
Razvan Nitu
106b1f423c
Merge pull request #7920 from berni44/deprecate_enforceValidFormatSpec
...
Deprecate public access of enforceValidFormatSpec
2021-03-31 16:53:32 +08:00
berni44
b623c12390
Deprecate public access of enforceValidFormatSpec
2021-03-25 17:50:36 +01:00
berni44
e786cff353
Fix Issue 15888 - std.format should not produce deprecated hexstrings
2021-03-25 16:10:02 +01:00
berni44
6237aa02a9
Deprecate public access of formatElement
2021-03-25 10:17:21 +01:00
berni44
f8adf9d21a
Fix Issue 21722 - toString(sink, string format) does not work with non-"%s" strings
2021-03-17 01:02:14 +01:00
berni44
4415e4047e
std.format: Split off std/format/spec.d
2021-03-15 15:16:29 +01:00
berni44
bfcd65e71e
Fix 21641 - std.format: %g produces in rare circumstances inconsistent result
2021-03-13 11:11:10 +01:00
berni44
2492943c77
std.format: Add %g (final step)
2021-03-13 11:11:10 +01:00
Martin Nowak
9032d86bef
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
Conflicts:
std/format/internal/write.d
2021-03-06 00:09:28 +01:00
berni44
d2f345dcd1
Add assert messages and remove dangling ditto comments
2021-03-03 05:14:04 +01:00
berni44
d68a243a09
Break long lines of std.format.internal.write.
2021-03-02 16:18:35 +01:00
Geod24
8d22e374fc
std.format: Recognize sink with in
parameters
...
When using `-preview=in`, `in` no more degrades to `const`,
and thus is not covariant with it, meaning some `toString`
signatures are no longer recognized.
This fixes it by testing for `in` parameters iff `-preview=in` is on.
2021-03-02 06:42:32 +01:00
berni44
372e45070c
Make imports of std.format.internal.write local and selectiv.
2021-03-01 15:10:07 +01:00
berni44
ec96dc96e0
Refactor std/format/internal/write.d: Spaces and line breaks
2021-02-25 15:10:35 +01:00
berni44
eb8188b25a
Move internal write stuff into internal submodule.
2021-02-17 21:44:15 +01:00