Commit Graph

119 Commits (05e3a73b162705b37ed464ceb4644addfb03f25b)

Author SHA1 Message Date
Eli Boyarski 18495bf25d
Bundle fmt 9.1.0's std.h, and provide a header to include either it or the external fmt's version (#2539) 3 years ago
Gabi Melman 7aa00607ea
chrono.h: Remove warning suppression
Not needed since fmt 9.x
3 years ago
gabime b59b4a2b45 Rvert suppressing msvc2017 warnings and fix ci instead 3 years ago
gabime 130ff0c8db enable the ostream formatting for backward compatibility with fmt 8.x 3 years ago
gabime 14a29c03eb suppress warning 4307 when including format-inline.h under msvc 2017 3 years ago
gabime 3499dfeeb4 Bump bundled fmtlib to version 1.9.1 3 years ago
offa 06f9953fa8 Workaround deprecation warning on Clang with C++20 3 years ago
John Armstrong 799802f93b Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING 3 years ago
Kevin Slattery 5f5e70e96e C++14 build fixes for older gcc #2333 3 years ago
gabime 71105e0b07 Fixed #2227 4 years ago
gabime c432fdd987 Bump fmt to version 8.1.1 and run clang-format 4 years ago
gabime d8199b607d Bump fmt to version 8.1.1 and run clang-format 4 years ago
Tim Blechmann 626efad307 spdlog: fmt - support `std::span` in `to_hex`
`std::span` does not have `const_iterator`. this prevents `to_hex` from
being used with `std::span<>`. to fix this, we provide an explicit
overload.

compare: https://cplusplus.github.io/LWG/issue3320
4 years ago
Roocks Patrick (MTN PTT / External) f304ca3daf code style fixes 4 years ago
Roocks Patrick (MTN PTT / External) d93cea97ec Fix usage of ranges and to_hex in the same compile unit
When trying to use spdlog/fmt/bin_to_hex.h in the same compile unit as spdlog/fmt/bundled/ranges.h you got a compile error because there was a multiple definitions for iterable classes. This fix renames the begin() and end() getters in dump_info into getBegin()/getEnd() in order to avoid this collision.

Added an example of ranges in example.cpp to show that it actually works (an to_hex example was already there)
4 years ago
Gabi Melman e1a4b28039
Added fmt license file to bundled fmt folder 4 years ago
gabime dc030ec53c clang-format 4 years ago
Charles Milette 0ded003703 Fix wchar_t overloads and dump_info formatter 4 years ago
Charless Milette 2d77ef92b0 Avoid specializing std::formatter for std::tm (not a great idea after all) 4 years ago
Charless Milette f6901606f5 Add std::tm formatter, fix spdlog::stopwatch formatter, conditionally use fmt::runtime in test_errors 4 years ago
Charles Milette 8e359baaec
Merge branch 'v1.x' into std-format 4 years ago
Dimitris Apostolou 591eedcf36
Fix typos 4 years ago
Charless Milette 89c4b1aabe Fix build issues under C++11 4 years ago
Charless Milette 4008f31add Fix missing spdlog:: 4 years ago
Charless Milette c475418975 Put formatter specialization in its original namespace 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
Dmitriy Merkushov b400705a1c bin_to_hex.h: include common.h instead of spdlog.h 4 years ago
Dmitriy Merkushov dfd12e6dac bin_to_hex.h: include spdlog.h to support inclusion of bin_to_hex.h in any order with spdlog.h 4 years ago
dkavolis 1344d44a5a check args on formatting 4 years ago
gabime e7e8b75a4c clang-format 4 years ago
gabime 1523c83650 Added fmt/compile.h bundled file 4 years ago
gabime b83106bed4 Update bundled fmt to v8.0.1 4 years ago
gabime d75fd2c7f9 Fixed wchar support under msvc 4 years ago
gabime 9ebc4b24d9 Added missing args.h file 4 years ago
gabime efbe3e4d57 Added missing fmt 8 headers 4 years ago
gabime 5887744d8b Fixed bin2hex to work with fmt v8 4 years ago
gabime 8bf718671a Update fmt version 8.0 4 years ago
Hai Feng Kao ca2cd6f3e7 fix Xcode compiler warning "no new line at the end of file" 4 years ago
gabime 2b81c40b90 Bump fmt to version 7.1.3 5 years ago
Gabi Melman 99b8c5d379
Update bin_to_hex.h 5 years ago
gabime 4a9ccf7e38 Fixed chrono wrapper 5 years ago
gabime a16a029790 Added bundled fmt os.h file 5 years ago
gabime dfc777803a enable the 'n' flag in for backward compatibility with fmt 6.x 5 years ago
gabime 23c2c00d69 Bumb fmt version to 7.0.3 5 years ago
Gabi Melman 19f2804661
Fix #1611 5 years ago
gabime bc61f69058 Bump fmt version to 6.2.1 5 years ago
gabime 7698bb0ae1 Bump fmt version to 6.2.0 5 years ago
gabime e3257e56ab Fix #1480 5 years ago
gabime 643426e2b2 Small refactor 6 years ago
gabime f31a834613 clang-format 6 years ago