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
pajlada
4380ef8c5f
refactor: Remove most raw accesses into Application ( #5104 )
2024-01-19 17:59:55 +01:00
pajlada
5b6675abb4
refactor: fix clang-tidy auto*, const&, and curly braces ( #5083 )
2024-01-14 17:54:52 +01: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
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
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
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
011facc13a
Fix crashes that can occur when selecting/copying text ( #4153 )
2022-11-15 23:32:15 +00:00
kornes
d409e3f17d
Improved text selection ( #4127 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2022-11-13 11:26:33 +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
pajlada
51ece94f58
Update Settings and Signals version ( #3398 )
...
Co-authored-by: zneix <zneix@zneix.eu >
2021-12-19 14:57:56 +00:00
pajlada
3c4331b8cb
Fix link parsing in IRC ( #3334 )
2021-11-07 13:55:43 +00:00
Paweł
89b86b94e7
Cleanup debug logging ( #3015 )
2021-07-17 16:45:02 +00:00
Paweł
a509c7514c
Fixed degraded dirty emote code escaping ( #3010 )
2021-07-17 10:35:43 +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
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
Paweł
0e99527e8c
Fixed deprecated method QFontMetrics::width ( #2509 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com >
2021-03-13 14:47:02 +01:00
Steve Wills
df722a72c1
Switch to QT Category logging ( #2206 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com >
2020-11-21 16:20:10 +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
pajlada
e4af009fda
[irc] Partially fix IRC colors ( #1594 )
...
Doesn't fix #1379 but it is a big step forward.
Needs some "real life" testing, but should be good.
2020-07-04 15:15:59 +02:00
Rasmus Karlsson
dbce128cc3
Remove "custom on success" logic from Image.
...
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
fourtf
6274c05520
Fixed always loading 1x, 2x and 3x images
2019-08-13 13:51:27 +02:00
fourtf
9be0d7d458
removed red stripes and connected tape cut visuals
2019-04-17 17:02:13 +02:00
23rd
0d48c04d8a
Made cleanUpCode() as static TwitchEmotes's method.
2019-01-01 21:48:30 +01:00
23rd
23458aa1df
Fixed copying of emotes with '< >' symbols.
2019-01-01 21:48:30 +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
d8fcc1a3ed
small refactor
2018-11-14 17:27:08 +01:00
Rasmus Karlsson
0f44a2e0f4
re-enable link resolver, but fix the underlying issue in the "link changed" signal.
...
The feature itself still doesn't work for me, but this code does the same thing.
only thing that's really different is it also disconnects the signal properly once
the TextLayoutElement is deleted
2018-10-23 10:32:13 +02:00
fourtf
e259b9e39f
added brace wrapping after if and for
2018-10-21 13:43:02 +02:00
fourtf
f4cf464ddb
fixed issues with surrogate pairs in text selection and rendering
2018-10-21 13:05:03 +02:00
Cranken
5c2cdce516
Added triple clicking to select the whole message.
2018-10-06 16:33:18 +00:00
Cranken
fed8cca10e
Added initial double clicking to select word functionality.
2018-10-06 16:33:18 +00:00
Rasmus Karlsson
a2fb4ca104
reformat
2018-09-30 16:55:41 +00:00
hemirt
113cfd69b0
Fix emote copying ( #687 )
...
* Fix emote copying
* Fix (i.e. no longer add) blank spaces instead of badges
I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
35d462d1f1
worked on Image
2018-08-06 18:25:47 +02:00
fourtf
c2e2dfb577
this commit is too big
2018-08-02 14:23:27 +02:00
fourtf
280bb4cf8e
Renamed private members
2018-07-06 19:24:35 +02:00
fourtf
54eb07e116
removed namespaces
2018-06-26 17:06:17 +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
fourtf
c9722b9780
rename #2
2018-06-26 13:24:55 +02:00