Commit graph

3877 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
Nikolai Zimmermann
f595049905 Fixed missing icon (#758)
Fixed missing icon

Fixes #753
2018-10-06 10:22:55 +00: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
DatGuy1
e8ea156055
Merge pull request #2 from pajlada/DatGuy1-patch-3
Allow addMessage to override message flags. NaM.
2018-10-05 22:37:32 +03: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
pajlada
101e53c5dd
Merge pull request #741 from Cranken/saveHighlight
Now saves the enable highlight on new message tab setting.
2018-09-30 13:42:36 +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