Commit graph

15493 commits

Author SHA1 Message Date
John Preston
5514ab0ccf Fix warnings after Xcode 15 / target 10.13 update. 2023-09-22 11:01:46 +04:00
John Preston
63a753d35c Beta version 4.9.10.
- Update Qt to 6.2.5 on macOS.
- Update minimum target to macOS 10.13 and toolchain to Xcode 15.
- Update Linux build host from CentOS 7 to Rocky Linux 8.
- Update Linux toolchain to GCC 12.
2023-09-22 09:43:32 +04:00
John Preston
4e82b7973f Suppress warning in libtgvoip json11. 2023-09-22 09:43:32 +04:00
John Preston
09094affed Improve boosted channel replacement design. 2023-09-22 09:43:32 +04:00
John Preston
c5634580f6 Add view button to channel boost link previews. 2023-09-22 09:43:32 +04:00
John Preston
7828a92f08 Implement views/reactions polling in channels. 2023-09-22 09:43:32 +04:00
John Preston
e60e65f574 Toggle suggested reaction counter animated. 2023-09-22 09:43:32 +04:00
John Preston
7a25d70240 Support all cases for BoostBox. 2023-09-22 09:43:32 +04:00
John Preston
01428572b0 Add shadow for white suggested reactions. 2023-09-22 09:43:32 +04:00
John Preston
a43a5ce6c5 Improve reaction selector position. 2023-09-22 09:43:32 +04:00
John Preston
d4ba01bad0 Suggested reaction effect around the widget. 2023-09-22 09:43:32 +04:00
John Preston
5d5cae7860 Implement suggested reaction count. 2023-09-22 09:43:32 +04:00
John Preston
f3db7e636b Implement channel stories views / reactions. 2023-09-22 09:43:32 +04:00
John Preston
1c2951598b Handle t.me/channel?boost links. 2023-09-22 09:43:32 +04:00
John Preston
39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
John Preston
29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston
b2c9a92c3e Hide reply field in channel stories. 2023-09-22 09:43:31 +04:00
John Preston
f3647d7f8c Show saved stories / current stories in channels. 2023-09-22 09:43:31 +04:00
John Preston
f3e65181cd Initial suggested reaction implementation. 2023-09-22 09:43:31 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
Ilya Fedin
1bde096417 Minimize amount of code to rebuild when switching options 2023-09-22 09:14:01 +04:00
John Preston
3db0b11a6b Bump minimum macOS deployment target to 10.13. 2023-09-22 09:03:12 +04:00
John Preston
8d00d93949 Fix uninitialized warning in build with GCC. 2023-09-22 09:03:00 +04:00
Ilya Fedin
277fe540dc Update Qt to 6.2.5 on macOS 2023-09-22 08:49:53 +04:00
Ilya Fedin
1683dccb50 Always set AppUserModelID on Windows 2023-09-21 13:39:26 +04:00
Ilya Fedin
47195e316f Don't load SetCurrentProcessExplicitAppUserModelID dynamically
It's supported since Windows 7
2023-09-21 13:39:26 +04:00
Ilya Fedin
8c9014fcf6 Update all third party submodules 2023-09-21 12:53:07 +04:00
Ilya Fedin
2d7675ace0 Update all dependencies in snap 2023-09-21 12:53:07 +04:00
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