Ilya Fedin
5fbf280e4a
Combine startUrls and sendPaths
...
This commit allows to handle multiple URLs of all types as positional arguments simultaneously:
* tg:// links
* tonsite:// links
* interpret:// file paths
* generic file paths (to share files)
This allows to Drag'n'Drop files to the Telegram shortcut/binary.
2025-10-23 10:23:53 +04:00
Ilya Fedin
de89d349ad
Implement launching maps on Linux
2025-10-22 22:01:45 +04:00
Ilya Fedin
dbc9beaa19
Make psLaunchMaps async
2025-10-22 22:01:45 +04:00
Ilya Fedin
1f171c4ed1
Remove unused includes from specific_linux.cpp
2025-10-22 22:01:45 +04:00
23rd
bc90463893
Removed unused variable in macOS file utilities to fix compiler warning.
2025-10-10 11:26:45 +03:00
23rd
7fb486d8d2
Removed unused variable from touchbar item on macOS.
2025-10-10 11:26:42 +03:00
23rd
8bdf8d42d9
Adapted retrieving displays name for Windows from Qt6.6.0.
...
https://github.com/qt/qtbase/commit/6136b92f540c15835e0c7eb7e01ab7b58fbea685
2025-10-10 11:24:07 +03:00
Ilya Fedin
c084396f8f
Show display manufacturer and model on Linux
2025-10-10 11:24:07 +03:00
Ilya Fedin
b29877554c
Make experimental option for non-native notifications cross-platform
2025-10-10 11:24:07 +03:00
23rd
a2d17f6f3f
Added ability to choose display for notifications to settings.
2025-10-10 11:24:07 +03:00
23rd
54018aec90
Added experimental option for non-native notifications on macOS.
2025-10-10 11:24:07 +03:00
23rd
2b93362a57
Added fetching "Mark as read" translation based on macOS language.
2025-09-29 15:12:51 +03:00
23rd
b79fbe2123
Added "Mark as read" action to macOS notifications.
2025-09-29 15:12:51 +03:00
Ilya Fedin
28d19a99e1
Fix build with Qt 6.10
2025-09-24 08:30:48 +04:00
Ilya Fedin
063085a6bb
Format Linux webview socket path using std::format
2025-08-22 18:05:11 +04:00
Ilya Fedin
86b94b4723
Change notification volume visibility on support change
...
Cross platform VolumeSupported wrapper
2025-08-17 14:47:49 +03:00
23rd
a3e8848bc8
Added ability to check if OS has support of notifications volume.
2025-08-17 14:47:49 +03:00
Ilya Fedin
192a56ee15
Shorter notifications proxy check for Linux notifications
2025-08-13 11:19:38 +04:00
Ilya Fedin
051b8c4b63
Limit malloc_trim to once per 10 seconds
2025-08-01 18:48:55 +04:00
John Preston
5d7ae16b4a
Try fixing working on Windows 7.
2025-08-01 11:27:53 +04:00
Ilya Fedin
e070af3163
Limit malloc_trim to once per second
2025-07-21 07:51:48 +04:00
Ilya Fedin
77642d2876
Limit the amount of malloc arenas and call malloc_trim periodically with glibc
...
To prevent excessive memory usage looking like memory leak
2025-07-02 09:38:24 +04:00
John Preston
869854fbc2
Version 5.16: Fix build with GCC.
2025-07-01 23:53:52 +04:00
23rd
ac243136b9
Replaced AboutBox with generic box.
2025-06-29 23:40:24 +03:00
23rd
d06a9e2e5c
Added missing shortcut to toggle fullscreen for windows on macOS.
2025-06-29 21:14:20 +03:00
John Preston
4659d5db5d
Version 5.15.
...
- Send Direct Messages to Channels.
- Enable New Tab Layout for Topics.
- Create Polls with Up To 12 Options.
2025-06-04 22:56:02 +04:00
John Preston
dfc1ec3ccf
Support shared media / pins for sublists.
2025-06-04 10:00:23 +04:00
Ilya Fedin
56ff5808a3
Unify packaged/non-packaged binary name
2025-06-03 18:25:15 +04:00
John Preston
3907a103fc
Fix possible notification click problem.
...
Fixes #29293 .
2025-05-15 15:34:23 +04:00
Ilya Fedin
79cb4668f1
Fix a crash on Linux without actions notification capability
2025-04-23 23:58:12 -07:00
Ilya Fedin
9bdc19e2fd
Format markup-lacking Linux notifications using lng_dialogs_text_with_from
2025-04-11 09:51:19 -07:00
Ilya Fedin
7d0beafce0
Ensure currentImageBack isn't null
2025-03-28 23:07:55 +05:00
Ilya Fedin
3c2f8b65ce
Let QIcon::fromTheme check whether the tray icon is valid
...
QIcon::fromTheme overload with a fallback does a smarter check whether the icon is valid, use it to prevent getting a half-valid QIcon.
2025-03-27 21:58:36 +05:00
Ilya Fedin
2660439160
Fix Platform::ApplicationIconName for snap
...
Looks like it broke through rebases
2025-03-14 10:22:24 +04:00
Ilya Fedin
31cb2f1999
Switch tray to symbolic icons
...
This allows to rely on GTK recoloring rather than requiring the user to have an icon theme
2025-03-12 14:54:41 +04:00
Ilya Fedin
a6a8e32be7
Install app icon in a spec-compilant way
2025-03-12 14:54:41 +04:00
Ilya Fedin
594bb8a76b
Support icon themes in snap
2025-03-12 14:54:41 +04:00
Ilya Fedin
228bbc1e8e
Always use app ID based icon name
...
This allows to unify it between flatpak and non-flatpak builds and corresponds to what most other GUI apps on Linux do
2025-03-12 14:54:41 +04:00
Ilya Fedin
b14c2878b3
Revert "Move icon name getter to cross-platform header"
...
This reverts commit d9318c9935 .
2025-03-12 14:54:41 +04:00
Ilya Fedin
57f10040e1
Get rid of XEmbed mentions
...
The code goes through Qt abstractions which not necessarily go through XEmbed
2025-03-12 14:53:43 +04:00
Ilya Fedin
0fb67c78a9
Add a method to calculate instance hash to Launcher
2025-03-12 14:53:21 +04:00
John Preston
11d0f9db03
Try fixing crashes on Linux.
2025-03-10 13:32:36 +04:00
Kaiyang Wu
19d7dd7aa3
fix(integration_linux): include core_settings.h with Qt version <= 6.5.0
...
Signed-off-by: Kaiyang Wu <self@origincode.me >
2025-03-09 20:33:20 +04:00
Ilya Fedin
700e10d32c
Use flat_map::remove in clearFrom{Topic,Item}
...
Now that notification closing happens in destructor, the iterator is no more needed
2025-03-06 17:30:26 +04:00
Ilya Fedin
4ac48d0e4a
Fix clearFromTopic on Linux
...
Looks like it was broken since addition
2025-03-06 16:41:34 +04:00
Ilya Fedin
345b2cb835
Move notification closing to NotificationData destruction
2025-03-04 14:17:43 +04:00
Ilya Fedin
b962309498
Move hints.lookup_value() out of xdg_notifications_notifications_call_notify
...
Or it gets executed after hints.end() which clears hints
2025-03-04 12:28:37 +04:00
Eugene
e99cb9bfb8
Ensure policy check before creating Zone.Identifier for downloaded files on Windows
2025-03-04 10:47:31 +04:00
Ilya Fedin
9e12e18f90
Clean up unnecessary calls to Manager::Private::clearNotification
...
It was added to replicate NotificationData::close but lots of places call it after the notification is already cleared
2025-03-03 18:40:22 +04:00
Ilya Fedin
66fc9b38df
Fix a race condition with asynchronous notification sending
2025-03-03 18:40:06 +04:00