Commit Graph

27 Commits

Author SHA1 Message Date
Victor Zverovich
434e83a192 Fix posix-test. 2014-09-12 17:16:22 -07:00
Victor Zverovich
ddd95965e1 Fix MaxSize test. 2014-09-12 16:52:15 -07:00
Victor Zverovich
a3062f6647 Disambiguate a call 2014-09-12 16:18:04 -07:00
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
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
75b5eb4b9d More fixes for https://github.com/cppformat/cppformat/issues/50. 2014-07-27 15:09:05 -07:00
Victor Zverovich
a1264926a0 Writer::format -> Writer::write. Make fmt::format return string. 2014-06-29 11:51:10 -07:00
Victor Zverovich
421cb0ad18 Update test. 2014-06-28 19:47:41 -07:00
Victor Zverovich
eaa89e23d7 Put File, BufferedFile & ErrorCode in the fmt namespace. 2014-06-09 09:07:27 -07:00
Victor Zverovich
80c99760fb Fix warnings. 2014-06-07 07:11:34 -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
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
bd205aea28 Fix test. 2014-05-16 09:16:29 -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