Commit Graph

16426 Commits

Author SHA1 Message Date
Kovid Goyal
e6f61c396c Use a full qualified name for SBOM generation 2025-09-18 17:42:05 +05:30
Kovid Goyal
3482d084ae License info has now been centralised in bypy 2025-09-18 11:13:37 +05:30
Kovid Goyal
54368be554 Fix grype not scanning C deps that dont have CPEs 2025-09-18 09:22:28 +05:30
Kovid Goyal
c30f8cec46 ... 2025-09-17 23:30:37 +05:30
Kovid Goyal
0eddbefda9 List vulnerabilities by CVE 2025-09-17 23:20:39 +05:30
Kovid Goyal
c4cb9cdbb7 Filter out another form of the same CVE 2025-09-17 23:14:40 +05:30
Kovid Goyal
87856efa49 Run grype against SBOM as well 2025-09-17 22:29:49 +05:30
Kovid Goyal
cf9b0da489 ... 2025-09-17 22:06:38 +05:30
Kovid Goyal
ebb7ccebd0 Add a check dependencies action
Use the gyre tool to scan all binaries and generate a report
2025-09-17 21:32:28 +05:30
Kovid Goyal
6f17afb609 update some deps 2025-09-17 18:52:14 +05:30
Kovid Goyal
6ab8e7b4c8 Also publish an SBOM 2025-09-17 13:51:38 +05:30
Kovid Goyal
77fbd5beba Use CodeQL on github actions 2025-09-17 07:47:34 +05:30
Kovid Goyal
55254d9079 ... 2025-09-16 22:43:51 +05:30
Kovid Goyal
78898b3c0b Specify python dependencies in pyproject.toml
Improves integration with other tools
2025-09-16 16:42:01 +05:30
Kovid Goyal
177a3f9e51 DRYer 2025-09-16 08:18:42 +05:30
Kovid Goyal
148d60b9ea Make CodeQL happy 2025-09-16 07:57:33 +05:30
Kovid Goyal
d647e21779 Use the bundle for CodeQL builds
Speeds up the dependency fetch and hopefully fixes the failure on macOS
2025-09-16 07:36:00 +05:30
Kovid Goyal
96253f4798 Also run CodeQL for C on macOS to improve coverage 2025-09-16 07:21:48 +05:30
Kovid Goyal
1d37ef84ce Run CodeQL analysis for different languages in parallel 2025-09-16 07:11:13 +05:30
Kovid Goyal
cc19bb4934 Merge branch 'unset' of https://github.com/smurfix/kitty 2025-09-15 14:26:29 +05:30
Matthias Urlichs
8335b340c9 Fix bash integration when 'set -o nounset' is in effect
If the user's bash profile contains 'set -u' / 'set -o nounset'
(to protect against typos in variable names; think "rm -Rf $TMp/*"),
starting a new kitty terminal resulted in a
    bash: sourced: unbound variable
message. Also, the error disabled kitty's shell integration.

This PR fixes/supersedes bba4ce22, which was based on an incorrect
assumption.
2025-09-15 10:40:36 +02:00
Kovid Goyal
4afe56b808 Merge branch 'dependabot/github_actions/actions-d99736fca3' of https://github.com/kovidgoyal/kitty 2025-09-15 12:04:02 +05:30
dependabot[bot]
04a8a60a87 Bump the actions group with 4 updates
Bumps the actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [actions/setup-go](https://github.com/actions/setup-go) and [actions/cache](https://github.com/actions/cache).


Updates `actions/checkout` from 3 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

Updates `actions/setup-python` from 4 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v6)

