Commit Graph

114 Commits

Author SHA1 Message Date
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
23rd a8b59804fa Disabled debug logging by default for macOS debug builds. 2026-04-10 09:13:31 +03:00
Ilya Fedin 18acef841b Add experimental option for QT_WIDGETS_HIGHDPI_DOWNSCALE 2026-01-21 20:59:52 +04: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
Ilya Fedin 0fb67c78a9 Add a method to calculate instance hash to Launcher 2025-03-12 14:53:21 +04:00
23rd 489c86dad8 Added ability to disable debug logs even for debug builds. 2024-11-27 11:27:59 +03:00
John Preston c16d820b88 Move OpenSSL probing before crash reporter. 2024-04-24 19:12:46 +04: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
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
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
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
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
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
Ilya Fedin 9849b7adb6 Use custom workdir even if it doesn't exist 2023-02-20 13:52:59 +04:00
Ilya Fedin 96ef82272b Use QT_DEPRECATED_WARNINGS_SINCE 2023-02-14 18:37:01 +04:00
Ilya Fedin 13a9920c11 Set QT_DPI_ADJUSTMENT_POLICY for older Qt to the new default value 2023-02-11 15:40:00 +04:00
Ilya Fedin 241be89e5c Enable the new experimental setting for Linux 2023-01-12 21:17:08 +04:00
John Preston 39075538fb Enable RoundPreferFloor HighDpi support on Windows.
Add an experimental setting for exact HighDPI on Windows.
2023-01-12 13:57:09 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston 47709884dd Allow 50% interface scale from command line. 2022-09-02 21:14:33 +04:00
Ilya Fedin bb8ffcac3a Default to Wayland on GNOME for new installs 2022-07-28 20:17:49 +04:00
John Preston 38137e16a0 Save / restore experimental settings in a json. 2022-02-02 12:05:33 +03:00
Hans Gaiser df06f55c7f Use QT_QPA_PLATFORM if provided. 2022-01-14 21:58:43 +04:00
John Preston 5c9c836857 Version 3.4.3: Fix build with GCC. 2022-01-04 00:01:56 +03:00
John Preston 102c0a96ed Re-enable XWayland by default on GNOME.
Should fix #17457, fix #17468, fix #17476, fix #17477, fix #1747,
fix #17481, fix #17498.
2022-01-03 20:03:06 +03:00
Ilya Fedin 7ff7473db6 Auto-check for many instance
This option was invented when single instance check wasn't adapted for -workdir. Now, -workdir can work without -many and this option is redudant, but auto-update prevention is helpful. Let's autodetect whether the binary is already running with a lock file.
2021-12-22 14:07:22 +04:00
Ilya Fedin 27a9b61f72 Avoid Qt's fractional scaling 2021-11-01 13:12:13 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00