Commit graph

384 commits

Author SHA1 Message Date
Ilya Fedin
b14c2878b3 Revert "Move icon name getter to cross-platform header"
This reverts commit d9318c9935.
2025-03-12 14:54:41 +04:00
Ilya Fedin
0fb67c78a9 Add a method to calculate instance hash to Launcher 2025-03-12 14:53:21 +04:00
Eugene
e99cb9bfb8 Ensure policy check before creating Zone.Identifier for downloaded files on Windows 2025-03-04 10:47:31 +04:00
Ilya Fedin
5f5a2a3ef2 Check high contrast theme for auto dark mode on Windows 2025-01-27 15:01:11 +01:00
Ilya Fedin
e1f71baed6 Move native notifications option check logic to cross platform code 2025-01-25 18:33:13 +04:00
John Preston
9dc947ecb6 Simplify run-in-background option selection. 2025-01-22 22:13:28 +04:00
John Preston
d135151477 Use native sound support in macOS notifications. 2025-01-22 22:13:28 +04:00
John Preston
20fadfef7f Fix file dialog for Windows on ARM. 2024-11-18 16:01:15 +04:00
Ilya Fedin
ebd0c3696a Remove #ifndef __MINGW32__ from Windows notifications
It uses C++/WinRT nowadays just like all other code so there's no point in #ifndef'ing only it
2024-10-31 19:22:37 +04:00
Ilya Fedin
e0a0d9c039 Remove outdated ifdef
The file doesn't have __in anymore
2024-10-31 19:22:37 +04:00
John Preston
285c96fd2e Add "Respect the Focus settings" on Windows. 2024-10-24 13:24:43 +04:00
Ilya Fedin
a307e7a798 Replace fullscreen mask workaround with Qt one 2024-09-19 10:46:46 +02:00
John Preston
2c3ef13b01 Update tg_owt to M123. 2024-07-19 11:56:25 +02:00
John Preston
de52ac6b28 Resolve different addresses. 2024-07-19 11:20:54 +02:00
John Preston
310837c9e1 Add venues list and chosen place name. 2024-07-19 11:20:54 +02:00
John Preston
2a5071b66c Initial location sending on Windows. 2024-07-19 11:20:53 +02:00
Ilya Fedin
aa140b2919 Fix warnings on Windows 2024-07-06 11:05:28 +04:00
John Preston
93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
John Preston
2cb0651b04 Redirect IME to search on Windows. 2024-05-07 22:17:34 +04:00
John Preston
c16d820b88 Move OpenSSL probing before crash reporter. 2024-04-24 19:12:46 +04:00
John Preston
104ba4db7c Fully migrate to Webrtc::Environment. 2024-01-25 11:57:58 +04:00
John Preston
6033071e61 Fix new taskbar "Quit Telegram" icon generation. 2024-01-16 12:53:23 +04:00
John Preston
973f91b5e4 Add "Quit Telegram" taskbar menu item.
Fixes #1161.
2024-01-04 17:22:05 +04:00
John Preston
25216a140e Fix build on Windows. 2023-11-16 14:31:15 +04:00
John Preston
5cabfb56e0 Fix "small" undef in Windows includes. 2023-11-14 09:27:48 +04:00
John Preston
69efd127eb Update submodules. 2023-11-13 11:39:35 +04:00
John Preston
b1459e41d3 Fix system version check for dark taskbar support.
Fixes #27056.
2023-11-07 11:47:10 +04:00
John Preston
b8c76cac61 Use dot in monochrome tray icon on Windows. 2023-11-05 00:03:44 +04:00
Ilya Fedin
0f45abd534 Make WithSmallCounter adaptive 2023-11-04 20:50:58 +04:00
John Preston
a57eecd420 Add option to use old tray icon.
New monochrome icon is default for the new installations.

Fixes #26983, fixes #26988, fixes #26989, fixes #26991, fixes #27005.
2023-10-30 11:16:17 +04:00
Ilya Fedin
cd0f58fa65 Implement monochrome tray icon on Windows 2023-10-25 14:23:50 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
c6c06c149d Check AppUserModelId better. 2023-09-22 11:50:41 +04:00
Ilya Fedin
1bde096417 Minimize amount of code to rebuild when switching options 2023-09-22 09:14:01 +04:00
Ilya Fedin
1683dccb50 Always set AppUserModelID on Windows 2023-09-21 13:39:26 +04:00
Ilya Fedin
47195e316f Don't load SetCurrentProcessExplicitAppUserModelID dynamically
It's supported since Windows 7
2023-09-21 13:39:26 +04:00
Ilya Fedin
e8a1fc0300 Add a method to check whether to run in background instead of checking for macOS 2023-09-12 10:27:13 +04:00
John Preston
80fb506f84 Use underlying QPlatformSystemTrayIcon on Windows.
Fixes #26655.
2023-08-15 12:11:45 +02:00
John Preston
58c91be156 Fix location links with Bing Maps uninstalled.
Fixes #26506.
2023-08-11 11:47:18 +02:00
John Preston
d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
Ilya Fedin
1d234ea990 Use argv0 for shortcuts when updater is disabled 2023-06-16 11:38:54 +04:00
Ilya Fedin
0ffaff2d8b Support Qt 6.5 dark mode API 2023-05-15 12:33:30 +04:00
John Preston
32e650548f One more attempt to fix DND on macOS. 2023-03-15 15:00:29 +04:00
John Preston
aa9e56c633 Update icon on macOS, allow changing back. 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
832d47121f Save media viewer position to Settings. 2023-02-18 15:10:13 +04:00
John Preston
f9847090f9 Cmd+Q quit prevention in windowed media viewer. 2023-02-18 15:10:13 +04:00
John Preston
2a1e3c4453 Initial implementation of windowed media viewer on macOS. 2023-02-18 15:10:13 +04:00
John Preston
88e7f4b662 Improve the tabbed emoji panel design. 2023-02-02 22:12:31 +04:00
John Preston
88f3aeca5b Show just logo in Dwm Preview when passcoded. 2023-02-02 16:14:36 +04:00