nerix
a777a227d4
Allow each layered image to retain its own flags ( #4460 )
...
This fixes an issue where context-menu items for zero-width emotes displayed the wrong provider.
2023-03-19 11:26:30 +01: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
nerix
1043f9f803
Remove Unnecessary Includes in Headers ( #4275 )
...
* refactor: remove unnecessary includes in headers
* fix: formatting
* chore: changelog
* fix: scrollbar
* fix: suggestions and old appbase remains
* fix: suggestion
* fix: missing Qt forward declarations
* fix: another qt include
* fix: includes for precompiled-headers=off
* Add missing `<memory>` includes
* Add missing `#pragma once`
* Fix tests
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-31 14:41:01 +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
xel86
76530d061c
Make reply thread subtext easier to click ( #4067 )
...
Co-authored-by: Daniel Sage <24928223+dnsge@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-10-22 10:46:20 +00: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
Jaxkey
f49e8b4bc8
Show all global FFZ badges of a user ( #3818 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-06-27 18:36:58 +00:00
pajlada
3c4331b8cb
Fix link parsing in IRC ( #3334 )
2021-11-07 13:55:43 +00:00
Ryan
b4be7a4b1f
Fix underlying text from disabled emotes not being colorized after using /me ( #3333 )
2021-10-31 11:37:06 +01: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
Paweł
0e99527e8c
Fixed deprecated method QFontMetrics::width ( #2509 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 14:47:02 +01:00
pajlada
303b079257
Remove bad asserts from IRC text wrapping code ( #2446 )
2021-02-11 12:52:50 +01:00
pajlada
d3b2ab1d8a
Fix a crash bug that occurred when the "Limit message height" setting was enabled and a message was being split up into multiple lines. IRC only. ( #2329 )
2021-01-02 14:49:03 +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
Mm2PL
3ee08b9ffd
Add support FrankerFaceZ badges. ( #2101 )
...
On startup, we poll https://api.frankerfacez.com/v1/badges/ids and store the mappings of user IDs to badges for the remainder of the applications lifetime.
2020-10-25 10:36:00 +01:00
Jonas Schmitt
11b8948290
Add support for non-highlight channel point rewards ( #1809 )
2020-08-08 15:37:22 +02:00
Matthew Marlow
caa11dda3e
removed linebreak after wrapped TextElements ( #1813 )
2020-07-19 12:16:58 +02:00
pajlada
515657be19
Add proper IRC text/word wrapping ( #1802 )
...
Fixes #1781
2020-07-11 15:12:17 +02:00
Mm2PL
c80cdc25b3
Adds support for \x0f formatting character in IRC. ( #1794 )
...
The \x0f character unsets the current foreground and background colors
as well as other formatting which is currently not interpreted by
Chatterino
2020-07-11 14:57:30 +02: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
Daniel Pasch
8532c6d3bc
Add thumbnails to link tooltips if available ( #1664 )
...
This feature is off by default and can be enabled in the settings with the "Show link thumbnail" setting. This feature also requires the "Show link info when hovering" setting to be enabled.
thumbnails support is only there for direct image links, twitch clips, and youtube links. can be expanded in the future in the /api repo
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-05-10 12:11:10 +02:00
pajlada
0f2355459d
Make ModBadgeElement a descendant of BadgeElement instead of EmoteElement ( #1602 )
...
this causes it to behave as it should, and not be scaled when emotes are
scaled. :)
2020-03-14 13:06:24 +01:00
fourtf
e537277fa8
did some more things and stuff
2020-02-23 23:07:28 +01: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
e140905faf
?
2019-08-21 02:16:33 +02:00
fourtf
3b3791e43a
Special message when login expired.
2019-08-21 02:00:42 +02:00
fourtf
6d9545157e
Fixes #1215 Allow previewing badges
2019-08-21 01:52:01 +02:00
fourtf
dbc20baa65
fixed emote preview not using 3x images
2019-08-21 01:44:19 +02:00
Rasmus Karlsson
cd5972522b
reformat
2019-08-11 21:08:18 +02:00
fourtf
fff979b3c0
lock SignalVector with shared_lock to allow reading on other threads
2019-07-31 22:50:12 +02:00
Rasmus Karlsson
27114c5154
Restore option to disable emote images
...
Condensed into a single option, which will disable/enable all emote and emoji images
Also moved badges into their own element
2019-06-22 14:34:54 +02:00
23rd
9654650bee
Renamed variables to clear some warnings.
2019-05-10 22:18:05 +02:00
23rd
efec76df5b
Removed unused local vars. Slightly refactored code.
2019-05-10 22:18:05 +02:00
fourtf
fc93d7b738
added wip effect for (dis/re)connected messages
2018-12-04 21:07:55 +01:00
pphop
0e96caad5f
fixed badges scaling with emote scaling slider
2018-10-24 22:39:52 +05: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
Rasmus Karlsson
5b23aff58d
Re-enable emote scale
2018-10-21 10:23:53 +02:00
Cranken
7c367b73e6
Changed some formatting, also fixed an unrelated bug.
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
23rd
5f19a57f5a
Refresh links of new messages.
...
As I understand links update when all message snapshots update, so we need to refresh url manually via signal.
2018-09-06 17:11:25 +03: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
edfae49cc9
simplified Image
2018-08-10 18:56:17 +02:00
fourtf
381177dd24
refactored EnumFlags
2018-08-07 07:55:31 +02:00
fourtf
c26422aec1
refactored MessageBuilder
2018-08-07 01:35:24 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00