Commit Graph

12883 Commits

Author SHA1 Message Date
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
Kovid Goyal
805bc499ee Fix documentation of word_and_line_from_point 2023-10-06 10:01:24 +05:30
Kovid Goyal
baa0270ef3 Merge branch 'mouse-selection-line-from-word-feature' of https://github.com/warpfork/kitty 2023-10-06 09:43:07 +05:30
Eric Myhre
d310acc780 Add word-and-line-from-point feature to possible mouse selection actions. 2023-10-05 17:47:53 +02:00
Kovid Goyal
6a3529b7c2 version 0.30.1 v0.30.1 2023-10-05 16:38:03 +05:30
Kovid Goyal
a2671c9101 Update changelog 2023-10-05 10:49:13 +05:30
Kovid Goyal
9e514df604 More linter fixes 2023-10-05 10:07:25 +05:30
Kovid Goyal
8865d3231a Fix themes that dont define a background color incorrectly being classified as light
The default bg in kitty is dark
2023-10-05 09:36:59 +05:30
Kovid Goyal
5fb661d72d ... 2023-10-05 09:34:21 +05:30
Kovid Goyal
fd12c5a1e0 Dont assume /dev/stderr exists
Fixes #6671
2023-10-04 06:26:56 +05:30
Kovid Goyal
5008b89804 Merge branch 'arm-alias' of https://github.com/glensc/kitty 2023-10-03 21:21:57 +05:30
Elan Ruusamäe
706cde84ae kitten: Add armv7l alias to arm
Fix Unknown CPU architecture armv7l
2023-10-03 18:26:11 +03:00
Kovid Goyal
d9cd92d4ed ... 2023-10-03 12:07:19 +05:30
Kovid Goyal
4b41a7d182 Fix #6650 2023-10-03 12:04:54 +05:30
Kovid Goyal
fcce5c9a64 Expose at_prompt property in kitty @ ls output 2023-10-03 11:33:08 +05:30
Kovid Goyal
4c37fff496 Fix secure restore state runtime warning from cocoa being printed to stderr 2023-10-03 11:23:56 +05:30
Kovid Goyal
450aa59303 Merge branch 'dependabot/go_modules/all-go-deps-911bbdbafd' of https://github.com/kovidgoyal/kitty 2023-10-02 09:16:53 +05:30
dependabot[bot]
77156be0f4 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil).

- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.8...v3.23.9)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 03:42:17 +00:00
Kovid Goyal
f37cce2ae4 ... 2023-10-01 08:20:15 +05:30
Kovid Goyal
dde80b9ad6 Dont need setuptools since we only use python stdlib 2023-09-30 08:09:06 +05:30
Kovid Goyal
1aaaa3f1e9 Fix incorrect exception when tic fails 2023-09-30 07:53:13 +05:30
Kovid Goyal
e04e5a157f Note that nushell supports the kitty keyboard protocol 2023-09-29 19:48:46 +05:30
Kovid Goyal
ed32bf35a7 clean up some docs text 2023-09-26 20:30:27 +05:30
Kovid Goyal
ef7d4934d2 Add window groups to kitty @ ls output
Fixes #6655
2023-09-26 18:41:52 +05:30
Kovid Goyal
bda9155be1 ... 2023-09-26 10:04:15 +05:30
Kovid Goyal
3fef881956 Fix #6653 2023-09-26 09:44:45 +05:30
Kovid Goyal
2502111697 Make mypy happy 2023-09-25 21:30:42 +05:30
Kovid Goyal
acd6b168fd ... 2023-09-25 21:16:24 +05:30
Kovid Goyal
164dd0d637 man pages: Fix table markup in kitty man pages not being rendered correctly at all window sizes
Fixes #5095
2023-09-25 21:09:27 +05:30
Kovid Goyal
ee3118ffaf Merge branch 'dependabot/go_modules/all-go-deps-508be90fc6' of https://github.com/kovidgoyal/kitty 2023-09-25 10:04:07 +05:30
dependabot[bot]
4f277deb6d Bump the all-go-deps group with 7 updates
Bumps the all-go-deps group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/ALTree/bigfloat](https://github.com/ALTree/bigfloat) | `0.0.0-20220102081255-38c8b72a9924` | `0.2.0` |
| [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) | `2.8.0` | `2.9.1` |
| [github.com/google/uuid](https://github.com/google/uuid) | `1.3.0` | `1.3.1` |
| [github.com/seancfoley/ipaddress-go](https://github.com/seancfoley/ipaddress-go) | `1.5.4` | `1.5.5` |
| [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) | `3.23.7` | `3.23.8` |
| [golang.org/x/image](https://github.com/golang/image) | `0.11.0` | `0.12.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.11.0` | `0.12.0` |


Updates `github.com/ALTree/bigfloat` from 0.0.0-20220102081255-38c8b72a9924 to 0.2.0
- [Commits](https://github.com/ALTree/bigfloat/commits/v0.2.0)

Updates `github.com/alecthomas/chroma/v2` from 2.8.0 to 2.9.1
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.8.0...v2.9.1)

Updates `github.com/google/uuid` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.3.1)

Updates `github.com/seancfoley/ipaddress-go` from 1.5.4 to 1.5.5
- [Release notes](https://github.com/seancfoley/ipaddress-go/releases)
- [Commits](https://github.com/seancfoley/ipaddress-go/compare/v1.5.4...v1.5.5)

Updates `github.com/shirou/gopsutil/v3` from 3.23.7 to 3.23.8
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8)

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

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

---
updated-dependencies:
- dependency-name: github.com/ALTree/bigfloat
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: github.com/seancfoley/ipaddress-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- 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-09-25 03:51:21 +00:00
Kovid Goyal
f16e9500f1 Simplify count-lines-of-code 2023-09-24 15:52:25 +05:30
Kovid Goyal
45bfeeef21 Update FAQ on sudo + terminfo 2023-09-24 13:41:16 +05:30
Kovid Goyal
d96fdb80ed Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment
This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
2023-09-24 13:35:29 +05:30
Kovid Goyal
0c0c6b732f ... 2023-09-24 13:14:26 +05:30
Kovid Goyal
537475d5bb Better fix for clone-in-kitty 2023-09-24 11:34:32 +05:30
Kovid Goyal
8e7b6ad3c3 Fix clone-in-kitty broken because of login wrapping 2023-09-24 11:21:32 +05:30
Kovid Goyal
68b861b188 macOS: When running the default shell, run it via the login program so that calls to `getlogin()` work
Fixes #6511
2023-09-24 11:12:02 +05:30
Kovid Goyal
59e4c6660e run-shell: Allow specifying the cwd 2023-09-24 10:40:21 +05:30
Kovid Goyal
38be3e98a1 More linter fixes 2023-09-24 09:16:27 +05:30
Kovid Goyal
4af1a38507 More linter fixes 2023-09-24 09:06:15 +05:30
Kovid Goyal
70110d54b0 Use resolved shell for --hold 2023-09-24 08:34:08 +05:30
Kovid Goyal
76c6f91685 Expand environment variables in the shell option
See #6511 for discussion
2023-09-24 08:28:42 +05:30
Kovid Goyal
3d6c3a9979 Merge branch 'patch-1' of https://github.com/jake-stewart/kitty 2023-09-23 21:12:07 +05:30
jake-stewart
7b3513d010 fix double backslash
it looks like RST does not require backslashes to be escaped when encased in double backticks. double backslash in double backticks causes two backslashes to render. the problem can be seen on this page https://sw.kovidgoyal.net/kitty/conf/
2023-09-23 22:50:41 +08:00
Kovid Goyal
c280a28155 Dont use os.Remove on failures in syscall_shm
Use shm_unlink instead
2023-09-23 11:16:30 +05:30
Kovid Goyal
24598b846c ... 2023-09-23 11:09:51 +05:30
Kovid Goyal
dc43f0d42f ... 2023-09-23 11:08:55 +05:30