Ilya Fedin
58451aed91
Fix debug build on Linux
2023-09-23 06:29:10 +04:00
Ilya Fedin
7dfeea3f4e
Get rid of workingDirChosen variable
...
It's set in every codepath where cWorkingDir is non-empty.
2023-09-20 18:05:45 +04:00
Ilya Fedin
92a41c881d
Consolidate cForceWorkingDir(psAppDataPath())
2023-09-20 18:05:45 +04:00
Ilya Fedin
3d769a6dce
Get rid of cForceWorkingDir(cWorkingDir())
...
It has no sense as no code sets working directory directly to the variable anymore.
2023-09-20 18:05:45 +04:00
Ilya Fedin
330dfaa4d9
Consolidate MoveOldDataFiles path determinition
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
f3572e52ac
Don't create a QDir instance for its static setCurrent method
2023-09-20 18:05:45 +04:00
Ilya Fedin
7906be37b6
Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE)
2023-09-15 19:52:22 +04:00
Ilya Fedin
cd7539c001
Detect when -workdir value is not really custom
2023-07-24 10:37:38 +04:00
Ilya Fedin
100e875530
Short launcher access in Logs::start
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
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
9849b7adb6
Use custom workdir even if it doesn't exist
2023-02-20 13:52:59 +04:00
Ilya Fedin
8099c28197
Fallback to other working directories in debug mode on Unix systems
...
Just like on Windows
2023-02-20 13:52:59 +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
0aa20b4479
Decrypt shiftedDcId / protocolDcId in mtp_ logs.
2022-02-07 15:26:26 +03:00
John Preston
f10ed4b9bc
Support autostart in Windows Store version.
...
Fixes #3234 .
2021-11-04 12:36:28 +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
fe4c5155eb
Fix some warnings from GCC 11
2021-06-01 19:33:19 +03: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
Ilya Fedin
0e126e2550
More advanced logging about... logging
2021-04-05 09:22:04 +03:00
Ilya Fedin
971e188063
Replace remaining QFileInfo::exists
2021-03-15 19:49:06 +03:00
John Preston
9a73c99935
Beta version 2.6.2: Fix build.
2021-03-13 21:05:53 +04:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
Ilya Fedin
dbad9fa73a
Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku
2020-06-17 20:33:23 +04:00
John Preston
f50c50a152
Fix path choosing for Windows Store version.
2020-04-21 18:55:34 +04:00
John Preston
3a7faffa3a
Use thread_local counter in logs for thread index.
2019-11-15 16:16:32 +03:00
John Preston
f6bfbbb805
Add some profiling logs to lottie player.
2019-07-01 17:57:39 +02:00
John Preston
edc8c23772
Fix custom download path in Mac App Store build.
...
Fixes #5903 .
2019-04-13 19:49:13 +04:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
e8a390c251
Use TelegramForcePortable for alpha versions.
2018-10-09 19:27:18 +03:00
John Preston
36f72191ad
Allow any version to be used as a portable.
...
You need to place TelegramForcePortable folder near the application.
2018-10-09 19:27:16 +03:00
John Preston
9b449a1d26
Allow switching off debug logs in closed alpha.
2018-09-27 16:36:27 +03:00
John Preston
971d0efda9
Support toggling installs of beta versions.
2018-09-26 21:23:08 +03:00
John Preston
6e566e0165
Swap 'alpha' and 'beta'. Happy debugging!
2018-09-26 21:23:08 +03:00
John Preston
68c2f563c6
Write logs without QTextStream.
2018-06-11 10:37:29 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
37b018257e
Replace some std::shared_ptr with std::unique_ptr.
2017-12-18 14:38:14 +04:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
97c15865a5
Move some code around.
...
Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way.
2017-12-12 16:47:32 +04:00
John Preston
e273695cc9
Fix planar audio playback (for example .flac).
...
Also add some more crash information logging.
Fixes #4120 .
2017-12-08 12:57:43 +04:00
John Preston
8f87cfe29d
Fix explicit working dir by "-workdir" in Windows.
...
Regression was introduced in ff84962148
.
Fixes #4129 .
2017-12-08 12:13:42 +04:00
John Preston
a032f24d58
Fix explicit working dir by "-workdir" argument.
...
Regression was introduced in ff84962148
.
Fixes #4123 .
2017-12-07 17:56:36 +04:00
John Preston
ff84962148
Stop using current working directory on Windows.
...
Links generated by system sometimes have weird working directories,
like C:\Windows\system32. Stop trying to use current working folder
as a place for program data. Instead always try to use current exe
folder and if we were unable use app data folder.
2017-12-06 19:07:19 +04:00
John Preston
0a1165dac9
Remove locking in crash annotations.
...
We removed ffmpeg crash annotations so now all are from main thread.
2017-12-02 13:28:15 +04:00
John Preston
13ab055fe0
Add debug information about crash in ffmpeg.
2017-11-30 15:41:15 +04:00