Commit graph

2450 commits

Author SHA1 Message Date
James Upjohn d96f4575ba
Fix newlines in stream title causing text in header to go out of bounds (#2755)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-09 09:22:20 +00:00
apa420 1568de6640
Added clickable hosting messages (#2752)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-08 14:46:41 +00:00
pajlada 2f49b23875
Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
pajlada 6f6ccb8c2f
Fix a deadlock that would occur when loading Twitch badges (#2756) 2021-05-08 13:29:12 +00:00
apa420 bb73069817
Automod info (#2744)
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
2021-05-08 12:49:30 +00:00
apa420 c40bdf812b
Fix automod messages not being parsed/showing up properly (#2742)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-08 12:14:49 +00:00
Paweł 0c2617dc99
Fixed login expired message highlight every tab (#2735) 2021-05-08 13:34:32 +02:00
fourtf cf33566fd7 v2.3.1 2021-05-03 20:31:04 +02:00
Daniel f6d9fb2aac
Add ability to highlight messages based on user badges (#1704)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-02 22:08:08 +00:00
Paweł f7506d495f
Refactored Rename Tab dialog and its context menu (#2713)
* Added placeholder to tab rename dialog's input

* Always set placeholder to default tab name.

* Renamed context menu entries, updated popup

* Removed TextInputDialog class, slight popup fix

* Forgot to rename variable (no fun allowed 😥)

* forsenT

* Made use of QDialogButtonBox

* Added changelog entry
2021-05-02 12:59:14 +02:00
Paweł b614ce1cd8
Handle ritual (new viewer announcement) messages (#2703)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 15:42:51 +00:00
pajlada 115d198434
Make AccessGuard use a shared_mutex instead (#2702)
This allows `accessConst` to use a shared lock instead of a unique lock
2021-05-01 15:19:41 +00:00
M4tthewDE c413a0984e
Adds visual indicator to message length if too long (#2659)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 14:42:08 +00:00
Paweł 6c9fd4f204
Made left-clicking splitheader focus split (#2720) 2021-05-01 14:14:05 +00:00
Tal Neoran 77fa1322de
Added is:<flags> search predicate (#2671)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 12:21:45 +00:00
fourtf 8b3f301c50
some concurrency additions (#2698) 2021-05-01 11:38:58 +00:00
fourtf 345bcdb963
adds assertInGuiThread to getApp() (#2695) 2021-05-01 12:47:33 +02:00
Paweł 9c41adca2e
Fixed deprecated method QWheelEvent::delta (#2647)
Reference: https://doc.qt.io/qt-5/qwheelevent-obsolete.html#delta and https://doc.qt.io/qt-5/qwheelevent-obsolete.html#orientation

Changes in behavior introduced in this commit

Change from `event->delta()` to `event->angleDelta().y()` makes it, so you can no longer scroll horizontally (with trackpad / touchpad) to select next/previous tab (until now, you were able to do it, but I believe this is wrong anyways).

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-26 21:38:16 +02:00
bora e587d1ef81
Fixed a spelling mistake (#2691) 2021-04-26 14:47:54 +00:00
pajlada d1f81ab50b
Add an option to remove spaces between emotes (#2684)
This feature is disabled by default and can be enabled in the settings.

Co-authored-by: Mm2PL <jakis128@gmail.com>
2021-04-25 22:25:23 +00:00
Paweł 3ad1f109ac
Raised bttv emote timeout value (#2686)
This should elimnate the BTTV Channel Emote loading timeout, often reported by multiple users.
2021-04-25 16:17:37 +00:00
Paweł daf6ebc513
Replace #define in CommandController with QStringList (#2658) 2021-04-25 14:25:37 +00:00
Mm2PL 08f2773f30
Remove ban reasons because they are not a thing in IRC anymore (#2650) 2021-04-25 13:44:12 +00:00
Paweł 675f99e9cc
Added image links to the badge context menu (#2667) 2021-04-25 13:16:32 +00:00
Paweł c3d61ad77b
Add ability to hide Twitch Prediction badges (#2668)
We now properly categorize the Twitch `predictions` badges since they take up their own slot in Twitch web chat
2021-04-25 14:37:19 +02:00
Paweł 1ef2f17cd4
Added missing context menu entries to emote popup (#2670) 2021-04-24 15:43:15 +00:00
Andrew Opalach 24a2d8a86f
Wait for smooth scrolling animation to add new message (#2084)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-24 15:15:15 +00:00
Paweł 29c9b58e5a
Removed unnecessary debug output (#2638) 2021-04-17 21:47:16 +00:00
fourtf 2db140d5af
Added x-attach-split-to-window command line arg (#2411)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 14:15:23 +00:00
fourtf 58017a7546
fix size of splits not loading properly (#2554) 2021-04-17 13:16:14 +00:00
Paweł ed7d1a88d0
Added custom FrankerFaceZ VIP badges (#2628)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 14:42:30 +02:00
pajlada 2f906c5504
Add a function in NetworkCommon parseHeaderList which parses a header list as a string into a vector of header pairs (#2623) 2021-04-17 11:49:19 +00:00
Tal Neoran cceadf473a
Added in:<channels> search predicate (#2634)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 11:18:22 +00:00
Paweł b540bd0b69
Added missing default twitch commands (#2633)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 10:54:14 +00:00
Mm2PL 3ee23b2bae
Allow for usage of builtin Chatterino commands in custom commands. (#2632)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 10:33:18 +00:00
pajlada 8641435142
Fix crash that could occur when the user changed the "Custom stream player URI Scheme" setting if the user had closed down and splits in the application runtime (#2592) 2021-04-17 09:55:44 +00:00
fourtf 2dca9a3247 2.3.0 2021-04-14 15:58:33 +02:00
fourtf 38d76ddca3 bumped version 2021-04-14 15:54:44 +02:00
pajlada c9f62fed4c
Fix windows being brought back to life after the settings dialog was closed (#2613)
Fixed with the help of @jammehcow
2021-04-11 14:22:32 +00:00
Iulian Onofrei 8779303845
Fixed search field not being focused on popup open (#2540)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-11 13:37:53 +00:00
James Upjohn 06ec230759
Fix bold/coloured usernames also formatting trailing punctuation (#2597) 2021-04-11 13:09:21 +00:00
Paweł e741744254
Handle bits badge tier notification messages (#2611) 2021-04-11 12:17:21 +00:00
Yoitsu a448af5f57
Implement Helix Search Categories end-point & update /setgame (#2609)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 23:34:27 +00:00
Yoitsu 00ccdbc781
clang-tidy: use std::move where applicable (#2605)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 12:34:40 +00:00
Tal Neoran b0fee78f2b
Add PgUp / PgDown for scrolling in the emote popup (#2607)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 12:11:26 +00:00
Yoitsu bc334222c1
fix buffer overflow in parseEmoji (#2602)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 11:49:25 +00:00
pajlada 208d017cc3
Add sanitizers for cmake (#2608)
These can be enabled using the `SANITIZE_{ADDRESS,MEMORY,THREAD,UNDEFINED}` cmake flags
2021-04-10 11:26:20 +00:00
Mm2PL f9246a9e3a
Add /setgame and /settitle (#2534)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-04 17:31:08 +02:00
fourtf 2db7a30ae5
always update dropdown on split button press (#2590) 2021-04-04 15:24:12 +02:00
Edgar 19d9791cba
🔧 Removed SourceFileUtils (#2571)
Not needed anymore from version 3.8 of CMake (which is our minimum required)
2021-04-03 16:49:24 +02:00
pajlada e00938dfde
Add support for CMake (buildsystem generator) (#2468)
Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-03-28 16:58:51 +02:00
James Upjohn 093a088363
Fix quick switcher not ordering based on tab order (#2561) 2021-03-27 12:32:14 +01:00
Paweł 1f5b62e6e5
Implemented bit emotes (#2550)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-21 15:42:45 +01:00
Paweł af4e3f5062
Refactored loading emotes and emotesets (#2539)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-03-21 15:19:49 +01:00
Auro 6ef515a0e2
Added system message if no bttv emotes found instead of "unknown error" (#2542)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-21 14:27:28 +01:00
Paweł a893cdaebe
Ensure twitch emote names are escaped (#2543) 2021-03-20 23:49:42 +01:00
James Upjohn 79bc700743
Fix app data dir not opening on macOS when "Open AppData" button pressed (#2537) 2021-03-20 13:40:50 +01:00
Leon Richardt 3f206d46af
fix: no longer crash on clip creation in "special" channels (#2528) 2021-03-15 17:45:56 +01:00
Karar Al-Remahy 49bd1bd488
feat: /clearmessages command (#2485) 2021-03-14 18:25:45 +01:00
pajlada fd3efe0e15
Fix windows build not compiling (#2523) 2021-03-14 17:25:32 +01:00
Paweł 382462f465
Added avatar context menu to usercard (#2517) 2021-03-14 15:09:16 +01:00
Paweł 7002954aa9
Fixed deprecated method QProcess::finished(int) (#2512)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 20:14:47 +01:00
Paweł ce947a89d7
Fixed deprecated method QTime::elapsed (#2504)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 17:54:34 +01:00
Paweł cd1f4d0c78
Fixed deprecated method QComboBox::currentIndexChanged (#2511)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 17:25:39 +01:00
Paweł d1a10d3c1f
Fixed deprecated method QFlags::Zero (#2508)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 16:27:13 +01:00
Paweł be21e5b52d
Fixed deprecated method QPalette::{Fore,Back}ground (#2510)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 16:03:16 +01:00
fourtf 8a4ffc5f5b
added limit to cached username colors (#2515) 2021-03-13 15:34:11 +01:00
Paweł 1090524dec
Removed refresh label from usercard (#2514)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 15:09:26 +01:00
Paweł 0e99527e8c
Fixed deprecated method QFontMetrics::width (#2509)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 14:47:02 +01:00
James Upjohn d94d9e74dd
Implement missing cheer emote tooltip (#2503) 2021-03-13 14:16:32 +01:00
fourtf a8c7e4a826 added missing files 2021-03-13 12:40:43 +01:00
fourtf 81ce8dcc08 moved last message line in settings and changed defaults 2021-03-13 12:33:54 +01:00
fourtf 4ff2de0567 now attaches to parent console on windows 2021-03-13 12:14:40 +01:00
fourtf baddb60bb9 changed short flag for --version to -V instead of -v 2021-03-13 11:44:44 +01:00
fourtf 5a3577317d show messagebox if settings cannot be edited 2021-03-13 11:36:09 +01:00
Paweł efde73e684
Fixed remaining timeout message (#2502) 2021-03-07 18:03:53 +01:00
Emil Gedda f53b0a9e0f
Fix quotation and handling of additional streamlink options (#2495) 2021-03-06 19:56:36 +01:00
Paweł 1eb6aa64db
Localized all relevant numbers visible to end-user (#2488) 2021-03-06 15:03:33 +01:00
Paweł b2aa370015
Fixed emote pasting bug with multiple spaces (#2490) 2021-03-04 01:13:36 +01:00
Paweł 30f3035dc2
Removed unnecessary declaration (#2483) 2021-02-28 22:06:15 +01:00
M4tthewDE 798384c931
Fix filter inconsistency (#2480) 2021-02-27 13:25:54 +01:00
Felanbird 032a791ec1
Fixed spelling of Suppress (#2472) 2021-02-21 16:42:59 +01:00
pajlada e015013773
Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
dependabot[bot] 277289db55
Bump lib/serialize from 130ffc3 to 7d37cbf (#2418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-02-17 23:57:37 +01:00
Paweł 7d9f4c2b0c
Migrated block, unblock and get user block list methods to Helix (#2370)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-14 14:01:13 +01:00
pajlada 6b0ce396d6
Update to Emoji v13 (2020) (#1555) 2021-02-13 19:17:22 +01:00
AweesneW 542022bff3
Update HighlightingPage.cpp (#2404)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-12 14:43:18 +01:00
Paweł 185980f8a2
Added /streamlink command (#2443)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-12 14:16:44 +01:00
pajlada 303b079257
Remove bad asserts from IRC text wrapping code (#2446) 2021-02-11 12:52:50 +01:00
Paweł 4a53472215
Clean up debug output (#2439) 2021-02-07 14:37:19 +01:00
Paweł a4fb20c72c
Added millisecond timestamp formats to settings (#2375) 2021-02-06 18:07:02 +01:00
Paweł 3023a44a21
Some fixes related to clipboard (#2405)
Also:
- Fixed capitalization of one method in `LoginDialog.cpp`
- Visually improved some strings in `LoginDialog.cpp`
- Added utility function getting clipboard content to `Clipboard.cpp`
- Made sure to use `crossPlatformCopy` in `UserInfoPopup.cpp`
2021-02-06 15:47:09 +01:00
M4tthewDE c2782666a6
Added formatting for remaining timeout duration (#2398) 2021-01-31 13:55:44 +01:00
pajlada 8cd923b8fb
Fix test compilation (#2426) 2021-01-31 13:35:01 +01:00
Daniel 5a29198367
Add regular expression support to filters (#2225) 2021-01-31 12:45:15 +01:00
Paweł 278a00a700
Implement /marker command (#2360)
This command works the same as it does on Twitch web chat - it creates a streamer marker at the current timestamp with an optional description
2021-01-30 15:39:01 +01:00
fanway 127598db8a
Add automatic streamer mode detection to macOS (#2376) 2021-01-30 13:11:08 +01:00
Iulian Onofrei 684dbed706
Fixed hidden tooltips when always on top is active (#2384) 2021-01-23 16:49:02 +01:00
Leon Richardt 1b75dc1e2c
fix: properly handle CLI arguments (#2368)
Fix CLI arguments not being respected. This happened due to the addition of category-based logging (--help, --version) and changes to the window loading ( --channels), respectively.

When handling --channels, I took the liberty to refactor the previous version of window description (which relied on generating JSON) to directly building the WindowLayout.
2021-01-23 16:26:42 +01:00
Paweł 857705668e
Migrated getChannel to Helix (#2381)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-01-21 13:48:48 +01:00