119 Commits

Author SHA1 Message Date
AlexeyZavar 0825ea0160 Merge tag 'v6.7.8' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/api/api_chat_invite.h
#	Telegram/SourceFiles/boxes/language_box.cpp
#	Telegram/SourceFiles/boxes/send_files_box.h
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_types.h
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_chat_section.cpp
#	Telegram/SourceFiles/history/view/history_view_message.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_tracker.cpp
#	Telegram/SourceFiles/platform/mac/main_window_mac.mm
#	Telegram/SourceFiles/settings/sections/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2026-04-24 20:47:17 +03:00
John Preston 33dda9dffd Return possibility for maps handler customization on Windows. 2026-04-14 21:55:38 +07:00
John Preston 05d2881c16 Disable attempts to launch bingmaps.
Fixes #30551.
2026-04-14 13:23:25 +07:00
AlexeyZavar 51a7739436 Merge remote-tracking branch 'upstream-main/dev' into dev 2025-10-27 12:17:51 +03:00
Ilya Fedin 5fbf280e4a Combine startUrls and sendPaths
This commit allows to handle multiple URLs of all types as positional arguments simultaneously:
* tg:// links
* tonsite:// links
* interpret:// file paths
* generic file paths (to share files)

This allows to Drag'n'Drop files to the Telegram shortcut/binary.
2025-10-23 10:23:53 +04:00
Ilya Fedin dbc9beaa19 Make psLaunchMaps async 2025-10-22 22:01:45 +04:00
AlexeyZavar 9cf11ff45d Merge tag 'v6.1.3' into dev 2025-10-04 17:26:13 +03:00
John Preston 5d7ae16b4a Try fixing working on Windows 7. 2025-08-01 11:27:53 +04:00
AlexeyZavar ab3a61794b Merge tag 'v5.10.7' into dev 2025-01-29 01:49:51 +03:00
Ilya Fedin 5f5a2a3ef2 Check high contrast theme for auto dark mode on Windows 2025-01-27 15:01:11 +01:00
AlexeyZavar 92dab0438f Merge tag 'v5.3.2' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-08-05 20:56:01 +03:00
John Preston 2c3ef13b01 Update tg_owt to M123. 2024-07-19 11:56:25 +02:00
Ilya Fedin aa140b2919 Fix warnings on Windows 2024-07-06 11:05:28 +04:00
AlexeyZavar da797a2b07 Merge tag 'v5.2.0' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_gif.cpp
#	Telegram/SourceFiles/window/notifications_manager_default.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-07-01 04:17:59 +03:00
John Preston 93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
ZavaruKitsu 4fd0b008ba Merge tag 'v4.14.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/controls/history_view_voice_record_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_element.cpp
#	Telegram/lib_ui
2024-01-05 16:19:32 +03:00
John Preston 973f91b5e4 Add "Quit Telegram" taskbar menu item.
Fixes #1161.
2024-01-04 17:22:05 +04:00
ZavaruKitsu 0f8187fa36 Merge tag 'v4.12.2' into dev
# Conflicts:
#	.github/workflows/win.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/settings/settings_advanced.cpp
#	Telegram/SourceFiles/settings/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-12-01 15:38:13 +03:00
John Preston 5cabfb56e0 Fix "small" undef in Windows includes. 2023-11-14 09:27:48 +04:00
ZavaruKitsu 0502acc8a4 Merge tag 'v4.10.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/apiwrap.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/platform/win/windows_app_user_model_id.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-23 10:58:57 +03: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
ZavaruKitsu 62cfe5ef98 Merge tag 'v4.9.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
2023-08-27 09:07:54 +00:00
John Preston 58c91be156 Fix location links with Bing Maps uninstalled.
Fixes #26506.
2023-08-11 11:47:18 +02:00
ZavaruKitsu eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00
Ilya Fedin 0ffaff2d8b Support Qt 6.5 dark mode API 2023-05-15 12:33:30 +04:00
John Preston aa9e56c633 Update icon on macOS, allow changing back. 2023-03-01 09:12:02 +04:00
Ilya Fedin 745b01a407 Another attempt to enable UTF-8 charset on Windows 2023-01-19 08:34:46 +04:00
John Preston 94a956ce19 Beta version 4.5.4: Fix build for Windows x64. 2023-01-10 16:47:57 +04:00
John Preston c49dac57b7 Don't use window title for IPC. 2023-01-09 16:08:34 +04:00
John Preston 442d0da5c1 Force autostart folder creation.
Also show an error if autostart couldn't be enabled.

Fixes #25608.
2023-01-02 12:26:20 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
Ilya Fedin 5fc7caeec9 Provide old version to Platform::NewVersionLaunched 2022-09-01 13:53:53 +04:00
John Preston e84bfe0420 Fix build for Windows Store. 2022-03-12 09:06:50 +04:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
Ilya Fedin 48ab88a9ca Don't use QPlatformNativeInterface for native window handle on Windows 2021-12-13 14:24:34 +04:00
John Preston 1ea6224e60 Fix autostart toggling. 2021-11-05 10:15:41 +04:00
John Preston f10ed4b9bc Support autostart in Windows Store version.
Fixes #3234.
2021-11-04 12:36:28 +04:00
John Preston 8cca75da5c Handle foreign instance in COM toast activator. 2021-10-08 13:46:52 +04:00
John Preston 8d0ff1b61d Try setting current window as foreground on activate. 2021-10-08 12:20:24 +04:00
John Preston e7cf560da0 Handle toast activations by COM activator. 2021-10-06 11:02:57 +04:00
John Preston 967e86f4ab Rewrite Windows native notifications using C++/WinRT. 2021-10-05 12:09:15 +04:00
John Preston 8759ca4577 Rewrite bingmaps check to C++/WinRT. 2021-09-26 17:17:57 +04:00
Hermesis d5c6d9a231 Open map in browser if default "bingmaps:" handler is not found 2021-09-26 17:16:38 +04: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 49fed41dfa Use RegisterUrlScheme from lib_base 2021-07-19 22:55:57 +03:00
John Preston 148af59615 Don't check dll-s if "SetDefaultDllDirectories" is available. 2021-07-01 23:47:12 +03:00
John Preston b1c4524612 Fix crash dump generation on Linux. 2021-05-03 17:34:33 +04:00