Commit Graph

15637 Commits

Author SHA1 Message Date
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
Ilya Fedin 9653cfdd56 Update lib_base 2023-09-14 09:27:13 +04:00
Ilya Fedin 0b4a255acc Use SNAP_INSTANCE_NAME in SingleInstanceLocalServerName
That's what snapd's apparmor profiles use
2023-09-14 09:27:13 +04:00
John Preston 94feb953aa Version 4.9.7.
- Fix direct bot web app links handling.
- Close main menu when opening a web app.
- Bump libwebp revision.
2023-09-13 21:16:03 +04:00
John Preston 7b65c9174f Link system libwebp instead of Qt-s. 2023-09-13 21:07:24 +04:00
John Preston e74021fbc9 Show "Open Bot" button for main menu apps. 2023-09-13 20:51:01 +04:00
John Preston e6a474d720 Close main menu on a web app opening. 2023-09-13 20:51:01 +04:00
23rd 976c696004 Slightly improved style of mini icons in dialogs list for replies story. 2023-09-13 12:09:16 +03:00
John Preston c057c88d30 Try title overscroll colors only on macOS. 2023-09-13 09:04:29 +04:00
John Preston 674bab69f5 Send viewport updates in web-apps. 2023-09-13 09:04:28 +04:00
John Preston 97d93b23dc Fix direct bot app links. 2023-09-13 08:24:38 +04:00
23rd d363a6ea84 Replaced url click handler in view buttons with external sponsored link. 2023-09-13 00:34:00 +03:00
John Preston da7e8a8dc3 Version 4.9.6: Fix build. 2023-09-12 21:14:01 +04:00
John Preston 4296f93e1a Version 4.9.6.
- Some bot web-app improvements.
- Bug fixes and other minor improvements.
2023-09-12 21:02:22 +04:00
John Preston d0b16ce05b Fix macOS webview transparent background. 2023-09-12 21:01:12 +04:00
John Preston c3340fd016 Don't destroy by timer single-view media. 2023-09-12 21:01:12 +04:00
John Preston 36f1a18b3b Show terms on attach bot direct link app. 2023-09-12 21:01:12 +04:00
John Preston ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston 229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
John Preston fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston 73f3110403 Update API scheme to layer 163. 2023-09-12 21:01:11 +04:00
Ilya Fedin dfa5386a27 Ensure closing is supported for running in background 2023-09-12 19:49:48 +04:00
John Preston e5227a7e05 Improve OpenGL windows on macOS.
Fix #26268 by adding a workaround for incorrect FBO size.
Fix #26166 by forcing sRGB color scheme on all app windows.
2023-09-12 11:41:31 +04:00
John Preston a6b844408a Add verified/fake/scam badge to ConfirmInviteBox. 2023-09-12 11:40:33 +04:00
John Preston dbd4aecc56 Don't show message bottom info in bot about. 2023-09-12 11:40:33 +04:00
23rd 3332f012cf Added tooltip and ability to copy external link to sponsored messages. 2023-09-12 11:40:33 +04:00
23rd 456f4d7b8a Fixed api id and hash in Github Action on Windows for nightly builds. 2023-09-12 11:40:33 +04:00
Ilya Fedin 0b4ef3214e Leverage QImage's CoW in Linux native notifications 2023-09-12 10:29:29 +04:00
Ilya Fedin e946bf5338 Run in background on Linux when minimization is not supported 2023-09-12 10:27:13 +04:00