Commit Graph

12322 Commits

Author SHA1 Message Date
Kovid Goyal
71e69c1a9e Workaround bug in ruff 2023-07-22 12:00:10 +05:30
Kovid Goyal
601e502d2e Only draw resizing text if there has been more than one resize event 2023-07-22 11:40:56 +05:30
Kovid Goyal
e50ab57b8d Draw resizing text with semi-transparent background 2023-07-22 11:38:14 +05:30
Kovid Goyal
630101204b macOS: Disable OS window shadows for transparent windows as they cause rendering artifacts due to Cocoa bugs
Fixes #6439
2023-07-22 11:20:37 +05:30
Kovid Goyal
dcdc676719 ... 2023-07-21 12:46:06 +05:30
Kovid Goyal
029718d825 show-key legacy mode: Handle EAGAIN/EBUSY when reading from tty
Fixes #6486
2023-07-20 13:26:32 +05:30
Kovid Goyal
902b9e9693 Go back to using uniforms for the gamma LUT
Apparently older macOS M1 GPU drivers' performance falls off a cliff
when using const float arrays instead. Fixes #6479
2023-07-18 19:28:15 +05:30
Kovid Goyal
a0341af3f8 version 0.29.1 v0.29.1 2023-07-17 11:27:13 +05:30
Kovid Goyal
e712f135ae Update Changelog for previous PR 2023-07-17 07:31:30 +05:30
Kovid Goyal
0a09a93456 Merge branch 'x11-custom-window-icon' of https://github.com/benblank/kitty 2023-07-17 07:28:40 +05:30
Ben Blank
b1f557d98b X11: Add support for custom window icon 2023-07-16 09:35:40 -07:00
Kovid Goyal
b37e59aa35 ... 2023-07-16 13:21:17 +05:30
Kovid Goyal
4ad529618c Update changelog
Fixes #6467
2023-07-16 13:13:09 +05:30
Kovid Goyal
18365789ab Make loop a little more clear 2023-07-16 13:11:15 +05:30
Kovid Goyal
3089249beb Fix incorrect iteration over image groups
Fixes issue with --unicode-placeholders reported in #6467
2023-07-16 13:08:28 +05:30
Kovid Goyal
cf848982ed DRYer
The shader compiler automatically redeclares gl_ClipDistance for us,
since we index it with constants.
2023-07-16 12:42:47 +05:30
Kovid Goyal
ea03d1eb36 Move clipping of graphics into the shader using gl_ClipDistance
This simplifies our code and also fixes the image distortion when
partially off screen reported in #6467
2023-07-16 11:14:05 +05:30
Kovid Goyal
5d3ba9d35e Merge branch 'fix-options-typo' of https://github.com/ytang/kitty 2023-07-14 10:51:38 +05:30
Yang Tang
38decaae40 Fix typo in option definitions 2023-07-14 01:16:26 -04:00
Kovid Goyal
94e2aeb38c ... 2023-07-14 06:49:28 +05:30
Kovid Goyal
d4f9d22c92 Have ctrl_l clear the current prompt line so it is not saved in the scrollback 2023-07-13 22:01:27 +05:30
Kovid Goyal
4a039a45ec Fix the save and clear ctrl+l zsh example 2023-07-13 21:49:25 +05:30
Kovid Goyal
1b96771820 Fix indentation from last PR and cleanup case 2023-07-13 21:38:09 +05:30
Kovid Goyal
d218040d26 A new value for background_image_layout to scale the background image while preserving its aspect ratio.
Also have centered images work even for images larger than the window size
Fixes #6458
2023-07-13 21:33:58 +05:30
Kovid Goyal
e363303359 Nicer error message for pwfile owner/permission mismatch 2023-07-13 21:26:29 +05:30
Konstantin Borisov
ee4a9c6ed8 fixed CENTER_CLAMPED to center images bigger than view, added CENTER_SCALED background image layout option 2023-07-13 21:26:25 +05:30
Kovid Goyal
da8330253a Dont use exist_ok in the bootstrap script as it might be run with python2 where it doesnt exist 2023-07-12 12:05:07 +05:30
Kovid Goyal
97b073fd8c GNOME: Fix wayland_titlebar_color not being applied until the color is changed at least once
Fixes #6447
2023-07-12 10:38:33 +05:30
Kovid Goyal
9e0e23ae99 macOS: Fix a regression that caused the titlebar to be translucent even for non-translucent windows
Fixes #6450
2023-07-12 10:24:51 +05:30
Kovid Goyal
dc8b6150ca Update changelog 2023-07-12 07:50:01 +05:30
Kovid Goyal
5f8610f7bc macOS: Add a new value titlebar-and-corners for :opt:hide_window_decorations that emulates the behavior of hide_window_decorations yes in older versions of kitty 2023-07-11 22:27:47 +05:30
Kovid Goyal
a00b6bd497 macOS: Fix a regression causing *burn-in* of text when resizing semi-transparent OS windows
Fixes #6439
2023-07-11 20:54:47 +05:30
Kovid Goyal
b00c2d644e macOS: Render OS windows during windowDidResize for even smoother live resize rendering 2023-07-11 17:22:35 +05:30
Kovid Goyal
e244d9da92 Move individual OSWindow rendering code into a separate function
Allow it to be called from other places, probably will be needed
to fix live resizing on macOS
2023-07-11 11:15:41 +05:30
Kovid Goyal
5139793787 Fix one place where change_live_resize_state is not called 2023-07-11 09:47:50 +05:30
Kovid Goyal
90223b5d14 Fix compilation against musl
As usual in C stdlib world. Ill thought out break the world changes.
Sigh. musl no longer defines off64_t.

