Kovid Goyal
ee7afeea5a
Remove workaround for kwin sending out of order events press/focus events on Wayland as it is not needed with up-to-date kwin and causes issues with multiple OS windows.
...
The code wasnt correct anyway as active_draw_in_window was a window id
and it was being compared to an OS window id.
Fixes #7381
2024-07-09 08:02:10 +05:30
Kovid Goyal
076c882b22
have dev.sh deps download NERD font automatically
2024-07-08 20:03:13 +05:30
Kovid Goyal
2076cd870a
Merge branch 'dependabot/go_modules/all-go-deps-6e4b5d01fe' of https://github.com/kovidgoyal/kitty
2024-07-08 10:10:00 +05:30
dependabot[bot]
b261788ff3
Bump the all-go-deps group with 2 updates
...
Bumps the all-go-deps group with 2 updates: [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2 ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/dlclark/regexp2` from 1.11.0 to 1.11.1
- [Commits](https://github.com/dlclark/regexp2/compare/v1.11.0...v1.11.1 )
Updates `golang.org/x/sys` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-08 03:37:41 +00:00
Kovid Goyal
d6e24d4af7
...
2024-07-08 06:43:37 +05:30
Kovid Goyal
3f0604c45f
kitty @ -> kitten @
2024-07-08 06:01:42 +05:30
Kovid Goyal
8327222146
Use realpath when creating the kitty config directory
...
Some people make it a symlink to non-existent paths. See #7607
2024-07-08 05:44:48 +05:30
Kovid Goyal
f1e1dc4a0c
Split up list of software supporting graphics protocol into libraries and applications and make it alphabetical
2024-07-07 20:31:36 +05:30
Kovid Goyal
f8beaa0a4b
Dispatch any clicks waiting for click_interval on key events
...
Fixes #7601
2024-07-07 20:17:22 +05:30
Kovid Goyal
87bd4334b7
Merge branch 'patch-2' of https://github.com/Canop/kitty
2024-07-07 19:30:35 +05:30
Denys Séguret
ae899fe24f
Update graphics-protocol.rst
...
Add broot to the list of applications using Kitty's graphics protocol
(IMO it would be easier to read with an alphabetical sorting and by removing the gratuitous "blazing fast" assertions but that's out of scope of this PR)
2024-07-07 15:08:28 +02:00
Kovid Goyal
a3e20ea6d1
...
2024-07-07 13:36:12 +05:30
Kovid Goyal
24f01136c7
DRYer
...
Make CLI Only kittens run in overlay windows when run via the kitten
action mapping by default.
2024-07-05 13:23:41 +05:30
Kovid Goyal
d8dc237af7
...
2024-07-05 12:37:54 +05:30
Kovid Goyal
2dc478f7df
Allow running the choose fonts kitten via a mapping easily
2024-07-05 12:17:14 +05:30
Kovid Goyal
b8e6d6b058
fonts should not be removed by make clean
...
It is not generated by make
2024-07-05 12:04:48 +05:30
Kovid Goyal
5db9f2a205
Note in build docs that HERD font is now a build time requirement
2024-07-05 11:01:26 +05:30
Kovid Goyal
da9a36d918
Fix reload of kitty config not working if kitty launched via symlink not named kitty
2024-07-04 19:07:15 +05:30
Kovid Goyal
1665348b24
Cleanup previous PR
2024-07-03 08:59:35 +05:30
Kovid Goyal
a4abbec377
Merge branch 'master' of https://github.com/oaSakamoto/kitty
2024-07-03 08:56:27 +05:30
Kovid Goyal
e365d1bc5d
...
2024-07-03 08:53:16 +05:30
Olimpio Sakamoto
a580717eba
feat: add reder for nerdfont glyphs,\ue0d6, \ue0d7
2024-07-02 15:54:21 -03:00
Kovid Goyal
28a5bfe379
Make NERD font available in CI
2024-07-02 19:42:31 +05:30
Kovid Goyal
f8e9040d86
Port LastResort test
2024-07-02 19:36:53 +05:30
Kovid Goyal
3d77950b45
Update changelog
2024-07-02 19:16:05 +05:30
Kovid Goyal
a54afe2433
make clean should remove copied in fonts
2024-07-02 19:13:34 +05:30
Kovid Goyal
71f96b3c83
Package the standalone NERD font
2024-07-02 19:08:52 +05:30
Kovid Goyal
15af20fa31
Copy in systemwide NERD font during build
...
Means it works when running from source and can be used as the
source for copying the font into built packages
2024-07-02 18:57:38 +05:30
Kovid Goyal
fd5b96b43b
Use builtin NERD font for symbol_map if no system NERD font is available
2024-07-02 15:33:07 +05:30
Kovid Goyal
a783e5d85a
Ensure builtin NERD font is used only if glyph is not found by normal font fallback
2024-07-02 14:18:22 +05:30
Kovid Goyal
66034d54fb
DRYer
...
Use same algorithm for checking if cell can be rendered everywhere
2024-07-02 10:28:07 +05:30
Kovid Goyal
642dbc6f64
Dont print an error for failure to find fallback font on CoreText
2024-07-02 10:28:07 +05:30
Kovid Goyal
aaf65ec155
Move checking if font has cell text into the font backends
...
Gives us better control
2024-07-02 10:28:07 +05:30
Kovid Goyal
89cf58ba2b
Fix add application font on macOS
2024-07-02 10:28:07 +05:30
Kovid Goyal
98c85d2923
Use builtin NERD fonts
...
Prevents users from having to install their own NERD font. System fonts
are still used preferentially on Linux but on macOS the builtin one is
used preferentially. Cant find any CoreText API to change this.
Still has to be implemented on macOS. And need to add code to the build
system to bundle the font when building.
2024-07-02 10:28:07 +05:30
Kovid Goyal
99258f6621
Nicer error message when running command line only kittens
2024-07-02 10:22:15 +05:30
Kovid Goyal
cc1b464151
Fix #7583
2024-07-01 13:25:05 +05:30
Kovid Goyal
314da124f3
macOS 15: Handle Fn modifier when detecting global shortcuts
...
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
1393fa6239
Fix #7581
2024-06-30 06:58:37 +05:30
Kovid Goyal
5eccdd3d13
...
2024-06-29 16:24:35 +05:30
Kovid Goyal
226cc92b01
API to add font file to system font lookup
2024-06-29 16:18:43 +05:30
Kovid Goyal
44f7a1c0c2
...
2024-06-29 15:18:28 +05:30
Kovid Goyal
a1cd9ab229
...
2024-06-29 14:42:14 +05:30
Kovid Goyal
766a853622
Add font awesome symbols to NERD fonts range in FAQ
2024-06-29 14:41:29 +05:30
Kovid Goyal
78d1275601
macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it
...
The problem was caused by CoreText falling back to the glyph for the
ASCII hyphen U+00AD when the font does not contain a glyph for U+2010.
However, HarfBuzz does not do this automatic fallback (see
https://github.com/harfbuzz/harfbuzz/issues/517 ). This leads to the
character not being rendered.
To fix this we specialize HarfBuzz glyph lookup for this character
to follow CoreText. HarfBuzz should really do this automatically when
the hb_font is based on a CTFontRef, but I dont have the time/energy to
argue with its maintainers. Note that HarfBuzz already does this
automatic fallback for U+2011.
Hopefully, there aren't many more such special cases in CoreText.
Fixes #7525
2024-06-29 14:22:04 +05:30
Kovid Goyal
ab296b1551
...
2024-06-29 11:08:23 +05:30
Kovid Goyal
0a98d848de
Wayland redraw OS window twice after resize
...
Needed on, for instance sway to get it to recognize that the framebuffer
has been resized.
2024-06-29 11:07:02 +05:30
Kovid Goyal
6d206324e0
Merge branch 'dependabot/go_modules/golang.org/x/image-0.18.0' of https://github.com/kovidgoyal/kitty
2024-06-27 07:47:29 +05:30
dependabot[bot]
3ec0692001
Bump golang.org/x/image from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-26 19:41:16 +00:00
Kovid Goyal
107cd957d3
Update changelog
2024-06-25 13:16:05 +05:30