Commit Graph

75 Commits

Author SHA1 Message Date
23b0a7b146 remove annotations header
The annotations were never particularly robust, and weren't used in many
locations (or consistently). And we should be migrating to c++14
annotation syntax anyway. By focusing on writing them all locally we
will be a little more standards compliant, and the attributes should be
more visible.
2014-10-17 19:24:53 +11:00
abfe4daac3 io: default mapped_file to read only
This is vastly safer compared to write by default. No more unexpectedly
changing files.
2014-09-29 16:19:16 +10:00
c9fae9f23a io: rename mapped_file end/begin to cend/cbegin 2014-08-22 19:07:22 +10:00
51b119f0fc io: move identer ostream to util namespace 2014-08-01 20:43:51 +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
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
c76914b354 io: add make_indented 2014-06-29 22:49:26 +10:00
1fbc37cc63 Fix some whitespace 2012-11-09 15:17:32 +11:00
b17f7691a1 Add a simple write string to file method 2012-08-15 16:03:48 +10:00
1021ac10d6 Canonicalise before storing scoped_cwd directory 2012-05-08 15:06:01 +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
a3d965b917 Change licencing from waif to libgim 2012-04-11 15:21:00 +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
20f81a7630 Correct package name in copyright headers
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +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