Commit graph

115 commits

Author SHA1 Message Date
Alexey Kutepov
00414eb779 Synchronize Clipboard with Primary Selection on Linux when copying (#1502)
* Introduce crossPlatformCopy()

It sets the text of the clipboard and also syncs it with the selection
clipboard if it is supported. Such behaviour is pretty common for X11
application on Unix-like Operating Systems.

* Fix clang-format remarks

* Fix weird clang-format config discrepancy between my machine and CI

* Remove clipboard argument from crossPlatformCopy

* Fix clang-format remarks
2020-01-24 21:36:51 +01:00
pajlada
3c8992cac1
Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug()

bonus meme: remove a bunch of std::string usages in the pubsub client

Fixes #1467
2020-01-03 20:51:37 +01:00
Mm2PL
20d8da8f2d
Merge branch 'master' into git_is_pepega 2020-01-01 21:06:29 +01:00
fourtf
6f710823ed renamed getInstance() -> instance() for singletons 2019-10-07 22:42:34 +02:00
fourtf
9874bd779a formatted all files with clang 9 2019-09-26 00:51:05 +02:00
Mm2PL
b55d08df8e
Renamed the pastedImage signal to imagePasted. 2019-09-25 22:39:02 +02:00
Mm2PL
4e9951371f
Applied a bit of foutf's suggestions. Replace uploadQueue.size() with .empty() and swap if/else bodies, move non empty queue check outside of the timer on line 60, move getImageFileFormat to an anonymous namespace, rename pasteFromClipoard to upload(), removed usesless comment, shortened message on line 83, use QMimeData.hasUrls() and QMimeData.urls(), moved GIF format case in upload() more to the top, call original functions in canInsertFromMimeData and dragEnterEvent which are overriden 2019-09-25 22:21:26 +02:00
Mm2PL
65fab779c5
Redo all changes done before breaking the branch. 2019-09-23 19:36:52 +02:00
fourtf
5ca0fc0c8f
Merge branch 'master' into moderation 2019-09-18 16:14:45 +02:00
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
89fd3bfce9 hide tooltip on split::leaveEvent 2019-09-16 11:48:17 +02:00
fourtf
63126899ec added pause while key is down 2019-09-16 10:43:20 +02:00
fourtf
22ca20ad2a renamed TwitchServer -> TwitchIrcServer 2019-09-15 13:02:02 +02:00
fourtf
4f356f80cf BaseWindow smol refactor 2019-09-08 21:45:46 +02:00
fourtf
b14154a811 Fixes #996 can't ctrl+c in search popup 2019-09-08 12:31:27 +02:00
apa420
a624d14a4f Fetch FFZ channel emotes with channel id instead of name 2019-08-27 20:08:17 +02:00
fourtf
7697ec01b4 removed old NetworkRequest api 2019-08-20 22:16:17 +02:00
Rasmus Karlsson
cd5972522b reformat 2019-08-11 21:08:18 +02:00
TranRed
a768515849 Added Subscribe option to channel menu
Added the option to visit the subscription page of a channel from chatterino
2019-07-16 21:59:04 +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
hemirt
da1b2f91d9 add broadcaster and vips to viewers list and chatters list (#991) 2019-04-04 11:30:50 +02:00
apa420
2948f3cc8b Added the broadcaster to the viewerlist close #967 2019-03-01 18:08:21 +01:00
Chronophylos
65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
fourtf
0d4d301aa0 added pausable property to ChannelView 2018-12-02 18:37:51 +01:00
fourtf
0e242202a4 minor improvements 2018-12-02 17:49:15 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
d8fcc1a3ed small refactor 2018-11-14 17:27:08 +01:00
fourtf
5453c65f0f implemented pausing on hover 2018-11-03 21:26:57 +01:00
Marco Schmid
0f85999b4c changed debug keybing to f6, f5 is now for refreshing 2018-10-23 20:08:00 +02:00
Marco Schmid
077e2e089d reload working fine with f6, f5 seems to be special 2018-10-23 20:08:00 +02:00
fourtf
3db0b5f95c open settings when right clicking moderation button 2018-10-21 16:13:26 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
pajlada
b5c7c8ff26
Merge pull request #795 from hemirt/splits
ClosedSplits feature (ctrl+shift+t in browsers)
2018-10-13 12:41:46 +00:00
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
hemirt
b3a41e5c1a Closed Splits 2018-10-09 19:48:22 +02:00
fourtf
e9f0eaf82e added examples for moving and splitting 2018-10-09 18:28:40 +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
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
Rasmus Karlsson
a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
23rd
9a6650b56c Added button in menu to join to channel. (#724) 2018-09-21 20:35:14 +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
1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
Rasmus Karlsson
f60d649f5e Remove UrlFetch file 2018-07-15 12:11:46 +00:00
23rd
c3793121cb Added mention of user by right-clicking on his nickname. (#589)
* Added mention of user by right-clicking on his nickname.

* Removed possibility of choice. Always add @ to username.
2018-07-10 18:27:42 +02:00
Rasmus Karlsson
6a418e6e59 Refactor NetworkRequest class
Add followUser and unfollowUser methods to TwitchAccount
2018-07-07 11:09:27 +00:00
fourtf
280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
fourtf
b639604a47 refactored BaseWidget 2018-07-06 17:11:37 +02:00
fourtf
741c1f7820 refactored Window 2018-07-06 17:03:57 +02:00
fourtf
eeb514c444 minor changes 2018-07-05 18:17:12 +02:00
fourtf
14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
fourtf
86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +02:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf
08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf
c74bc00106 renamed twitch api get functions 2018-06-26 17:12:50 +02:00
fourtf
54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00
fourtf
0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf
22f528cd21 put all split widgets inside the same directory 2018-06-26 14:39:22 +02:00
Renamed from src/widgets/Split.cpp (Browse further)