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 |
|
Victor Zverovich
|
35866bb2c2
|
Fix warnings.
|
2014-06-30 18:12:57 -07:00 |
|
Victor Zverovich
|
182d8178fe
|
Fix one more Windows issue.
|
2014-06-30 17:01:31 -07:00 |
|
Victor Zverovich
|
3c72e0c18b
|
Fix Windows build, take 2.
|
2014-06-30 16:56:22 -07:00 |
|
Victor Zverovich
|
b939860d6e
|
write -> write_str
|
2014-06-30 15:44:08 -07:00 |
|
Victor Zverovich
|
53201033f2
|
Refactor error reporting API.
|
2014-06-30 14:26:29 -07:00 |
|
Victor Zverovich
|
e63a0ff125
|
Deprecate c_str() and str().
|
2014-06-30 06:43:53 -07:00 |
|
Victor Zverovich
|
a1264926a0
|
Writer::format -> Writer::write. Make fmt::format return string.
|
2014-06-29 11:51:10 -07:00 |
|
Victor Zverovich
|
d5b8196749
|
Update the API.
|
2014-06-28 21:56:40 -07:00 |
|
Victor Zverovich
|
856e129cc6
|
Don't use deprecated API.
|
2014-06-28 20:03:46 -07:00 |
|
Victor Zverovich
|
c649007ed8
|
Don't use deprecated API.
|
2014-06-28 19:59:44 -07:00 |
|
Victor Zverovich
|
0914c91284
|
Don't use deprecated API.
|
2014-06-28 19:53:15 -07:00 |
|
Victor Zverovich
|
421cb0ad18
|
Update test.
|
2014-06-28 19:47:41 -07:00 |
|
Victor Zverovich
|
4d5b1e8a13
|
Update the API and tests.
|
2014-06-28 17:35:57 -07:00 |
|
Victor Zverovich
|
876a5d1f43
|
Update more tests.
|
2014-06-28 16:05:02 -07:00 |
|
Victor Zverovich
|
e06e9f885c
|
Deprecate Format and update tests.
|
2014-06-28 15:58:02 -07:00 |
|
Victor Zverovich
|
09f40191f4
|
Fix build, take 2.
|
2014-06-28 14:57:06 -07:00 |
|
Victor Zverovich
|
c164cb6ecd
|
Fix build.
|
2014-06-28 14:53:16 -07:00 |
|
Victor Zverovich
|
75e078748a
|
Format -> format
|
2014-06-28 14:50:16 -07:00 |
|
Victor Zverovich
|
5edda531f6
|
Add fmt::format and deprecate fmt::Format.
|
2014-06-28 14:48:42 -07:00 |
|
Victor Zverovich
|
9c8db26457
|
Fix build, take 2.
|
2014-06-28 13:06:49 -07:00 |
|
Victor Zverovich
|
3b3f76b809
|
Fix build.
|
2014-06-28 13:03:39 -07:00 |
|
Victor Zverovich
|
4f4e6c965f
|
Fix MSVC build. FormatError -> FormatMessage to avoid ambiguity.
|
2014-06-28 12:49:51 -07:00 |
|
Victor Zverovich
|
a0e2f52247
|
MSVC workaround.
|
2014-06-28 12:05:32 -07:00 |
|
Victor Zverovich
|
3b18ecb24a
|
FMT_FOR_EACH_NARG -> FMT_NARG.
|
2014-06-28 11:30:15 -07:00 |
|
Victor Zverovich
|
be7473b401
|
Test FMT_VARIADIC.
|
2014-06-28 11:20:04 -07:00 |
|
Victor Zverovich
|
2f6dddd6fd
|
Simplify FMT_VARIADIC.
|
2014-06-28 11:07:43 -07:00 |
|
Victor Zverovich
|
360bfbdd50
|
Use 0-based indices. Test FMT_FOR_EACH*.
|
2014-06-28 10:32:37 -07:00 |
|
Victor Zverovich
|
bf25ef6455
|
FMT_TEMPLATE -> FMT_WRAP
|
2014-06-28 09:15:51 -07:00 |
|
Victor Zverovich
|
08e2dffa86
|
Add macro test.
|
2014-06-25 07:50:33 -07:00 |
|
Victor Zverovich
|
55f6640cae
|
Fix test.
|
2014-06-24 11:13:18 -07:00 |
|
Victor Zverovich
|
302b8f4406
|
Fix MSVC build, take 2.
|
2014-06-24 10:46:01 -07:00 |
|
Victor Zverovich
|
73fda2a8b1
|
Fix error on MSVC.
|
2014-06-24 10:30:37 -07:00 |
|
Victor Zverovich
|
0195f543d9
|
Initial support for variadic functions without C++11.
|
2014-06-24 10:14:50 -07:00 |
|
Victor Zverovich
|
d0587445cb
|
Test negative precision.
|
2014-06-23 08:39:32 -07:00 |
|
Victor Zverovich
|
4099a1269b
|
Add support for negative width.
|
2014-06-23 08:10:50 -07:00 |
|
Victor Zverovich
|
8a8be2267d
|
More tests.
|
2014-06-23 07:17:58 -07:00 |
|
Victor Zverovich
|
1a75ed01cd
|
Implement dynamic precision in printf.
|
2014-06-23 07:16:46 -07:00 |
|
Victor Zverovich
|
0552f5b809
|
Test precision.
|
2014-06-23 07:07:10 -07:00 |
|
Victor Zverovich
|
6238f2daa1
|
Make precision and alignment work together.
|
2014-06-21 08:18:05 -07:00 |
|
Victor Zverovich
|
ca31c2b322
|
Fix handling of octal prefix.
|
2014-06-20 08:04:44 -07:00 |
|
Victor Zverovich
|
c556926597
|
Implement precision + fill.
|
2014-06-20 07:59:23 -07:00 |
|
Victor Zverovich
|
879838a539
|
Implement integer precision.
|
2014-06-20 07:34:02 -07:00 |
|
Victor Zverovich
|
cb743c0249
|
Parse printf format specs.
|
2014-06-19 07:40:35 -07:00 |
|
Victor Zverovich
|
7d5da66db9
|
Clean
|
2014-06-17 06:54:08 -07:00 |
|
Victor Zverovich
|
1275923a68
|
Implement dynamic width in printf.
|
2014-06-17 06:53:48 -07:00 |
|
Victor Zverovich
|
8666ea82f7
|
Merge branch 'master' of github.com:cppformat/cppformat
|
2014-06-16 07:49:37 -07:00 |
|
Victor Zverovich
|
da9457da61
|
Add a test case for https://github.com/cppformat/cppformat/pull/47
|
2014-06-16 07:48:57 -07:00 |
|
Constantine Tarasenkov
|
6aace693db
|
Changes for MinGW compiler
|
2014-06-11 02:38:57 +04:00 |
|
Victor Zverovich
|
11f76fea94
|
Fix test, take 2.
|
2014-06-10 08:57:28 -07:00 |
|
Victor Zverovich
|
e1d4690566
|
Fix test.
|
2014-06-10 08:15:38 -07:00 |
|
Victor Zverovich
|
a2828412b6
|
Fix tests.
|
2014-06-10 07:36:23 -07:00 |
|
Victor Zverovich
|
03776dd988
|
Add support for hexadecimal floating point format specifiers a and A.
|
2014-06-10 07:03:49 -07:00 |
|
Victor Zverovich
|
546b62e74f
|
More tests.
|
2014-06-10 06:21:41 -07:00 |
|
Victor Zverovich
|
e7b6896c43
|
Fix tests.
|
2014-06-09 09:57:34 -07:00 |
|
Victor Zverovich
|
eaa89e23d7
|
Put File, BufferedFile & ErrorCode in the fmt namespace.
|
2014-06-09 09:07:27 -07:00 |
|
Victor Zverovich
|
b692ab58b2
|
Move POSIX wrappers to separate files.
|
2014-06-09 08:33:48 -07:00 |
|
Victor Zverovich
|
b4dc0301f6
|
Disable test.
|
2014-06-09 08:17:14 -07:00 |
|
Victor Zverovich
|
f51fc08670
|
More tests.
|
2014-06-09 07:40:51 -07:00 |
|
Victor Zverovich
|
80c99760fb
|
Fix warnings.
|
2014-06-07 07:11:34 -07:00 |
|
Victor Zverovich
|
1ed23b9127
|
Warng about compilers mishandling negative NaN.
|
2014-06-06 18:54:45 -07:00 |
|
Victor Zverovich
|
acf94abffd
|
Fix build.
|
2014-06-06 11:14:53 -07:00 |
|
Victor Zverovich
|
5b054ae7b8
|
Test signbit.
|
2014-06-06 11:04:27 -07:00 |
|
Victor Zverovich
|
8ed2243a3c
|
Workaround windows brain damage.
|
2014-06-06 08:18:53 -07:00 |
|
Victor Zverovich
|
9a33891e97
|
Add missing include.
|
2014-06-06 08:07:05 -07:00 |
|
Victor Zverovich
|
f16aff8033
|
Simplify tests.
|
2014-06-06 08:01:25 -07:00 |
|
Victor Zverovich
|
18316cb25f
|
Fix windows build.
|
2014-06-06 07:29:57 -07:00 |
|
Victor Zverovich
|
9aba05b76a
|
Parse '0' flag.
|
2014-06-06 07:07:57 -07:00 |
|
Victor Zverovich
|
bf8b29fbe7
|
Add initial support for printf format specifications.
|
2014-06-06 06:38:37 -07:00 |
|
Victor Zverovich
|
b65c19012a
|
Test write count conversion.
|
2014-05-19 08:37:28 -07:00 |
|
Victor Zverovich
|
49fac7666c
|
Test read count conversion.
|
2014-05-19 08:25:08 -07:00 |
|
Victor Zverovich
|
3159170383
|
Fix warnings.
|
2014-05-19 07:53:16 -07:00 |
|
Victor Zverovich
|
f578bc3a4a
|
More tests. Fix warnings.
|
2014-05-19 07:31:05 -07:00 |
|
Victor Zverovich
|
952fd7a756
|
Comment.
|
2014-05-19 07:30:32 -07:00 |
|
Victor Zverovich
|
5bd9efebda
|
Fix Windows build, take 2.
|
2014-05-18 12:38:01 -07:00 |
|
Victor Zverovich
|
df991a0f46
|
Fix Windows build.
|
2014-05-18 11:09:37 -07:00 |
|
Victor Zverovich
|
f21fa23186
|
More posix tests.
|
2014-05-18 10:05:29 -07:00 |
|
Victor Zverovich
|
e654f56210
|
Test fdopen.
|
2014-05-18 10:04:49 -07:00 |
|
Victor Zverovich
|
bd205aea28
|
Fix test.
|
2014-05-16 09:16:29 -07:00 |
|
Victor Zverovich
|
ed2caaf265
|
No need for retry on Windows.
|
2014-05-16 09:09:54 -07:00 |
|
Victor Zverovich
|
f1eab158c5
|
Test retry on EINTR in read, write, dup & dup2.
|
2014-05-16 07:07:43 -07:00 |
|
Victor Zverovich
|
232e5c3a3b
|
Test retry on EINTR in close.
|
2014-05-16 06:25:20 -07:00 |
|
Victor Zverovich
|
fb17316d77
|
Use stdio.h instead of cstdio for fdopen. Wrap all used POSIX functions for testing.
|
2014-05-15 08:58:10 -07:00 |
|
Victor Zverovich
|
d758dbb33a
|
Add tests.
|
2014-05-15 07:45:44 -07:00 |
|
Victor Zverovich
|
34648f4019
|
Test EXPECT_SYSTEM_ERROR.
|
2014-05-14 09:01:16 -07:00 |
|
Victor Zverovich
|
5415b2a43b
|
Fix example.
|
2014-05-14 08:20:20 -07:00 |
|
Victor Zverovich
|
c3b3c0fafe
|
Fix warning.
|
2014-05-14 07:45:21 -07:00 |
|
Victor Zverovich
|
a59dc93764
|
Fix ReportSystemError and ReportWinError tests.
|
2014-05-14 06:58:13 -07:00 |
|
Victor Zverovich
|
bb93cf12a7
|
Add a test.
|
2014-05-14 06:45:39 -07:00 |
|
Victor Zverovich
|
39561f8a08
|
Add tests.
|
2014-05-13 06:51:17 -07:00 |
|
Victor Zverovich
|
9c75b9eaa1
|
Fix warning.
|
2014-05-06 12:17:31 -07:00 |
|
Victor Zverovich
|
e283930566
|
Fix warnings.
|
2014-05-06 12:13:16 -07:00 |
|
Victor Zverovich
|
72ad3781a4
|
Don't use .travis.yml in tests.
|
2014-05-06 12:03:12 -07:00 |
|
Victor Zverovich
|
45c50a9f1a
|
Fix warning.
|
2014-05-06 11:34:00 -07:00 |
|
Victor Zverovich
|
44b57bdf8b
|
Fix warnings.
|
2014-05-06 11:29:07 -07:00 |
|
Victor Zverovich
|
aab84f67a4
|
Fix warnings.
|
2014-05-06 11:24:20 -07:00 |
|
Victor Zverovich
|
6bd3880cf1
|
Fix test.
|
2014-05-06 10:38:23 -07:00 |
|
Victor Zverovich
|
6a5f27bed2
|
Add test.
|
2014-05-06 09:17:53 -07:00 |
|
Victor Zverovich
|
eb09e58697
|
Fix warnings.
|
2014-05-06 08:13:28 -07:00 |
|
Victor Zverovich
|
5cf3b6dc7d
|
Add a Print overload that writes to a file.
|
2014-05-06 08:05:51 -07:00 |
|
Victor Zverovich
|
2e50361a29
|
dup -> copy
|
2014-05-06 08:05:14 -07:00 |
|
Victor Zverovich
|
b322a1f58b
|
Fix MSVC build.
|
2014-05-06 07:29:50 -07:00 |
|
Victor Zverovich
|
e1c86f0b5d
|
Fix warnings.
|
2014-05-06 06:58:32 -07:00 |
|
Victor Zverovich
|
fb4ccac951
|
Add BufferedFile::fileno.
|
2014-05-06 06:45:53 -07:00 |
|
Victor Zverovich
|
494f53421e
|
Fix warnings.
|
2014-05-06 06:11:39 -07:00 |
|
Victor Zverovich
|
e44a2be8b9
|
Make BufferedFile::close public.
|
2014-05-05 17:38:39 -07:00 |
|
Victor Zverovich
|
cada26d226
|
Suppress asserts locally.
|
2014-05-05 17:07:21 -07:00 |
|
Victor Zverovich
|
2ecce39ca9
|
More tests.
|
2014-05-05 12:52:16 -07:00 |
|
Victor Zverovich
|
0aacd0cf6d
|
Replace EXPECT_STDOUT and EXPECT_STDERR with a single macro EXPECT_WRITE.
|
2014-05-05 08:35:59 -07:00 |
|
Victor Zverovich
|
098f8ac343
|
Evaluate EXPECT_STD* output argument once.
|
2014-05-05 08:20:01 -07:00 |
|
Victor Zverovich
|
758283f7d9
|
Fix tests.
|
2014-05-05 08:19:35 -07:00 |
|
Victor Zverovich
|
03ca48f3e7
|
Test calling RestoreAndRead twice.
|
2014-05-05 07:31:56 -07:00 |
|
Victor Zverovich
|
536e61386d
|
Evaluate message argument passed to EXPECT_THROW_MSG once.
|
2014-05-05 07:31:38 -07:00 |
|
Victor Zverovich
|
368505ebe9
|
Fix tests.
|
2014-05-05 07:31:03 -07:00 |
|
Victor Zverovich
|
5434b0282c
|
Don't die on Windows.
|
2014-05-05 07:11:54 -07:00 |
|
Victor Zverovich
|
3555341ab4
|
Fix test.
|
2014-05-04 18:23:06 -07:00 |
|
Victor Zverovich
|
a07350a0d4
|
More tests.
|
2014-05-04 10:08:29 -07:00 |
|
Victor Zverovich
|
6a4a9b773c
|
More tests.
|
2014-05-04 09:01:18 -07:00 |
|
Victor Zverovich
|
02b185751f
|
Add BufferedFile. OutputRedirector -> OutputRedirect.
|
2014-05-04 06:44:50 -07:00 |
|