Kovid Goyal
75d0dcab8d
Nicer fix for non-zero fields in rc protocol
2024-08-05 11:18:41 +05:30
Kovid Goyal
2c743dcdb2
Update sound support in desktop notifications spec
...
Add a short list of standard sound names.
2024-08-04 20:20:41 +05:30
Kovid Goyal
35b2895f3c
old python
2024-08-03 13:58:52 +05:30
Kovid Goyal
bd8162fa42
Add support for controlling the sound played with notifications
2024-08-03 13:46:38 +05:30
Kovid Goyal
5e809d2767
Rename method and change default theme to __custom
2024-08-03 13:06:48 +05:30
Kovid Goyal
22bd1b911c
Document how to change the Linux sound theme system wide
2024-08-03 12:48:01 +05:30
Kovid Goyal
81bddba5d6
Search $XDG_DATA_HOME/icons before ~/.icons
2024-08-03 12:32:23 +05:30
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
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
6ffe2d82b8
On Linux use the notification server capabilities when responding to queries
2024-08-01 10:32:51 +05:30
Kovid Goyal
6a203487a9
Get notification buttons working on macOS
2024-08-01 06:40:52 +05:30
Kovid Goyal
1f656eccbb
Fix tests for buttons functionality
2024-07-31 15:21:57 +05:30
Kovid Goyal
f61635838e
old python compat
2024-07-31 14:58:21 +05:30
Kovid Goyal
aa16918dd4
Implement support for buttons on notifications in Linux
2024-07-31 12:11:21 +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
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
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
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
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
de21e5e488
Implement filtering of desktop notifications
...
Fixes #7670
2024-07-28 08:41:24 +05:30