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
Ilya Fedin
e92ae40ecb
Implement close to taskbar option
2021-09-13 17:46:53 +03:00
John Preston
a3e8e379dd
Show userpics in full who read list.
2021-09-09 11:48:30 +03:00
John Preston
2d6155fc85
Throw fp exceptions in Windows 32 bit build.
2021-08-24 17:43:31 +03:00
John Preston
52b9a1fceb
Log all Qt messages as usual in debug builds.
2021-08-17 12:25:13 +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
Ilya Fedin
a3ee1e4ed5
Remove mentions of unused -testmode flag
2021-08-11 18:20:52 +03:00
Ilya Fedin
97262a99c7
Get rid of osx and linux32 special targets
2021-08-11 16:59:27 +03:00
Ilya Fedin
1d2e34f5e9
Write Qt messages only to log in debug mode
2021-08-11 15:49:31 +03:00
Ilya Fedin
766bc90921
Adapt for Ui::DisableCustomScaling changes
2021-06-18 12:15:01 +04:00
John Preston
68be54288c
Fix working using OpenGLES / ANGLE.
2021-06-14 12:16:00 +04:00
John Preston
750c13e5fe
Add OpenGL init crash checker.
2021-06-11 23:01:07 +04:00
John Preston
e7ca35a276
Fix possible deadlock in debug logs.
2021-05-13 15:36:08 +04:00
John Preston
c360bb9da4
Use LOG/DEBUG_LOG from lib_base.
2021-04-20 16:42:43 +04:00
John Preston
4d579f873c
Remove tested 110% scale.
2021-03-22 19:52:51 +04:00
John Preston
56c8327746
Fix emoji picker button in boxes in non-default scale.
2021-03-22 19:41:13 +04:00
Ilya Fedin
a16b7fbb83
Fix path to executable in ComputeExternalUpdater
2021-03-21 09:04:43 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
Ilya Fedin
19a5dcbffc
Make OpenAL debugging easier
2020-12-30 11:49:30 +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
John Preston
d301601360
Fix mouse/keyboard input on Windows.
2020-12-18 12:43:51 +04:00