John Preston
1d2a18929a
Use QOperatingSystemVersion.
2021-09-01 18:33:53 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
Ilya Fedin
414456d003
Revert "Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595 "
...
Fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/306771
This reverts commit 3a91003eea
.
2021-08-12 08:51:10 +03:00
Ilya Fedin
8b7b0fa570
Remove -externalupdater flag
...
Having a path to executable in /etc/tdesktop/externalupdater is a way more convenient and is enough
2021-08-11 18:20:52 +03:00
John Preston
1dec054766
Check if native window frame fits for saved geometry.
2021-08-10 15:46:18 +03:00
Ilya Fedin
1ebf27bfa1
Switch MainWindow to Ui::RpWindow
2021-07-28 18:05:39 +03:00
Ilya Fedin
f71ce9afdf
Fix dark titlebar on Windows 10 17763
2021-07-28 16:01:50 +03:00
John Preston
87ca2c891a
Update Windows taskbar icon in new version.
2021-07-20 20:21:21 +03:00
John Preston
1ce66e5198
Pack and deploy d3dcompiler_47.dll.
2021-07-20 17:10:23 +03:00
Ilya Fedin
dc81f9eeaf
Remove SetWatchingMediaKeys
...
Since SPMediaKeyTap has been removed on Mac, Linux is the only platform where this function is implemented, but that's not really needed due to MPRIS support, so SetWatchingMediaKeys can be dropped entirely
2021-07-19 22:56:14 +03:00
Ilya Fedin
49fed41dfa
Use RegisterUrlScheme from lib_base
2021-07-19 22:55:57 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
John Preston
148af59615
Don't check dll-s if "SetDefaultDllDirectories" is available.
2021-07-01 23:47:12 +03:00
John Preston
5b2db4112f
Don't allow any .dll-s near Telegram.exe
2021-07-01 23:47:12 +03:00
John Preston
7cedc1f7a5
Add dynamic DirectX loading helper.
2021-07-01 23:47:08 +03:00
23rd
4db5624beb
Completely removed Global namespace.
2021-06-16 09:31:32 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
16db8468fa
Moved ScreenIsLocked variable from facades to application.
2021-06-16 09:31:32 +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
303ad02c61
Always call raise() before activateWindow().
2021-06-09 09:19:28 +04:00
23rd
78dfe940ef
Added Windows SMTC support.
...
System Media Transport Controls.
2021-05-31 08:54:23 +04:00
John Preston
9f41461209
Load .dll symbols in a similar way.
2021-05-24 22:45:14 +04:00
John Preston
2830049a53
Add support for DirectX desktop capturer backend.
2021-05-24 22:45:14 +04:00
John Preston
9ff6b57b94
Use common desktop_capturer code on Windows.
2021-05-24 22:45:13 +04:00
John Preston
b1c4524612
Fix crash dump generation on Linux.
2021-05-03 17:34:33 +04:00
John Preston
728b1efb9a
Respect Focus Assist only for native notifications.
...
Fixes #16215 .
2021-04-28 11:20:39 +04:00
John Preston
e26e666135
Hide native notification details on lock screen.
2021-04-27 13:51:52 +04:00
John Preston
819ce06dfb
Don't mark messages as read when screen is locked.
2021-04-27 13:31:51 +04:00
John Preston
2843500ce3
Add url with the Focus Assist API information.
...
Thanks https://www.withinrafael.com/2019/09/19/
determine-if-your-app-is-in-a-focus-assist-profiles-priority-list/
2021-04-26 10:51:10 +04:00
John Preston
2730ab1596
Query Focus Assist state on Windows.
2021-04-23 08:04:43 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
Ilya Fedin
15d18077b8
Use new methods from lib_ui
2021-02-19 14:15:09 +04:00
John Preston
5cea5fc4e6
Fix window size in Tablet Mode on Windows 10.
2021-02-09 19:26:56 +04:00
Ilya Fedin
9b59e74d66
Make native notifications setting tri-state
2021-01-28 11:44:43 +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
Ilya Fedin
e8edbb16ae
Make notification manager creation async
2021-01-22 17:02:50 +04:00
Ilya Fedin
64b12bde55
Allow qualified notification daemons by default on Linux
2021-01-22 17:02:50 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
Ilya Fedin
8da33113a2
Use DeviceModelPretty/SystemVersionPretty directly
...
This allows using methods that require a running QGuiApplication instance to detect system
2020-12-29 12:36:47 +04:00
Ilya Fedin
8142e83395
Fix connection to QSystemTrayIcon::messageClicked in main_window_win
2020-12-28 17:00:05 +04:00
John Preston
902e0fc8fb
Remove dll loading in harfbuzz on Windows.
2020-12-22 14:29:51 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
df420e4ccf
Revert "Use gtk not only to get image from clipboard, but also to set"
...
This reverts commit f88c132c96
.
Fixes #9885 .
2020-12-11 12:00:52 +04:00
Ilya Fedin
f88c132c96
Use gtk not only to get image from clipboard, but also to set
2020-12-08 21:18:49 +03:00
John Preston
4a73bb7872
Fix main window on Windows.
...
Fixes #9089 , fixes #9090 .
2020-11-18 13:32:30 +03:00
John Preston
b3eb7858e6
Save local drafts in scheduled / replies sections.
...
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
Ilya Fedin
e4b9900a06
Construct WindowControlsLayout without variable
2020-11-16 12:35:01 +03:00