Commit Graph

3586 Commits

Author SHA1 Message Date
2c304f2c0b bool: add default DONTCARE constructor for tribool 2022-06-13 14:19:43 +10:00
152beff483 bool: add tribool class 2022-06-13 12:47:37 +10:00
cdaa5ebd41 introspection/enum_simple: increase the search range 2022-06-01 15:41:21 +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
1e4d47acf9 paths: add resolve_first 2022-05-20 11:34:27 +10:00
c3866ef632 serialise: add a simple binary serialisation framework 2022-05-19 10:01:15 +10:00
dc46dc7c91 uri: store offsets rather than pointers
This simplifies copy and assignment.
2022-05-18 16:00:34 +10:00
2d18241e61 stringid: add the key query 2022-05-13 10:03:48 +10:00
2b7dd99a68 stringid: implement the size query 2022-05-13 10:02:06 +10:00
ef24f0bfda random: add parameter free uniform for integral types 2022-05-10 12:48:52 +10:00
234adca06f random: use UniformRandomBit concept 2022-05-10 12:48:42 +10:00
b7f8d73d95 string: add lstrip, rstrip, strip 2022-05-02 14:26:06 +10:00
3ffd895958 string: remove unnecessary using statement 2022-04-22 11:25: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
4b0900e299 introspection: rename enum as enum_manual 2022-04-01 13:45:39 +10:00
7fc18e145f time: add wait/reset to period_limiter 2022-03-30 13:29:33 +10:00
c50e24e3be time: add a period_limiter class 2022-03-22 13:18:01 +10:00
bfc5069e23 fwd: add a root set of forward decls 2022-03-22 12:41:25 +10:00
8b409d07c8 cmdotp2: silence some narrowing conversion warnings 2022-03-21 10:52:10 +10:00
40f2f3b99f cmdopt2: actually advance positional parsing cursor 2022-03-21 10:52:10 +10:00
bc5aaae818 cmdopt2/parser: add a description parameter 2022-03-21 10:52:10 +10:00
787b91c6ef cmdopt2/parser: remove ostream usage in favour of FILE* 2022-03-21 10:52:10 +10:00
9caba84fc6 cmdopt2/args: move repeat into base arg 2022-03-21 10:52:10 +10:00
153844eded cmdopt2/args: add vector bind 2022-03-21 10:47:48 +10:00
86eafa366d cmdopt2/args: acceptor should take a char* 2022-03-21 10:46:29 +10:00
11dc485c88 cmdopt2/args: create a parseable trait 2022-03-21 10:44:44 +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
a63f4fef44 cmdopt2/args: add ignore helper 2022-03-18 15:03:43 +10:00
8a38459f9a cmdopt2/parser: render argument placeholders during usage 2022-03-18 13:04:09 +10:00
f64d617156 cmdopt2/parser: add --help dispatch 2022-03-18 13:03:56 +10:00
1e1034711f cmdopt2/args: add acceptor builder 2022-03-18 13:02:56 +10:00
577d34eeb5 cmdopt2: rename arg as args 2022-03-18 12:26:10 +10:00
c5e4811efc cmdopt2/parser: add usage overload for FILE* 2022-03-18 12:19:18 +10:00
cd2b6be6e8 cmdopt2/arg: add bind support to more string types 2022-03-18 12:19:18 +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
ea24909893 uri: include the malformed url when throwing a parse error 2022-03-08 06:47:21 +10:00
cd42dc11b1 uri: add pq convenience query 2022-02-25 10:52:09 +10:00
2e645cc82d uri: percent encode spaces prior to parsing
This simplifies the use of our overly strict parser.
2022-02-25 07:16:21 +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
f4bb73dbec uri: remove parent-child component support 2022-02-22 16:38:01 +10:00
2c18bc3488 uri: don't rebase null views 2022-02-22 14:18:03 +10:00
dbf19c5a2b view: add a free contains convenience function 2022-02-17 17:01:22 +10:00
4af3f5df31 uri: use old style constructors for pqf return value
This fixes compilation errors under clang-13
2022-02-17 09:36:39 +10:00
19d4ce61da uri: add path-query-fragment accessor 2022-02-16 14:09:58 +10:00