Commit graph

63 commits

Author SHA1 Message Date
f124c7c9cb
protocols command (#67)
Adds a command for getting all enabled (and disabled) protocols from the
server.

- **add response for protocol status**
- **add command for protocols**
- **allow calling `Protocols` from BinaryParser**
- **allow calling `Protocols` from textparser**
2024-12-11 20:08:39 +01:00
b2755d2ffb
add tests for caps versions in text protocol (#60)
I found that we only tested whether the lowercase HEX colors worked.
Added some to check caps as well
2024-12-11 20:07:04 +01:00
d279051da7
add configuration for the stdout pixel-changed interval (#59)
Add an option in `config.rs` to set the interval to log changed pixels
to console
2024-12-11 20:06:45 +01:00
69c424ec6e
clean up stream code (#58)
Make a trait function for creating frames instead of a locally defined
one
2024-12-11 20:06:25 +01:00
fe07344cb4
use vec![] for the get_status vector 2024-12-11 12:55:05 +01:00
6dc11526d8
allow calling Protocols from textparser 2024-12-11 12:50:34 +01:00
823f4a306a
allow calling Protocols from BinaryParser 2024-12-11 12:49:02 +01:00
b52af7d44f
add command for protocols 2024-12-11 12:48:11 +01:00
232fe6b6e2
add response for protocol status 2024-12-11 12:47:40 +01:00
b8c01befde
fix allow unreachable code directive 2024-12-11 00:30:05 +01:00
c5fb0f5437
move the locally scoped function to an impl to improve readability 2024-12-10 22:40:53 +01:00
b7b05d2865
add tests for caps versions in text protocol 2024-12-10 22:39:59 +01:00
62d6dd76d3
add configuration for the stdout pixel-changed interval 2024-12-10 22:38:14 +01:00
48edab8b13
use tracing for enabled/disabled features 2024-12-10 18:03:01 +01:00
22281e21f8
use announce macro instead of having to hardcode 2024-12-10 17:43:13 +01:00
e391d3f63f
allow unreachable in default protocol return 2024-12-10 17:40:33 +01:00
2337c0497c
turn text and binary protocols into features 2024-12-10 17:40:32 +01:00
peppidesu
7f04b39a15
feat: Website (#15)
Add a basic website that shows the current flutgrid state
Co-authored-by: Noa Aarts <noa@voorwaarts.nl>
2024-10-22 21:58:25 +02:00
peppidesu
0c00b7e9bf
missing import + ci fixes 2024-10-19 16:02:55 +02:00
9fde688bcc
Merge branch 'main' into jpg-buffer 2024-10-19 15:59:25 +02:00
peppidesu
a6eebc409e
added update interval to config 2024-10-19 15:53:39 +02:00
721e3fca34
use default for textprotocol 2024-10-19 15:38:51 +02:00
peppidesu
a1f7b3ab52
Revert "added webapi sketch"
This reverts commit b3e25cd706.
2024-10-19 15:37:51 +02:00
peppidesu
0fd67e0c6e
save image frames now uses grid jpeg buffer 2024-10-19 15:34:51 +02:00
peppidesu
e486bd121a
jpeg update loop, fixed return types for handles 2024-10-19 15:34:33 +02:00
a27dcf013f
make clippy happy 2024-10-19 15:34:03 +02:00
peppidesu
339eee14f6
undo rename for easier rebase 2024-10-19 15:08:56 +02:00
peppidesu
4bcab8ad67
jpg buffer 2024-10-19 15:08:05 +02:00
peppidesu
b3e25cd706
added webapi sketch 2024-10-19 15:06:56 +02:00
6c6e131e61
fix compile errors 2024-10-19 15:01:37 +02:00
de3248c3c6
fix memory leak in closing connections 2024-10-19 14:05:37 +02:00
9dc681086d
refactor: split into more logical files 2024-10-18 01:56:23 +02:00
19eb943865
chore: remove unused imports 2024-10-11 16:05:41 +02:00
0502f3dacb
feat: add periodic image saving 2024-10-11 16:05:16 +02:00
899c5343ae
feat: swap from u16_le to u16 2024-10-10 09:37:43 +02:00
a4c19d5f98
chore: improve styling of main 2024-10-09 16:45:51 +02:00
f0fca8182f
feat: improve get_pixel performance 2024-10-09 16:19:17 +02:00
0978664188
improve hex parser for text protocol 2024-10-06 23:11:26 +02:00
bed946b4a0
feat: improve perf 4x by not incrementing the atomic counter every time 2024-10-06 21:50:47 +02:00
be383ec768
fix: make pedantic clippy happy 2024-10-05 16:27:55 +02:00
dec36867d6
fix: make clippy happy 2024-10-05 16:02:20 +02:00
46d5685437
Merge pull request #1 from itepastra/v2
V2
2024-10-05 09:51:12 +02:00
1179ee4ea1
fix: remove spammy prints 2024-10-05 09:46:08 +02:00
6c0260e42f
fix: start binary responses 2024-10-05 00:29:54 +02:00
063e23d6de
fix: remove unessecary print 2024-10-04 19:52:21 +02:00
b47b2967bd
fix: pixel counter workies now 2024-10-04 19:34:00 +02:00
9350e6bc63
feat: WOWA, ik workie :3 2024-10-04 19:30:15 +02:00
ccf226f350
refactor: the syncUnsafeCell is now in the grid 2024-10-03 22:47:20 +02:00
Noa Aarts
cb51cacf9a chore: format nix file 2024-08-22 13:47:46 +02:00
Noa Aarts
9f1f23e62b refactor: split grid into mod 2024-07-25 16:45:15 +02:00