Commit graph

14909 commits

Author SHA1 Message Date
Ilya Fedin
2c1a2088b7 Port forgetten places to Core::Launcher::Instance() 2023-06-16 11:38:54 +04:00
Ilya Fedin
1d234ea990 Use argv0 for shortcuts when updater is disabled 2023-06-16 11:38:54 +04:00
Ilya Fedin
8aee08eaef Track argv0 through relaunches 2023-06-16 11:38:54 +04:00
Ilya Fedin
32f13c3716 Deduplicate executable path computation 2023-06-16 11:38:54 +04:00
John Preston
22235226d6 Make the full-tarball script collect nested submodules. 2023-06-14 21:30:15 +04:00
John Preston
9c6ffa0101 Version 4.8.4.
- Fix opening links on Linux.
2023-06-14 16:11:20 +04:00
John Preston
c81e2c525f Update submodules. 2023-06-13 22:59:33 +04:00
Ilya Fedin
074c725c6c Move Platform::ThirdParty::start content to LinuxIntegration 2023-06-13 12:19:21 +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
Ken VanDine
63ccf1bed4 snap: connect to the network-bind interface, necessary on systems where
desktop-legacy isn't supported like Ubuntu Core Desktop.
2023-06-10 17:09:45 +04:00
ZavaruKitsu
336a2ffa76 feat: import ayu_menu icon 2023-06-09 21:39:47 +03:00
ZavaruKitsu
4c9a2e4571 fix: import ghost icon
thx to Solar icon pack
2023-06-09 21:10:33 +03:00
ZavaruKitsu
89036a4c94 feat: implement recentStickersCount 2023-06-09 15:04:25 +03:00
ZavaruKitsu
a5bd116b40 feat: implement enableAds & add views for options 2023-06-09 12:20:56 +03:00
ZavaruKitsu
9aafbddee3 feat: implement showMessageSeconds 2023-06-09 11:15:52 +03:00
ZavaruKitsu
45497bc444 feat: implement showGhostToggleInDrawer
feat: implement `markReadAfterSend`
feat: tweak defaults
fix: remove comma if a message is deleted
2023-06-06 23:59:36 +03:00
Ilya Fedin
ea82c9ba3e Enable control flow protection 2023-06-06 16:04:23 +04:00
ZavaruKitsu
a53c40e03b feat: linux improvements
Co-authored-by: Dr4iv3rNope <Dr4iv3rNope@users.noreply.github.com>
2023-06-05 17:41:01 +03:00
AlexeyZavar
e0bf550932
Merge branch 'telegramdesktop:dev' into dev 2023-06-05 17:26:10 +03:00
ZavaruKitsu
09e24083ff feat: import peer ID view from Kotato
fix: really update string views in AyuGram Preferences
2023-06-05 16:58:43 +03:00
Ilya Fedin
a128fdcc28 Always use Python3 cmake package instead of the Python one 2023-06-05 17:53:32 +04:00
Ilya Fedin
d40205135c Update submodules 2023-06-05 17:49:06 +04:00
Ilya Fedin
30b20a2102 Convert all the dependencies in Dockerfile to use depth=1 2023-06-05 17:49:06 +04:00
ZavaruKitsu
e21ccd6024 feat: settings overhaul
fix: use more translations
2023-06-04 14:36:38 +03:00
ZavaruKitsu
954b367d4f fix: Crowdin translation 2023-06-04 03:11:03 +03:00
AlexeyZavar
85efdfb295 Update Crowdin configuration file 2023-06-04 03:08:03 +03:00
ZavaruKitsu
d24411fde5 feat: import custom language implementation from 64Gram 2023-06-04 03:06:59 +03:00
ZavaruKitsu
2e9f8bfec4 feat: add Ghost mode toggle
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 22:51:07 +03:00
ZavaruKitsu
eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00
Ilya Fedin
be89e57d27 Use ARGN where applicable 2023-06-01 20:04:28 +04:00
Ilya Fedin
7cc191ba61 Update lib_base 2023-06-01 20:01:46 +04:00
Ilya Fedin
8352aeb338 Send mouse release event after startSystemMove/startSystemResize 2023-06-01 20:01:46 +04:00
John Preston
bcf91e2f2c Version 4.8.3: Fix statup crash with passcode. 2023-06-01 11:47:36 +04:00
GitHub Action
1e9087db4a Update User-Agent for DNS to Chrome 113.0.5672.63. 2023-06-01 11:36:47 +04:00
John Preston
c5cb928724 Version 4.8.3.
- Fix main window focus from notifications with disabled animations.
- Some minor fixes and improvements.
2023-05-31 21:50:53 +04:00
John Preston
e1350d6813 Fix webview links opening from webview. 2023-05-31 21:46:32 +04:00
Ilya Fedin
898581badd Update submodules 2023-05-30 20:55:15 +04:00
Ilya Fedin
71570f5be1 Store managed objects inside managers 2023-05-30 20:55:15 +04:00
Ilya Fedin
8c38d31950 C++ify wl_registry 2023-05-30 20:55:15 +04:00
Ilya Fedin
c8407e5bde Update lib_base 2023-05-29 11:07:19 +04:00
Ilya Fedin
2ce9e610fa Update icons when icon theme on Linux changes 2023-05-29 11:07:19 +04:00
Ilya Fedin
6aef6d7f4e Integrate GApplication with QFileOpenEvent and Core::Application::activate 2023-05-29 10:51:40 +04:00
Ilya Fedin
54841de991 Use new base_linux_wayland_utilities 2023-05-25 22:05:13 +04:00
Ilya Fedin
fc66a0eea8 Destroy Wayland integration before Wayland disconnection 2023-05-25 22:05:13 +04:00
Ilya Fedin
e9787170d5 Update Qt to 6.5.1 on Linux 2023-05-25 14:41:02 +04:00
John Preston
d57aa2a1f6 Fix possible crash on MTP::Instance shutdown. 2023-05-25 11:56:09 +04:00
John Preston
2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston
f671897a4d Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.
2023-05-24 20:22:41 +04:00
John Preston
7877463468 Respect peer_types in the switch inline button.
Fixes #26274.
2023-05-24 19:36:58 +04:00