Commit Graph

13124 Commits

Author SHA1 Message Date
Kovid Goyal
444ec2484d Infrastructure for loading shaders from multiple source files
Can eventually be used to share source code (functions) across many shaders
2023-06-13 12:55:00 +05:30
Kovid Goyal
1ccfa8cda6 add path to envvars for cross compilation 2023-06-13 08:22:14 +05:30
Kovid Goyal
08e471c58f ... 2023-06-13 08:21:54 +05:30
Kovid Goyal
88a5086f71 Add rudimentary support for cross-compilation
Not really tested, actual cross compilers, feel free to send patches.
Fixes #6354
2023-06-13 07:56:16 +05:30
Kovid Goyal
da1276d84a Correct the naming of the window arg to call_remote_control 2023-06-10 09:47:37 +05:30
Kovid Goyal
498963fc7c Fix example in docs of using call_remote_control
Fixes #6353
2023-06-10 09:43:41 +05:30
Kovid Goyal
162faa42be Fix window size not always being hidden after a resize 2023-06-07 16:45:23 +05:30
Kovid Goyal
3ae489b151 Fix #6345
@m4rw3r this is fixing a bug in #6218. Seems fairly straightforward but
since it's your code, please review.
2023-06-07 16:23:30 +05:30
Kovid Goyal
5ef5b5f363 ... 2023-06-07 15:56:25 +05:30
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