Commit graph

114 commits

Author SHA1 Message Date
AlexeyZavar
f73edfec94 Merge tag 'v5.2.2' into dev 2024-07-02 22:53:55 +03:00
AlexeyZavar
a851bebc75 fix: a bunch of useful fixes 2024-07-02 22:06:56 +03:00
John Preston
17bb430006 Register tg:// scheme on first launch.
Also, allow disabling tg:// re-registration on update.
2024-07-02 13:34:52 +04:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
John Preston
fd833dff35 Save IV window geometry. 2024-03-24 10:05:52 +04:00
John Preston
125f856e67 Proof-of-concept (WebView2 / Local) iv. 2024-03-13 21:20:30 +04:00
John Preston
d3778f92d2 Implement media devices tracking on Windows. 2024-01-25 11:04:27 +04:00
Ilya Fedin
a7bd097b2f Have a global Core::Launcher accessor
This allows to use Launcher in code executing before Sandbox is created
2023-06-13 12:19:21 +04:00
Ilya Fedin
6aef6d7f4e Integrate GApplication with QFileOpenEvent and Core::Application::activate 2023-05-29 10:51:40 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
864959aee0 Hide login code with a spoiler in chats list. 2023-04-27 15:23:36 +04:00
John Preston
152661dcea Use global Fn+F shortcut for toggle fullscreen on macOS. 2023-03-15 16:39:13 +04:00
John Preston
aa9e56c633 Update icon on macOS, allow changing back. 2023-03-01 09:12:02 +04:00
John Preston
ce0e07d332 Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
Ilya Fedin
808cf119b8 Switch freetype to experimental settings 2023-02-22 16:51:13 +04:00
John Preston
0bdd0689c0 Create tray / mediaview queued on macOS.
This removes some strange redundant entries like "Item-0" from the Dock menu.
2023-02-06 13:34:03 +04:00
John Preston
c737e2f91b Track window activation history. 2023-02-03 20:48:12 +04:00
John Preston
94b489835c Add chat name / account name / unread count title settings. 2023-02-03 17:51:47 +04:00
John Preston
be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston
0495cf4187 Use better initial geometry for new windows. 2023-02-02 20:20:05 +04:00
John Preston
ec3957fcf3 Active round video moving to active window. 2023-01-19 11:42:00 +04:00
John Preston
0f234188e1 Fix crash in SystemMediaControls init. 2023-01-19 09:57:33 +04:00
John Preston
cdfdccbb66 Detach SystemMediaControls from Window::Controller. 2023-01-19 09:46:20 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
Ilya Fedin
0eec470387 Hide default download folder option if it's not available 2022-12-29 14:18:08 +04:00
John Preston
ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston
644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston
092923fe6e Don't autodownload files if sandbox prevents it.
Partially fixes #25308.
2022-11-08 18:26:02 +04:00
John Preston
df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +04:00
John Preston
6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
23rd
fe7cffc509 Improved management of online status from non-primary windows.
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
2022-06-12 16:07:41 +03:00
23rd
1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
23rd
948ce77a8f Improved deleting peer from non-primary windows. 2022-06-09 04:20:13 +03:00
23rd
873301e7df Fixed handling of requests to open media from non-primary windows. 2022-06-08 11:59:30 +03:00
23rd
16e61ae2b2 Fixed lock by local passcode for non-primary windows. 2022-06-08 11:59:30 +03:00
John Preston
a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
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