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
|
82d4d11c11
|
format -> cppformat
|
2014-08-29 09:18:53 -07:00 |
|
Victor Zverovich
|
5debb2aa86
|
Refactor error reporting to reduce duplication.
|
2014-08-29 08:16:10 -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
|
3947a7a98c
|
Move check_sign to anonymous namespace.
|
2014-08-29 06:57:53 -07:00 |
|
Victor Zverovich
|
ab35af53c5
|
Check result of fread.
|
2014-08-29 06:57:26 -07:00 |
|
Victor Zverovich
|
e62354a190
|
Fix build.
|
2014-08-28 14:51:01 -07:00 |
|
Victor Zverovich
|
eab0b577f8
|
Report filename in exception.
|
2014-08-28 13:42:07 -07:00 |
|
Victor Zverovich
|
e44619707e
|
Fix Windows build.
|
2014-08-28 12:46:30 -07:00 |
|
Victor Zverovich
|
2dad1690c8
|
Fix BufferefFile test on Windows.
|
2014-08-28 12:13:03 -07:00 |
|
Victor Zverovich
|
564da25932
|
Add ctor & print method to BufferedFile.
|
2014-08-28 11:53:05 -07:00 |
|
Victor Zverovich
|
108cd1d1a0
|
Fix anchor.
|
2014-08-28 10:18:13 -07:00 |
|
Victor Zverovich
|
32344d9b14
|
Comment
|
2014-08-28 08:11:21 -07:00 |
|
Victor Zverovich
|
c57d7a506f
|
Factor out argument processing logic common between format and printf to FormatterBase::{next_arg,get_arg}.
|
2014-08-28 08:05:47 -07:00 |
|
Victor Zverovich
|
56fc525e98
|
Get rid of FormatterBase::error_.
|
2014-08-28 07:48:55 -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
|
9646e38c3b
|
Don't use error_ in parse_arg_index.
|
2014-08-27 09:13:42 -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
|
45397e5046
|
Add dependency from CMakeLists.txt since it is used to get version.
|
2014-08-21 08:51:45 -07:00 |
|
Victor Zverovich
|
034aedb6d4
|
Bump version.
|
2014-08-21 08:49:58 -07:00 |
|
Victor Zverovich
|
dd4323f31c
|
Add fprintf and write docs.
|
2014-08-21 08:49:13 -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
|
406c6123fb
|
Cleanup
|
2014-08-19 08:47:38 -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
|
61857356ea
|
Fix appveyor config.
|
2014-08-17 08:01:00 -07:00 |
|
Victor Zverovich
|
2462c61d05
|
Enable output for test failures.
|
2014-08-17 07:56:48 -07:00 |
|
Victor Zverovich
|
adce0245dc
|
Fix a warning.
|
2014-08-17 07:53:55 -07:00 |
|
Victor Zverovich
|
366e852f00
|
Fix a warning.
|
2014-08-15 16:35:41 -07:00 |
|
Victor Zverovich
|
bb01633d19
|
Fix a warning.
|
2014-08-15 09:03:59 -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 |
|