Commit Graph

  • 308510eb4f "Use" fwrite result (workaround for warn_unused_result) Billy Donahue 2021-03-20 03:10:25 -0400
  • afe23e7f10 Don't call fileno on NULL file in tests (#2196) Victor Zverovich 2021-03-30 10:41:12 -0700
  • b49af043d7 Remove noexcept from file's move assignment Victor Zverovich 2021-03-30 09:51:25 -0700
  • 14848875bf
    Fix: fmt::ostream cannot be moved while holding buffered data #2197 (#2198) vtta 2021-03-30 23:43:26 +0800
  • 7d8c34018e
    Update pull_request_template.md Victor Zverovich 2021-03-30 08:42:11 -0700
  • b77d2a8c85 Fix moving ostream while holding data Junliang HU 2021-03-29 21:01:07 +0800
  • 291b0075bb Add a test case: move ostream while holding data Junliang HU 2021-03-29 21:00:31 +0800
  • b966afcc7a Remove formattable Victor Zverovich 2021-03-28 14:21:12 -0700
  • ec5315a987 Use strlen when possible in fallback basic_string_view Victor Zverovich 2021-03-28 08:01:55 -0700
  • 4f8778bab9 Inline basic_format_args's ctor Victor Zverovich 2021-03-28 07:32:17 -0700
  • e2d87548f8 user-defined constructor Yaser Afshar 2021-03-27 16:10:03 -0500
  • f7151d384b Extra flag to prevent Intel compiler with Clang front-end warning of 'unknown attribute no_sanitize' Yaser Afshar 2021-03-27 15:44:52 -0500
  • 0fb8ef8f79 Inline trivial argument handling functions Victor Zverovich 2021-03-27 19:05:39 -0700
  • 1b23e25f95 Simplify formattability check Victor Zverovich 2021-03-27 18:57:18 -0700
  • 569cd8690c
    user-defined constructor Yaser Afshar 2021-03-27 16:10:03 -0500
  • 238ec1792e
    Extra flag to prevent Intel compiler with Clang front-end warning of 'unknown attribute no_sanitize' Yaser Afshar 2021-03-27 15:44:52 -0500
  • 35c71ff536 Only use -Og with optimizations disabled Victor Zverovich 2021-03-27 11:35:01 -0700
  • 243d8bebd1 Enable minimal optimizations in debug mode Victor Zverovich 2021-03-27 08:22:31 -0700
  • 9b34681d97
    Work around xl compiler bug when nvcc preprocesses this file (#2190) Chris White 2021-03-27 06:05:49 -0700
  • a7f53c550f Work around xl compiler bug when nvcc preprocesses this file Chris White 2021-03-26 15:24:47 -0700
  • 4dc7170d21
    Fix C++17 builds: (#2192) Vladislav Shchapov 2021-03-26 18:19:43 +0500
  • bf4383e8dd Fix C++17 builds: - Fix C++17 Visual Studio builds. - Use C++17 for windows-2019 builds. - Removed options for unsupported compiler (MSVC11). - Removed options, not needed after enabling C++11+ features in gmock/gtest. Владислав Щапов 2021-03-25 20:18:09 +0500
  • 9cb347b4b2 Simplify argument formatters Victor Zverovich 2021-03-21 07:28:46 -0700
  • f8dee2a9ab add default case for core Ryan Sherlock 2021-03-20 09:23:56 -0700
  • 699746b12a "Use" fwrite result (workaround for warn_unused_result) Billy Donahue 2021-03-20 03:10:25 -0400
  • 0f85a4683a
    add default cases (#2186) Ryan Sherlock 2021-03-19 16:56:52 -0700
  • db2ca7ccaf add default cases Ryan Sherlock 2021-03-19 12:53:16 -0700
  • 417e1cee9e Stop using deprecated UDL templates Victor Zverovich 2021-03-19 08:24:08 -0700
  • f7e900e12e Simplify UDL definitions Victor Zverovich 2021-03-19 08:10:36 -0700
  • d9661c8f3b Mark grouping as deprecated Victor Zverovich 2021-03-19 07:54:57 -0700
  • 14a2a64df4 Fix handling of formattable types with to_string_view (#2181) Victor Zverovich 2021-03-19 06:43:38 -0700
  • 6ae402fd0b Fix handling of types with to_string_view and formatter specialization (#2180) Victor Zverovich 2021-03-18 10:11:06 -0700
  • a6408a3b09 Add args-test Victor Zverovich 2021-03-18 09:04:17 -0700
  • 1147782c79 Fix an ambiguous call to check caused by ADL (#2184) Victor Zverovich 2021-03-17 20:59:36 -0700
  • 2f3f3862fa
    Fix harmless MSVS warning about using undefined _MANAGED symbol (#2183) VZ 2021-03-17 19:21:50 +0100
  • d0bded5988
    Fix MSVC /clr builds (#2179) Brainy0207 2021-03-15 16:17:28 +0100
  • 8308f52c2a Fix dynamic_format_arg_store::push_back comment Victor Zverovich 2021-03-15 07:10:28 -0700
  • 6efdda8ef3 Fix harmless MSVS warning about using undefined _MANAGED symbol Vadim Zeitlin 2021-03-15 14:07:26 +0100
  • 36ad2396ef Fix MSVC /clr builds Jan Oltmann 2021-03-14 17:42:35 +0100
  • 6151d0dc1e Fix the comment Victor Zverovich 2021-03-14 09:26:18 -0700
  • 5a1127b726 Don't wrap named arg in cref and clarify docs Victor Zverovich 2021-03-14 09:08:08 -0700
  • b8ff3c1820
    optimize append (#2164) moiwi 2021-03-13 16:21:23 +0100
  • c8d8b88223
    fix GCC 7,8,9 warning about unused but set parameter (#2177) Alexey Ochapov 2021-03-13 17:36:53 +0300
  • c4da672a72
    fix GCC 7,8,9 warning about unused but set parameter Alexey Ochapov 2021-03-10 22:29:57 +0300
  • d28101878a Document ostream support limitation Victor Zverovich 2021-03-12 15:49:22 -0800
  • bac14ef985 Simplify integer spec checking Victor Zverovich 2021-03-12 14:12:43 -0800
  • 8f9db3fcb8 Make ubsan happy on empty format specs (#2175) Victor Zverovich 2021-03-12 09:13:47 -0800
  • 6276f1d465 Update format.h moiwi 2021-03-12 11:21:01 +0100
  • d08fd870e7 Merge branch 'master' into moiwi-opt moiwi 2021-03-12 11:19:37 +0100
  • af567538a0 Bitpack integral prefixes Victor Zverovich 2021-03-11 19:30:29 -0800
  • cdf877d4b1 Workaround missed optimization opportunity Victor Zverovich 2021-03-11 16:44:59 -0800
  • eef4ba9c02 Optimize integer formatting without padding Victor Zverovich 2021-03-11 14:11:48 -0800
  • a1ea8a82c3 Unbloat my heart Victor Zverovich 2021-03-11 08:27:53 -0800
  • a457e16360 Simplify integer formatter Victor Zverovich 2021-03-11 07:16:32 -0800
  • 05bc87a66f Optimize padding Victor Zverovich 2021-03-10 17:59:36 -0800
  • 605b603735 Optimize count_digits for powers of 2 Victor Zverovich 2021-03-10 13:12:37 -0800
  • 85ba271639 Implement 128-bit count_digits in terms of count_digits_fallback Victor Zverovich 2021-03-10 12:57:46 -0800
  • d9835737f0 spec -> specs Victor Zverovich 2021-03-10 12:51:03 -0800
  • f9e0e90441 Apply clang-format Victor Zverovich 2021-03-10 12:08:02 -0800
  • 60f5d24411 Simplify arg_formatter Victor Zverovich 2021-03-10 09:18:52 -0800
  • 30e1302e73 Simplify on_format_specs Victor Zverovich 2021-03-10 08:46:16 -0800
  • 87c5cd46ac Optimize parsing of argument ids Victor Zverovich 2021-03-10 07:04:04 -0800
  • 6a9016ea60
    fix formatted_size with "compiled format" as argument (#2161) Alexey Ochapov 2021-03-07 17:44:36 +0300
  • 6e1fc01752 Move detail::truncating_iterator to fmt/compile.h Victor Zverovich 2021-03-06 08:35:36 -0800
  • b3e6d017a5 Update format.h moiwi 2021-03-05 09:52:54 +0100
  • e718ec3e93
    Make truncating_iterator an output_iterator (#2158) Jason Cobb 2021-03-04 18:53:08 -0500
  • e4789a2eee
    Remove truncating_iterator_default_construct_base Jason Cobb 2021-03-04 11:06:10 -0500
  • 772aeca338
    Don't include <cassert>. (#2148) (#2152) John Steele Scott 2021-03-05 01:58:04 +1030
  • 684b5b0e40
    Fix fallback to runtime API from compile-time API (#2143) Alexey Ochapov 2021-03-04 18:20:57 +0300
  • b2bb2cb049
    pass format string to format_to() inside format_to_n() in compile-time API Alexey Ochapov 2021-03-03 20:56:40 +0300
  • 0b8276f835 Correct formatting around throw_assertion_failure(). John Steele Scott 2021-03-03 19:43:04 +1030
  • 014dbed507 Fix when arg size > 15 and named_arg is present. yumeyao 2021-03-03 14:18:16 +0800
  • c4a6d48584 refactor fmtlog with libfmt compatible public apis for format_entry yumeyao 2021-03-03 11:30:43 +0800
  • d8b9254301
    use simplified void_t for all compilers other than gcc 4.x (#2160) Alexey Ochapov 2021-03-03 01:42:27 +0300
  • 36d14b8ce3 add an extra check if the user mis-declares formatter<custom_type>::store()'s first arguments as non-reference yumeyao 2021-03-02 14:40:33 +0800
  • f11c1a7c11
    fix formatted_size with "compiled format" as argument Alexey Ochapov 2021-03-02 00:27:57 +0300
  • 2db69c7fd2
    use simplified void_t for all compilers other than gcc 4.x Alexey Ochapov 2021-03-01 23:18:07 +0300
  • 46f2173388
    remove FMT_ENABLE_FALLBACK_TO_RUNTIME_API Alexey Ochapov 2021-03-01 23:11:46 +0300
  • 2f7a6d87f6 Remove messages from assertions added in 2f699d2. John Steele Scott 2021-03-01 20:38:22 +1030
  • 4471b2f133 Don't explicitly suppress GCC's -Wterminate in tests' FMT_ASSERT. John Steele Scott 2021-03-01 20:34:06 +1030
  • d8e49e9f4e
    Add test for non-default-constructible iterator Jason Cobb 2021-02-28 22:42:08 -0500
  • a715b99549
    Fix bogus null pointer constant warning Jason Cobb 2021-02-28 21:47:17 -0500
  • ab343b62cb
    Fix test expectation order Jason Cobb 2021-02-28 21:39:37 -0500
  • b263cd5de4
    Fix uninitialized out_ Jason Cobb 2021-02-28 21:39:31 -0500
  • 707515b1b5
    Fix output_iterator static_assert Jason Cobb 2021-02-28 21:34:37 -0500
  • 4b3ca4f206
    Fix use of C++17 feature Jason Cobb 2021-02-28 21:32:38 -0500
  • 91c5d66003 rip to fmtlog.h yumeyao 2021-03-01 10:31:26 +0800
  • aa17861475
    Add missing base constructor Jason Cobb 2021-02-28 21:30:44 -0500
  • 70dabdfdc4
    Add test for output_iterator Jason Cobb 2021-02-28 21:25:33 -0500
  • 8c12b95a20 adapt named args yumeyao 2021-03-01 10:23:59 +0800
  • d3bb13a5fd
    Make truncating_iterator model output_iterator Jason Cobb 2021-02-28 21:21:16 -0500
  • 835b910e7d Add an is_formattable trait Victor Zverovich 2021-02-28 15:25:33 -0800
  • 9c6004535a essential fmtlog done yumeyao 2021-02-26 19:39:55 +0800
  • b23f48f297
    Replace FMT_THROW with FMT_ERROR Jiahao XU 2021-02-25 19:15:36 +1100
  • 578874033a Revert "Optimize handling of integer constants" (#2147) Victor Zverovich 2021-02-25 05:58:58 -0800
  • 131e584391 FMT_GCC_VERSION is not defined when we include test-assert.h, use __GCC__ instead. John Steele Scott 2021-02-25 22:39:02 +1030
  • 2f699d2cdb Don't include <cassert>. (#2148) John Steele Scott 2021-02-25 21:27:59 +1030
  • 640acba850
    Print x.what() of FMT_THROW when exception is disabled (#2145) Jiahao XU 2021-02-25 01:29:04 +1100
  • d8e1c9f175
    fix fmt::get for some GCC versions and legacy Clang (#2144) Alexey Ochapov 2021-02-23 18:18:30 +0300
  • 9e3a2edddb
    fix fmt::get for some GCC versions and legacy Clang Alexey Ochapov 2021-02-22 05:58:47 +0300