ZavaruKitsu
3ccb0e16fc
fix: taskbar on Windows
...
fix: more branding
fix: smth
2023-09-07 21:51:22 +03:00
ZavaruKitsu
96461b91c5
Merge tag 'v4.9.4' into dev
...
# Conflicts:
# Telegram/Resources/winrc/Telegram.rc
# Telegram/Resources/winrc/Updater.rc
# Telegram/SourceFiles/core/version.h
# Telegram/lib_ui
# cmake
2023-09-01 17:20:58 +03:00
ZavaruKitsu
649e0b0412
feat: icon picker
...
Inspired by Forkgram's icon changer
Need to refactor a bit later
2023-09-01 17:17:16 +03:00
ZavaruKitsu
58e1c9ff54
feat: more AyuGram branding
...
feat: update README
feat: update CONTRIBUTING
fix: add note for Linux
fix: rename xdg shortcut
fix: remove snap
fix: rename AyuGram executable in the updater
fix: use different GUIDs
2023-08-27 13:40:55 +00:00
ZavaruKitsu
62cfe5ef98
Merge tag 'v4.9.3' into dev
...
# Conflicts:
# Telegram/Resources/winrc/Telegram.rc
# Telegram/Resources/winrc/Updater.rc
# Telegram/SourceFiles/core/version.h
# Telegram/lib_ui
2023-08-27 09:07:54 +00:00
Ilya Fedin
396635fa1d
Make use of the new window-less base::Platform::XDP::ParentWindowID
2023-08-25 10:21:25 +02:00
Ilya Fedin
4755be4ace
Add missing returns to skip taskbar Linux abstraction
2023-08-24 11:44:06 +02:00
Ilya Fedin
07bbfd1353
Make dark mode update go through Qt code on Linux
...
This makes the behavior consistent and is possible now thanks to a Qt patch
2023-08-18 17:09:21 +02:00
John Preston
80fb506f84
Use underlying QPlatformSystemTrayIcon on Windows.
...
Fixes #26655 .
2023-08-15 12:11:45 +02:00
ZavaruKitsu
e5ff26b2eb
Merge tag 'v4.8.11' into dev
...
# Conflicts:
# Telegram/Resources/winrc/Telegram.rc
# Telegram/Resources/winrc/Updater.rc
# Telegram/SourceFiles/core/version.h
# Telegram/lib_ui
2023-08-11 12:44:07 +00:00
John Preston
58c91be156
Fix location links with Bing Maps uninstalled.
...
Fixes #26506 .
2023-08-11 11:47:18 +02:00
Ilya Fedin
786d8dd22e
Get rid of QOpenGLWidget in main_window_mac
...
ui_window_mac has logic depending on Qt version to use Metal when possible, this will conflict once Qt is updated to 6.4+
2023-08-10 19:37:53 +04:00
Ilya Fedin
12eed5f433
Get optional string support in cppgir
2023-08-10 19:33:01 +04:00
Ilya Fedin
c2e96db358
Fix a typo in the LinuxIntegration event dispatcher warning
2023-08-06 21:20:10 +04:00
Ilya Fedin
1cad1966f7
Try to instantiate GApplication instance without nested event loop
2023-08-06 21:20:10 +04:00
Ilya Fedin
8669e6a891
Port GApplication to cppgir
2023-08-06 21:20:10 +04:00
Ilya Fedin
0e3e0c5b81
Do a D-Bus request instead of systemctl command for D-Bus config reload
2023-08-03 18:14:17 +04:00
Ilya Fedin
da55698a51
Generate GUID for GNotification
...
That's what g_application_send_notification does when ID is not passed and that simplifies the code
2023-08-03 18:12:55 +04:00
Ilya Fedin
cf781e1043
Port AppLaunchContext to cppgir
2023-08-03 18:11:31 +04:00
ZavaruKitsu
1f6c440341
Merge remote-tracking branch 'tdesktop-ustream/dev' into dev
...
# Conflicts:
# Telegram/CMakeLists.txt
# Telegram/Resources/winrc/Telegram.rc
# Telegram/Resources/winrc/Updater.rc
# Telegram/SourceFiles/core/version.h
# Telegram/lib_ui
# lib/xdg/org.telegram.desktop.service
2023-08-01 09:59:53 +00:00
John Preston
8ec0bdcac9
Version 4.8.10: Fix build with GCC.
2023-07-28 21:46:41 +04:00
John Preston
8cc90c3373
Fix media viewer with MacBook top notch.
2023-07-25 12:30:52 +04:00
Ilya Fedin
272d2da04a
Stabilize app id on Linux when -workdir is set to the default workdir
...
Currently the app id hash is generated from workdir path only when it's set explicitly and that's for a good reason: the default workdir could be changed (e.g. by creating a TelegramForcePortable) and app id would change what would result in a duplicate .desktop created.
The current code has the possibility of having duplicate .desktop files, too, as it happened, but by specifying -workdir to the same directory as the default one.
There's now a check that ensures the specified workdir is really custom so those duplicate launchers could be removed what should really stabilize the hash.
2023-07-24 10:37:38 +04:00
ZavaruKitsu
8ee9054831
feat: merge
2023-07-23 00:21:48 +00:00
Ilya Fedin
30c73fbdf2
Fix D-Bus service with non-standard workdir or backslash in the path
...
Working dir not set leads to unrelevant instance being launched with unrelevant bus name and entire launchf fails.
D-Bus service files also don't need backslash escaping unlike the .desktop files.
2023-07-21 17:53:24 +04:00
Ilya Fedin
3cb49127f4
Make a weak pointer for GApplication startup lambda
...
Or it never gets destroyed
2023-07-21 06:48:57 +04:00
Ilya Fedin
9ccb11bd1a
Avoid using const_string for constant consumed by std::string
2023-07-20 21:39:06 +04:00
Ilya Fedin
d60d80ba63
Reuse lib_ui's title control side deduction code
2023-07-20 17:58:41 +04:00
Ilya Fedin
f817df9d7f
Use new glibmm 2.78 API
2023-07-20 17:58:07 +04:00
John Preston
d28bd36d22
Load and show list of users who viewed a story.
2023-07-20 07:20:10 +04:00
John Preston
ae94cd2d42
Allow navigating to stories of sibling users.
2023-07-20 07:20:08 +04:00
Ilya Fedin
0534a2fb62
Fix QGuiApplication::desktopFileName usage
...
The Qt documentation says:
This is the file name, without the full path or the trailing ".desktop" extension of the desktop entry that represents this application according to the freedesktop desktop entry specification.
Qt 6.5.2 also automatically fixes it breaking all the current tdesktop and desktop-app usage expecting the file extension.
2023-07-19 23:51:50 +04:00
ZavaruKitsu
eb9b35461b
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into telegramdesktop-dev2
2023-07-18 11:19:23 +00:00
Ilya Fedin
2dfe858327
Support D-Bus activation
2023-07-01 21:05:42 +04:00
Ilya Fedin
0421e41c47
Check actual executable path instead of cExeName in GenerateDesktopFile
2023-07-01 21:05:42 +04:00
Ilya Fedin
a3cdf19c1f
Ensure Wayland integration instance accessor doesn't leak
2023-06-17 15:13:31 +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
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
ZavaruKitsu
a53c40e03b
feat: linux improvements
...
Co-authored-by: Dr4iv3rNope <Dr4iv3rNope@users.noreply.github.com>
2023-06-05 17:41:01 +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
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
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
John Preston
f46f655a0e
Revert "Disable xcb_xlib"
...
This reverts commit d1ff6e583d
.
Otherwise HIME input is broken:
https://github.com/telegramdesktop/tdesktop/issues/26228
2023-05-24 18:11:36 +04:00