Commit Graph

650 Commits

Author SHA1 Message Date
9caba84fc6 cmdopt2/args: move repeat into base arg 2022-03-21 10:52:10 +10:00
179f016fa1 cmdopt2/args: extract argument::create as a free function 2022-03-18 15:23:17 +10:00
a54ed01dcb cmdopt2: use required flag 2022-03-18 15:04:45 +10:00
577d34eeb5 cmdopt2: rename arg as args 2022-03-18 12:26:10 +10:00
6ed70a4839 concepts: split and remove C++20 re-implementations 2022-03-18 12:19:18 +10:00
e96ee81c03 cmdopt2: initial sketches for a command line parser 2022-03-18 12:19:18 +10:00
1664c283c0 uri: add even more trivial validity test cases 2022-02-23 14:08:11 +10:00
50b53f7269 uri: allow out of spec chars 2022-02-23 07:26:57 +10:00
a88fb9809d string: correct the lower comparator for cstrings 2022-02-15 13:22:03 +10:00
3e262f6aef uri: constructors should be explicit 2022-02-15 13:20:33 +10:00
6fb04e7fb6 endian: add an f64 bswap test 2022-02-07 12:14:45 +10:00
498da9491b uri: add more test cases 2022-02-01 12:25:57 +10:00
f2ce328e1e fs/tmp: actually test test suite 2022-01-19 15:04:48 +10:00
9b11cc92ff fs: add scoped_dir container 2022-01-19 11:24:15 +10:00
74700363ab paths: add system path queries 2022-01-19 11:24:15 +10:00
2488846e38 uri: improve hierarchical parsing reliability 2021-12-21 13:56:28 +10:00
458f109c6f uri: add resolve and normalise operations 2021-12-17 10:46:59 +10:00
2d0324f17a string: handle trailing/leading delimiters in tokeniser 2021-12-17 10:32:19 +10:00
e75b1f571c string: rename compare as equality 2021-11-22 10:42:19 +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
5cedd22d7a debug/fpe: add POSIX FPE controls 2021-05-13 13:13:22 +10:00
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