Commit graph

1655 commits

Author SHA1 Message Date
fourtf 96532be765 removed unused function 2019-08-13 13:02:11 +02:00
fourtf 23f1ec9ac2 Fixed using non existant 2x and 3x versions of ffz emotes and badges 2019-08-13 13:00:16 +02:00
Rasmus Karlsson e56c90c33d fix crash in name-colorizer 2019-08-11 22:18:01 +02:00
Rasmus Karlsson cd5972522b reformat 2019-08-11 21:08:18 +02:00
Rasmus Karlsson 391d75f208 try to improve readability of the "grayname colorize" function 2019-08-11 21:07:54 +02:00
23rd da039bfdfa Added setting to colorize usernames who have not set own color. 2019-08-11 19:48:43 +03:00
23rd fdb0b62dee Fixed switching tabs using trackpad scroll. 2019-08-10 13:34:59 +02:00
pajlada 0c245fbc4e
Merge pull request #1178 from 23rd/patch-29-mac-ctrl-tab
Added new submenu in menu bar for OS X to switch tabs with hotkeys.
2019-08-10 13:22:33 +02:00
pajlada 989dad1a6d
Merge pull request #1179 from 23rd/patch-30-simplified-tab-hotkeys
Moved to one place and simplified hotkeys of switching tabs.
2019-08-10 13:18:11 +02:00
Rasmus Karlsson 6e1ee84d90 Allow your own username to be set in "highlight users"
Fixes #1181
2019-08-10 13:13:00 +02:00
23rd 34841543c7 Replaced repetitive code of Ctrl+1-8 hotkeys with single loop. 2019-08-04 17:57:34 +03:00
23rd 838fd6bab6 Added ability to open last tab with Ctrl+9. (Chromium behaviour.)
- Fixed #1106.
2019-08-04 17:23:41 +03:00
23rd 485715ef30 Moved to one place and simplified hotkeys of switching tabs. 2019-08-04 17:03:58 +03:00
23rd 79a87e740a Added new submenu in menu bar for OS X to switch tabs with hotkeys.
- Fixed #1176.
 - https://bugreports.qt.io/browse/QTBUG-8596
2019-08-04 16:43:35 +03:00
Rasmus Karlsson c578cd47e1 Highlight parsing is now done after Ignores have been respected.
In the same commit, because I misunderstood the original issue, I also
split out the parsing of the highlights and triggering of the highlight
sounds/alerts into separate functions.

Fixes #1160

I also re-enabled the "sound url changer" that was commented out in an
earlier commit.

Fixes #1170
2019-08-04 14:31:57 +02:00
Rasmus Karlsson 45e2887ce8 Set our own custom User-Agent on network requests.
Format: chatterino/VERSION (COMMIT HASH)

Fixes #1169
2019-08-03 11:20:19 +02:00
fourtf e7d9422431 fixes for last commit 2019-08-01 13:30:58 +02:00
fourtf aac27c2a0d Fixes #1162 2019-07-31 23:03:55 +02:00
fourtf fff979b3c0 lock SignalVector with shared_lock to allow reading on other threads 2019-07-31 22:50:12 +02:00
fourtf 4e4c7d4c0b Set default username boldness to DemiBold (63) 2019-07-28 20:24:39 +02:00
Rasmus Karlsson 3679125e2f Reformat 2019-07-28 13:21:54 +02:00
Rasmus Karlsson 954b1b138a Add a setting for the timeout stack style:
"Stack" is the default behaviour, it will search 20 messages up and 5
seconds back in time to stack the timeout.
"Stack sparingly" will try to do the same, but only if the user has not
typed a message inbetween the this and the last timeout.

Fixes #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson ba1a56c3b7 Don't early out after replacing a timeout message.
Otherwise, this could lead us to not gray out messages after the timeout we're stacking on

Work on #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson 1ae66f3b7d Run newline replacer before sending message input to command executor
Fixes #1123
2019-07-28 12:19:33 +02:00
fourtf 96bed498d0 Fixed warnings in TwitchMessageBuilder 2019-07-27 12:49:45 +02:00
fourtf 39f44d74b3 Added autorun on boot setting for windows. 2019-07-23 23:56:14 +02:00
Rasmus Karlsson 628c64d138 Move "How to" options to their own sub-menu 2019-07-21 13:01:35 +02:00
TranRed a768515849 Added Subscribe option to channel menu
Added the option to visit the subscription page of a channel from chatterino
2019-07-16 21:59:04 +02:00
pajlada fb6a55847d
Merge pull request #1140 from TranRed/inlineWhisperHighlight
Added setting and functionality to highlight inline whispers
2019-07-14 19:32:09 +02:00
pajlada 645f7c74d0
Merge pull request #1139 from RAnders00/patch-4
Add VIP to settings description of badge toggle
2019-07-14 18:51:30 +02:00
pajlada dd353a56a1
Merge pull request #1136 from TranRed/viewerlist-quickfix
Make viewer list float by default
2019-07-14 18:45:50 +02:00
TranRed d725155569 Added setting and functionality to highlight inline whispers
Inline whispers will be displayed with highlighted background color.

