John Preston
b561705528
Use Window::SlideAnimation in all widgets.
2022-12-01 14:18:37 +04:00
John Preston
ad3f8e72a0
Remove namespace App.
2022-11-30 17:28:09 +04:00
John Preston
01139e1b04
Remove facades module.
2022-11-30 16:55:51 +04:00
John Preston
9d4840c0de
Respect window active state on mark as read.
2022-11-02 20:13:29 +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
0e16a50bbc
Completely removed common and platform code for tray from main window.
2022-05-03 04:25:36 +03:00
John Preston
18e6e2da9e
Open specific chat only in one window.
2022-01-04 19:36:33 +03:00
John Preston
aef45b3a1d
Refactor icon unread counter painting.
2021-11-02 20:12:57 +04:00
23rd
6bb7e2c2eb
Removed using of hardcoded numbers of tray menu actions.
2021-07-06 12:13:06 +03:00
23rd
4909ba5a1e
Added ability to pass custom layer widgets to stack.
2021-07-06 12:13:05 +03:00
John Preston
e1120d1cb5
Optimize out most of LastUserInputTime() calls.
...
Fixes #16118 .
2021-06-18 19:22:36 +04:00
23rd
69eaecc218
Moved SystemMediaControlsManagerto Media namespace.
2021-06-10 23:00:56 +03:00
23rd
d22601461a
Added new commands to Quit and Raise for Linux MPRIS.
2021-06-10 23:00:55 +03:00
23rd
1cfbf24635
Moved Windows SMTC as part of cross-platform media controls solution.
2021-06-10 23:00:55 +03:00
John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
Ilya Fedin
1a3253ae8b
Implement three items tray menu on Linux
2021-02-23 17:14:57 +04:00
23rd
b4af805521
Moved showLogoutConfirmation from MainWindow to Window::Controller.
2021-02-04 18:13:03 +04:00
23rd
019e691fbb
Moved some session dependent methods to SessionController.
...
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +04:00
Ilya Fedin
5e60b87cf9
Remove platform_specific.h include from mainwindow.h
...
In order to avoid mass rebuilds on specific_*.h changing
2021-01-22 17:22:37 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
23rd
dc7a754418
Added ability to prevent application lock and account switch.
2020-12-14 17:09:24 +04:00
John Preston
b703f4e555
Fix build on Linux.
2020-08-11 18:21:40 +04:00
John Preston
f10b2194e6
Add option for a native window frame.
...
Fixes #2958 .
2020-07-07 21:34:25 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +04:00
John Preston
4d65df6ca2
Remove legacy temp download folder.
2020-06-23 21:53:44 +04:00
John Preston
55ec4ebf86
Allow returning from new account setup.
2020-06-23 21:53:44 +04:00
John Preston
bc144377c0
Support logout of a secondary account.
2020-06-23 21:53:41 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
40f12a2584
Keep document byte data only in DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
d4b9b65724
First version of the filters side bar.
2020-03-27 20:36:01 +04:00
John Preston
b5dcd84513
Fix stop-auto-read when the system is idle.
2020-02-21 18:48:29 +04:00
John Preston
70408f0e22
First version of reading-while-scrolling.
2020-02-21 18:48:29 +04:00
John Preston
a88423a33f
Fix bad window rendering with maximize-on-launch.
...
I have no idea why MainWindow is ruined completely in case you call
MainWindow::show, MainWindow::setWindowState(maximized) and then
in the same context (without crl::on_main) create full screen viewer.
2020-02-12 12:09:17 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
23rd
7c98f64cdb
Slightly refactored display of media preview.
...
- Removed showMediaPreview from facades.
2019-07-04 16:28:58 +02:00
John Preston
dd68c7e90d
Use Window::Controller to manage MainWindow.
2019-06-06 14:20:21 +03:00
John Preston
7cfb122dea
Fix crash with event loop nesting tracking.
2019-04-12 17:30:43 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
338129faea
Destroy boxes in Ui::hideLayer().
2018-11-26 15:00:31 +04:00
John Preston
23dc9ef494
Destroy layers not delayed.
2018-11-26 11:33:29 +04:00
John Preston
21fab77c4b
Add support for incomplete login attempts.
2018-11-20 19:50:36 +04:00
John Preston
a70613d929
Fix client side generated changelogs display.
...
Also use message date if available in MediaView.
2018-09-27 23:31:48 +03:00
John Preston
0c8709ca5f
Replace App::self() with Auth().user().
...
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
cfce189201
Improve main menu > settings transition animation.
...
Remove full window cache in case of settings shown as a section.
2018-09-19 19:22:13 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00