Ilya Fedin
61cc7efc2a
Update all dependencies in Dockerfile
2023-09-21 12:53:07 +04:00
Ilya Fedin
0464a558f0
Add Qt window frame string for Wayland
2023-09-21 12:49:45 +04:00
Ilya Fedin
ff9321e971
Main thread deadlock detector for debug mode
2023-09-21 12:23:23 +04:00
John Preston
d10b7e8402
Update tg_owt+libyuv/libvpx to chromium revisions.
2023-09-21 11:10:44 +04:00
Ilya Fedin
71f3f67fe3
Update submodules & patches on Linux
2023-09-21 10:30:09 +04:00
Ilya Fedin
47983d59fb
Use -fno-omit-frame-pointer for better backtraces
2023-09-20 22:32:35 +04:00
Ilya Fedin
df29af5aea
CentOS 7 -> Rocky Linux 8
2023-09-20 22:32:35 +04: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
7b4a542890
Always wait for updater to exit on Linux
2023-09-20 18:05:45 +04:00
Ilya Fedin
db6c69fa5f
Move writeprotected to global updater variables on Linux
2023-09-20 18:05:45 +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
b35fff01b0
Restore initial working directory on restart
...
So executable path computation still works for the new instance on systems deducing it by argv0
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
f3572e52ac
Don't create a QDir instance for its static setCurrent method
2023-09-20 18:05:45 +04:00
Ilya Fedin
949c486cac
Use a higher-level API for restarts/updates on Linux
...
This gets rid of the custom arguments container
2023-09-20 18:05:45 +04:00
Ilya Fedin
082b5ba782
Get rid of sandboxed paths workaround
...
This is fixed in xdg-desktop-portal 1.17.
There's no way to check xdg-desktop-portal version so it's either not having support for passing last used path at all in sandbox or encountering the bug on old systems.
2023-09-20 17:58:41 +04:00
Ilya Fedin
0f86968afd
Use ServerInformation without std::optional
2023-09-20 17:52:39 +04:00
Ilya Fedin
90f52d80d7
Avoid global copying in Linux native notifications
2023-09-20 17:52:39 +04:00
Ilya Fedin
4e97599e9d
Use Glib::ustring in Linux notification globals
2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b3e69351
Update range-v3 to 0.18.0
2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b4d1edce
Avoid unneeded std::string casts in exception handling
2023-09-20 17:45:37 +04:00
John Preston
a54bc449e4
Version 4.9.9: Add support for Emoji 15.
2023-09-18 23:38:59 +04:00
Ilya Fedin
ea41aab713
Make use of templated XDP::ReadSetting
2023-09-18 19:52:48 +04:00
John Preston
fd00450f44
Version 4.9.9.
...
- Several crash fixes.
2023-09-18 12:45:55 +04:00
John Preston
e22aed55b0
Update submodules.
2023-09-18 12:44:20 +04:00
Ilya Fedin
cb838e6e52
Make use of the new XDP::SettingWatcher constructor
2023-09-18 12:44:20 +04:00
John Preston
3c931b11d6
Clear CacheHelper::waiting mutex in time.
...
I hope this fixes crashes in streaming semaphore usage.
CacheHelper::waiting points to Context::_semaphore, so it
should be cleared before Context is destroyed, not later.
2023-09-18 12:40:02 +04:00
John Preston
a14dbffb65
Fix possible crash in pinned message deletion.
2023-09-18 12:40:02 +04:00
John Preston
64dcae3174
Destroy volume dropdown after volume toggle.
...
This fixes https://bugs.telegram.org/c/31989
When destroying the dropdown first, the volume toggle receives an Enter
event and tries to show the dropdown (that is being destroyed).
2023-09-18 12:40:02 +04:00
John Preston
6af527ac76
Set dynamic box name to crash annotations.
2023-09-18 12:40:01 +04:00
John Preston
e1624e5d22
Fix a possible crash in translations.
2023-09-18 12:40:01 +04:00
Ilya Fedin
21857450f3
Update lib_base
2023-09-17 19:54:54 +04:00
Ilya Fedin
8ea4f26e31
Simplify some using-s
2023-09-17 19:54:54 +04:00
John Preston
76ac6c3be7
Version 4.9.8.
...
- Fix t.me/botname?startapp=token deeplinks.
- Fix a possible crash in media viewer on Wayland.
2023-09-16 07:55:02 +04:00
John Preston
c4c5036ec0
Update submodules.
2023-09-16 07:39:28 +04:00
Ilya Fedin
ad87c2a15e
Re-use the Wayland AutoDestroyer's lifetime in WaylandIntegration::Private
2023-09-16 06:26:51 +04:00
Ilya Fedin
7dbf331e18
Fix org_kde_plasma_surface destroyer lambda leak
2023-09-16 06:26:51 +04:00
John Preston
ab53b4eab7
Fix build of Packer.
2023-09-15 21:48:23 +04:00
John Preston
7d678e5fa7
Fix ringtones downloaded to disk.
2023-09-15 21:18:14 +04:00
John Preston
6adb3e7200
Fix build on macOS.
2023-09-15 20:42:23 +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
John Preston
c12743925e
Support ?startapp=value start_param passing.
2023-09-15 15:36:09 +04:00
John Preston
b17b806d91
Add hide-chats-list-in-forums setting.
2023-09-15 15:36:09 +04:00
John Preston
98ab91a56a
More correct way of applying min stories.
2023-09-14 10:58:29 +04:00
John Preston
0f8d9e885a
Re-update lib_base submodule.
2023-09-14 10:15:22 +04:00
John Preston
bc891ca55e
Don't build too much in libwebp.
2023-09-14 10:10:54 +04:00