Commit graph

74 commits

Author SHA1 Message Date
5e509705e6
Update build_nix.yml 2024-10-21 00:22:43 +02:00
d41b734c86
Update build_nix.yml 2024-10-21 00:21:43 +02:00
b9793e7c60
Update update-flake.yml 2024-10-21 00:21:25 +02:00
8537dc0f6f
Update update-flake.yml 2024-10-21 00:16:46 +02:00
64961d11e8
flake: use new devshell format (#20)
Use devShells.${system}.default instead of devShell, since the latter is
deprecated
2024-10-21 00:06:17 +02:00
e05ca98b5c
Update update-flake.yml 2024-10-21 00:05:15 +02:00
0cc19082f6
flake: use nixpkgs master 2024-10-20 23:56:40 +02:00
07a2ae193a
flake: remove unused parameters 2024-10-20 23:56:21 +02:00
32594baba7
flake: use new devshell format 2024-10-20 23:50:17 +02:00
d5f6316bbb
Create workflow for updating flake 2024-10-20 23:46:49 +02:00
b76280d8e8
Create nix build workflow 2024-10-20 23:46:31 +02:00
0796396d16
Make rust build accept compile warnings 2024-10-20 23:45:45 +02:00
ec623495ad
flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/d6a9ff4d1e60c347a23bc96ccdb058d37a810541?narHash=sha256-Jkqaw9O7WXTf5SHrK7xr9HpVU/mEPVg0Sp6s3AENC90%3D' (2024-10-15)
  → 'github:nix-community/fenix/2853e7d9b5c52a148a9fb824bfe4f9f433f557ab?narHash=sha256-bRo4xVwUhvJ4Gz%2BOhWMREFMdBOYSw4Yi1Apj01ebbug%3D' (2024-10-19)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/0319586ef2a2636f6d6b891690b7ebebf4337c85?narHash=sha256-BOCZ5osPOMh2BPHnkK4sVdTGj7sn47rBn1nxjrzWe5U%3D' (2024-10-14)
  → 'github:rust-lang/rust-analyzer/72b214fbfbe6f7b95a7877b962783bd42062cc0a?narHash=sha256-yODOuZxBkS0UfqMa6nmbqNbVfIbsu0tYLbV5vZzmsqI%3D' (2024-10-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c?narHash=sha256-nsNdSldaAyu6PE3YUA%2BYQLqUDJh%2BgRbBooMMekZJwvI%3D' (2024-10-14)
  → 'github:nixos/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0?narHash=sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c%2BcHUJwA%3D' (2024-10-18)
2024-10-20 17:00:33 +02:00
peppidesu
26a827ba14
feat: jpg buffer (#13)
Added a buffer to the FlutGrid to store encoded jpeg data of the canvas. This buffer is stored behind a RwLock to allow for arbitrary concurrent read operations.

save_image_frames has also been rewritten to make use of this buffer rather than encoding the jpeg on the fly.

An update thread has been added to regularly (currently every 20 ms) update the contents of the buffer.
2024-10-19 16:09:58 +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
c2e8638a2e
Merge pull request #14 from itepastra/ci
Ci
2024-10-19 15:52:31 +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
a8bc1555c2
remove clippy pedantic 2024-10-19 15:09:15 +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
96e9bd8f28
use nightly in devShell 2024-10-19 14:06:29 +02:00
de3248c3c6
fix memory leak in closing connections 2024-10-19 14:05:37 +02:00
b0d74880dd
add result to gitignore 2024-10-18 16:49:58 +02:00
6c817759eb
flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/b135535125e24270dddddc8cfab455533492e4ad?narHash=sha256-2YAnVU67qimQGO71rCBWcv7RrRK5gYgysXe3NVomuwQ%3D' (2024-10-10)
  → 'github:nix-community/fenix/d6a9ff4d1e60c347a23bc96ccdb058d37a810541?narHash=sha256-Jkqaw9O7WXTf5SHrK7xr9HpVU/mEPVg0Sp6s3AENC90%3D' (2024-10-15)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/0fb804acb375b02a3beeaceeb75b71969ef37b15?narHash=sha256-QFPMazeiGLo7AGy4RREmTgko0Quch/toMVKhGUjDEeo%3D' (2024-10-09)
  → 'github:rust-lang/rust-analyzer/0319586ef2a2636f6d6b891690b7ebebf4337c85?narHash=sha256-BOCZ5osPOMh2BPHnkK4sVdTGj7sn47rBn1nxjrzWe5U%3D' (2024-10-14)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7?narHash=sha256-9UTxR8eukdg%2BXZeHgxW5hQA9fIKHsKCdOIUycTryeVw%3D' (2024-10-09)
  → 'github:nixos/nixpkgs/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c?narHash=sha256-nsNdSldaAyu6PE3YUA%2BYQLqUDJh%2BgRbBooMMekZJwvI%3D' (2024-10-14)
2024-10-18 16:49:38 +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
6da19152ca
chore: update cargo deps 2024-10-10 22:10:32 +02:00
7efbacfaa6
flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/cdfd7bf3e3edaf9e3f6d1e397d3ee601e513613c' (2024-10-05)
  → 'github:nix-community/fenix/b135535125e24270dddddc8cfab455533492e4ad' (2024-10-10)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/5982d9c420d0dc90739171829f0d2e9c80d98979' (2024-10-04)
  → 'github:rust-lang/rust-analyzer/0fb804acb375b02a3beeaceeb75b71969ef37b15' (2024-10-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/feb2849fdeb70028c70d73b848214b00d324a497' (2024-07-09)
  → 'github:nixos/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
2024-10-10 22:10:01 +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
b352b0dc10
Update README.md
the arrows broke stuff
2024-10-05 17:19:57 +02:00
848a781aab
feat: add readme 2024-10-05 17:15:30 +02:00
e31e982b00
fix: rust.yml 2024-10-05 16:31:17 +02:00
be383ec768
fix: make pedantic clippy happy 2024-10-05 16:27:55 +02:00
f6f7623458
fix: disable cargo-outdated, due to lockfile V4 not yet working 2024-10-05 16:09:54 +02:00
dec36867d6
fix: make clippy happy 2024-10-05 16:02:20 +02:00
Noa Aarts
eeb030e68a
Update rust.yml 2024-10-05 11:13:35 +02:00
1e04b94051
feat: add nix output 2024-10-05 10:12:28 +02:00