Commit Graph

20 Commits

Author SHA1 Message Date
9e5cfc0dc6 build: many compilation fixes for win32 2019-01-04 17:13:21 +11:00
c92f450ff8 win32/file: add basic file wrapper 2019-01-04 17:13:21 +11:00
300ae9df73 win32/windows: add a defensive windows wrapper header 2018-08-27 14:16:27 +10:00
93f9cb7c0e win32/registry: add subkey iteration helpers 2018-08-24 17:32:04 +10:00
058a86ba05 win32/handle: take ownership of any supplied fd
CloseHandle, close, and memory mapping interact poorly so it's a little safer
to dup the fd before taking ownership of it.
2018-08-22 21:34:02 +10:00
4b30235164 win32/registry: resize the value by the correct amount 2018-08-20 16:14:09 +10:00
d8f916a25b win32: add except::try_func 2018-08-14 16:47:59 +10:00
2e3aaa4c17 win32: add except::try_value 2018-08-14 16:47:44 +10:00
b60aaccf6f build; fix compilation errors under win32
win32 builds are still totally unsupported, untested, and functionally
broken.
2018-08-13 14:52:40 +10:00
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
abfc3c7878 except: move posix/win32 exceptions to own units 2017-12-19 18:18:10 +11:00
77c88438d4 except: move posix/win32 exceptions to own units 2017-12-18 15:46:52 +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
353cf839d4 use nested namespace declarations 2017-01-05 15:06:49 +11:00
286dd1278f build: remove sign comparison mismatch 2016-11-17 18:38:08 +11:00
41a8efa200 win32/handle: make HANDLE constructor explicit 2016-08-25 12:03:48 +10:00
cc001c4788 win32/handle: merge various handle wrapper classes 2016-04-27 17:01:45 +10:00
3a2b33e0df win32/handle: add simple handle wrapper 2016-04-19 16:08:25 +10:00
1a2aa64af6 win32: add registry wrapper 2015-08-10 15:50:43 +10:00