Commit Graph

67 Commits

Author SHA1 Message Date
e82a3e107d types/tag: make orderable 2025-12-07 20:53:45 +09:00
e4c0c5b744 commands/listplaylists: implement 2025-12-07 21:21:58 +09:00
09925a1df5 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
5535580e8d filter: export all types from inner module 2025-12-05 21:00:01 +09:00
0dedc74293 common: don't expose types directly 2025-12-05 20:59:19 +09:00
1b4fe23ce9 commands: add docs for Command trait 2025-11-25 05:28:58 +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
b91331452e filter: implement basic parser 2025-11-24 17:38:37 +09:00
fd8b597897 common/types: case insensitive tags 2025-11-24 17:36:48 +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
132d89fe34 filter: implement fmt::Display 2025-11-21 18:36:54 +09:00
e86e78ecfb common/types: implement serialization helpers for Tag 2025-11-21 18:36:18 +09:00
e41d08b2bf common/types: implement fmt::Display 2025-11-21 16:59:39 +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
77bda79e36 filter: add unit tests 2025-11-21 15:49:27 +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
a6049653e7 common/types: add debug assertions for range orders 2025-10-13 15:35:56 +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
7b94b908ab Cargo fmt 2025-02-23 16:40:06 +01:00
fc9f0bd876 commands: move ResponseAttributes parser out of Command 2025-02-23 16:33:34 +01:00
01ef695796 common: move types into separate files 2025-02-23 16:30:21 +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