Commit graph

3888 commits

Author SHA1 Message Date
Mm2PL
67a6821cad
Try to add CI that builds with CHATTERINO_HAVE_PLUGINS 2023-02-02 13:43:29 +01:00
Mm2PL
c7f47df827
Add CHATTERINO_HAVE_PLUGINS define 2023-02-02 13:06:29 +01:00
Mm2PL
a61bc4d6d1
Move Plugin and PluginMeta into plugin.{c,h}pp 2023-02-01 22:42:17 +01:00
Mm2PL
3ee84ff444
Move chatterino global namespace shit into a namespace 2023-02-01 22:40:36 +01:00
Mm2PL
13d2ff870f
Move dangerous stdlib logic to PluginMeta 2023-02-01 17:30:32 +01:00
Mm2PL
cf9e5ed66c
Don't actually load disabled plugins lol 2023-02-01 17:30:09 +01:00
Mm2PL
8665d22f48
Clean up PluginsPage some more 2023-02-01 01:44:32 +01:00
Mm2PL
f534d43531
Clean up PluginsPage 2023-02-01 01:43:51 +01:00
Mm2PL
b7426fafc0
Add lua license 2023-02-01 01:41:13 +01:00
Mm2PL
2d76f3588f
Use placeholder values for PluginMeta 2023-02-01 01:19:15 +01:00
Mm2PL
d270192b97
Includes? 2023-02-01 00:04:00 +01:00
Mm2PL
31604beed3
Fix up completion for plugin commands 2023-02-01 00:03:32 +01:00
Mm2PL
03ad993ab4
Improve plugin settings 2023-02-01 00:03:09 +01:00
Mm2PL
1616db56b1
Make plugins directory a link 2023-01-31 17:22:00 +01:00
Mm2PL
50e71195b2
Add a listing of plugin commands 2023-01-31 15:55:53 +01:00
Mm2PL
dc5141dfc7
Rebuild plugin settings UI on plugin reload 2023-01-31 15:46:01 +01:00
Mm2PL
97b56f0226
"package" is also dangerous 2023-01-31 15:28:47 +01:00
Mm2PL
9bb17cf16a
please compiler overlords 2023-01-31 15:28:36 +01:00
Mm2PL
1cc849b9f7
Add a basic permission system based on lua stdlib loading 2023-01-31 15:00:46 +01:00
Mm2PL
5191f4c9eb
Add lua::humanErrorText 2023-01-31 15:00:21 +01:00
Mm2PL
d830d1c960
i hate you, msvc so fucking much 2023-01-31 13:33:07 +01:00
Mm2PL
4908efcf89
Try this way 2023-01-31 00:21:31 +01:00
Mm2PL
56c7e78f48
Add support for reloading plugins 2023-01-30 23:55:16 +01:00
Mm2PL
03de6869c4
Add a Plugins settings page 2023-01-30 23:22:14 +01:00
Mm2PL
cc0aa1aa82
Code cleanup 2023-01-30 22:31:59 +01:00
Mm2PL
ca0bfb1900
Add a StackIdx type alias 2023-01-30 22:31:42 +01:00
Mm2PL
082420b94a
Add more push/peek/pop functions to LuaUtilities 2023-01-30 22:21:09 +01:00
Mm2PL
602b9a738c
Clean up CMakeLists 2023-01-30 21:21:21 +01:00
Mm2PL
b4a20e15c0
Move pushing stuff to lua stack to LuaUtilities 2023-01-30 21:19:29 +01:00
Mm2PL
7312af1bec
Remove lualol command 2023-01-30 20:47:16 +01:00
Mm2PL
82593a585b
Add luaC2SendMsg 2023-01-30 20:40:40 +01:00
Mm2PL
714f961f59
Add error handling to command execution 2023-01-30 20:40:30 +01:00
Mm2PL
962d417613
Add support for custom commands 2023-01-30 19:49:21 +01:00
Mm2PL
74c6948a58
Forward decl 2023-01-30 18:04:07 +01:00
Mm2PL
3a7aa82b0d
Try to add include dirs 2023-01-30 17:21:10 +01:00
Mm2PL
5856933f9e
Use recommended way to include lua 2023-01-30 17:07:56 +01:00
Mm2PL
82da817835
Frankenstein some more 2023-01-30 17:00:30 +01:00
Mm2PL
a6a84c89be
Try to make it compile xd 2023-01-30 15:02:42 +01:00
Mm2PL
3e522599b7
Remove commented out stuff 2023-01-29 23:28:01 +01:00
Mm2PL
b329fca547
Make lualol test command use callEveryWithArgs 2023-01-29 23:00:49 +01:00
Mm2PL
f5f0a3301f
Add callEveryWithArgs 2023-01-29 22:58:31 +01:00
Mm2PL
c5688dd033
Add some callbacks back and forth 2023-01-29 22:08:59 +01:00
Mm2PL
d1c9dfc865
Add VERY basic lua scripting capabilities 2023-01-29 20:49:46 +01:00
nerix
bfa899c45e
Suppress Output of Git Command in CMake (#4340) 2023-01-29 16:45:59 +01:00
Wissididom
2a071a7067
Remove Qt::Multimedia as a dependency from CMakeLists.txt (#4339)
* Remove Multimedia required in find_package

* Remove Multimedia from src/CMakeLists.txt
2023-01-29 15:28:01 +00:00
nerix
b80d41c327
Use CMakeDeps and CMakeToolchain as Generators on Conan (#4335)
* deps(conan): use `CMakeDeps` as generator

* chore: add changelog entry

* deps(conan): add `CMakeToolchain` generator

* fix: use generated toolchain file

* docs: mention toolchain as well

* fix: spelling

* fix: formatting

* revert: use nmake

* docs: fix documentation
2023-01-29 13:10:39 +00:00
pajlada
6a4f0befd4
Disable translation building (#4336) 2023-01-29 11:12:49 +00:00
nerix
633b77511d
Add CMake Install Support for Windows (#4300)
* fix: windows installation with cmake

* fix: support install for all win32 compilers

* chore: add changelog entry

* fix: support `X_VCPKG_APPLOCAL_DEPS_INSTALL`

* chore: document cmake min version

* fix: vcpkg

* fix: plugin path

* fix: remove flattening

* revert: `qt.conf` changes

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-01-29 10:52:45 +00:00
pajlada
4958d08036
Change sound backend from Qt to miniaudio (#4334)
Thanks Greenlandicsmiley, Nerixyz, Yoitsu, and helmak for helping debug & test this

* Remove QMediaPlayer includes

* Prefer local path when generating the sound path

* Update changelog entry number

* Disable pitch & spatialization control
2023-01-29 10:36:25 +01:00
pajlada
adf58d2770
Clean up clang-tidy action checks (#4331)
* clang-tidy action: Exclude lib & tests dir for clang-tidy CI checks

The lib dir is obvious, but the tests dir is disabled because gtest has
a million different thing that clang-tidy doesn't like, while they're in
reality perfectly reasonable

* clang-tidy-action: Disable the LGTM comment
2023-01-26 19:47:32 +01:00