Commit Graph

629 Commits

Author SHA1 Message Date
15ee2f5f58 colour: add luminance scaling and XYZ/xyY/sRGB conversions 2021-05-12 13:26:52 +10:00
50b2105df5 build: clang-tidy fixes 2021-04-19 14:52:22 +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
08566fde6c debug: don't include assert.hpp if you don't use it 2021-04-12 16:12:08 +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
3ec1c9591b introspection: add pointer-to-member name query 2021-03-26 15:24:31 +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
774ccb763d map/multi_fixed: add multimap with fixed storage 2021-02-03 16:21:42 +10:00
2f3a767285 geom/sample: add subregion sampler for extents 2020-12-15 11:32:57 +10:00
8228a9be0f r/gen: style 2020-12-09 07:49:03 +10:00
a2fa34c619 r/dist: add the normal distribution 2020-12-09 07:47:17 +10:00
8f5604dde6 hash: add halfsipmix 2020-11-03 11:45:21 +10:00
58d86bbc95 region: add a single 'covers' test 2020-10-27 16:00:53 +10:00
0d9a80ea84 region: add another intersects test 2020-10-27 15:32:11 +10:00
6782b821b9 region: add some region-region intersects tests 2020-10-27 12:20:41 +10:00
94d3f676c6 introspection: update name tests for clang-11 2020-10-22 08:38:59 +10:00
5a7613d3f3 coord/comparator: convert to use std::weak_ordering
This allows more flexibility in some client code (eg, calling this to
sort compound objects like region).
2020-10-21 14:03:08 +10:00
b0ac349f70 string: fancy comparators should take only string_views
This reduces complications dealing with implicit casts from things like
'std::string' which are fairly common.
2020-10-21 10:23:04 +10:00
04de102789 introspection: split the header into functional groups 2020-09-24 15:42:14 +10:00
43b8e8f6f2 introspection: add type_name_with_namespace 2020-09-24 14:40:56 +10:00
a392ca1aa9 set: add a simple static-alloc, dynamic-resize, set 2020-09-21 14:34:23 +10:00
9d0e9a9f1d region: move rotate90 out of the header 2020-08-21 11:34:52 +10:00
34270e5b8f rand: prefer our own generators 2020-08-18 07:20:26 +10:00
fde275feb2 rand: add xoshiro256plusplus generator 2020-08-17 14:30:55 +10:00
4bd9ec982b rand: add the splitmix64 generator
This is the suggested initialiser for xoshiro256plusplus state.
2020-08-17 13:55:54 +10:00
bf3ae14f25 region: add rotate method 2020-08-17 11:49:15 +10:00
e8f23a349e thread: remove thread, mutex, and condition_variable wrappers
These are no longer needed as we required MinGW with PThreads support.
2020-08-03 11:21:29 +10:00
b3050c88c2 signal: simplify the implementation of the cookie and signal 2020-07-23 15:16:15 +10:00
ef560d8c1e types/description: use the inner_type for descriptions 2020-05-01 11:19:46 +10:00
d099a159fb stringcache: add a simple bulk string cache 2020-04-23 05:53:40 +10:00
fb13c0fb0f job/dispatch: explicitly specify the dispatchable region 2020-03-12 12:45:45 +11:00
8697c103d6 region: add intersection operation 2020-03-12 12:45:29 +11:00
5d0b75d129 introspection: test variadic template type_name 2020-02-27 08:00:18 +11:00
f34d5ce278 introspection: add test for template-template-type reflection 2020-02-27 07:05:57 +11:00
eac5957f60 tuple/value: correct the test case values 2020-02-25 11:31:56 +11:00
61cc9b9ed2 tuple/value: add all and none queries 2020-02-25 11:17:05 +11:00
1427a61745 concepts: protect tuple concept against empty tuples 2020-02-25 11:16:58 +11:00
0dc4929c5e concepts: add initial testing header 2020-02-18 11:23:21 +11:00
8cdbbcb26e build: fix range-loop-analysis warnings 2020-02-17 17:40:03 +11:00
0a7adfb037 cmdopt: add simple requires constraint callbacks 2020-01-17 07:58:23 +11:00
5d0f879ad4 quaternion: ensure tests don't use >2PI radian parameters 2020-01-01 06:54:25 +11:00
5251c9b071 quaternion: add test for from_euler 2019-12-19 14:45:18 +11:00
3152ed3277 mutex: silence an unused variable warning in a test 2019-12-16 08:19:44 +11:00
f5afc0130a tuple/type: add prefix query 2019-12-09 11:22:13 +11:00
03786f3fcc string: add to_lower and tests 2019-11-26 08:10:04 +11:00
932b93ce5e list: add additional node types 2019-09-10 14:43:08 +10:00
ce03a24f88 list/sort: add initial linked list merge sort 2019-09-09 10:22:36 +10:00