Ilya Fedin
d47e94ea4d
Fallback to launcher basename if FLATPAK_ID variable is empty
2020-03-16 13:04:52 +04:00
Ilya Fedin
99a8c93ac1
Fix build with gcc 9
2020-03-16 13:00:16 +04:00
Ilya Fedin
ba5d9eda2d
Minimize dbus requests
2020-03-11 11:43:14 +04:00
Ilya Fedin
5927e8272c
Convert TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION to runtime environment variable
2020-03-09 11:02:45 +04:00
Ilya Fedin
7202ffca76
Remove unneeded TrayIconFileTemplate function
...
Use /.flatpak-info instead of deprecated /run/user/$UID/flatpak-info
Improve indentation in UseXDGDesktopPortal and IsAppIndicator
Remove unneeded NeedTrayIconFile and rename IsAppIndicator to IsIndicatorApplication
Include only needed part of QtDBus in main_window_linux.cpp
Remove usage of QDBusInterface from SandboxAutostart and IsSNIAvailable
Don't check dbus activatable services in IsIndicatorApplication
Move XEmbed menu initialization to initTrayMenuHook, tray availability check to initHook
Don't create unneeded file for tooltip icon, since indicator-application doesn't support tooltips
Passthrough counter from updateIconCounters
Suppress log errors for LastUserInputTime on GNOME
Set applcation name and icon name for pulseaudio
2020-03-06 18:28:56 +04:00
Ilya Fedin
5c89dfad85
Implement LastUserInputTime on Linux
...
This is a dbus implementation, ideally a X11 implementation should be added as a fallback to get it work on non-mainstream DEs (and WMs)
2020-03-03 18:39:31 +04:00
Ilya Fedin
7bd0598555
Unified function to detect icon name on Linux
2020-02-27 15:17:32 +04:00
Ilya Fedin
8b704f9bd7
Fix escaping in linux launcher creating
2020-02-27 11:51:28 +04:00
John Preston
3b327d9397
Fix launching with data in ~/.TelegramDesktop
...
Regression was introduced in 60612635ef
.
Fixes #7289 .
2020-02-26 20:13:40 +04:00
Ilya Fedin
5bdc0db9e2
Generalize backward compatibility of linux launcher
2020-02-21 18:12:48 +04:00
Ilya Fedin
ca1623f34a
Use XDG Desktop Portal only when variable is set
2020-02-21 18:11:24 +04:00
Ilya Fedin
3574a9c874
Fix lost qgetenv in GetLauncherBasename
2020-02-11 13:14:22 +04:00
Ilya Fedin
e62f727135
Fix creating of autostart launcher in snap
2020-02-10 19:30:41 +04:00
Ilya Fedin
77719750ee
Fix name of the snap desktop file
...
Use new switch for GSL
2020-02-10 15:34:03 +04:00
Ilya Fedin
3b4dfa1381
Use LXQt's StatusNotifierItem implementation instead of appindicator
2020-02-05 18:38:34 +04:00
John Preston
28a567986d
Try linking some libs dynamically on Linux.
2020-01-31 16:33:35 +03:00
Ilya Fedin
0477bda929
Use XDG Desktop Portal for file dialog
2020-01-31 16:02:11 +03:00
Ilya Fedin
d80b3fda7d
Fix duplicate object path in SandboxAutostart and add some logging
2020-01-31 15:47:44 +03:00
Ilya Fedin
a831c1703a
Split launcher filename detection to a function
2020-01-31 15:46:39 +03:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
Ilya Fedin
9536a3c98e
Use packaged build in the snap package
2020-01-28 20:38:12 +03:00
Ilya Fedin
05eabfd539
Add autostart support for linux
2020-01-28 16:44:27 +03:00
Ilya Fedin
04cfd598e2
Use appindicator in flatpak and fix desktop environment detection, add pavucontrol-qt
2020-01-24 16:51:50 +03:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
Ilya Fedin
0bcc4befa1
Change fc-custom.conf condition to DESKTOP_APP_USE_PACKAGED
2020-01-17 17:49:07 +03:00
John Preston
4eeac7dc18
Fix whitespace and indentation errors.
...
See #6672 , thanks Sea-n.
2020-01-02 14:25:53 +03:00
ilya-fedin
3d36b4f866
Replace libnotify with QtDBus notification implementation ( #6825 )
2019-12-29 18:41:45 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
12a020cd09
Beta version 1.8.5: Fix build for Linux.
2019-09-08 23:38:45 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
1225c9194a
Fix window title on Windows 7.
...
Regression was introduced in dd68c7e90
.
Fixes #6106 .
2019-06-07 14:46:07 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
23rd
9059b2e617
Fixes for Audio Player in touchbar.
...
- Removed unused Platform::SetTouchBar.
- Added rpl::event_stream in Media Player Instance for handle closing player.
- Fixed hiding of touchbar when last track is ended.
- Fixed display of time when last track is ended.
- Slightly refactored.
2019-05-27 15:34:58 +02:00
23rd
58604406f8
Added initial implementation touchbar.
2019-05-27 15:34:54 +02:00
John Preston
f1b0b60340
Fix possible crash in MainWindow destructor.
2019-03-24 12:12:41 +04:00
John Preston
0df628dc7a
Fix notifications hiding on Linux.
...
Regression was introduced in 3372dfcd3e
.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes #5791 .
2019-03-14 21:59:10 +04:00
23rd
3372dfcd3e
Refactored checking of last input while notifications are displayed.
...
- Removed condition for Windows platform only.
- Added smooth hiding of notifications in case video is watched or voice message is recorded.
- psUserActionDone() was completely replaced with Core::App().updateNonIdle().
2019-03-10 22:02:58 +04:00
23rd
78d00bcf22
Refactored counting idle time.
...
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed #5695 .
- Thanks Preston. =)
2019-03-10 22:02:58 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
646d15b257
Add LSFileQuarantineEnabled to the .plist
2019-01-29 14:52:33 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
65430d92ea
Refactor calls settings panel.
2019-01-11 17:30:57 +04:00
Gregory K
11b991cddc
Add call settings ( #5540 )
2019-01-05 15:08:02 +04:00
John Preston
d1be4c6d96
Fix crash with event loop nesting.
2018-12-25 14:11:10 +04:00
John Preston
de4a477686
Mark event loop nesting more carefully.
...
Fixes #5506 . I hope fixes #5508 .
2018-12-23 16:08:48 +04:00
John Preston
3f58c930e3
Use separate download folder for support.
2018-11-22 17:15:52 +04:00
Vitaly Zaitsev
31e3a426a6
Refactored FallbackFontConfig() to use native Qt methods.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-11-16 20:09:33 +04:00
John Preston
997d1fbc80
Move custom fonts.conf to resources.
2018-11-12 17:34:47 +04:00
John Preston
8ee958bfa0
Force custom bundled fonts.conf if fontconfig is new.
...
If system fontconfig version is 2.13 or above use custom FONTCONFIG_FILE.
Fixes #4493 , fixes #4240 .
2018-11-12 15:26:36 +04:00