Commit Graph

3539 Commits

Author SHA1 Message Date
aee3ee29d7 region: constructors should be constexpr 2021-06-01 13:14:51 +10:00
09d83b1b8a region: remove extent only constructor 2021-06-01 13:14:31 +10:00
9109ff6e66 debug/system: enable FPE by default 2021-05-18 08:39:44 +10:00
e9a3d7d884 debug/fpe: make tests a little more robust
We run each of the signal handler tests in their own thread so that
state is less likely to leak across tests.
2021-05-18 06:57:58 +10:00
6080baa33b build;win32: add missing includes 2021-05-18 06:57:45 +10:00
f1ff722085 debug/fpe: add win32 implementation 2021-05-18 06:57:29 +10:00
f9c298fba5 cpuid/x86: correct libfmt specifier syntax 2021-05-18 06:54:20 +10:00
e1f864cd88 maths/fast: actually account for symmetries in sin 2021-05-13 17:01:30 +10:00
5cedd22d7a debug/fpe: add POSIX FPE controls 2021-05-13 13:13:22 +10:00
41f444a943 maths/fast: add minimal explanation of estrin function 2021-05-12 15:29:12 +10:00
15ee2f5f58 colour: add luminance scaling and XYZ/xyY/sRGB conversions 2021-05-12 13:26:52 +10:00
7d3ae8bd8f maths: allow different types for samesign 2021-05-10 11:39:39 +10:00
e38cf27d6d list/sort: workaround for GCC nonnull comparison bug 2021-04-28 14:25:07 +10:00
c61aac5f41 bezier: add convenience typedefs for various dimensions 2021-04-22 15:49:07 +10:00
4747b649fd build: address clang-tidy errors 2021-04-20 12:10:53 +10:00
59c1c9cc9e geom/ops: workaround ICE using requires for distance
clang requires `A<S,T>` for the `enable_if` condition, and this provokes
an ICE under GCC. A `requires` clause works identically and satisfies
both compilers.
2021-04-19 16:47:22 +10:00
50b2105df5 build: clang-tidy fixes 2021-04-19 14:52:22 +10:00
92afaf38ec build: avoid double underscore header guards 2021-04-14 15:35:49 +10:00
f330b840e0 build: remove dead code 2021-04-14 14:17:18 +10:00
d94964dca2 debug/panic: include less of fmt where possible 2021-04-14 12:20:50 +10:00
462776dafa format: remove in favour of libfmt 2021-04-14 10:23:33 +10:00
a94cd677bd tap: use fmtlib specifiers 2021-04-13 16:05:08 +10:00
4848178cc7 debug/panic: use fmt for unhandled messages 2021-04-13 15:18:37 +10:00
986e7d18d8 matrix: remove iostream include from the header 2021-04-12 17:17:24 +10:00
0977fb89b3 debug/assert: don't use iostream 2021-04-12 16:56:06 +10:00
08566fde6c debug: don't include assert.hpp if you don't use it 2021-04-12 16:12:08 +10:00
be52d849bf debug/debugger: use a header guard 2021-04-12 16:11:51 +10:00
bb3aff28ce debug/common: don't include iostream 2021-04-12 16:11:32 +10:00
6de8ed4831 debug: move the panic code out of assert 2021-04-12 16:11:14 +10:00
6f8197c0e2 debug/assert: split out trace and common sections 2021-04-12 16:03:22 +10:00
2c7eb400c3 debug: move warning code into warn header 2021-04-12 15:53:13 +10:00
56ba3cb325 debug/assert: add a more descriptive version of WARN_RETURN 2021-04-12 15:10:25 +10:00
fc2d9e77c1 alloc/chunked: actually free the memory at destructor time 2021-04-09 15:40:36 +10:00
8339c55baa memory/deleter: add deferred_delete and deferred_unique 2021-04-09 13:29:14 +10:00
d5139c2cc4 init: workaround a double free in cookie allocation 2021-04-09 13:28:49 +10:00
f5a1105d48 introspection: correct the member name offset calculations 2021-04-08 13:15:57 +10:00
6cac76e210 types/description: make_description should be constexpr
This would be possible in the general case, but is fine for fundamental
types.
2021-04-07 12:53:49 +10:00
6ba13aa25e introspection/name: add member_offset query for pointer-to-member 2021-04-07 12:53:19 +10:00
de1d9649a3 cast: allow cast::known for non-class types 2021-04-07 12:52:50 +10:00
67c5ef5d78 search::balanced should be constexpr 2021-04-07 12:52:24 +10:00
3ec1c9591b introspection: add pointer-to-member name query 2021-03-26 15:24:31 +10:00
f67b370cd3 typeidx: ensure fundamental types have a constexpr index 2021-03-25 12:02:14 +10:00
c7b711550c map/multi_fixed: add assignment operators 2021-03-09 12:14:17 +10:00
2d47875b44 map/multi_fixed: add erase_item 2021-02-09 09:39:36 +10:00
de54f4b9e0 map/multi_fixed: return erase count from erase_keys 2021-02-08 11:17:48 +10:00
b4eea9f1fe map/multi_fixed: add erase_keys 2021-02-08 09:38:29 +10:00
24d31b216b map/multi_fixed: add insert, erase, find, comparators 2021-02-05 12:04:20 +10:00
9439f76ddd set/dset: add insert for symmetry with the STL 2021-02-05 12:03:41 +10:00
146996c4ef iterator: add tuple_picker adapter 2021-02-05 12:03:18 +10:00
774ccb763d map/multi_fixed: add multimap with fixed storage 2021-02-03 16:21:42 +10:00