Victor Zverovich
aad546baa5
Simplify presentation type parsing
2023-01-01 16:14:17 -08:00
Victor Zverovich
14a69fcc54
Use parse_align
2023-01-01 10:44:55 -08:00
Victor Zverovich
bf34ffd33f
Refactor format string parsing
2023-01-01 10:21:47 -08:00
Victor Zverovich
6056e07125
Simplify symbols
2022-12-30 19:35:05 -08:00
Victor Zverovich
aa99b86409
Minor cleanup
2022-12-30 18:51:15 -08:00
Victor Zverovich
6ade2eb4e5
Inline all_int_set
2022-12-30 17:05:08 -08:00
Victor Zverovich
caa6974942
Simplify parse functions
2022-12-30 16:34:36 -08:00
Victor Zverovich
a73a9b6a84
Refactor format string checks
2022-12-30 16:03:41 -08:00
Victor Zverovich
72785a3aba
Cleanup write
2022-12-30 13:53:55 -08:00
Victor Zverovich
0c3dd5ddd7
Remove redundant check
2022-12-30 12:55:19 -08:00
Victor Zverovich
739b600f40
Remove iterator shenanigans
2022-12-30 12:37:22 -08:00
Victor Zverovich
3710c4d38f
Link to dragonbox
2022-12-30 12:07:55 -08:00
Victor Zverovich
a05ba44df8
Simplify format string parsing
2022-12-30 11:23:42 -08:00
Victor Zverovich
ffb9b1d13c
Improve handling of signed types
2022-12-30 10:31:39 -08:00
Victor Zverovich
32190859ec
Fix handling of char
2022-12-30 09:11:42 -08:00
Victor Zverovich
8fe4d97d5e
Reduce template instantiations
2022-12-30 08:44:23 -08:00
Orvid King
7e5a959564
Fix build with MSVC C++20 modules ( #3254 )
...
When using fmt with C++20 modules under MSVC, it can end up requiring certain things to have storage that would not otherwise have needed to. Since I didn't see anything that was already doing detection for `inline constexpr` variable support, I've just moved the entire thing into the only function where it's used.
2022-12-28 19:58:57 -08:00
Victor Zverovich
9e60304869
Clarify that unused args are allowed
2022-12-28 06:58:04 -08:00
Victor Zverovich
7ad48c1f65
Cleanup core.h
2022-12-26 09:14:15 -08:00
Victor Zverovich
a921a596e7
Cleanup core.h
2022-12-26 07:46:31 -08:00
Victor Zverovich
3e762fdf5c
Use ignore_unused
2022-12-26 06:57:21 -08:00
Victor Zverovich
79981a2528
Cleanup ranges formatting
2022-12-25 20:05:20 -08:00
Victor Zverovich
bd12aaa98e
Simplify format string parsing
2022-12-25 12:31:38 -08:00
Victor Zverovich
b8f36207c9
Simplify format string parsing
2022-12-25 11:47:43 -08:00
Victor Zverovich
d907786f04
Move anchor to where it belongs
2022-12-25 10:58:54 -08:00
Victor Zverovich
f2355bbe5e
Fix docs
2022-12-25 10:25:35 -08:00
Victor Zverovich
f398c94761
Fix docs
2022-12-25 10:24:36 -08:00
Vladislav Shchapov
4841784e82
Simplify C99 strftime detection conditions
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-12-25 10:16:19 -08:00
Vladislav Shchapov
cb72c23e9e
Improve timezone tests
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-12-25 10:16:19 -08:00
Vladislav Shchapov
583f2d8209
Set timezone for chrono tests
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-12-25 10:16:19 -08:00
Victor Zverovich
32c4390704
Minor cleanup
2022-12-25 08:59:25 -08:00
Victor Zverovich
3a5e19fbf5
Minor cleanup
2022-12-25 08:42:16 -08:00
Victor Zverovich
dfb857ebef
Refactor format spec parsing
2022-12-25 07:25:32 -08:00
Victor Zverovich
9ea9b6bcb1
Cleanup arg id parsing
2022-12-24 16:33:57 -08:00
Victor Zverovich
2b0ff62a7f
Remove unused template arg from format_string_checker
2022-12-24 15:46:34 -08:00
Victor Zverovich
d1745084e0
Simplify parse context
2022-12-24 15:20:24 -08:00
Victor Zverovich
407e7b7b6d
basic_format_specs -> format_specs
2022-12-24 14:34:50 -08:00
Victor Zverovich
3cf9794755
Cleanup format string parsing
2022-12-24 13:47:20 -08:00
Victor Zverovich
934c8e5f76
Refactor precision parsing
2022-12-24 13:29:23 -08:00
Shawn Zhong
fc96938345
Remove empty semicolon
2022-12-24 09:54:55 -08:00
Victor Zverovich
f0ab112c34
Cleanup parsing
2022-12-24 09:40:35 -08:00
Victor Zverovich
9660e5b956
Remove redundant tests
2022-12-24 07:28:13 -08:00
Shawn Zhong
a585571e90
Ignore 0 character with align
2022-12-23 19:36:05 -08:00
Victor Zverovich
840ec8569d
Cleanup width handlers
2022-12-23 19:18:35 -08:00
Victor Zverovich
1dadeb8a33
Refactor width parsing
2022-12-23 18:29:59 -08:00
Victor Zverovich
275b4b3417
Remove obsolete parse-benchmark
2022-12-23 12:50:08 -08:00
Vladislav Shchapov
e004f1d699
Fix for issue #3241
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-12-23 12:26:20 -08:00
Victor Zverovich
bde1a6070d
Simplify fill and alignment parsing
2022-12-23 10:52:56 -08:00
Cleroth
040dc2a5d4
small typo in syntax.rst
...
0x1e was misread as 0x13, it looks like
2022-12-23 10:29:14 -08:00
Victor Zverovich
6a186bcd66
Localize FMT_USE_LOCAL_TIME
2022-12-21 14:52:52 -08:00