Ilya Fedin
|
b14c2878b3
|
Revert "Move icon name getter to cross-platform header"
This reverts commit d9318c9935 .
|
2025-03-12 14:54:41 +04:00 |
|
John Preston
|
11d0f9db03
|
Try fixing crashes on Linux.
|
2025-03-10 13:32:36 +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 |
|
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 |
|
Ilya Fedin
|
5dbe429e6b
|
Fix NotificationData initialization
|
2025-03-03 18:39:55 +04:00 |
|
Ilya Fedin
|
86a294ce4b
|
Subscribe to XdgNotifications signals on Manager initialization
|
2025-03-01 09:08:10 +04:00 |
|
Ilya Fedin
|
a8d1eadfbf
|
Turn NotificationData into a struct
|
2025-02-28 13:20:53 +04:00 |
|
Ilya Fedin
|
b07d3c5403
|
Decouple GNotification from NotificationData
|
2025-02-28 12:05:09 +04:00 |
|
Ilya Fedin
|
892db55ae1
|
Get rid of NotificationData::init
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
93615fef65
|
Revert "Check whether notification image has alpha channel"
This reverts commit cee593c423 .
Avatars couldn't be opaque anyway while this simplifies porting out of NotificationData
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
87452706ef
|
Remove unused has_weak_ptr from Manager::Private
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
3569615b21
|
Use gi::cstring for notification actions
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
86f7d09d31
|
Pass notification icon name inline
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
d5d1254393
|
Destroy NotificationData signal connections with rpl::lifetme
|
2025-02-28 11:12:08 +04:00 |
|
Ilya Fedin
|
a6315bef05
|
Move GNotiftcation action handlers to Manager
|
2025-02-19 14:42:11 +04:00 |
|
Ilya Fedin
|
cf61dedc79
|
Simplify GNotification actions
|
2025-02-18 21:21:37 +04:00 |
|
Ilya Fedin
|
2ab9587f5f
|
Don't wrap QByteArray into std::shared_ptr
This has no sense as QByteArray is CoW
|
2025-02-18 21:20:53 +04:00 |
|
Ilya Fedin
|
e1f71baed6
|
Move native notifications option check logic to cross platform code
|
2025-01-25 18:33:13 +04:00 |
|
John Preston
|
691a0acdab
|
Allow sound-without-toast again on macOS/Linux.
|
2025-01-24 22:23:27 +04:00 |
|
Ilya Fedin
|
46cf7db242
|
Add support for sound-file notification hint on Linux
|
2025-01-24 11:02:38 +04:00 |
|
John Preston
|
2e74ad6fbe
|
Use common code for local sound disk cache.
|
2025-01-23 11:58:20 +04:00 |
|
John Preston
|
88e80b4fae
|
Version 5.10.4: Fix build with GCC.
|
2025-01-22 23:56:52 +04:00 |
|
John Preston
|
aa0c56876c
|
Use sound in native notifications on macOS.
|
2025-01-22 22:13:28 +04:00 |
|
John Preston
|
d135151477
|
Use native sound support in macOS notifications.
|
2025-01-22 22:13:28 +04:00 |
|
Ilya Fedin
|
471831bcd6
|
Revert "Remove not really needed notification capability checks"
This reverts commit abdfa4f785 .
|
2024-04-25 15:07:51 +04:00 |
|
Ilya Fedin
|
b1e64419a5
|
Fix setting application icon in Linux notifications
|
2024-04-25 11:31:43 +04:00 |
|
Ilya Fedin
|
e2f17f1131
|
Remove unneeded includes from notifications_manager_linux
|
2024-04-25 11:31:43 +04:00 |
|
23rd
|
1c223e570a
|
Slightly improved code style for long equality expressions.
|
2024-04-15 11:20:30 +04:00 |
|
Klemens Nanni
|
776e80b4d6
|
Fix tdesktop 4.15.6 build on OpenBSD
7.5-current with clang 16.0.6 and Qt6 fails, not entirely sure why...
|
2024-04-04 15:52:01 +04:00 |
|
Ilya Fedin
|
e07d53725c
|
Strip notification service start error
|
2024-04-01 09:59:19 +04:00 |
|
Ilya Fedin
|
59e53c1edf
|
Port NotificationId conversion to cppgir
|
2024-03-15 00:00:24 +04:00 |
|
Ilya Fedin
|
c0b612c457
|
Update cppgir
|
2024-03-14 09:29:10 +04:00 |
|
Ilya Fedin
|
abdfa4f785
|
Remove not really needed notification capability checks
If the notification daemon doesn't support any of the hints, it will just ignore them
|
2024-03-13 20:46:34 +04:00 |
|
Ilya Fedin
|
c9d58d4259
|
Use HasCapability directly as an argument to ranges::all_of
|
2024-03-13 20:46:34 +04:00 |
|
Ilya Fedin
|
dba9cada83
|
Don't check whether specification version is null
We log specification version anyway
|
2024-03-13 20:46:34 +04:00 |
|
Ilya Fedin
|
0ec5181566
|
Pre-normalize notification daemon versions
|
2024-03-13 20:46:34 +04:00 |
|
Ilya Fedin
|
886847f457
|
Port notifications_manager_linux to cppgir
|
2024-03-13 20:46:34 +04:00 |
|
Ilya Fedin
|
5b62d97288
|
Update submodules
|
2024-03-08 08:05:12 +04:00 |
|
Ilya Fedin
|
6bc0179919
|
Work with GLIB_VERSION_MAX_ALLOWED
|
2023-10-07 07:08:21 +04:00 |
|
Ilya Fedin
|
2878533078
|
Re-throw original exception in Linux notification's StartServiceAsync
|
2023-10-04 12:07:36 +04:00 |
|
Sergey A. Osokin
|
ac520b314d
|
Fix build on FreeBSD
|
2023-10-02 18:47:10 +04:00 |
|
John Preston
|
99f4b93745
|
Attempt to fix build with Clang on Linux.
|
2023-10-02 17:56:10 +04:00 |
|
Ilya Fedin
|
a757e07c3a
|
Line length clean up in notifications_manager_linux
|
2023-10-02 16:11:02 +04:00 |
|
Ilya Fedin
|
9019a2cb08
|
Remove an unneeded intermediate variable
|
2023-09-27 10:32:24 +04:00 |
|
Ilya Fedin
|
df29af5aea
|
CentOS 7 -> Rocky Linux 8
|
2023-09-20 22:32:35 +04:00 |
|
Ilya Fedin
|
0f86968afd
|
Use ServerInformation without std::optional
|
2023-09-20 17:52:39 +04:00 |
|