Commit Graph

44 Commits

Author SHA1 Message Date
a73bf29e03 io: style 2016-03-17 18:07:45 +11:00
b864ffa00b io: find the exact storage for the FILE overload 2016-03-17 18:07:08 +11:00
ecb97143cf io: don't add a null terminator with slurp 2016-03-17 18:06:45 +11:00
a59844be98 don't pull in namespace std 2016-03-11 13:28:56 +11:00
18c3a1eaaf io: record path in path_error 2016-02-12 13:36:03 +11:00
424e6e8701 cast: move types/casts to cast 2015-11-17 16:19:27 +11:00
620c2d3eb1 io: add FILE slurp overload 2015-10-29 17:52:19 +11:00
cb12d4fd1f io: remove redundant write overloads 2015-10-29 10:51:42 +11:00
73720feceb io: remove access_flag abstraction 2015-10-29 10:48:11 +11:00
0967c5252f io: remove useless chdir wrapper
just use chdir directly.
2015-09-15 21:09:37 +10:00
2741cf6375 build: quiesce analyzer warnings 2015-09-09 18:45:23 +10:00
75a1f1e5e7 io: add more write overloads 2015-07-02 16:34:17 +10:00
653ada4bfd io: change slurp return type to vector 2015-06-11 19:28:03 +10:00
33b3b48c74 io: rename fd_ref to fd 2015-06-11 19:27:42 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
3d3c1a5f2f build: instantiate templates in declared namespace 2015-01-10 19:40:32 +11:00
1c009b9602 io: add permissions to fd_ref open call 2014-12-30 18:37:59 +11:00
46686dbc64 io: templatise write on output data type 2014-12-30 18:37:36 +11:00
debdd77610 io: add O_CREAT to flags with ACCESS_WRITE 2014-12-30 18:37:04 +11:00
7d5eac3f2f io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00
b8ba95f365 io: use appropriate string types for windows 2014-12-05 13:20:44 +11:00
c9fae9f23a io: rename mapped_file end/begin to cend/cbegin 2014-08-22 19:07:22 +10:00
503f5e2eff io: require access flags for mapped_file 2014-07-29 02:20:02 +10:00
1a461eddf0 io: give mapped_file begin/end accessors 2014-07-15 19:48:59 +10:00
f559f3d912 io: use more appropriate exceptions in fd_ref 2014-07-15 19:48:34 +10:00
a9af10ec42 io: give fd_ref a flags argument 2014-07-15 19:47:15 +10:00
f46c090c72 io: allow mutable memory for mapped_file 2014-07-07 15:21:17 +10:00
b17f7691a1 Add a simple write string to file method 2012-08-15 16:03:48 +10:00
f9cc4926f2 Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
1021ac10d6 Canonicalise before storing scoped_cwd directory 2012-05-08 15:06:01 +10:00
8624cf7b06 Add O_BINARY to open for Win32 2012-05-08 15:04:31 +10:00
c8f464aa7b Add a scoped CWD restorer, and set method 2012-04-26 18:19:37 +10:00
cf63a35e94 Give fd_ref a fs::path constructor 2012-04-26 18:19:12 +10:00
1d59bae113 Change slurp to return a unique_ptr 2012-04-26 18:18:39 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
4a092f92cb Update header licences and copyright dates 2012-04-12 16:09:02 +10:00
f75c514d96 Add scoped ostream indenter class 2012-04-12 14:07:46 +10:00
f02501eb5e Move io functions into the util namespace 2011-10-01 01:58:10 +10:00
f6d96fbe1b Expose mapped_file only if mmap is available 2011-07-06 19:29:38 +10:00
a3a6765d38 Slurp should take a const source path 2011-07-06 19:29:34 +10:00
060e2ebac8 added slurp routine and comments 2011-05-25 23:02:39 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00