Commit graph

2067 commits

Author SHA1 Message Date
TranRed 89a60ceea8 turned QString::compare() call into a bool
create self-similarity with bool isMyself further up in the class implementation
2019-08-25 10:02:26 +02:00
23rd cdc7051e56 Considerably refactored code of Usercard. 2019-08-25 09:47:00 +02:00
TranRed f7fa000266 fixed bug that terminates chatterino
seems like durationUnits[i++] tried to access a non existing element and chatterino crashed while opening the user card.

this tweek fixed it
2019-08-24 17:26:37 +02:00
23rd 25871bdc2f Slightly refactored code of Usercard. 2019-08-24 17:09:41 +02:00
TranRed 0ce5e7f529 added border to Buttons
added border to Buttons
deleted unused variables
renamed some vars
2019-08-24 11:00:55 +02:00
TranRed 5cd067aab0 readded used "unused" variable 2019-08-22 21:33:50 +02:00
TranRed 0e3ab64bd2 deleted unused QStringList 2019-08-18 18:57:30 +02:00
TranRed ebce0c985a added missing empty line 2019-08-18 18:44:49 +02:00
TranRed 015fc155d5 Refactored settings
made settings use Vectors instead of 8 single setting entries
2019-08-18 18:42:48 +02:00
TranRed 54b162afdd removed experimental profile banner code for now 2019-07-25 13:55:37 +02:00
TranRed 125774ecb2 excluded inline whispers from latest messages in userpopup 2019-07-21 09:36:18 +02:00
TranRed 94ffc66b2a extracted latest messages logic into its own method 2019-07-20 22:42:01 +02:00
TranRed f417006d6a Added channelView with last messages to user popup
currently uses last messages from that channel - might want to use online logs later (or make a setting for that)
2019-07-20 18:49:17 +02:00
TranRed dc01cbf2a3 simplified settings page UI
simplfied UI and removed unneccessary code
2019-07-19 17:34:25 +02:00
TranRed 00ad80d93d unscuffed settings tab
removed copy past cody in favor of an itsy-bitsy more flexible solution
2019-07-19 16:20:31 +02:00
TranRed c45bb144e9 Fixed spinbox ranges 2019-07-19 13:15:50 +02:00
TranRed 7a3673e9f6 changed max custom timeout input to 99
simplicity
2019-07-18 23:34:40 +02:00
TranRed 24faaf8734 created first version of settingstab: Timeouts
scuffed prototype

To-Dos:
- make the UI look cleaner
- clean up copy&pasted coding
2019-07-18 23:02:55 +02:00
TranRed e64f37d288 Made 8 customizable timeout buttons
changed fixed timeout buttons to be read from settings
2019-07-17 16:50:03 +02:00
TranRed d3aa3694f2 Merge pull request #1 from TranRed/subbutton
Added Subscribe option to channel menu
2019-07-17 16:49:16 +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 c01191fa91
Merge pull request #1141 from RAnders00/patch-5
Added RAnders00 to contributors list
2019-07-14 19:05:09 +02:00
Ruben Anders 37211eba18
Added RAnders00 to contributors list 2019-07-14 18:52:16 +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
pajlada 9adf0b3938
Merge pull request #1137 from TranRed/manageAccounts
Make button "Manage Accounts" open the Accounts tab
2019-07-14 18:43:09 +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 386109691b Update .travis.yml and appveyor.yml to point at master branch 2019-07-13 12:31:16 +02:00
pajlada 6662053061
Merge pull request #1133 from Chatterino/nightly
Merge Nightly into Master
2019-07-13 12:21:12 +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
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