Commit Graph

234 Commits

Author SHA1 Message Date
pajlada eaeeaf004d chore(reuse): annotate our source files with our license (#6719) 2026-01-07 00:45:57 +01:00
Rasmus Karlsson 57d6583a2b refactor: add explicit this-> where possible
I have knowingly skipped some files/portions of files where this would
create merge conflicts for other open PRs.
2025-12-30 14:59:12 +01:00
dp db060d5b5a feat: seperate watchstreak highlights from sub highlights (#6571)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-16 14:12:43 +00:00
nerix 7214c49e79 fix: Get rid of warnings on clang-cl (#6528) 2025-10-25 14:14:20 +00:00
nerix 3f05edc071 refactor: merge emote element flags (#6511) 2025-09-30 19:07:25 +02:00
hemirt faa435c957 fix: disable reply options where we know it wouldn't work (#6119) 2025-06-15 11:35:18 +00:00
nerix c2e0fd8efe fix: use integers for message layout bounds (#6254) 2025-06-07 10:54:53 +00:00
pajlada 8acca1c241 fix: don't indent inner namespaces (#6235) 2025-05-25 12:28:14 +02:00
nerix b78e1ed0a7 refactor: floatify messages (#6231) 2025-05-24 09:40:11 +00:00
fourtf edbdcc1d55 feat: allow disabling fading recent messages (#6121) 2025-04-06 12:21:34 +00:00
pajlada c98267b433 fix: only hide messages from restricted users, not all suspicious users (#6049)
it's probably best to leave this setting solo'd out as restricted users
so monitored users can get their own behaviour in their own setting later
2025-03-09 13:11:06 +01:00
pajlada ee266c35a7 feat: Hide messages from suspicious users in streamer mode (#6042)
This is a setting that's enabled by default and can be disabled under
the "Streamer mode" sub-category in the settings dialog
2025-03-08 14:10:25 +00:00
pajlada 77c4d858f9 refactor(eventsub): Respect "Hide moderation actions" explicitly (#6041) 2025-03-08 14:00:35 +01:00
pajlada 46c1f18ae7 feat: add setting to hide blocked term automod messages (#5690) 2024-11-05 21:04:45 +01:00
nerix 68304272a2 fix: handle multiline selection starting at trailing space (#5691) 2024-11-03 19:23:53 +01:00
nerix bbcd8c5eb2 fix: get rid of some more warnings (#5672) 2024-10-27 12:42:23 +00:00
nerix afa8067a20 Add transparent overlay window (#4746) 2024-10-06 12:54:24 +02:00
pajlada cc8bd538b9 refactor: Move MessageFlag(s) to its own file (#5549) 2024-08-18 12:25:01 +02:00
nerix aed55ac1ba fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
2024-08-03 10:00:58 +00:00
nerix 5ee5abf5b2 fix: sort elements after RTL reordering (#5525) 2024-07-28 10:29:29 +00:00
nerix ff7cc09f8b chore: cleanup, document, and test some RTL code (#5473) 2024-07-27 11:19:26 +00:00
pajlada 5deec1f02f chore: remove Singleton & replace getIApp with getApp (#5514) 2024-07-21 13:09:59 +00:00
Daniel Sage 8e29f75308 Enable antialiasing for reply button (#5491) 2024-07-07 09:42:49 +00:00
pajlada 3d5acff907 fix: update color of usernames & boldness of usernames on the fly (#5300) 2024-05-12 12:37:47 +00:00
nerix febcf464fe Use Qt's High-DPI scaling on Windows (#4868) 2024-05-12 11:59:14 +00:00
KleberPF c10e364e06 Fix double click to select full words (#5243)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-03-17 13:43:55 +00:00
KleberPF c50791972d Add highlight color and show in mentions to automod messages (#5215) 2024-03-09 11:03:36 +00:00
nerix 3c13e0c6d2 chore: remove dead message element code (#5225) 2024-03-02 22:09:54 +01:00
nerix c1fa51242f refactor: turn StreamerMode into a singleton(-like thing) (#5216) 2024-03-01 21:12:02 +01:00
nerix e130c48f76 refactor: Turn link-info into its own element and class (#5178) 2024-02-18 12:34:00 +00:00
nerix 954e19817c fix: more MSVC warnings (#5137) 2024-01-30 17:28:36 +01:00
nerix 7604d7ea4a perf: add signal to invalidate buffers without doing layout (#5123) 2024-01-24 18:13:31 +01:00
pajlada 4380ef8c5f refactor: Remove most raw accesses into Application (#5104) 2024-01-19 17:59:55 +01:00
nerix 5bf1a5a7dd fix: ignore channel name when copying message (#5106)
Fixes #5101
2024-01-19 13:11:25 +01:00
pajlada 5b6675abb4 refactor: fix clang-tidy auto*, const&, and curly braces (#5083) 2024-01-14 17:54:52 +01:00
iProdigy 036a5f3f21 feat: show restricted chats and suspicious treatment updates (#5056)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-31 10:44:55 +00:00
iProdigy eb12cfa50b feat: add sound and flash alert for automod caught messages (#5026)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-25 23:17:44 +00:00
nerix 1006bf955a perf: skip update from GIF timer if no animated elements are shown (#5042) 2023-12-25 19:04:46 +00:00
kornes 0bdcaae5d1 Fix: dont select mod buttons at triple click (#4961) 2023-11-18 11:39:10 +00:00
kornes c8e03b4ad7 Dont invalidate paint buffer when selecting (#4911) 2023-11-08 21:19:18 +00:00
pajlada 7efe58cca9 refactor: ChannelView (#4926)
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-31 14:54:14 +01:00
pajlada 06eb30a50a fix: double margin (#4839)
order of the QMargins class differed from the old custom Margins class

Fixes #4838
2023-09-23 21:14:53 +00:00
nerix 6860c7007e Fix selection rendering (#4830)
The rendering of selections was not aligned to the actual selection that took place for newlines at the end of messages, if they were the only part that was selected of that message.

In addition to that fix, we've already refactored the MessageLayoutContainer to try to make it a little bit more sane to work with in the future.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-23 15:09:56 +00:00
nerix 3265df7661 Fixed too much text being copied when copying chat messages (#4812)
* fix: selection copying too much

* chore: add changelog entry

* Update changelog entry

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-17 12:37:02 +00:00
nerix 515c40f857 Use QFontMetrics::elidedText over manual implementation (#4807) 2023-09-09 12:09:25 +00:00
pajlada d4558b5fe5 Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426) 2023-09-09 11:11:19 +00:00
pajlada 877a4e05fa Remove boost::noncopyable use & boost::random dependency (#4776)
The use has been removed from the following files:
* Atomic.hpp
* SignalVector.hpp
* Benchmark.hpp
* IvrApi
* LoggingChannel.hpp
* Singleton.hpp
* Image.hpp
* PrecompiledHeader.hpp
* Message.hpp
* MessageElement.hpp
* MessageLayout.hpp
* MessageLayoutElement.hpp
* Fonts.hpp (just include)
2023-09-09 10:23:20 +00:00
nerix 71594ad0d8 Remove getApp and getSettings calls from Message-Rendering (#4535)
* refactor: remove singletons from message rendering

* chore: add changelog entry

* Disable the `cppcoreguidelines-avoid-const-or-ref-data-members` clang-tidy check

* auto *app

* Selection is a struct, not a class

* Use ChannelView's `signalHolder_` instead of `channelConnections_`

* Remove `applySettings` step, instead just connect & set each setting individually

* rename & constify some context values

* Handle empty "last message color" setting value better (as it was
        originally in this pr before I removed that change :-)

* unrelated mini refactor cleanup

* let painSelection handle size_t instead of int

* Add some more comments to the MessageLayoutContext structs

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-30 12:52:39 +00:00
mohad12211 c907f2b170 Fix spacing issue with mentions inside RTL text (#4677)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-10 13:44:45 +00:00
Daniel Sage 73435b4cf4 Remove unused variables, Refactor in MessageLayout (#4520)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-08 10:25:43 +00:00