Commit Graph

733 Commits

Author SHA1 Message Date
Victor Zverovich
ca31c2b322 Fix handling of octal prefix. 2014-06-20 08:04:44 -07:00
Victor Zverovich
512ab9336b PrepareFilledBuffer -> PrepareBufferForInt 2014-06-20 08:01:58 -07:00
Victor Zverovich
c556926597 Implement precision + fill. 2014-06-20 07:59:23 -07:00
Victor Zverovich
879838a539 Implement integer precision. 2014-06-20 07:34:02 -07:00
Victor Zverovich
cb743c0249 Parse printf format specs. 2014-06-19 07:40:35 -07:00
Victor Zverovich
7d5da66db9 Clean 2014-06-17 06:54:08 -07:00
Victor Zverovich
1275923a68 Implement dynamic width in printf. 2014-06-17 06:53:48 -07:00
Victor Zverovich
8666ea82f7 Merge branch 'master' of github.com:cppformat/cppformat 2014-06-16 07:49:37 -07:00
Victor Zverovich
1f19b986a0 Implement printf specifications. 2014-06-16 07:49:30 -07:00
Victor Zverovich
da9457da61 Add a test case for https://github.com/cppformat/cppformat/pull/47 2014-06-16 07:48:57 -07:00
vitaut
7d8f3c261a Merge pull request #47 from Jopie64/master
Fix grow size during Array<>::append
2014-06-16 07:48:05 -07:00
Johan 't Hart
f4d47d7140 Fix grow size during Array<>::append
When the resulting array must grow during append, one must make sure
that the new elements _plus_ the current elements fit the new array
size.
2014-06-16 11:44:24 +02:00
Victor Zverovich
1aeac1b25a Unindent 2014-06-11 05:52:02 -07:00
vitaut
dc440dd19d Merge pull request #46 from amorozov/bug/45
GCC may have support for __has_feature but doesn't support __has_builtin
2014-06-11 05:49:26 -07:00
Alexey Morozov
08d4e5040f GCC may have support for __has_feature but doesn't support __has_builtin
So perform these checks separately
2014-06-11 15:47:46 +07:00
vitaut
f0bcc0b1c0 Merge pull request #44 from procedural/master
Changes for MinGW compiler
2014-06-10 16:13:34 -07:00
Constantine Tarasenkov
6aace693db Changes for MinGW compiler 2014-06-11 02:38:57 +04:00
Victor Zverovich
e2cbee77b8 Fix coding style issues. 2014-06-10 09:17:24 -07:00
Victor Zverovich
11f76fea94 Fix test, take 2. 2014-06-10 08:57:28 -07:00
Victor Zverovich
e1d4690566 Fix test. 2014-06-10 08:15:38 -07:00
Victor Zverovich
07095e85b2 Fix formatting and comment why fcntl.h is included. 2014-06-10 07:36:50 -07:00
Victor Zverovich
a2828412b6 Fix tests. 2014-06-10 07:36:23 -07:00
Victor Zverovich
03776dd988 Add support for hexadecimal floating point format specifiers a and A. 2014-06-10 07:03:49 -07:00
Victor Zverovich
546b62e74f More tests. 2014-06-10 06:21:41 -07:00
Victor Zverovich
ed19147441 Fix build, take 2. 2014-06-09 10:16:13 -07:00
Victor Zverovich
e7b6896c43 Fix tests. 2014-06-09 09:57:34 -07:00
Victor Zverovich
5222f59cc0 Fix build. 2014-06-09 09:35:12 -07:00
Victor Zverovich
eaa89e23d7 Put File, BufferedFile & ErrorCode in the fmt namespace. 2014-06-09 09:07:27 -07:00
Victor Zverovich
b692ab58b2 Move POSIX wrappers to separate files. 2014-06-09 08:33:48 -07:00
Victor Zverovich
b4dc0301f6 Disable test. 2014-06-09 08:17:14 -07:00
Victor Zverovich
f51fc08670 More tests. 2014-06-09 07:40:51 -07:00
Victor Zverovich
1b80148420 Implement '#' flag. 2014-06-07 08:57:55 -07:00
Victor Zverovich
bf790d2819 Ignore '0' flag for non-numeric types as printf does. 2014-06-07 07:31:25 -07:00
Victor Zverovich
80c99760fb Fix warnings. 2014-06-07 07:11:34 -07:00
Victor Zverovich
1ed23b9127 Warng about compilers mishandling negative NaN. 2014-06-06 18:54:45 -07:00
Victor Zverovich
acf94abffd Fix build. 2014-06-06 11:14:53 -07:00
Victor Zverovich
5b054ae7b8 Test signbit. 2014-06-06 11:04:27 -07:00
Victor Zverovich
34b5030239 Display test log on failure. 2014-06-06 09:18:57 -07:00
Victor Zverovich
39f812f040 Install CMake on OS X. 2014-06-06 09:07:08 -07:00
Victor Zverovich
533c8214d4 Avoid unnecessary check. 2014-06-06 08:54:37 -07:00
Victor Zverovich
8ed2243a3c Workaround windows brain damage. 2014-06-06 08:18:53 -07:00
Victor Zverovich
9a33891e97 Add missing include. 2014-06-06 08:07:05 -07:00
Victor Zverovich
ed8ff58019 Enable osx in travis-ci config. 2014-06-06 08:05:13 -07:00
Victor Zverovich
438eba1402 Fix parsing of flags. 2014-06-06 08:01:48 -07:00
Victor Zverovich
f16aff8033 Simplify tests. 2014-06-06 08:01:25 -07:00
Victor Zverovich
b88d261282 Fix an issue with allocation of a zero-size array. 2014-06-06 08:01:10 -07:00
Victor Zverovich
d9f5089a18 Remove unnecessary qualification. 2014-06-06 08:00:20 -07:00
Victor Zverovich
18316cb25f Fix windows build. 2014-06-06 07:29:57 -07:00
Victor Zverovich
9aba05b76a Parse '0' flag. 2014-06-06 07:07:57 -07:00
Victor Zverovich
bf8b29fbe7 Add initial support for printf format specifications. 2014-06-06 06:38:37 -07:00