Commit Graph

3640 Commits

Author SHA1 Message Date
3866249607 types/description: add underlying_comparator for enum descriptions 2019-08-30 15:30:45 +10:00
fd64ca6bce region: correct the point-region distance2 calculation 2019-08-30 13:45:08 +10:00
979deaa4aa geom/traits: add initial shape_traits trait 2019-08-30 10:15:26 +10:00
33b141eb3a geom/aabb: add an aabb/point intersection test 2019-08-30 10:14:52 +10:00
f4190012bf geom/aabb: add a point_type member typedef 2019-08-30 10:14:28 +10:00
09e0b6e9a7 geom/fwd: add forward declaration for region 2019-08-30 10:14:07 +10:00
1e1aa33b75 parse/enum: detect types with underlying_type members 2019-08-29 14:05:39 +10:00
67c682d5a2 strongdef: pretend to be an enum for introspection purposes 2019-08-29 14:05:18 +10:00
458654c9a3 parse/enum: add lookup-by-function 2019-08-29 13:33:18 +10:00
e4c224ceaa parse/enum: we don't need to strictly enforce 'enumness' 2019-08-29 13:18:13 +10:00
2a4401da98 geom/region: add 'bounds' specialisation for region 2019-08-29 13:10:12 +10:00
e6bd571fd5 parse/enum: add some descriptive comments 2019-08-29 13:09:54 +10:00
d0d55d8bc9 array/darray: style 2019-08-28 17:31:38 +10:00
ddbdfacae7 array/darray: remove unnecessary explicit storage destructor 2019-08-28 13:41:51 +10:00
5286e4e851 array/darray: bypass complex constructor errors in union 2019-08-28 13:27:17 +10:00
9d123e003e build: add some forgotten, required, headers 2019-08-28 12:55:15 +10:00
ad92254554 parse/enum: add support fro enum classes 2019-08-26 12:18:37 +10:00
6367596537 region: add 'sample' convenience without generator parameter 2019-08-22 13:22:48 +10:00
70c523d029 g/sample/surface: add region sampling 2019-08-21 08:27:07 +10:00
f551e48ddb geom/sample/edge: correct the test's include paths 2019-08-20 15:20:49 +10:00
b6d1b74bc4 geom/sample: add edge sampling routines for extent2i 2019-08-20 15:00:26 +10:00
df1f5fe8fd thread/win32: add sleep_until implementation 2019-08-20 10:48:18 +10:00
425e933f62 pool: assert that the pointer for 'index' is within our allocation 2019-08-14 13:53:06 +10:00
4608d24027 debug/memory: add asan and valgrind annotation functions 2019-08-14 11:27:49 +10:00
4e7e2c812d scoped: rename disabling methods for consistency 2019-08-12 12:58:44 +10:00
25d98931b8 parse/fwd: add a release stub method for cookie 2019-08-12 10:09:24 +10:00
8437bb79f9 pool: add ssize query 2019-08-09 11:41:03 +10:00
2f28e5caa6 types/traits: add try_signed_t 2019-08-09 11:39:58 +10:00
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