Commit Graph

32 Commits

Author SHA1 Message Date
Mario Werner
3019a8c1fd moved code into cppformat subdirectory
Proxy headers have been placed into the project root to emit
deprecation warnings.
2016-01-29 12:49:35 +01:00
Dean Moldovan
7d94b5bbeb Fix static_assert feature detection on clang 2015-11-12 21:03:08 +01:00
Ingo van Lil
b4b13ee2b8 Fix warnings when compiling with -Wundef 2015-11-02 13:55:31 +01:00
vitaut
438bd9b0e6 Add BasicCStringRef to represent a null-termated string (#100)
and use it instead of BasicStringRef in cases that assume that the
string is null-terminated such as POSIX function and format string
parser.
2015-06-26 07:43:54 -07:00
vitaut
9769f4b9ed Refactor posix tests 2015-06-24 08:43:30 -07:00
vitaut
97b33fe069 More mingw fixes 2015-03-12 08:57:25 -07:00
vitaut
23b7bfead0 More mingw fixes 2015-03-12 08:29:28 -07:00
vitaut
57f9f06619 More mingw fixes 2015-03-12 08:11:04 -07:00
vitaut
03ee6a0295 Fix mingw build 2015-03-12 08:00:56 -07:00
vitaut
b2207f9d05 Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/ 2015-03-12 07:24:15 -07:00
vitaut
752580a5c2 Move sys/types.h include to posix.h for MinGW 2015-03-12 07:09:44 -07:00
vitaut
93cfe9951b Woraround for braindamaged versions of MinGW 2015-03-12 06:48:14 -07:00
Victor Zverovich
7c0a23329e Update copyright notices 2015-03-03 21:04:45 -08:00
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