Commit Graph

  • d3c523e0d2 Export printf-related contexts from printf.h Daniela Engert 2021-04-24 10:40:32 +02:00
  • 2c25df089f Export replacement type_traits, too Daniela Engert 2021-04-17 10:20:23 +02:00
  • 553022dc56 Don't use std::system on iOS (#2248) Victor Zverovich 2021-04-24 06:17:05 -07:00
  • 8a040d187a Cleanup core-test Victor Zverovich 2021-04-23 17:11:01 -07:00
  • 064cac2bf9 Bump version Victor Zverovich 2021-04-23 16:05:03 -07:00
  • 5b2c740ad8 Remove deprecated APIs Victor Zverovich 2021-04-23 11:16:19 -07:00
  • b9ab5c8836 Remove printf.h dependency on ostream.h Victor Zverovich 2021-04-23 10:42:57 -07:00
  • c47f211296 Simplify data handling Victor Zverovich 2021-04-23 06:52:10 -07:00
  • 54d3b1710e Move more data out of basic_data Victor Zverovich 2021-04-22 20:40:42 -07:00
  • 128f007b25 C++17: std::char_traits<>::{compare,length} is constexpr. (#2246) Vladislav Shchapov 2021-04-23 18:11:34 +05:00
  • 841aad95b4 Move data out of basic_data Victor Zverovich 2021-04-22 13:51:03 -07:00
  • 1d4199f46b fix udl_compiled_string with non-byte chars (e.g. wchar) (#2242) Alexey Ochapov 2021-04-19 18:29:35 +03:00
  • c5d4fcb119 Appending a space to guarantee non-empty strftime() result. (#2244) yumeyao 2021-04-19 10:13:51 +08:00
  • 6271406233 Fix a warning (#2233) Victor Zverovich 2021-04-16 15:42:39 -07:00
  • 52bd62c72f Create separate dllexport marking points for clang and msvc. (#2229) denchat 2021-04-17 02:34:18 +07:00
  • f4bbc54cc4 Tag official API for module export (#2235) Daniela Engert 2021-04-16 20:04:55 +02:00
  • d8910af80d Use qualified name lookup rather than ADL. (#2239) Daniela Engert 2021-04-16 18:38:25 +02:00
  • 9260114162 Ranges wide strings support (#2236) crbrz 2021-04-16 16:25:35 +03:00
  • 24c9751558 Try to suppress MVSC warn of narrowing (#2230) denchat 2021-04-13 21:30:43 +07:00
  • a1c6bfd77b Add a link to llvm diff Victor Zverovich 2021-04-12 10:05:14 -07:00
  • 42eccac454 Fix clang warning about ignoring __declspec(dllexport) on basic_data<void> template instantitation definition (#2220) denchat 2021-04-12 23:31:44 +07:00
  • aec504344a Update README.rst Victor Zverovich 2021-04-10 08:48:11 -07:00
  • 0b41145443 Update README.rst Victor Zverovich 2021-04-10 08:31:47 -07:00
  • 00f3d16b12 Update docs Victor Zverovich 2021-04-10 08:07:16 -07:00
  • 99c2f7a349 Allow including fmt/core.h in the header-only mode Victor Zverovich 2021-04-10 07:44:36 -07:00
  • b441532396 CI linux: add clang++-11 C++20 (with LLVM libc++) build Alexey Ochapov 2021-04-08 03:25:40 +03:00
  • 1dbadb6527 CI linux: add clang++-11 C++20 build Alexey Ochapov 2021-04-08 03:18:13 +03:00
  • 09dbad47e1 CI linux: add missing build_type Alexey Ochapov 2021-04-08 02:49:30 +03:00
  • e2facffe4d CI linux: remove excessive clang++-9 include Alexey Ochapov 2021-04-08 02:37:00 +03:00
  • 273d8865e3 Suppress redef warning of _CRT_SECURE_NO_WARNINGS if any. (#2218) denchat 2021-04-09 01:56:35 +07:00
  • 5a8bf1f6a3 Workaround hexfloat inconsistency on windows (#2205) Victor Zverovich 2021-04-07 11:20:08 -07:00
  • 78776ee4e2 Fix a conditional expression is constant warning #2210 (#2211) Elliot 2021-04-07 18:42:11 +01:00
  • 266107f57c constexpr uint128_wrapper (#2215) jstaahl 2021-04-06 22:07:01 -07:00
  • 2e0d64cf2f specify size for prefixes static data Alexey Ochapov 2021-04-06 23:54:17 +03:00
  • 95da484727 Fix a link Victor Zverovich 2021-04-03 09:14:52 -07:00
  • 06b3a1000c Add support for time points with arbitrary durations (#2208) Victor Zverovich 2021-04-02 11:17:14 -07:00
  • dac42f52b2 Inline fallback is_constant_evaluated Victor Zverovich 2021-04-01 10:42:09 -07:00
  • 7c43f8b896 Don't use strlen at compile time (#2205) Victor Zverovich 2021-04-01 10:04:21 -07:00
  • c62e4c30f4 Make buffer_appender default-constructible when back_insert_iterator is Jason Cobb 2021-03-31 14:06:48 -04:00
  • 0d6b70d96b Install gcc 8 Victor Zverovich 2021-04-01 08:24:55 -07:00
  • 15c10b0c66 Add speech synthesis support Victor Zverovich 2021-04-01 07:50:40 -07:00
  • 308510eb4f "Use" fwrite result (workaround for warn_unused_result) Billy Donahue 2021-03-20 03:10:25 -04:00
  • afe23e7f10 Don't call fileno on NULL file in tests (#2196) Victor Zverovich 2021-03-30 10:41:12 -07:00
  • b49af043d7 Remove noexcept from file's move assignment Victor Zverovich 2021-03-30 09:51:25 -07:00
  • 14848875bf Fix: fmt::ostream cannot be moved while holding buffered data #2197 (#2198) vtta 2021-03-30 23:43:26 +08:00
  • 7d8c34018e Update pull_request_template.md Victor Zverovich 2021-03-30 08:42:11 -07:00
  • b966afcc7a Remove formattable Victor Zverovich 2021-03-28 14:21:12 -07:00
  • ec5315a987 Use strlen when possible in fallback basic_string_view Victor Zverovich 2021-03-28 08:01:55 -07:00
  • 4f8778bab9 Inline basic_format_args's ctor Victor Zverovich 2021-03-28 07:32:17 -07:00
  • e2d87548f8 user-defined constructor Yaser Afshar 2021-03-27 16:10:03 -05:00
  • 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 -05:00
  • 0fb8ef8f79 Inline trivial argument handling functions Victor Zverovich 2021-03-27 19:05:39 -07:00
  • 1b23e25f95 Simplify formattability check Victor Zverovich 2021-03-27 18:57:18 -07:00
  • 35c71ff536 Only use -Og with optimizations disabled Victor Zverovich 2021-03-27 11:35:01 -07:00
  • 243d8bebd1 Enable minimal optimizations in debug mode Victor Zverovich 2021-03-27 08:22:31 -07:00
  • 9b34681d97 Work around xl compiler bug when nvcc preprocesses this file (#2190) Chris White 2021-03-27 06:05:49 -07:00
  • 4dc7170d21 Fix C++17 builds: (#2192) Vladislav Shchapov 2021-03-26 18:19:43 +05:00
  • 9cb347b4b2 Simplify argument formatters Victor Zverovich 2021-03-21 07:28:46 -07:00
  • 0f85a4683a add default cases (#2186) Ryan Sherlock 2021-03-19 16:56:52 -07:00
  • 417e1cee9e Stop using deprecated UDL templates Victor Zverovich 2021-03-19 08:24:08 -07:00
  • f7e900e12e Simplify UDL definitions Victor Zverovich 2021-03-19 08:10:36 -07:00
  • d9661c8f3b Mark grouping as deprecated Victor Zverovich 2021-03-19 07:54:57 -07:00
  • 14a2a64df4 Fix handling of formattable types with to_string_view (#2181) Victor Zverovich 2021-03-19 06:43:38 -07:00
  • 6ae402fd0b Fix handling of types with to_string_view and formatter specialization (#2180) Victor Zverovich 2021-03-18 10:11:06 -07:00
  • a6408a3b09 Add args-test Victor Zverovich 2021-03-18 09:04:17 -07:00
  • 1147782c79 Fix an ambiguous call to check caused by ADL (#2184) Victor Zverovich 2021-03-17 20:59:36 -07:00
  • 2f3f3862fa Fix harmless MSVS warning about using undefined _MANAGED symbol (#2183) VZ 2021-03-17 19:21:50 +01:00
  • d0bded5988 Fix MSVC /clr builds (#2179) Brainy0207 2021-03-15 16:17:28 +01:00
  • 8308f52c2a Fix dynamic_format_arg_store::push_back comment Victor Zverovich 2021-03-15 07:10:28 -07:00
  • 6151d0dc1e Fix the comment Victor Zverovich 2021-03-14 09:26:18 -07:00
  • 5a1127b726 Don't wrap named arg in cref and clarify docs Victor Zverovich 2021-03-14 09:08:08 -07:00
  • b8ff3c1820 optimize append (#2164) moiwi 2021-03-13 16:21:23 +01:00
  • c8d8b88223 fix GCC 7,8,9 warning about unused but set parameter (#2177) Alexey Ochapov 2021-03-13 17:36:53 +03:00
  • d28101878a Document ostream support limitation Victor Zverovich 2021-03-12 15:49:22 -08:00
  • bac14ef985 Simplify integer spec checking Victor Zverovich 2021-03-12 14:12:43 -08:00
  • 8f9db3fcb8 Make ubsan happy on empty format specs (#2175) Victor Zverovich 2021-03-12 09:13:47 -08:00
  • af567538a0 Bitpack integral prefixes Victor Zverovich 2021-03-11 19:30:29 -08:00
  • cdf877d4b1 Workaround missed optimization opportunity Victor Zverovich 2021-03-11 16:44:59 -08:00
  • eef4ba9c02 Optimize integer formatting without padding Victor Zverovich 2021-03-11 14:11:48 -08:00
  • a1ea8a82c3 Unbloat my heart Victor Zverovich 2021-03-11 08:27:53 -08:00
  • a457e16360 Simplify integer formatter Victor Zverovich 2021-03-11 07:16:32 -08:00
  • 05bc87a66f Optimize padding Victor Zverovich 2021-03-10 17:59:36 -08:00
  • 605b603735 Optimize count_digits for powers of 2 Victor Zverovich 2021-03-10 13:12:37 -08:00
  • 85ba271639 Implement 128-bit count_digits in terms of count_digits_fallback Victor Zverovich 2021-03-10 12:57:46 -08:00
  • d9835737f0 spec -> specs Victor Zverovich 2021-03-10 12:51:03 -08:00
  • f9e0e90441 Apply clang-format Victor Zverovich 2021-03-10 12:08:02 -08:00
  • 60f5d24411 Simplify arg_formatter Victor Zverovich 2021-03-10 09:18:52 -08:00
  • 30e1302e73 Simplify on_format_specs Victor Zverovich 2021-03-10 08:46:16 -08:00
  • 87c5cd46ac Optimize parsing of argument ids Victor Zverovich 2021-03-10 07:04:04 -08:00
  • 6a9016ea60 fix formatted_size with "compiled format" as argument (#2161) Alexey Ochapov 2021-03-07 17:44:36 +03:00
  • 6e1fc01752 Move detail::truncating_iterator to fmt/compile.h Victor Zverovich 2021-03-06 08:35:36 -08:00
  • e718ec3e93 Make truncating_iterator an output_iterator (#2158) Jason Cobb 2021-03-04 18:53:08 -05:00
  • 772aeca338 Don't include <cassert>. (#2148) (#2152) John Steele Scott 2021-03-05 01:58:04 +10:30
  • 684b5b0e40 Fix fallback to runtime API from compile-time API (#2143) Alexey Ochapov 2021-03-04 18:20:57 +03:00
  • d8b9254301 use simplified void_t for all compilers other than gcc 4.x (#2160) Alexey Ochapov 2021-03-03 01:42:27 +03:00
  • 835b910e7d Add an is_formattable trait Victor Zverovich 2021-02-28 15:25:33 -08:00
  • 578874033a Revert "Optimize handling of integer constants" (#2147) Victor Zverovich 2021-02-25 05:58:58 -08:00
  • 640acba850 Print x.what() of FMT_THROW when exception is disabled (#2145) Jiahao XU 2021-02-25 01:29:04 +11:00
  • d8e1c9f175 fix fmt::get for some GCC versions and legacy Clang (#2144) Alexey Ochapov 2021-02-23 18:18:30 +03:00
  • 2797588be1 Optimize handling of integer constants Victor Zverovich 2021-02-21 10:53:09 -08:00