Commit Graph

1302 Commits

Author SHA1 Message Date
Victor Zverovich
a47e7ac0bc Link with libformat instead of including format.cc in every file. 2013-09-06 20:34:23 -07:00
Victor Zverovich
7cae763c91 Move code from header to source. 2013-09-06 20:23:42 -07:00
Victor Zverovich
c2e65d1371 Test and fix writing wide chars. 2013-09-06 19:34:55 -07:00
Victor Zverovich
525de51320 Test and fix writing wide strings. 2013-09-06 19:32:19 -07:00
Victor Zverovich
257b2106b3 Expand example. 2013-09-06 15:18:57 -07:00
Victor Zverovich
5af2162acb Comment. 2013-09-06 15:17:22 -07:00
Victor Zverovich
1a236c80f3 Add an example. 2013-09-06 15:12:46 -07:00
Victor Zverovich
9b619782a0 Fix the build. 2013-09-04 22:10:58 -07:00
Victor Zverovich
bc6c1c17cc Add support for wide strings. 2013-09-04 22:03:37 -07:00
Victor Zverovich
6d33ce9f81 Bump version. 2013-09-04 20:59:54 -07:00
Victor Zverovich
3a7962fc1b Update the docs. 2013-09-04 20:44:13 -07:00
Victor Zverovich
9aa5b7ecd4 Update the docs. 2013-09-04 19:31:22 -07:00
Victor Zverovich
ca171307f3 TempFormatter -> Formatter. Complete refactoring. 2013-09-04 19:23:55 -07:00
Victor Zverovich
50cf5e17a7 Merge ArgInserter into TempFormatter and replace BasicFormatter::operator() with BasicWriter::Format. 2013-09-03 18:58:13 -07:00
Victor Zverovich
6829819b8d Fix MSVC build. 2013-09-03 15:59:46 -07:00
Victor Zverovich
5978412d5c Test writing strings. 2013-09-03 15:48:17 -07:00
Victor Zverovich
a4fd71f4ba Try the code role. 2013-09-03 13:33:22 -07:00
Victor Zverovich
1717445288 Clang version. 2013-09-03 09:57:09 -07:00
Victor Zverovich
2d48158baf Minor changes. 2013-09-03 09:06:49 -07:00
Victor Zverovich
5f731683af Mention warning-free feature. 2013-09-03 09:03:44 -07:00
Victor Zverovich
82475e4874 Use checked iterators if _SECURE_SCL is defined. 2013-09-03 08:16:53 -07:00
Victor Zverovich
62a00e333a Fix more "secure" warnings. 2013-09-02 20:31:00 -07:00
Victor Zverovich
f211e313e2 Fix MSVC "secure" warnings instead of (unsuccessfully) trying to disable them. 2013-09-02 20:24:09 -07:00
Victor Zverovich
0802941d4f Disable MSVC "secure" warnings in format.h only. 2013-09-02 19:25:14 -07:00
Victor Zverovich
ff38425f63 Minor changes. 2013-09-02 10:24:47 -07:00
Victor Zverovich
107ab269a7 Use Writer instead of Formatter in the int_generator test. 2013-09-02 10:23:53 -07:00
Victor Zverovich
8b4a466716 Correct a miselading comment. 2013-08-31 11:14:43 -07:00
Victor Zverovich
c4c5677e67 Fix a typo. 2013-08-30 16:46:00 -07:00
Victor Zverovich
c31eaef1b0 Fix an example. 2013-08-28 10:54:18 -07:00
Victor Zverovich
6323d30247 Implement compatibility with compilers other than clang 2013-05-15 10:04:11 -07:00
Victor Zverovich
5adb9f7a39 Add support for noexcept 2013-05-15 08:59:44 -07:00
Victor Zverovich
3638eeee62 Formatter -> BasicFormatter 2013-04-27 06:34:33 -07:00
Victor Zverovich
1cad3fadd6 Remove warning pragmas since there is no effect on "security" warnings 2013-04-22 08:37:01 -07:00
Victor Zverovich
ca7e689e08 Add missing include, try disable warnings on MSVC. 2013-04-22 08:11:57 -07:00
Victor Zverovich
6da2c53099 Fix compilation when windows.h is included (issue 2) 2013-04-22 07:39:36 -07:00
Victor Zverovich
c7f2c658a0 Check if format.h compiles with windows.h included 2013-04-22 07:28:16 -07:00
Victor Zverovich
d3be932534 Handle short and float arguments 2013-03-31 07:01:09 -07:00
Victor Zverovich
aa9a94c8df Fix MSVC build 2013-02-28 11:13:43 -08:00
Victor Zverovich
9cd0103dba Correct links, take 3 2013-02-28 11:08:36 -08:00
Victor Zverovich
a2e1ed5ce8 Correct links, take 2 2013-02-28 10:51:14 -08:00
Victor Zverovich
fbee89d5f9 Correct links 2013-02-28 10:50:17 -08:00
Victor Zverovich
6afa2994d5 Allocate large enough buffer to make _ecvt_s happy. Swap the order of template parameters in TempFormatter for convenience. 2013-02-28 10:47:20 -08:00
Victor Zverovich
452df673ea Update the readme. 2013-02-28 10:36:37 -08:00
Victor Zverovich
e19eceafec Fix MSVC build 2013-02-27 14:51:39 -08:00
Victor Zverovich
478d004c1d Get rid of secure warnings. 2013-02-27 14:45:04 -08:00
Victor Zverovich
8e49d7004b Workaround MSCRT brain damage, take 3. 2013-02-27 14:29:37 -08:00
Victor Zverovich
6cc758b6e2 Workaround MSCRT brain damage, take 2. 2013-02-27 14:17:07 -08:00
Victor Zverovich
ab05af06f2 Workaround MSCRT brain damage. 2013-02-27 13:44:00 -08:00
Victor Zverovich
1e58ebf1b7 Fix a crash when exception is throws in nested Format. Check automatically assigned argument index. Add double output method to BasicWriter. 2013-02-27 13:17:09 -08:00
Victor Zverovich
dcb82310eb Fix the build when isinf is a macro. 2013-02-21 17:44:29 -08:00