Commit graph

3068 commits

Author SHA1 Message Date
Mm2PL
2629c56d5c rename codename -> id 2023-02-14 12:07:22 +01:00
Mm2PL
627aafb74b Rename PluginController::{actuallyInitialize,loadPlugins} 2023-02-14 12:00:04 +01:00
Mm2PL
c4a2b5f0ce Rip out redundant enable check 2023-02-14 11:58:49 +01:00
Mm2PL
7a1d28d51c Improve UI if homepage is missing 2023-02-14 11:57:52 +01:00
Mm2PL
94ceee3c7e Handle info.json homepage type mismatches 2023-02-14 11:55:55 +01:00
Mm2PL
8b37a297d4 Add comments to PluginMeta definition 2023-02-14 11:55:44 +01:00
Mm2PL
e19b96026d Make the reload button reload metadata when plugin is disabled 2023-02-14 11:45:30 +01:00
Mm2PL
cf9d0af105 Handle plugin metadata errors better 2023-02-14 11:44:52 +01:00
Mm2PL
d1bcede492 Make PluginMeta::authors a std::vector<QString> 2023-02-13 23:43:25 +01:00
Mm2PL
6a183d3f33 Remove PluginController save override 2023-02-13 23:27:12 +01:00
Mm2PL
58f6f1dcfe Update comment on chatterino::lua::api::g_import 2023-02-13 23:21:29 +01:00
Mm2PL
cd919b01d5 Change setting names 2023-02-13 23:21:03 +01:00
Mm2PL
96613690a9 reformat 2: electric bogaloo 2023-02-13 22:34:41 +01:00
Mm2PL
15613850f7 reformat 2023-02-13 19:41:27 +01:00
Mm2PL
8b84cfbab1 ANGLE BRACKET PLEASE 2023-02-13 12:58:32 +01:00
Mm2PL
82a9deac15 Reformat src/controllers/plugins/LuaAPI.hpp 2023-02-13 12:30:32 +01:00
Mm2PL
035da2cac0 Reformat src/controllers/plugins/LuaUtilities.hpp 2023-02-13 12:30:07 +01:00
Mm2PL
9027d539e8 Reformat src/controllers/plugins/Plugin.hpp 2023-02-13 12:29:27 +01:00
Mm2PL
f8eff42c07 Reformat src/widgets/settingspages/PluginsPage.cpp 2023-02-13 12:28:45 +01:00
Mm2PL
bc8ae8172f Reformat src/widgets/settingspages/PluginsPage.hpp 2023-02-13 12:28:21 +01:00
Mm2PL
6cf2996af2 Reformat src/controllers/plugins/Plugin.cpp 2023-02-13 12:26:04 +01:00
Mm2PL
4387e7bd69 Rename execfile -> import 2023-02-13 12:22:53 +01:00
Mm2PL
6e67890152 Thank you clang-format for at least having a diff 2023-02-13 00:15:20 +01:00
Mm2PL
3ece8c8ed1 Merge remote-tracking branch 'origin/master' into feature/lua_scripting 2023-02-12 23:40:56 +01:00
Mm2PL
d7ac6d65fb absolute include path 2023-02-12 23:14:46 +01:00
Mm2PL
be487a4976 Rename LuaApi -> LuaAPI (p2) 2023-02-12 23:08:17 +01:00
Mm2PL
32580cd1c3 Rename LuaApi -> LuaAPI (p1) 2023-02-12 23:05:50 +01:00
Mm2PL
9e92a795c3 Fucking off-by-one error 2023-02-12 22:48:09 +01:00
Mm2PL
f3ee061f7f Make load() only usable in debug mode 2023-02-12 22:46:32 +01:00
nerix
e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
nerix
c9a9e44e1f
Add HTTP & SOCKS5 proxy support (#4321)
This can be configured using the `CHATTERINO2_PROXY_URL` environment variable.
The behaviour is similar to curl's CURLOPT_PROXY
2023-02-11 23:16:51 +00:00
Daniel Sage
cf80ae8434
Disable ImageExpirationPool during testing (#4363)
* Disable ImageExpirationPool during testing

* Update CHANGELOG.md

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-11 19:20:46 +00:00
nerix
5179567334
Use QEnterEvent for QWidget::enterEvent on Qt 6 (#4365)
* fix: use concrete QEnterEvent on Qt 6

* chore: add changelog entry
2023-02-11 18:13:29 +01:00
Mm2PL
d5d4335587
Experiment 2023-02-11 12:57:22 +01:00
Mm2PL
6b476f2826
Update docs 2023-02-11 12:57:16 +01:00
Sam Heybey
1d3ca0bfa3
Use AssocQueryString instead of directly querying the registry (#4362)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-10 21:21:09 -05:00
Mm2PL
87605077cb
Remove unused PluginController::callEvery{,WithArgs} 2023-02-11 00:06:46 +01:00
Mm2PL
d38187f794
Remove sending part of the multipart emoji workaround (#4361) 2023-02-09 16:45:53 +01:00
nerix
829c48d79a
Attempt to catch std::bad_function_call when adding a channel point reward (#4360)
* fix: attempt to catch std::bad_function_call

* chore: add changelog entry

* fix: spelling mistake

Co-authored-by: Leon Richardt <git@leon.dev>

---------

Co-authored-by: Leon Richardt <git@leon.dev>
2023-02-09 00:43:52 +01:00
Mm2PL
86c872d4af
Add proper support for logging from lua 2023-02-09 00:11:56 +01:00
Mm2PL
b1031c7211
Add lua::{peek,push} support for enums with magic_enum 2023-02-08 23:57:59 +01:00
Mm2PL
da05115506
Add lua::toString which converts value to a string 2023-02-08 23:57:32 +01:00
Mm2PL
d945663162
Add lua::{peek,push} support for std::string 2023-02-08 23:56:27 +01:00
Mm2PL
0a9fa2fe09
Clean up header generation code 2023-02-08 00:38:04 +01:00
Mm2PL
1cd1822fcc
don't break the whole feature by attempting to clean up logging 2023-02-08 00:36:45 +01:00
Mm2PL
c4ec7b8e27
diff cleanup 2023-02-08 00:31:56 +01:00
Mm2PL
f12b964f59
Use Plugin destructor to call lua_close in most cases
reloading still needs manual closing
2023-02-08 00:03:01 +01:00
Mm2PL
26a5a24eea
Add missing #ifdef CHATTERINO_HAVE_PLUGINS 2023-02-07 23:00:17 +01:00
Mm2PL
0f0481955d
Tell clang-tidy that L is a fine name for a local pointer 2023-02-07 22:00:07 +01:00
Mm2PL
2cf18fbf93
Clean up includes in PluginController.{c,h}pp 2023-02-07 21:57:07 +01:00