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
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
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
0acbc0d2c3
Formalize zero-width emote implementation ( #4314 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com >
2023-03-18 12:30:08 -04:00
pajlada
032f290767
Sort and force grouping of includes ( #4172 )
...
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
mohad12211
fe2a9ccbff
fix neutral elements order in multiple lines ( #4173 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com >
2022-11-25 11:24:28 +01:00
nerix
82d345bc76
fix: Limiting the height of a message that contains some RTL text causes a crash ( #4168 )
...
Co-authored-by: mohad12211 <51754973+mohad12211@users.noreply.github.com >
Fixes https://github.com/Chatterino/chatterino2/issues/4166
2022-11-20 15:30:51 +00:00
pajlada
011facc13a
Fix crashes that can occur when selecting/copying text ( #4153 )
2022-11-15 23:32:15 +00:00
kornes
2a9c15b2de
Fix triple click selection on message containing reply ( #4131 )
...
closes https://github.com/Chatterino/chatterino2/issues/4128
2022-11-12 12:44:03 +00:00
Salman Abuhaimed
070151fbc8
change unicode for better font support and fix some cases ( #4139 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com >
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2022-11-12 08:30:44 +00:00
mohad12211
3fcb7e1702
Implement initial support for RTL languages ( #3958 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
fix https://github.com/Chatterino/chatterino2/issues/720
2022-11-10 20:36:19 +00:00
Daniel Sage
7640677a43
Improve Appearance of Reply Curve ( #4077 )
2022-11-02 09:19:44 +01:00
Daniel Sage
20c974fdab
Added support for Twitch's Chat Replies ( #3722 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com >
2022-07-31 10:45:25 +00:00
Adam Davies
937e33a2fd
Fix zero-width emotes sometimes wrapping lines incorrectly ( #3389 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com >
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2021-12-06 22:49:08 +00:00
Tal Neoran
5112ec73b0
Fix zero-width emotes alignment with removeSpacesBetweenEmotes setting ( #3249 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2021-10-24 12:30:28 +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ł
0e99527e8c
Fixed deprecated method QFontMetrics::width ( #2509 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2021-03-13 14:47:02 +01:00
Leon Richardt
0eed45ae67
Chore: Proper Lambda Formatting ( #2167 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2020-11-08 12:02:19 +01:00
fourtf
b7e86a8de6
reduced COMPACT_EMOTES_OFFSET to fix a graphical glich in timed out
...
messages
2020-08-23 17:24:35 +02:00
Jonas Schmitt
58725efbd5
Fix styling of channel point reward message text. ( #1845 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2020-08-09 11:50:53 +02:00
Rasmus Karlsson
2d3fb8950e
hardcoded list of BTTV's christmas emotes
2019-12-05 20:10:56 -08:00
Cranken
f89ca517ce
Fix first line of emotes in emote picker window being shifted.
2019-10-06 17:29:18 +02:00
Leon Richardt
b06eb9df83
Normalize line endings in already existing files
2019-09-08 22:27:57 +02:00
23rd
9654650bee
Renamed variables to clear some warnings.
2019-05-10 22:18:05 +02:00
ckath
b49c21a515
change comment to original so it doesnt cause a change
2019-03-23 23:55:11 +01:00
ckath
1c8373432c
but dont fuck up the (dis/re)connected messages
2019-03-23 23:49:55 +01:00
ckath
11f01947a7
stop emotes from being cut off
2018-12-14 22:40:56 +01:00
fourtf
fc93d7b738
added wip effect for (dis/re)connected messages
2018-12-04 21:07:55 +01:00
fourtf
0e242202a4
minor improvements
2018-12-02 17:49:15 +01:00
fourtf
d500ab59ea
added setting for compact emotes Fixed #821
2018-10-29 21:48:15 +01:00
fourtf
e259b9e39f
added brace wrapping after if and for
2018-10-21 13:43:02 +02:00
Cranken
ced5508286
Removed unnecessary get on shared pointers.
2018-10-06 16:33:18 +00:00
Cranken
4c4d1d2042
Fixed double click selection.
2018-10-06 16:33:18 +00:00
Cranken
5c2cdce516
Added triple clicking to select the whole message.
2018-10-06 16:33:18 +00:00
Cranken
7c367b73e6
Changed some formatting, also fixed an unrelated bug.
2018-10-06 16:33:18 +00:00
fourtf
8bcc9c487b
Fixes #411 , #516
2018-08-16 00:16:33 +02:00
fourtf
f6414c9d7e
remove settings and paths from Application
2018-08-12 12:56:28 +02:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
c719bb6b74
categorized emtotepopup
2018-08-11 14:26:02 +02:00
fourtf
381177dd24
refactored EnumFlags
2018-08-07 07:55:31 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
280bb4cf8e
Renamed private members
2018-07-06 19:24:35 +02:00
fourtf
2df142bd50
renamed *Manager files
2018-06-28 19:46:45 +02:00
fourtf
2df0566492
removed namespaces
2018-06-26 16:37:59 +02:00
fourtf
a9bf9cf722
rename #3
2018-06-26 14:09:39 +02:00