Alexey Ochapov
14ce33e2dc
make hex_digits and shifts in basic_data constexpr
2020-12-25 03:07:04 +03:00
Alexey Ochapov
8131d4f094
fix macro check for formatting at compile-time on GCC 10.2+
2020-12-25 03:07:04 +03:00
Alexey Ochapov
6714f90a5d
enable formatting at compile-time for GCC 10.2+
2020-12-22 22:37:27 +03:00
Alexey Ochapov
b8d973aaa0
mark formatter<>::format() functions as const
...
to revert back some changes in compile.h
2020-12-22 22:31:55 +03:00
Alexey Ochapov
2980dd3a6b
remove braces for if in value constuctor
2020-12-22 21:35:24 +03:00
Alexey Ochapov
fec7c1ab83
use FMT_NOEXCEPT instead of FMT_DETECTED_NOEXCEPT
...
for `is_constant_evaluated()` function
2020-12-22 21:28:04 +03:00
Alexey Ochapov
de42f13712
use is_constant_evaluated() to initialize class value` with string
2020-12-15 04:49:28 +03:00
Alexey Ochapov
6742642dcd
quick fix for MSVC 19.0.24241.7
2020-12-09 20:54:24 +03:00
Alexey Ochapov
62abf10ed8
add missing 0 spec test
2020-12-09 03:44:58 +03:00
Alexey Ochapov
aead58e6e8
add constexpr where it's needed
2020-12-09 03:08:44 +03:00
Alexey Ochapov
725eedf1ae
add tests for specs, std::string_view -> fmt::basic_string_view in test_string
2020-12-09 02:58:56 +03:00
Camille Bordignon
c20874c28f
Reenable support for fallback formatter in join ( #2040 ) ( #2050 )
2020-12-08 08:56:53 -08:00
Alexey Ochapov
5de0bc1d4f
Add UDL as replacement for FMT_COMPILE ( #2043 )
2020-12-07 15:53:11 -08:00
谭九鼎
a6fafe2f01
docs: use https for some links ( #2051 )
2020-12-05 06:41:38 -08:00
Victor Zverovich
33f9a6d360
Fix handling of enums in to_string ( #2036 )
2020-12-03 15:18:33 -08:00
Alexey Ochapov
aabe0a8473
simplify tests by reordering arguments of EXPECT_EQ ( #2044 )
2020-12-03 14:21:23 -08:00
Victor Zverovich
1f4a76d2c8
Add a missing include ( #2047 )
2020-12-03 14:17:09 -08:00
Victor Zverovich
4a6eadbde0
Make std::byte formattabe ( #1981 )
2020-12-03 08:59:07 -08:00
Alexey Ochapov
683a74501f
fix formatting with empty compiled format string ( #2042 )
2020-12-02 07:14:57 -08:00
Victor Zverovich
f43416e1d7
Add a link to contents from index
2020-12-02 06:30:09 -08:00
Victor Zverovich
5a493560f5
Move some code from core.h to format.h where it is used
2020-11-29 09:45:15 -08:00
Victor Zverovich
9ed0a98178
Fix docs build
2020-11-29 09:33:09 -08:00
Alexey Ochapov
dac753b81e
Basics of formatting at compile-time based on compile-time API ( #2019 )
2020-11-29 08:59:11 -08:00
Victor Zverovich
119f7dc3d6
Truncate file by default
2020-11-27 08:15:14 -08:00
Victor Zverovich
22a68d1613
Don't emit trailing zeros by default
2020-11-27 07:45:54 -08:00
Victor Zverovich
d0110b7e35
Update README.rst
2020-11-26 19:51:31 -08:00
Victor Zverovich
3f4839ce3d
Merge branch 'release' of github.com:fmtlib/fmt
2020-11-25 06:41:05 -08:00
Victor Zverovich
7bdf0628b1
Update version
2020-11-24 17:15:02 -08:00
Victor Zverovich
fc1355114d
Update changelog
2020-11-24 17:14:00 -08:00
Victor Zverovich
926233bde8
Fix test
2020-11-24 14:54:15 -08:00
Victor Zverovich
0683fa7d1d
Bump version
2020-11-24 08:36:21 -08:00
Victor Zverovich
6ce207b9a5
Fix formatting
2020-11-24 08:29:17 -08:00
Victor Zverovich
07b1c1a15f
Update changelog
2020-11-24 08:24:14 -08:00
Victor Zverovich
58992761cf
Reintroduce ostream support to range formatters ( #2014 )
2020-11-24 08:22:29 -08:00
Victor Zverovich
b8957f50c3
Fix an overflow in format_to_n ( #2029 )
2020-11-24 08:22:12 -08:00
Victor Zverovich
df66516ed3
Workaround an issue with mixing std versions in gcc ( #2017 )
2020-11-24 08:21:10 -08:00
Victor Zverovich
a57baa69a5
Fix more linkage errors ( #2011 )
2020-11-24 08:17:31 -08:00
Victor Zverovich
85534a1397
Fix linkage errors when linking with a shared library ( #2011 )
2020-11-24 08:15:59 -08:00
Victor Zverovich
a2fa5d6288
Update changelog
2020-11-23 10:35:07 -08:00
Victor Zverovich
cd3003683d
Fix more linkage errors ( #2011 )
2020-11-23 10:34:27 -08:00
Victor Zverovich
d1ef29d679
Fix initialization of iterator_buffer ( #1996 )
2020-11-23 10:28:35 -08:00
Victor Zverovich
5f41bb0f77
clang-format
2020-11-23 10:23:54 -08:00
Victor Zverovich
a58a6b27c3
Add a newline
2020-11-21 16:52:40 -08:00
Victor Zverovich
a036cc97b7
Reintroduce ostream support to range formatters ( #2014 )
2020-11-21 16:31:22 -08:00
Victor Zverovich
38c7def47a
Update clang version to 3.4 since there are ICEs on earlier ones
2020-11-19 10:37:43 -08:00
Jonathan Gopel
5533641319
🆕 [CI] Test with C++14 in Windows 2019 ( #2020 )
...
Problem:
- Both Windows builds test C++14
Solution:
- Use C++11 for `windows-2016` builds and C++14 for `windows-2019`
builds.
Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-19 06:04:16 -08:00
Victor Zverovich
55dfdd9299
Update README.rst
2020-11-18 07:33:38 -08:00
Victor Zverovich
2c734c9bca
Fix an overflow in format_to_n ( #2029 )
2020-11-18 06:50:43 -08:00
Park DongHa
6cdd1be93e
Update build.gradle for latest AGP ( #2026 )
...
* update build.gradle for latest AGP
* bump Android Gradle Plugin version to 4.1.1
* ignore .cxx which was externalNativeBuild in old versions
Use variable 'rootDir' instead of using relative path.
* build.gradle copies AAR files to libs/
2020-11-17 06:31:06 -08:00
Victor Zverovich
bcc20b29df
Implement compile-time checks by default
2020-11-15 17:24:36 -08:00