Commit graph

606 commits

Author SHA1 Message Date
Ottatop
2dd170cf10 Rename all lua_grpc to lua 2024-01-16 14:23:18 -06:00
Ottatop
0b75829865 Get Lua in workflow
Something tells me that 1. I should find a way to test these workflows, and 2. Copying library files in build.rs doesn't seem like the smartest way to do things
2024-01-15 23:45:42 -06:00
Ottatop
f64c16b7e3 Get Luarocks in workflow 2024-01-15 23:43:13 -06:00
Ottatop
c444ae9585 Remove old Lua API 2024-01-15 23:37:17 -06:00
Ottatop
c86300228a Use luarocks make --local in build.rs 2024-01-15 21:53:13 -06:00
Ottatop
e18b2a12d3 Add rockspec, remove graceful shutdown stuff 2024-01-15 20:30:59 -06:00
Ottatop
5b116c68be Toggle tags on windows correctly 2024-01-15 18:01:02 -06:00
Ottatop
b67867c066 Move grpc socket to XDG_RUNTIME_DIR 2024-01-15 17:46:08 -06:00
Ottatop
7841ea3422 Add libinput to new API
I forgor 💀
2024-01-14 23:38:05 -06:00
Ottatop
3f87784248 Debug stuff 2024-01-14 22:28:02 -06:00
Ottatop
f7068a1146 Get mousebinds to work 2024-01-14 20:25:57 -06:00
Ottatop
2a342c8272 Remove building old Lua docs
I hate how building multiple docs at the same time causes one to fail due to pushed changes from the other build, gotta find a way to fix that
2024-01-14 20:06:40 -06:00
Ottatop
8ae7f44580 Clean up docs 2024-01-14 20:03:58 -06:00
Ottatop
fbef4007ea Add doc-gen comment stuff
Somehow the doc-gen tool still works, kinda crazy
2024-01-14 19:53:43 -06:00
Ottatop
35e7b73646 Attempt to salvage guaranteed-to-fail workflow 2024-01-14 19:35:54 -06:00
Ottatop
f4425e74ce Add guaranteed-to-fail workflow 2024-01-14 18:08:17 -06:00
Ottatop
a8239f171e Add docs to new Lua API
1000% sure I'm gonna have to rewrite my LDoc generation tool to actually work
2024-01-14 18:01:41 -06:00
Ottatop
7fe56ed949 Gracefully shutdown after ctrl-c 2024-01-14 13:34:00 -06:00
Ottatop
3ff1f4e737 Filter threads from process count
Found like 85 sockets in /run/user/1000 that weren't getting cleaned up
2024-01-14 12:01:11 -06:00
Ottatop
1cdc6fe42d No clue
I'm sick and my brain is fried rn no clue what's in this commit
2024-01-13 23:15:14 -06:00
Ottatop
efa846d40b Remove re-exports 2024-01-13 15:42:15 -06:00
Ottatop
0c4fc3ad1d Start on new example config
TODO: write the docs, fix input keysym reading, make a luarocks module
2024-01-12 21:48:07 -06:00
Ottatop
f10bd933ca Write rest of new Lua API 2024-01-12 20:15:58 -06:00
Ottatop
97f9cf82d6 Write half of new Lua API 2024-01-12 17:20:34 -06:00
Ottatop
3b88b3ff11 Add working Lua gRPC client 2024-01-11 21:58:35 -06:00
Ottatop
b1109b57a7 Fix compile errors
Something something "build before you push" blah blah
2024-01-11 13:46:58 -06:00
Ottatop
3236f455b9 Impl remaining services 2024-01-11 13:40:17 -06:00
Ottatop
31d3ffc10d Impl services for input, tag, and process 2024-01-10 20:21:59 -06:00
Ottatop
46ba7d9ad0 Extract proto into crate, start impl'ing services 2024-01-09 19:25:51 -06:00
Ottatop
3d05338c82 Add tonic-reflection 2024-01-08 20:11:02 -06:00
Ottatop
e704766845 Remember to remove the old tonic_build compile
Ya dingus
2024-01-08 18:59:17 -06:00
Ottatop
48da903a0f Create proto files 2024-01-08 18:55:59 -06:00
Ottatop
b08b979fe9 Migrate all async to tokio 2024-01-08 13:43:38 -06:00
Ottatop
35a3f77ad7 Install protoc in workflow 2024-01-08 13:04:36 -06:00
Ottatop
23f80be22a Begin moving configuration to gRPC 2024-01-08 12:51:04 -06:00
Ottatop
186d435923 Update dependencies 2024-01-08 12:42:29 -06:00
Ottatop
ddb4b21720
Merge pull request #122 from pinnacle-comp/spawn_once
Move spawn_once logic into compositor
2023-12-25 21:07:27 -06:00
Ottatop
bfcfe99ccb Move spawn_once logic into compositor, add spawn_once to Rust API, bump tracing 2023-12-25 21:02:50 -06:00
Ottatop
1a085fab3f
Merge pull request #120 from pinnacle-comp/fix_outputs_udev
Fix output display on udev
2023-12-25 19:56:26 -06:00
Ottatop
e4df0f9488 Remove commented out code 2023-12-25 19:52:17 -06:00
Ottatop
f9e81d4c1d Use space_elements to remove boilerplate
Unsure if this helped or not because I had to add `_ => unreachable!()` everywhere I matched on `WindowElement`
2023-12-23 22:17:35 -06:00
Ottatop
31172c5a4e Fix multi-monitor fullscreen rendering and pointer input 2023-12-23 22:03:20 -06:00
Ottatop
f8d1e59c06 Correctly offset render elements 2023-12-21 21:15:21 -06:00
Ottatop
7106e2dd09
Merge pull request #119 from pinnacle-comp/fix_layout_udev
Schedule render on `SetLayout`
2023-12-21 19:13:09 -06:00
Ottatop
5ac7157f61 Scedule render on SetLayout 2023-12-21 19:00:21 -06:00
Ottatop
a69ab4eb94
Merge pull request #109 from pinnacle-comp/blocker_impl
Use a `Blocker` implementation instead of halting rendering

Introduces flickering when closing windows
2023-12-21 18:52:56 -06:00
Ottatop
e8702f9c0c Remove unused import 2023-12-21 18:50:28 -06:00
Ottatop
eb5d76f79b Wrap version in quotes
Aight either I'm going insane or this suddenly isn't working because www.lua.org isn't a valid website
2023-12-20 20:00:13 -06:00
Ottatop
ef4b1d3d51 Update workflow action
Evidently I was using a version from 2020 for some reason
2023-12-20 19:54:34 -06:00
Ottatop
24034e7051 Make blocker work on udev
Also apparently stylua updated or something cuz I formatted the example_config and it's different now. Also need to fix the slight flickering when closing windows
2023-12-20 19:48:49 -06:00