Commit Graph

  • 9d97bb7cd0 Add Boost to include directories. Victor Zverovich 2013-11-15 14:13:29 -08:00
  • eca62c6ffd Don't use uint64_t in tests. Victor Zverovich 2013-11-15 14:09:37 -08:00
  • f782c2b1a8 Fix build on Mac. Victor Zverovich 2013-11-15 14:02:14 -08:00
  • 4c3044771a Acknowledge gcflymoto's contribution. Victor Zverovich 2013-11-14 08:57:19 -08:00
  • 5e7f59b563 Remove unsigned long long tests for now. Add more tests for binary specifier. Victor Zverovich 2013-11-14 08:45:50 -08:00
  • 52b55e1791 Always use noexcept for gcc >= 4.8 because dtors are implicitly noexcept there. Remove binu and 'B' specifier. Victor Zverovich 2013-11-14 08:45:20 -08:00
  • 43fa564e9b Remove unused typedef. Victor Zverovich 2013-11-14 08:44:05 -08:00
  • e0afc418b3 Merge pull request #4 from gcflymoto/master vitaut 2013-11-14 07:57:16 -08:00
  • 9cc24166b5 revert back changes and to create a single pull request for bin mode Gregory Czajkowski 2013-11-12 14:12:17 -08:00
  • c5695691c1 add support for bin formatter Gregory Czajkowski 2013-11-12 13:25:56 -08:00
  • 631f407f99 add better support for different GCC and 64bit longs Gregory Czajkowski 2013-11-08 17:06:54 -08:00
  • 006a4619f3 Replace WIN32 win _WIN32. Victor Zverovich 2013-11-08 09:56:34 -07:00
  • d3ec9a1316 Add support for StringRef in BasicFormatter. Victor Zverovich 2013-11-08 09:53:50 -07:00
  • 00c9fcf1fe Replace CharWriteChecker and WCharWriteChecker with a single WriteChecker template. Victor Zverovich 2013-11-08 09:48:45 -07:00
  • 0a95f7c2fa subproject commit Gregory Czajkowski 2013-10-23 20:07:27 -07:00
  • e4ffc06875 add support for binary type and test long longs more Gregory Czajkowski 2013-10-23 20:04:32 -07:00
  • eded10cf31 Fix FormatInt. Victor Zverovich 2013-09-10 09:28:04 -07:00
  • 2951f8b3d8 API docs. Victor Zverovich 2013-09-10 09:26:11 -07:00
  • b605b3980c Disallow writing a wide string to a char stream and vice versa, because there is no good way to implement these function without knowing the encodings and what std::ostream doesn't make any sense. Victor Zverovich 2013-09-09 22:21:40 -07:00
  • 1733198bf5 Guard gcc pragmas from -dumb compilers- MSVC. Victor Zverovich 2013-09-09 15:47:09 -07:00
  • 4523ed7887 Disable -Wlong-long on gcc. Victor Zverovich 2013-09-09 15:38:43 -07:00
  • e1a02c5141 Fix formatting of long long. Victor Zverovich 2013-09-09 15:23:05 -07:00
  • 8308da46e6 Fix compilation of tests on Windows. Victor Zverovich 2013-09-09 15:17:38 -07:00
  • aefb3bb918 Simplify tests. Add support for long long in Writer. Victor Zverovich 2013-09-09 15:12:51 -07:00
  • ad1be3c17a Add a missing header. Victor Zverovich 2013-09-09 10:42:33 -07:00
  • 922391d6da Update benchmarks. Victor Zverovich 2013-09-09 07:41:00 -07:00
  • 65d47e5e09 Add FormatInt for fast stand-alone integer formatting. Victor Zverovich 2013-09-09 06:51:03 -07:00
  • 75daf81895 Update benchmarks. Victor Zverovich 2013-09-08 21:52:37 -07:00
  • bcef11c0d1 Add support for long double in Writer. Victor Zverovich 2013-09-08 16:27:12 -07:00
  • 1e724a9d33 Write docs. Victor Zverovich 2013-09-08 15:37:14 -07:00
  • 06dda99d7a Check for boost. Victor Zverovich 2013-09-08 14:39:34 -07:00
  • c62c475291 Fix a warning. Victor Zverovich 2013-09-08 14:25:22 -07:00
  • 2a9f358d7e Add support for long and unsigned long in Writer. Victor Zverovich 2013-09-08 14:18:08 -07:00
  • e89c60d63e Minor corrections. Victor Zverovich 2013-09-08 13:47:38 -07:00
  • 563a575c0c Fix more warnings. Victor Zverovich 2013-09-08 13:47:06 -07:00
  • 88972f487b Fix warnings. Victor Zverovich 2013-09-08 13:30:14 -07:00
  • 93e4125248 Move DIGITS to the implementation. Widen fill_ to support both char and wchar_t. Victor Zverovich 2013-09-08 13:07:04 -07:00
  • f060db0261 Update benchmarks. Victor Zverovich 2013-09-07 18:44:13 -07:00
  • 54c3ed92b6 Add -std=c++11 flag only if supported by compiler. Victor Zverovich 2013-09-07 14:54:26 -07:00
  • 3937644a8d Enable C++11 if possible. Victor Zverovich 2013-09-07 13:04:45 -07:00
  • 8e37936c77 Fix paths. Victor Zverovich 2013-09-07 13:03:03 -07:00
  • 0fc73164eb Fix warnings. Victor Zverovich 2013-09-07 12:52:52 -07:00
  • 99c5f8e00b Move the benchmarks to format-benchmark. Victor Zverovich 2013-09-07 12:37:18 -07:00
  • 9cb1fa72d8 Move benchmarks to format-benchmark repo. Victor Zverovich 2013-09-07 12:22:57 -07:00
  • 9ff3b97779 Move more code from header to source. Victor Zverovich 2013-09-07 10:15:08 -07:00
  • a47e7ac0bc Link with libformat instead of including format.cc in every file. Victor Zverovich 2013-09-06 20:34:23 -07:00
  • 7cae763c91 Move code from header to source. Victor Zverovich 2013-09-06 20:23:42 -07:00
  • c2e65d1371 Test and fix writing wide chars. Victor Zverovich 2013-09-06 19:34:55 -07:00
  • 525de51320 Test and fix writing wide strings. Victor Zverovich 2013-09-06 19:32:19 -07:00
  • 257b2106b3 Expand example. Victor Zverovich 2013-09-06 15:18:57 -07:00
  • 5af2162acb Comment. Victor Zverovich 2013-09-06 15:17:22 -07:00
  • 1a236c80f3 Add an example. Victor Zverovich 2013-09-06 15:12:46 -07:00
  • 9b619782a0 Fix the build. Victor Zverovich 2013-09-04 22:10:58 -07:00
  • bc6c1c17cc Add support for wide strings. Victor Zverovich 2013-09-04 22:03:37 -07:00
  • 6d33ce9f81 Bump version. Victor Zverovich 2013-09-04 20:59:54 -07:00
  • 3a7962fc1b Update the docs. Victor Zverovich 2013-09-04 20:44:13 -07:00
  • 9aa5b7ecd4 Update the docs. Victor Zverovich 2013-09-04 19:31:22 -07:00
  • ca171307f3 TempFormatter -> Formatter. Complete refactoring. Victor Zverovich 2013-09-04 19:23:55 -07:00
  • 50cf5e17a7 Merge ArgInserter into TempFormatter and replace BasicFormatter::operator() with BasicWriter::Format. Victor Zverovich 2013-09-03 18:58:13 -07:00
  • 6829819b8d Fix MSVC build. Victor Zverovich 2013-09-03 15:59:46 -07:00
  • 5978412d5c Test writing strings. Victor Zverovich 2013-09-03 15:48:17 -07:00
  • a4fd71f4ba Try the code role. Victor Zverovich 2013-09-03 13:33:22 -07:00
  • 1717445288 Clang version. Victor Zverovich 2013-09-03 09:57:09 -07:00
  • 2d48158baf Minor changes. Victor Zverovich 2013-09-03 09:06:49 -07:00
  • 5f731683af Mention warning-free feature. Victor Zverovich 2013-09-03 09:03:44 -07:00
  • 82475e4874 Use checked iterators if _SECURE_SCL is defined. Victor Zverovich 2013-09-03 08:16:53 -07:00
  • 62a00e333a Fix more "secure" warnings. Victor Zverovich 2013-09-02 20:31:00 -07:00
  • f211e313e2 Fix MSVC "secure" warnings instead of (unsuccessfully) trying to disable them. Victor Zverovich 2013-09-02 20:24:09 -07:00
  • 0802941d4f Disable MSVC "secure" warnings in format.h only. Victor Zverovich 2013-09-02 19:25:14 -07:00
  • ff38425f63 Minor changes. Victor Zverovich 2013-09-02 10:24:47 -07:00
  • 107ab269a7 Use Writer instead of Formatter in the int_generator test. Victor Zverovich 2013-09-02 10:23:53 -07:00
  • 8b4a466716 Correct a miselading comment. Victor Zverovich 2013-08-31 11:14:43 -07:00
  • c4c5677e67 Fix a typo. Victor Zverovich 2013-08-30 16:46:00 -07:00
  • c31eaef1b0 Fix an example. Victor Zverovich 2013-08-28 10:54:18 -07:00
  • 6323d30247 Implement compatibility with compilers other than clang Victor Zverovich 2013-05-15 10:04:11 -07:00
  • 5adb9f7a39 Add support for noexcept Victor Zverovich 2013-05-15 08:59:44 -07:00
  • 3638eeee62 Formatter -> BasicFormatter Victor Zverovich 2013-04-27 06:34:33 -07:00
  • 1cad3fadd6 Remove warning pragmas since there is no effect on "security" warnings Victor Zverovich 2013-04-22 08:37:01 -07:00
  • ca7e689e08 Add missing include, try disable warnings on MSVC. Victor Zverovich 2013-04-22 08:11:57 -07:00
  • 6da2c53099 Fix compilation when windows.h is included (issue 2) Victor Zverovich 2013-04-22 07:39:36 -07:00
  • c7f2c658a0 Check if format.h compiles with windows.h included Victor Zverovich 2013-04-22 07:28:16 -07:00
  • d3be932534 Handle short and float arguments Victor Zverovich 2013-03-31 07:01:09 -07:00
  • aa9a94c8df Fix MSVC build Victor Zverovich 2013-02-28 11:13:43 -08:00
  • 9cd0103dba Correct links, take 3 Victor Zverovich 2013-02-28 11:08:36 -08:00
  • a2e1ed5ce8 Correct links, take 2 Victor Zverovich 2013-02-28 10:51:14 -08:00
  • fbee89d5f9 Correct links Victor Zverovich 2013-02-28 10:50:17 -08:00
  • 6afa2994d5 Allocate large enough buffer to make _ecvt_s happy. Swap the order of template parameters in TempFormatter for convenience. Victor Zverovich 2013-02-28 10:47:20 -08:00
  • 452df673ea Update the readme. Victor Zverovich 2013-02-28 10:36:37 -08:00
  • e19eceafec Fix MSVC build Victor Zverovich 2013-02-27 14:51:39 -08:00
  • 478d004c1d Get rid of secure warnings. Victor Zverovich 2013-02-27 14:45:04 -08:00
  • 8e49d7004b Workaround MSCRT brain damage, take 3. Victor Zverovich 2013-02-27 14:29:37 -08:00
  • 6cc758b6e2 Workaround MSCRT brain damage, take 2. Victor Zverovich 2013-02-27 14:17:07 -08:00
  • ab05af06f2 Workaround MSCRT brain damage. Victor Zverovich 2013-02-27 13:44:00 -08:00
  • 1e58ebf1b7 Fix a crash when exception is throws in nested Format. Check automatically assigned argument index. Add double output method to BasicWriter. Victor Zverovich 2013-02-27 13:17:09 -08:00
  • dcb82310eb Fix the build when isinf is a macro. Victor Zverovich 2013-02-21 17:44:29 -08:00
  • 695bb2f3d4 Fix a compilation issue when math.h is included before format.h Victor Zverovich 2013-02-21 16:53:58 -08:00
  • 309a51c2ad Bump version. Victor Zverovich 2013-02-05 08:16:24 -08:00
  • 60d51406ef Look for isinf in std namespace too. Victor Zverovich 2013-02-05 08:11:04 -08:00
  • b09f371306 Implement a workaround for older GCC. Victor Zverovich 2013-02-05 08:05:01 -08:00
  • 74494c29cb Fix the build. Victor Zverovich 2013-02-05 07:49:43 -08:00