Commit Graph

108 Commits

Author SHA1 Message Date
e3300f6c8c response_tokenizer: refactor
All checks were successful
Build and test / check (push) Successful in 1m5s
Build and test / build (push) Successful in 1m10s
Build and test / docs (push) Successful in 1m11s
Build and test / test (push) Successful in 2m2s
2026-01-10 01:16:30 +09:00
a89ad2f93e commands: constructors for all commands
All checks were successful
Build and test / build (push) Successful in 1m12s
Build and test / check (push) Successful in 1m22s
Build and test / test (push) Successful in 1m57s
Build and test / docs (push) Successful in 2m16s
2026-01-10 00:12:15 +09:00
4356258312 commands: store SubtypeParserError expected type as &str 2025-12-08 17:48:44 +09:00
b1bbd4ebb1 commands: use new error variants for a few more commands 2025-12-08 17:30:47 +09:00
f6a0489539 lib: fix doccomment url rendering 2025-12-08 16:27:55 +09:00
cedf17d5f9 commands: add request parser error variant for keyword without value 2025-12-08 16:25:33 +09:00
350892fda9 commands: clearly define how arguments are counted in request error 2025-12-08 16:25:04 +09:00
febe651158 Clean up misc. module doccomments 2025-12-08 16:15:12 +09:00
39e6b237af filter: document misc 2025-12-08 16:09:18 +09:00
44b0e6aa85 commands: use new error variants for various commands 2025-12-08 15:54:37 +09:00
670cdc7ba5 Preallocate a few more response parsers 2025-12-08 14:27:42 +09:00
0675d9d984 commands: add and fix variants for RequestParserError 2025-12-08 13:55:25 +09:00
27b1c889df filter: flatten module 2025-12-08 13:32:18 +09:00
8f3dff30a8 cargo fmt + clippy 2025-12-08 13:28:45 +09:00
04e8c1c144 commands: extend parser errors 2025-12-08 13:28:17 +09:00
2582ffac2a Remove a few unused type aliases 2025-12-08 13:11:09 +09:00
1bd2e4f0fb *_tokenizer: add module doccomment 2025-12-08 13:10:31 +09:00
818f89859f commands: force external users to interact with requests and responses through Command trait 2025-12-08 13:07:11 +09:00
f2e2eb271a commands: add command executor directly on Command trait 2025-12-08 13:05:30 +09:00
10fb43fa64 examples/mpd-client: add some code 2025-12-08 13:00:46 +09:00
d123a53828 commands: strip lifetimes 2025-12-08 12:30:19 +09:00
1311b8118f commands: add newline at end of all command serializers 2025-12-08 05:49:54 +09:00
9f74b219d3 client: init 2025-12-08 05:32:49 +09:00
143dc48019 MpdError: impl thiserror 2025-12-08 05:31:43 +09:00
e8f2cd2034 make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
72923b1549 common/types: flatten to types 2025-12-08 04:14:32 +09:00
3faf01355f commands: document module 2025-12-08 04:07:20 +09:00
4c07b966b7 response: add some notes about the errors 2025-12-08 01:46:14 +09:00
874fac6ea5 cargo clippy 2025-12-08 01:08:58 +09:00
7e749a4f46 commands/stickernamestypes: add missing derive for response 2025-12-08 01:05:24 +09:00
525b913f70 commands/listplaylist: add note about format 2025-12-08 01:03:23 +09:00
9e3b2d0465 commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
58f7c01082 commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
5823e95eb9 commands: add response types for multiple commands 2025-12-08 00:44:37 +09:00
c0cc63503a commands/currentsong: implement response parser 2025-12-08 00:29:00 +09:00
b8aaac544d commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
2a97914c93 commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
6191e10028 cargo fmt 2025-12-07 21:39:57 +09:00
fc5cbe8024 commands/listplaylistinfo: add response type 2025-12-07 21:33:01 +09:00
c811094908 commands: implement all database selection responses 2025-12-07 21:33:02 +09:00
267fd0e2e9 types/tag: make orderable 2025-12-07 20:53:45 +09:00
b97b650f64 common/types: add db selection print types 2025-12-07 21:21:58 +09:00
a2c143a461 commands/listplaylists: implement 2025-12-07 20:53:45 +09:00
d811840ea1 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
925eb1941a filter: export all types from inner module 2025-12-05 21:00:01 +09:00
ef753e199a common: don't expose types directly 2025-12-05 20:59:19 +09:00
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