Commit graph

24 commits

Author SHA1 Message Date
Ottatop
b99cc8ffce Move impls to Pinnacle 2024-04-26 19:58:02 -05:00
Ottatop
8aaec59452 Split off backend and rest of State
Currently doesn't clean up anything, still need to change `impl State`s to `impl Pinnacle`s
2024-04-26 18:43:18 -05:00
Leon Vack
13df2d161b Fix lua tests hanging 2024-04-25 11:07:32 +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
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
78eb41ef51 Use mlua for Lua tests 2024-04-20 19:17:43 -05:00
Ottatop
b77e9fa9b1 Add transform to Rust output setup 2024-04-17 21:31:39 -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
Ottatop
43809d4210 Remove statics from Rust API
And a bunch of other things, this commit doesn't build
2024-04-16 11:10:47 -05:00
Ottatop
f557afcaa1 Start on Rust API tests
Does not currently work because every api struct is a static, yikes
2024-04-16 07:04:34 -05:00
Ottatop
ce8b56eee8 Add Output::setup
Still needs polishing and more importantly testing, also the Lua impl isn't finished yet
2024-04-15 15:50:09 -05:00
Ottatop
6d78436d18 Add TagHandle::windows 2024-04-12 07:57:22 -05:00
Ottatop
220be6d505 Move tests into separate mods 2024-04-11 12:35:48 -05:00
Ottatop
8d3bbf28f8 Add Pinnacle.run and use for tests 2024-03-23 01:39:07 -05:00
Ottatop
13ea0a683b Change TagId back to struct 2024-03-12 19:18:27 -05:00
Ottatop
140b0200aa Add some tests
First ever squash no clue what I'm doing
2024-03-11 19:39:41 -05:00
Ottatop
6d83e34868 Setup Lua API integration tests 2024-03-06 18:50:45 -06:00