Commit graph

4640 commits

Author SHA1 Message Date
Mm2PL 51423afc17
We want to use sol::nil on all platforms, thanks 2024-10-12 00:08:40 +02:00
Mm2PL bf837bcebb
Ensure time cannot be negative 2024-10-11 18:36:39 +02:00
Mm2PL 0393274cc0
FIX ON WINDOWS ATTEMPT 3 2024-10-10 14:18:09 +02:00
Mm2PL f5b49bff6a
Create c2.later thread from main thread and before timer hits 2024-10-10 14:10:01 +02:00
Mm2PL 22646608f9
Add a test for c2.later 2024-10-10 13:41:49 +02:00
Mm2PL 53ae8ab8ca
Make c2_later throw not longjmp 2024-10-10 13:38:03 +02:00
Mm2PL 340f50c4ab
Fix compilation 2024-10-10 00:19:37 +02:00
Mm2PL 1d60a73137
Add missing includes 2024-10-09 23:50:47 +02:00
Mm2PL 1c92a93261
Add changelog (finally) 2024-10-09 23:12:59 +02:00
Mm2PL d1c227a65c
Correct documentation 2024-10-09 23:12:10 +02:00
Mm2PL de6e2cc1fd
Add plugin tests 2024-10-09 23:12:10 +02:00
Mm2PL b338d822fa
Add missing includes 2024-10-09 23:12:10 +02:00
Mm2PL 16da304d78
Use QByteArray directly in HTTPRequest::set_{payload,header} 2024-10-09 23:12:10 +02:00
Mm2PL 557e50f310
Make PluginController::openLibrariesFor not take a directory 2024-10-09 23:12:10 +02:00
Mm2PL dddb8f5886
Add sol functions for QByteArray 2024-10-09 23:12:09 +02:00
Mm2PL 76ce722d1d
Make io.lines() throw instead of returning an open-like error 2024-10-09 23:12:09 +02:00
Mm2PL 8f2b14c1af
Fix HTTPRequest crashing on plugin unload 2024-10-09 23:12:09 +02:00
Mm2PL 7b5ed5297e
Give HTTPRequest a __tostring 2024-10-09 23:12:09 +02:00
Mm2PL 90bcdc8bf5
Give HTTPResponse a to_string 2024-10-09 23:12:09 +02:00
Mm2PL 072003c0fe
Make HTTPResponse no longer have shared_from_this 2024-10-09 23:12:09 +02:00
Mm2PL 1f2b25eb76
Call timers on separate coroutine threads 2024-10-09 23:12:09 +02:00
Mm2PL 846f7ca5bd
Fix HTTPRequest randomly failing
- do not store the state
 - keep the object alive (it's a modern day miracle that c2 didn't crash
   burn and explode without the shared_ptr hack)
2024-10-09 23:12:09 +02:00
Mm2PL 062c8b7821
Remove now unused lua utilities 2024-10-09 23:12:09 +02:00
Mm2PL 9edbfcccca
Add GDB_DUMMY tag for lua::stackDump 2024-10-09 23:12:09 +02:00
Mm2PL 04267d60e8
Move initialization to sol 2024-10-09 23:12:09 +02:00
Mm2PL db479f1125
Move c2.later to sol 2024-10-09 23:12:09 +02:00
Mm2PL e1dcf28dac
Move io wrapper to sol 2024-10-09 23:12:09 +02:00
Mm2PL 3faa5cb9b3
Enable all safeties for sol 2024-10-09 23:12:09 +02:00
Mm2PL 24ec7710a6
Move load() to sol 2024-10-09 23:12:09 +02:00
Mm2PL a8438bfa50
Move logging to sol 2024-10-09 23:12:09 +02:00
Mm2PL 0d9f5f2576
Update library notes 2024-10-09 23:12:09 +02:00
Mm2PL 235da004cd
Add asserts to explode the process earliest possible moment 2024-10-09 23:12:09 +02:00
Mm2PL 48a3adc8cf
Move events to sol
including tab completion
2024-10-09 23:12:09 +02:00
Mm2PL 1008904fb1
Move EventType to its own file
For #include reasons
2024-10-09 23:12:09 +02:00
Mm2PL 586f6327d3
Let the plugin clean itself up 2024-10-09 23:12:09 +02:00
Mm2PL c9656399d1
Move HTTPRequest to sol2 2024-10-09 23:12:09 +02:00
Mm2PL 3dde8f7a4c
Move HTTPResponse to sol 2024-10-09 23:12:09 +02:00
Mm2PL d147aae066
Unrelated: Fix file-relative require searcher 2024-10-09 23:12:09 +02:00
Mm2PL f1c63091af
Move ChannelRef to sol2
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL 8a876e4051
Get rid of irc remnants
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL d5f55bddce
Rework plugin commands to sol
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL b525473d79
Make createEnumTable to replace direct Lua API usage
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL 944e447886
Add things for sol migration
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL a0b434309a
Add nullable syntax support for LuaLS meta script
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL ad4a0db6c3
Remove "class " and "typename " from type_name
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL 8d0d91f279
Downgrade Lua to stable to fix sol 2024-10-09 23:12:09 +02:00
Mm2PL 121317cbd4
Unbreak c2.ChannelType 2024-10-09 23:12:09 +02:00
Mm2PL ef2ae52bed
Add sol2
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
Mm2PL 58a553cf3f
Compile Lua as C++
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-10-09 23:12:09 +02:00
nerix f04e7e54e4
fix: only unpause if a selected page exists (#5637)
* fix: only unpause if a selected page exists

* chore: add changelog entry

* nit: reduce changes

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-10-09 09:27:16 +00:00