Commit graph

186 commits

Author SHA1 Message Date
berni44
594eebf3bd std.format: Add precision for integers to writeAligned. 2021-04-13 11:54:49 +02:00
Razvan Nitu
61c8bfa6ee
Merge pull request #7944 from dlang/MetaLang-patch-1
Make string/character auto-escaping more prominent
2021-04-12 18:48:10 +08:00
berni44
22b5de6986 Rework examples of std.format.write 2021-04-12 12:20:53 +02:00
berni44
0c44e5cf19 std.format: Add overview of format indicator 2021-04-12 11:53:25 +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
29de9999e3 std.format: Add %a for x87-reals 2021-04-11 16:14:43 +08:00
berni44
3e3b71f145 std.format: Add %g for x87-reals 2021-04-11 07:31:26 +08:00
berni44
d9ba005ff5 Extend writeAligned to care about grouping. 2021-04-10 17:16:35 +08:00
berni44
159eff6b1f std.format: Add %e for x87-reals 2021-04-09 09:59:34 +02:00
berni44
9301312981 Fix Issue 20534 - std.format: %r on boolean gives wrong result 2021-04-08 15:36:07 +02:00
MetaLang
b15f8687f4
Make wording more clear. 2021-04-07 16:45:27 -03:00
MetaLang
16ef3c960a
Fix DDOC error and make small grammar fix. 2021-04-07 16:18:47 -03:00
MetaLang
82daa5a833
Make string/character auto-escaping more prominent
This functionality is unexpected and buried in between examples down the page. This adds a note just below where compound specifiers are first introduced to make it more prominent for anyone reading the docs.
2021-04-07 15:35:04 -03:00
berni44
1cdbc9cf87 Rework documentation of std.format.read: Module description 2021-04-07 13:13:23 +02:00
berni44
2313606f22 Rework documentation of std.format.write: Module description 2021-04-06 09:21:35 +02:00
berni44
d0d4460f96 Rework documentation of std.format.spec: Module description 2021-04-01 09:54:38 +02:00
berni44
3b975be6cd Fix Issue 15227 - std.format undocumented grammar 2021-03-31 16:40:48 +02:00
berni44
e0f009978a Rework documentation of std.format.write : formattedWrite 2021-03-31 14:19:03 +02:00
berni44
fe178582f2 Rework documentation of std.format.read : unformatValue 2021-03-31 13:39:44 +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
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