Commit Graph

49 Commits

Author SHA1 Message Date
oysteikt 0a85bce52c commands: parse to Self::Request 2026-01-09 13:31:21 +09:00
oysteikt c242082219 common: don't expose types directly 2026-01-09 13:31:20 +09:00
oysteikt fa54eb5c6a common/types: add better alias for MountPath 2026-01-09 13:31:20 +09:00
oysteikt 3ccc99137f common/types: add better alias for AudioOutputId 2026-01-09 13:31:20 +09:00
oysteikt 1535812e62 common/types: add type for ChannelName 2026-01-09 13:31:19 +09:00
oysteikt 4f751eda48 common/types: add better alias for PlaylistVersion 2026-01-09 13:31:19 +09:00
oysteikt c57634e1ba common/types: add type for Sort 2026-01-09 13:31:19 +09:00
oysteikt 23563cfb9b 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:31:18 +09:00
oysteikt 507a540c45 commands: fix request de/serialization for list 2026-01-09 13:31:18 +09:00
oysteikt efe98d1177 commands: remove some fixed TODOs 2026-01-09 13:31:18 +09:00
oysteikt bbd0e71861 commands: split response tokenizer into separate file 2026-01-09 13:31:17 +09:00
oysteikt abc1fcc01b Implement a proper request tokenizer 2026-01-09 13:31:17 +09:00
oysteikt 181b437b80 WIP: serialize requests 2026-01-09 13:31:16 +09:00
oysteikt f929f32ddd commands: implement response parser for lsinfo 2026-01-09 13:31:15 +09:00
oysteikt f65760314f cargo fmt + clippy 2026-01-09 13:31:14 +09:00
oysteikt 55b1d99b2a commands: implement response parser for tagtypes available 2026-01-09 13:31:14 +09:00
oysteikt b576b7903f commands: implement response parser for protocol 2026-01-09 13:31:14 +09:00
oysteikt 95a399864b commands: implement response parser for protocol available 2026-01-09 13:31:14 +09:00
oysteikt 02fb57038c commands: return runtime errors on invalid property names 2026-01-09 13:31:13 +09:00
oysteikt 8b6a189558 commands: create result struct for readmessages 2026-01-09 13:31:13 +09:00
oysteikt ad7a779af2 commands: precalculate capacity and use iterators 2026-01-09 13:31:13 +09:00
oysteikt 0937a3ba4c commands: make better use of expect_property_type! 2026-01-09 13:31:12 +09:00
oysteikt baa3abd610 commands: implement response parser for listmounts 2026-01-09 13:31:12 +09:00
oysteikt f9b590472d commands: implement common traits for responses 2026-01-09 13:31:12 +09:00
oysteikt 5e13a4be16 commands: implement response parser for decoders 2026-01-09 13:31:11 +09:00
oysteikt 56da3736f0 commands: implement response parser for listneighbors 2026-01-09 13:31:11 +09:00
oysteikt ec05a550b6 commands: implement response parser for outputs 2026-01-09 13:31:11 +09:00
oysteikt 90d336fd93 commands: fix clippy warnings about confusing elided lifetimes 2026-01-09 13:31:10 +09:00
oysteikt ee89663f67 Rust edition 2024 2026-01-09 13:31:07 +09:00
oysteikt b5576d901f common/types: move stuff from requests to types 2026-01-09 13:31:06 +09:00
oysteikt 9ff0b0264f commands: deduplicate logic in macros, add more macros 2026-01-09 13:31:06 +09:00
oysteikt 97c163734a commands: implement some more response parsers 2026-01-09 13:31:06 +09:00
oysteikt e9fc3a2a23 commands: fix some syntax errors reporting literals 2026-01-09 13:31:04 +09:00
oysteikt 13f4ca4563 Implement some more commands 2026-01-09 13:31:04 +09:00
oysteikt 32dfc497a7 commands: add missing debug asserts 2026-01-09 13:31:04 +09:00
oysteikt 7dca46caf8 commands: add some TODOs for assumptions made about syntax 2026-01-09 13:31:04 +09:00
oysteikt a80ca0e0f4 Implement some more commands 2026-01-09 13:30:23 +09:00
oysteikt 95b6f73684 format 2026-01-09 13:30:23 +09:00
oysteikt 5e3e2df1e1 commands: use real Filter type 2026-01-09 13:30:22 +09:00
oysteikt 1334765426 Add more commands 2026-01-09 13:30:21 +09:00
oysteikt 5b2b97611e Add existing command parsers to the main request parser 2026-01-09 13:30:21 +09:00
oysteikt 2ca3cd40bc Implement some more commands 2026-01-09 13:30:20 +09:00
oysteikt 8461542735 prefer unimplemented! for unimplemented functions 2026-01-09 13:30:20 +09:00
oysteikt 771bc17358 commands: add derives for a few response types 2026-01-09 13:30:20 +09:00
oysteikt 4b8831933e commands: handle some more response parsing 2026-01-09 13:30:20 +09:00
oysteikt 2bdb64f19a commands/stats: parse_response 2026-01-09 13:30:19 +09:00
oysteikt 0ead03cbce commands: make macros usable without use statements 2026-01-09 13:30:19 +09:00
oysteikt d52ac2b578 commands: use different datastructure for response attrs 2026-01-09 13:30:19 +09:00
oysteikt 028241c95a Continued development 2026-01-09 13:30:17 +09:00