Commit Graph

13630 Commits

Author SHA1 Message Date
Kovid Goyal
0641ec2d89 GLFW API for configuring a window as a layer shell 2024-03-24 20:48:20 +05:30
Kovid Goyal
707e69a794 Start work on wayland layer shell support 2024-03-24 20:48:20 +05:30
Kovid Goyal
5b4ea0052c ... 2024-03-24 20:44:58 +05:30
Kovid Goyal
a0aba4da4a Fix handling of tab character when cursor is at end of line and wrapping is enabled
Fixes #7250
2024-03-23 08:43:06 +05:30
Kovid Goyal
af82938427 Dont bother applying zero style to fallback
Micro-optimization
2024-03-22 15:37:58 +05:30
Kovid Goyal
42994bac37 DRYer 2024-03-22 15:19:39 +05:30
Kovid Goyal
4878b7cfd3 Proper fix for Zapf Dingbats vs Apple
See #7249
2024-03-22 15:09:44 +05:30
Kovid Goyal
98d32e50e0 macOS: Reject styled fallback from CoreText if its family name is not the same as the original
On some systems, for the good Lord alone knows what reason, CoreText is
giving us Zapf Dingbats as a font for some symbols, which doesnt
actually work.

Fixes #7249 (I hope)
2024-03-22 14:38:08 +05:30
Kovid Goyal
12e9db4ccc DRYer 2024-03-22 14:19:21 +05:30
Kovid Goyal
ebb1063e33 ... 2024-03-22 14:10:30 +05:30
Kovid Goyal
716bcb6d12 ... 2024-03-22 14:08:03 +05:30
Kovid Goyal
2f151e773c ... 2024-03-22 13:52:17 +05:30
Kovid Goyal
1c9f9a74e8 Wayland KDE: Add support for background_blur under kwin using a kwin private Wayland protocol 2024-03-22 13:41:44 +05:30
Kovid Goyal
9df7460fe1 Add a note about how to use edit-in-kitty with sudo to edit root files 2024-03-22 11:56:44 +05:30
Kovid Goyal
55feef8663 Linter fixes 2024-03-22 11:16:02 +05:30
Kovid Goyal
22c59fe19f bump version of imaging 2024-03-22 11:06:52 +05:30
Kovid Goyal
3b74fcb88c switch to a maintained fork of imaging 2024-03-22 10:38:22 +05:30
Kovid Goyal
e818f01ff2 Ensure palette is large enough to avoid panics with invalid images that have pixels refering to colors not in the palette 2024-03-22 10:01:20 +05:30
Kovid Goyal
e11081ac09 Use exiffix rather than imaging to handle EXIF rotation
exiffix works for more formats than just JPEG
2024-03-22 09:35:39 +05:30
Kovid Goyal
0eae7ba21d Remove unused parameter 2024-03-22 09:25:13 +05:30
Kovid Goyal
0be9b888fa string changes 2024-03-22 08:15:10 +05:30
Kovid Goyal
adda3249f5 Lets see if sanitize works 2024-03-21 21:00:58 +05:30
Kovid Goyal
cc11ed5c2c Update changelog 2024-03-21 20:53:36 +05:30
Kovid Goyal
83468535dd Implement support for preferred buffer scale 2024-03-21 20:53:36 +05:30
Kovid Goyal
55115058d2 Scale pointer axis events by effective scale 2024-03-21 20:53:36 +05:30
Kovid Goyal
776bfa3d7e Basic fractional scale protocol works 2024-03-21 20:53:36 +05:30
Kovid Goyal
6979f1c5eb Add listener for fractional scale events 2024-03-21 20:53:36 +05:30
Kovid Goyal
5d0c25f5ea Register the viewporter 2024-03-21 20:53:36 +05:30
Kovid Goyal
eb42ad3a2b Rename scale to integer_scale
We will presumably have a fractional_scale soon
2024-03-21 20:53:36 +05:30
Kovid Goyal
2b6edbccbc Start work on fractional scale support for Wayland
Register the interface on startup
2024-03-21 20:53:36 +05:30
Kovid Goyal
7e12cc57c6 Fix #7245 2024-03-21 20:50:05 +05:30
Kovid Goyal
1f149861f9 Mouse reporting: Fix drag release event outside the window not being reported in legacy mouse reporting modes
Fixes #7244
2024-03-21 20:32:58 +05:30
Kovid Goyal
11882aef2d Fix #7243 2024-03-21 17:16:09 +05:30
Kovid Goyal
3c4db20d2d DRYer 2024-03-21 11:27:41 +05:30
Kovid Goyal
924b87a16a Convenience function to get terminfo data in kittens 2024-03-21 10:58:46 +05:30
Kovid Goyal
198b69e275 An option to set TERMINFO to the database directly instead of a path 2024-03-21 10:48:53 +05:30
Kovid Goyal
ad64472950 Make the terminfo database available in the compiled module 2024-03-21 10:16:50 +05:30
Kovid Goyal
d9f33b19bc ... 2024-03-21 09:46:02 +05:30
Kovid Goyal
a5fea33757 version 0.33.1 v0.33.1 2024-03-21 08:34:07 +05:30
Kovid Goyal
8cc360e344 Make preferential usage of NERD font for manual fallback more efficient 2024-03-20 20:33:50 +05:30
Kovid Goyal
a285d09459 ... 2024-03-20 20:07:03 +05:30
Kovid Goyal
e646596c5b macOS: When CoreText fails to find a fallback font for a character in the first Private Use Unicode Area, preferentially use the NERD font, if available, for it
Fixes #6043
2024-03-20 20:01:17 +05:30
Kovid Goyal
f3d9ad3244 ... 2024-03-20 18:59:52 +05:30
Kovid Goyal
752fcb6424 macOS: Fix text rendered with fallback fonts not respecting bold/italic styling 2024-03-20 18:23:09 +05:30
Kovid Goyal
0042288e92 remove unused headers 2024-03-20 17:28:14 +05:30
Kovid Goyal
7ea0af6f6d Fix debug-font-fallback to report re-used faces correctly 2024-03-20 17:26:18 +05:30
Kovid Goyal
69c0eaaf74 Dont request sRGB surfaces on Wayland
Apparently mesa just completely broke it. Besides it being already
broken on NVIDIA. Sigh, more of my life wasted on Wayland.

See https://github.com/kovidgoyal/kitty/issues/7174#issuecomment-2000033873
2024-03-19 08:57:48 +05:30
Kovid Goyal
a0424bf1bd Dont omit frame pointer in debug and profile builds 2024-03-18 10:56:50 +05:30
Kovid Goyal
481eccfe3c Merge branch 'dependabot/go_modules/all-go-deps-75b28919f3' of https://github.com/kovidgoyal/kitty 2024-03-18 09:28:52 +05:30
dependabot[bot]
c5c3f98595 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma).


Updates `github.com/alecthomas/chroma/v2` from 2.12.0 to 2.13.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 03:35:28 +00:00