Commit Graph

12780 Commits

Author SHA1 Message Date
Kovid Goyal
ee8399ba56 Port the mouse_demo kitten to Go 2023-10-17 20:21:22 +05:30
Kovid Goyal
c03dff2322 Fix help text and short desc for the two wrapper kittens 2023-10-17 19:50:47 +05:30
Kovid Goyal
dc6edf9191 Improve the docs for how to match multi-line hints
See #6692
2023-10-17 15:23:58 +05:30
Kovid Goyal
70a588cb36 ... 2023-10-17 15:23:43 +05:30
Kovid Goyal
81b032a161 Dont expand cwd=current in rc launch
This is easily done at the command line. And its semantics are
are to refer to cwd of active window.
2023-10-17 05:01:28 +05:30
Kovid Goyal
ddb121b418 Remote control launch: Fix the --copy-env option not copying current environment variables
Fixes #6724
2023-10-16 22:32:51 +05:30
Kovid Goyal
d2026574b8 Add a sentence emphasizing the pointer shapes are independent of mouse reporting 2023-10-16 20:36:09 +05:30
Kovid Goyal
187fa996f8 Add the cell pointer shape 2023-10-16 20:33:12 +05:30
Kovid Goyal
870522a792 Merge branch 'dependabot/go_modules/all-go-deps-6213d6d4c1' of https://github.com/kovidgoyal/kitty 2023-10-16 08:53:53 +05:30
dependabot[bot]
5478f6665a Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/google/go-cmp](https://github.com/google/go-cmp).

- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 03:20:56 +00:00
Kovid Goyal
5d5bbe9b96 Add a paragraph on legacy xterm compat for pointer shapes 2023-10-15 21:59:04 +05:30
Kovid Goyal
3a6c7e78df Note when support for pointer shapes was added 2023-10-15 21:51:10 +05:30
Kovid Goyal
10a2f246bc ... 2023-10-15 21:48:57 +05:30
Kovid Goyal
17ce474b79 Use hand pointer when hovering over buttons in ask kitten 2023-10-15 21:35:51 +05:30
Kovid Goyal
d66074f19f Add pointer shape enum to kittens 2023-10-15 21:03:41 +05:30
Kovid Goyal
1693107608 A new escape code to change the shape of the mouse pointer
Fixes #6711
2023-10-15 19:57:36 +05:30
Kovid Goyal
e15b16b072 Mention behavior of focus_follows_mouse in docs on macOS 2023-10-15 14:25:16 +05:30
Kovid Goyal
9375e671bc dedup choice literals 2023-10-15 10:10:05 +05:30
Kovid Goyal
0e11174aa5 We require python 3.8 so no need to guard typing.Literal 2023-10-15 09:58:19 +05:30
Kovid Goyal
baddc966dc Ignore long lines in another generated file 2023-10-15 09:57:58 +05:30
Kovid Goyal
119582a9d4 Make relative imports work in gen scripts even when directly executed 2023-10-15 09:51:03 +05:30
Kovid Goyal
792b74503c Implement mouse shape support for macOS
Code for loading hidden system cursors not available via NCursor comes
from the SDL library, with thanks.
2023-10-15 09:42:06 +05:30
Kovid Goyal
4f1971c480 Rationalize mouse cursor shape handling
Now can use the full range of standard mouse cursor shapes similar to
those supported by browsers via the CSS cursor property.

Still needs to be fully implemented for cocoa backend.
2023-10-15 09:17:31 +05:30
Kovid Goyal
a8a1571ed1 Fix #6715 2023-10-14 08:49:46 +05:30
Kovid Goyal
a79dd3996a Also move data files for gen scripts into gen dir 2023-10-14 08:04:37 +05:30
Kovid Goyal
e6ef2fceea py3.8 support 2023-10-14 07:57:03 +05:30
Kovid Goyal
56063b96fd Move gen scripts into their own package 2023-10-14 07:44:18 +05:30
Kovid Goyal
cae19bba60 ... 2023-10-14 06:05:32 +05:30
Kovid Goyal
1f91250a40 Fix trailing bracket not ignored when detecting a multi-line URL with the trailing bracket as the first character on the last line
Fixes #6710
2023-10-13 10:44:58 +05:30
Kovid Goyal
ee1e65e619 Remove pre python 3.8 compat shim as we now require 3.8 2023-10-12 20:40:33 +05:30
Kovid Goyal
00dc5a8dc5 Fix a regression caused by rewrite of kittens to Go that made various kittens reset colors in a terminal when the colors were changed by escape code
Fixes #6708
2023-10-12 20:19:28 +05:30
Kovid Goyal
4d230f5035 Fix #6695 2023-10-10 09:38:52 +05:30
Kovid Goyal
73bc6e4bfc ... 2023-10-10 06:10:19 +05:30
Kovid Goyal
b78264183f Centralize freeing of opts object allocs 2023-10-10 06:08:28 +05:30
Kovid Goyal
455d0a6048 Dont show hidden sub-commands during completion 2023-10-10 05:41:27 +05:30
Kovid Goyal
5d0dabe51c completion: match exe on basename alone 2023-10-10 05:22:40 +05:30
Kovid Goyal
16e7ca3a95 kitten @ set-background-opacity --toggle
Fixes #6691
2023-10-10 05:04:50 +05:30
Kovid Goyal
70f3909cdc Add background_opacity to @ ls output 2023-10-10 04:54:27 +05:30
Kovid Goyal
f73d32e15d A new option menu_map that allows adding entries to the global menubar on macOS 2023-10-09 19:47:25 +05:30
Kovid Goyal
3338e4fb25 ... 2023-10-09 15:28:16 +05:30
Kovid Goyal
726d4ca9bc Typecheck map_type 2023-10-09 11:56:25 +05:30
Kovid Goyal
32b7be2201 Proper fix for braindead macOS login
Always run it in the home dir as it seems to expect that. Change the
working dir after running login
2023-10-09 11:29:32 +05:30
Kovid Goyal
dc26db7759 Merge branch 'dependabot/go_modules/all-go-deps-92d01672c5' of https://github.com/kovidgoyal/kitty 2023-10-09 09:12:37 +05:30
dependabot[bot]
8fd5b62560 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/image` from 0.12.0 to 0.13.0
- [Commits](https://github.com/golang/image/compare/v0.12.0...v0.13.0)

Updates `golang.org/x/sys` from 0.12.0 to 0.13.0
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 03:37:48 +00:00
Kovid Goyal
619d4e3dc4 Run login on macOS with -q
Fixes #6689
2023-10-09 07:05:43 +05:30
Kovid Goyal
f03027c33d Merge branch 'nolto' of https://github.com/bmwiedemann/kitty 2023-10-08 08:33:05 +05:30
Kovid Goyal
a95dc0ceb8 Merge branch 'reproducible' of https://github.com/bmwiedemann/kitty 2023-10-08 08:27:21 +05:30
Bernhard M. Wiedemann
17b7703dab Fix compilation without LTO
When building without link-time-optimization through the
KITTY_NO_LTO env var or the setup.py --disable-link-time-optimization option
compilation failed with a warning about freeing "ans" memory.

Chances are, this is dead code that gets optimized out by LTO.
2023-10-08 04:52:24 +02:00
Bernhard M. Wiedemann
50968c12b1 Make build reproducible
This needs 3 fixes:
* for an ordering issue in docs_ref_map_generated.h
* for a filesystem-order issue in uniforms_generated.h
* to normalize mtimes in the data_generated.bin tar

This patch was done while working on reproducible builds for openSUSE.
2023-10-08 04:48:51 +02:00
Kovid Goyal
edb9c924fe Note that fzf now supports the kitty graphics protocol for image previews 2023-10-08 07:22:54 +05:30