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
|
4888000f32
|
Fix a warning
|
2015-05-07 07:19:28 -07:00 |
|
vitaut
|
5aecd4947f
|
Use GetFileSize instead of GetFileSizeEx on Windows
|
2015-03-16 08:52:23 -07:00 |
|
vitaut
|
c6d3a73201
|
Workaround MinGW's braindamage
|
2015-03-16 08:43:59 -07:00 |
|
vitaut
|
97b33fe069
|
More mingw fixes
|
2015-03-12 08:57:25 -07:00 |
|
vitaut
|
82a3e78e04
|
Indent
|
2015-03-12 08:57:00 -07:00 |
|
vitaut
|
9f19796ef0
|
Remove extra #endif
|
2015-03-12 08:37:07 -07:00 |
|
vitaut
|
23b7bfead0
|
More mingw fixes
|
2015-03-12 08:29:28 -07:00 |
|
vitaut
|
03ee6a0295
|
Fix mingw build
|
2015-03-12 08:00:56 -07:00 |
|
vitaut
|
6bca5ca109
|
Woraround a bug in MinGW
|
2015-03-12 07:49:01 -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 |
|
Victor Zverovich
|
7c0a23329e
|
Update copyright notices
|
2015-03-03 21:04:45 -08:00 |
|
Victor Zverovich
|
fede517b22
|
Don't define _CRT_SECURE_NO_WARNINGS if it is already defined
This is done to avoid warnings.
|
2015-02-25 17:20:26 -08:00 |
|
Carter Li
|
3f574c1611
|
Silence warnings on Windows
|
2015-02-17 10:11:42 +08:00 |
|
Carter Li
|
e2583ab5f3
|
Use throw() when noexcept is not supported
|
2015-02-14 09:58:29 +08:00 |
|
Victor Zverovich
|
c95908bd8c
|
Disable bogus MSVC warnings
|
2014-12-17 06:41:21 -08:00 |
|
Victor Zverovich
|
c630d1f236
|
Disable "secure" warnings in posix.
|
2014-12-16 07:07:09 -08:00 |
|
Victor Zverovich
|
74169e4b5d
|
Add a portable getpagesize() implementation
|
2014-09-12 13:53:52 -07:00 |
|
Victor Zverovich
|
225b757b50
|
Handy fix for handling of handles.
|
2014-09-12 12:37:32 -07:00 |
|
Victor Zverovich
|
cb7caa540f
|
Move FMT_STATIC_ASSERT to header and test.
|
2014-09-12 12:05:32 -07:00 |
|
Victor Zverovich
|
ea9989b254
|
Add missing include.
|
2014-09-12 11:57:33 -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
|
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
|
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
|
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
|
4d049cf598
|
More fixes for https://github.com/cppformat/cppformat/issues/50.
|
2014-07-28 08:41:50 -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
|
8321d0ecf9
|
Fix warnings on MinGW.
|
2014-07-09 08:39:01 -07:00 |
|
Victor Zverovich
|
53201033f2
|
Refactor error reporting API.
|
2014-06-30 14:26:29 -07:00 |
|
Constantine Tarasenkov
|
6aace693db
|
Changes for MinGW compiler
|
2014-06-11 02:38:57 +04: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 |
|