Commit Graph

  • 05a4b4fda9 Test formatting of the largest pointer Victor Zverovich 2012-12-24 12:28:54 -08:00
  • 995d01a6fa Fix a warning. Victor Zverovich 2012-12-24 12:14:26 -08:00
  • 26d2ae6281 Fix compilation on pre C++11. Victor Zverovich 2012-12-24 11:58:49 -08:00
  • 100149eb58 Fix compilation on pre C++11. Victor Zverovich 2012-12-24 11:41:20 -08:00
  • ccbe94189c Implement numeric alignment. Make integer formatting faster. Victor Zverovich 2012-12-24 08:34:44 -08:00
  • 1b9c22c161 Implement right alignment. Victor Zverovich 2012-12-22 17:53:13 -08:00
  • 231409f69a Update tinyformat. Victor Zverovich 2012-12-22 15:26:44 -08:00
  • be6e54de36 Implement left alignment. Victor Zverovich 2012-12-22 14:05:56 -08:00
  • c5f4ecb25a . Victor Zverovich 2012-12-21 22:50:51 -08:00
  • 75343c7e12 Add format to int_generator tests. Victor Zverovich 2012-12-21 22:50:42 -08:00
  • 717a8a9514 Add performance tests from Karma. Victor Zverovich 2012-12-21 22:33:44 -08:00
  • f925daa0fe Disable "secure" warnings. Victor Zverovich 2012-12-21 16:07:33 -08:00
  • a52ae287f1 Fix more MSVC warnings. Victor Zverovich 2012-12-21 15:55:11 -08:00
  • 516137657e Disable MSVC warnings. Victor Zverovich 2012-12-21 15:43:10 -08:00
  • 2dc1c0bb30 Fix a warning. Victor Zverovich 2012-12-21 15:31:41 -08:00
  • c240a129a2 Fix warnings. Victor Zverovich 2012-12-21 15:02:25 -08:00
  • 90986824a4 Fix tests. Victor Zverovich 2012-12-21 09:18:09 -08:00
  • f28ecafe01 Fix the build. Victor Zverovich 2012-12-21 09:14:18 -08:00
  • 64236894ce Parse alignment. Victor Zverovich 2012-12-21 09:12:04 -08:00
  • a0d685c710 Implement fill. Victor Zverovich 2012-12-20 20:10:55 -08:00
  • 30ab349173 Refactor StringRef. Victor Zverovich 2012-12-19 10:47:00 -08:00
  • a145b4c61c Correct module name. Victor Zverovich 2012-12-19 09:17:32 -08:00
  • b1da947d75 Preserve original copyright. Victor Zverovich 2012-12-19 09:17:20 -08:00
  • 45865de9b4 string.rst -> format.rst Victor Zverovich 2012-12-19 09:06:32 -08:00
  • bee2b6a5ac Update doc. Victor Zverovich 2012-12-19 09:05:07 -08:00
  • 77a5ffa9df Remove extra '>' Victor Zverovich 2012-12-18 15:50:14 -08:00
  • 2baf6d3030 Implement StringRef. Victor Zverovich 2012-12-18 15:39:42 -08:00
  • 2ba1573ac3 Introduce str and c_str into the format namespace. Victor Zverovich 2012-12-18 14:38:03 -08:00
  • 2e6d79a523 Update docs. Victor Zverovich 2012-12-18 09:27:07 -08:00
  • d7db2657a0 "positional argument" -> argument (in C++ all arguments are positional in a sense, there are no keyword arguments). Victor Zverovich 2012-12-18 08:46:53 -08:00
  • 382e25ec3e Add doc/ to cmake build. Victor Zverovich 2012-12-18 08:44:00 -08:00
  • 2a95e670e5 Adapt "Format String Syntax" for the format library. Victor Zverovich 2012-12-18 08:41:59 -08:00
  • a658427bbf Temporary disabled String Formatting part. Get rid of "conversion". Victor Zverovich 2012-12-18 07:15:15 -08:00
  • c1ca4a4574 Add docs. Victor Zverovich 2012-12-18 06:49:18 -08:00
  • 3d9b0f0757 Add ArgInserter::str(). Victor Zverovich 2012-12-17 21:13:54 -08:00
  • 1b3c197bff Check for null string pointer. Victor Zverovich 2012-12-17 16:39:49 -08:00
  • f8c9106d67 Prevent potential warnings about macro redefinitions. Victor Zverovich 2012-12-17 15:41:00 -08:00
  • ade5381f9a Preliminary support for custom formatting. Victor Zverovich 2012-12-17 14:56:44 -08:00
  • 059934fd10 Rename Active Formatter to TempFormatter. Victor Zverovich 2012-12-16 20:57:35 -08:00
  • e0f85c4431 Correct an example. Victor Zverovich 2012-12-16 20:12:50 -08:00
  • da88577b6e . Victor Zverovich 2012-12-16 16:48:59 -08:00
  • 1167f1664c Comment on SafeFormat. Victor Zverovich 2012-12-16 16:48:08 -08:00
  • 86d6fde7f4 Correct README Victor Zverovich 2012-12-16 16:00:49 -08:00
  • d3a471c0b7 Add a section on portability. Victor Zverovich 2012-12-16 15:59:19 -08:00
  • 1dc0cc3b80 Fix a dumb assert on MSVC. Victor Zverovich 2012-12-16 15:56:44 -08:00
  • 7e911c1e75 Fix a dumb assert on MSVC. Victor Zverovich 2012-12-16 15:50:43 -08:00
  • bd274a3b7a Fix test. Victor Zverovich 2012-12-16 15:46:06 -08:00
  • 0c816551ad Get rid of duplicate main. Victor Zverovich 2012-12-16 15:25:40 -08:00
  • 4226b64c7d Disable message boxes on assertion failures. Victor Zverovich 2012-12-16 15:20:01 -08:00
  • d53f209626 Disable "secure" warnings in format.cc too. Victor Zverovich 2012-12-16 15:06:31 -08:00
  • eb7cc675a6 Disable "secure" warnings, take 2. Victor Zverovich 2012-12-16 14:39:54 -08:00
  • 5b2a8842a4 Test commit. Victor Zverovich 2012-12-16 14:30:56 -08:00
  • 0086920148 Test commit. Victor Zverovich 2012-12-16 14:21:30 -08:00
  • 89d5e0c97f Test commit. Victor Zverovich 2012-12-16 13:40:59 -08:00
  • b33bdb21a4 Disable "secure" warnings. Victor Zverovich 2012-12-16 12:48:13 -08:00
  • d8f1ee175c Make test compile on older compilers. Victor Zverovich 2012-12-16 10:38:09 -08:00
  • 93a970945e Improve API and make it work on older GCC. Victor Zverovich 2012-12-16 10:03:19 -08:00
  • fcf476bb02 Fix MSVC build. Victor Zverovich 2012-12-16 09:42:00 -08:00
  • cbaddefddd Forbid copying of ActiveFormat other that from a temporary object. Victor Zverovich 2012-12-15 20:17:03 -08:00
  • 4dbf00b4e0 Rerun the tests. Victor Zverovich 2012-12-15 08:24:23 -08:00
  • 6861ac4718 Fix the build on GCC 4.2.1 from MacOS X. Victor Zverovich 2012-12-14 19:01:48 -08:00
  • 6e1d142a56 Make tests more portable. Victor Zverovich 2012-12-13 15:10:02 -08:00
  • e4ada5bc7f Add a line break after copyright. Victor Zverovich 2012-12-13 08:17:56 -08:00
  • a8a536bde5 Use syntax highlighting for all examples. Victor Zverovich 2012-12-13 08:12:09 -08:00
  • 9dc5e3f0c2 Try highlight option. Victor Zverovich 2012-12-13 08:06:07 -08:00
  • d29f31851e Add a test from example. Victor Zverovich 2012-12-13 08:01:47 -08:00
  • 228fc8758f Syntax highlight one block. Acknowledge str.format. Victor Zverovich 2012-12-13 08:01:37 -08:00
  • 1aa8f2f5c5 productionlist doesn't work on github, using parsed-literal instead. Victor Zverovich 2012-12-12 16:09:50 -08:00
  • 7a93a8e8b7 Try productionlist. Victor Zverovich 2012-12-12 16:05:48 -08:00
  • 6143698aa6 Remove unnecessary quotes. Victor Zverovich 2012-12-12 15:49:17 -08:00
  • 4dea3200a9 Use parsed literal block for the grammar. Document 0 flag. Victor Zverovich 2012-12-12 15:41:53 -08:00
  • 363352754c Implement runtime precision. Victor Zverovich 2012-12-12 15:21:11 -08:00
  • db306cfb22 Fix long double tests. Victor Zverovich 2012-12-12 11:32:13 -08:00
  • 414caae4d3 Detect boost. Victor Zverovich 2012-12-12 11:32:01 -08:00
  • 771746bd7e Set gtest_force_shared_crt, take 2. Victor Zverovich 2012-12-12 10:37:27 -08:00
  • a2a8741348 Fix issues with MSVC. Victor Zverovich 2012-12-12 10:11:40 -08:00
  • f4f35cd1af Rollback the last change and set gtest_force_shared_crt instead. Victor Zverovich 2012-12-12 10:11:23 -08:00
  • 25d61171e8 Add format.cc to the test instead of linking with format library to avoid link errors with MSVC. Victor Zverovich 2012-12-12 10:03:05 -08:00
  • e8ba960e16 Workaround for missing snprintf in MSVC. Victor Zverovich 2012-12-12 09:29:50 -08:00
  • 63d1fca94f Include cctype in tests too. Victor Zverovich 2012-12-12 09:29:32 -08:00
  • 72f896d6b6 Include cctype for isprint. Victor Zverovich 2012-12-12 09:17:28 -08:00
  • d6bf6d2708 Workaround a bug in Visual C++. Victor Zverovich 2012-12-12 09:14:00 -08:00
  • faccb4c765 Add a license. Victor Zverovich 2012-12-12 07:44:41 -08:00
  • 33bb6eef5a Enable and fix warnings. Victor Zverovich 2012-12-11 21:47:05 -08:00
  • 1c8a849229 Fix double action call issue. Victor Zverovich 2012-12-11 20:49:01 -08:00
  • 59536b154c Add more tests. Victor Zverovich 2012-12-11 20:48:49 -08:00
  • a9a4e74fed Improve description. Victor Zverovich 2012-12-11 16:53:06 -08:00
  • 1c2d00f7d8 Rerun the tests. Victor Zverovich 2012-12-11 16:37:50 -08:00
  • cd8fbb0871 Correct a comment. Victor Zverovich 2012-12-11 16:30:37 -08:00
  • 7c697bfcac Update readme. Victor Zverovich 2012-12-11 16:30:27 -08:00
  • e2725eeeb1 ArgFormatter -> Formatter::ArgInserter. Test ArgInserter and ActiveFormatter. Victor Zverovich 2012-12-11 16:26:04 -08:00
  • 1f6e4e9d7a Fix formatting. Victor Zverovich 2012-12-11 13:55:31 -08:00
  • 87b5ebfc4a BasicArgFormatter -> ArgFormatter. FullFormat -> ActiveFormatter. Use ActiveFormatter to implement Format and Print. Victor Zverovich 2012-12-11 13:54:53 -08:00
  • 57dbd2c3fe Rename Buffer to Array and test it. Victor Zverovich 2012-12-11 12:23:52 -08:00
  • 4db5a66455 Fix a lifetime issue. Victor Zverovich 2012-12-11 10:27:13 -08:00
  • b1e4cbb023 Rename ArgFormatter to BasicArgFormatter and ArgFormatterWithCallback to ArgFormatter. Victor Zverovich 2012-12-11 08:41:06 -08:00
  • 0996e98727 Add comments. Victor Zverovich 2012-12-10 20:37:35 -08:00
  • 14e0f87d50 Remove back() and Take(); add GrowBuffer(). Victor Zverovich 2012-12-10 18:08:04 -08:00
  • 198ebe9cf6 Add a Buffer that stores initial data on stack. Victor Zverovich 2012-12-10 17:16:08 -08:00
  • 31a507034e Implement an escape mechanism. Victor Zverovich 2012-12-10 15:04:55 -08:00