Commit graph

830 commits

Author SHA1 Message Date
Ottatop
3e7ef6d079 Support Lua down to 5.2 2024-04-24 20:01:04 -05:00
Ottatop
ef47a9f8c5 Remove xtasks 2024-04-24 18:50:31 -05:00
Ottatop
9f97fab0ab
Merge pull request #219 from pinnacle-comp/justfile
Add justfile and nuke build.rs
2024-04-24 18:46:19 -05:00
Ottatop
36a82245a7 Fix tests
Unwrap in tests to check error

Add backtrace to debug tests

Add dbg

i hate this

debugging github actions is a pain

aaaa

aaaaaaaaa

needs to be rebased
2024-04-24 18:33:44 -05:00
Ottatop
9f4b1a0d7b Obliterate build.rs 2024-04-24 18:33:44 -05:00
Ottatop
827ce1ecd7 README: include just usage 2024-04-24 18:33:44 -05:00
Ottatop
29363c3676 Add root installs
NOTE: Pinnacle currently does not search root dirs for stuff like the protobuf definitions, this is just for packaging and stuff
2024-04-24 18:33:44 -05:00
Ottatop
1d07e2a122 Add justfile
Need to add installs for root user
2024-04-24 18:33:44 -05:00
Ottatop
ce22883125 Return instead of asserting 2024-04-23 19:41:26 -05:00
Ottatop
60e5910bfc
README: update default loaded config 2024-04-23 01:02:30 -05:00
Ottatop
478b9f7455
Merge pull request #216 from pinnacle-comp/embed_rust_config
Embed default rust config in binary
2024-04-22 21:24:16 -05:00
Ottatop
4eb13b772c README: fix line 2024-04-22 21:20:05 -05:00
Ottatop
45bf9b698c Move state clearing on config start to front 2024-04-22 21:17:51 -05:00
Ottatop
bf92d12795 README: update for removal of luarocks from build 2024-04-22 21:15:12 -05:00
Ottatop
52dfd476de Run luarocks make in test ci 2024-04-22 20:54:47 -05:00
Ottatop
1b09fe94ee Remove luarock from build.rs 2024-04-22 20:45:42 -05:00
Ottatop
ac15e2d566 Fix Rust API not exiting correctly
My goodness was that not fun to debug
2024-04-22 20:34:06 -05:00
Ottatop
43891a2a48 Ignore layout stream errors 2024-04-22 14:14:22 -05:00
Ottatop
f54516bbe3 Embed default rust config
Need to clean up how the Rust API handles shutdown signals
2024-04-21 23:45:03 -05:00
Ottatop
6da1967b3d Scaffold xtasks
NOT DONE, don't use it yet
2024-04-21 14:25:35 -05:00
Ottatop
2aca29fe7c Revert "Use mlua for Lua tests"
This reverts commit 78eb41ef51.

Can't get the github runner not to block when running tests, fun
2024-04-20 21:35:40 -05:00
Ottatop
6f6b91f4f8 Use tokio tasks instead of threads
why is the github runner blocking on tests, it doesn't on my machine
2024-04-20 21:25:53 -05:00
Ottatop
931822976e Don't install lua using apt, install the lib instead 2024-04-20 19:38:20 -05:00
Ottatop
611451b717 Install mlua using apt 2024-04-20 19:36:25 -05:00
Ottatop
78eb41ef51 Use mlua for Lua tests 2024-04-20 19:17:43 -05:00
Ottatop
978eb14ec9 Dedup stuff 2024-04-20 17:08:49 -05:00
Ottatop
b180848306 Add LuaCATS annotations for protobuf 2024-04-20 16:01:36 -05:00
Ottatop
10db9e56ab README: add a newline 2024-04-20 13:32:42 -05:00
Ottatop
314ee5ab6e Commit resize state even if tiled 2024-04-20 12:54:48 -05:00
Ottatop
591c5c1cd0 Update Smithay and don't map resized windows if tiled 2024-04-20 12:54:09 -05:00
Ottatop
a1021638c5 Implement relative pointer protocol 2024-04-19 15:23:56 -05:00
Ottatop
8df5682328 Update internal xwm window layering 2024-04-19 15:02:16 -05:00
Ottatop
9af11d7b6a
Merge pull request #201 from pinnacle-comp/api_enhancements
Add various API enhancements
2024-04-18 16:54:54 -05:00
Ottatop
e0af7743a4
Merge branch 'main' into api_enhancements 2024-04-18 16:49:23 -05:00
Ottatop
6320b4d107 Update default Rust config 2024-04-18 16:45:31 -05:00
Ottatop
f42f220d5e Update docs and default Lua config 2024-04-18 16:39:30 -05:00
Ottatop
457f0d3d56 Add reload config API call 2024-04-18 16:30:10 -05:00
Ottatop
1c2f639a56 Add tag active signal 2024-04-18 14:42:49 -05:00
Ottatop
c0aa9067f3 Add some more docs 2024-04-18 12:54:39 -05:00
Ottatop
d2cb38daf5 Add some docs 2024-04-18 11:48:18 -05:00
Ottatop
d2445afe10 Allo wmatching outputs by EDID serial
Note that EDID serials are not totally unique across all monitors. Also some monitors don't have an EDID serial number. Also this hasn't been tested yet
2024-04-18 11:04:15 -05:00
Ottatop
0284a70c10 Add serial to ouptut properties 2024-04-17 23:01:56 -05:00
Ottatop
b77e9fa9b1 Add transform to Rust output setup 2024-04-17 21:31:39 -05:00
Ottatop
d28f520b07 Fix Lua default config 2024-04-17 21:25:55 -05:00
Ottatop
a8f393deb3 Improve Lua output setup API
I really like this compared to the previous iteration
2024-04-17 21:22:54 -05:00
Ottatop
5634cbbfe7 Improve Rust output setup API 2024-04-17 18:56:01 -05:00
Ottatop
6c8b643577 Add OutputHandle::set_transform 2024-04-16 21:30:59 -05:00
Ottatop
f6ad192c86 Finish Lua setup and setup_locs 2024-04-16 19:25:59 -05:00
Ottatop
3f5a56c201 Finish Rust Output::setup and ::setup_locs 2024-04-16 16:26:54 -05:00
Ottatop
ce4352a9fb Split off location setting from setup 2024-04-16 14:29:53 -05:00