Commit Graph
100 Commits
Author SHA1 Message Date
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
Victor Zverovich bde1a6070d Simplify fill and alignment parsing 2022-12-23 10:52:56 -08:00
Victor Zverovich 6a186bcd66 Localize FMT_USE_LOCAL_TIME 2022-12-21 14:52:52 -08:00
Victor Zverovich b90895412f Fix formatting of named arguments with locale 2022-12-15 09:59:40 -08:00
Victor Zverovich 3999fd193a Workaround an ADL issue 2022-12-11 09:32:17 -08:00
Victor Zverovich f1733afd49 Pin godbolt example to specific version 2022-12-10 09:35:55 -08:00
Victor Zverovich 1a854b4aa5 Clarify what mod_inv_5 is 2022-12-04 08:36:03 -08:00
Victor Zverovich 8d50d814db Fix a chrono formatting issue found by fuzzing 2022-11-30 11:04:51 -08:00
Victor Zverovich fae6f7e081 Optimize range formatter 2022-11-26 08:50:46 -08:00
Victor Zverovich d2e89c8b08 Document more chrono specs 2022-11-08 19:35:34 -10:00
Victor Zverovich bd19593204 Document more chrono specs 2022-11-08 16:22:23 -10:00
Victor Zverovich fd0d0ec8df Document more chrono specs 2022-11-08 14:57:57 -10:00
Victor Zverovich 8e93434edd Update README.rst 2022-11-08 11:21:16 -08:00
Victor Zverovich fc07217d85 Make utf-8 detection compatible with gbk 2022-11-02 15:42:47 -07:00
Victor Zverovich 491c32cbd9 Workaround gcc bug 103879 2022-10-05 21:12:38 -07:00
Victor Zverovich 0b5cb18b71 Use buffering in to_string to avoid bloat 2022-09-21 17:11:43 -07:00
Victor Zverovich 4c4f99a583 Update a godbolt link 2022-09-21 12:05:57 -07:00
Victor Zverovich 3272a7a3ce Update an example 2022-09-21 12:03:18 -07:00
Victor Zverovich a48e3355a6 Improve docs 2022-09-18 08:44:04 -07:00
Victor Zverovich afcf424294 Update docs 2022-09-16 15:27:18 -07:00
Victor Zverovich ac85afaab6 Simplify format_error 2022-09-16 14:25:14 -07:00
Victor Zverovich 3178bb9a26 Update docs 2022-09-16 10:29:53 -07:00
Victor Zverovich cf58f64c54 Update docs 2022-09-16 10:28:00 -07:00
Victor Zverovich e4e0ae3918 Use fmt/core.h in examples 2022-09-15 20:41:32 -07:00
Victor Zverovich d65acc4e6c Improve docs 2022-09-14 10:59:50 -07:00
Victor Zverovich c9f790b061 Update docs 2022-09-14 10:58:52 -07:00
Victor Zverovich 6b8144a5ac Update locale docs 2022-09-14 06:38:29 -07:00
Victor Zverovich 192859c2b5 Optimize writing to buffers via back_insert_iterator 2022-09-12 15:32:12 -07:00
Victor Zverovich 94ceb38a09 Improve locale API 2022-09-11 09:33:31 -07:00
Victor Zverovich 58c4c012fa Disable slow windows build and simplify write_loc 2022-09-11 08:35:09 -07:00
Victor Zverovich c3494ae364 Refactor float localization 2022-09-11 07:47:27 -07:00
Victor Zverovich 76705fc2ee Update doc 2022-09-10 15:06:09 -07:00
Victor Zverovich ecffca6726 Don't parse '}' as fill 2022-09-07 17:33:31 -07:00
Victor Zverovich b98ffb7dbd Improve locale handling 2022-09-04 21:07:30 -07:00
Victor Zverovich d59b89e9cd More locale 2022-09-04 11:23:45 -07:00
Victor Zverovich 58a5563a9f Implement grouping 2022-09-04 09:01:26 -07:00
Victor Zverovich 1b94271ff6 Add support for UTF-8 digit separators 2022-09-03 11:01:05 -07:00
Victor Zverovich 768d79a839 Implement format_facet 2022-09-03 09:42:36 -07:00
Victor Zverovich 91ecb38a34 Localize negative integers 2022-09-03 07:01:11 -07:00
Victor Zverovich aec3bb5d0a Workaround C complex.h idiocy 2022-09-03 06:35:55 -07:00
Victor Zverovich fec5515c55 num_format_facet -> format_facet 2022-09-02 18:55:08 -07:00
Victor Zverovich f187274d36 Add loc_value 2022-09-02 13:45:23 -07:00
Victor Zverovich fc5e59fe4a Don't use stringstream 2022-09-02 13:05:26 -07:00
Victor Zverovich d6a8704605 Improve locale support 2022-09-02 11:52:19 -07:00
Victor Zverovich 56c72a671c Reduce locale dependency 2022-09-02 10:22:11 -07:00
Victor Zverovich 75383a87f9 Inline trivial functions 2022-09-01 18:25:23 -07:00
Victor Zverovich 48327a82e3 Make format.h compile faster 2022-09-01 17:06:47 -07:00
Victor Zverovich b79ed4105a Remove unnecessary type_identity 2022-09-01 16:29:08 -07:00
Victor Zverovich 64e29893cf Improve locale support 2022-09-01 14:48:43 -07:00
Victor Zverovich 0b0f7cfbfc hip workaround 2022-09-01 09:18:53 -07:00
Victor Zverovich a33701196a Update version 2022-08-27 08:57:10 -07:00
Victor Zverovich 1f575fd5c9 Bump version 2022-08-27 08:55:39 -07:00
Victor Zverovich c7635288f7 Fix docs, take 2 2022-08-27 08:28:07 -07:00
Victor Zverovich c8ed78e315 Fix docs 2022-08-27 08:01:47 -07:00
Victor Zverovich e07cfb2068 Update changelog 2022-08-27 07:55:06 -07:00
Victor Zverovich 1dc7af5693 Fix markup 2022-08-27 07:52:58 -07:00
Victor Zverovich f7d21c3a1a Update changelog 2022-08-27 07:51:24 -07:00
Victor Zverovich a55bcb24bd Update changelog 2022-08-27 07:13:36 -07:00
Victor Zverovich 30cb2b3122 Remove appveyor config 2022-08-27 06:52:25 -07:00
Victor Zverovich cf8d3c3229 Update changelog 2022-08-26 16:17:42 -07:00
Victor Zverovich 3c3cb6f6b1 Update changelog 2022-08-26 16:00:24 -07:00
Victor Zverovich 91481f255c Detemplatize code_point_length_impl 2022-08-26 15:45:00 -07:00
Victor Zverovich 4a8e2949bb Fix formatting of ranges of code unit types
Thanks Nicole Mazzuca.
2022-08-26 13:48:58 -07:00
Victor Zverovich e724bbea16 Fix wchar_t corner cases 2022-08-24 12:23:10 -07:00
Victor Zverovich 13d07c6a3d Apply doc fixes retroactively 2022-08-24 09:16:12 -07:00
Victor Zverovich 391f922acc Improve error reporting in format string compilation 2022-08-24 09:05:15 -07:00
Victor Zverovich dc59d3df3f Fix a warning in gtest 2022-08-24 07:18:14 -07:00
Victor Zverovich 541cd21838 Fix locale name (thanks Mikhail Paulyshka) 2022-08-20 08:06:20 -07:00
Victor Zverovich 1f95c34381 Fix sign handling with large code units 2022-08-20 07:46:58 -07:00
Victor Zverovich 779449fd99 Belarusify test 2022-08-20 07:37:15 -07:00
Victor Zverovich 7fb8d33f9d Fix compile-time width/precision type check 2022-08-09 16:10:02 -07:00
Victor Zverovich df56fdf883 Clarify docs for compile-time checks 2022-08-05 07:00:34 -07:00
Victor Zverovich 5f774c0aed I shouldn't be there 2022-08-02 16:35:50 -07:00
Victor Zverovich 6567df7f24 Update README.rst 2022-08-02 06:50:09 -07:00
Victor Zverovich 6452e3c9eb Fix a typo in example 2022-08-02 06:26:19 -07:00
Victor Zverovich e9ca7ea472 Suppress a bogus warning 2022-07-28 07:12:49 -07:00
Victor Zverovich 48e0a59222 Implement compile-time checks for dynamic width/precision type 2022-07-22 17:00:40 -07:00
Victor Zverovich 00adc7120d Add a regression test for here be dragons 2022-07-22 11:08:00 -07:00
Victor Zverovich 371f9c71ca Fix even in format_dragon 2022-07-19 08:36:34 -07:00
Victor Zverovich 91abfcd6cf Suppress an msvc warning 2022-07-16 08:57:09 -07:00
Victor Zverovich deeab54b40 Remove unused include 2022-07-15 20:11:35 -07:00
Victor Zverovich d82e1a108d Make sure the correct fmod overload is called 2022-07-13 12:42:03 -07:00
Victor Zverovich 05be7a0764 Use FMT_USE_FLOAT128 instead of __SIZEOF_FLOAT128__ 2022-07-10 08:54:34 -07:00
Victor Zverovich 2a1b3ac629 Fix large shift in uint128_fallback 2022-07-10 08:27:21 -07:00
Victor Zverovich b761f1279e Improve forward using the idea from Jonathan Müller 2022-07-07 16:48:17 -07:00
Victor Zverovich cc1926942f Inline std::forward 2022-07-07 14:41:54 -07:00
Victor Zverovich c4ee726532 Update version 2022-07-04 09:50:06 -07:00
Victor Zverovich fa2eb2d2e3 Bump version 2022-07-04 09:37:29 -07:00
Victor Zverovich 35f72bf210 Bump version 2022-07-04 09:10:55 -07:00
Victor Zverovich d22f00d7e4 Update changelog 2022-07-04 09:01:56 -07:00
Victor Zverovich 4e8d215606 Update changelog 2022-07-04 08:56:18 -07:00
Victor Zverovich 84eecb6561 Prune CI configs 2022-07-04 08:51:35 -07:00
Victor Zverovich 55727e3b21 More compile-time checks 2022-07-04 08:25:27 -07:00
Victor Zverovich 1010b7f148 Update docs 2022-07-04 08:18:44 -07:00
Victor Zverovich 2ac51fc448 Update changelog 2022-07-04 08:13:27 -07:00
Victor Zverovich 0c06c81da8 Deprecated implicit conversion of enums to ints for consistency with scoped enums 2022-07-03 09:02:22 -07:00
Victor Zverovich e29c2bc60e Update docs 2022-06-30 08:13:34 -07:00
Victor Zverovich c65e4286bf Update changelog 2022-06-29 09:02:08 -07:00
Victor Zverovich 69c24e47e8 Update changelog 2022-06-28 11:00:56 -07:00