Commit Graph

2838 Commits

Author SHA1 Message Date
Victor Zverovich
edf98792a5 Pass writer to format_value 2016-10-25 05:55:40 -07:00
Victor Zverovich
64ca334a2d CharType -> Char 2016-10-22 09:15:28 -07:00
Victor Zverovich
be613204ab Char -> char_type 2016-10-22 08:19:19 -07:00
Victor Zverovich
f85d5f4dac BasicFormatter -> basic_formatter 2016-10-22 08:04:20 -07:00
Victor Zverovich
18dfa257d0 Pass correct formatters to make_format_args 2016-10-21 06:46:21 -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
dafbec7553 Fix type safety when using custom formatters (#394) 2016-10-07 08:37:06 -07:00
Victor Zverovich
506435bf71 Fix formatting 2016-10-07 03:41:23 -07:00
Victor Zverovich
f287994084 Fix formatting 2016-10-07 03:22:14 -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
48fe97835b Add format_arg::operator bool 2016-10-02 09:36:40 -07:00
Victor Zverovich
119a63ab72 internal::Arg -> format_arg 2016-10-02 09:29:11 -07:00
Victor Zverovich
65a8c2c343 format_arg -> format_value 2016-10-02 08:49:10 -07:00
Victor Zverovich
13b04044e5 Add format_args::size_type 2016-10-02 08:26:32 -07:00
Victor Zverovich
cee50b7572 Fix compilation on Cygwin (#388) 2016-10-01 21:32:16 -07:00
Victor Zverovich
8a77e7927e Enable C++11 in tests. 2016-10-01 07:18:55 -07:00
Victor Zverovich
1e8553d679 Enable C++11 in tests. 2016-10-01 07:02:58 -07:00
Victor Zverovich
06bab3edb0 Workaround mingw bug https://sourceforge.net/p/mingw/bugs/1531/ 2016-09-30 07:20:57 -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
Victor Zverovich
6fd6ecc10d Enable C++11 for no-windows-h-test 2016-09-28 07:45:28 -07:00
Victor Zverovich
c4212f9ec2 format -> vformat 2016-09-28 07:09:26 -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
21c6700b83 Don't build std branch with -std=c++0=98 2016-09-26 07:35:27 -07: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
209a1d58bf Get rid of macros 2016-08-27 09:06:21 -07:00
Victor Zverovich
9a07973261 Test types 2016-08-27 08:55:01 -07:00
Victor Zverovich
0d25f6fcbb Move the paper to the docs repo 2016-08-27 08:26:47 -07:00
Victor Zverovich
ea28a63706 Get rid of FMT_VARIADIC_CTOR 2016-08-27 08:23:44 -07:00
Victor Zverovich
0d8aca8de3 Get rid of FMT_VARIADIC_VOID 2016-08-27 08:16:49 -07:00
Victor Zverovich
4ece95a754 Make make_format_args public 2016-08-27 07:57:48 -07:00
Victor Zverovich
0028ce57b6 Get rid of FMT_VARIADIC 2016-08-26 17:23:13 -07:00
Victor Zverovich
ece7ae5f49 Make format_arg_store convertible to format_args 2016-08-26 15:09:40 -07:00
Victor Zverovich
621447fece Make initialization C++11-compatible 2016-08-26 14:41:18 -07:00
Victor Zverovich
a0190e4bbd Add a missing include 2016-08-26 10:26:33 -07:00
Victor Zverovich
b903f5c123 format -> vformat 2016-08-26 09:10:23 -07:00
Victor Zverovich
43c0095aa3 Refactor type mapping 2016-08-26 08:50:09 -07:00
Victor Zverovich
4873685c7e ArgArray -> format_arg_store 2016-08-26 06:44:41 -07:00
Victor Zverovich
fc73e10620 ArgList -> format_args 2016-08-25 08:50:07 -07:00
Victor Zverovich
92605eb4f7 Remove FMT_USE_VARIADIC_TEMPLATES 2016-08-25 08:44:53 -07:00
Victor Zverovich
9bb213e920 FormatError -> format_error 2016-08-25 08:38:07 -07:00