Commit graph

1018 commits

Author SHA1 Message Date
rexim 4cde28f29b (#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
Supa quick fix for #1100

Looks like this bug may come back in other places where we use
`TooltipWidget`. For a permanent fix we have to go through all of the
places that touch `TooltipWidget` and check if they clean the preview
image correctly.

It would be better to merge TooltipPreviewImage and TooltipWidget
together and change `TooltipWidget::setText` to be

```c++
void TooltipWidget::setText(const QString &text, ImagePtr image = ptrnull);
```

But it's impossible right now, because TooltipWidget is located in
appbase and `ImagePtr` is not visible there (it's located in the main
chatterino repo). Plus we also need an access to
`getApp()->windows->gifRepaintRequested`.

First step in implementing the permanent fix would be moving
TooltipWidget to chatterino from appbase.

Any thoughts on the situation?
2019-06-22 21:39:59 +07: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
Rasmus Karlsson 9cb5e3abb3 Fix a bug where tabbing too early would break any future tab completions
Fixes #1107
2019-06-22 13:16:16 +02:00
Rasmus Karlsson 8d85b9c071 Override Home and End behaviour.
Home now brings you to the beginning of the message (previously of the line)
End now brings you to the end of the message (previously of the line)
2019-06-21 22:22:43 +02:00
Rasmus Karlsson 406c0b9af8 Stop "up arrow" keyboard event from propagating furthern when we're going through message history
Fixes #1102
2019-06-21 22:15:17 +02:00
apa420 70bb63d20f Added option for shift, used clang and made setting uneditable 2019-06-11 22:54:20 +02:00
rexim f362548e28 (#976) Use int for emotesTooltipPreview 2019-06-12 02:05:18 +07:00
rexim 244252f610 (#976) Make TooltipPreviewImage non-copyable 2019-06-12 02:04:57 +07:00
rexim 483e177a39 (#976) Fix compilation errors
Which were not visible because of incremental build or something
2019-06-12 01:16:56 +07:00
rexim 3838157d82 Extract TooltipWidget updating into a separate class 2019-06-12 01:03:04 +07:00
rexim 3f4d3ce14a (#976) Make currentPreviewImage shareable between ChannelView-s 2019-06-12 00:22:26 +07:00
rexim e1a901aa98 Adjust tooltip size after setting the text 2019-06-11 23:20:04 +07:00
rexim 0fb16d150b Preview images instead of emotes 2019-06-11 23:20:04 +07:00
rexim a84716547b Animate gifs in the tooltip preview 2019-06-11 23:20:04 +07:00
rexim 94e705ec1b Inject Emotes into TooltipWidget directly 2019-06-11 23:20:04 +07:00
rexim 8b79faf958 Make Emotes Tooltip Preview disablable in the Settings 2019-06-11 23:20:04 +07:00
rexim 7251a20dfb Get the biggest version of emote from EmoteElement 2019-06-11 23:20:04 +07:00
rexim 959aa4616f pixmap() -> imagePreview() 2019-06-11 23:20:04 +07:00
rexim aa4e7f13e7 Get rid of dynamic_cast 2019-06-11 23:20:04 +07:00
rexim cbb1ec2d7a Remove dead code 2019-06-11 23:20:04 +07:00
rexim f002d44370 If hover over ImageLayoutElement show the preview of image 2019-06-11 23:20:04 +07:00
23rd d2645b03f8 Added Preferences item in menu bar for OS X. 2019-06-10 12:43:37 +02:00
TranRed 5c350de329 overrides QTextEdit insert methods
fixes Chatterino#635
prepares for future implementation of Chatterino#79

Was a little bit hard to find the right combination for now. Pasting images from clipboard surpasses the check for dragging images in canInsertFromMimeData OMGScoots
2019-06-10 12:20:45 +02:00
apa420 74d55941a0 added usercard button to link to twitch's userbutton 2019-06-09 10:08:04 +02:00
Rasmus Karlsson e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +02:00
Rasmus Karlsson 0263248668 Add attribution for Twitch emote data provided by twitchemotes.com 2019-05-21 22:53:40 +02:00
fourtf 42cb0e4ec3 Removed left padding from general settings page 2019-05-19 01:03:31 +02:00
Rasmus Karlsson 1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
apa420 834b1f3c53 Option to hide system moderation messages (#1066) 2019-05-10 23:16:34 +02:00
apa420 3ea496a99b Added boldness adjustment for fonts (#1057)
* Added boldness adjustment for fonts

* Moved setting and changed description of it
2019-05-10 22:37:44 +02:00
hemirt c43c1dc207 Adds option to mute ping sound for specific channels (#990)
Co-Authored-By: hemirt <hemirt@hemirt.com>
2019-05-10 22:36:37 +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
Alexandr Kondratev 14eb302c3d Close search popup window on Escape pressed 2019-05-06 21:16:40 +02:00
23rd a3f6d2b773 Fixed display of text in Go to Bottom button for Retina screen. 2019-05-04 11:55:41 +02:00
TranRed b5efe12f56 renamed enum ToastReactions to ToastReaction (singular) 2019-05-02 00:01:18 +02:00
TranRed a592a3e882 Connected ComboBox to currentIndexChanged
implemented proper connection to combobox (currentIndexChanged instead of currentTextChanged)

Thanks, pajlada! FeelsGoodMan
2019-05-02 00:01:18 +02:00
TranRed 2a590adba7 Implemented requested changes
changed setting from String to int.
changed EnumCase

I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
2019-05-02 00:01:18 +02:00
TranRed c20629c165 Refactored opening from toasts
implemented maps and map look up functions
2019-05-02 00:01:18 +02:00
TranRed d749a4771a made CommonTexts.hpp look like other headers 2019-05-02 00:01:18 +02:00
TranRed f76df80575 creates common texts for opening streams
Texts for opening streams were used in multiple locations. Created a file to store GUI texts like this and replaced were applicable
2019-05-02 00:01:18 +02:00
TranRed b33478d8c6 stored original message text in message 2019-05-01 16:43:52 +02:00
TranRed bbf649bf70
Added {message} parameter for moderation buttons 2019-05-01 16:08:45 +02:00
pajlada 77f57bcff2
Merge pull request #1012 from apa420/apa-deleted-messages
Added support for single deleted messages
2019-04-28 12:51:57 +02:00
apa420 3c1d264689 Added trashcan, replaced messageID var with this-message().id, removed pubsub stuff that didn't belong 2019-04-28 02:25:05 +02:00
23rd 53640a9097 Fixed display of text message in empty tabs for Retina screen. 2019-04-27 14:19:03 +03:00
TranRed ad38d0ca1c Added setting for opening streams from toast
Implemented #710

Added options for opening streams from clicking the toas notficiation: (according to options in splits)
- open in browser
- open player in browser
- open in streamlink (needs to be tested, but should in theory work, since I only use the already existing function)
- don't open the stream (in case someone wants to prevent opening streams "by accident")
2019-04-22 09:03:52 +02:00
apa420 4f79d6fc07 Added deleted messages, will also add the disabled tag to denied automod messages 2019-04-19 22:44:02 +02:00
fourtf 9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +02:00
pajlada 97faec15e0
Merge pull request #979 from hemirt/whispers
do not disable whispers on clears and timeouts
2019-04-16 15:06:42 +02:00
pajlada d846b723c7
Merge pull request #983 from Ckath/savemoderation
Save chat moderation state in splits
2019-04-16 14:57:45 +02:00
pajlada 0737922915
Merge pull request #998 from apa420/apa-remove-moderated-messages
Option to hide moderated messages (timed out messages)
2019-04-16 14:38:20 +02:00
apa420 817c40d733 Added continue for readability and removed to hide moderated messages 2019-04-16 14:36:15 +02:00
pajlada 43504114b5
Merge pull request #994 from apa420/apa-after-x-lines
Made wording more consistent in generalpage
2019-04-16 14:33:01 +02:00
pajlada 695d200d79
Merge pull request #1007 from pphop/pphop-show-ignored
Show ignored users messages anyway setting
2019-04-14 16:59:40 +02:00
pphop 320d74b287 implement show ignored users setting 2019-04-13 01:12:39 +05:00
Ruben Anders 00d4fbf9ed Add {channel} replacement 2019-04-11 12:21:11 +02:00
apa420 562bdae09f Option to hide moderated messages (timed out messages) 2019-04-10 15:32:18 +02:00
apa420 12600b553f Made wording more consistent in generalpage 2019-04-05 21:39:04 +02:00
ckath fac1a6d00c comply to style guies 2019-04-04 11:51:18 +02:00
ckath b3af777382 add back settings for hiding buttons 2019-04-04 11:51:18 +02:00
ckath 66294ed99b add account switcher popup flag for linux 2019-04-04 11:41:12 +02:00
hemirt da1b2f91d9 add broadcaster and vips to viewers list and chatters list (#991) 2019-04-04 11:30:50 +02:00
ckath 9ca4befd9b Save chat moderation state in splits 2019-03-24 15:38:09 +01:00
hemirt 1a1d0f305c make whispers not disabled on clear 2019-03-20 20:53:24 +01:00
Rasmus Karlsson 777ac017df add vim bindings to split input movement 2019-03-02 09:37:43 +01:00
apa420 2948f3cc8b Added the broadcaster to the viewerlist close #967 2019-03-01 18:08:21 +01:00
hemirt 63b22ecf1d HistoricMessageAppearance
Merge branch 'master' of https://github.com/fourtf/chatterino2
2019-01-30 16:00:45 +01:00
pajlada 11a6345247
Merge pull request #935 from apa420/apa-red-timeoutmessages
Option to disable the red stripes on greyed out messages
2019-01-29 18:36:05 +01:00
apa420 bf57dff4bc
Formatting to clang standard 2019-01-29 18:34:03 +01:00
apa420 fa67cdb928
Grammar 2019-01-29 18:32:24 +01:00
apa420 88b1122369 added an option to disable the red stripes over timed out messages 2019-01-29 18:23:43 +01:00
hemirt 441f6189a1 Historic messages behaviour
"Crossed and Greyed" -> default (and is current default)
"Crossed" -> just crossed
"Greyed" -> just greyed
"No change" -> no change in appearance
2019-01-27 22:15:59 +01:00
apa420 bb840da988 Moved turbo badge to vanity 2019-01-23 17:52:53 +01:00
pajlada 9629322ce7
Merge pull request #925 from apa420/apa-automod-implementation
Automod implementation
2019-01-22 22:45:34 +01:00
pajlada 5863b0aab2
Merge pull request #888 from 23rd/patch-21-userinfo-in-search
Fixed moderation buttons in UserInfoPopup from SearchPopup.
2019-01-22 22:23:50 +01:00
pajlada b09e87f837
Merge pull request #914 from hemirt/surrogatepairs
Surrogatepairs
2019-01-22 22:22:03 +01:00
apa420 1434225603 Implemented AutoMod and write pubsub automod messages TODO: implement that the AutoMod message gets deleted if dealt with \nFixes #887 2019-01-21 18:33:57 +01:00
apa420 cc5528ec18 smol commit 2019-01-20 16:07:31 +01:00
apa420 7067b0503d Added more functionality and clickable deny and accept buttons that don't do anything, this also fixes the issue with the background not working properly 2019-01-20 14:45:59 +01:00
Chronophylos 65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
Rasmus Karlsson 8bcd27cedf fix rich text being accidentally parsed through message history in split text input 2018-12-09 00:26:37 +01:00
Rasmus Karlsson 10325518f7 escape title and game in tooltip 2018-12-09 00:21:24 +01:00
fourtf fc93d7b738 added wip effect for (dis/re)connected messages 2018-12-04 21:07:55 +01:00
fourtf 96328a5e25 fixed pausing while 1k messages are in the channel 2018-12-04 08:56:07 +01:00
hemirt 88cffb1949 show users in ignore page sorted 2018-12-02 22:59:18 +01:00
fourtf bd8fab7e68 fixed redraw issue 2018-12-02 19:20:14 +01:00
fourtf 0d4d301aa0 added pausable property to ChannelView 2018-12-02 18:37:51 +01:00
fourtf 2e68852768 made some things scale 2018-12-02 18:26:21 +01:00
fourtf 0e242202a4 minor improvements 2018-12-02 17:49:15 +01:00
23rd 8ec328f352 Fixed moderation buttons in UserInfoPopup from SearchPopup. 2018-11-27 21:29:59 +03:00
fourtf 52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf 0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf 38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
fourtf d8fcc1a3ed small refactor 2018-11-14 17:27:08 +01:00
Rasmus Karlsson 0f9ef9d0aa Fix a bug with twitch channels and the livestatusChanged signal 2018-11-10 14:30:19 +01:00
23rd dcda714715 Moved "below" button displaying in performLayout method. 2018-11-05 14:51:33 +01:00
23rd a0ba2154ae Replaced caller in LogsPopup.cpp. 2018-11-05 11:39:54 +01:00