Commit Graph

487 Commits

Author SHA1 Message Date
Victor Zverovich
100149eb58 Fix compilation on pre C++11. 2012-12-24 11:41:20 -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
231409f69a Update tinyformat. 2012-12-22 15:26:44 -08:00
Victor Zverovich
be6e54de36 Implement left alignment. 2012-12-22 14:05:56 -08:00
Victor Zverovich
c5f4ecb25a . 2012-12-21 22:50:51 -08:00
Victor Zverovich
75343c7e12 Add format to int_generator tests. 2012-12-21 22:50:42 -08:00
Victor Zverovich
717a8a9514 Add performance tests from Karma. 2012-12-21 22:33:44 -08:00
Victor Zverovich
f925daa0fe Disable "secure" warnings. 2012-12-21 16:07:33 -08:00
Victor Zverovich
a52ae287f1 Fix more MSVC warnings. 2012-12-21 15:55:11 -08:00
Victor Zverovich
516137657e Disable MSVC warnings. 2012-12-21 15:43:10 -08:00
Victor Zverovich
2dc1c0bb30 Fix a warning. 2012-12-21 15:31:41 -08:00
Victor Zverovich
c240a129a2 Fix warnings. 2012-12-21 15:02:25 -08:00
Victor Zverovich
90986824a4 Fix tests. 2012-12-21 09:18:09 -08:00
Victor Zverovich
f28ecafe01 Fix the build. 2012-12-21 09:14:18 -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
a145b4c61c Correct module name. 2012-12-19 09:17:32 -08:00
Victor Zverovich
b1da947d75 Preserve original copyright. 2012-12-19 09:17:20 -08:00
Victor Zverovich
45865de9b4 string.rst -> format.rst 2012-12-19 09:06:32 -08:00
Victor Zverovich
bee2b6a5ac Update doc. 2012-12-19 09:05:07 -08:00
Victor Zverovich
77a5ffa9df Remove extra '>' 2012-12-18 15:50:14 -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
2e6d79a523 Update docs. 2012-12-18 09:27:07 -08:00
Victor Zverovich
d7db2657a0 "positional argument" -> argument (in C++ all arguments are positional in a sense, there are no keyword arguments). 2012-12-18 08:46:53 -08:00
Victor Zverovich
382e25ec3e Add doc/ to cmake build. 2012-12-18 08:44:00 -08:00
Victor Zverovich
2a95e670e5 Adapt "Format String Syntax" for the format library. 2012-12-18 08:41:59 -08:00
Victor Zverovich
a658427bbf Temporary disabled String Formatting part. Get rid of "conversion". 2012-12-18 07:15:15 -08:00
Victor Zverovich
c1ca4a4574 Add docs. 2012-12-18 06:49:18 -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
e0f85c4431 Correct an example. 2012-12-16 20:12:50 -08:00
Victor Zverovich
da88577b6e . 2012-12-16 16:48:59 -08:00
Victor Zverovich
1167f1664c Comment on SafeFormat. 2012-12-16 16:48:08 -08:00
Victor Zverovich
86d6fde7f4 Correct README 2012-12-16 16:00:49 -08:00
Victor Zverovich
d3a471c0b7 Add a section on portability. 2012-12-16 15:59:19 -08:00
Victor Zverovich
1dc0cc3b80 Fix a dumb assert on MSVC. 2012-12-16 15:56:44 -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
0c816551ad Get rid of duplicate main. 2012-12-16 15:25:40 -08:00
Victor Zverovich
4226b64c7d Disable message boxes on assertion failures. 2012-12-16 15:20:01 -08:00
Victor Zverovich
d53f209626 Disable "secure" warnings in format.cc too. 2012-12-16 15:06:31 -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