Commit Graph

25 Commits

Author SHA1 Message Date
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
8d921aacc2 io_posix: fake the mapping of zero length files 2018-07-05 13:45:10 +10:00
497d3ca970 build: update for gcc-8.1 warnings 2018-05-03 18:32:08 +10:00
1d11f05918 cast: move casting functions into util::cast namespace 2018-01-16 15:11:15 +11:00
77c88438d4 except: move posix/win32 exceptions to own units 2017-12-18 15:46:52 +11:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
fcc78eb103 io_posix: style
improve the code style for 80 column limitations
2017-07-19 17:20:51 +10:00
1662856e82 io: use size_t result for mapped_file::size 2016-10-25 19:57:13 +11:00
1b5ad41b5d io: use intmax for size to match mmap output 2016-10-25 17:50:11 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
598c5d4e48 change const char paths to std::filesystem::path 2016-10-08 17:18:18 +11:00
152a55ad78 Merge remote-tracking branch 'origin/master' 2016-10-02 16:13:31 +11:00
790728d3b1 posix/fd: extract file descriptor into own unit 2016-10-02 15:50:13 +11:00
f9fd156df8 io_posix: add fd constructors to mapped_file 2016-08-02 18:51:04 +10:00
0b128384eb io: add lval ref-qualifiers to mapped_file members 2016-06-28 14:23:42 +10:00
8c5c98f5cc io: add const begin/end to mapped_file 2016-06-28 14:14:23 +10:00
de6ea736a1 io_posix: add mapped_file::empty implementation 2016-04-27 17:06:09 +10:00
ddfb765110 io: ignore failed zero length posixed mapped_files 2016-04-27 17:02:47 +10: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
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
da3b709eca style 2015-01-07 16:00:12 +11:00
7d5eac3f2f io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00