Commit Graph

74 Commits

Author SHA1 Message Date
Victor Zverovich
228fc8758f Syntax highlight one block. Acknowledge str.format. 2012-12-13 08:01:37 -08:00
Victor Zverovich
1aa8f2f5c5 productionlist doesn't work on github, using parsed-literal instead. 2012-12-12 16:09:50 -08:00
Victor Zverovich
7a93a8e8b7 Try productionlist. 2012-12-12 16:05:48 -08:00
Victor Zverovich
6143698aa6 Remove unnecessary quotes. 2012-12-12 15:49:17 -08:00
Victor Zverovich
4dea3200a9 Use parsed literal block for the grammar. Document 0 flag. 2012-12-12 15:41:53 -08:00
Victor Zverovich
363352754c Implement runtime precision. 2012-12-12 15:21:11 -08:00
Victor Zverovich
db306cfb22 Fix long double tests. 2012-12-12 11:32:13 -08:00
Victor Zverovich
414caae4d3 Detect boost. 2012-12-12 11:32:01 -08:00
Victor Zverovich
771746bd7e Set gtest_force_shared_crt, take 2. 2012-12-12 10:37:27 -08:00
Victor Zverovich
a2a8741348 Fix issues with MSVC. 2012-12-12 10:11:40 -08:00
Victor Zverovich
f4f35cd1af Rollback the last change and set gtest_force_shared_crt instead. 2012-12-12 10:11:23 -08:00
Victor Zverovich
25d61171e8 Add format.cc to the test instead of linking with format library to avoid link errors with MSVC. 2012-12-12 10:03:05 -08:00
Victor Zverovich
e8ba960e16 Workaround for missing snprintf in MSVC. 2012-12-12 09:29:50 -08:00
Victor Zverovich
63d1fca94f Include cctype in tests too. 2012-12-12 09:29:32 -08:00
Victor Zverovich
72f896d6b6 Include cctype for isprint. 2012-12-12 09:17:28 -08:00
Victor Zverovich
d6bf6d2708 Workaround a bug in Visual C++. 2012-12-12 09:14:00 -08:00
Victor Zverovich
faccb4c765 Add a license. 2012-12-12 07:44:41 -08:00
Victor Zverovich
33bb6eef5a Enable and fix warnings. 2012-12-11 21:47:05 -08:00
Victor Zverovich
1c8a849229 Fix double action call issue. 2012-12-11 20:49:01 -08:00
Victor Zverovich
59536b154c Add more tests. 2012-12-11 20:48:49 -08:00
Victor Zverovich
a9a4e74fed Improve description. 2012-12-11 16:53:06 -08:00
Victor Zverovich
1c2d00f7d8 Rerun the tests. 2012-12-11 16:37:50 -08:00
Victor Zverovich
cd8fbb0871 Correct a comment. 2012-12-11 16:30:37 -08:00
Victor Zverovich
7c697bfcac Update readme. 2012-12-11 16:30:27 -08:00
Victor Zverovich
e2725eeeb1 ArgFormatter -> Formatter::ArgInserter. Test ArgInserter and ActiveFormatter. 2012-12-11 16:26:04 -08:00
Victor Zverovich
1f6e4e9d7a Fix formatting. 2012-12-11 13:55:31 -08:00
Victor Zverovich
87b5ebfc4a BasicArgFormatter -> ArgFormatter. FullFormat -> ActiveFormatter. Use ActiveFormatter to implement Format and Print. 2012-12-11 13:54:53 -08:00
Victor Zverovich
57dbd2c3fe Rename Buffer to Array and test it. 2012-12-11 12:23:52 -08:00
Victor Zverovich
4db5a66455 Fix a lifetime issue. 2012-12-11 10:27:13 -08:00
Victor Zverovich
b1e4cbb023 Rename ArgFormatter to BasicArgFormatter and ArgFormatterWithCallback to ArgFormatter. 2012-12-11 08:41:06 -08:00
Victor Zverovich
0996e98727 Add comments. 2012-12-10 20:37:35 -08:00
Victor Zverovich
14e0f87d50 Remove back() and Take(); add GrowBuffer(). 2012-12-10 18:08:04 -08:00
Victor Zverovich
198ebe9cf6 Add a Buffer that stores initial data on stack. 2012-12-10 17:16:08 -08:00
Victor Zverovich
31a507034e Implement an escape mechanism. 2012-12-10 15:04:55 -08:00
Victor Zverovich
6caa750a00 Add "p" to supported types. 2012-12-10 13:30:25 -08:00
Victor Zverovich
d599e3b262 Test pointer, c string and character formatting. 2012-12-10 13:30:06 -08:00
Victor Zverovich
d73306bdce Test double formatting. 2012-12-10 12:16:02 -08:00
Victor Zverovich
27b8ba06e8 Test octal formatting. 2012-12-10 11:51:45 -08:00
Victor Zverovich
b98b2e9842 Implement formatting of integers. 2012-12-10 11:08:16 -08:00
Victor Zverovich
c5dce1caf9 Describe format string syntax. 2012-12-10 11:06:55 -08:00
Victor Zverovich
4d28757d45 Correction. 2012-12-09 19:25:53 -08:00
Victor Zverovich
a93886f1b0 Correction. 2012-12-09 19:24:39 -08:00
Victor Zverovich
dfabf0e77a Correction. 2012-12-09 19:22:38 -08:00
Victor Zverovich
8e23730f86 Add another example. 2012-12-09 19:19:47 -08:00
Victor Zverovich
bbd13a492b Test precision. 2012-12-09 14:13:23 -08:00
Victor Zverovich
095b43a8f0 Test and correct handling of the width specifier. 2012-12-09 11:32:39 -08:00
Victor Zverovich
8b60a804ba Fix an example. 2012-12-09 10:26:12 -08:00
Victor Zverovich
d3998a2a1f Add another example. 2012-12-09 10:25:38 -08:00
Victor Zverovich
cb458293a3 Mention a POSIX extension of printf. 2012-12-09 10:09:15 -08:00
Victor Zverovich
280ea8b5c5 Add support for user-defined types. 2012-12-09 09:03:47 -08:00