Victor Zverovich
cfd00af37a
Fix warnings on C++98
2016-11-06 12:58:49 -08:00
Victor Zverovich
6274401919
Fix warnings
2016-11-06 12:37:31 -08:00
Victor Zverovich
2fa4655af6
Fix warning in FMT_STATIC_ASSERT on older GCC ( #414 )
2016-11-06 11:48:01 -08:00
Chen Hayat
05ba3e7888
Fix Klockwork compilation warning
2016-11-06 10:01:55 -08:00
Victor Zverovich
1daddec151
FMT_NULLPTR -> FMT_NULL and improve formatting
2016-11-06 09:05:58 -08:00
Jonathan Müller
d8867a2b07
Fix missing '>'
2016-11-05 21:09:31 +01:00
Jonathan Müller
6c0125785b
Add extern templates for format_float
...
Fixes #413 .
2016-11-05 21:03:40 +01:00
alabuzhev
49ccb2e449
Using FMT_NULLPTR instead of literal 0
2016-11-03 06:39:40 -07:00
Lectem
8f455c10b0
fix newer clang warnings
2016-11-01 07:05:34 -07:00
Jan Hellwig
15d0f32773
Fix Windows compilation with -fno-exceptions ( #405 )
2016-10-31 21:55:52 +01:00
Jan Hellwig
8c63ea432c
Fix Linux compilation with -fno-exceptions ( #402 )
2016-10-29 16:16:40 -07:00
Victor Zverovich
abbefd7166
CHAR_WIDTH -> CHAR_SIZE to avoid collision with ISO/IEC TS 18661-1:2014 macro
2016-10-19 06:52:55 -07:00
Victor Zverovich
ed874df293
Merge branch 'master' of github.com:fmtlib/fmt
2016-10-17 07:00:58 -07:00
codicodi
1e018e65cb
Thread-safe time formatting
...
This adds thread-safe (at least on platforms that provide necessary extensions) replacement functions for std::localtime and std::gmtime. Alternatively they could be placed in a new source file time.cc, but time.h seems so empty right now...
2016-10-17 07:00:04 -07:00
chronoxor
1500f00525
Remove unnecessary "fmt/" prefix which should be maintained with additional include_directories() in each project. ( #397 )
2016-10-11 06:45:04 -07:00
Victor Zverovich
cee50b7572
Fix compilation on Cygwin ( #388 )
2016-10-01 21:32:16 -07:00
Victor Zverovich
f66d37fb1c
Merge pull request #390 from chronoxor/master
...
Introduced NamedArgWithType<Char, T> : NamedArg<Char>
2016-09-29 08:11:46 -07:00
Ivan Shynkarenka
1546b9e336
Introduced NamedArgWithType<Char, T> : NamedArg<Char>
2016-09-28 00:18:09 +03:00
Victor Zverovich
17c17d1585
Merge pull request #389 from chronoxor/master
...
Extend ArgLists to support serialization/deserialization in third-party components
2016-09-27 08:11:36 -07:00
Ivan Shynkarenka
d09dd1a81a
Extend ArgLists to support serialization/deserialization in third-party components
2016-09-27 17:40:05 +03:00
Jean-Michaël Celerier
9ec3bea2d6
Add FMT_OVERRIDE macro to allow specifying overriding functions in c++11 compilers
2016-09-24 21:10:11 +02:00
Hugh Wang
5f26b5da28
Fix compilation on Android.
2016-09-13 10:34:54 +08:00
Victor Zverovich
a79c7b4e8f
Fix handling of unsigned char strings ( #373 )
2016-08-23 08:42:25 -07:00
Victor Zverovich
f19d8f9655
Improve error reporting ( #357 )
2016-08-16 07:08:53 -07:00
Victor Zverovich
a5d0adf395
Use a heuristic to detect empty strftime result ( #367 )
2016-08-05 07:27:56 -07:00
Victor Zverovich
1a23f9c274
Correct buffer growth when formatting time ( #367 )
2016-08-04 08:47:59 -07:00
Victor Zverovich
9dbb60c4c8
Move fmt::fprintf to printf.h
2016-08-03 08:52:05 -07:00
Victor Zverovich
6ee9f2ed09
Make printf argument formatters public ( #335 , #360 )
2016-07-21 06:59:28 -07:00
Victor Zverovich
631ffef438
Merge pull request #361 from nmoehrle/fix-unreachable-code
...
Remove unreachable code below FMT_THROW
2016-07-21 06:35:38 -07:00
Victor Zverovich
355861f1ff
Document PrintfFormatter::format
2016-07-20 08:26:14 -07:00
Victor Zverovich
ab054532ce
Move writer to PrintfFormatter object for consistency with BasicFormatter
2016-07-20 08:21:13 -07:00
Victor Zverovich
d4ddaaf2b1
Make PrintfFormatter public ( #335 , #360 )
2016-07-20 08:09:14 -07:00
Nils Moehrle
c8c9973669
Remove unreachable code below FMT_THROW
2016-07-19 20:33:55 +02:00
Victor Zverovich
65cd664195
Fix handling of wide strings in StringWriter
2016-07-18 08:47:11 -07:00
Victor Zverovich
d4885cea62
Document BasicStringWriter
2016-07-16 08:00:53 -07:00
Victor Zverovich
903357c853
Break a long line
2016-07-16 08:00:53 -07:00
Tilman Keskinöz
d7c4e1cb1f
Fix compile on freebsd
2016-07-15 14:28:18 +02:00
Victor Zverovich
0d5ef5c2a6
Fix inclusion of printf.h in the header-only config ( #354 )
2016-07-12 06:59:35 -07:00
Victor Zverovich
8631694021
check -> const_check to avoid a conflict with AssertMacros.h ( #350 )
2016-07-12 06:40:23 -07:00
Victor Zverovich
4133e501f3
Merge branch 'locale'
2016-07-11 06:48:38 -07:00
Victor Zverovich
0e6df7e511
Fix handling of thousands separator ( #353 )
2016-07-11 06:31:23 -07:00
Sean LK
75f862bf57
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.
2016-06-25 05:22:07 +00:00
Victor Zverovich
5c876088d3
Reduce noise
2016-06-22 06:33:56 -07:00
Victor Zverovich
e9a0d3141b
Merge branch 'locale'
2016-06-15 15:04:24 -07:00
Victor Zverovich
e0d6f630f8
Fix MSVC warnings
2016-06-15 06:29:47 -07:00
Victor Zverovich
a201c61977
Suppress -Wpadded warnings
2016-06-14 22:17:34 -07:00
Victor Zverovich
c9bb5468b6
Fix clang warning
2016-06-14 15:42:32 -07:00
Victor Zverovich
b26e76efe9
Fix a -Wweak-vtables warning in clang
2016-06-14 08:54:08 -07:00
Victor Zverovich
c7739536e8
Don't use strtod_l on Android ( #345 )
2016-06-14 06:57:12 -07:00
Victor Zverovich
18e3f16576
Suppress clang's documentation warnings
2016-06-12 09:09:36 -07:00