Victor Zverovich
b9815cf048
Simplify part_counter
2019-08-25 08:30:59 -07:00
Victor Zverovich
fe00cddde2
Move part counter to the namespace scope
...
to reduce the number of instantiations
2019-08-25 08:22:43 -07:00
Victor Zverovich
1a7d172dc7
which_value -> kind
2019-08-25 08:08:46 -07:00
Victor Zverovich
006c2546f2
Get rid of basic_prepared_format
2019-08-25 07:57:56 -07:00
Victor Zverovich
4ce006fb6e
Simplify format string compilation
2019-08-25 07:48:09 -07:00
Victor Zverovich
e2e557e273
Remove preparator
2019-08-25 06:47:15 -07:00
Victor Zverovich
a5f470eb10
Test and fix compiled format_to_n and formatted_size
2019-08-25 06:38:41 -07:00
Victor Zverovich
f8b59251c4
Remove unused preparator
2019-08-24 12:48:24 -07:00
Victor Zverovich
643aa4c8c4
Simplify format string compilation
2019-08-24 09:39:40 -07:00
Victor Zverovich
ffe29a92f4
Get rid of internal::compile
2019-08-24 09:04:03 -07:00
Victor Zverovich
e94d723667
Fix compiled format string version of format_to_n
2019-08-24 09:00:30 -07:00
Victor Zverovich
a9337395a2
Remove unused variable
2019-08-24 08:46:15 -07:00
Victor Zverovich
562a9f4991
Remove parts_container_concept_check
2019-08-24 08:41:43 -07:00
Victor Zverovich
b257c56e51
Fix size types
2019-08-24 08:36:14 -07:00
Victor Zverovich
1488df3395
Bump version
2019-08-24 07:31:25 -07:00
Victor Zverovich
45dc3486fe
Update license
2019-08-22 08:37:36 -07:00
Victor Zverovich
b2d4ca1546
Workaround an issue with std::filesystem::path being an infinitely deep range ( #1268 )
2019-08-21 11:22:59 -07:00
Victor Zverovich
c1e97392be
Fix warnings
2019-08-11 08:44:12 -07:00
Victor Zverovich
e8219952c6
Restrict fmt::compile to literal strings
...
to make sure we don't break the API too much when making all of this
compile-time only.
2019-08-10 13:18:11 -07:00
Victor Zverovich
5360ab0b59
Fix iteration over named arguments ( #1168 )
2019-08-09 11:53:07 -07:00
Victor Zverovich
22a42c0b01
Cleanup compile implementation
2019-08-04 11:15:43 -07:00
Victor Zverovich
211d312406
Don't terminate on I/O errors in report_error
2019-08-04 09:38:47 -07:00
Victor Zverovich
ba63ac8c18
Make format_to a non-member
2019-08-04 06:47:49 -07:00
Victor Zverovich
3fe49163bd
Revert "Make format_to a non-member"
...
This reverts commit a5bd3ddb28
.
2019-08-03 16:12:34 -07:00
Victor Zverovich
a5bd3ddb28
Make format_to a non-member
2019-08-03 08:36:53 -07:00
Victor Zverovich
3df0ea34e5
Remove unnecessary overloads
2019-08-03 08:26:51 -07:00
Victor Zverovich
436acf3489
Make formatted_size & format_to_n non-members
2019-08-03 07:54:49 -07:00
Victor Zverovich
823128049b
Make format a non-member
2019-08-03 06:31:24 -07:00
Charles Milette
1dfa2591b3
Make operator _a constexpr
2019-08-01 16:56:49 -07:00
Charles Milette
6f2dd30e38
Simplify udl_formatter return type
2019-08-01 16:56:49 -07:00
Charles Milette
431d0f85cf
Use basic_string_view in non-template UDL
2019-08-01 16:56:49 -07:00
Charles Milette
ad71f5a706
Use forwarding references in UDL template
2019-08-01 16:56:49 -07:00
Victor Zverovich
eac2796ce3
Fix locale detection
2019-07-26 12:13:05 +03:00
Victor Zverovich
ee36257469
Internalize format_part
2019-07-26 09:02:45 +03:00
Victor Zverovich
bbf0bada33
Simplify compile
2019-07-26 07:58:19 +03:00
Victor Zverovich
3730b4f039
Cleanup compile implementation
2019-07-25 21:26:22 +03:00
Victor Zverovich
9393fe26f6
prepare -> compile
2019-07-25 19:39:41 +03:00
Victor Zverovich
3268531bc9
Workaround a broken C locale on Windows
2019-07-25 12:55:23 +03:00
Jack Andersen
8bd59ec936
Use fputws for outputting wide strings
...
Also adds fwide byte/wide orientation checking to verify streams are
able to receive the character type in question.
On Windows, the fwide calls are no-ops that pass through the second
arg and optimize out the if statement entirely.
2019-07-25 10:29:32 +03:00
Victor Zverovich
6bcc3fd216
Fix warnings
2019-07-19 13:27:41 +02:00
Victor Zverovich
6a497e1d06
Fix warnings
2019-07-19 06:18:46 +02:00
Victor Zverovich
e9b9b0aefa
clang-format
2019-07-18 06:28:53 +02:00
Victor Zverovich
ec24342b2b
Fix more warnings
2019-07-18 06:28:17 +02:00
Victor Zverovich
230b24944c
Fix sign conversion warnings
2019-07-17 21:18:55 +02:00
Daan De Meyer
cadd92d69f
Fix #1232 .
2019-07-17 11:52:10 +02:00
Daan De Meyer
41076d1de3
Use FMT_THROW
in fmt/color.h.
...
This allows fmt to be compiled with `-fno-exceptions`.
2019-07-17 10:15:31 +02:00
Jack Andersen
d561cb47a7
Opt-in macro to enforce use of compile-time format strings
2019-07-16 07:08:59 +02:00
Jack Andersen
699fe8e711
Remove const qualification in compile-time checks
2019-07-15 09:20:16 +02:00
Victor Zverovich
af4734fd15
Fix warnings
2019-07-12 16:03:12 -07:00
Victor Zverovich
dd8cc8b0ba
Disallow passing views as lvalues
2019-07-09 12:18:48 -07:00