Commit Graph

48 Commits

Author SHA1 Message Date
0dedc74293 common: don't expose types directly 2025-12-05 20:59:19 +09:00
f01ecb0e09 common/types: add better alias for MountPath 2025-11-25 04:27:20 +09:00
bad475d96b common/types: add better alias for AudioOutputId 2025-11-25 04:22:30 +09:00
70aa4b47e1 common/types: add type for ChannelName 2025-11-25 04:13:32 +09:00
a033aac721 common/types: add better alias for PlaylistVersion 2025-11-25 04:02:03 +09:00
8853153dfd common/types: add type for Sort 2025-11-25 03:56:01 +09:00
02e292ffd7 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
8f321a243d commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
0144dac14f commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
47e42a3472 commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
74c86dd5b9 Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
e0e7509be7 WIP: serialize requests 2025-11-21 16:48:55 +09:00
0b357a3f9c commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
7813d85309 cargo fmt + clippy 2025-11-21 16:02:15 +09:00
be6fdae9eb commands: implement response parser for tagtypes available 2025-11-21 15:16:30 +09:00
472103a1a9 commands: implement response parser for protocol 2025-11-21 15:14:43 +09:00
8bb407cb5d commands: implement response parser for protocol available 2025-11-21 15:12:21 +09:00
3f45a5c901 commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00
0b35305c87 commands: create result struct for readmessages 2025-11-21 14:55:57 +09:00
aee3d88be9 commands: precalculate capacity and use iterators 2025-11-21 14:44:17 +09:00
58b24df568 commands: make better use of expect_property_type! 2025-11-21 14:38:09 +09:00
b172fef4be commands: implement response parser for listmounts 2025-11-21 14:32:06 +09:00
dfaa0f092c commands: implement common traits for responses 2025-11-21 14:18:44 +09:00
fdb09a8f9a commands: implement response parser for decoders 2025-11-21 14:14:25 +09:00
e9a2e4dcad commands: implement response parser for listneighbors 2025-11-21 14:04:12 +09:00
0c8920bd78 commands: implement response parser for outputs 2025-11-21 13:55:10 +09:00
1f5b6a09d1 commands: fix clippy warnings about confusing elided lifetimes 2025-10-12 22:59:50 +09:00
d582dc7c3f Rust edition 2024 2025-02-26 16:39:34 +01:00
f6203aaa08 common/types: move stuff from requests to types 2025-02-23 19:46:28 +01:00
09f4c17033 commands: deduplicate logic in macros, add more macros 2025-02-23 19:16:58 +01:00
21265069a2 commands: implement some more response parsers 2025-02-23 16:41:15 +01:00
cbf12ffc16 commands: fix some syntax errors reporting literals 2024-12-14 00:19:25 +01:00
8db3978e4c Implement some more commands 2024-12-14 00:14:02 +01:00
4f39b1c0f6 commands: add missing debug asserts 2024-12-13 19:31:40 +01:00
7f70e965d0 commands: add some TODOs for assumptions made about syntax 2024-12-13 19:31:12 +01:00
8d9440f999 Implement some more commands 2024-12-13 18:20:03 +01:00
11d451813c format 2024-12-13 17:08:15 +01:00
2d18ab3562 commands: use real Filter type 2024-12-13 17:05:08 +01:00
7b4bf573d0 Add more commands 2024-12-01 20:06:01 +01:00
145f53606d Add existing command parsers to the main request parser 2024-12-01 19:16:44 +01:00
61cdfec0b7 Implement some more commands 2024-11-30 17:12:49 +01:00
4e9291f527 prefer unimplemented! for unimplemented functions 2024-11-30 03:36:00 +01:00
66e7e288eb commands: add derives for a few response types 2024-11-30 03:31:52 +01:00
64abf8d3c3 commands: handle some more response parsing 2024-11-30 03:28:22 +01:00
33eb31876a commands/stats: parse_response 2024-11-30 02:28:29 +01:00
b42bf03db3 commands: make macros usable without use statements 2024-11-30 02:28:10 +01:00
b76608af28 commands: use different datastructure for response attrs 2024-11-30 02:18:06 +01:00
1607622b70 Continued development 2024-11-30 01:57:45 +01:00