Commit graph

4000 commits

Author SHA1 Message Date
Mm2PL
ee1bb1956b
Make clang-tidy complain a little less 2023-02-02 21:32:15 +01:00
Mm2PL
ff49aebf08
Add a section on plugin structure 2023-02-02 19:25:28 +01:00
Mm2PL
31cb63dc9f
Add a markdown doc explaining the lua environment 2023-02-02 19:09:57 +01:00
Mm2PL
9da3a33e1c
Make c2.register_command() return a boolean if it went ok 2023-02-02 14:41:54 +01:00
Mm2PL
52832b43e5
Remove libraryPermissions in favor of loading safe(ish) stdlib part 2023-02-02 14:41:25 +01:00
Mm2PL
16d2d02787
Add two missing #ifdef CHATTERINO_HAVE_PLUGINS 2023-02-02 14:02:38 +01:00
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
LosFarmosCTL
6516116244
fix: compilation on macOS without precompiled headers (#4348) 2023-01-31 15:48:56 +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
pajlada
d313342f20
Change pubsub test server from master branch to the latest stable tag (#4346) 2023-01-31 12:33:17 +01:00
Wissididom
fe77e9162f
Removed libgstreamer-plugins-base from build workflow (#4344) 2023-01-31 09:10:53 +01:00
dependabot[bot]
abc3aee37f
Bump cmake/sanitizers-cmake from a6748f4 to c3dc841 (#4345)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 00:20:51 +00: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
nerix
82207254ed
Update vcpkg.json (#4343)
* deps(vcpkg): update schema and baseline

* deps(vcpkg): remove dependency on qtmultimedia
2023-01-30 20:48:05 +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
Auro
d6ccab2cdf
Added option to highlight your own messages (#3833)
* Removed magic numbers when checking rowIndex

* Swap from static ints to enum

* Referred enum members by enum name

* Fixed formatting

* Added highlight option for self messages

* Update CHANGELOG.md

* Made disabled by default

* Moved setting from Messages tab to Users tab

* Moved checks to HighlightController

* Set row index to 0

sillE silly me

* Update CHANGELOG.md

* Moved check outside of loop

* Improved naming and documentation on variables

* Fixed formatting

* Fix compile errors

* Update ColorProvider self message highlight color when it's changed

Use the ColorProvider self message highlight color instead of rolling
our own non-updating color

* Update changelog entry

* Remove unused `customColor` from user highlights builder

* Use explicit lambda capture

* Update comment for the color provider color

* HighlightModelHpp: Future-proof custom row enum B)

* Document UserHighlightModel color changes

* Update colorprovider comment

* Update enabled, show in mentions & color setting paths

* Rename settings from `selfMessagesHighlight` to `selfMessageHighlight`

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-01-30 11:40:50 +01:00