New Flag needed to differentiate between normal whisper (highlighted) and whisper with mention.
2019-07-14 16:35:32 +02:00
Ruben Anders 667d2dbdda
Add VIP to settings description of badge toggle 2019-07-14 15:31:40 +02:00
TranRed 32d4383d5f Make button "Manage Accounts" open the Accounts tab
fixes #1135
2019-07-14 12:36:53 +02:00
TranRed 6c14fca216 Make viewer list float
- makes viewer list float
- changed Vip to VIP
- added myself as contributor
2019-07-14 11:43:57 +02:00
Ruben Anders feef6c6aaa Marked VIP badge as "channel authority" badge (#1117)
* Marked VIP badge as authority badge

* Added vip.png resource

* Registered VIP icon resource

* Update ResourcesAutogen.cpp

* Update ResourcesAutogen.hpp

* Update ResourcesAutogen.hpp
2019-07-13 15:55:15 +02:00
Rasmus Karlsson c483a87605 Right-clicking split header now opens the same menu as the hamburger icon
Fixes #1131
2019-07-13 12:17:42 +02:00
pajlada fe69dfb5e0
Merge pull request #1108 from tsoding/1100
(#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
2019-06-23 09:32:55 +02:00
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 a34e3084df Clean up emote parsing 2019-06-22 14:22:43 +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 64dc7f5d73 Fix a bug with messages jumping if you were scrolled up
The bug appeared every 100 messages (so whenever a chunk was deleted)

To fix this, we only perform the first chunk offset increment if the
item we deleted was not the last item in a chunk
2019-06-22 13:04:31 +02:00
Rasmus Karlsson c631434cee Make use of our "Chunk" and "ChunkVector" aliases better 2019-06-22 13:03:57 +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 3226ab6c68 ran clang 2019-06-12 00:31:02 +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 a569985315 Remove dead code 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
rexim d4a6defed6 Introduce a way to extract QPixmap from ImageLayoutElement
Probably should be a part of MessageLayoutElement interface, but good
for now
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 99045e42da Adds support for /user 2019-06-09 10:08:04 +02:00
apa420 74d55941a0 added usercard button to link to twitch's userbutton 2019-06-09 10:08:04 +02:00
ckath afe5e826a1 fix searchtext format again 2019-05-31 08:58:15 +02:00
ckath 83cf03fb09 format with extra : for user search 2019-05-31 08:58:15 +02:00
ckath 2e9b0cad44 make it possible to search localized names 2019-05-31 08:58:15 +02:00
Rasmus Karlsson b872f83c9e add missing files pepega 2019-05-26 21:48:45 +02:00
Rasmus Karlsson 8ba8bbeef6 Move environment variable parsing and storage to its own class
Make the Link resolver and Twitch emotes set resolver urls modifiable with
environment variables
2019-05-26 21:44:37 +02:00
Rasmus Karlsson e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +02:00
Rasmus Karlsson 79e4e05a4a Fix compilation issue 2019-05-25 11:23:58 +02:00
Ruben Anders 9dbe66a19b Change emote parsing order to FFZ -> BTTV -> GlobalFFZ -> GlobalBTTV
Fixes #877
2019-05-25 10:58:51 +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
apa420 9a7365821d Fixed issue #1071 (#1073) 2019-05-18 17:37:26 +02:00
Rasmus Karlsson 8bf9fc92c3 Add a != operator to match the Prefix's == operator 2019-05-11 14:17:52 +02:00
Rasmus Karlsson ee9b0f4c12 Fix tab completion
Fixes #813

This has the "quirk" of not updating names that are already there, which
means that display names might not always be used, instead the users
lowercase name might just be there and stick
2019-05-11 14:17:24 +02:00
Rasmus Karlsson 2492a0ba21 reformat usernamset 2019-05-11 13:59:03 +02:00
Rasmus Karlsson 1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
Rasmus Karlsson fa6c9f2fba make paths cachedirectory formatting nicer 2019-05-10 23:28:05 +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
hemirt 411502de44 fix comments 2019-05-07 20:28:01 +02:00
hemirt 4f5e3f6a27 fixes #1058 2019-05-07 20:28:01 +02:00
hemirt 23921f3fed show whispers notices 2019-05-07 20:28:01 +02:00
hemirt bc8175d9ce fix #1053 2019-05-07 20:28:01 +02:00
hemirt add312b609 fix #1062 2019-05-07 19:35:56 +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 cff1aa0959 changed some variables to const 2019-05-04 11:40:52 +02:00
TranRed 7ad6db550d made links in system messages clickable
needed to make sub ticket in sub only chat accessible.
2019-05-04 11:40:52 +02:00
Rasmus Karlsson 30430b0fb3 this ctor was used to create a system message
we now only use the ctor that takes an explicit SystemMessageTag
2019-05-02 00:28:53 +02:00