Commit Graph

78 Commits

Author SHA1 Message Date
23rd 56fdc7d39a Added common and macOS tray implementations. 2022-05-03 04:25:36 +03:00
23rd de194c4aa2 Initialized empty files for tray implementations. 2022-05-03 04:25:35 +03:00
23rd 511805199f Added ability to check are windows active for tray menu. 2022-05-03 04:25:35 +03:00
John Preston 602e7a7164 Warn on quit if downloading files. 2022-03-09 15:36:14 +04:00
John Preston 280d79fecc Add observing Data::DownloadManager. 2022-02-25 14:14:43 +03:00
John Preston 28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
John Preston 6a3ad52aef Add upload cancel confirmation on Quit and Log Out. 2022-01-26 13:15:28 +03:00
John Preston 18e6e2da9e Open specific chat only in one window. 2022-01-04 19:36:33 +03:00
John Preston 8b0725650d Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
John Preston 20411be9bd Allow creating separate windows for peers. 2022-01-04 14:18:13 +03:00
John Preston aef45b3a1d Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
23rd 479611f6df Removed ui_getPeerForMouseAction. 2021-07-27 02:50:08 +03:00
Ilya Fedin 49fed41dfa Use RegisterUrlScheme from lib_base 2021-07-19 22:55:57 +03:00
John Preston e1120d1cb5 Optimize out most of LastUserInputTime() calls.
Fixes #16118.
2021-06-18 19:22:36 +04:00
23rd 7304f2b695 Removed Application::showTheme. 2021-06-17 10:57:45 +04:00
23rd b4bff939b1 Removed showDocument and showPhoto from Application. 2021-06-17 10:57:45 +04:00
23rd 16db8468fa Moved ScreenIsLocked variable from facades to application. 2021-06-16 09:31:32 +03:00
23rd a164cb9480 Removed unused observable passcodedChanged from Application. 2021-06-16 09:31:32 +03:00
John Preston 750c13e5fe Add OpenGL init crash checker. 2021-06-11 23:01:07 +04:00
John Preston 3709714339 Make '[un]registerLeaveSubscription' work in all windows. 2021-05-27 09:34:33 +04:00
Ilya Fedin 073b5b106c Get rid of modal parent hack
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03:00
John Preston 70570e0987 Always make sure that settings are saved. 2021-02-17 19:19:00 +04:00
John Preston e8affa85b0 Try to open localized changelog. 2021-02-04 20:42:32 +04:00
23rd dc7a754418 Added ability to prevent application lock and account switch. 2020-12-14 17:09:24 +04:00
23rd 54567a4253 Replaced Application::appDeactivates with appDeactivatedValue. 2020-12-06 18:36:39 +03:00
23rd 79d5a49e7c Added hiding of Blob animations at application deactivating. 2020-12-03 19:44:17 +03:00
23rd a57d23f7d9 Added ability to handle application deactivating. 2020-12-03 19:34:18 +03:00
John Preston 8c4e8212cd Add 'respect system dark mode' checkbox. 2020-07-22 17:18:17 +04:00
John Preston 41f2cc6d81 Fix crash in notifications clearing. 2020-06-30 19:33:22 +04:00
John Preston 70fdc4eb39 Improve quit prevent management. 2020-06-26 11:22:53 +04:00
John Preston 79a361ba43 Move call management to Core::App. 2020-06-25 21:57:36 +04:00
John Preston bf7aae5fc6 Allow float video player across accounts. 2020-06-25 18:17:37 +04:00
John Preston 65050bf9dd Move export management to Core::App. 2020-06-25 11:14:05 +04:00
John Preston e7b8a52278 Move terms lock from Core::App to Session. 2020-06-24 11:56:16 +04:00
John Preston 51c2bc7349 Create only one EmojiImageLoader to fix a crash. 2020-06-23 21:53:43 +04:00
John Preston 3bb352e0e5 Fix build and working on macOS. 2020-06-23 21:53:42 +04:00
John Preston 997913be25 One Window::Notifications system for all sessions. 2020-06-23 21:53:42 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 3a5ede534e Count all accounts in Core::App().unreadBadge. 2020-06-23 21:53:41 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston ba103fdd40 Fix starting with a passcode. 2020-06-23 21:53:41 +04:00
John Preston bc144377c0 Support logout of a secondary account. 2020-06-23 21:53:41 +04:00
John Preston 6fc5e22882 Allow several accounts in Core::App. 2020-06-23 21:53:40 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston 0b028b959b Move updates handling MainWidget -> Api::Updates. 2020-06-23 21:53:39 +04:00
John Preston ea86433be5 Remove some activeAccount() calls. 2020-06-23 21:53:39 +04:00
John Preston 598fb67cdf Remove Session::Exists() global access point. 2020-06-23 21:53:39 +04:00
John Preston 27af83267e Move autolock checking to Core::Application. 2020-06-23 21:53:38 +04:00
Ilya Fedin be96bf2812 Set parent for dialogs only on Wayland 2020-06-01 18:09:34 +04:00
Ilya Fedin 7409d615a3 Add a cheat code to enable freetype on Windows and macOS 2020-05-10 17:09:59 +04:00