Victor Zverovich
|
352b6ae496
|
Workaround more Windows crap.
|
2014-09-12 15:18:11 -07:00 |
|
Victor Zverovich
|
74169e4b5d
|
Add a portable getpagesize() implementation
|
2014-09-12 13:53:52 -07:00 |
|
Victor Zverovich
|
cb7caa540f
|
Move FMT_STATIC_ASSERT to header and test.
|
2014-09-12 12:05:32 -07:00 |
|
Victor Zverovich
|
949c3c5df4
|
Test if File::size can handle maximum file size.
|
2014-09-12 11:12:22 -07:00 |
|
Victor Zverovich
|
e34e9fa0c7
|
Add File::size and make File's ctor take StringRef.
|
2014-09-12 10:50:16 -07:00 |
|
Victor Zverovich
|
d59fbdcd4a
|
Increase the maximum number of formatting arguments on compilers without variadic templates to 15.
|
2014-09-11 21:18:36 -07:00 |
|
Victor Zverovich
|
445663fade
|
Fix windows build.
|
2014-09-05 10:56:00 -07:00 |
|
Victor Zverovich
|
f2c9df8e9f
|
Move safe_strerror to anonymous namespace.
|
2014-09-05 08:44:41 -07:00 |
|
Victor Zverovich
|
b33d2aa825
|
Workaround Windows braindamage.
|
2014-09-05 08:06:07 -07:00 |
|
Victor Zverovich
|
88e0db8486
|
Test format_error_code.
|
2014-09-05 08:04:26 -07:00 |
|
Victor Zverovich
|
d4916d9271
|
Add missing file.
|
2014-09-05 07:35:00 -07:00 |
|
Victor Zverovich
|
fe9888a1e2
|
Move implementation tests to format-impl-test.
|
2014-09-05 07:12:20 -07:00 |
|
Victor Zverovich
|
93bcad6d8e
|
Fix Windows build.
|
2014-09-03 08:10:20 -07:00 |
|
Victor Zverovich
|
22f75d8b6d
|
Don't throw exceptions from error formatting functions. Gracefully fallback to a less descriptive message instead.
|
2014-09-03 08:03:05 -07:00 |
|
Victor Zverovich
|
605d2600f8
|
Improve error reporting.
|
2014-08-29 07:45:55 -07:00 |
|
Victor Zverovich
|
271fa8c908
|
Improve handling of format strings in custom arguments.
|
2014-08-29 07:23:54 -07:00 |
|
Victor Zverovich
|
ab35af53c5
|
Check result of fread.
|
2014-08-29 06:57:26 -07:00 |
|
Victor Zverovich
|
564da25932
|
Add ctor & print method to BufferedFile.
|
2014-08-28 11:53:05 -07:00 |
|
Victor Zverovich
|
279c7a6e6a
|
Change "number is too big in format" to "number is too big" because the error can occur not only in the format function.
|
2014-08-28 06:50:52 -07:00 |
|
Victor Zverovich
|
526b7fc91d
|
Throw exception in parse_nonnegative_int if the number is too big.
|
2014-08-28 06:42:59 -07:00 |
|
Victor Zverovich
|
da0f7c0a51
|
Improve error reporting in parse_arg_index.
|
2014-08-27 09:04:51 -07:00 |
|
Victor Zverovich
|
42de4f1f7d
|
Get rid of FormatErrorReporter.
|
2014-08-27 08:24:31 -07:00 |
|
Victor Zverovich
|
8cc0d21124
|
Move the Crash Reporter fix to Google Test where it belongs.
|
2014-08-23 10:25:21 -07:00 |
|
Victor Zverovich
|
59a462c67d
|
Make sure that Crash Reporter is not invoked on death tests.
|
2014-08-23 10:04:06 -07:00 |
|
Victor Zverovich
|
f9561671cf
|
Write docs.
|
2014-08-21 07:30:00 -07:00 |
|
Victor Zverovich
|
da0293c4dd
|
Add missing include.
|
2014-08-21 07:29:23 -07:00 |
|
Victor Zverovich
|
03cdf1235a
|
Test printf.
|
2014-08-21 07:14:02 -07:00 |
|
Victor Zverovich
|
f1ac0a19e9
|
Test float.
|
2014-08-20 08:21:06 -07:00 |
|
Victor Zverovich
|
be00d8b272
|
Convert integer argument like printf does.
|
2014-08-19 08:49:10 -07:00 |
|
Victor Zverovich
|
c4a4a05d12
|
Improve handling of char in printf.
|
2014-08-19 08:14:21 -07:00 |
|
Victor Zverovich
|
f2be7851cc
|
Fix a warning.
|
2014-08-19 07:29:30 -07:00 |
|
Victor Zverovich
|
e0f92d675e
|
Fix a warning.
|
2014-08-19 07:14:25 -07:00 |
|
Victor Zverovich
|
39ac84f01e
|
Comment.
|
2014-08-18 07:03:22 -07:00 |
|
Victor Zverovich
|
186734cf8b
|
Fix warnings.
|
2014-08-18 07:03:12 -07:00 |
|
Victor Zverovich
|
c978d88183
|
Test ArgConverter.
|
2014-08-15 08:40:13 -07:00 |
|
Victor Zverovich
|
fb32161fa4
|
Move implementation specific stuff from format.h to format.cc.
|
2014-08-15 08:40:03 -07:00 |
|
Victor Zverovich
|
c7cfa7d4e7
|
More tests.
|
2014-08-15 06:58:24 -07:00 |
|
Victor Zverovich
|
1a0c76a81a
|
Fix formatting of long double.
|
2014-08-13 07:51:02 -07:00 |
|
Victor Zverovich
|
18f1e08685
|
Test 'll' specifier.
|
2014-08-13 06:59:29 -07:00 |
|
Victor Zverovich
|
ddd087d8d1
|
Test more length specifiers.
|
2014-08-13 06:42:15 -07:00 |
|
Victor Zverovich
|
5614295aa1
|
Test 'l' specifier.
|
2014-08-12 08:15:39 -07:00 |
|
Victor Zverovich
|
7c14431211
|
Enable 'h' speciffier tests.
|
2014-08-12 06:49:27 -07:00 |
|
Victor Zverovich
|
adbf3f8b86
|
Rewrite length specifier tests without using printf to workaround broken MSVC implementation.
|
2014-08-11 08:34:17 -07:00 |
|
Victor Zverovich
|
137153b9f0
|
Take integer promotion into account.
|
2014-08-11 06:54:58 -07:00 |
|
Victor Zverovich
|
910dec5ed3
|
Fix 'l' specifier test.
|
2014-08-11 06:33:40 -07:00 |
|
Victor Zverovich
|
028d12dacd
|
Disable 'l' specifier tests.
|
2014-08-09 10:12:36 -07:00 |
|
Victor Zverovich
|
316ae7e244
|
Implement more printf length specifiers.
|
2014-08-09 10:04:35 -07:00 |
|
Victor Zverovich
|
6a8becb5bf
|
Rearrange tests to simplify inclusion in other projects, part 2.
|
2014-08-09 09:07:15 -07:00 |
|
Victor Zverovich
|
56fb75c2ec
|
Rearrange tests to simplify inclusion in other projects.
|
2014-08-09 09:04:38 -07:00 |
|
Victor Zverovich
|
bdbacde659
|
Test 'h' specifier.
|
2014-08-09 08:53:14 -07:00 |
|
Victor Zverovich
|
3465d056e7
|
Test hh specifier with unsigned char.
|
2014-08-08 06:59:17 -07:00 |
|
Victor Zverovich
|
566061d1f1
|
Fix formatting of signed ints in test.
|
2014-08-06 08:21:12 -07:00 |
|
Victor Zverovich
|
e04b07921f
|
Debug length specifier test.
|
2014-08-06 07:16:49 -07:00 |
|
Victor Zverovich
|
8b41b09add
|
Test 'hh' and 'h' printf specifiers.
|
2014-08-06 07:00:04 -07:00 |
|
Victor Zverovich
|
86bbd3c238
|
Test hh length.
|
2014-08-05 08:21:47 -07:00 |
|
Victor Zverovich
|
b797d39dd1
|
Test printf length.
|
2014-08-05 07:52:59 -07:00 |
|
Victor Zverovich
|
fc10d10b6b
|
Disable hh specifier tests for now because broken MSVC's printf causes test failures.
|
2014-08-01 08:50:09 -07:00 |
|
Victor Zverovich
|
a259c941e2
|
Implement 'l' length specifier.
|
2014-08-01 07:15:27 -07:00 |
|
Victor Zverovich
|
d81fafc295
|
Fix tests on MSVC, take 2.
|
2014-07-31 07:43:14 -07:00 |
|
Victor Zverovich
|
3f444fe3e2
|
Fix tests on MSVC.
|
2014-07-31 06:47:24 -07:00 |
|
Victor Zverovich
|
e2f0408b69
|
Print format string on failure.
|
2014-07-30 10:59:23 -07:00 |
|
Victor Zverovich
|
f4156b57f0
|
Implement 'hh' length specifier in printf.
|
2014-07-30 08:39:07 -07:00 |
|
Victor Zverovich
|
39b0930aee
|
Improve handling of 'h' length specifier in printf.
|
2014-07-30 08:08:08 -07:00 |
|
Victor Zverovich
|
eeca22357b
|
Handle 'h' length specifier in printf.
|
2014-07-30 07:37:16 -07:00 |
|
Victor Zverovich
|
e4c4e4e944
|
Improve handling of dynamic precision in printf.
|
2014-07-30 06:51:35 -07:00 |
|
Victor Zverovich
|
d346a4120d
|
FormatDec -> format_decimal
|
2014-07-29 08:45:29 -07:00 |
|
Victor Zverovich
|
138c3dccdc
|
Fix tests.
|
2014-07-29 08:11:49 -07:00 |
|
Victor Zverovich
|
8f8fd769ee
|
Fix Fix https://github.com/cppformat/cppformat/issues/50 in tests too.
|
2014-07-29 07:50:05 -07:00 |
|
Victor Zverovich
|
7a83dcd23e
|
Mind the lifetime.
|
2014-07-28 13:30:09 -07:00 |
|
Victor Zverovich
|
7e40ca6a9c
|
Fix a warning.
|
2014-07-28 09:08:21 -07:00 |
|
Victor Zverovich
|
4d049cf598
|
More fixes for https://github.com/cppformat/cppformat/issues/50.
|
2014-07-28 08:41:50 -07:00 |
|
Victor Zverovich
|
75b5eb4b9d
|
More fixes for https://github.com/cppformat/cppformat/issues/50.
|
2014-07-27 15:09:05 -07:00 |
|
Victor Zverovich
|
5d4803a567
|
More fixes for https://github.com/cppformat/cppformat/issues/50.
|
2014-07-27 12:53:42 -07:00 |
|
Victor Zverovich
|
a997de90eb
|
Fix https://github.com/cppformat/cppformat/issues/57.
|
2014-07-25 07:10:33 -07:00 |
|
Victor Zverovich
|
ee24839cbd
|
Fix tests.
|
2014-07-24 09:07:43 -07:00 |
|
Victor Zverovich
|
a7d94f0c61
|
Fix https://github.com/cppformat/cppformat/issues/55.
|
2014-07-22 12:37:10 -07:00 |
|
Victor Zverovich
|
e2a66c58e5
|
Simplify and test ArgVisitor.
|
2014-07-16 07:55:31 -07:00 |
|
Victor Zverovich
|
e3a2ac8725
|
Move StringValue to Arg & simplify StringTraits.
|
2014-07-14 08:04:17 -07:00 |
|
Victor Zverovich
|
8a66bb89b2
|
Complete ArgVisitor test.
|
2014-07-14 07:27:07 -07:00 |
|
Victor Zverovich
|
a7a18fac89
|
Fix util-test.
|
2014-07-14 07:17:58 -07:00 |
|
Victor Zverovich
|
591ad0a64a
|
Add ArgVisitor.
|
2014-07-14 06:55:29 -07:00 |
|
Victor Zverovich
|
4ecfdd50b6
|
Suppress error dialogs on assertion failures in MinGW.
|
2014-07-10 11:05:26 -07:00 |
|
Victor Zverovich
|
c0d55e6308
|
Remove WriteArrayOfUnknownSize because it shouldn't compile according to standard.
|
2014-07-10 08:42:33 -07:00 |
|
Victor Zverovich
|
16985f4764
|
Fix one more test failure on MinGW.
|
2014-07-09 10:13:44 -07:00 |
|
Victor Zverovich
|
d3a7a4c209
|
Fix StrError test.
|
2014-07-09 10:11:10 -07:00 |
|
Victor Zverovich
|
53a475ac94
|
Do fix a test.
|
2014-07-09 10:01:36 -07:00 |
|
Victor Zverovich
|
897397760c
|
Fix a test.
|
2014-07-09 09:55:13 -07:00 |
|
Victor Zverovich
|
e3a44c11f6
|
Add an overload of print that accepts std::ostream.
|
2014-07-09 06:56:36 -07:00 |
|
Victor Zverovich
|
ed421848b3
|
Test passing an array of unknown size as an argument.
|
2014-07-09 06:45:20 -07:00 |
|
Victor Zverovich
|
b9a06bafd8
|
internal::FormatParser -> BasicFormatter.
|
2014-07-08 16:38:50 -07:00 |
|
Victor Zverovich
|
e825156add
|
Move FormatParser to the internal namespace.
|
2014-07-08 16:20:33 -07:00 |
|
Victor Zverovich
|
f711266244
|
Test MakeArg. Clean the API.
|
2014-07-04 07:18:44 -07:00 |
|
Victor Zverovich
|
144e1fbb7c
|
Disallow formatting of wide strings when using a narrow string formatter.
|
2014-07-04 06:56:19 -07:00 |
|
Victor Zverovich
|
4e260e8599
|
Test MakeArg and fix formatting.
|
2014-07-03 08:50:57 -07:00 |
|
Victor Zverovich
|
43a873f7ff
|
Typo
|
2014-07-02 09:12:25 -07:00 |
|
Victor Zverovich
|
9fbdc32adc
|
Test MakeArg and handle bool, signed char and unsigned char.
|
2014-07-02 08:38:31 -07:00 |
|
Victor Zverovich
|
b8174bec30
|
Use Kill-o-Zap ⚡
|
2014-07-01 09:17:37 -07:00 |
|
Victor Zverovich
|
2dc108b31f
|
Remove deprecated code 🎆 🎆 🎆
|
2014-07-01 09:10:43 -07:00 |
|
Victor Zverovich
|
8e451911c9
|
Fix a warning.
|
2014-06-30 19:11:20 -07:00 |
|
Victor Zverovich
|
442c122c44
|
Fix warnings.
|
2014-06-30 18:38:45 -07:00 |
|