Commit graph

3928 commits

Author SHA1 Message Date
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
pajlada
b7372c911b
Merge pull request #1091 from tsoding/976
(#976) Implement Emote preview on mouse hover
2019-06-15 09:18:54 +02:00
Alexey Kutepov
c7046cec3d
Merge pull request #2 from apa420/976-apa
Clang
2019-06-12 05:49:29 +07:00
apa420
3226ab6c68 ran clang 2019-06-12 00:31:02 +02:00
Alexey Kutepov
5b0368cc35
Merge pull request #1 from apa420/976-apa
Added option for shift, used clang and made setting uneditable
2019-06-12 04:40:34 +07: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
Rasmus Karlsson
98611b46f3 update appbase version again 2019-06-10 12:35:15 +02:00
Rasmus Karlsson
ccf6623a0d update version of appbase 2019-06-10 12:29:25 +02:00
Rasmus Karlsson
d2cafe805c use Chatterino's fork of appbase 2019-06-10 12:28:14 +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
TranRed
ec6dac01f1 Changed Download link
I think we should change the download link from beta to nightly, since I feel that 90% of problems/questions people have with/about beta are answered with "download latest nightly" anyway.
2019-06-09 10:00:34 +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
acf69139b9 Document current environment variables that can be used the change the Chatterino experience 2019-05-26 21:25:50 +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
Rasmus Karlsson
c291da68ee oops forgot to update the path in one place 2019-05-19 15:04:41 +02:00
Rasmus Karlsson
2ac4ee5794 update binary name, tag, and repo of appveyor build 2019-05-19 15:01:28 +02:00
Rasmus Karlsson
1e2bd6624b update OSX CI to run on nightly branch 2019-05-19 12:19:49 +02:00
pajlada
87f6d3c6a3
Merge pull request #1079 from Chatterino/osx-ci-test
OSX CI through travis
2019-05-19 12:19:23 +02:00
Rasmus Karlsson
8de8705f26 update travis to use macdeployqt 2019-05-19 12:17:14 +02:00
fourtf
42cb0e4ec3 Removed left padding from general settings page 2019-05-19 01:03:31 +02:00