Commit Graph
896 Commits
Author SHA1 Message Date
Victor Zverovich d8e0554b97 Disable numeric formatting by default 2020-07-03 10:35:49 -07:00
Victor Zverovich 56fed78149 FMT_NUMERIC_ALIGN -> FMT_DEPRECATED_NUMERIC_ALIGN 2020-07-03 08:53:01 -07:00
Victor Zverovich 56e63078ff Make the n specifier an opt-in 2020-07-03 08:02:48 -07:00
Florin Iucha 31ce6bc702 Fix a conversion warning with Clang10 on Windows (#1750)
Fixes #1747
2020-07-03 05:53:42 -07:00
Victor Zverovich ba363b3a24 Use digit pairs as in unrolledlut 2020-06-27 12:05:38 -07:00
Victor Zverovich 79c4b6bd70 Apply clang-format 2020-06-25 08:12:10 -07:00
Victor Zverovich d130ee070f Document format string compilation 2020-06-25 08:12:10 -07:00
Greg Sjaardema d0f90b5be7 Spelling fixes 2020-06-24 06:29:54 -07:00
Victor Zverovich 978521bb81 Fix a compile error introduced in #1738 2020-06-23 15:17:43 -07:00
Leonid Yuriev 8bef1c3b3a Tweaks for EDG based compilers (Intel, nVidia, MCST/Elbrus, etc).
Using the __EDG_VERSION__ macro for checks related to EDG-based
compilers instead of a macros specific for each of ones.
2020-06-23 05:50:25 -07:00
Victor Zverovich 2cac8a9d2e Reintroduce UDT support to fmt::to_string and test ADL 2020-06-21 09:21:07 -07:00
Victor Zverovich 5ddf9ee1bd Streamline default FP formatting 2020-06-20 07:12:50 -07:00
Victor Zverovich 397ad1bec3 Optimize common case 2020-06-15 18:30:31 -07:00
Victor Zverovich 7431165f38 Make to_string bypass format 2020-06-15 17:55:16 -07:00
Victor Zverovich e900d735bb Re-enable assert in format_decimal 2020-06-14 09:30:03 -07:00
Victor Zverovich f4de7b684a Fix ambiguity 2020-06-14 08:26:12 -07:00
Victor Zverovich 1f8f5450b5 Reuse format_decimal 2020-06-14 07:42:52 -07:00
Victor Zverovich d702a68df2 Fix formatting of bool with FMT_COMPILE and add more tests 2020-06-14 07:16:50 -07:00
Victor Zverovich e956a14e9e Use write instead of format_int in to_string 2020-06-13 20:07:08 -07:00
Victor Zverovich 98dcc251eb Undo branching reduction 2020-06-13 18:23:52 -07:00
Victor Zverovich 5b8641dddf Undo branching reduction 2020-06-13 16:50:55 -07:00
Victor Zverovich 8c88abde64 Fix sign handling in 'L' 2020-06-13 06:57:19 -07:00
Victor Zverovich 23b976a615 Reduce branching 2020-06-12 19:46:00 -07:00
Victor Zverovich 9edee0e727 Optimize small string parsing 2020-06-12 19:22:33 -07:00
Victor Zverovich a909d42b76 Fix a warning 2020-06-12 13:49:31 -07:00
Victor Zverovich 2d71d7e030 Add a simple format string compilation API 2020-06-12 08:37:15 -07:00
Victor Zverovich 2453ee576a Improve default formatting 2020-06-09 08:59:01 -07:00
Victor Zverovich 936a1833c2 Add default_arg_formatter 2020-06-08 08:14:34 -07:00
Victor Zverovich f2c9cb6244 Fix a UB 2020-06-08 06:32:11 -07:00
Victor Zverovich d3107f8551 Cleanup arg_formatter_base 2020-06-07 20:55:38 -07:00
Victor Zverovich 5e7c70e206 Simplify arg_formatter_base 2020-06-07 19:38:43 -07:00
Victor Zverovich 38cc68b3e5 Inline visitor 2020-06-07 08:36:33 -07:00
Victor Zverovich 6732ea5000 Make symbols readable 2020-06-07 07:49:11 -07:00
Victor Zverovich 50bad7d62d Optimize format string parsing 2020-06-06 10:15:19 -07:00
Victor Zverovich f11e968708 Optimize format string parsing 2020-06-06 08:15:33 -07:00
Victor Zverovich 09737dd83b Optimize format handler 2020-06-06 07:17:02 -07:00
Victor Zverovich d9e3d6e6ed Move format_handler to detail 2020-06-06 06:38:48 -07:00
Victor Zverovich 795b47a7b5 Fix a warning (#1712) 2020-06-05 08:24:09 -07:00
Victor Zverovich 21409cfdda Fix warnings 2020-06-04 07:50:07 -07:00
Victor Zverovich 88c8d534e7 Move digits10 to where they belong and add comments 2020-06-04 06:39:18 -07:00
Victor Zverovich 16aec06179 Cleanup arg_formatter_base 2020-05-31 10:58:52 -07:00
Victor Zverovich 1e1193590d Fix format_decimal overloads 2020-05-31 10:12:34 -07:00
Victor Zverovich 0893c9c2ef Inline parse_format_string 2020-05-30 20:30:18 -07:00
Victor Zverovich 3245145a41 Remove undocumented buffer_range and output_range 2020-05-30 13:07:52 -07:00
Victor Zverovich 7d22bebb6f Remove uses of buffer_range 2020-05-30 06:50:45 -07:00
Victor Zverovich 5aabf1f715 Simplify copy_str 2020-05-29 17:59:08 -07:00
Victor Zverovich 19c5b5d159 Simplify arg_formatter 2020-05-29 16:53:12 -07:00
Victor Zverovich 519571edec Simplify arg_formatter_base 2020-05-29 14:44:18 -07:00
Victor Zverovich ac8dfd841f Improve handling of separators 2020-05-29 08:15:44 -07:00
Victor Zverovich 2c6165a22b Reduce the number of comparisons 2020-05-29 05:42:35 -07:00