Commit Graph

14473 Commits

Author SHA1 Message Date
Kovid Goyal
a376840e78 Remove libcanberra caching as it overrides theme selection
With the cache enabled chaging the theme still plays the old sound file
2024-08-03 12:19:13 +05:30
Kovid Goyal
e66e6452a5 Cleanup canberra integration 2024-08-03 11:52:57 +05:30
Kovid Goyal
3367871408 Fix #7690 2024-08-03 07:17:46 +05:30
Kovid Goyal
89aa82e8d7 Pass the first notification type as category to the dbus server 2024-08-02 20:41:18 +05:30
Kovid Goyal
62bd6c88e9 Wayland GNOME: Fix the font size in the OS Window title bar changing with the size of the text in the window 2024-08-01 12:37:04 +05:30
Kovid Goyal
35d23e817c typo in docs 2024-08-01 11:33:09 +05:30
Kovid Goyal
99df3c072c Use the nicer stpcpy function 2024-08-01 11:11:30 +05:30
Kovid Goyal
6ffe2d82b8 On Linux use the notification server capabilities when responding to queries 2024-08-01 10:32:51 +05:30
Kovid Goyal
ae47e53bc6 ... 2024-08-01 07:24:28 +05:30
Kovid Goyal
bc0eed88d1 Add docs for the notify kitten 2024-08-01 07:21:48 +05:30
Kovid Goyal
aeeabed23c Add buttons to the notifications spec 2024-08-01 06:58:32 +05:30
Kovid Goyal
34484ef854 Cleanup command line options for notify kitten 2024-08-01 06:44:15 +05:30
Kovid Goyal
6a203487a9 Get notification buttons working on macOS 2024-08-01 06:40:52 +05:30
Kovid Goyal
1944ac9c13 Update changelog 2024-07-31 20:46:58 +05:30
Kovid Goyal
d09925d487 Merge branch 'diff-next-file' of https://github.com/jackielii/kitty 2024-07-31 20:45:20 +05:30
Jackie Li
bbe29dbc7b [diff kitten] move next/prev file 2024-07-31 16:11:38 +01:00
Kovid Goyal
adc9a61e2c Add tests for id sanitization 2024-07-31 16:57:57 +05:30
Kovid Goyal
1f656eccbb Fix tests for buttons functionality 2024-07-31 15:21:57 +05:30
Kovid Goyal
a144c267a3 ... 2024-07-31 15:16:53 +05:30
Kovid Goyal
f4b39b8db4 Clarify that i=0 is a special case for notification activated reports only 2024-07-31 15:15:24 +05:30
Kovid Goyal
f61635838e old python compat 2024-07-31 14:58:21 +05:30
Kovid Goyal
59de64920f Clarify the behavior of updating/closing of notifications without identifiers 2024-07-31 14:48:31 +05:30
Kovid Goyal
aa16918dd4 Implement support for buttons on notifications in Linux 2024-07-31 12:11:21 +05:30
Kovid Goyal
ad36c481af Allow closing notifications with the kitten 2024-07-31 09:06:17 +05:30
Kovid Goyal
b015a1fe8c Desktop notifications spec: Add support for icons
Fixes #7657
2024-07-31 08:49:19 +05:30
Kovid Goyal
f1d0d0949b Run pyupgrade to update the codebase to python 3.9
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
3aac62f6c7 Make mypy happy 2024-07-31 07:41:45 +05:30
Kovid Goyal
7cb35ad8e4 Update changelog 2024-07-31 07:35:57 +05:30
Kovid Goyal
5166915686 Merge branch 'master' of https://github.com/rbong/kitty 2024-07-31 07:34:43 +05:30
Kovid Goyal
01eacef387 Implement special symbol names on macOS 2024-07-31 07:28:11 +05:30
Roger Bongers
f95768dce9 Add branch drawing symbols to box characters
This symbols are for drawing git-like directed acyclic graphs in the
terminal. Similar to box drawing characters, it is difficult to align
these symbols perfectly as font glyphs.
2024-07-30 19:56:35 -04:00
Kovid Goyal
2c92240f8d Code to render cocoa symbols as PNG 2024-07-30 20:33:29 +05:30
Kovid Goyal
07bc3ce871 Make NSImage to PNG code re-useable 2024-07-30 20:22:16 +05:30
Kovid Goyal
41c9805b44 Remove not needed include 2024-07-30 13:36:22 +05:30
Kovid Goyal
99c5681f65 Implement OS notification named icons on macOS 2024-07-30 13:05:26 +05:30
Kovid Goyal
8026947572 cocoa API to get the image for a bundle as PNG 2024-07-30 12:06:55 +05:30
Kovid Goyal
3cc2a8c484 Get notification icons with data working on macOS 2024-07-30 08:46:10 +05:30
Kovid Goyal
f998af56fc Use application name as thread identifier for cocoa notifications 2024-07-30 07:48:52 +05:30
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