Kovid Goyal
cd56597e7e
Remove the resize_draw_strategy option
...
Use scale + size as the fixed strategy. This is because static looks
bad with translucent windows (the cell area ends up a different opacity
than the newly exposed window area).
2023-06-07 15:36:05 +05:30
Kovid Goyal
89875af5e6
Fix jerky behavior when live resizing an OS window on platforms that report live resize being and end events
...
Also disable live resize begin/end events on Wayland since they are not
reliable.
On platforms that support live resize begin/end use a separately
configurable pause time before the screen is redrawn.
Fixes #6341
2023-06-07 14:31:39 +05:30
Kovid Goyal
af389d6860
...
2023-06-06 21:42:20 +05:30
Kovid Goyal
99790645c3
Also rebuild the HTML docs that are bundled with the kitty package
2023-06-06 14:36:17 +05:30
Kovid Goyal
f0bf780242
Fix incomplete search results on kitty docs website search
...
Fixes #6342
2023-06-06 14:04:45 +05:30
Kovid Goyal
6293c3e1ac
Merge branch 'dependabot/go_modules/github.com/shirou/gopsutil/v3-3.23.5' of https://github.com/kovidgoyal/kitty
2023-06-05 09:15:24 +05:30
Kovid Goyal
7b8e86bbdc
Merge branch 'dependabot/go_modules/github.com/dlclark/regexp2-1.10.0' of https://github.com/kovidgoyal/kitty
2023-06-05 09:14:16 +05:30
Kovid Goyal
5e7d8d5710
Merge branch 'dependabot/go_modules/golang.org/x/sys-0.8.0' of https://github.com/kovidgoyal/kitty
2023-06-05 09:13:36 +05:30
dependabot[bot]
8d1facd84d
Bump github.com/shirou/gopsutil/v3 from 3.23.3 to 3.23.5
...
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil ) from 3.23.3 to 3.23.5.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.3...v3.23.5 )
---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 03:43:12 +00:00
dependabot[bot]
7937575edd
Bump github.com/dlclark/regexp2 from 1.9.0 to 1.10.0
...
Bumps [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2 ) from 1.9.0 to 1.10.0.
- [Commits](https://github.com/dlclark/regexp2/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 03:43:04 +00:00
dependabot[bot]
226e81a86f
Bump golang.org/x/sys from 0.7.0 to 0.8.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.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-06-05 03:42:58 +00:00
Kovid Goyal
d6dfa11e8e
Create dependabot.yml
2023-06-05 09:12:33 +05:30
Kovid Goyal
21d0522d90
Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control. Fixes #6333
2023-06-04 22:24:48 +05:30
Kovid Goyal
af65b68ac3
Make timestamps.js re-useable
2023-06-01 05:56:02 +05:30
Kovid Goyal
0d9f08f82e
...
2023-06-01 05:31:59 +05:30
Kovid Goyal
5195e45a26
Move video markup into a separate file
2023-05-31 21:48:20 +05:30
Kovid Goyal
b7f136962a
Move the timestamp data into the rst file
...
Also get rid of the custom styling for the timestamp list
2023-05-31 21:27:09 +05:30
Kovid Goyal
2c8d00f1c4
Add a title to the list of timestamps
2023-05-31 20:59:13 +05:30
Kovid Goyal
bf2c29ad4f
No need to use JS modules just embed the data in timestamps.js
2023-05-31 20:56:22 +05:30
Kovid Goyal
2b3865f74e
Refactor timestamps JS
...
It is safe to use innerHTML since the strings we are using it with are
under out control
2023-05-31 20:53:03 +05:30
Kovid Goyal
d919864936
Merge branch 'master' of https://github.com/waikoo/kitty
2023-05-31 20:29:22 +05:30
waikoo
9409fff163
Correct css filename
2023-05-31 15:45:56 +03:00
waikoo
329e7039da
Add timestamps under introductory video
2023-05-31 15:42:48 +03:00
Kovid Goyal
2070dbb1e4
Live load *-actions.conf
2023-05-31 10:51:44 +05:30
Kovid Goyal
0873e3ea09
...
2023-05-31 07:22:49 +05:30
Kovid Goyal
9bbb2a9ef4
Fix #6315
2023-05-31 07:08:55 +05:30
Kovid Goyal
8de7b21e5f
Add .rb as a known MIME type
2023-05-30 09:44:37 +05:30
Kovid Goyal
e0eccf7883
Add a note about develop-docs to the build docs
...
Also include sphinx-autobuild as a docs dependency
2023-05-29 08:21:08 +05:30
Kovid Goyal
7d2ac765a4
Dont check for allowed filepath for SHM transfers
2023-05-28 11:59:05 +05:30
Kovid Goyal
54a1cfc380
Autogen enum <-> string boilerplate for Go
2023-05-28 11:48:32 +05:30
Kovid Goyal
1c62a80ec1
...
2023-05-28 06:46:14 +05:30
Kovid Goyal
c40333a8a7
Allow screen_dirty_line_graphics to be used with either main or alt buffers
2023-05-28 06:39:19 +05:30
Kovid Goyal
7f6f1f9a5d
Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen
...
Fixes #6306
Fixes #6308
2023-05-28 06:27:44 +05:30
Kovid Goyal
e59e42a6c2
simplify API of utils.Once
2023-05-26 22:42:07 +05:30
Kovid Goyal
d89c1426d5
Dont use non-writeable locations containing kitty.conf as the config dir
2023-05-26 08:40:47 +05:30
Kovid Goyal
750018e5fe
...
2023-05-25 12:25:46 +05:30
Kovid Goyal
cb936c1b5b
Use /dev/null rather than /dev/tty for the test
2023-05-25 12:24:59 +05:30
Kovid Goyal
624007c7aa
Refuse to read image files in /proc /sys and /dev
...
Also, open the image file with O_NONBLOCK to ensure we dont hang opening
a FIFO
2023-05-25 12:17:03 +05:30
Kovid Goyal
20fbde447c
clipboard kitten: Dont set clipboard when getting clipboard
...
The previous behavior meant getting the clipboard would
first empty it if STDIN was null or empty which can easily happen when
run non-interactively.
Fixes #6302
2023-05-25 08:41:55 +05:30
Kovid Goyal
5e6d020275
Show proper error message in diff when failing to load image
2023-05-24 22:47:14 +05:30
Kovid Goyal
5b199b28c3
Fix a panic when failing to load some images in a diff
2023-05-24 22:41:51 +05:30
Kovid Goyal
d3fc8a2897
Remove a bunch of option processing code and directly define the threshold in the shader
2023-05-24 21:23:39 +05:30
Kovid Goyal
c3242453bd
...
2023-05-24 21:11:06 +05:30
Kovid Goyal
42edc3ebc8
Calculate only one composition strategy in the fragment shader
...
Use defines instead of mix() avoiding doing a bunch or per pixel work on
the GPU
2023-05-24 21:09:28 +05:30
Kovid Goyal
b0b65c452e
Fix fg threshold not applying when using legacy text composition
...
Also note that it does not work with multi-pass rendering.
2023-05-24 21:02:00 +05:30
Kovid Goyal
d059ddbb07
Only import resource module when actually running the test instead of at import time
2023-05-24 16:59:44 +05:30
Kovid Goyal
99243487fa
Merge branch 'skip-crypto-test-if-memlock-too-low' of https://github.com/ogayot/kitty
2023-05-24 16:57:15 +05:30
Olivier Gayot
430768f38b
Skip crypto test if RLIMIT_MEMLOCK is too low
...
On systems where the max locked memory (a.k.a., RLIMIT_MEMLOCK) is too
low, the crypto test fails with "Cannot allocate memory".
Distros such as Debian and Ubuntu run the test-suite as part of the
build process. This results in failed builds if the build machine itself
does not have a sufficiently high value for RLIMIT_MEMLOCK. That said,
the resulting builds would run perfectly fine when installed on machines
that meet the requirements.
On supported systems, we now check if the RLIMIT_MEMLOCK is high enough
and skip the crypto test if it is not.
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com >
2023-05-24 13:18:08 +02:00
Kovid Goyal
046eb86091
Only move graphics on resize if the actual num of content lines chages
...
Avoids spurious moves when the window is not full and therefore text
does not move on vertical resize
2023-05-24 15:40:41 +05:30
Kovid Goyal
a720ef6917
Graphics: Move images up along with text when the window is shrunk vertically
...
Fixes #6278
2023-05-24 15:18:58 +05:30