Commit Graph

2331 Commits

Author SHA1 Message Date
Jean-Charles Lefebvre
e1689cb985 Custom FormatSpec (#439) (#444)
* A custom FormatSpec type can be passed as a template argument to the ArgFormatter chain (#439)

* Corrected nested-name-specifier error

* Spec template argument defaulted to FormatSpec

* Forward declaration of FormatSpec

* Style

* Style (part 2)

* Style (part 3)
2016-12-30 11:29:40 -08:00
Eric Fiselier
b9aaa507fc Don't export the -std=c++11 flag from the fmt target 2016-12-29 16:04:16 -08:00
Victor Zverovich
02553d13a0 Use https to fetch dependencies from github 2016-12-29 10:44:02 -08:00
Andrey Glebov
db780cb119 Add std::basic_string allocator support to StringRef, StringBuffer and relatives (#441)
* - added basic_string allocator support to BasicStringRef, BasicCStringRef, BasicWriter::str, StringBuffer and BasicStringWriter

* - removed templated str() and to_string() function
- code style fixes
2016-12-26 08:36:56 -08:00
Victor Zverovich
fac5546321 Fix test compilation for FreeBSD (#433) 2016-12-14 06:28:41 -08:00
Victor Zverovich
796beaaddb Fix collision with global convert function (#425) 2016-11-19 12:05:49 -08:00
Victor Zverovich
def687462c Fix signbit detection (#423) 2016-11-14 20:14:52 -08:00
alabuzhev
25f8ad13dd Correction of 418 (#420) 2016-11-11 18:27:39 +01:00
alabuzhev
1d2049b53e Issue #418 - Minimal supported library subset (#419) 2016-11-10 20:29:12 +01:00
Victor Zverovich
f5b1c16e2c Add version macro FMT_VERSION (#411) 2016-11-07 19:04:44 -08:00
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
Jonathan Müller
8cef95f7c3 Create pull_request_template 2016-11-06 20:22:43 +01:00
Victor Zverovich
922ae4896b Add CONTRIBUTING file 2016-11-06 11:00:58 -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
Victor Zverovich
7ce7def515 argument index -> argument id 2016-11-01 17:00:59 -07:00
Lectem
8f455c10b0 fix newer clang warnings 2016-11-01 07:05:34 -07:00
Jonathan Müller
e599fe7436 Add 3.0.1 Changelog entry 2016-11-01 10:49:34 +01:00
Victor Zverovich
c577f72596 Update README.rst 2016-10-31 18:19:49 -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
4809e2956a Minor documentation changes 2016-10-06 07:38:19 -07:00
Victor Zverovich
61fb85618c Merge pull request #393 from pwm1234/master-pwm
Document use of format_arg for user-defined type
2016-10-06 06:49:34 -07:00
Philip Miller
88c4bc33d2 Document use of format_arg for user-defined type 2016-10-05 15:04:08 -04: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
Victor Zverovich
64a0016680 Merge pull request #385 from jcelerier/master
Add FMT_OVERRIDE macro to allow specifying overriding functions
2016-09-25 07:44:37 -07: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
Victor Zverovich
1fb0586b06 Merge pull request #381 from hghwng/master
Fix compilation on Android.
2016-09-13 08:07:43 -07:00
Hugh Wang
5f26b5da28 Fix compilation on Android. 2016-09-13 10:34:54 +08:00
Victor Zverovich
0d25f6fcbb Move the paper to the docs repo 2016-08-27 08:26:47 -07:00
Victor Zverovich
2ae6bca488 Complete syntax section 2016-08-25 07:23:04 -07:00
Victor Zverovich
04335aeadb Correct syntax 2016-08-25 07:08:36 -07:00
Victor Zverovich
3d5125cd87 Update paper 2016-08-25 06:50:09 -07:00
Victor Zverovich
d775a20fff Update paper 2016-08-24 07:41:07 -07:00
Victor Zverovich
4dc9fd995f Update paper 2016-08-24 06:55:18 -07:00
Victor Zverovich
a79c7b4e8f Fix handling of unsigned char strings (#373) 2016-08-23 08:42:25 -07:00
Victor Zverovich
195d6a5663 Update paper 2016-08-23 08:10:35 -07:00