Commit graph

3982 commits

Author SHA1 Message Date
Daniel
184aba1be7
Emote Popup Improvements (#1895)
* Put exact matching emotes first

* Close GenericListView on Escape press
2020-08-22 23:17:56 +02:00
Leon Richardt
505581ca65
[Bug Fix] Color of second user highlight cannot be set (#1898)
* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md
2020-08-22 23:10:10 +02:00
fourtf
6e6413da02 added DebugCount for BaseWindow 2020-08-22 22:54:03 +02:00
fourtf
ebb4ffe36d
fixed SearchWindow memory leak (#1899) 2020-08-22 22:35:07 +02:00
fourtf
359adbce15
Update CHANGELOG.md 2020-08-22 19:30:27 +02:00
fourtf
eb4f0bb2a6 2.2.0 2020-08-22 18:35:05 +02:00
fourtf
046ca7549d Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 18:34:20 +02:00
fourtf
a8c61980ac removed default image uploader 2020-08-22 18:33:37 +02:00
fourtf
a1537b55b4
Update IMAGEUPLOADER.md 2020-08-22 18:09:22 +02:00
fourtf
46bcd3dc61
Update IMAGEUPLOADER.md 2020-08-22 18:09:03 +02:00
fourtf
a569ee915f bump version 2020-08-22 17:00:15 +02:00
fourtf
106923549d
Update CHANGELOG.md 2020-08-22 16:58:35 +02:00
fourtf
47afca2c71 miscelaneous changes 2020-08-22 16:49:23 +02:00
fourtf
f3225275ea changed channel point messages color 2020-08-22 16:48:40 +02:00
fourtf
eeb632d4ab Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 16:03:20 +02:00
fourtf
2cc23eaae6 make highlighted messages and redeemed thingies look the same 2020-08-22 16:02:38 +02:00
pajlada
0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
fourtf
17b26ef59c Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 15:29:06 +02:00
fourtf
459e483c62 hide link preview image if in streamer mode 2020-08-22 15:27:42 +02:00
pajlada
b98c0c2a44
Clarify "Custom stream player" functionality (#1889)
* Clarify "Custom stream player" functionality

* Remove idiotic idiot proofing
2020-08-22 15:01:16 +02:00
fourtf
7d0602de47 Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 14:46:57 +02:00
fourtf
5a18a0f040 updated links to go to chatterino.com redirect pages 2020-08-22 14:46:17 +02:00
alazymeme
bb23968739
Update Windows Build Instructions (#1888) 2020-08-22 14:12:07 +02:00
fourtf
f584503673 some fixes for SplitInput 2020-08-22 12:34:19 +02:00
fourtf
758fdc28ee added margin to emote input items 2020-08-22 12:19:20 +02:00
fourtf
95f975996d added tip for search shortcut to settings 2020-08-22 12:17:20 +02:00
fourtf
048a6f661d enable word wrap in tooltip 2020-08-22 11:54:06 +02:00
fourtf
83b6fad8e6 fixed some concurrency issues 2020-08-22 11:45:18 +02:00
alazymeme
0b0f1c9c5c
Add microsoft edge support for incognito (#1875)
* Fix incognito button missing

* Update CHANGELOG.md
2020-08-21 15:33:56 +02:00
fourtf
88f45a2842 animte emotes in colon emote input 2020-08-15 21:34:57 +02:00
fourtf
f0b9f8ca59 raised emote limit in colon input to 200 2020-08-15 21:20:23 +02:00
fourtf
a23b1c7988 added twitch emotes to colon emote menu 2020-08-15 21:14:07 +02:00
fourtf
235b67f9da smooth pixmap transform in emote input item 2020-08-15 20:25:58 +02:00
fourtf
8818f3df18 added emojis to colon popup 2020-08-15 20:22:46 +02:00
fourtf
4d4056ad51 fix compilation on gcc 2020-08-15 19:46:18 +02:00
fourtf
2ad4236f10 fixed compilation 2020-08-15 19:13:50 +02:00
fourtf
c5aa3bd90f Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-15 18:59:52 +02:00
fourtf
f7237dccdd added colon emote popup for ffz and bttv 2020-08-15 18:59:17 +02:00
Leon Richardt
f1e12975d5
Revert changes to submodule libcommuni (#1864)
These have been introduced by accident in a9080ce.
2020-08-15 13:05:19 +02:00
Leon Richardt
6781482485
Quick Switch: Add support for light themes (#1858) 2020-08-15 10:17:15 +02:00
alazymeme
fba049dbfb
Fix open in browser button for whisper split (#1860)
* Fix open in browser button for whisper split

* Update CHANGELOG.md
2020-08-15 10:15:57 +02:00
Matthew Marlow
8530ffb7e3
added brave browser to supported NM list (#1862)
* added brave browser to supported NM list

* updated CHANGELOG.md
2020-08-15 10:14:59 +02:00
fourtf
95d6be6bb9
Update BUILDING_ON_LINUX.md 2020-08-13 21:41:54 +02:00
fourtf
fcf55a1689
Update BUILDING_ON_LINUX.md 2020-08-13 21:41:12 +02:00
fourtf
b2dab3cf21 xd 2020-08-13 20:59:57 +02:00
fourtf
bbcbad23a1 keybindings page in settings now scrolls 2020-08-13 20:48:47 +02:00
fourtf
46361ea859 some more stuff 2020-08-13 20:20:24 +02:00
fourtf
a566a74ef0 removed some more pointers 2020-08-13 20:10:52 +02:00
fourtf
c83fc043e0 replaced raw pointers with unique_ptr 2020-08-13 20:05:54 +02:00
Leon Richardt
a9080ceb3c
Discord-like Quick Switcher (#1588)
* Proof of Concept for Quick Switcher

* Fix crash when suggestions are empty

* QuickSwitcher: Use tab name instead of a single channel

* Rebase later

* Add missing include for <functional>

* Move QuickSwitcher related classes into own subfolder

* Refactor switcher list items

Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.

* Add note about memory management

* Add option to open channel in a new tab

* Add support for using the mouse

* Spawn switcher popup in the middle of the window

Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).

* Add some icons for switcher items

Note that the final design of the list is not final but I do plan to
incorporate these in the future.

* Set Qt::Dialog window flag on switcher popup

Prevents tiling window managers like i3 from trying to tile the window.

* Rename "SwitcherItem" to "AbstractSwitcherItem"

* Add comments about what items are inserted

* Use custom model and view

Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.

* Add helper function to convert QVariant to AbstractSwitcherItem *

* Remove useless constant

* Highlight currently selected switcher item

* Use a different method for centering QuickSwitcherPopup window

* QuickSwitcherModel: Add documentation

* Add default parameter to QuickSwitcherModel::rowCount

* QuickSwitcherPopup: Add comments

* Remove outdated TODO

* QuickSwitcherModel: Init vector with default capacity

* Remove outdated comment

* Add comment about 0 ms timeout interval

* NewTabItem: Simplify interface

* Only fetch opened splits once

This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.

* Use SplitContainer to pass information instead of custom type

* Allow searching for tab titles as well

Before this commit, only channel names could be searched.

* Refactor switcher item interface to be more flexible

Also show tab name and channel name in the switcher list.

* Add documentation for AbstractSwitcherItem

* Add documentation for NewTabItem

* Add comments about {begin,end}{Insert,Remove}Rows

* Remove unused method

* Replace magic size with named constant

* Add change log entry

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 19:25:51 +02:00