pajlada
b6dc5d9e03
chore: refactor TwitchIrcServer ( #5421 )
2024-06-01 12:56:40 +00:00
nerix
ec6b1ef24d
fix(luals-meta): generate globals in c2 and echo @lua commands ( #5385 )
...
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl >
2024-05-22 15:23:33 +02:00
nerix
c1bd5d11d0
refactor: improve LuaLS generator ( #5283 )
2024-03-30 22:11:52 +01:00
Mm2PL
d4b8feac7d
lua: Change CompletionRequested handler to use an event table. ( #5280 )
2024-03-30 14:23:02 +00:00
nerix
ed20e71db4
refactor: adapt magic_enum to Qt ( #5258 )
2024-03-23 11:22:42 +00:00
pajlada
3563ecb3a5
fix: Compile Lua as a C library ( #5251 )
2024-03-16 14:15:05 +00:00
Mm2PL
658fceddaa
Add plugin permissions and IO API ( #5231 )
2024-03-09 19:16:25 +00:00
Mm2PL
a737d4b755
Introduce c2.later() function to Lua API. ( #5154 )
2024-02-25 11:45:59 +00:00
Mm2PL
a5ac06124d
Update plugin documentation document ( #5185 )
...
* Add blurb about LuaLS type definitions
* Add c2.Channel documentation replacing c2.send_msg and c2.system_msg
* Use snake_case for command names in examples
to align to Lua naming convention
* Unrelated: add missing ChannelType
2024-02-18 21:09:19 +00:00
Mm2PL
4a4f62dc4a
Make Lua CommandContext use a ChannelRef ( #5184 )
2024-02-18 19:55:00 +00:00
Mm2PL
8e9aa87a08
Add a new Channel API for experimental plugins feature ( #5141 )
2024-02-03 19:12:00 +01:00
pajlada
4380ef8c5f
refactor: Remove most raw accesses into Application ( #5104 )
2024-01-19 17:59:55 +01:00
pajlada
718696db53
refactor: Un-singletonize Paths & Updates ( #5092 )
2024-01-16 20:56:43 +00:00
Mm2PL
69a54d944d
Autogenerate docs/plugin-meta.lua ( #5055 )
2023-12-30 10:26:19 +00:00
pajlada
d085ab578f
refactor: Make Args less of a singleton ( #5041 )
...
This means it's no longer a singleton, and its lifetime is bound to our application.
This felt like a good small experiment to see how its changes would look
if we did this.
As a shortcut, `getApp` that is already a mega singleton keeps a
reference to Args, this means places that are a bit more difficult to
inject into call `getApp()->getArgs()` just like other things are
accessed.
2023-12-29 15:40:31 +01:00
Mm2PL
5f8c4c6b66
BREAKING: Replace custom import() with normal Lua require(). ( #5014 )
...
* Use require() instead of a custom import()
* Also search relative to the current file
* Update documentation
2023-12-16 12:16:54 +00:00
Mm2PL
fd4cac2c2c
Add a new completion API for experimental plugins feature. ( #5000 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com >
2023-12-10 13:41:05 +00:00
Mm2PL
c3d3903b6f
feat: add --safe-mode command line option ( #4985 )
...
This ensures the settings button isn't hidden, and disables plugins from being loaded to make sure the user can always recover from messing things up
2023-12-05 17:37:42 +00:00
pajlada
e327ed4166
Update magic_enum from v0.9.3 to v0.9.5 ( #4992 )
...
* Fix include path for magic enum
* Update .clang-format to ensure magic enum is caught as a third party library
2023-12-01 15:03:04 +01:00
nerix
149399a072
Fix plugin compilation error when using Qt 6 ( #4504 )
2023-04-02 20:30:15 +02:00
Mm2PL
5ba809804e
Add basic lua scripting capabilities ( #4341 )
...
The scripting capabilities is locked behind a cmake flag, and is not enabled by default.
Co-authored-by: nerix <nerixdev@outlook.de >
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2023-04-02 15:31:53 +02:00