Commit Graph

30 Commits

Author SHA1 Message Date
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