Commit Graph

130 Commits

Author SHA1 Message Date
AlexeyZavar e85518b3fa Merge tag 'v7.0.4' into dev 2026-07-23 16:05:24 +03:00
John Preston 18294947a0 Make -cleanup stop the running app on uninstall
Already-installed uninstallers invoke -cleanup, so they pick up
the stop-and-wait flow as soon as the app updates itself; the new
-uninstall switch is not needed.
2026-07-20 23:14:37 +04:00
John Preston 62da586201 Stop Telegram before Windows uninstallation 2026-07-20 22:48:15 +04:00
John Preston becde59808 Revert "Stop Telegram before Windows uninstallation"
This reverts commit 40c450149e.
2026-07-20 22:32:56 +04:00
John Preston 40c450149e Stop Telegram before Windows uninstallation 2026-07-20 18:40:54 +04:00
John Preston b0c4f29401 [ai] Add -testagent for silent crashes. 2026-07-02 17:49:02 +04:00
Ilya Fedin c486314f83 Avoid full Telegram target rebuild on version change 2026-06-15 17:05:51 +04:00
23rd e60476c54d Replaced global Qt RHI forcing with per-window activation. 2026-06-04 16:18:37 +04:00
23rd 047a24185f Enabled Qt RHI renderer by default on macOS in experimental options. 2026-05-25 21:56:40 +03:00
23rd 8b948d7f49 Added explicitly disable of Qt RHI env vars when experimental is off.
Concept of env-as-source-of-truth.
2026-05-25 18:55:12 +03:00
23rd 231bf4449e Added experimental toggle to control Qt RHI renderer. 2026-05-18 10:36:53 +03:00
23rd a728ddb7e2 [qrhi] Added Metal availability check with OpenGL fallback for backend. 2026-05-18 10:36:52 +03:00
23rd 813cab2ff6 [qrhi] Enabled QRhi renderer by default on Qt 6.7+ with OpenGL fallback. 2026-05-18 10:36:52 +03:00
23rd b088296609 [qrhi] Added QRhi rendering infrastructure. 2026-05-18 10:36:51 +03:00
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
23rd a8b59804fa Disabled debug logging by default for macOS debug builds. 2026-04-10 09:13:31 +03:00
AlexeyZavar 8bfd3bee99 Merge tag 'v6.5.1' into dev 2026-02-17 03:35:09 +03:00
Ilya Fedin 18acef841b Add experimental option for QT_WIDGETS_HIGHDPI_DOWNSCALE 2026-01-21 20:59:52 +04: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 f787e0fa1d Allow to pass URLs without --
This allows to make tdesktop as a URL handler with generic file dialog in e.g. Firefox (previously the window was opening but no URL handled)
2025-10-23 10:23:53 +04:00
AlexeyZavar 1447b62999 Merge tag 'v5.13.1' into dev 2025-04-25 02:29:09 +03:00
Ilya Fedin 0fb67c78a9 Add a method to calculate instance hash to Launcher 2025-03-12 14:53:21 +04:00
AlexeyZavar 20358a2f58 Merge tag 'v5.10.3' into dev 2025-01-15 10:11:17 +03:00
23rd 489c86dad8 Added ability to disable debug logs even for debug builds. 2024-11-27 11:27:59 +03:00
AlexeyZavar a851bebc75 fix: a bunch of useful fixes 2024-07-02 22:06:56 +03:00
AlexeyZavar c185f40acd feat: enter with ghost mode from taskbar or command line 2024-07-01 06:04:14 +03:00
AlexeyZavar eeb5e5a206 Merge tag 'v5.0.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/profile/info_profile_actions.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-05-04 21:49:27 +03:00
John Preston c16d820b88 Move OpenSSL probing before crash reporter. 2024-04-24 19:12:46 +04:00
ZavaruKitsu 7cdbbc318a Merge tag 'v4.14.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/main/main_session.cpp
#	Telegram/lib_ui
2024-01-02 01:02:43 +03:00
Ilya Fedin ee5b7a5100 Fix the whitespaces for KeyFormat enum 2023-12-31 22:03:57 +00:00
Ilya Fedin e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00: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
Ilya Fedin 27b443b24d Use QStandardPaths to find the externalupdater config
That should be more convenient for everyone and cross-platform...
2023-09-20 18:05:45 +04:00
Ilya Fedin cc19928977 Fix logging initial working directory when TelegramForcePortable exists 2023-09-20 18:05:45 +04:00
Ilya Fedin c5424d0a9a Get rid of unneeded + '/' for cForceWorkingDir
It does the same on its own
2023-09-20 18:05:45 +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
Ilya Fedin 0b115dedf5 Revert "Write Qt messages only to log in debug mode"
This reverts commit 1d2e34f5e9.
2023-08-21 16:36:08 +02:00
Ilya Fedin 2cb7d8ea77 Revert "Log all Qt messages as usual in debug builds."
This reverts commit 52b9a1fceb.
2023-08-21 16:36:08 +02:00
ZavaruKitsu 1f6c440341 Merge remote-tracking branch 'tdesktop-ustream/dev' into dev
# Conflicts:
#	Telegram/CMakeLists.txt
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.service
2023-08-01 09:59:53 +00:00
John Preston 0b1b996e33 Fix build with MSVC. 2023-07-24 10:44:36 +04:00
Ilya Fedin cd7539c001 Detect when -workdir value is not really custom 2023-07-24 10:37:38 +04:00
ZavaruKitsu eb9b35461b Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into telegramdesktop-dev2 2023-07-18 11:19:23 +00:00
Ilya Fedin 2c1a2088b7 Port forgetten places to Core::Launcher::Instance() 2023-06-16 11:38:54 +04:00
Ilya Fedin 32f13c3716 Deduplicate executable path computation 2023-06-16 11:38:54 +04:00
Ilya Fedin af00247362 Provide access to un-joined argument list in Core::Launcher
This allows to re-use the variable in Linux-specific code
2023-06-13 12:19:21 +04:00
Ilya Fedin a7bd097b2f Have a global Core::Launcher accessor
This allows to use Launcher in code executing before Sandbox is created
2023-06-13 12:19:21 +04: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 c78a15410d Try to remove Wayland blacklist again 2023-04-03 19:44:52 +04:00
Ilya Fedin 808cf119b8 Switch freetype to experimental settings 2023-02-22 16:51:13 +04:00