Commit graph

426 commits

Author SHA1 Message Date
fourtf
23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +02:00
Leon Richardt
58d892a8c2 Make Emote Tab Completion Search for Substrings (#1204)
* Make emote tab completion search for substrings

Previously, tab completion only searched for emotes that start
with the current prefix under the cursor. This commit makes tab
completion look for the current prefix as a substring in any position,
not just the start.

Examples:
    * In forsen's channel, tabbing on "pls" will cycle through "DonaldPls", "forsenPls",
    "GachiPls", "nyanPls" and "SourPls".

    * As a forsen subscriber, tabbing on "sen1" will complete to "forsen1".

    * As a pajlada subscriber, tabbing on "shrug" will cycle through
    "pajaShrugL" and "pajaShrugR". (Unless you are in a channel with
    more "shrug" emotes, of course.)

* Add a setting for prefix and substring completion

This commit adds a setting under the "Miscellaneous" section to allow
user to choose whether they want prefix-only or substring emote
completion.

The QCompleter filter mode and `addString` function are now chosen
according to the user's setting.

* Improve description of emote completion setting

Also reintroduce a blank line that went missing.
2019-08-17 17:17:38 +02:00
fourtf
6274c05520 Fixed always loading 1x, 2x and 3x images 2019-08-13 13:51:27 +02:00
23rd
da039bfdfa Added setting to colorize usernames who have not set own color. 2019-08-11 19:48:43 +03:00
fourtf
4e4c7d4c0b Set default username boldness to DemiBold (63) 2019-07-28 20:24:39 +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
fourtf
39f44d74b3 Added autorun on boot setting for windows. 2019-07-23 23:56:14 +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
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
apa420
3226ab6c68 ran clang 2019-06-12 00:31:02 +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
3838157d82 Extract TooltipWidget updating into a separate class 2019-06-12 01:03:04 +07:00
rexim
8b79faf958 Make Emotes Tooltip Preview disablable in the Settings 2019-06-11 23:20:04 +07:00
Rasmus Karlsson
e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +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
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
TranRed
b5efe12f56 renamed enum ToastReactions to ToastReaction (singular) 2019-05-02 00:01:18 +02:00
TranRed
cd1f717c36 deleted dead code
not needed anymore since latest commit
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
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
34f820be18 implemented fallback logic for corrupted window layout (#1039)
* fallback logic for corrupted window layout

1. before saving the window-layout a backup will created to avoid corruption due to crashes while saving

2. when starting chatterino and the window-layout file returns and empty window layout (due to corruptio) the backup will be read and the layout will be build from this data

* Update WindowManager.hpp

* used QSaveFile instead of crude custom implementation

* implemented suggested feedback from review

* proper method call

was tired and slightly drunk Kapp
2019-05-01 09:58:13 +02:00
TranRed
ac1957ff68 Quick fix for highlighting in light themes
set defaults for highlighting colors. Only use "hidden setting" when populated.
2019-04-22 18:32:58 +02: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
fourtf
9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +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
pphop
320d74b287 implement show ignored users setting 2019-04-13 01:12:39 +05:00
apa420
562bdae09f Option to hide moderated messages (timed out messages) 2019-04-10 15:32:18 +02:00
ckath
9ca4befd9b Save chat moderation state in splits 2019-03-24 15:38:09 +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
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
Rasmus Karlsson
250ef077da Unremove wordflagslistener
this relies on appbase#1 PR
2019-01-22 22:15:38 +01:00
Chronophylos
65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
fourtf
bd8fab7e68 fixed redraw issue 2018-12-02 19:20:14 +01: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
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
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
9ced50e94e improved alternate bg and seperator line 2018-11-01 18:04:14 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
fourtf
a0b6e4bb76 Fixes #756 2018-10-29 22:11:42 +01:00
fourtf
d500ab59ea added setting for compact emotes Fixed #821 2018-10-29 21:48:15 +01:00
fourtf
3df9850da7 fixed wrong scale value 2018-10-29 18:41:46 +01:00
hemirt
c13a88e3b6 custom theme multiplier support (#825) 2018-10-25 21:52:12 +02:00
pphop
02eeedb338 added toggle for greying out historic messages (#822) 2018-10-25 21:47:52 +02:00
fourtf
1872163ec4 Open settings when clicking moderation button and no moderation actions are found 2018-10-21 15:32:28 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
pphop
a584259785 improve "last message read" indicator (#802) 2018-10-20 13:25:24 +02:00
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
Nikolai Zimmermann
845c595b70 fix typo (#783) 2018-10-09 18:34:38 +02:00
Rasmus Karlsson
a947bf74c8 Occasionally save window/split/tab layout
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.

Events that cause the save to be queued up:
 - Tab created
 - Tab removed
 - Tab moved
 - Tab name changed
 - Split created
 - Split removed
 - Split moved
 - Split channel changed
 - Split resized
 - Window moved
 - Window resized

What currently does not trigger the save to be queued up:
 - Active tab changed
2018-10-07 16:27:40 +00:00
Rasmus Karlsson
7879fef3a0 add some comments
reformat
2018-10-07 14:30:26 +00:00
Rasmus Karlsson
b720450f86 remove unnecessary getApp call 2018-10-07 13:37:17 +00:00
apa420
bb6c2b6135 Cleaner flashing code (#774) 2018-10-07 10:55:44 +00:00
apa420
5dce212cb4 Added functionality of making the flash taskbar last until the app is focused again (#767)
* Added functionality of making the flash taskbar last until chatterino is focused again

* added it for every flash taskbar

Fixes #760
2018-10-06 15:51:13 +00:00
pajlada
c4c4a8d575
Merge pull request #748 from Cranken/windowPos
Fixed window moving 1px to the left each restart.
2018-10-05 19:39:41 +00:00
Cranken
41ba06ffc2 Fixed window moving 1px to the left each restart. 2018-10-04 11:07:46 +02:00
Chronophylos
378ea157a1 Add hidden setting for highlight color 2018-10-01 13:05:50 +02:00
Rasmus Karlsson
cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
Cranken
22d009962d Now saves the enable highlight on new message tab setting. 2018-09-30 15:02:30 +02:00
hemirt
3184234c19 Squashed commit of the following:
commit ea07bbef0b
Merge: 0b36f436 5cfcf114
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:05:14 2018 +0200

    Merge branch 'blacklist' into blacklistnew

commit 5cfcf114b6
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:00:16 2018 +0200

    rename second pattern to replacement

commit f08cc4cf88
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:30 2018 +0200

    delete out commented code

commit 1acb1278aa
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:03 2018 +0200

    fix replacement with emotes issues

commit 646268ab18
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 01:06:36 2018 +0200

    fix build

commit ad711b4c15
Merge: e8e059f8 8bcc9c48
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:52:38 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e8e059f847
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:25:58 2018 +0200

    add replaced emotes into twitchEmotes

commit a63454f00d
Merge: e7f2f397 63eaf3b9
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 22:38:16 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e7f2f39737
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 21:54:01 2018 +0200

    emotedata

commit f00d3da537
Author: hemirt <hemirt@email.cz>
Date:   Sat Jul 28 19:53:55 2018 +0200

    rename variables to fit better, emotes in capture groups from regex work

commit 00c9fa080a
Author: hemirt <hemirt@email.cz>
Date:   Mon Jul 9 19:53:53 2018 +0200

    add case sensitivity checkbox and fix validity issues due to isValid
    that checked regex

commit 4385fcd13f
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:09:14 2018 +0200

    remove commented code

commit 1834342f74
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:03:13 2018 +0200

    IgnorePhrase replacement

    also removes twitch emotes info about the matched and changed parts and
    shifts positions of other emotes from emote infos to the corresponding new
    position

commit d3b6e294ed
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 16:21:33 2018 +0200

    ignore phrases
2018-09-30 11:42:23 +00:00
apa420
a3a7317e62 [WIP] Fixing stuff in light/white theme (#723)
* fixed color in light/white them when a tab lights pink

* fixes background color of chatterino in white/light-themes

* Fixed emoji-button in light/white-theme

* added light/white-theme addsplit-button

* forgot to add the image-file
2018-09-21 20:18:52 +02:00
Rasmus Karlsson
641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
fourtf
47c93fb118 fixed memory corruption 2018-09-17 12:51:16 +02:00
cub
4c5f2e41e5
replace malloc with make_unique 2018-09-17 02:45:11 -03:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
23cf815219 Which badges that are shown are now customizable #282 (#696) 2018-09-16 17:42:30 +02:00
23rd
0d8b5cad63 Added setting to disable auto unshort links. 2018-09-06 17:59:49 +03:00
apa420
ca5bb104db hopefully it will now compile on linux 2018-09-01 13:01:54 +02:00
apa420
05d0b20919 I checked the wrong filepath 2018-08-31 18:18:05 +02:00
apa420
5555c41d7e fixed toasts for all platforms 2018-08-29 23:39:02 +02:00
apa420
c5a88f6af3 fixed stuff 2018-08-29 19:58:55 +02:00
pajlada
873b0b3c67
Merge pull request #693 from apa420/apa-minor
Highlighting whispers works better and looks better
2018-08-29 10:22:16 +02:00
pajlada
6eb21f4b68
Merge pull request #677 from 23rd/patch-4-link-tooltip-bttv
Added tooltip to links.
2018-08-29 01:23:17 +02:00
apa420
c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
apa420
c5d5825b5a Added functionality of option of highlightsound on whisper (#692)
Fixes #640
2018-08-29 00:30:11 +02:00
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live 2018-08-28 23:23:46 +02:00
apa420
15bcb5a2fb Initially done with PR 2018-08-26 13:49:15 +02:00
23rd
f8c42918a6 Added option to turn off link info tooltips. 2018-08-25 21:29:08 +03:00
Rasmus Karlsson
70199e00d2 Remove unused 'preferred emote quality' setting 2018-08-25 12:29:43 +00:00
apa420
c4679bf048 almost implemented the faekchannels, just need to fix the timer, pls help pajlada 2018-08-25 14:13:26 +02:00
apa420
8f77dccb91 testing emoji because having windows 8 sucks 2018-08-24 18:38:27 +02:00
apa420
e58e76ef1e added more playsound stuff 2018-08-24 18:05:36 +02:00
apa420
8d5b93fe82 push for now 2018-08-19 19:02:49 +02:00
Rasmus Karlsson
a07255be2d Add ability to customize cache folder
Add an advanced settings page, currently only housing the "Cache" category

Fix #541
2018-08-19 16:26:33 +02:00
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +02:00
apa420
3d109a6ca3 added settings for dot next to channel name 2018-08-18 13:07:12 +02:00
fourtf
5068c9a64e Fixes #161 2018-08-15 23:48:16 +02:00
fourtf
af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00