nerix
c32ee8e5b5
feat: add system theme on Qt 6.5 and up ( #5118 )
...
* feat: add system theme on Qt 6.5
* chroe: add changelog entry
* refactor: add separate settings
* fix: qt 5
* Update changelog entry
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-27 10:53:19 +00:00
Mm2PL
7d7f1b3bea
Add support for input.text
in commands run with hotkeys ( #5130 )
2024-01-26 22:25:11 +00:00
nerix
5cd4c51f07
chore: specialize Atomic<std::shared_ptr<T>>
( #5133 )
2024-01-26 21:55:30 +01:00
nerix
7604d7ea4a
perf: add signal to invalidate buffers without doing layout ( #5123 )
2024-01-24 18:13:31 +01:00
pajlada
5628605de4
refactor: Move Emotes to Application ( #5120 )
2024-01-21 13:20:21 +00:00
nerix
075a7c5af0
Chatters from recent-messages are now tab-completable ( #5116 )
2024-01-21 10:57:14 +00:00
pajlada
84a61fdad2
refactor: remove ColorProvider::setColor ( #5112 )
...
We now either:
1) Rely on the setting updating the color
2) Use ColorProvider::color to set the underlying color
2024-01-20 14:51:13 +00:00
nerix
7951af6104
feat: add command line argument to select/add tab with a channel ( #5111 )
2024-01-20 12:20:40 +00:00
pajlada
acee654bd2
fix: badge highlights not immediately updating color ( #5110 )
2024-01-20 11:56:09 +00:00
Mm2PL
36931fac62
Remove reference to lua import() ( #5108 )
2024-01-19 21:31:19 +00:00
nerix
ba94e3879b
deps(conan): use boost
in header-only mode ( #5107 )
2024-01-19 20:32:34 +00:00
pajlada
4380ef8c5f
refactor: Remove most raw accesses into Application ( #5104 )
2024-01-19 17:59:55 +01:00
pajlada
326a402710
refactor: Make ChatterinoBadges less of a singleton ( #5103 )
2024-01-19 17:25:52 +01:00
nerix
5bf1a5a7dd
fix: ignore channel name when copying message ( #5106 )
...
Fixes #5101
2024-01-19 13:11:25 +01:00
nerix
4f2ca3b174
fix: assert for GUI thread in getters instead of get(I)App
( #5102 )
2024-01-18 19:50:57 +00:00
pajlada
11838c8e16
refactor: Move TwitchBadges to Application ( #5096 )
...
* refactor: Move TwitchBadges to Application
* refactor: Use named initializers
* refactor: Use `empty()` instead of `size() > 0`
* refactor: use emplace instead of push into the callback queue
2024-01-17 23:53:10 +01:00
pajlada
7d5967c248
Use the same input padding between light & dark themes ( #5095 )
2024-01-17 20:34:01 +00:00
pajlada
718696db53
refactor: Un-singletonize Paths & Updates ( #5092 )
2024-01-16 20:56:43 +00:00
pajlada
7f935665f9
refactor: Remove the NullablePtr
class ( #5091 )
2024-01-15 21:30:34 +00:00
pajlada
93e2bc18fa
refactor: move Network files from src/common/ to src/common/network/ ( #5089 )
2024-01-15 21:28:44 +01:00
nerix
292f9b9734
fix: ignore save requests after closing all windows ( #5081 )
2024-01-14 12:37:03 +00:00
pajlada
13ff11ea75
refactor: SplitOverlay ( #5082 )
2024-01-14 13:09:07 +01:00
nerix
c4c62f2796
fix: restore focus of last split when restoring ( #5080 )
2024-01-14 12:06:52 +01:00
fraxx
06f950a55b
Improve Streamlink documentation ( #5076 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-12 15:15:42 -05:00
nerix
5c9747e08f
fix: button hover state-change not visible in some cases ( #5077 )
2024-01-11 23:31:33 +01:00
nerix
fa5648fd9a
refactor: NetworkPrivate ( #5063 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-09 00:37:15 +01:00
nerix
f42ae07408
dev: Add RecentMessages benchmark ( #5071 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-07 12:15:36 +00:00
nerix
78a7ebb9f9
Improve color selection and display ( #5057 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 20:52:29 +00:00
iProdigy
693d4f401d
feat: add badges, emotes, and filters for suspicious messages ( #5060 )
...
* feat: show chat badges on suspicious user messages
* feat: display emotes in suspicious user messages
* feat: add search filters for suspicious messages
* chore: update changelog
* refactor: resolve initial nits
* fix: finish adding new filter identifier
* Comment the new message flags
* Add a list of known issues to low trust update messages
* fix: Keep shared-pointerness of the channel
Without this change, we would have the possibility of using the
TwitchChannel after the Channel itself has gone out of scope, albeit not
realistically since we just post this to a thread and parse it - there's
no networking or big delays involved. but this shows the intent better
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 13:22:00 +00:00
pajlada
416806bb0a
refactor: Twitch PubSub client ( #5059 )
...
* Remove unused `setAccountData` function
* Move PubSub out of TwitchIrcServer and into Application
* Add changelog entry
* fix: assert feedback
* Add PubSub::unlistenPrefix as per review suggestion
* Fix tests
* quit pubsub on exit
might conflict with exit removal, so can be reverted but this shows it's possible
* Don't manually call stop on clients, it's called when the connection is closed
* nit: rename `mainThread` to `thread`
* Join in a thread!!!!!!!!
2024-01-06 13:18:37 +01:00
nerix
e48d868e8c
fix: Avoid duplicate scale in settings dialog ( #5069 )
2024-01-06 11:28:06 +00:00
nerix
1192393039
fix: Avoid unnecessary NotebookTab
updates ( #5068 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 11:04:04 +00:00
fraxx
4a0ef08a00
Added missing periods at mod-related messages and some system messages ( #5061 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-03 12:24:23 +01:00
pajlada
65b1ed312c
refactor: Logging (chat logger) ( #5058 )
...
It's no longer a singleton
It's now a unique_ptr that dies together with the Application
* Add getChatLogger to EmptyApplication
* unrelated change: Access Application::instance statically
* fix logging init order
* Add changelog entry
2023-12-31 12:51:40 +00: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
Mm2PL
69a54d944d
Autogenerate docs/plugin-meta.lua ( #5055 )
2023-12-30 10:26:19 +00:00
nerix
9a2c27d258
Allow customization of whisper colors in settings ( #5053 )
2023-12-29 20:52:35 +00:00
nerix
60d79ef57e
Improve docs/supplemental files for plugins ( #5047 )
...
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2023-12-29 17:12:50 +00:00
pajlada
d085ab578f
refactor: Make Args
less of a singleton ( #5041 )
...
This means it's no longer a singleton, and its lifetime is bound to our application.
This felt like a good small experiment to see how its changes would look
if we did this.
As a shortcut, `getApp` that is already a mega singleton keeps a
reference to Args, this means places that are a bit more difficult to
inject into call `getApp()->getArgs()` just like other things are
accessed.
2023-12-29 15:40:31 +01:00
nerix
c65ebd26bd
fix: non-native drag on Windows ( #5051 )
2023-12-29 15:10:56 +01:00
nerix
d84779f127
fix: some buttons triggering when releasing mouse outside ( #5052 )
...
Examples of buttons fixed with this: Usercard profile picture & split header mod mode button
2023-12-29 14:20:07 +01:00
nerix
d0d240136e
fix: Add check for tall messages ( #5045 )
2023-12-27 16:50:04 +01:00
nerix
9612eac966
perf: Only update regions with animated elements ( #5043 )
2023-12-27 01:12:14 +01: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
nerix
485fc5cdb4
fix: Tooltip parenting on Windows ( #5040 )
...
Fixes #5019
2023-12-25 17:17:25 +00:00
nerix
25add89b14
feat: Add crash recovery on Windows ( #5012 )
2023-12-24 15:38:58 +01:00
nerix
d105a68dba
Allow ChannelView
s without a Split
( #4747 )
2023-12-17 21:49:37 +01:00
pajlada
269e7a07b4
chore: Unify .clang-format
file ( #5037 )
...
* chore: Unify all .clang-format files in the root dir
* Update `scripts/check-format.sh` to include all source dirs
* Add changelog entry
2023-12-17 13:50:42 +00:00
pajlada
0395b692e4
fix: ReplyThreadPopup now requires a split as its parent ( #5036 )
...
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2023-12-17 13:16:40 +00:00
pajlada
5dd8c1c88a
dev: Rename tools
directory to scripts
( #5035 )
2023-12-17 13:37:30 +01:00
pajlada
aa11a24163
fix: UserInfoPopup now requires a split as its parent ( #5034 )
...
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2023-12-17 11:53:06 +00:00
Wissididom
d016a16269
Migrate tests on macOS to the same way tests are run on windows ( #5032 )
2023-12-17 11:32:40 +01:00
Herman Stornes
b78b57b454
Fixes to ctrl+backspace behavior ( #5013 )
2023-12-16 13:40:05 +00:00
iProdigy
e75ce5db54
fix: request more historical messages on wake ( #5018 )
2023-12-16 12:38:35 +00:00
Mm2PL
5f8c4c6b66
BREAKING: Replace custom import()
with normal Lua require()
. ( #5014 )
...
* Use require() instead of a custom import()
* Also search relative to the current file
* Update documentation
2023-12-16 12:16:54 +00:00
iProdigy
bbf75516ed
fix: show user message on watch streak notice ( #5029 )
2023-12-16 11:48:32 +00:00
nerix
66f4480371
fix: Fixed some compiler warnings ( #5028 )
...
* fix(C4101): unreferenced local variable
* fix(C4189): variable initialized but not referenced
* fix(C4305): narrowing from double to float
* fix(C4457): declaration hiding function parameter
* fix(C4456): shadowing declaration
* fix(C4996): remove deprecations
* chore: add changelog entry
* fix: Remove more unused variables
* fix: removed unused lambda captures
* Update changelog entry
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-16 11:24:28 +00:00
Mm2PL
fd4cac2c2c
Add a new completion API for experimental plugins feature. ( #5000 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-10 13:41:05 +00:00
pajlada
e4258160cd
Fixed "Yes, don't ask again" image uploader prompt not working on macOS ( #5011 )
2023-12-10 13:28:31 +01:00
iProdigy
13dc306506
perf: query fewer historical messages on reconnects ( #5001 )
...
Co-authored-by: Ruben Anders <ruben.anders@robotty.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-09 19:46:30 +01:00
Mm2PL
401e097d62
Hide the Usercard button in the User Info Popup in special channels ( #4972 )
2023-12-09 12:21:00 +00:00
smc
fec8f8c49f
Fix missing parent of tooltips for Wayland ( #4998 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-09 11:28:33 +00:00
Ilya Zlobintsev
3ad2e4b30a
Update flatpak nightly build link ( #5008 )
...
The `nightly` branch of Chatterino on Flathub will no longer be updated due to changes in Flathub rules. Nightly builds will instead be published in the `flathub-beta` repository. The `.flatpakref` file has been updated to point to the new location.
See also: https://github.com/flathub/flathub/issues/4767
2023-12-09 09:47:26 +01:00
pajlada
036c4f33df
conan: Update Boost to 1.83 & OpenSSL to 3.2.0 ( #5007 )
2023-12-09 00:23:35 +01:00
Mm2PL
c3d3903b6f
feat: add --safe-mode
command line option ( #4985 )
...
This ensures the settings button isn't hidden, and disables plugins from being loaded to make sure the user can always recover from messing things up
2023-12-05 17:37:42 +00:00
iProdigy
44abe6b487
feat: add channel for messages caught by AutoMod ( #4986 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-03 22:07:30 +00:00
nerix
812186dc4c
Return correct hit-test values for title bar buttons on Windows ( #4994 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-03 13:41:33 +00:00
pajlada
584a7c86fc
Move clang-tidy to its own CI job ( #4996 )
...
* Only run the `post-clang-tidy-review` if the `clang-tidy` build succeeded
2023-12-02 13:04:43 +00:00
nerix
c4c94473ae
Do bounds-checking on more windows ( #4797 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-02 12:56:03 +01:00
pajlada
e327ed4166
Update magic_enum from v0.9.3 to v0.9.5 ( #4992 )
...
* Fix include path for magic enum
* Update .clang-format to ensure magic enum is caught as a third party library
2023-12-01 15:03:04 +01:00
Mm2PL
6d02bb7304
Make emote completion a lot smarter ( #4987 )
2023-11-28 10:06:35 +00:00
pajlada
a240797b68
Add support for sound backends & some miniaudio changes ( #4978 )
...
Miniaudio now runs everything in a separate audio thread - this uses boost::asio's io_context.
Our miniaudio implementation is now also much simplified - it does not use its own resource manager or device. This might end up being stupid if sounds don't work after changing output device or locking or w/e
I've made the sound controller into an interface, meaning we can support multiple sound backends in Chatterino. I've added a Null sound backend that disables all sound. A QMediaPlayer or QSoundEffect or Qt backend could be added.
Miniaudio might idle & disable the device now too, not sure
I've added some unrelated changes in the form of a new setting type, and a new setting page helper function for it, which will hopefully make adding new enum settings easier in the future.
This setting stores its value as a string instead of an int, and uses magic_enum to convert between that string value and its enum value.
2023-11-26 22:06:12 +01:00
pajlada
1f09035bfb
refactor: common/Credentials ( #4979 )
...
Use full path in includes
Sort includes
Move anon namespace out of chatterino namespace
Use auto * where possible
Disable convert-member-function-to-static check for all member functions
Don't use else after return
Removed empty constructor
Replace use of `boost::variant` with `std::variant`
Co-authored-by: nerix <nerixdev@outlook.de>
2023-11-26 18:38:31 +00:00
pajlada
5b741a8eb6
refactor: Remove Emoji's EmojiMap with a vector ( #4980 )
2023-11-26 18:17:58 +00:00
nerix
e8673fc52a
fix: deadlock and use-after-free in tests ( #4981 )
...
* fix: use-after-free in settings
* refactor: put seventv api into a singleton
* chore: add changelog entry
* Add warning for when the 7TV load fails
2023-11-26 15:54:19 +00:00
nerix
854032fce9
fix: Only display spaces between words in reply context ( #4977 )
2023-11-26 11:15:35 +01:00
Mm2PL
fbc8aacabe
Refactored the Image Uploader feature. ( #4971 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-11-19 11:05:30 +00:00
Wissididom
7898b97fc2
feat: Run tests on Windows & macOS in CI ( #4970 )
2023-11-18 15:13:27 +01:00
kornes
0bdcaae5d1
Fix: dont select mod buttons at triple click ( #4961 )
2023-11-18 11:39:10 +00:00
nerix
3d9db1d528
refactor: Ignores and Replacements ( #4965 )
...
Fixes a freeze from a bad regex in _Ignores_
Fixes some emotes not appearing when using _Ignores_
Fixes lookahead/-behind not working in _Ignores_
2023-11-17 17:39:45 +01:00
nerix
6faf63c5c4
refactor: Remove Outcome
from network requests ( #4959 )
2023-11-12 14:51:51 +01:00
pajlada
95620e6e10
fix: Split input sometimes not accepting focus ( #4958 )
2023-11-11 10:58:20 +00:00
pajlada
244efaa0a9
fix: /banid and /ban id: performing duplicate bans ( #4957 )
2023-11-10 18:46:28 +00:00
pajlada
423829be43
feat: /unban
and /untimeout
by id ( #4956 )
2023-11-10 19:18:20 +01:00
kornes
c8e03b4ad7
Dont invalidate paint buffer when selecting ( #4911 )
2023-11-08 21:19:18 +00:00
pajlada
fcc5f4b3df
feat: Allow id: prefix in /ban and /timeout ( #4945 )
...
ban example: `/ban id:70948394`, equivalent to `/banid 70948394`
timeout example: `/timeout id:70948394 10 xd`
2023-11-08 21:42:06 +01:00
iProdigy
d40b0a6c1d
fix: avoid reward redemption crash via buffer refactor ( #4949 )
...
Co-authored-by: nerix <nero.9@hotmail.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-11-08 18:14:48 +01:00
Mm2PL
f943f70634
Add support for opening usercards by ID ( #4934 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-11-06 20:42:24 +01:00
iProdigy
5209e47df1
Improve reply popup after thread update ( #4923 )
...
Co-authored-by: nerix <nero.9@hotmail.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-11-05 16:25:26 +00:00
iProdigy
9dd83b040b
feat: /reply
command now replies to the latest message of the user ( #4919 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-11-05 16:30:15 +01:00
nerix
7d145e3577
Disable clickable sections in tables ( #4913 )
2023-11-04 18:42:13 +00:00
nerix
5325c7b826
Fix tooltips appearing too large and/or away from the cursor ( #4920 )
2023-11-04 18:13:34 +00:00
Alex Baines
879a63e6f3
Support using follower emotes outside of channel if subbed ( #4922 )
...
If we also have a subscriber emote set for a channel, then don't treat
a follower emote set as local to that channel.
Co-authored-by: iProdigy <8106344+iProdigy@users.noreply.github.com>
2023-11-04 17:45:18 +00:00
kornes
b3ed3285ee
feat: Add VERSIONINFO resource for windows ( #4912 )
2023-11-03 18:19:50 +01:00
Mm2PL
03b32bffc8
Bugfix: Fixed a crash when clicking More messages below
button in a usercard and closing it quickly. ( #4933 )
2023-11-02 12:12:52 +00:00
pajlada
56346874e1
ci: Use clang-format 16 ( #4929 )
2023-10-31 17:24:47 +00:00
pajlada
f4726ed7a8
refactor: IrcMessageHandler ( #4927 )
2023-10-31 17:47:56 +01:00
pajlada
7efe58cca9
refactor: ChannelView ( #4926 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-31 14:54:14 +01:00
nerix
c811e2d991
refactor: Change lifetime of context menus ( #4924 )
2023-10-29 19:24:38 +00:00
nerix
7ecbfa0cdb
refactor: debug count and popup ( #4921 )
...
* Moved implementation of the methods to the `cpp` file.
* Added `DebugCount::Flag(s)` and `DebugCount::configure(name, flags)`.
* Moved from `QMap` to `std::map` (order is important here).
* Used `QStringBuilder` for concatenations.
* Used `QLocale` for formatting (adds separators).
* Added `DebugCount::Flag::DataSize` for data sizes in bytes (and fixed language to English).
* Used `DataSize` for image sizes (maybe this should be moved somewhere else?).
* Added copy button to popup.
* Fixed Image usage reporting being eight times too large (could be another PR, but honestly it's four characters).
2023-10-28 21:17:32 +02:00
nerix
fcb6eff8cc
Remove direct dependency on Qt 5 compatibility module ( #4906 )
2023-10-23 21:28:02 +02:00
kornes
12808d3154
refactor: simplify double click selection ( #4898 )
2023-10-17 13:38:38 +02:00
nerix
b975900043
refactor: Toast ( #4899 )
...
* Fixes a bug where avatars weren't loaded on fresh installations of Chatterino.
* Avatars now update every two weeks.
* Removes misleading `DownlaodManager` (now part of `Toasts.cpp`).
* Refactors usage of WinToast to be easier to read.
* Added version to AUMI.
* Removes manual `QString` → `std::wstring` conversions.
* Removes uses of implicit ASCII casts in `Toasts.cpp`, meaning it can be compiled with `QT_NO_CAST_FROM_ASCII`.
2023-10-17 01:50:18 +00:00
kornes
ccaedc3987
perf: reduce repaints amount caused by selection ( #4889 )
...
Co-authored-by: nerix <nero.9@hotmail.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-10-13 17:19:52 +00:00
Daniel Sage
b85d666b32
fix: Remove tab completion caching of source ( #4893 )
2023-10-13 09:43:16 +00:00
Daniel Sage
653a14c76b
fix: Don't use QCompleter prefix filter ( #4855 )
...
* Invalidate tab completion model when settings change
* Remove true culprit
* Update CHANGELOG.md
* Remove QCompleter setFilterMode call
---------
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-10-13 11:22:48 +02:00
pajlada
fec45889a8
Replace boost::optional with std::optional ( #4877 )
2023-10-08 16:50:48 +00:00
nerix
fe4d6121a2
Display all parsed elements when parsing emojis in replies ( #4875 )
2023-10-08 10:09:42 +00:00
nerix
4db93bf1da
Adjust DontFocus
window flags on Windows and macOS ( #4876 )
2023-10-08 00:03:14 +02:00
pajlada
774eaa14ce
Fix emoji unified/non-qualified version for sending & parsing ( #4840 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-07 10:21:30 +00:00
kornes
ab4a0c054a
Update vcpkg to Qt6 ( #4872 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-10-07 09:09:58 +00:00
nerix
752825793a
Ignore invisible widgets when hit testing ( #4873 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-10-06 21:26:25 +00:00
Christian
5d5d265ae0
Add cmake flag to use system-provided miniaudio ( #4867 )
...
Example usage: `cmake -DUSE_SYSTEM_MINIAUDIO=ON ..`
2023-10-04 13:38:53 +00:00
pajlada
38a7ce6954
Fix qtkeychain include for Qt6 users ( #4863 )
2023-10-03 15:59:34 +00:00
Felanbird
131812b37b
Update changelog entry for 4854 ( #4860 )
2023-10-02 11:03:18 +00:00
Patrick Klein
5b17ae3f7e
Implement compile-time flag to disable automatic update checks. ( #4854 )
...
Usage: `cmake -DCHATTERINO_UPDATER=OFF ..`
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-10-02 11:43:20 +02:00
Daniel Sage
4bb196c644
fix: Fix username tab completion without @ ( #4853 )
2023-10-01 09:39:18 +00:00
pajlada
467e36767c
Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6 ( #4856 )
...
* Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6
* always enable precompiled headers on windows
2023-10-01 11:19:26 +02:00
nerix
2fc7fdd91a
Fix empty page added when showing OOB dialog ( #4849 )
2023-10-01 06:40:34 +00:00
GongBingWong
ad8f960a8e
Fix to interpret logger channel names as lowercase ( #4848 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-10-01 05:56:03 +00:00
nerix
916427a612
Fix flickering when running with Direct2D ( #4851 )
2023-10-01 07:13:37 +02:00
Daniel Sage
4d8b62364d
fix: Commands now completable when not starting with / ( #4846 )
...
* Add commands to completable inputs when no prefix
2023-09-30 11:06:16 +00:00
nerix
bdd7d95092
Check VCRT and show installed/shipped version ( #4847 )
...
* feat: check VCRT and give more feedback
* chore: add changelog entry
* fix: use full product name
2023-09-30 12:22:39 +02:00
Daniel Sage
37009e8e6b
Consolidate input completion code in preparation for advanced completion strategies ( #4639 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-24 12:17:17 +00: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
Brian
c71e91200a
streamlink: trim custom paths ( #4834 )
...
this makes sure no spaces are accidentally left in the custom path
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-23 08:20:05 +00:00
pajlada
e6df652a4f
fix: QuickSwitcherPopup now pops up in the selected window ( #4819 )
2023-09-17 21:52:17 +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
dc62e8248b
Add (invisible) resize handle to frameless usercards and reply threads ( #4795 )
...
* feat: add resize handle to usercards&reply threads
* Add changelog entry
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-17 11:27:20 +00:00
Mm2PL
d752ce86fd
Add WindowManager::getLastSelectedWindow()
to replace getMainWindow()
( #4816 )
...
1. No longer can return a nullptr if no window was ever focused
2. When closing a window, it will no longer return an invalid pointer
2023-09-16 20:53:44 +00:00
qooq69
38c994be49
Fixed Usercard Popup not floating on tiling WMs on Linux ( #3511 )
2023-09-16 22:15:01 +02:00
pajlada
8fe3af3522
Fix signal connection nodiscard warnings ( #4818 )
2023-09-16 11:52:51 +00:00
nerix
2d5f078306
Style account switcher to match the current theme ( #4817 )
2023-09-15 18:44:36 +02:00
nerix
337b043bc3
Fix input in reply thread popup losing focus when dragging ( #4815 )
2023-09-13 20:38:32 +00:00
pajlada
9ca2578c1e
Refactor Image
& Image's Frames
( #4773 )
2023-09-13 19:26:45 +00:00
nerix
283ede86ad
Only layout visible ChannelView
s ( #4811 )
2023-09-10 17:08:13 +02:00
Daniel Sage
1b9ee939bb
Select correct notebook tab after closing while filtered ( #4770 )
2023-09-10 10:38:59 +00:00
pajlada
813d96867b
Migrate to the new Get Channel Followers Helix endpoint, fixing follower count not showing up in usercards ( #4809 )
2023-09-09 12:51:45 +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
pajlada
ba440e0ccb
Fixed /shoutout
command not working with usernames starting with @'s (e.g. /shoutout @forsen
) ( #4800 )
2023-08-28 17:17:03 +00:00
pajlada
7cb04bf58b
Remove BaseSettings & merge ConcurrentSettings ( #4775 )
2023-08-28 17:51:28 +02:00
pajlada
4c942a2a42
Fix data race in PubSub ( #4771 )
2023-08-27 21:35:38 +00:00
pajlada
ac6708b3a2
Fix input completion tests on Qt6 & run tests on 22.04 ( #4774 )
...
* Tests: Fix InputCompletion tests in Qt6
This is achieved by not checking exact order for certain completion tests
* Tests: Use Ubuntu 22.04 for all tests
This allows us to be a bit more loose and use more C++20 features in
tests
* Update dockerfiles
2023-08-27 11:11:59 +00:00
nerix
72f0f49fbf
Set QT_ENABLE_HIGHDPI_SCALING
to 0
on Qt 6 on Windows ( #4767 )
2023-08-27 10:32:09 +00:00
nerix
15bd72eed1
Encode modes
file in UTF8 ( #4791 )
2023-08-27 11:45:16 +02:00
pajlada
05a72d335a
Release v2.4.5 ( #4787 )
...
* Update documentation for Ubuntu PPA & appdata.xml updates
2023-08-26 12:33:01 +02:00
Felanbird
381d5c4276
Change Elevated Messages
to Hype Chats
( #4766 )
2023-08-14 17:19:20 +00:00
Felanbird
2d30ff62bf
Prepare changelog for v2.4.5 release ( #4765 )
2023-08-14 11:14:24 +02:00
nerix
e7281b033e
Show historic timeouts and bans in usercard ( #4760 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-13 10:00:52 +00:00
Mm2PL
1e35391075
Hide AutoMod term management messages in Streamer Mode. ( #4758 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-12 12:16:30 -04:00
pajlada
3e1e400e3e
Refactor recent messages API ( #4763 )
...
This exposes internal functions for testing by splitting the implementation & internal API into separate files
2023-08-12 11:34:59 +00:00
Mm2PL
ec0d77643f
Remove USEWEBENGINE ( #4757 )
...
This code has been sitting behind a define since 2018 (de3a490
). I'm not opposed to this code coming back however in this state, it feels better to remove it.
2023-08-07 18:24:17 +00:00
Mm2PL
59160c5d04
Minor: Add missing hotkey Action for Open Player in Browser. ( #4756 )
2023-08-07 13:41:32 +00:00
Sam Heybey
69c983e0d9
Add support for opening links in incognito mode on Linux & BSD ( #4745 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-06 15:57:01 +02:00
Mm2PL
168f346c81
Remove restriction on Go To Message on system messages from search ( #4614 )
...
* Remove restriction on go to message on system messages
Fixes #4608
* changelog
* Change the changelog entry from a bugfix to minor
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-05 16:36:49 +00:00
pajlada
1aedd4d668
Highlights loaded from message history will now correctly appear in the /mentions channel ( #4752 )
...
* added messages in mentions tab if correct predicate is met
* Update CHANGELOG.md
* Apply Felanbird's fix
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
---------
Co-authored-by: 2547techno <technowizz2547@gmail.com>
Co-authored-by: 2547techno <109011672+2547techno@users.noreply.github.com>
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-08-05 14:23:40 +00:00
Mm2PL
e13df1f602
Split log line generation from message search text ( #4742 )
...
* Split log line generation from message search text
* changelog
* remove empty space at the beginning of usernames
* Move changelog entry
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-05 13:09:56 +00:00
Mm2PL
5727db2029
Fixed subscriptions and announcements not being blockable ( #4748 )
...
* Check blocks for usernotices
* changelog
* cstd = {.name="C++20"}
* Update CHANGELOG.md
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-08-05 12:45:43 +00:00
nerix
accf91a48f
Build Windows Installer in CI ( #4408 )
...
* feat: build installer in CI
Co-authored-by: 8thony <114905842+8thony@users.noreply.github.com>
* fix: use inno-setup from PATH
* fix: only match `v*` tags
* fix: don't add to release
* fix: only run on master
---------
Co-authored-by: 8thony <114905842+8thony@users.noreply.github.com>
2023-08-05 12:27:09 +00:00
nerix
1438529e98
Sync channels with browser ( #4741 )
...
* feat: keep channels from browser tabs alive
* chore: add changelog entry
* fix: add comment
* fix: rename key
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-08-05 12:23:26 +00:00
pajlada
9e2eb0dd29
Fix tooltip & popup positioning ( #4740 )
...
* Fix tooltip & popup positioning
This tries to ensure the tooltip & popups are created on the correct
monitor
* Add changelog entry
* Clean up debug output
* Use the full frame geometry to figure out screen bound movements
* Remove the now-unused `setStayInScreenRect` function
* Change the UserInfoPopup offset to be based on its width & height
instead
* Remove more debug output
2023-08-05 11:22:37 +00:00
Mm2PL
b98be3b0f3
Fixed right-clicking mentions no longer working. ( #4751 )
...
* fix up rightclicking mentions
* changelog
* Merge changelog entries other PR was merged after 2.4.4
2023-08-05 11:17:34 +00:00
2547techno
6b7d12e410
Show channel point redemptions without messages in usercard. ( #4557 )
...
* set login name for channel point reward message
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2023-08-04 10:28:52 +00:00
Mm2PL
89323ffa1f
Fixed tab completion rarely completing the wrong word. ( #4735 )
...
* Fixed tab completion rarely completing the wrong word.
Fixes : #3101
* Use QSignalBlocker instead of janky bool, add comment about hidden logic
* copypasteo
2023-07-31 21:34:53 +00:00
nerix
703847c9ba
Add subtitle to Hype Chats ( #4715 )
...
* feat: more hype chat
* Add `std::chrono::seconds` overload to formatTime
* Move & rename it to HypeChat + some other mini things
* Add changelog entry
* fix formattime test
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-30 16:54:42 +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
Brian
c496a68633
Fix: Incorrect tab focus in reply threads ( #4739 )
...
* Fix: Incorrect tab focus in reply threads
fixes #4737
* Append to changelog
---------
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-07-29 17:06:12 +00:00
Abhinav Neelam
9cb59f753f
focus message input when selecting emotes in emote popup ( #4719 )
...
* focus input when selecting emotes in emote popup
* changelog
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-07-29 13:16:19 +00:00
SputNikPlop
7079729591
fix: change viewer list to chatter list ( #4732 )
...
* fix: change viewer list to chatter list
* fix: enter changelog entry
2023-07-29 10:47:24 +00:00
nerix
33fa3e0a97
Use New 7TV Cosmetics System ( #4512 )
...
* feat(seventv): use new cosmetics system
* chore: add changelog entry
* fix: old `clang-format`
* fix: small suggestions pt1
* refactor: add 7tv api wrapper
* fix: small clang-tidy things
* fix: remove unused constants
* fix: old clangtidy
* refactor: rename
* fix: increase interval to 60s
* fix: newline
* fix: Twitch
* docs: add comment
* fix: remove v2 badges endpoint
* fix: deadlock
This is actually really sad.
* fix: remove api entry
* fix: old clang-format
* Sort functions in SeventvBadges.hpp/cpp
* Remove unused vector include
* Add comments to SeventvBadges.hpp functions
* Rename `addBadge` to `registerBadge`
* fix: cleanup eventloop
* ci(test): add timeout
---------
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-29 09:49:44 +00:00
nerix
9f8a1d8823
Add command to automatically reload your theme ( #4718 )
2023-07-23 12:13:21 +00:00
nerix
fca57696bb
Increase max number of blocked users loaded from 100 to 1,000 ( #4721 )
...
Also includes a little refactor of how the requests are made & how the blocked users are stored
2023-07-23 11:26:12 +00:00
pajlada
a440f0261a
Fix crash that could occur when closing a split before its display name was updated ( #4731 )
...
This fixes a crash that could occur when closing a split before the
display name had a chance to update
The reason I found this was because the LiveController change I made
updated display names more regularly
Additionally, we now make sure to not send duplicate `displayNameUpdated` signals
upon each request for channels with CJK characters in their display name
* Default-initialize the `actualDisplayName` with the user's login name to not send an initial display name update if the display name is the same casing as the login name
2023-07-23 10:11:57 +00:00
pajlada
5c8c05b1af
Recreate ma_device on failure ( #4729 )
2023-07-22 13:20:30 +00:00
Mm2PL
0e83367a2b
Force shortcuts to show in context menus on macOS ( #4722 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-22 11:36:52 +00:00
Mm2PL
ae8b2adcdd
Add accelerators to the right click menu for messages ( #4705 )
2023-07-22 12:54:48 +02:00
pajlada
76527073cf
Ensure live status requests are always batched ( #4713 )
2023-07-02 13:52:15 +00:00
Mm2PL
f915eab1a2
Add "pin" action to usercards and reply threads ( #4692 )
2023-07-01 16:38:55 +00:00
nerix
22b290cb2d
Improve network error messages ( #4704 )
2023-07-01 12:59:59 +00:00
pajlada
d2f1516818
Fix crash that could occur if closing the usercard quickly after blocking ( #4711 )
...
* Specifically, this adds a caller to the network request, which makes the
success or failure callback not fire.
This has the unintended consequence of the block list not reloading if
the usercard is closed, but it's not a big concern.
* Add unrelated `-DUSE_ALTERNATE_LINKER` cmake option
From 0517d99b46/CMakeLists.txt (L87-L103)
2023-07-01 12:01:47 +00:00
Mm2PL
2f272b37ca
Allow for customizing the behavior of Right Click
ing of usernames. ( #4622 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-01 11:03:16 +00:00
nerix
44cc1e256e
Fix partially broken filters on Qt 6 ( #4702 )
2023-06-24 22:03:54 +02:00
nerix
b9934a4532
Refactor tests and benchmarks ( #4700 )
2023-06-24 15:03:27 +02:00
nerix
5d3e5d9312
Fix anonymous users being pinged by justinfan64537
( #4698 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-20 17:42:29 +00:00
pajlada
53b044c476
Fix changelog entries for two old PRs ( #4691 )
2023-06-18 13:21:38 +00:00
pajlada
af34bf6246
Fix streamer mode button being always visible on Windows ( #4690 )
...
Fixes #4682
2023-06-18 12:33:44 +00:00
Andrew Opalach
0e60ca10d0
Fix smooth scrolling when ChannelView is full ( #4501 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-18 12:09:11 +00:00
nerix
4b40b9a310
Define Git and date constants in executables only ( #4681 )
2023-06-17 19:43:39 +02:00
nerix
aff9342647
Add option to subscribe to and pin reply threads ( #4680 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-17 15:41:52 +00:00
nerix
a045d3ee81
Use sccache
on Windows ( #4678 )
...
* build: support sccache and windows
2023-06-11 10:31:04 +00:00
Daniel Sage
4361790fbd
Add setting to only show tabs with live channels ( #4358 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-11 11:34:28 +02: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
nerix
839ba60fd8
Respect Theme in Input Completion & Quick Switcher ( #4671 )
2023-06-10 12:38:23 +00:00
nerix
65a14fb95b
Fix crash resulting from a mutex deadlock when switching users ( #4675 )
2023-06-10 11:40:30 +00:00
nerix
335dff53af
Don't add QLayouts to QWidgets that already have one ( #4672 )
2023-06-10 10:55:47 +00:00
nerix
f0c4eb7caa
Fix undefined behaviour when loading non-existant credentials ( #4674 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-06-10 10:11:05 +00:00