Commit Graph

  • 90d0c50eb3 Fix formatting of integer types smaller than int in FormatDec. Victor Zverovich 2014-02-20 07:04:54 -08:00
  • 2f423d8b46 Acknowledge Ruslan Baratov's contribution. Victor Zverovich 2014-02-19 14:55:22 -08:00
  • 8f91cf06b6 Update README. Victor Zverovich 2014-02-19 14:40:48 -08:00
  • 43fe100875 Move the implementation of ColorWriter::operator() to format.cc Victor Zverovich 2014-02-19 14:20:26 -08:00
  • 6968ef3bb3 Implement PrintColored. Thanks https://github.com/jose55 for the idea. Victor Zverovich 2014-02-19 13:51:23 -08:00
  • 9bb93992b6 Fix a warning. Victor Zverovich 2014-02-19 13:05:50 -08:00
  • f1d8516467 Fix a warning about empty macro args. Victor Zverovich 2014-02-19 13:02:22 -08:00
  • e9b2191689 Add a 32-bit version of CountDigits. Victor Zverovich 2014-02-19 12:43:55 -08:00
  • 3017fc6fb7 Improve 32-bit integer formatting performance by parameterizing FormatDecimal on integer type. Victor Zverovich 2014-02-17 09:12:24 -08:00
  • 6f6fe519e2 Fix more warnings. Victor Zverovich 2014-02-15 11:16:44 -08:00
  • 447e02c54c Add a missing using declaration. Victor Zverovich 2014-02-15 10:48:34 -08:00
  • fb2be485d7 Fix non-gcc builds. Victor Zverovich 2014-02-15 10:41:00 -08:00
  • db2cf61cde Fix warnings on older GCC, take 2. Victor Zverovich 2014-02-15 10:39:41 -08:00
  • ff0d5d1771 Fix more warnings on older GCC. Victor Zverovich 2014-02-15 10:17:10 -08:00
  • 0c3a2f5dcb Fix warnings about constants being too large. Victor Zverovich 2014-02-15 10:08:19 -08:00
  • 7561ff27e5 Fix warnings about unsigned long long as well. Victor Zverovich 2014-02-15 10:02:02 -08:00
  • 7325ebc965 Fix the warning about long long on older gcc. Victor Zverovich 2014-02-15 09:58:33 -08:00
  • 245faa745b ConvertWChar -> ConvertChar. Victor Zverovich 2014-02-15 09:39:49 -08:00
  • eadd2ee421 Add FormatInt::data() and document members. Victor Zverovich 2014-02-15 09:39:06 -08:00
  • f43de4a469 Only append terminating '\0' when necessary. Victor Zverovich 2014-02-15 09:24:31 -08:00
  • 430c45d618 Too much Python 🐍 Victor Zverovich 2014-02-14 14:06:39 -08:00
  • 6f0387fc22 Expose in-place decimal integer formatting via FormatDec. Improve performance of CountDigits based on the results from https://github.com/localvoid/cxx-benchmark-count-digits. Victor Zverovich 2014-02-14 10:36:17 -08:00
  • d473a79581 Add FormatInt::size, and support for long and long long. Victor Zverovich 2014-02-13 09:59:49 -08:00
  • 2a3e010340 Fix grammar. Victor Zverovich 2014-02-13 09:54:10 -08:00
  • d1369d4bed Upate readme. Victor Zverovich 2014-02-13 09:53:01 -08:00
  • affa794794 Add "Projects using this library" section. Victor Zverovich 2014-01-30 11:16:27 -08:00
  • bfedba5a0a Add support for int64_t in FormatInt. Victor Zverovich 2014-01-30 08:02:06 -08:00
  • c3f5dce8d5 Fixed bug https://github.com/vitaut/format/issues/16 . Thanks to https://github.com/fil222 ! Victor Zverovich 2014-01-28 12:49:36 -08:00
  • ea5dce3957 Simplify format specs. Victor Zverovich 2014-01-28 12:47:37 -08:00
  • a1bd3358bb Produce a compile error when using wide fill character on a narrow stream. Victor Zverovich 2014-01-08 08:17:38 -08:00
  • fa3efb1330 Add a compile error test. Victor Zverovich 2014-01-08 08:16:00 -08:00
  • f380dc3daa Fix error reporting. Victor Zverovich 2014-01-07 17:04:39 -08:00
  • 9fad54a821 Fix CMake warning. Victor Zverovich 2014-01-07 17:04:30 -08:00
  • 482472ebc5 Fix a typo. Victor Zverovich 2014-01-07 11:34:32 -08:00
  • be17d14544 Simplify compile tests. Victor Zverovich 2014-01-07 09:50:36 -08:00
  • ec7006fb99 Test if a narrow string padding with wide char doesn't compile. Victor Zverovich 2014-01-07 08:57:37 -08:00
  • 1f17447fac Simplify pad. Victor Zverovich 2014-01-07 08:44:15 -08:00
  • 6abfb84808 Simplify compile error tests. Victor Zverovich 2014-01-07 08:43:53 -08:00
  • 8efc8ac075 Fixed https://github.com/vitaut/format/issues/15 . Thanks! Victor Zverovich 2014-01-06 17:49:27 -08:00
  • 24fcd6e97f Fix compilation with clang. Victor Zverovich 2014-01-02 12:29:53 -08:00
  • d5c82bc717 Add a comment. Victor Zverovich 2014-01-02 11:34:58 -08:00
  • 47758a87a0 Ignore generated files and dirs. Victor Zverovich 2014-01-02 11:33:12 -08:00
  • 9bf11d057c Add compile error tests. Victor Zverovich 2014-01-02 11:31:53 -08:00
  • 6038c85231 format_test -> format-test. Add support for wide char to BasicWriter. Victor Zverovich 2014-01-02 11:30:28 -08:00
  • 1cc61329ae Break long lines. Victor Zverovich 2014-01-01 10:02:15 -08:00
  • 342b76d278 Implement pad for wide strings. Victor Zverovich 2014-01-01 10:00:55 -08:00
  • 136ee89bb4 IntFormatter -> IntformatSpec in tests. Victor Zverovich 2014-01-01 10:00:33 -08:00
  • 09f98854bf StrFormatter -> StrFormatSpec. Victor Zverovich 2014-01-01 09:22:55 -08:00
  • ba6c5fe522 IntFormatter -> IntFormatSpec. Victor Zverovich 2014-01-01 09:20:16 -08:00
  • fec6bc04f5 Spec -> EmptySpec. Improve comments. Victor Zverovich 2014-01-01 09:06:25 -08:00
  • 59c5612e87 Add comments. Victor Zverovich 2013-12-31 10:15:16 -08:00
  • 641df95491 Implement string padding. Victor Zverovich 2013-12-31 09:43:32 -08:00
  • fb7b11ead0 Add a missing include. Victor Zverovich 2013-12-27 10:22:55 -08:00
  • a684d0cebf Fix https://github.com/vitaut/format/issues/14 Victor Zverovich 2013-12-27 08:00:10 -08:00
  • d052bdae02 Simplify the WriteDoubleAtBufferBoundary test. Victor Zverovich 2013-12-27 07:46:02 -08:00
  • b6f383907b Add a test case from https://github.com/vitaut/format/issues/14 Victor Zverovich 2013-12-27 07:26:55 -08:00
  • 1106004e88 Find Google profiler. Victor Zverovich 2013-12-21 10:31:06 -08:00
  • 64f113c060 Update format-benchmark. Victor Zverovich 2013-12-21 10:20:04 -08:00
  • bab5e98889 Add profiling support. Victor Zverovich 2013-12-21 09:36:15 -08:00
  • fbed12ac58 Fix warnings. Victor Zverovich 2013-12-13 15:13:14 -08:00
  • be69339bc8 Bump version Victor Zverovich 2013-12-10 08:50:46 -08:00
  • 2d485d1916 Improve support for C++98 compilers that require a copy ctor when binding a reference to a temporary. Victor Zverovich 2013-12-10 08:08:41 -08:00
  • dd32508ce6 Fix grammar. Victor Zverovich 2013-12-10 08:01:30 -08:00
  • cc6af50514 Fix a warning. Victor Zverovich 2013-12-10 08:01:08 -08:00
  • e652144899 Update benchmarks. Victor Zverovich 2013-12-10 07:59:51 -08:00
  • 61a4495971 Update benchmarks. Victor Zverovich 2013-12-10 07:53:59 -08:00
  • f0ad25e3ad Update benchmarks. Victor Zverovich 2013-12-10 07:43:03 -08:00
  • 21f3a700c5 Fix a typo. Victor Zverovich 2013-12-09 17:51:11 -08:00
  • 2883163787 Test compilation with default flags. Victor Zverovich 2013-12-09 17:47:07 -08:00
  • 8ca31c8473 Fix compilation on GCC when -std=c++11 is not specified. Victor Zverovich 2013-12-09 17:45:27 -08:00
  • 3d7faaf0bd Detect the availability of initialize lists. Victor Zverovich 2013-12-09 08:31:08 -08:00
  • bd5fe67eef Conditionally compile C++11 parts. Victor Zverovich 2013-12-09 08:12:33 -08:00
  • 185ec1d91e Fix a typo. Victor Zverovich 2013-12-09 08:12:21 -08:00
  • e3b4a3f166 Disallow formatting of wchar_t when using a char formatter. Victor Zverovich 2013-12-07 08:12:03 -08:00
  • 206c846e12 Replace BasicFormatter.Add with args_.push_back. Victor Zverovich 2013-12-07 08:03:23 -08:00
  • 2d620be6ff Pre-allocate space for arguments. Victor Zverovich 2013-12-06 09:16:50 -08:00
  • 5789930096 Variadic version of BasicFormatter's ctor. Victor Zverovich 2013-12-06 09:08:37 -08:00
  • 383cc773e2 Update README Victor Zverovich 2013-12-06 07:13:04 -08:00
  • f406a42baa Fix a warning about long long. Victor Zverovich 2013-12-06 07:12:38 -08:00
  • 39cc99e2c2 Disable MSVC warning about multiple copy ctors. Victor Zverovich 2013-12-06 07:00:06 -08:00
  • 383a8423ef Forbid copying from a temporary (Basic)Formatter object. Victor Zverovich 2013-12-04 22:22:25 -08:00
  • e8a2bdf2d1 Add comments. Victor Zverovich 2013-12-01 06:59:14 -08:00
  • 56f12b737c Add support for long long and more tests for unsigned long long. https://github.com/vitaut/format/issues/9 Victor Zverovich 2013-11-22 07:45:43 -08:00
  • a4e72b4db2 Remove IntTraits<uint32_t> because uint32_t is a typedef, not a built-in type. Rename ULLONG to ULONG_LONG for consistency with ulong_long_value. Remove extra whitespace. Victor Zverovich 2013-11-21 09:11:58 -08:00
  • a65542bdaf add support for unsigned long long Gregory Czajkowski 2013-11-18 22:58:39 -08:00
  • 75e8fea0b0 Ignore doxyxml and html directories and order .gitignore entries Victor Zverovich 2013-11-21 08:10:57 -08:00
  • 04c2b05340 Add fmt::bin to the docs. Separate integer type specifiers because the list of types is too long. Victor Zverovich 2013-11-19 08:57:15 -08:00
  • a1bbd09548 Fix FormatInt test. Victor Zverovich 2013-11-16 22:03:53 -08:00
  • 4a28216e68 Fix test. Victor Zverovich 2013-11-16 21:56:28 -08:00
  • f184ad0a2c Restore the 'B' type by https://github.com/gcflymoto and add tests. Victor Zverovich 2013-11-16 21:25:48 -08:00
  • 4f3ae78adb Fix formatting. Victor Zverovich 2013-11-16 21:15:37 -08:00
  • 18d07093a0 Test that "#X" adds prefix "0X" (issue https://github.com/vitaut/format/issues/5) Victor Zverovich 2013-11-16 21:11:42 -08:00
  • 93ca4c98fe Document the 'B' type and the difference between 'b' & 'B'. Addresses part of issue https://github.com/vitaut/format/issues/5 Victor Zverovich 2013-11-16 21:09:46 -08:00
  • 0563aca180 Document that "#x" adds prefix "0x" and "#X" adds "0X". Addresses part of issue https://github.com/vitaut/format/issues/5 Victor Zverovich 2013-11-16 21:06:07 -08:00
  • 2aa4cd9827 Fix gcc version check for noexcept. Victor Zverovich 2013-11-16 07:19:59 -08:00
  • d49845510e Check gcc version for diagnostic once. Victor Zverovich 2013-11-16 07:19:41 -08:00
  • 16cb991fd8 Merge pull request #6 from gcflymoto/master vitaut 2013-11-16 07:15:18 -08:00
  • 7b22272fbf add support for older GCC versions Gregory Czajkowski 2013-11-15 16:00:09 -08:00
  • b697a7d6f9 Only use GTest's own tuple on clang. Victor Zverovich 2013-11-15 14:21:55 -08:00
  • cd882b547e Fix clang build. Victor Zverovich 2013-11-15 14:16:42 -08:00