Commit Graph

6657 Commits

Author SHA1 Message Date
Kovid Goyal
5c786c96e1 ... 2023-07-30 19:49:38 +05:30
Kovid Goyal
6c79ae4443 Proper parsing of safe_string fields 2023-07-30 19:49:38 +05:30
Kovid Goyal
02c9205061 X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128128
Fixes #6507
2023-07-30 19:40:55 +05:30
Kovid Goyal
b2c1afdcbb Use an absolute path to python code for develop builds on macOS 2023-07-29 10:46:22 +05:30
Kovid Goyal
f8fd6031c9 Get develop builds working on macOS as well 2023-07-28 21:14:31 +05:30
Kovid Goyal
916ce43475 make develop now builds on Linux 2023-07-28 10:07:07 +05:30
Kovid Goyal
950fbfbd73 Sanitize user vars 2023-07-27 19:00:21 +05:30
Kovid Goyal
d9b41b7715 New remote control command to set user variables 2023-07-27 18:49:03 +05:30
Kovid Goyal
83f423dbb0 Allow specifying user vars with the launch command 2023-07-27 17:44:37 +05:30
Kovid Goyal
4c18cae3a0 ... 2023-07-27 17:23:18 +05:30
Kovid Goyal
2dfad8e854 Allow matching on user vars 2023-07-27 16:54:50 +05:30
Kovid Goyal
c767dd0d0d kitty @ ls: Add user variables set on windows to the output
These can be set by programs running in the window using the OSC 1337
escape code, as specified here:
https://iterm2.com/documentation-scripting-fundamentals.html#setting-user-defined-variables

Fixes #6502
2023-07-27 13:47:22 +05:30
Kovid Goyal
95316fc2dc version 0.29.2 2023-07-27 08:49:32 +05:30
Kovid Goyal
58312fffee Also detect makefiles as plain text files 2023-07-24 10:53:39 +05:30
Kovid Goyal
7f2e925af3 Add TeX as a known textual mimetype (.tex and .latex) 2023-07-24 08:56:50 +05:30
Kovid Goyal
2ce5ad6395 Fix regression that broke display of error on failure to open URL 2023-07-24 08:32:10 +05:30
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
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 2023-07-17 11:27:13 +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
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
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
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
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
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
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 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
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
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