Commit Graph

53 Commits

Author SHA1 Message Date
Victor Zverovich
1b9c22c161 Implement right alignment. 2012-12-22 17:53:13 -08:00
Victor Zverovich
be6e54de36 Implement left alignment. 2012-12-22 14:05:56 -08:00
Victor Zverovich
a52ae287f1 Fix more MSVC warnings. 2012-12-21 15:55:11 -08:00
Victor Zverovich
c240a129a2 Fix warnings. 2012-12-21 15:02:25 -08:00
Victor Zverovich
64236894ce Parse alignment. 2012-12-21 09:12:04 -08:00
Victor Zverovich
a0d685c710 Implement fill. 2012-12-20 20:10:55 -08:00
Victor Zverovich
30ab349173 Refactor StringRef. 2012-12-19 10:47:00 -08:00
Victor Zverovich
2baf6d3030 Implement StringRef. 2012-12-18 15:39:42 -08:00
Victor Zverovich
2ba1573ac3 Introduce str and c_str into the format namespace. 2012-12-18 14:38:03 -08:00
Victor Zverovich
3d9b0f0757 Add ArgInserter::str(). 2012-12-17 21:13:54 -08:00
Victor Zverovich
1b3c197bff Check for null string pointer. 2012-12-17 16:39:49 -08:00
Victor Zverovich
f8c9106d67 Prevent potential warnings about macro redefinitions. 2012-12-17 15:41:00 -08:00
Victor Zverovich
ade5381f9a Preliminary support for custom formatting. 2012-12-17 14:56:44 -08:00
Victor Zverovich
059934fd10 Rename Active Formatter to TempFormatter. 2012-12-16 20:57:35 -08:00
Victor Zverovich
7e911c1e75 Fix a dumb assert on MSVC. 2012-12-16 15:50:43 -08:00
Victor Zverovich
bd274a3b7a Fix test. 2012-12-16 15:46:06 -08:00
Victor Zverovich
4226b64c7d Disable message boxes on assertion failures. 2012-12-16 15:20:01 -08:00
Victor Zverovich
eb7cc675a6 Disable "secure" warnings, take 2. 2012-12-16 14:39:54 -08:00
Victor Zverovich
5b2a8842a4 Test commit. 2012-12-16 14:30:56 -08:00
Victor Zverovich
0086920148 Test commit. 2012-12-16 14:21:30 -08:00
Victor Zverovich
89d5e0c97f Test commit. 2012-12-16 13:40:59 -08:00
Victor Zverovich
b33bdb21a4 Disable "secure" warnings. 2012-12-16 12:48:13 -08:00
Victor Zverovich
d8f1ee175c Make test compile on older compilers. 2012-12-16 10:38:09 -08:00
Victor Zverovich
93a970945e Improve API and make it work on older GCC. 2012-12-16 10:03:19 -08:00
Victor Zverovich
fcf476bb02 Fix MSVC build. 2012-12-16 09:42:00 -08:00
Victor Zverovich
cbaddefddd Forbid copying of ActiveFormat other that from a temporary object. 2012-12-15 20:17:03 -08:00
Victor Zverovich
6e1d142a56 Make tests more portable. 2012-12-13 15:10:02 -08:00
Victor Zverovich
d29f31851e Add a test from example. 2012-12-13 08:01:47 -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
a2a8741348 Fix issues with MSVC. 2012-12-12 10:11:40 -08:00
Victor Zverovich
63d1fca94f Include cctype in tests too. 2012-12-12 09:29:32 -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
59536b154c Add more tests. 2012-12-11 20:48:49 -08:00
Victor Zverovich
cd8fbb0871 Correct a comment. 2012-12-11 16:30:37 -08:00
Victor Zverovich
e2725eeeb1 ArgFormatter -> Formatter::ArgInserter. Test ArgInserter and ActiveFormatter. 2012-12-11 16:26:04 -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
0996e98727 Add comments. 2012-12-10 20:37:35 -08:00
Victor Zverovich
31a507034e Implement an escape mechanism. 2012-12-10 15:04:55 -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
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
280ea8b5c5 Add support for user-defined types. 2012-12-09 09:03:47 -08:00
Victor Zverovich
8b1c7098ec More tests. 2012-12-08 18:45:35 -08:00