Commit Graph

15185 Commits

Author SHA1 Message Date
Kovid Goyal
9b19f300fe Drop support for building without UserNotifications
Trying to maintain the two code paths is too much effort given all the
new features being added to notifications.
2024-07-30 07:39:53 +05:30
Kovid Goyal
e97c225b6c Add *_into API for streaming encode/decode 2024-07-30 07:18:33 +05:30
Kovid Goyal
8d36677d41 Add a decode_into API for streaming base64 decoding
Allows buffer reuse
2024-07-29 22:30:36 +05:30
Kovid Goyal
d2ced8d6e1 Add a streaming base64 encoder 2024-07-29 22:08:13 +05:30
Kovid Goyal
8b54d19326 ... 2024-07-29 21:27:42 +05:30
Kovid Goyal
b52275e0b5 Simplify API of streaming base64 decoder further 2024-07-29 21:24:45 +05:30
Kovid Goyal
212d7accfc Allow multiple types per notification 2024-07-29 20:52:54 +05:30
Kovid Goyal
4bc532a2d0 Clarify base64 and utf-8 encoding requirements 2024-07-29 20:42:55 +05:30
Kovid Goyal
9047df5080 Use a more correct method name 2024-07-29 20:17:52 +05:30
Kovid Goyal
4ba9fcaf37 Simplify streaming base64 decoder by using the streaming API of libbase64 2024-07-29 20:08:28 +05:30
Kovid Goyal
eb1bb493a7 Ensure icon cache is cleared at exit 2024-07-29 15:24:18 +05:30
Kovid Goyal
7023e1506b get icon by path loading working in the notify kitten 2024-07-29 15:10:11 +05:30
Kovid Goyal
8cfe1d7a16 DRYer 2024-07-29 14:53:41 +05:30
Kovid Goyal
10d62a9596 ... 2024-07-29 14:44:30 +05:30
Kovid Goyal
8b8e752ece Only read each index.theme once 2024-07-29 14:43:02 +05:30
Kovid Goyal
ad48ecad40 Implement handling of icon names on Linux 2024-07-29 14:39:20 +05:30
Kovid Goyal
6e35289f8e Allow sending icon data without an identifier 2024-07-29 10:41:05 +05:30
Kovid Goyal
a38153c890 Make table alphabetically sorted 2024-07-29 10:12:56 +05:30
Kovid Goyal
896833a4f7 notify kitten: Wait for close now implemented 2024-07-29 10:08:37 +05:30
Kovid Goyal
9bd155ae50 More work on notify kitten 2024-07-29 08:21:45 +05:30
Kovid Goyal
f6a24af229 Merge branch 'docs-env' of https://github.com/gileri/kitty 2024-07-29 07:41:09 +05:30
Kovid Goyal
2e829c1349 Sleep longer before retrying to give VM more time to startup 2024-07-29 07:19:10 +05:30
Kovid Goyal
1b1f5656ee more work on notifications kitten 2024-07-29 07:13:32 +05:30
gileri
3bdbf19bb0 Fix env assignation in ssh kitten docs 2024-07-28 22:35:19 +02:00
Kovid Goyal
00737ebf30 Fix build of hyperlinked grep 2024-07-28 21:13:54 +05:30
Kovid Goyal
a19ce66e62 Automate finding of kittens that need Go CLIs generated 2024-07-28 21:07:28 +05:30
Kovid Goyal
674432f886 Round out the options for the new notify kitten 2024-07-28 20:52:44 +05:30
Kovid Goyal
5c1af0fcb1 Start work on the notify kitten 2024-07-28 20:41:01 +05:30
Kovid Goyal
eca487d15f Add support for auto-expiring notifications 2024-07-28 20:14:39 +05:30
Kovid Goyal
d1a8772ac8 Add tests for alive queries 2024-07-28 17:27:09 +05:30
Kovid Goyal
083f158bbd Implement a polling mode for close events 2024-07-28 15:35:22 +05:30
Kovid Goyal
02bc104091 On macOS only track nots that request close events
Send an untracked event when giving up tracking of the notification
2024-07-28 13:19:47 +05:30
Kovid Goyal
2bffea2bdc Implement updating of notifications 2024-07-28 12:25:35 +05:30
Kovid Goyal
59c175f312 Add test for filtering 2024-07-28 09:15:18 +05:30
Kovid Goyal
67410c317f Add a sample showing on_activation event for notifications 2024-07-28 08:46:31 +05:30
Kovid Goyal
de21e5e488 Implement filtering of desktop notifications
Fixes #7670
2024-07-28 08:41:24 +05:30
Kovid Goyal
c59ab759a1 Allow well behaved applications to categorise notifications so that users can easily filter them out 2024-07-27 21:54:19 +05:30
Kovid Goyal
45a3a655a7 Desktop notifications: Fix limited HTML markup in the body text being rendered as HTML on some Linux systems
Fix #7671
2024-07-27 21:19:46 +05:30
Kovid Goyal
54b328710b Implement polling based closed notifications on macOS 2024-07-27 20:58:55 +05:30
Kovid Goyal
706cf1cd24 Add *some* closed events to cocoa notifications 2024-07-27 13:47:31 +05:30
Kovid Goyal
66b466d93a Cleanup cocoa pending actions API 2024-07-27 12:52:03 +05:30
Kovid Goyal
5432a1680f More cocoa functions moved into cocoa header 2024-07-27 11:51:07 +05:30
Kovid Goyal
8e4e023026 DRYer 2024-07-27 11:41:54 +05:30
Kovid Goyal
68b6db4b61 Bump minimum python version to 3.9
3.8 is almost EOL will be in a month or so
2024-07-27 00:07:17 +05:30
Kovid Goyal
8ba4e36ea4 DRYer 2024-07-27 00:06:59 +05:30
Kovid Goyal
c18098d872 Cleanup DBUS send notification API 2024-07-26 23:57:36 +05:30
Kovid Goyal
2c90baf0b6 Get icon names working on linux 2024-07-26 23:57:36 +05:30
Kovid Goyal
a473738001 Add tests for handling of icon metadata 2024-07-26 23:57:36 +05:30
Kovid Goyal
9de4b7bc78 Dont alloc the stream decode buffer on object init 2024-07-26 23:57:36 +05:30
Kovid Goyal
3d0747e713 Switch to SIMD accelerated base64 decoding for clipboard and notification requests 2024-07-26 23:57:33 +05:30