Razvan Nitu
bc5eecd743
Merge pull request #7925 from berni44/docs_format_read_formattedread
...
Rework documentation of std.format.read : formattedRead
2021-03-31 17:17:19 +08: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
Razvan Nitu
c9e6e72399
Merge pull request #7921 from berni44/deprecate_separatorCharPos
...
Deprecate separatorCharPos in FormatSpec.
2021-03-31 16:31:47 +08:00
Razvan Nitu
2c9f87a4b9
Merge pull request #7919 from berni44/docs_format_modul1
...
Rework introductory part of std.format package description
2021-03-31 16:27:11 +08:00
Razvan Nitu
ee02ddda98
Merge pull request #7918 from berni44/issue_15888
...
Fix Issue 15888 - std.format should not produce deprecated hexstrings
2021-03-31 16:25:15 +08:00
Razvan Nitu
dc4189485f
Merge pull request #7917 from berni44/deprecate_unformatElement
...
Deprecate public access of unformatElement
2021-03-31 16:23:06 +08:00
Razvan Nitu
1830c1dcff
Merge pull request #7907 from berni44/format_real87_f
...
std.format: Add %f for x87-reals
2021-03-31 16:06:28 +08:00
berni44
a963ab584a
Rework introductory part of std.format package description
2021-03-29 19:33:41 +02:00
berni44
f8740f2e38
Rework documentation of std.format.read : formattedRead
2021-03-29 18:35:04 +02:00
berni44
ba008e99e6
Deprecate separatorCharPos in FormatSpec.
2021-03-26 17:14:49 +01: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
1e50ed4259
Deprecate public access of unformatElement
2021-03-25 10:42:00 +01:00
berni44
6237aa02a9
Deprecate public access of formatElement
2021-03-25 10:17:21 +01:00
berni44
1c47f84cf6
Rework documentation of std.format.write : formatValue
2021-03-25 09:22:40 +01:00
berni44
da3327c86a
std.format: Add %f for x87-reals
2021-03-24 13:31:11 +01:00
wolframw
3c260553d1
Fix Issue 21738 - std.format.spec: singleSpec should throw on "%%"
2021-03-23 16:02:23 +01:00
berni44
cfee36ce08
std.format: Add x87-reals (step 1) - extract bit patterns
2021-03-22 16:49:32 +01:00
berni44
133ac7dfe6
Rework documentation of std.format.package : FormatException
2021-03-22 16:04:36 +01:00
berni44
16f4d4c17c
Rework documentation of std.format.spec : FormatSpec
2021-03-22 14:59:33 +01:00
berni44
8d216259dd
Rework documentation of std.format.spec : singleSpec
2021-03-22 13:25:15 +01:00
berni44
cbe7f30f7f
Rework documentation of std.format.package : sformat
2021-03-22 11:01:19 +01:00
berni44
f948001b4a
Fix Issue 15386 - std.format.formatValue usage hangs
2021-03-22 03:42:29 +01:00
berni44
35b47c2963
Fix Issue 15348 - std.stdio.writef format specifier error message
2021-03-22 03:41:21 +01:00
berni44
65cfc3b4e5
Rework documentation of std.format.package : format
2021-03-21 12:57:44 +01:00
berni44
d06b4af4ab
Remove public comment from array_ptr_diff.
2021-03-21 02:01:51 +01:00
Nathan Sashihara
dcb0636ca5
Decrease top-level imports of std.format in submodules of std.format
2021-03-21 02:00:08 +01:00
berni44
31b2f05cd8
std.format: Move description of format string to package.
2021-03-18 14:12:23 +01:00
berni44
368273279e
std.format: Refactor packaged (step 2): Make imports local and selective.
2021-03-17 12:55:00 +01:00
berni44
5e6fc129b9
std.format: Refactor package.d (step 1): Whitespace and nits
2021-03-17 03:22:13 +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
28ff772f5e
std.format: Refactor write.d
2021-03-16 16:25:55 +01:00
berni44
8eda3d48aa
Add assert messages for std.format.internal.floats
2021-03-16 15:54:26 +01:00
berni44
a8ab4e2565
std.format: Refactor read.d
2021-03-16 14:57:38 +01:00
berni44
bc5f64994e
std.format: Split off std/format/write.d
2021-03-16 11:48:44 +01:00
berni44
5683150832
std.format: Refactor spec.d
2021-03-15 22:10:21 +01:00
berni44
e2045219ff
std.format: Split off std/format/read.d
2021-03-15 21:29:29 +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
berni44
c0cc85351a
std.format: Add %g (step 8): Small fixes
2021-03-13 00:34:21 +01:00
berni44
c6efda92ef
std.format: Add %g (step 7): Change calculating the split
2021-03-12 12:10:08 +01:00
berni44
50ed366c99
std.format: Add %g (step 6): %f like formatting
2021-03-08 17:48:50 +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
berni44
2e5d6ba461
std.format: Add %g (step 5): %e like formatting
2021-03-02 15:01:34 +01:00
Nathan Sashihara
52da0ef73c
Throughout Phobos use core.math intrinsics instead of std.math wrappers
...
Followup to PR #7821 .
2021-03-02 07:09:08 +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
4421ecb77e
std.format: Add %g (step 4): Formatting 0.0
2021-03-02 06:21:40 +01:00