Commit Graph

48 Commits

Author SHA1 Message Date
0925a40ea6 common: don't expose types directly 2026-01-09 13:25:32 +09:00
9fbf192a1b common/types: add better alias for MountPath 2026-01-09 13:25:32 +09:00
10310a5248 common/types: add better alias for AudioOutputId 2026-01-09 13:25:31 +09:00
1a2ea5327b common/types: add type for ChannelName 2026-01-09 13:25:31 +09:00
c833143496 common/types: add better alias for PlaylistVersion 2026-01-09 13:25:31 +09:00
ef0ba275de common/types: add type for Sort 2026-01-09 13:25:31 +09:00
ed1b58deb1 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.
2026-01-09 13:25:30 +09:00
bb1b206a83 commands: fix request de/serialization for list 2026-01-09 13:25:30 +09:00
61fed9032d commands: remove some fixed TODOs 2026-01-09 13:25:30 +09:00
ea8a0dbf72 commands: split response tokenizer into separate file 2026-01-09 13:25:29 +09:00
5c745ed67a Implement a proper request tokenizer 2026-01-09 13:25:28 +09:00
ed82218d4e WIP: serialize requests 2026-01-09 13:25:28 +09:00
dfce62e875 commands: implement response parser for lsinfo 2026-01-09 13:25:26 +09:00
8d28ce3ef9 cargo fmt + clippy 2026-01-09 13:25:26 +09:00
0e6fbaebb2 commands: implement response parser for tagtypes available 2026-01-09 13:25:25 +09:00
48d10d01d2 commands: implement response parser for protocol 2026-01-09 13:25:25 +09:00
835f1830e7 commands: implement response parser for protocol available 2026-01-09 13:25:25 +09:00
e08f95c641 commands: return runtime errors on invalid property names 2026-01-09 13:25:24 +09:00
0a91a27e2b commands: create result struct for readmessages 2026-01-09 13:25:24 +09:00
52aac81620 commands: precalculate capacity and use iterators 2026-01-09 13:25:24 +09:00
89e5b8453d commands: make better use of expect_property_type! 2026-01-09 13:25:24 +09:00
609e516ef5 commands: implement response parser for listmounts 2026-01-09 13:25:23 +09:00
b2986ce910 commands: implement common traits for responses 2026-01-09 13:25:23 +09:00
0e977d7e19 commands: implement response parser for decoders 2026-01-09 13:25:23 +09:00
acdc553e5f commands: implement response parser for listneighbors 2026-01-09 13:25:23 +09:00
3e0034e0e7 commands: implement response parser for outputs 2026-01-09 13:25:22 +09:00
daaf314633 commands: fix clippy warnings about confusing elided lifetimes 2026-01-09 13:25:22 +09:00
8f5ad84c00 Rust edition 2024 2026-01-09 13:25:19 +09:00
05983bf687 common/types: move stuff from requests to types 2026-01-09 13:25:19 +09:00
84abf7a9fa commands: deduplicate logic in macros, add more macros 2026-01-09 13:25:18 +09:00
6fa30bbecd commands: implement some more response parsers 2026-01-09 13:25:18 +09:00
118a8b264f commands: fix some syntax errors reporting literals 2026-01-09 13:25:16 +09:00
4d8c5cd471 Implement some more commands 2026-01-09 13:25:16 +09:00
58582808a6 commands: add missing debug asserts 2026-01-09 13:25:16 +09:00
9db556eb5c commands: add some TODOs for assumptions made about syntax 2026-01-09 13:25:15 +09:00
9cb92741a4 Implement some more commands
Some checks failed
Build and test / check (push) Failing after 13s
Build and test / test (push) Failing after 14s
Build and test / build (push) Successful in 57s
Build and test / docs (push) Successful in 1m12s
2024-12-13 18:20:03 +01:00
87fa93fb1c format 2024-12-13 17:16:16 +01:00
4f6392e376 commands: use real Filter type 2024-12-13 17:16:16 +01:00
2ee6bbc582 Add more commands 2024-12-02 21:00:22 +01:00
3e512092bd Add existing command parsers to the main request parser 2024-12-01 19:16:44 +01:00
08104b3537 Implement some more commands 2024-12-01 18:31:34 +01:00
1561ae2e80 prefer unimplemented! for unimplemented functions 2024-11-30 03:36:00 +01:00
d45502a43e commands: add derives for a few response types 2024-11-30 03:31:52 +01:00
4fada75fe9 commands: handle some more response parsing 2024-11-30 03:28:22 +01:00
184f9fc215 commands/stats: parse_response 2024-11-30 02:28:29 +01:00
74074bf9c7 commands: make macros usable without use statements 2024-11-30 02:28:10 +01:00
84f061a79f commands: use different datastructure for response attrs 2024-11-30 02:18:06 +01:00
49e070a41d Continued development 2024-11-30 01:57:45 +01:00