Ilya Fedin
6206b6f843
Adapt indicator-application check for sandboxed environments
...
Fix quality loss in the tray icon image
Fix window showing by clicking on the tray icon on macOS
Fix tray icon displaying on KDE
2020-02-10 15:09:47 +04:00
Kai Uwe Broulik
9e3fa2e4bc
Check action id when invoked
...
Makes it more resilient
2020-02-10 14:45:07 +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
2807c5ef19
Use system icon theme and increase icon size
2020-01-31 16:03:41 +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
74942cd06e
Use QDBusConnection::connect to fix signal connection on old distributions
2020-01-28 16:43:23 +03:00
John Preston
24da40ef05
Fix -startintray on Ubuntu.
2020-01-28 11:41:05 +03:00
Ilya Fedin
1d85416434
Remove unneeded include from QtDBus notifications
2020-01-24 18:06:58 +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
Vitaly Zaitsev
b94c8436eb
Added missing Qt header. Fixed clang build.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-24 15:35:15 +03:00
Ilya Fedin
ffe037f9f1
Fix single instance socket path for compatibility with flatpak
2020-01-23 09:58:12 +03:00
John Preston
fef90ea363
Fix build for Linux.
2020-01-21 23:32:05 +03:00
Ilya Fedin
0480611bf8
Add possibility to build without dbus
2020-01-21 23:30:47 +03:00
John Preston
48b24d12b2
Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux.
2020-01-21 18:47:36 +03:00
kbroulik
b50073d281
Implement inline-reply
...
On supported notification servers (currently only KDE Plasma 5.18+) this
action will create a reply text field inside the notification.
2020-01-21 15:27:50 +03:00
Ilya Fedin
2298eed8bf
Use QStringList::contains also
2020-01-21 11:57:52 +03:00
Nicholas Guriev
8fab9167be
Use QStringList::join to print notifications capabilities
2020-01-20 14:05:00 +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
afe34121af
Use MACRO_TO_STRING from lib_base.
2020-01-17 14:15:40 +03:00
Ilya Fedin
ee9336f781
Fix notification actions for Cinnamon, fix notification icon for Gnome, add support for TDESKTOP_LAUNCHER_FILENAME in notifications and fix indentation
2020-01-17 13:40:31 +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
da4120bddd
Fix building without glib.
2019-11-18 10:52:32 +03:00
John Preston
c961acabbc
Include private header only if needed.
2019-11-18 10:52:08 +03:00
Christian Hesse
0c0c8f3584
libnotify: capabilities are not exclusive
...
Capabilities "actions" and "body-markup" can be available at the
same time.
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-11-13 11:22:08 +03:00
John Preston
7bb23519f9
Use base::Platform::ShowInFolder.
2019-10-19 12:27:56 +04:00
John Preston
30a1bd7ba2
Use base::call_delayed.
2019-10-19 12:27:56 +04:00
John Preston
2fc9fd5887
Remove some unused code.
2019-10-19 12:27:56 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
3b0bf7cb1e
Move some more widgets and effects.
2019-10-01 23:59:46 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
f463d3ec6d
Divide autoupdate paths for OS versions.
2019-09-10 14:22:20 +03:00
John Preston
c9c0d74b68
Fix build for Linux.
2019-09-09 17:50:26 +03:00
John Zimmermann
fd4f384c3b
Allow GDK wayland backend when Telegram is running under Wayland
...
and make sure that it never tries to load gtk2 under wayland, it can
lead to Telegram crashing
2019-09-09 10:25:01 +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
3715fa4b1e
Fix scheduled notifications on inbox read.
2019-08-30 17:06:21 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
e9ab8df737
Use QLocale::uiLanguages for system language.
2019-08-09 11:51:36 +01:00
Vitaly Lipatov
9276101809
Get language name and country name from QLocale (Linux)
2019-08-09 11:51:36 +01:00
John Zimmermann
0c3773486e
linux/specific_linux.h: remove unnecessary include of execinfo
2019-08-09 11:51:35 +01:00
Konstantin Popov
b831766375
Make .desktop file search respect TDESKTOP_LAUNCHER_FILENAME
2019-08-09 11:51:35 +01:00
Nicholas Guriev
325989ed47
Fix small typo
2019-08-09 11:51:35 +01:00
John Preston
0e964b06dc
Hook main queue processing to update requests.
2019-07-04 16:26:13 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +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
0868a9f7b9
Use Controller::account in MainWindow.
2019-06-06 14:59:00 +03:00
John Preston
dd68c7e90d
Use Window::Controller to manage MainWindow.
2019-06-06 14:20:21 +03:00
John Preston
dcdaee3db2
Beta version 1.7.4: Fix build for Xcode.
2019-06-04 21:13:47 +03:00
John Preston
1fb529803e
Add an 'Update your OS' top bar.
...
Set EOL for Windows XP / Vista version at September 1, 2019.
2019-06-04 14:28:13 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
45a6985df5
Force GTK file chooser only in the official builds.
2019-05-31 12:03:10 +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
23rd
b2f821d3de
Updated version of GCC to 8.
2019-05-20 15:59:06 +03:00
John Zimmermann
4d42e7e5b9
Correctly set _desktopFile to Telegram.desktop if Telegram.desktop was found
2019-04-25 13:39:40 +04:00
John Preston
7cfb122dea
Fix crash with event loop nesting tracking.
2019-04-12 17:30:43 +04:00
Vitaly Zaitsev
14ad7a2479
Fixed "Show in Folder" feature on Gnome 3.30+.
...
Parameter --no-desktop is deprecated and should not be used.
Closes #5896 .
2019-04-10 11:20:01 +04:00
John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04: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 Zimmermann
add2356c8a
Generalize Unity Integration to not depend on libunity
2019-02-01 12:34:55 +03: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
John Preston
3e7a688811
Fix tray icon counter on Linux.
...
Fixes #5525 .
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
Anton Skorochod
4416dab6c1
Allow UnityCounters for KDE5 resolves #4554
2018-12-06 10:57:07 +04:00
John Preston
6562a1f6af
Add 'Count unread messages' option.
2018-12-04 14:32:48 +04:00
John Preston
338129faea
Destroy boxes in Ui::hideLayer().
2018-11-26 15:00:31 +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
Nicholas Guriev
b6432e7d13
Switch to Ayatana Indicators
2018-11-13 10:30:54 +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
Kirill Romanov
496c361bdc
Gnome notification fix ( #5215 )
...
* Set notification desktop entry hint
* Set X-GNOME-UsesNotifications flag
2018-11-08 14:58:04 +04:00
Marco Trevisan (Treviño)
dcb748c544
destkop: add keywords stanza
...
They are used by mayor desktops to search through apps.
Remove this modification from snapcraft
2018-11-06 09:50:59 +04:00
John Preston
4e6f55e176
Closed alpha version 1.4.4.1: Fix build for macOS.
2018-11-04 15:51:38 +04:00
John Preston
6db4972208
Fix blurry App Switcher icon on macOS.
...
Fixes #5267 .
2018-11-04 15:51:38 +04:00
John Preston
a429e22b93
Beta version 1.4.4: Add some checks.
2018-10-17 09:25:24 +03:00
Grishka
44eac2bf07
Added support for platform-specific microphone permission in calls
2018-10-17 08:53:23 +03:00
John Preston
6e566e0165
Swap 'alpha' and 'beta'. Happy debugging!
2018-09-26 21:23:08 +03:00
Henning Schild
5292d75617
Linux: disable RegisterCustomScheme when internal updater is disabled
...
Closes: https://github.com/telegramdesktop/tdesktop/issues/5118
Signed-off-by: Henning Schild <henning@hennsch.de>
2018-09-01 10:12:09 +03:00
John Preston
c8aa35d23c
Don't show PopupMenu for inactive window on macOS.
...
This is a fixup for 06bf67c146
.
2018-08-04 15:17:23 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
52e7ddf079
Add '-externalupdater' command-line argument.
...
Now no-autoupdater mode can be switched on in runtime.
Also TDESKTOP_DISABLE_AUTOUPDATE build is disabled in CI (trivial).
Fixes #4895 .
2018-07-12 18:35:59 +03:00
John Preston
b0077d98f0
Version 1.3.7: Fix file dialog parent widget.
...
Regression was introduced in 67ea175fc6
.
Fixes #4817 .
2018-06-11 23:40:30 +03:00