Commit graph

1044 commits

Author SHA1 Message Date
Ottatop
612b1ccda0 Add wlcs compilation script 2024-04-26 13:03:17 -05:00
Leon Vack
bdcac3b016 Cleanup up dependencies 2024-04-26 10:27:11 +02:00
Leon Vack
29e7d7bd5f Make clippy happy 2024-04-25 11:17:43 +02:00
Leon Vack
13df2d161b Fix lua tests hanging 2024-04-25 11:07:32 +02:00
Leon Vack
194da9e557 Float all windows for tests and improve window positioning 2024-04-25 10:48:37 +02:00
Leon Vack
0b353c45f2 Use an embedded config for tests 2024-04-25 10:48:37 +02:00
Leon Vack
c0fe55003b Fix xwayland and cleanup 2024-04-25 10:48:37 +02:00
Leon Vack
abb21d9924 Perform wlcs interactions using an InputBackend 2024-04-25 10:48:37 +02:00
Leon Vack
fb8b6e166c Clean up some stuff and move the config for wlcs tests 2024-04-25 10:48:37 +02:00
Leon Vack
e8b8a33bfc Make wlcs run some actual tests 2024-04-25 10:48:36 +02:00
Leon Vack
7adcb1d729 Make wlcs start 2024-04-25 10:47:48 +02:00
Leon Vack
bb832ae885 Add wlcs stub 2024-04-25 10:47:44 +02:00
Ottatop
7e80a6a64f Update test infrastructure
Extracts the dummy output name into a const. Unfortunately I still need a way to interpolate that into Lua strings. Also fixes possible hangs when Lua crashes
2024-04-24 21:37:17 -05:00
Ottatop
e2232fb56c Don't add modes with add_mode
Doing so adds non-current modes to the output (which are deprecated) and causes smithay to send them to `wl_output` consumers. Caused swww to open at the wrong size
2024-04-24 20:47:47 -05:00
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