Commit Graph

671 Commits

Author SHA1 Message Date
9804306f13 log: use format_string to pass format specifiers 2023-11-19 09:39:15 +10:00
6f17da5e59 format/quoted: avoid vformat for tests 2023-11-19 09:39:15 +10:00
19095934b2 build: don't use a space in user string literals
This fixes errors in clang-17
2023-11-19 09:26:37 +10:00
c011b2177c hash/tuple: add a std compatible tuple hashing object 2023-07-24 12:56:19 +10:00
db95fd532b halfsipmix: remove unused variable warning 2023-07-21 14:22:14 +10:00
1fa4eba5d3 Add fmt::formatter specialisations for fmtlib-10 2023-07-21 14:20:49 +10:00
aaa00bc989 format: add 'quoted' helper function that emulates std::quoted 2023-07-21 14:19:18 +10:00
fffd584c93 iterator/counting: allow copying of iterator 2023-07-13 06:45:47 +10:00
facba4e799 thread/sema: name the lock temporary to silence a warning 2023-05-15 10:36:25 +10:00
2e0f6c6923 hash/siphash: add an (ugly) siphash128 implementation 2022-07-25 11:59:13 +10:00
ea8d23bf17 hash/siphash: add 1-64 byte test vectors 2022-07-21 15:34:44 +10:00
ce2f05ede2 uri: fix empty query/fragment offsets 2022-07-19 17:04:08 +10:00
152beff483 bool: add tribool class 2022-06-13 12:47:37 +10:00
10b21cb497 fs/scoped: add general scoped path 2022-06-01 14:55:59 +10:00
d5261b980c fs/tmp: add mktmpfile 2022-05-27 13:20:02 +10:00
d06ee4995c cmdopt2: add convenience function for lambda handlers 2022-05-24 15:10:00 +10:00
c3866ef632 serialise: add a simple binary serialisation framework 2022-05-19 10:01:15 +10:00
b7f8d73d95 string: add lstrip, rstrip, strip 2022-05-02 14:26:06 +10:00
2d1374192f intro/enum_simple: improve parsing for multi-level namespaces 2022-04-07 15:47:39 +10:00
5dd58a93b3 introspection: add simple enum mode that parses debugging macros 2022-04-01 13:46:13 +10:00
bc5aaae818 cmdopt2/parser: add a description parameter 2022-03-21 10:52:10 +10:00
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