Updates `actions/setup-go` from 3 to 6
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v6)

Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 06:26:51 +00:00
Kovid Goyal
8b946d906b Have dependabot update GitHub actions as well 2025-09-15 11:34:02 +05:30
Kovid Goyal
3d0ec1c684 Only skip invalid UTF8 tests when actually using SIMD 2025-09-15 08:59:03 +05:30
Kovid Goyal
5d9a28f7a1 Move utf8_parsing tests to simd_decode
More robust as the tests are run against all three SIMD modes, no SIMD,
128bit and 256 bit
2025-09-15 08:53:03 +05:30
Kovid Goyal
ee4ce5b0ab Merge branch 'dependabot/go_modules/all-go-deps-d7e8f336a0' of https://github.com/kovidgoyal/kitty 2025-09-15 08:48:12 +05:30
Kovid Goyal
42aa5957a5 Comment out all the failing invalid UTF-8 tests 2025-09-15 08:43:58 +05:30
dependabot[bot]
21f103e6ca 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/text](https://github.com/golang/text).


Updates `golang.org/x/image` from 0.30.0 to 0.31.0
- [Commits](https://github.com/golang/image/compare/v0.30.0...v0.31.0)

Updates `golang.org/x/text` from 0.28.0 to 0.29.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.28.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 03:12:30 +00:00
Kovid Goyal
d19f305b12 Merge branch 'ucs' of https://github.com/Wukuyon/kitty 2025-09-15 08:14:55 +05:30
Wukuyon
542c425488 test_utf8_parsing: Add more tests for UTF-8 maximal subpart replacement 2025-09-14 16:50:38 -06:00
Wukuyon
346384351e test_utf8_parsing: Add comments describing each assertion 2025-09-14 16:33:53 -06:00
Wukuyon
91bca3357b Text sizing protocol docs: Make code point notation more consistent 2025-09-14 15:22:05 -06:00
Kovid Goyal
17620fe09e ... 2025-09-14 21:31:43 +05:30
Kovid Goyal
d0ff9be76c Add a note on typical timelines for security incident responses 2025-09-14 21:13:32 +05:30
Kovid Goyal
aa89e696ae Make CodeQL happy 2025-09-14 20:24:03 +05:30
Kovid Goyal
68eee50aee Make scrollbar wider when mouse hovers over it 2025-09-14 19:20:10 +05:30
Kovid Goyal
e397239076 Change mouse cursor shape while dragging scrollbar 2025-09-14 19:13:12 +05:30
Kovid Goyal
80260e6eb1 Move back to individual settings for scrollbar
We need to split out the color settings so that they can be set in
themes anyway, so ...
2025-09-14 17:48:59 +05:30
Kovid Goyal
6caa550efd DRYer 2025-09-14 14:56:02 +05:30
Kovid Goyal
939e8e2047 Finish documenting the scrollbar settings 2025-09-14 14:40:14 +05:30
Kovid Goyal
efccfd51b3 Refactor scrollbar mouse handlers into a block 2025-09-14 13:26:04 +05:30
Kovid Goyal
4e560fb432 Fix dragging onto last cell not working because of scrollbar 2025-09-14 13:19:10 +05:30
Kovid Goyal
3483c615f8 Update changelog 2025-09-14 13:13:17 +05:30
Kovid Goyal
a78fb1a655 Increase default radius slightly 2025-09-14 13:11:09 +05:30
Kovid Goyal
03537ee902 Use the new scrollbar settings 2025-09-14 13:02:40 +05:30
Kovid Goyal
1e13050fda Nicer debug output for scrollbar option 2025-09-14 12:26:25 +05:30
Kovid Goyal
77e22523ec Start work on consolidating scrollbar settings into one option 2025-09-14 12:14:27 +05:30
Wukuyon
2514178abe Adjust text sizing protocol docs: UTF-8 decoding and precise terminology
This commit makes the following changes to the text sizing protocol's docs, to describe Kitty's current Unicode behavior more precisely in the text sizing protocol docs (#8533).

These changes describe **behavior that Kitty *already* has**. It does not require any changes to any actual Kitty source code. (I don't know if Foot currently matches this behavior.)

1. The algorithm for splitting text into cells now uses the phrases
"code point" or "Unicode scalar value" instead of "Unicode character",
which is an ambiguous phrase.

2. The algorithm now requires that the terminal uses UTF-8 to decode the bytes it receives into Unicode scalar values.

3. The algorithm now requires that the terminal replace each maximal subpart of any ill-formed subsequence with U+FFFD REPLACEMENT CHARACTER (�).
2025-09-13 22:49:01 -06:00
Kovid Goyal
a6e64845ef Merge branch 'master' of https://github.com/lxe/kitty into scrollbar 2025-09-14 09:48:08 +05:30