Commit Graph

520 Commits

Author SHA1 Message Date
nerix 0f11a9050a fix: take handler for sol_lua_check as function reference (#6393)
* fix: take handler for `sol_lua_check` as function reference

* changelog

* fix: includes

* uintptr type

* fix: ub and eq
2025-08-16 19:21:04 +00:00
pajlada 4b6ba68489 fix: don't use same websocket connection for multiple accounts (#6348) 2025-08-10 09:57:14 +00:00
droidicus 1c9090d350 Add emote completion widget filter for only zero-width emotes using :~ (#6362)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-08-10 11:21:52 +02:00
nerix 52d0c9631e fix(plugins): lookup by main lua state in http request (#6375)
* fix(plugins): lookup by main lua state in http request

* changelog

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2025-08-09 10:18:35 +00:00
nerix a4478748f7 feat(plugins): add basic message construction (#5754) 2025-07-31 15:36:39 +02:00
pajlada a691bb4c51 fix: don't detach threads (#6333)
Previously, we would detach threads that did not exit in a reasonable
time, meaning they'd continue running and potentially accessing data
that had been freed, causing us to crash.
With this change, we _dont_ detach the thread, and let the thread
destructor do as it pleases (which will be terminating).
Neither solution is clean - old solution would sometimes work, but this
should give us a better indicator of where we're doing things wrong.
2025-07-18 22:07:22 +02:00
nerix cda625f3ce chore: add some channel view layout commands (#6342) 2025-07-18 18:28:46 +00:00
pajlada 09fc5d74bc fix: Fix a crash that would occur on exit if a ping sound played recently (#6332) 2025-07-13 16:02:14 +02:00
nerix 91c2c1021c feat(WebSocket): add open event (#6315) 2025-07-05 12:36:22 +00:00
nerix c10172fee8 fix(plugins): check websocket callbacks before calling (#6314) 2025-07-05 10:27:08 +00:00
pajlada 89483e4c05 fix: don't autocomplete commands mid-sentence (#6273) 2025-06-28 21:16:44 +02:00
nerix b6623cff88 feat: add REPL for plugins (#6120)
This can be enabled by setting the `.plugins.repl.enabled` setting to true


Close Chatterino and make a backup of your settings.json before attempting any modifications.
```json5
{
  "plugins": {
    "repl": {
      "enabled": true,
    },
  },
}
```
2025-06-28 14:04:08 +00:00
pajlada 9e59fb1a5f refactor: remove unused ignoredPhraseReplace setting (#6304) 2025-06-28 13:27:46 +00:00
nerix 85ae913413 chore: require clang-format 19 (#6236) 2025-05-25 13:46:28 +00:00
pajlada 8acca1c241 fix: don't indent inner namespaces (#6235) 2025-05-25 12:28:14 +02:00
Mm2PL 33a5419350 Forward declare some things to speed up compile (#6162)
* Forward declare NativeMessagingServer and use a unique_ptr

* Forward declare GenericListModel to save on unneeded includes of its
header
2025-05-18 15:30:02 +00:00
pajlada 20e306760c refactor: remove Application.hpp dependency in Plugin.hpp (#6219)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2025-05-18 14:04:39 +02:00
pajlada 062b492dab refactor: move Notebook enums to their own file (#6220)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2025-05-18 14:02:11 +02:00
teknsl 3e5b4a9d08 Add hotkey action for opening account switcher (#6192) 2025-05-06 17:47:05 +00:00
Mm2PL c7e1c2e812 Do not hide WebSocket API when missing permission (#6186) 2025-05-04 10:49:08 +00:00
pajlada e38c64bac3 fix: don't include blocked users in join/part messages (#6181) 2025-05-03 11:32:55 +02:00
nerix 9d557146b4 refactor: trim down PubSub implementation (#6158) 2025-04-19 12:31:22 +00:00
fourtf 37061dd3bd feat: user notes (#6122)
Fixes #2413
2025-04-13 11:38:56 +00:00
nerix ab66be21b3 feat(plugins): add c2.WebSocket (#6076) 2025-04-07 17:38:10 +00:00
Jacob Alexander Thompson b6945e39f4 fix: don't set binding for "toggle local r9k" on macOS (#5764)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-03-22 15:14:07 +00:00
nerix 6cdd28c7d4 feat: warn for missing scopes when logging in (#6072) 2025-03-15 12:14:03 +00:00
Brian 8dd19d2d5e feat: setHighlightSounds & openSubscriptionPage split hotkeys (#5856) 2025-03-03 20:20:09 +01:00
nerix cd8247f921 chore: remove dead code and get rid of MSVC warnings (#6024) 2025-03-03 13:30:11 +01:00
pajlada f4541b0208 fix: don't save commands on exit (#6011) 2025-03-01 15:26:42 +00:00
nerix dd6f204adc feat: delete messages from context menu (#5956) 2025-02-15 19:29:25 +01:00
apa420 7dad35b7a7 refactor(notifications): remove platform specifier (#5914) 2025-02-09 11:53:25 +00:00
cmp 2656fd0d6b feat: add Linux support for Live Notifications toasts w/ libnotify (#5881) 2025-02-08 19:06:48 +00:00
pajlada 0c489e0033 fix: force quit miniaudio thread after 1s (#5896) 2025-02-03 00:19:04 +01:00
pajlada da0a247f16 nit: fix some eventsub mini things (#5895) 2025-02-02 16:51:46 +00:00
pajlada 0f8a29fdb9 feat: add initial experimental Twitch Eventsub support (#5837)
Co-authored-by: nerix <nerixdev@outlook.de>
2025-02-02 16:03:24 +00:00
apa420 f914e0406e feat(filters): filter by author user ID (#5862) 2025-01-30 21:05:12 +00:00
pajlada 8554bd4d65 fix: properly stack/merge PubSub & IRC timeouts again (#5855) 2025-01-25 11:13:33 +00:00
Mm2PL ea02a42162 Fixed a potential way to escape the Lua Plugin sandbox (#5846) 2025-01-22 01:35:52 +00:00
pajlada e92067b5de fix: support boost 1.87 (#5832)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2025-01-19 11:11:21 +01:00
nerix 7f9b33051e fix: use non-capturing group for highlight boundaries (#5784) 2025-01-12 13:12:31 +00:00
Mm2PL fe05b5994c Fix: Take Lua HTTP callbacks as sol::main_protected_function (#5800)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2025-01-06 22:18:39 +01:00
Mm2PL 06d0160b35 Add flags.similar filter variable (#5747) 2024-12-01 15:22:35 +01:00
Ilya Zlobintsev 63f363e5a9 Deduplicate emotes by name in smart tab emote completion strategy (#5705) 2024-11-12 14:41:12 +00:00
nerix ecfb35c9b7 fix(luals-meta): Use opaque enum values and correct HTTP types (#5682) 2024-11-02 11:22:17 +00:00
nerix bbcd8c5eb2 fix: get rid of some more warnings (#5672) 2024-10-27 12:42:23 +00:00
Mm2PL 352a4ec132 Move plugins to Sol (#5622)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-10-20 11:57:05 +02:00
nerix 800f6df2cf refactor(message-builder): move static helper methods to functions (#5652) 2024-10-18 13:03:36 +02:00
Maverick c0a5a3e805 feat: Print proxy URL information in /debug-env command (#5648) 2024-10-14 14:42:52 +00:00
nerix d9453313b3 test: add snapshot tests for MessageBuilder (#5598) 2024-10-13 10:38:10 +00:00
nerix afa8067a20 Add transparent overlay window (#4746) 2024-10-06 12:54:24 +02:00