2180 Commits

Author SHA1 Message Date
Jonathan Müller
1ef8b4a5de Update version to 3.0.1 2016-10-31 22:02:46 +01:00
Jonathan Müller
4a66897fb6 Update ChangeLog 2016-10-31 22:02:43 +01:00
Jan Hellwig
63639cba98 Fix Windows compilation with -fno-exceptions (#405)
(cherry picked from commit 15d0f327735b8fd2169c72ef923280e7e9d4978c)
2016-10-31 22:02:42 +01:00
Jan Hellwig
2baf2a5e2c Fix Linux compilation with -fno-exceptions (#402)
(cherry picked from commit 8c63ea432c7985eb056f1457d7edc8574d4fa2f8)
2016-10-31 22:02:42 +01:00
Victor Zverovich
fb9015b3a1 CHAR_WIDTH -> CHAR_SIZE to avoid collision with ISO/IEC TS 18661-1:2014 macro
(cherry picked from commit abbefd71666055daac9e14e78262620f9e845850)
2016-10-28 19:42:17 +02:00
chronoxor
0a0c2c9cdd Remove unnecessary "fmt/" prefix which should be maintained with additional include_directories() in each project. (#397)
(cherry picked from commit 1500f005250d7b3426f68f35dd1d6fe95542642e)
2016-10-23 12:17:31 +02:00
Victor Zverovich
1c9a674d24 Fix compilation on Cygwin (#388)
(cherry picked from commit cee50b7572e4416f5aa7a2a6068543c1e5cd04a9)
2016-10-23 12:17:30 +02:00
Jean-Michaël Celerier
6e6adf431f Add FMT_OVERRIDE macro to allow specifying overriding functions in c++11 compilers
(cherry picked from commit 9ec3bea2d6e2c4e92798dad6dc4679d287202f61)
2016-10-23 12:17:30 +02:00
Hugh Wang
f8289ba1da Fix compilation on Android.
(cherry picked from commit 5f26b5da2871cc5f562231af9d2062fb18df1ca5)
2016-10-23 12:17:30 +02:00
Victor Zverovich
79100a21bc Correct syntax
(cherry picked from commit 04335aeadb5bcd12dc6cf66234830d21357fe859)
2016-10-23 12:17:30 +02:00
Victor Zverovich
f4a417f8fb Fix handling of unsigned char strings (#373)
(cherry picked from commit a79c7b4e8fb2c1b512b38a6da22c69fe5680fd19)
2016-10-23 12:17:30 +02:00
Victor Zverovich
5047091ad8 Add 'a' and 'A' format specifiers
(cherry picked from commit 53f9e7f65c534c4c8def55727e8e43478d350ec6)
2016-10-23 12:17:30 +02:00
Victor Zverovich
f880a6cedf Add CUAUV, Seastar and ScyllaDB to the list of projects that use fmt
(cherry picked from commit 2bf59a97c6e65e4963913d9ba2f8d260e5c8fbf5)
2016-10-23 12:01:53 +02:00
Victor Zverovich
7459ce15d3 Don't use -std compiler flag if CMAKE_CXX_STANDARD is specified (#366)
(cherry picked from commit 12a6027b40ee0fa9e744d1d25333a2650fd9aed7)
2016-10-23 12:01:42 +02:00
Victor Zverovich
f0a0674040 Use a heuristic to detect empty strftime result (#367)
(cherry picked from commit a5d0adf3953f0ae3e698d5b5702d1e5a7bf3d87e)
2016-10-23 12:01:33 +02:00
Victor Zverovich
c79174e1c0 Correct buffer growth when formatting time (#367)
(cherry picked from commit 1a23f9c274071a91edde9fc28895c45940d4e90d)
2016-10-23 12:01:17 +02:00
Victor Zverovich
f116a28134 Add "n" to integer formatting types
(cherry picked from commit ed301089183f51d53f9f076b9676d9c2a1f7c505)
2016-10-23 11:59:32 +02:00
Taro Matsuzawa aka. btm
6d91a801a4 Update usage.rst: change Homebrew package name
(cherry picked from commit 1dbc6bd1fc4fb96dac8671caaf4bcc92ebac340a)
2016-10-23 11:59:05 +02:00
Nils Moehrle
e3de93298b Remove unreachable code below FMT_THROW
(cherry picked from commit c8c99736690c7fcbe959a131d48c1e511fde067d)
2016-10-23 11:58:44 +02:00
Victor Zverovich
6f27f98103 Update readme
(cherry picked from commit c110c6eca7dbca963b7153640135102356707e3d)
2016-10-23 11:55:51 +02:00
Victor Zverovich
b8540e613e Workaround broken MinGW installation on AppVeyor (#355)
(cherry picked from commit 1acfd07f1ed9d4055833a70d9195e57aee7bbe77)
2016-10-23 11:54:55 +02:00
Victor Zverovich
a20c81a061 Break a long line
(cherry picked from commit 903357c85373dc3fe280f364c9cc18ddf03fd617)
2016-10-23 11:53:12 +02:00
Tilman Keskinöz
5d306cf11c Fix compile on freebsd
(cherry picked from commit d7c4e1cb1ffe373a8455e260d8af60fb6a02c3b3)
2016-10-23 11:53:00 +02:00
Victor Zverovich
3f778b2099 check -> const_check to avoid a conflict with AssertMacros.h (#350)
(cherry picked from commit 8631694021ccba79b6907b27ccca6f23575ea31a)
2016-10-23 11:52:49 +02:00
Victor Zverovich
27f604a153 Fix handling of thousands separator (#353)
(cherry picked from commit 0e6df7e5119fe463b2bb692f13b7aff2f67c5660)
2016-10-23 11:52:39 +02:00
Sean LK
1127e7a953 Fix building with clang in header-only mode
Building under a recent clang compiler causes the use of an extern
template for the BasicData struct. However, the only instantiation of
that structure in format.cc is only done if FMT_HEADER_ONLY is not
defined. This causes the build to fail in C++11 or C++14 mode.
Therefore, only declare the BasicData template as extern if
FMT_HEADER_ONLY is not defined.

(cherry picked from commit 75f862bf574743e9c68e2b694142bdaf7cfcc44d)
2016-10-23 11:52:28 +02:00
Victor Zverovich
b838eb0c2e Reduce noise
(cherry picked from commit 5c876088d39d09a43899cd072cf24145ec24ce28)
2016-10-23 11:52:07 +02:00
Victor Zverovich
59f9936009 Fix a link (#347)
(cherry picked from commit 2e69e454d0e30dfe2cb009c0349425154be1fe6d)
2016-10-23 11:51:40 +02:00
Victor Zverovich
b26e239c05 Fix MSVC warnings
(cherry picked from commit e0d6f630f8407bf63ca809dd31ab4a613ff01aaa)
2016-10-23 11:51:09 +02:00
Victor Zverovich
300d4f3c89 Suppress -Wpadded warnings
(cherry picked from commit a201c6197715f6578f64cb96258c2d9dafeb1724)
2016-10-23 11:50:15 +02:00
Victor Zverovich
8cfff4da4c Fix -Wpessimizing-move
(cherry picked from commit 4569b4dbd603f17d1599219b1985996a41893230)
2016-10-23 11:50:02 +02:00
Victor Zverovich
92d3f31df5 Fix clang warning
(cherry picked from commit c9bb5468b6ffba250644db86bee0af4bcbb6dc78)
2016-10-23 11:49:54 +02:00
Victor Zverovich
df05947b8a Fix a -Wweak-vtables warning in clang
(cherry picked from commit b26e76efe9417ea773bb1e6c6ce875646c71a346)
2016-10-23 11:49:44 +02:00
Victor Zverovich
679fed9187 Don't use strtod_l on Android (#345)
(cherry picked from commit c7739536e8e1ec844527620a2669393a6e3df130)
2016-10-23 11:49:31 +02:00
Victor Zverovich
14b4a2b073 Suppress clang's documentation warnings
(cherry picked from commit 18e3f165763eabe992ea4ca0f81fdddf72f97eeb)
2016-10-23 11:49:19 +02:00
Victor Zverovich
8bb431fef3 Break long lines
(cherry picked from commit 231c16df25e562ae2b3c7a43050dc35ad9267202)
2016-10-23 11:47:59 +02:00
Victor Zverovich
01e31f3154 Don't use --upgrade because it causes pip install older version of sphinx
(cherry picked from commit e68836c123551240cd539b8e5b05603340948f0a)
2016-10-23 11:47:45 +02:00
Victor Zverovich
713a061bc5 Make documentation installation optional (#333)
(cherry picked from commit dc1e36fa0e4e3d69f11cb028a0b56910a6fa3c3f)
2016-10-23 11:47:36 +02:00
Victor Zverovich
87f5f867f6 Update sphinx
(cherry picked from commit 7bb1b50835e8a1595454b4251412f8528c3443e8)
2016-10-23 11:47:32 +02:00
Victor Zverovich
ae85c91e80 Detect if lconv contains thousands_sep
(cherry picked from commit 96c28f748d6451b22a6f422c44973b872360e791)
2016-10-23 11:47:15 +02:00
Victor Zverovich
584fa85d18 Add fmt prefix to includes (#332)
Technically it is not necessary, but prevents errors when people add the
fmt directory itself rather than its parent to includes.

(cherry picked from commit e160c2b79a405757c1a6dab7e5a41b81c9e5ed05)
2016-10-23 11:46:38 +02:00
Victor Zverovich
d5dd1cd2a0 Use a mock to test locale support
(cherry picked from commit e2a332e5df1783580c42f62eb7f4bef04d8000b2)
2016-10-23 11:46:05 +02:00
Victor Zverovich
078c44e31c Improve formatting consistency
(cherry picked from commit ebff26f8f17a1097e7c02afbf7c13856068db938)
2016-10-23 11:44:52 +02:00
Dmitry Panteleev
2fd6c0b245 Workaround for missing lconv support in android (#327)
(cherry picked from commit 45a150945597b95102656c8f7a5819e08cf244ae)
2016-10-23 11:44:42 +02:00
Victor Zverovich
affac0bea0 Check if setlocale succeeded
(cherry picked from commit 5b106083e79b0f6c2f3850fa1c0ac0a69b81e595)
2016-10-23 11:44:32 +02:00
Victor Zverovich
ae8ae747bd Workaround an issue with "delete this" in GMock and gcc 6.1.1
(cherry picked from commit d00b43c592eecb69d46210ec24968ab30ea330f7)
2016-10-23 11:44:19 +02:00
Victor Zverovich
c1c963e8b9 Correct docs
(cherry picked from commit d67eb8af2f75f751cf7a0946c40938a0e4f3a701)
2016-10-23 11:44:10 +02:00
Victor Zverovich
5b26ada01c Fix clang -Weverything warnings (#250)
(cherry picked from commit 3400e0d6091db4ff0ef867d43c466e034fbf901d)
2016-10-23 11:44:02 +02:00
Victor Zverovich
b6481599e6 Clarify performance tradeoffs (#320)
(cherry picked from commit f76583276a2bbd2b7f689ad6ae794e6d86d426dc)
2016-10-23 11:43:49 +02:00
Victor Zverovich
3f1cd52adc Fix a clang warning about an undefined template (#318)
(cherry picked from commit 744c2824c5217c5a92dc48a2ff959d36dc8c760d)
2016-10-23 11:42:09 +02:00