Commit Graph

3573 Commits

Author SHA1 Message Date
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
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
ceda32b912 tuple/value: fix various compile time errors 2022-02-09 16:33:44 +10:00
d096eb9d21 tupe/value: add transform_array 2022-02-09 12:51:02 +10:00
6fb04e7fb6 endian: add an f64 bswap test 2022-02-07 12:14:45 +10:00
c963fce304 endian: prefer bit_cast over union type punning 2022-02-07 12:14:24 +10:00
1dd516d1ed cast: bit_cast should be constexpr 2022-02-07 12:14:06 +10:00
498da9491b uri: add more test cases 2022-02-01 12:25:57 +10:00
805ba5d1bf uri: use vector rather than map for query exploding 2022-01-27 13:51:40 +10:00
4e4e731cb7 parse/enum: workaround fmtlib#1824 warnings in clang 2022-01-25 15:55:18 +10:00
af3188bd16 view: add read_array 2022-01-25 15:54:16 +10:00
f2ce328e1e fs/tmp: actually test test suite 2022-01-19 15:04:48 +10:00
ff1ed506bd fs/tmp: add forgotten test suite 2022-01-19 15:03:55 +10:00