Commit Graph
68 Commits
Author SHA1 Message Date
Victor Zverovich aba9e15021 Add support for types other than int in oct, hex, hexu & pad. Document the API. 2013-01-13 07:14:54 -08:00
Victor Zverovich 4f96062c5a Add tests. 2013-01-12 10:08:51 -08:00
Victor Zverovich 877abaf301 Parameterize integer formatting method on format spec type. Add Sprint/iomanip style formatting methods (oct, hex, hexu, pad). 2013-01-08 09:56:05 -08:00
Victor Zverovich de17baae2d Move formatting methods to BasicFormat. 2013-01-04 09:14:34 -08:00
Victor Zverovich 00830b99b3 Document the API using breathe. 2013-01-03 08:57:34 -08:00
Victor Zverovich 4762a8afd0 Format infinity. 2012-12-29 06:44:14 -08:00
Victor Zverovich ce60483833 Format NaN. 2012-12-28 08:27:54 -08:00
Victor Zverovich 5d4ef3387f Test examples. 2012-12-28 07:18:30 -08:00
Victor Zverovich 8412ad6aeb Implement automatic argument indexing. 2012-12-27 06:56:55 -08:00
Victor Zverovich 73f13eeb5b Implement '#' flag. 2012-12-25 18:19:51 -08:00
Victor Zverovich 17ca809135 Implement space sign. 2012-12-25 13:45:12 -08:00
Victor Zverovich 0a138ad865 Implement minus flag. 2012-12-25 13:25:14 -08:00
Victor Zverovich 84310c3a84 Implement center alignment. 2012-12-24 19:37:50 -08:00
Victor Zverovich 05a4b4fda9 Test formatting of the largest pointer 2012-12-24 12:28:54 -08:00
Victor Zverovich ccbe94189c Implement numeric alignment. Make integer formatting faster. 2012-12-24 08:34:44 -08:00
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