Commit graph

14127 commits

Author SHA1 Message Date
b5999fc87d [Option][Non-stored] Custom API ID and hash 2023-10-03 18:32:36 +03:00
e5c8195af8 [Core] Settings system 2023-10-03 18:32:36 +03:00
1e5770f63d [Core] Versioning and updater 2023-10-03 18:32:35 +03:00
4eb580f354 [Branding] App name (language-dependent) 2023-10-03 18:32:35 +03:00
b63b8f7b3a [Core] Language system
Telegram Desktop uses static language system with code generation, which
requires almost full app rebuild on any string modification, no matter
how small it is.

Since Kotatogram is options-driven, static language system will slow the
development. This language system solves the problem by using JSON and
runtime string search instead.
2023-10-03 18:32:35 +03:00
a3dccba22d [Branding] App name and logo
Featuring macOS icon contributed by gershik.
2023-10-03 18:32:35 +03:00
e5143e01e6 [Docs] Basic documentation and CI 2023-10-03 00:02:33 +03:00
Ilya Fedin
fd0456b037 Update submodules 2023-06-22 17:41:28 +04:00
Ilya Fedin
cadacc1f51 Update submodules 2023-06-19 18:02:49 +04:00
Ilya Fedin
63cc462b06 Migrate from qt_static_plugins.cpp to the Qt6-pregenerated initializators 2023-06-19 18:01:14 +04:00
Ilya Fedin
0eff5236d4 Free disk space for Docker and Snap 2023-06-18 23:40:21 +04:00
Ilya Fedin
9f34f049ec Simplify setting Dockerfile defaults 2023-06-18 23:40:21 +04:00
Ilya Fedin
00a237c144 Update lib_webview 2023-06-17 15:13:31 +04:00
Ilya Fedin
a3cdf19c1f Ensure Wayland integration instance accessor doesn't leak 2023-06-17 15:13:31 +04:00
Ilya Fedin
c9179b78b3 Update lib_base 2023-06-16 11:38:54 +04:00
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
Ilya Fedin
ea82c9ba3e Enable control flow protection 2023-06-06 16:04:23 +04: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
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
John Preston
8a99de16f6 Allow editing messages even if sending is not allowed. 2023-05-24 18:48:48 +04:00