John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
John Preston
5cea5fc4e6
Fix window size in Tablet Mode on Windows 10.
2021-02-09 19:26:56 +04:00
John Preston
40e90af76d
Detect tablet mode on Windows 10.
2021-01-25 16:47:41 +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
Ilya Fedin
8142e83395
Fix connection to QSystemTrayIcon::messageClicked in main_window_win
2020-12-28 17:00:05 +04:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
Ilya Fedin
7ff99cdbf7
Use LONG_PTR with SetWindowLongPtr
2020-10-26 16:57:57 +03:00
John Preston
c86ced8a1e
Use dark Windows title bar for night mode.
2020-07-24 16:15:58 +04:00
John Preston
f10b2194e6
Add option for a native window frame.
...
Fixes #2958 .
2020-07-07 21:34:25 +04:00
John Preston
d1050e6041
Use window shadow from lib_ui.
2020-07-07 21:34:25 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
Ilya Fedin
492dc2568c
Add DESKTOP_APP_USE_PACKAGED support for Windows
2020-05-12 17:32:40 +04:00
John Preston
f5c0e5d31d
Remove unnecessary include.
2020-05-12 09:43:54 +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
bcd0fe38f0
Fix invisible passcode field.
...
Regression was introduced in fd8ae60dc
.
2020-02-11 13:01:55 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
John Preston
322367c1b1
Correctly minimize window.
...
Fixes #6932 .
2020-01-02 14:57:36 +03:00
John Preston
92d48a7846
Fix build on Windows.
2019-10-20 15:32:44 +04:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
1225c9194a
Fix window title on Windows 7.
...
Regression was introduced in dd68c7e90
.
Fixes #6106 .
2019-06-07 14:46:07 +03:00
John Preston
dd68c7e90d
Use Window::Controller to manage MainWindow.
2019-06-06 14:20:21 +03:00
John Preston
271d929ad6
Use VersionHelper API for Windows version.
2019-06-03 13:48:57 +03:00
John Preston
7cfb122dea
Fix crash with event loop nesting tracking.
2019-04-12 17:30:43 +04:00
John Preston
f1b0b60340
Fix possible crash in MainWindow destructor.
2019-03-24 12:12:41 +04:00
John Preston
98cb85df66
Polymorphic classes without virtual dtor warning.
2019-02-15 15:55:34 +04:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
6562a1f6af
Add 'Count unread messages' option.
2018-12-04 14:32:48 +04:00
John Preston
4c9ef606f3
Display unread/mention mark in small left column.
...
Fixes #4939 .
2018-07-12 22:25:10 +03:00
John Preston
e2bc6990c7
Fix crash in taskbar icon refresher.
...
Regression was introduced in 3b956c598
.
2018-07-11 23:20:21 +03:00
John Preston
3b956c598b
Fix data export window theme changing.
...
Fixes #4902 .
2018-06-28 04:39:10 +01:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
Kirsan
3ff033cdf3
Fix for https://github.com/telegramdesktop/tdesktop/issues/4544
...
(cherry picked from commit d99c757d44d7c31fbb0eb290f273ad4d2d464255)
2018-04-07 12:13:52 +04:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
5c12b0e5fa
Use /permissive- flag for Visual Studio builds.
2017-11-16 07:59:10 +04:00
visuve
8c92f42de3
Fix uninitialized values
...
- Use C++11 default member initializers
Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve)
2017-09-28 18:23:42 +03:00
John Preston
17cef93ac0
Use gsl::finally() instead of base::scope_guard().
2017-08-30 19:15:26 +03:00
John Preston
f316e3bd17
Add debug logs for window position and autoupdate.
2017-07-03 15:23:41 +03:00
John Preston
2334ba1fe1
Use QString + Lang::Tag() instead of Lang::String.
2017-06-29 11:39:40 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
1e6d4d6b41
Activate mediaview instead of main window.
...
If the mediaview is currently shown and we receive an activation
event for the main window we should activate and focus mediaview.
2017-05-24 16:25:08 +03:00
John Preston
b74dea8662
Move logo images to Messenger. Set call panel icon.
2017-05-12 18:28:44 +03:00
John Preston
81790b2271
Notifications management moved to AuthSession.
...
Also implemented Global::WorkMode() as an base::Variable.
2017-03-06 18:38:15 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00