Commit Graph

3362 Commits

Author SHA1 Message Date
a47d8602bd adapter: add the 'identity' adapter 2019-08-06 14:31:48 +10:00
04c5470a59 preprocessor: add the empty, defer, obstruct, and expand macros 2019-08-02 13:41:05 +10:00
0bb092b92f pool: add clone and move assignment operators 2019-08-02 08:14:18 +10:00
766e7d0370 parallel/stack: add clone method 2019-08-02 08:13:39 +10:00
e723684347 rdrand: silence a type conversion warning under clang 2019-07-29 11:20:09 +10:00
2d9a7109b1 debug/assert: give WARN_RETURN a sane name 2019-07-19 16:33:37 +10:00
07b1b04abc types/tagged: change requirements to trivially copyable+destructible
We don't care about constructible given we do that ourselves internally.
2019-07-15 14:34:55 +10:00
4033ec7df1 region: actually act on sanity queries 2019-07-12 15:27:34 +10:00
70da3ec2d4 debug;posix: prefer SIGINT for breakpoint 2019-07-02 17:36:09 +10:00
af01ba0836 debug/system: make last-chance printing more reliable 2019-07-02 17:36:09 +10:00
928cdb4e8b backtrace: give consistent outputs for backtrace 2019-07-02 16:39:40 +10:00
d0950a97fa posix/fd: fix the win32 pwrite emulation
We had assumed that WriteFile/OVERLAPPED operations didn't modify the
file cursor. This was wrong. We emulate the POSIX behaviour using a few
explicit seek calls.

This introduces an incorrect transient state, but isn't a huge problem
for our use cases.
2019-07-01 15:44:17 +10:00
0db1d54a93 build;gitlab: set CMAKE_MODULE_PATH to our local cmake modules 2019-06-29 09:13:26 +10:00
2089893124 rand/system_linux: avoid the 'linux' symbol as it's a platform define 2019-06-29 08:18:59 +10:00
0df4fd4bfa cpuid/x86: use leaf 80000008 for AMD physical core counts 2019-06-28 16:57:47 +10:00
471c81c43a cpuid/x86: move the result struct into an anonymous namespace 2019-06-28 16:11:49 +10:00
d40d454ca4 sysinfo;win32: don't print the username null terminator 2019-06-28 15:14:34 +10:00
5c14eb01e1 cpuid/x86: avoid trailing nulls in output and storage 2019-06-25 14:53:45 +10:00
6473b36cf7 thread/thread;win32: correctly refer to relative win32 headers 2019-06-23 08:54:48 +10:00
01094611eb thread: add minimal thread primitives for win32
This allows us to get around the lack of these types under MinGW
2019-06-22 15:46:34 +10:00
eb90d1a239 meson: add a declared dependency 2019-06-22 08:19:42 +10:00
bbbc23cd67 meson: prefer project local arguments over global ones 2019-06-22 08:19:23 +10:00
493317cc9c build: label installation targets with 'development' component 2019-06-21 15:55:39 +10:00
b9d534048d sysinfo;win32: update error checking 2019-06-20 17:21:35 +10:00
3cace81ea5 rand/system;win32: add an RtlGenRandom generator 2019-06-20 16:58:32 +10:00
e0350f912b string: tokeniser value_type should be view<Iterator> 2019-06-20 16:31:22 +10:00
9243f259e2 iterator/infix: style 2019-06-20 16:31:10 +10:00
b44fda51a3 iterator/infix: use a more descriptive tparam name 2019-06-20 16:30:52 +10:00
3b24e6b7e7 cpuid;x86: prefer boolean names over numbers 2019-06-20 14:47:28 +10:00
72ea2450a2 cpuid;x86: ensure ostream simd key has a colon 2019-06-20 14:46:58 +10:00
83449cf8d2 sysinfo;posix: ensure strings are quoted 2019-06-20 14:42:38 +10:00
4edd8d8c3e cpuid/x86: null terminate strings for convenience 2019-06-20 14:42:17 +10:00
3b5ec78513 sysinfo: add win32 memory reporting 2019-06-20 12:50:33 +10:00
e73d42e817 sysinfo: add memory stats for posix platforms 2019-06-20 12:46:39 +10:00
c79b0bae22 sysinfo: add a trivial system stats dump function 2019-06-20 12:37:48 +10:00
4d2be853b8 win32/except: workaround for mingw and std::invoke 2019-06-20 12:35:53 +10:00
bad822898d cpuid/x86: fix the parent include path 2019-06-20 11:44:53 +10:00
7cb0c8f6d8 cpuid: defend against unknown architectures 2019-06-20 11:44:43 +10:00
8fc182ca8e preprocessor: use the correct include path for preprocessor.hpp 2019-06-20 11:44:04 +10:00
f4438831a6 build: update the meson build configuration 2019-06-19 17:28:01 +10:00
f86989bc67 rand/rdrand: add rdrand generator 2019-06-19 12:02:50 +10:00
3a83851e90 rand/system: add system generator for Linux 2019-06-19 12:02:40 +10:00
ad916e61c9 io: add iterative file reading helper 2019-06-19 12:01:26 +10:00
c64cd2eb29 build: don't fully qualify the installation path 2019-06-18 15:12:49 +10:00
70fcf1e97d build: don't add a missing path to the CMAKE_MODULE_PATh 2019-06-18 11:26:59 +10:00
b7ebf577bf build: install the library and headers 2019-06-18 11:26:59 +10:00
7dcba62047 build: correctly install the pkg-config file 2019-06-18 11:26:59 +10:00
8e346d7717 build: correct the SIMD option test 2019-06-18 11:26:59 +10:00
7af1268db8 iterator/indices: prefer std::size_t over holding a reference 2019-06-17 16:57:07 +10:00
7923a9fee2 win32: fix the paths to debug headers 2019-06-06 13:28:16 +10:00