Commit Graph

19 Commits

Author SHA1 Message Date
Victor Zverovich
c746122623 Remove extra whitespace 2015-02-25 16:23:11 -08:00
carterl
9331533309 Use __GXX_EXPERIMENTAL_CXX0X__ for better C++11 detection 2015-02-15 04:16:23 +01:00
carterl
43b9fefbd2 Use static_assert more actively 2015-02-15 03:55:21 +01:00
Carter Li
e2583ab5f3 Use throw() when noexcept is not supported 2015-02-14 09:58:29 +08: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
e34e9fa0c7 Add File::size and make File's ctor take StringRef. 2014-09-12 10:50:16 -07:00
Victor Zverovich
f175591923 Return size_t instead of streamsize in File::read and File::write
File::read and File::write throw exception on error, so they don't need to return a negative value to indicate error.
2014-09-12 09:38:37 -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
4e260e8599 Test MakeArg and fix formatting. 2014-07-03 08:50:57 -07:00
Victor Zverovich
e2cbee77b8 Fix coding style issues. 2014-06-10 09:17:24 -07:00
Victor Zverovich
07095e85b2 Fix formatting and comment why fcntl.h is included. 2014-06-10 07:36:50 -07:00
Victor Zverovich
ed19147441 Fix build, take 2. 2014-06-09 10:16:13 -07:00
Victor Zverovich
e7b6896c43 Fix tests. 2014-06-09 09:57:34 -07:00
Victor Zverovich
5222f59cc0 Fix build. 2014-06-09 09:35:12 -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