Commit Graph

62 Commits

Author SHA1 Message Date
cdb3b2d58c commands: add docs for Command trait 2025-11-25 05:28:58 +09:00
4f8fa26cd4 common/types: add better alias for MountPath 2025-11-25 04:27:20 +09:00
5117ed319d common/types: add better alias for AudioOutputId 2025-11-25 04:22:30 +09:00
69f79197aa common/types: add type for ChannelName 2025-11-25 04:13:32 +09:00
f778d85a3c common/types: add better alias for PlaylistVersion 2025-11-25 04:02:03 +09:00
e56b9ab6c4 common/types: add type for Sort 2025-11-25 03:56:01 +09:00
59a347f610 response_tokenizer: rewrite
This commit contains a rewrite of the response tokenizer, which
introduces lazy parsing of the response, handling of binary data, some
tests, as well as just generally more robustness against errors.
2025-11-24 23:49:27 +09:00
bdbecf3e8f commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
162b6f95f1 commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
e45d8c054b commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
d5445466ff filter: implement basic parser 2025-11-24 17:38:37 +09:00
56bdeb3e0a common/types: case insensitive tags 2025-11-24 17:36:48 +09:00
f3ad2fc73a Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
63dfa1b255 WIP: serialize requests 2025-11-21 16:48:55 +09:00
21f98c5808 filter: implement fmt::Display 2025-11-21 18:36:54 +09:00
e4e7530902 common/types: implement serialization helpers for Tag 2025-11-21 18:36:18 +09:00
726ea92e1b common/types: implement fmt::Display 2025-11-21 16:59:39 +09:00
fccb32ad6d commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
8967f38ffa cargo fmt + clippy 2025-11-21 16:02:15 +09:00
72247d3a9d filter: add unit tests 2025-11-21 15:49:27 +09:00
030449128a commands: implement response parser for tagtypes available 2025-11-21 15:16:30 +09:00
cbf4e9d382 commands: implement response parser for protocol 2025-11-21 15:14:43 +09:00
79d974f9c0 commands: implement response parser for protocol available 2025-11-21 15:12:21 +09:00
95604aa20d commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00
ebfe1311b9 commands: create result struct for readmessages 2025-11-21 14:55:57 +09:00
d3e7fac92c commands: precalculate capacity and use iterators 2025-11-21 14:44:17 +09:00
5eb08d852a commands: make better use of expect_property_type! 2025-11-21 14:38:09 +09:00
d66c555a26 commands: implement response parser for listmounts 2025-11-21 14:32:06 +09:00
a58ed698e7 commands: implement common traits for responses 2025-11-21 14:18:44 +09:00
fdd1d358cd commands: implement response parser for decoders 2025-11-21 14:14:25 +09:00
799d37bc0b commands: implement response parser for listneighbors 2025-11-21 14:04:12 +09:00
cdad776df0 commands: implement response parser for outputs 2025-11-21 13:55:10 +09:00
a261bdbf89 common/types: add debug assertions for range orders 2025-10-13 15:35:56 +09:00
29f4e0519e commands: fix clippy warnings about confusing elided lifetimes 2025-10-12 22:59:50 +09:00
88e3deebc8 Rust edition 2024 2025-02-26 16:39:34 +01:00
98d1b1eebb common/types: move stuff from requests to types 2025-02-23 19:46:28 +01:00
05ae68de0b commands: deduplicate logic in macros, add more macros 2025-02-23 19:16:58 +01:00
f6c76fb006 commands: implement some more response parsers 2025-02-23 16:41:15 +01:00
77d6ce919e Cargo fmt 2025-02-23 16:40:06 +01:00
11598a5827 commands: move ResponseAttributes parser out of Command 2025-02-23 16:33:34 +01:00
28c90b4802 common: move types into separate files 2025-02-23 16:30:21 +01:00
0b5fb4b571 commands: fix some syntax errors reporting literals 2024-12-14 00:19:25 +01:00
c04c14e710 Implement some more commands 2024-12-14 00:14:02 +01:00
8dc6bb0382 commands: add missing debug asserts 2024-12-13 19:31:40 +01:00
98e6a05f9f commands: add some TODOs for assumptions made about syntax 2024-12-13 19:31:12 +01:00
7c26e2c409 response: remove leftover response types, add error codes 2024-12-13 18:29:54 +01:00
1e6279b7df Implement some more commands 2024-12-13 18:20:03 +01:00
ace026af6b commands: add a few TODOs 2024-12-13 17:08:59 +01:00
c62dfc58c9 format 2024-12-13 17:08:15 +01:00
b03c0fac3c commands: verify key uniqueness for ResponseAttributes -> HashMap 2024-12-13 17:06:28 +01:00