Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e69e5f977d | ||
|
d88d016e2f | ||
|
b169f5be9f |
@ -1,3 +1,8 @@
|
|||||||
|
# 10.2.1 - 2024-01-03
|
||||||
|
|
||||||
|
- Fixed ABI compatibility with earlier 10.x versions
|
||||||
|
(https://github.com/fmtlib/fmt/pull/3786). Thanks @saraedum.
|
||||||
|
|
||||||
# 10.2.0 - 2024-01-01
|
# 10.2.0 - 2024-01-01
|
||||||
|
|
||||||
- Added support for the `%j` specifier (the number of days) for
|
- Added support for the `%j` specifier (the number of days) for
|
||||||
|
@ -9,7 +9,7 @@ versions = [
|
|||||||
'5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0',
|
'5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0',
|
||||||
'6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2',
|
'6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2',
|
||||||
'7.1.3', '8.0.0', '8.0.1', '8.1.0', '8.1.1', '9.0.0', '9.1.0']
|
'7.1.3', '8.0.0', '8.0.1', '8.1.0', '8.1.1', '9.0.0', '9.1.0']
|
||||||
versions += ['10.0.0', '10.1.0', '10.1.1', '10.1.1', '10.2.0']
|
versions += ['10.0.0', '10.1.0', '10.1.1', '10.1.1', '10.2.0', '10.2.1']
|
||||||
|
|
||||||
class Pip:
|
class Pip:
|
||||||
def __init__(self, venv_dir):
|
def __init__(self, venv_dir):
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
// The fmt library version in the form major * 10000 + minor * 100 + patch.
|
// The fmt library version in the form major * 10000 + minor * 100 + patch.
|
||||||
#define FMT_VERSION 100200
|
#define FMT_VERSION 100201
|
||||||
|
|
||||||
#if defined(__clang__) && !defined(__ibmxl__)
|
#if defined(__clang__) && !defined(__ibmxl__)
|
||||||
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
|
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
|
||||||
|
@ -1434,6 +1434,7 @@ FMT_FUNC auto vformat(string_view fmt, format_args args) -> std::string {
|
|||||||
namespace detail {
|
namespace detail {
|
||||||
#if !defined(_WIN32) || defined(FMT_WINDOWS_NO_WCHAR)
|
#if !defined(_WIN32) || defined(FMT_WINDOWS_NO_WCHAR)
|
||||||
FMT_FUNC auto write_console(int, string_view) -> bool { return false; }
|
FMT_FUNC auto write_console(int, string_view) -> bool { return false; }
|
||||||
|
FMT_FUNC auto write_console(std::FILE*, string_view) -> bool { return false; }
|
||||||
#else
|
#else
|
||||||
using dword = conditional_t<sizeof(long) == 4, unsigned long, unsigned>;
|
using dword = conditional_t<sizeof(long) == 4, unsigned long, unsigned>;
|
||||||
extern "C" __declspec(dllimport) int __stdcall WriteConsoleW( //
|
extern "C" __declspec(dllimport) int __stdcall WriteConsoleW( //
|
||||||
@ -1444,6 +1445,10 @@ FMT_FUNC bool write_console(int fd, string_view text) {
|
|||||||
return WriteConsoleW(reinterpret_cast<void*>(_get_osfhandle(fd)), u16.c_str(),
|
return WriteConsoleW(reinterpret_cast<void*>(_get_osfhandle(fd)), u16.c_str(),
|
||||||
static_cast<dword>(u16.size()), nullptr, nullptr) != 0;
|
static_cast<dword>(u16.size()), nullptr, nullptr) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FMT_FUNC auto write_console(std::FILE* f, string_view text) -> bool {
|
||||||
|
return write_console(_fileno(f), text);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -999,6 +999,7 @@ struct is_contiguous<basic_memory_buffer<T, SIZE, Allocator>> : std::true_type {
|
|||||||
FMT_END_EXPORT
|
FMT_END_EXPORT
|
||||||
namespace detail {
|
namespace detail {
|
||||||
FMT_API auto write_console(int fd, string_view text) -> bool;
|
FMT_API auto write_console(int fd, string_view text) -> bool;
|
||||||
|
FMT_API auto write_console(std::FILE* f, string_view text) -> bool;
|
||||||
FMT_API void print(std::FILE*, string_view);
|
FMT_API void print(std::FILE*, string_view);
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user