Commit Graph

2192 Commits

Author SHA1 Message Date
Victor Zverovich
ba0c3b957f Fix warnings on C++98
(cherry picked from commit cfd00af37a)
2017-06-08 11:27:11 +02:00
Victor Zverovich
4a24a38861 Fix warnings
(cherry picked from commit 6274401919)

# Conflicts:
#	fmt/printf.h
#	test/string-test.cc
2017-06-08 11:26:18 +02:00
Jonathan Müller
5c69ecdd5e Create pull_request_template
(cherry picked from commit 8cef95f7c3)
2017-06-08 11:23:13 +02:00
Victor Zverovich
29732d44bb Add CONTRIBUTING file
(cherry picked from commit 922ae4896b)
2017-06-08 11:23:09 +02:00
Chen Hayat
abee8f95ec Fix Klockwork compilation warning
(cherry picked from commit 05ba3e7888)
2017-06-08 11:23:04 +02:00
Victor Zverovich
48ba0f2aa2 FMT_NULLPTR -> FMT_NULL and improve formatting
(cherry picked from commit 1daddec151)

# Conflicts:
#	fmt/printf.h
#	fmt/string.h
#	fmt/time.h
2017-06-08 11:22:50 +02:00
Jonathan Müller
d3a9d03138 Fix missing '>'
(cherry picked from commit d8867a2b07)
2017-06-08 11:21:55 +02:00
Jonathan Müller
7aaa693fb3 Add extern templates for format_float
Fixes #413.

(cherry picked from commit 6c0125785b)
2017-06-08 11:21:49 +02:00
alabuzhev
267bed868f Using FMT_NULLPTR instead of literal 0
(cherry picked from commit 49ccb2e449)
2017-06-08 11:21:41 +02:00
Victor Zverovich
f0a7da0219 argument index -> argument id
(cherry picked from commit 7ce7def515)
2017-06-08 11:18:34 +02:00
Lectem
5a5c3a3c25 fix newer clang warnings
(cherry picked from commit 8f455c10b0)
2017-06-08 11:17:45 +02:00
Jonathan Müller
7fa8f8fa48 Update version 2016-11-01 09:24:49 +01:00
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 15d0f32773)
2016-10-31 22:02:42 +01:00
Jan Hellwig
2baf2a5e2c Fix Linux compilation with -fno-exceptions (#402)
(cherry picked from commit 8c63ea432c)
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 abbefd7166)
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 1500f00525)
2016-10-23 12:17:31 +02:00
Victor Zverovich
1c9a674d24 Fix compilation on Cygwin (#388)
(cherry picked from commit cee50b7572)
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 9ec3bea2d6)
2016-10-23 12:17:30 +02:00
Hugh Wang
f8289ba1da Fix compilation on Android.
(cherry picked from commit 5f26b5da28)
2016-10-23 12:17:30 +02:00
Victor Zverovich
79100a21bc Correct syntax
(cherry picked from commit 04335aeadb)
2016-10-23 12:17:30 +02:00
Victor Zverovich
f4a417f8fb Fix handling of unsigned char strings (#373)
(cherry picked from commit a79c7b4e8f)
2016-10-23 12:17:30 +02:00
Victor Zverovich
5047091ad8 Add 'a' and 'A' format specifiers
(cherry picked from commit 53f9e7f65c)
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 2bf59a97c6)
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 12a6027b40)
2016-10-23 12:01:42 +02:00
Victor Zverovich
f0a0674040 Use a heuristic to detect empty strftime result (#367)
(cherry picked from commit a5d0adf395)
2016-10-23 12:01:33 +02:00
Victor Zverovich
c79174e1c0 Correct buffer growth when formatting time (#367)
(cherry picked from commit 1a23f9c274)
2016-10-23 12:01:17 +02:00
Victor Zverovich
f116a28134 Add "n" to integer formatting types
(cherry picked from commit ed30108918)
2016-10-23 11:59:32 +02:00
Taro Matsuzawa aka. btm
6d91a801a4 Update usage.rst: change Homebrew package name
(cherry picked from commit 1dbc6bd1fc)
2016-10-23 11:59:05 +02:00
Nils Moehrle
e3de93298b Remove unreachable code below FMT_THROW
(cherry picked from commit c8c9973669)
2016-10-23 11:58:44 +02:00
Victor Zverovich
6f27f98103 Update readme
(cherry picked from commit c110c6eca7)
2016-10-23 11:55:51 +02:00
Victor Zverovich
b8540e613e Workaround broken MinGW installation on AppVeyor (#355)
(cherry picked from commit 1acfd07f1e)
2016-10-23 11:54:55 +02:00
Victor Zverovich
a20c81a061 Break a long line
(cherry picked from commit 903357c853)
2016-10-23 11:53:12 +02:00
Tilman Keskinöz
5d306cf11c Fix compile on freebsd
(cherry picked from commit d7c4e1cb1f)
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 8631694021)
2016-10-23 11:52:49 +02:00
Victor Zverovich
27f604a153 Fix handling of thousands separator (#353)
(cherry picked from commit 0e6df7e511)
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 75f862bf57)
2016-10-23 11:52:28 +02:00
Victor Zverovich
b838eb0c2e Reduce noise
(cherry picked from commit 5c876088d3)
2016-10-23 11:52:07 +02:00
Victor Zverovich
59f9936009 Fix a link (#347)
(cherry picked from commit 2e69e454d0)
2016-10-23 11:51:40 +02:00
Victor Zverovich
b26e239c05 Fix MSVC warnings
(cherry picked from commit e0d6f630f8)
2016-10-23 11:51:09 +02:00
Victor Zverovich
300d4f3c89 Suppress -Wpadded warnings
(cherry picked from commit a201c61977)
2016-10-23 11:50:15 +02:00
Victor Zverovich
8cfff4da4c Fix -Wpessimizing-move
(cherry picked from commit 4569b4dbd6)
2016-10-23 11:50:02 +02:00
Victor Zverovich
92d3f31df5 Fix clang warning
(cherry picked from commit c9bb5468b6)
2016-10-23 11:49:54 +02:00
Victor Zverovich
df05947b8a Fix a -Wweak-vtables warning in clang
(cherry picked from commit b26e76efe9)
2016-10-23 11:49:44 +02:00
Victor Zverovich
679fed9187 Don't use strtod_l on Android (#345)
(cherry picked from commit c7739536e8)
2016-10-23 11:49:31 +02:00
Victor Zverovich
14b4a2b073 Suppress clang's documentation warnings
(cherry picked from commit 18e3f16576)
2016-10-23 11:49:19 +02:00
Victor Zverovich
8bb431fef3 Break long lines
(cherry picked from commit 231c16df25)
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 e68836c123)
2016-10-23 11:47:45 +02:00
Victor Zverovich
713a061bc5 Make documentation installation optional (#333)
(cherry picked from commit dc1e36fa0e)
2016-10-23 11:47:36 +02:00