Commit Graph

3519 Commits

Author SHA1 Message Date
Victor Zverovich
40779749ac is_formattable -> has_formatter 2019-06-07 06:51:21 -07:00
Victor Zverovich
b3cf8613b1 Make formatter specializations override implicit conversions 2019-06-07 06:25:46 -07:00
Victor Zverovich
3fdba04924 Reduce the number of nontrivial formatter instantiations 2019-06-06 22:02:53 -07:00
Victor Zverovich
f5f3ffac59 Merge string make_value overloads 2019-06-06 08:29:16 -07:00
Victor Zverovich
a38b99a188 Fix a regression in named argument handling introduced by prepare 2019-06-05 16:50:04 -07:00
Victor Zverovich
aa31028b2c char_t_impl -> char_t 2019-06-05 10:13:34 -07:00
Victor Zverovich
0787d69747 Simplify SFINAE 2019-06-05 09:02:33 -07:00
Victor Zverovich
bae00aa8d7 Simplify is_string 2019-06-05 08:41:00 -07:00
Victor Zverovich
388bb389e6 integral_constant -> bool_constant 2019-06-05 08:14:47 -07:00
Victor Zverovich
7e39c7e6f4 Put stringy stuff together 2019-06-05 07:43:20 -07:00
Victor Zverovich
3eff8f94d2 Update docs 2019-06-05 06:24:18 -07:00
Victor Zverovich
469a4bbd35 Use enable_if_t 2019-06-04 21:38:18 -07:00
Victor Zverovich
d2ee5f2407 Merge tests 2019-06-04 21:31:23 -07:00
Victor Zverovich
c264e641ea Add conditional_t for pre-C++14 2019-06-04 18:50:30 -07:00
Victor Zverovich
4aa0dc578b Fix docs 2019-06-04 18:02:55 -07:00
Victor Zverovich
064ce6b6c0 Specialize is_char for character types 2019-06-04 17:08:58 -07:00
Victor Zverovich
7893d85394 Clarify why we cannot have nice things 2019-06-04 08:47:25 -07:00
Victor Zverovich
5bafcb437b Add comments about things broken in MSVC 2019-06-03 19:14:16 -07:00
Victor Zverovich
1530242551 Fix signature in the docs 2019-06-03 17:35:15 -07:00
Victor Zverovich
eddb84cfc0 Fix formatting of exotic characters 2019-06-03 17:08:00 -07:00
Victor Zverovich
7e42c65bb6 Document a more useful to_string_view overload 2019-06-03 11:57:33 -07:00
Victor Zverovich
1e6e87cb74 Update docs 2019-06-03 11:35:12 -07:00
Victor Zverovich
0c6a6e0250 Get rid of the FILE* hack and reword apidocs 2019-06-03 10:27:00 -07:00
mocabe
1653244c69 Fix compilation issue on VS2019 (#1186) (#1191) 2019-06-03 08:34:27 -07:00
Victor Zverovich
d54e64b3c8 Make buffer_context an alias template 2019-06-02 18:28:49 -07:00
Victor Zverovich
ec6651087d Remove old is_constructible workarounds and replace typedefs with using 2019-06-02 16:46:45 -07:00
Victor Zverovich
4d4b8c238d FMT_CHAR -> char_t 2019-06-02 15:03:37 -07:00
Victor Zverovich
56d2b91108 Install git 2019-06-02 13:57:19 -07:00
Victor Zverovich
89d6c959b2 Fix cmake link 2019-06-02 13:24:32 -07:00
Victor Zverovich
76ef39fc50 Update vagrant config 2019-06-02 13:19:33 -07:00
Victor Zverovich
af2c73772c Implement parsing of string_views 2019-06-02 11:11:28 -07:00
Victor Zverovich
9df0e2d1f1 Implement string parsing 2019-06-02 07:39:38 -07:00
Victor Zverovich
5b7bbf8853 Revert "FMT_CHAR -> char_t"
This reverts commit 4c650057a0.
2019-06-01 15:01:04 -07:00
Victor Zverovich
4c650057a0 FMT_CHAR -> char_t 2019-06-01 12:32:24 -07:00
Victor Zverovich
2833c76f22 Move char_t to template param to reduce symbol size 2019-06-01 12:14:27 -07:00
Victor Zverovich
67feef5589 Make enable_if_t more std-like and move to fmt namespace 2019-06-01 10:05:16 -07:00
Victor Zverovich
78daa50ffc Fix handling of chrono durations with minimal signed rep 2019-06-01 09:36:37 -07:00
Victor Zverovich
87e4ea2906 Fix a warning 2019-06-01 08:24:36 -07:00
Victor Zverovich
c56b17029a Add msvc2019 to CI 2019-06-01 07:50:15 -07:00
Christopher Di Bella
c929684e33 inlines count_code_points(basic_string_view<char8_t)
count_code_points(basic_string_view<char8_t>) was defined in
fmt/format-inl.h, and only declared in fmt/format.h, but not defined
in src/format.cc. This commit moves the overload to fmt/format.h and
inlines it.
2019-06-01 07:17:22 -07:00
Victor Zverovich
f57227a148 FMT_ENABLE_IF -> enable_if_t 2019-05-31 20:09:19 -07:00
Victor Zverovich
634f707f2b Simplify char_t and remove msvc2013 from CI 2019-05-31 19:28:37 -07:00
Victor Zverovich
406e632bd1 result_of -> invoke_result_t 2019-05-31 08:54:32 -07:00
Victor Zverovich
49f78a427b Demacrify 2019-05-30 21:30:29 -07:00
Victor Zverovich
637bf3c6d9 Workaround a bug in clang-format 2019-05-30 11:46:31 -07:00
Victor Zverovich
8302c2f33b fmt::internal::declval -> std::declval 2019-05-30 09:46:10 -07:00
Victor Zverovich
d07cc2026b FMT_EXPLICIT -> explicit, FMT_NULL -> nullptr 2019-05-30 07:42:36 -07:00
Victor Zverovich
4a7966c773 Drop gcc 4.4 from CI 2019-05-30 06:51:59 -07:00
Victor Zverovich
9b3c24b99b One weird trick to simplify docs; doxygen hates it 2019-05-29 21:09:43 -07:00
Victor Zverovich
30bce6c14c Fix a few chrono formatting corner cases (#1178) 2019-05-29 18:02:26 -07:00