Fixes #6441
2023-07-11 09:22:40 +05:30
Kovid Goyal
a1e5b72ca5 Remote control launch: Fix --env not implemented when using --cwd=current with the SSH kitten
Fixes #6438
2023-07-11 09:22:15 +05:30
Kovid Goyal
72f283e7f7 macOS: Fix a regression that caused rendering to hang when transitioning to full screen with macos_colorspace set to default
YACOB (Yet Another COcoa Bug)
Fixes #6435
2023-07-10 19:33:25 +05:30
Kovid Goyal
d2bdfbee9d Dont require kitten to be in PATH when opening at cwd 2023-07-10 18:02:09 +05:30
Kovid Goyal
e2b5c6688d version 0.29.0 v0.29.0 2023-07-10 12:46:05 +05:30
Kovid Goyal
af8db1eb8f Add an example for how to get a single color from @ get-colors 2023-07-10 12:42:47 +05:30
Kovid Goyal
4f8843c5fd Merge branch 'dependabot/go_modules/golang.org/x/image-0.9.0' of https://github.com/kovidgoyal/kitty 2023-07-10 11:16:49 +05:30
Kovid Goyal
4b39ac6597 Merge branch 'dependabot/go_modules/golang.org/x/sys-0.10.0' of https://github.com/kovidgoyal/kitty 2023-07-10 11:16:05 +05:30
dependabot[bot]
8b99fd5dd4 Bump golang.org/x/image from 0.8.0 to 0.9.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/image/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:04:36 +00:00
dependabot[bot]
323330a9f7 Bump golang.org/x/sys from 0.9.0 to 0.10.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sys/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:04:24 +00:00
Kovid Goyal
a6a3e5e67d Fix insufficient sanitization of safe strings in file transfer protocol
Change the spec to restrict safe strings further to avoid such bugs in
other implementations. Reported by Edwin Hoffman.
2023-07-08 09:50:28 +05:30
Kovid Goyal
7d2dc252f1 ... 2023-07-05 21:50:46 +05:30
Kovid Goyal
66a2efd191 Add a note about titlebar-only and rounded corners 2023-07-05 10:56:46 +05:30
Kovid Goyal
944eaaefc6 Add support for DECSACE to DECRQSS 2023-07-05 10:49:48 +05:30
Kovid Goyal
95d15648fa Fix not building with wayland-protocols 1.32
Fix #6422
2023-07-05 10:33:56 +05:30