Commit Graph

  • c76b22405d Replace GTest with GMock (includes GTest) Victor Zverovich 2014-09-17 08:01:42 -07:00
  • 2938a92d64 Add KBEngine to projects that use cppformat Victor Zverovich 2014-09-13 08:44:49 -07:00
  • b54d6e7124 Fix posix-test, take 3. Victor Zverovich 2014-09-12 18:22:45 -07:00
  • 94daf27c9d Fix posix-test, take 2. Victor Zverovich 2014-09-12 17:41:04 -07:00
  • 886ad20a9d Remove unused size argument from Array's ctor. Victor Zverovich 2014-09-12 17:20:36 -07:00
  • 434e83a192 Fix posix-test. Victor Zverovich 2014-09-12 17:16:22 -07:00
  • ddd95965e1 Fix MaxSize test. Victor Zverovich 2014-09-12 16:52:15 -07:00
  • a3062f6647 Disambiguate a call Victor Zverovich 2014-09-12 16:18:04 -07:00
  • 352b6ae496 Workaround more Windows crap. Victor Zverovich 2014-09-12 15:18:11 -07:00
  • 74169e4b5d Add a portable getpagesize() implementation Victor Zverovich 2014-09-12 13:53:52 -07:00
  • 1e9ca17b9d Workaround Windows crap. Victor Zverovich 2014-09-12 13:42:22 -07:00
  • 225b757b50 Handy fix for handling of handles. Victor Zverovich 2014-09-12 12:37:32 -07:00
  • cb7caa540f Move FMT_STATIC_ASSERT to header and test. Victor Zverovich 2014-09-12 12:05:32 -07:00
  • ea9989b254 Add missing include. Victor Zverovich 2014-09-12 11:57:33 -07:00
  • 949c3c5df4 Test if File::size can handle maximum file size. Victor Zverovich 2014-09-12 11:12:22 -07:00
  • e34e9fa0c7 Add File::size and make File's ctor take StringRef. Victor Zverovich 2014-09-12 10:50:16 -07:00
  • f175591923 Return size_t instead of streamsize in File::read and File::write Victor Zverovich 2014-09-12 09:38:37 -07:00
  • 6cd9be2c06 Bump version. Victor Zverovich 2014-09-12 08:29:38 -07:00
  • 3269fce2dc Fix https://github.com/cppformat/cppformat/issues/61 Victor Zverovich 2014-09-12 08:27:23 -07:00
  • d59fbdcd4a Increase the maximum number of formatting arguments on compilers without variadic templates to 15. Victor Zverovich 2014-09-11 21:18:36 -07:00
  • 445663fade Fix windows build. Victor Zverovich 2014-09-05 10:56:00 -07:00
  • f2c9df8e9f Move safe_strerror to anonymous namespace. Victor Zverovich 2014-09-05 08:44:41 -07:00
  • b33d2aa825 Workaround Windows braindamage. Victor Zverovich 2014-09-05 08:06:07 -07:00
  • 88e0db8486 Test format_error_code. Victor Zverovich 2014-09-05 08:04:26 -07:00
  • d4916d9271 Add missing file. Victor Zverovich 2014-09-05 07:35:00 -07:00
  • fe9888a1e2 Move implementation tests to format-impl-test. Victor Zverovich 2014-09-05 07:12:20 -07:00
  • 93bcad6d8e Fix Windows build. Victor Zverovich 2014-09-03 08:10:20 -07:00
  • 22f75d8b6d Don't throw exceptions from error formatting functions. Gracefully fallback to a less descriptive message instead. Victor Zverovich 2014-09-03 08:03:05 -07:00
  • 82d4d11c11 format -> cppformat Victor Zverovich 2014-08-29 09:18:53 -07:00
  • 5debb2aa86 Refactor error reporting to reduce duplication. Victor Zverovich 2014-08-29 08:16:10 -07:00
  • 605d2600f8 Improve error reporting. Victor Zverovich 2014-08-29 07:45:55 -07:00
  • 271fa8c908 Improve handling of format strings in custom arguments. Victor Zverovich 2014-08-29 07:23:54 -07:00
  • 3947a7a98c Move check_sign to anonymous namespace. Victor Zverovich 2014-08-29 06:57:53 -07:00
  • ab35af53c5 Check result of fread. Victor Zverovich 2014-08-29 06:57:26 -07:00
  • e62354a190 Fix build. Victor Zverovich 2014-08-28 14:51:01 -07:00
  • eab0b577f8 Report filename in exception. Victor Zverovich 2014-08-28 13:42:07 -07:00
  • e44619707e Fix Windows build. Victor Zverovich 2014-08-28 12:46:30 -07:00
  • 2dad1690c8 Fix BufferefFile test on Windows. Victor Zverovich 2014-08-28 12:13:03 -07:00
  • 564da25932 Add ctor & print method to BufferedFile. Victor Zverovich 2014-08-28 11:53:05 -07:00
  • 108cd1d1a0 Fix anchor. Victor Zverovich 2014-08-28 10:18:13 -07:00
  • 32344d9b14 Comment Victor Zverovich 2014-08-28 08:11:21 -07:00
  • c57d7a506f Factor out argument processing logic common between format and printf to FormatterBase::{next_arg,get_arg}. Victor Zverovich 2014-08-28 08:05:47 -07:00
  • 56fc525e98 Get rid of FormatterBase::error_. Victor Zverovich 2014-08-28 07:48:55 -07:00
  • 279c7a6e6a Change "number is too big in format" to "number is too big" because the error can occur not only in the format function. Victor Zverovich 2014-08-28 06:50:52 -07:00
  • 526b7fc91d Throw exception in parse_nonnegative_int if the number is too big. Victor Zverovich 2014-08-28 06:42:59 -07:00
  • 9646e38c3b Don't use error_ in parse_arg_index. Victor Zverovich 2014-08-27 09:13:42 -07:00
  • da0f7c0a51 Improve error reporting in parse_arg_index. Victor Zverovich 2014-08-27 09:04:51 -07:00
  • 42de4f1f7d Get rid of FormatErrorReporter. Victor Zverovich 2014-08-27 08:24:31 -07:00
  • 8cc0d21124 Move the Crash Reporter fix to Google Test where it belongs. Victor Zverovich 2014-08-23 10:25:21 -07:00
  • 59a462c67d Make sure that Crash Reporter is not invoked on death tests. Victor Zverovich 2014-08-23 10:04:06 -07:00
  • 45397e5046 Add dependency from CMakeLists.txt since it is used to get version. v0.11.0 Victor Zverovich 2014-08-21 08:51:45 -07:00
  • 034aedb6d4 Bump version. Victor Zverovich 2014-08-21 08:49:58 -07:00
  • dd4323f31c Add fprintf and write docs. Victor Zverovich 2014-08-21 08:49:13 -07:00
  • f9561671cf Write docs. Victor Zverovich 2014-08-21 07:30:00 -07:00
  • da0293c4dd Add missing include. Victor Zverovich 2014-08-21 07:29:23 -07:00
  • 03cdf1235a Test printf. Victor Zverovich 2014-08-21 07:14:02 -07:00
  • f1ac0a19e9 Test float. Victor Zverovich 2014-08-20 08:21:06 -07:00
  • be00d8b272 Convert integer argument like printf does. Victor Zverovich 2014-08-19 08:49:10 -07:00
  • 406c6123fb Cleanup Victor Zverovich 2014-08-19 08:47:38 -07:00
  • c4a4a05d12 Improve handling of char in printf. Victor Zverovich 2014-08-19 08:14:21 -07:00
  • f2be7851cc Fix a warning. Victor Zverovich 2014-08-19 07:29:30 -07:00
  • e0f92d675e Fix a warning. Victor Zverovich 2014-08-19 07:14:25 -07:00
  • 39ac84f01e Comment. Victor Zverovich 2014-08-18 07:03:22 -07:00
  • 186734cf8b Fix warnings. Victor Zverovich 2014-08-18 07:03:12 -07:00
  • 61857356ea Fix appveyor config. Victor Zverovich 2014-08-17 08:01:00 -07:00
  • 2462c61d05 Enable output for test failures. Victor Zverovich 2014-08-17 07:56:48 -07:00
  • adce0245dc Fix a warning. Victor Zverovich 2014-08-17 07:53:55 -07:00
  • 366e852f00 Fix a warning. Victor Zverovich 2014-08-15 16:35:41 -07:00
  • bb01633d19 Fix a warning. Victor Zverovich 2014-08-15 09:03:59 -07:00
  • c978d88183 Test ArgConverter. Victor Zverovich 2014-08-15 08:40:13 -07:00
  • fb32161fa4 Move implementation specific stuff from format.h to format.cc. Victor Zverovich 2014-08-15 08:40:03 -07:00
  • c7cfa7d4e7 More tests. Victor Zverovich 2014-08-15 06:58:24 -07:00
  • d4412a01f0 Simplify isinfinity. Victor Zverovich 2014-08-13 08:01:51 -07:00
  • 1a0c76a81a Fix formatting of long double. Victor Zverovich 2014-08-13 07:51:02 -07:00
  • 18f1e08685 Test 'll' specifier. Victor Zverovich 2014-08-13 06:59:29 -07:00
  • e488a28601 Fix a warning. Victor Zverovich 2014-08-13 06:53:43 -07:00
  • ddd087d8d1 Test more length specifiers. Victor Zverovich 2014-08-13 06:42:15 -07:00
  • d3a7039e31 Implement 'll' specifier. Victor Zverovich 2014-08-12 08:36:19 -07:00
  • 5614295aa1 Test 'l' specifier. Victor Zverovich 2014-08-12 08:15:39 -07:00
  • 7c14431211 Enable 'h' speciffier tests. Victor Zverovich 2014-08-12 06:49:27 -07:00
  • adbf3f8b86 Rewrite length specifier tests without using printf to workaround broken MSVC implementation. Victor Zverovich 2014-08-11 08:34:17 -07:00
  • 137153b9f0 Take integer promotion into account. Victor Zverovich 2014-08-11 06:54:58 -07:00
  • 910dec5ed3 Fix 'l' specifier test. Victor Zverovich 2014-08-11 06:33:40 -07:00
  • 028d12dacd Disable 'l' specifier tests. Victor Zverovich 2014-08-09 10:12:36 -07:00
  • 316ae7e244 Implement more printf length specifiers. Victor Zverovich 2014-08-09 10:04:35 -07:00
  • 6a8becb5bf Rearrange tests to simplify inclusion in other projects, part 2. Victor Zverovich 2014-08-09 09:07:15 -07:00
  • 56fb75c2ec Rearrange tests to simplify inclusion in other projects. Victor Zverovich 2014-08-09 09:04:38 -07:00
  • bdbacde659 Test 'h' specifier. Victor Zverovich 2014-08-09 08:53:14 -07:00
  • 3465d056e7 Test hh specifier with unsigned char. Victor Zverovich 2014-08-08 06:59:17 -07:00
  • e22d657202 Fix MSVC warnings. Victor Zverovich 2014-08-08 06:51:09 -07:00
  • 44e23c39f1 Implement GetThreadCount on Linux. Victor Zverovich 2014-08-07 09:30:46 -07:00
  • 431b556951 Add FMT_ prefix to SPECIALIZE_MAKE_UNSIGNED. Victor Zverovich 2014-08-07 07:42:55 -07:00
  • 6a37965710 Replace gtest with fused version. Victor Zverovich 2014-08-07 06:47:51 -07:00
  • 566061d1f1 Fix formatting of signed ints in test. Victor Zverovich 2014-08-06 08:21:12 -07:00
  • 6cd1563eac Add a size argument to Array ctor. Victor Zverovich 2014-08-06 07:17:03 -07:00
  • e04b07921f Debug length specifier test. Victor Zverovich 2014-08-06 07:16:49 -07:00
  • 8b41b09add Test 'hh' and 'h' printf specifiers. Victor Zverovich 2014-08-06 07:00:04 -07:00
  • 86bbd3c238 Test hh length. Victor Zverovich 2014-08-05 08:21:47 -07:00
  • b797d39dd1 Test printf length. Victor Zverovich 2014-08-05 07:52:59 -07:00
  • fc10d10b6b Disable hh specifier tests for now because broken MSVC's printf causes test failures. Victor Zverovich 2014-08-01 08:50:09 -07:00