Commit Graph

1655 Commits

Author SHA1 Message Date
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
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
4dbf00b4e0 Rerun the tests. 2012-12-15 08:24:23 -08:00
Victor Zverovich
6861ac4718 Fix the build on GCC 4.2.1 from MacOS X. 2012-12-14 19:01:48 -08:00
Victor Zverovich
6e1d142a56 Make tests more portable. 2012-12-13 15:10:02 -08:00
Victor Zverovich
e4ada5bc7f Add a line break after copyright. 2012-12-13 08:17:56 -08:00
Victor Zverovich
a8a536bde5 Use syntax highlighting for all examples. 2012-12-13 08:12:09 -08:00
Victor Zverovich
9dc5e3f0c2 Try highlight option. 2012-12-13 08:06:07 -08:00
Victor Zverovich
d29f31851e Add a test from example. 2012-12-13 08:01:47 -08:00
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