Commit graph

1387 commits

Author SHA1 Message Date
fourtf 4270c402fb this triggered my ocd 2018-10-07 19:25:46 +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
hemirt 2d3ce59b8b Fix emote replacement to render emotes correctly (#768)
* fix emote replacement rendering from inside the caught string

* \b -> \\b, while -> if

i actually wanted the regex identifier \b and you need to escape the
escape character \
an error in judgement made me use while, as if the api was meant to be
"consume"-like interface that boost regex uses

Fixes #26
2018-10-07 11:18:45 +00:00
apa420 bb6c2b6135 Cleaner flashing code (#774) 2018-10-07 10:55:44 +00:00
Ckat 767197ab48 fix channel suspended showing up in all channels #770 2018-10-07 10:21:47 +00:00
Rasmus Karlsson 7e073f43b6 fix notices about "short channel name" channels being sent to all channels
Fixes #770
2018-10-07 12:19:40 +00:00
Cranken ced5508286 Removed unnecessary get on shared pointers. 2018-10-06 16:33:18 +00:00
Cranken f13f99bb42 Fixed double clicking sometimes turning into unwanted triple-clicking. 2018-10-06 16:33:18 +00:00
Cranken 39ee6efffc Fixed user popup not working. 2018-10-06 16:33:18 +00:00
Cranken 49398300d6 Triple-clicking now also checks for distance between clicks to prevent unwanted selection. 2018-10-06 16:33:18 +00:00
Cranken 423ef19c8f Fixed a bug appearing when selecting over multiple lines in different directions. 2018-10-06 16:33:18 +00:00
Cranken 4c4d1d2042 Fixed double click selection. 2018-10-06 16:33:18 +00:00
Cranken 335b889efe Fixed emotes selecting the whole line on double-click. 2018-10-06 16:33:18 +00:00
Cranken c8326d73e7 Added triple-clicking next to message to select whole message. 2018-10-06 16:33:18 +00:00
Cranken 5c2cdce516 Added triple clicking to select the whole message. 2018-10-06 16:33:18 +00:00
Cranken 7c367b73e6 Changed some formatting, also fixed an unrelated bug. 2018-10-06 16:33:18 +00:00
Cranken fed8cca10e Added initial double clicking to select word functionality. 2018-10-06 16:33:18 +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
Rasmus Karlsson 98c1d61e78 reformat 2018-10-06 17:41:23 +00:00
Rasmus Karlsson 67d9910bd5 Fix uninitialized memory usage error 2018-10-06 17:41:23 +00:00
Rasmus Karlsson a196129171 Fix wrong format syntax 2018-10-06 17:41:23 +00:00
Felix Schmid 300852bbf5 added the settings shortcut to the keybindings window 2018-10-06 14:22:07 +00:00
pajlada 099fd88098
Merge pull request #743 from 23rd/patch-15-scroll-tabs
Added scrolling over tabs with wheel to switch channels.
2018-10-06 12:32:37 +00:00
23rd 871fde5f72 Reversed scroll behavior. 2018-10-06 14:18:27 +03:00
23rd 9f5da50bce Moved creating UserInfoPopup in one place. (#761)
* Moved creating UserInfoPopup in one place.

* Added forgotten 'this'.

Fixes #759
2018-10-06 10:13:14 +00:00
23rd 1fcfd8b13a Removed few-step scroll. 2018-10-05 23:57:02 +03:00
Ckat b4683c5b35 add menu option to reload subscriber emotes 2018-10-05 19:52:33 +00:00
Ruben Anders 79f64a21c3 Fix typo: "authority badges" 2018-10-05 19:42:27 +00:00
pajlada 1f1175a034
Merge pull request #746 from DatGuy1/patch-3
Don't change split header for whisper

Fixes #691
2018-10-05 19:41:06 +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
Rasmus Karlsson c6bca8e97b Allow addMessage to override message flags 2018-10-05 21:33:01 +00:00
pajlada 57eb8f9eb7
Merge pull request #744 from Chronophylos/custom-highlight-color
Add hidden setting for highlight color
2018-10-05 18:41:31 +00:00
Cranken 41ba06ffc2 Fixed window moving 1px to the left each restart. 2018-10-04 11:07:46 +02:00
Rasmus Karlsson 39a8e8193c fix whispers crashing if they contained twitch badges 2018-10-02 19:27:08 +02:00
DatGuy1 ad949dc1f6
Don't change split header for whisper
Prevent normal channel split headers from changing colours when receiving a whisper
2018-10-02 10:45:26 +03:00
Rasmus Karlsson c872db3d9f add chatterino nightly version string to nightly builds 2018-10-01 21:44:23 +02:00
Chronophylos 378ea157a1 Add hidden setting for highlight color 2018-10-01 13:05:50 +02:00
23rd 7122e47817 Added scrolling over tabs with wheel to switch channels. 2018-10-01 03:32:20 +03:00
Rasmus Karlsson cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
Rasmus Karlsson a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
pajlada d79a8b81b1
Merge pull request #736 from TETYYS/message-limit-fix
Changed LimitedQueue::space() to signed value, eliminating underflows
2018-09-30 14:50:47 +00:00
Cranken 22d009962d Now saves the enable highlight on new message tab setting. 2018-09-30 15:02:30 +02:00
pajlada 0e794f5a6d
Merge pull request #739 from Cranken/enableHighlightTab
Option to disable highlight of tab; disabled switching tabs by only right clicking
2018-09-30 12:30:52 +00:00
Cranken f6e6916263 Fixed variable naming style. 2018-09-30 14:31:00 +02:00
Cranken 753b2cf139 Fixed messages getting added multiple times after roomstate change. 2018-09-30 12:17:58 +00:00
tetyys 612c9c94dc Clear scroll bar when switching channels in a ChannelView 2018-09-30 11:53:17 +00:00
Cranken abb01b54f5 Fixed clang format. 2018-09-30 13:44:41 +02:00
hemirt e7f74aa8ca ignorephrase format 2018-09-30 11:42:23 +00:00
hemirt 6ca4f661a7 clangformat 2018-09-30 11:42:23 +00:00
hemirt 4eefeb80e7 remove dead line 2018-09-30 11:42:23 +00: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 86024ade24 fixes that timeout/ban messages didn't show (#728) 2018-09-30 10:50:47 +00:00
Cranken 839f78e19b Update regardless of button. 2018-09-29 22:35:33 +02:00
Cranken 036abd4852 Don't switch tab if only right mouse is pressed on other tab. 2018-09-29 22:30:31 +02:00
Cranken f25f31a837 Added button on tab to enable/disable highlighting. 2018-09-29 22:24:48 +02:00
tetyys 45d0bd6299 Changed LimitedQueue::space() to signed value, eliminating underflows 2018-09-26 22:21:38 +03:00
23rd 4c5a0472cd Activate opened emote popup. (#733) 2018-09-25 11:37:24 +00:00
Rasmus Karlsson 0b36f43611 make the list of ignored usernames into a set instead, making it more maintanable
change "open twitch channel in new split" menu action text
2018-09-21 22:46:00 +02:00
23rd 9a6650b56c Added button in menu to join to channel. (#724) 2018-09-21 20:35:14 +02: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 a733b6975d make emote popup emote insertions less risky 2018-09-21 22:01:21 +02:00
Rasmus Karlsson 92bf1adf88 fix tabbing usernames with @ 2018-09-21 13:57:49 +02:00
23rd eb230494a6 Dont add scrollbar highlights in /mentions. 2018-09-21 13:54:12 +02:00
apa420 d751d1939e used different linebreaking as suggested from 23rd 2018-09-21 13:43:33 +02:00
apa420 f4ba61efc3 fixed tooltip on twitch emotes in a cheesy fasion 2018-09-21 13:43:33 +02:00
23rd 579c6b9bf9 Trim channelname in join channel window. 2018-09-21 13:43:10 +02:00
apa420 ea17d23224 apa fixed custom subscriber badges tooltip 2018-09-20 21:59:34 +02:00
Rasmus Karlsson 56b1fd6913 Increase timeout on FFZ channel emote requests
We might want to send some message upon these sort of errors happening

Fix #709
2018-09-20 13:39:19 +02:00
Rasmus Karlsson 8eba7a0182 add method to NetworkRequest to fetch the underlying url string 2018-09-20 13:37:20 +02:00
Rasmus Karlsson 641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
23rd 30f51d8137 Removed useless arg from appendTwitchEmote(). 2018-09-20 10:57:36 +02:00
23rd f813c2de3b Improved insertion of emotes from popup. 2018-09-20 10:57:22 +02:00
23rd 88477829ef Replaced size() check with empty(). 2018-09-19 13:01:22 +02:00
23rd acd03a3280 Dont show empty categories in viewer list. 2018-09-19 13:01:22 +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
apa420 56aac47fde fixed chatterino badges (#698)
* fixed chatterino badges
2018-09-16 17:27:51 +02:00
23rd 0d8b5cad63 Added setting to disable auto unshort links. 2018-09-06 17:59:49 +03:00
23rd 5f19a57f5a Refresh links of new messages.
As I understand links update when all message snapshots update, so we need to refresh url manually via signal.
2018-09-06 17:11:25 +03:00
23rd 2d1701cf86 Fixed build. 2018-09-06 13:54:28 +03:00
23rd fe24d09009 Replace url of link with new one from json. 2018-09-05 15:37:51 +03:00
fourtf 018fe2ab10 fixed some shtuff 2018-09-04 22:29:21 +02:00
fourtf 1d16c0cf77 fixed crasherino 2018-09-04 22:05:27 +02:00
fourtf 1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf 3f4e9cdf91 added text for empty categories in emote popup 2018-09-04 20:09:06 +02:00
23rd d0ea0f2478 Clear highlights scrollbar with messages. 2018-09-02 03:02:12 +03:00
Rasmus Karlsson a7487ab43e Temporary fix for timeouts not graying out messages properly
Fix #669
2018-09-01 13:43:17 +00:00
Rasmus Karlsson eb04e1c3df Fix channel badges not scaling properly 2018-09-01 13:03:17 +00:00
Rasmus Karlsson 4752a3a4d4 Mark image as empty if network request fails 2018-09-01 12:47:02 +00:00
Rasmus Karlsson d16307a484 reformat 2018-09-01 12:33:27 +00:00
Rasmus Karlsson afeb7e719b Fix /r not working 2018-09-01 12:32:39 +00:00
Rasmus Karlsson 08b4179a44 Add back "clear messages" in split functionality 2018-09-01 12:19:15 +00: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 83737996ae Fixed /mentions 2018-08-30 20:18:38 +02:00
apa420 8994307e51 forgot to remove an include 2018-08-29 23:52:13 +02:00
apa420 5555c41d7e fixed toasts for all platforms 2018-08-29 23:39:02 +02:00
apa420 01ca055763 fixed issue where when a channel was going offline it would do a toast if the channel was notified 2018-08-29 22:22:32 +02:00
apa420 c5a88f6af3 fixed stuff 2018-08-29 19:58:55 +02:00
pajlada 597a8eeb2b
Merge pull request #686 from 23rd/patch-8-fixed-down-arrow
Fixed down key in input field.
2018-08-29 10:24:47 +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
apa420 9a0205bdc9 did request 2018-08-29 01:37:57 +02:00
pajlada 875e12f728
Merge pull request #684 from 23rd/patch-7-hotkey-emote-menu
Added hotkey for Emote menu.
2018-08-29 01:34:56 +02:00
apa420 a36a2a2939 fixed issue with having the wrong variable 2018-08-29 01:24:35 +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
23rd 235f9eebf1 Added 'this'. 2018-08-29 02:22:57 +03: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
hemirt 113cfd69b0 Fix emote copying (#687)
* Fix emote copying

* Fix (i.e. no longer add) blank spaces instead of badges

I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
23rd bfe87b699a Refactored cursorToEnd. 2018-08-27 21:22:53 +03:00
23rd f6d0cc9e6b Fixed down key in input field. 2018-08-27 21:12:38 +03:00
23rd 0f2d6a4a22 Added hotkey for Emote menu. 2018-08-27 15:36:01 +03:00
23rd bf529d5503 Rewritten check for incorrect link. 2018-08-26 16:33:04 +03:00
23rd cb500070f2 Run away from BTTV API. 2018-08-26 15:55:44 +03:00
apa420 15bcb5a2fb Initially done with PR 2018-08-26 13:49:15 +02:00
apa420 8ea3b6c8ee Added fakechannels 2018-08-26 13:19:09 +02:00
23rd ce155299e9 Added right-click on nickname to reply on whisper. (#680) 2018-08-26 10:42:00 +02:00
23rd c7e2188582 Added tooltip to original link too. 2018-08-25 21:54:17 +03:00
23rd f4828b7d09 Rename everything. 2018-08-25 21:54:10 +03:00
23rd 539d8c20d2 Put isValid() in variable. 2018-08-25 21:29:14 +03: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
Rasmus Karlsson c1ec0e49d4 Change scaling values around to look good on my setup
Might need some DPI magic to look good on every setup, but I think this
is an improvement
2018-08-25 12:29:02 +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
Rasmus Karlsson 5647c6a80c Fix crash when receiving a whisper
Fix #672
2018-08-25 10:23:58 +00:00
23rd d6c4244b79 Fixed double click in emote popup. (#679) 2018-08-25 10:08:10 +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
23rd 5253ab3f85 Added tooltip to links via BTTV API. 2018-08-24 13:16:55 +03:00
23rd 8a1c30408a Set displayName to UserInfo link as value. (#675) 2018-08-22 15:16:19 +02:00
23rd be4b3f1a38 Don't add empty messages to message history. (#674) 2018-08-22 00:57:44 +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
Rasmus Karlsson 3fc91bded5 Move some helper functions to Helpers.hpp 2018-08-19 16:26:32 +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
apa420 15e9e3e642 Added functionality of colored splits when live 2018-08-17 21:19:15 +02:00
fourtf 8bcc9c487b Fixes #411, #516 2018-08-16 00:16:33 +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
fourtf 44c16f1b3a badges 2018-08-14 17:45:36 +02:00
Confuseh d7566665d8 minor streamlink quality option fix (#664) 2018-08-14 17:36:20 +02:00
fourtf 902fe684c0 Fixes #666 2018-08-14 17:35:11 +02:00
apa420 b671fc4133 Tried chaning the color of the split when a channel is live 2018-08-14 16:29:52 +02:00
Daniel Pasch c4e3bf1a8c Fix compiling on macOS High Sierra (#665)
* mac docs update relating to qt 

give a little more detailed installation guide for the qt installation

* Fix compiling on clang, now compiles on macOS High Sierra
2018-08-13 20:10:32 +02:00