Commit Graph

1416 Commits

Author SHA1 Message Date
apa420 8085d6f633 feat: Search commandpage [8/9] (#5891)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-07-19 11:07:04 +00:00
droidicus f20945edc7 feat: add setting to customize chat log timestamp (#6338) 2025-07-19 10:30:31 +00:00
pajlada a8e8d61099 fix: Re-set SVG renderer aspect ratio after load (#6334)
The `QSvgRenderer::setAspectRatioMode` function only sets the aspect
ratio setting for the currently loaded SVG document.
https://github.com/qt/qtsvg/blob/29c3b512d9ca25941b18f7ee52ce8b80f003f3b4/src/svg/qsvgrenderer.cpp#L311-L320

When the theme changes, or we otherwise call load, this does not retain
our aspect ratio settings.
https://github.com/qt/qtsvg/blob/29c3b512d9ca25941b18f7ee52ce8b80f003f3b4/src/svg/qsvgrenderer.cpp#L412-L432

This means we need to ensure we re-set the SVG renderer's aspect ratio
after calling load.
2025-07-18 20:42:26 +00: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 bbfe970a3e fix(clang-cl): reduce warnings in tests (#6331) 2025-07-12 21:19:19 +00:00
nerix 76b9432da7 fix: allow messages of just dots (#6330) 2025-07-12 20:30:54 +00:00
Jacob 6712e8cb1e feat: add image uploader settings import/export functionality (#6284)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-07-12 16:37:39 +00:00
pajlada f2b438ab24 fix: relayout notebook if any custom buttons change (#6328) 2025-07-12 13:52:41 +00:00
pajlada 627b6d806e Refactor StreamerMode/Theme setting widgets (#6317) 2025-07-12 12:05:49 +00:00
pajlada 49aa83244c fix: elide user notes (#6318) 2025-07-12 11:20:05 +00:00
pajlada fba845f978 fix: correctly color usernames in most other notice scenarios (#6323) 2025-07-06 13:40:24 +00:00
pajlada 7f2168a9d4 fix: correctly override user color in sub gifts (#6322) 2025-07-06 15:05:28 +02:00
nerix f2d7e4d073 chore: factor out AUMID creation (#6321) 2025-07-06 12:19:36 +00:00
Mm2PL 652630f64a Fix eventsub message delete disable (#6233)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-07-05 15:36:22 +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
nerix 70bdeb79c3 fix(OnceFlag): add isSet and check before waiting (#6316) 2025-07-03 23:22:15 +02:00
pajlada 2568d8a6ea refactor: remove GeneralPageView.addIntInput (#6306) 2025-06-29 13:51:56 +00:00
pajlada 9e4a4bcf45 refactor: remove GeneralPageView.addCheckbox (#6305) 2025-06-29 13:16:20 +00:00
pajlada 03845bfbc6 feat(SvgButton): Allow custom color (#6268) 2025-06-29 11:27:37 +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
pajlada 4f4ea09a53 fix: middle & right click buttons not working on Button class (#6302) 2025-06-28 10:58:08 +00:00
pajlada 847814324f refactor: use SettingWidget::dropdown for emoji style (#6300) 2025-06-28 12:21:47 +02:00
pajlada ae3089b35c fix: SettingWidget::dropdown not working well on enums with value gaps (#6293) 2025-06-22 14:37:42 +00:00
pajlada 3ba42bd91b fix: don't try to save emote popup bounds when we're quitting (#6292) 2025-06-22 14:04:06 +00:00
pajlada f7af1138b3 fix: update lineedit if setting changed externally (#6286) 2025-06-21 13:02:59 +02:00
nerix 09789378ca fix: explicitly queue forced layouts (#6278) 2025-06-17 09:48:44 +02:00
pajlada f26d6d57de fix: don't post contents of unknown commands to chat (#6272) 2025-06-15 13:46:24 +00:00
hemirt faa435c957 fix: disable reply options where we know it wouldn't work (#6119) 2025-06-15 11:35:18 +00:00
nerix 04ba83b90f fix: stop click when dragging over notebook buttons (#6266)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-06-15 11:00:57 +00:00
Arne 62c93d1d98 feat: setting to change emote/badge thumbnail size (#6126)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-06-15 10:27:43 +00:00
pajlada 6398570bcc refactor: Make Account & Settings buttons SVGs (#6267)
instead of rendering the icons directly in Chatterino, they're now SVGs

This has the following consequences:
1. The color does _not_ respect your custom theme. For most users, this
   will not be a problem/concern.
2. You can no longer drag a split onto those buttons to create a new tab
2025-06-14 22:28:17 +02:00
pajlada f4cdae14ca feat: implement display name specializations for enums (#6238) 2025-06-08 10:17:53 +00:00
nerix 6b627b1c5b fix(button): use DPR for cached pixmap scale (#6255) 2025-06-07 11:31:58 +00:00
nerix c2e0fd8efe fix: use integers for message layout bounds (#6254) 2025-06-07 10:54:53 +00:00
Ilya Zlobintsev 652dfc9d64 fix: add support for automatic streamer mode check from flatpak (#6250)
Co-authored-by: nerix <nero.9@hotmail.de>
2025-06-07 11:21:50 +02:00
nerix e9b3146a0e fix(once-flag): make flag atomic (#6237) 2025-05-25 14:24:44 +00:00
nerix 85ae913413 chore: require clang-format 19 (#6236) 2025-05-25 13:46:28 +00:00
nerix 84c0b39fde refactor: buttons and friends (#6102) 2025-05-25 11:17:06 +02:00
2547techno deed1061b5 fix(plugins): TSTL static method generation (#6223) 2025-05-24 12:04:54 +00:00
nerix b78e1ed0a7 refactor: floatify messages (#6231) 2025-05-24 09:40:11 +00:00
pajlada 8782533457 fix: crash on older versions of Qt (#6229) 2025-05-23 16:53:19 +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
pajlada 0d4a45161e refactor: move TimeoutStackStyle to its own file (#6216)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2025-05-18 11:41:43 +00:00
nerix 67956ef2c6 refactor(notebook): merge top/bottom and left/right layout code (#6215) 2025-05-18 10:17:13 +00:00
pajlada 6b968a199c fix some crashes, mostly related to network requests (#6187) 2025-05-17 14:22:56 +02:00