Commit graph

3873 commits

Author SHA1 Message Date
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
pajlada
bf5a5b839c
Fix version checking (#4329)
https://github.com/Neargye/semver

* Use semver library for version downgrade checking

* Add test validating our current version is valid semver
2023-01-26 19:22:48 +01:00
pajlada
ff9f63c5e0
Bump libcommuni version (#4320)
This includes a Qt6-related fix that Nerixyz contributed to the main
repo but that hasn't been merged in yet.
2023-01-21 14:31:50 +00:00
nerix
904749cf62
feat: Add Live Emote Updates for BTTV (#4147)
This feature is enabled by default and can be disabled in settings with the "Enable BTTV live emotes updates" setting.

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-01-21 14:06:55 +00:00
pajlada
56f7c91a64
Fix the split "Search" menu action not opening the correct search window (#4305)
* Fix split menu "Search" action

It now opens a split-specific search instead of a global one

* Add changelog entry
2023-01-21 10:51:29 +00:00
Felanbird
e15a5727ad
Update actionsx/prettier from v2 to e90ec54 (#4318)
This finishes the migrations of all workflows that used node12
2023-01-20 22:28:48 +01:00
askepticaldreamer
6ba1cf6ca3
Fix slash to backslash conversions in url hashes for opening links in incognito (#4307)
* Pass link as argument instead of in command string when opening incognito links

* Update CHANGELOG.md

* Make changelog message more user facing

* Remove now unused argument for getCommand
2023-01-19 09:03:35 +01:00
Felanbird
d1690943d4
Update contributors.txt instructions (#4313) 2023-01-17 04:01:11 +00:00
Wissididom
00f403cbf1
Add Wissididom to contributors list (#4312) 2023-01-16 22:36:02 -05:00
Thomas Petersen
d5a0420f74
Attempt to fix certain ping sound issues on Arch Linux (#4285) 2023-01-16 14:34:05 -05:00
Felanbird
9255374720
Mark big strong contributors as Collaborators (#4311) 2023-01-16 17:38:21 +00:00
Felanbird
604761a522
Add Felanbird to contributors list (#4308) 2023-01-15 23:53:44 +01:00
nerix
2233b46512
Format YAML and JSON Files With Prettier (#4304)
* ci: format yaml and json files with prettier

* chore: add changelog entry

* fix: format everything

* ci: run pretter on all files

* ci: rename prettier step
2023-01-15 17:27:41 +01:00
pajlada
f933d9cdf2
Change the highlight order to prioritize Message highlights over User highlights (#4303) 2023-01-15 13:21:42 +00:00
askepticaldreamer
4c782ce90c
Add feature to select channels to log (#4302)
* Add checkbox for custom logging and table with channels to log on Logs page

* Add checkbox to enable and disable logging per channel

* Return from addMessage before logging if custom logging enabled and channel does not have logging enabled

* Use clang-format to fix formatting

* Add CHANGELOG.md entry

* Resolve PR comments

* Remove toggle for channels so any channel listed will be logged

* Move Only log channels listed below checkbox to just above table

* Fix formatting

* Re-order changelog

* ChannelLog constructor: Copy & move instead of const ref & copy

* ChannelLog::createEmpty: Curly brace initialize instead of repeating
name

* ChannelLog toString & createEmpty: nodiscard

* Use COUNT paradigm in model column

* Remove ChanneLoggingModel source file comments

* Use Column::Channel in getRowFromItem

* Rename `getItemFromRow` parameter and mark it as unused

* Curly brace initialize ChannelLog

* private & friend class the model

* Filter out channels to log using a set instead of iterating over a vector every time a message comes in

* Rename `ChannelLog::channel` member to `ChannelLog::channelName`

Also made it private

* mini comment on ChannelLog

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-01-15 11:47:22 +00:00
kornes
a567cc5ae7
Fix: dont run windeployqt with VCPKG (#4297) 2023-01-09 18:43:36 +00:00