Commit Graph

14786 Commits

Author SHA1 Message Date
Kovid Goyal
1ff74b86dc Wayland GNOME: Workaround bug in mutter causing double tap on titlebar to not always work
Fixes #8054
2024-11-18 08:46:17 +05:30
Kovid Goyal
4f6ca36bc2 Mention another terminal PDF viewer that uses the kitty graphics protocol 2024-11-12 09:35:51 +05:30
Kovid Goyal
97e4625a82 ... 2024-11-12 09:29:17 +05:30
Kovid Goyal
6d5a2b8ecd Add a test that exercises the text_cache in Line code path 2024-11-12 09:16:45 +05:30
Kovid Goyal
6f5789fcd0 Couple more places where we initialized Line without TextCache 2024-11-12 09:08:42 +05:30
Kovid Goyal
a014b4e76a Fix #8044 2024-11-12 09:04:08 +05:30
Kovid Goyal
19cb15811f Merge branch 'fix-spelling' of https://github.com/FireIsGood/kitty 2024-11-11 09:37:10 +05:30
FireIsGood
ef980e0bce Fix config spelling errors 2024-11-10 19:49:33 -08:00
Kovid Goyal
f2e41b2283 Merge branch 'dependabot/go_modules/all-go-deps-1844b1ebac' of https://github.com/kovidgoyal/kitty 2024-11-11 08:49:04 +05:30
dependabot[bot]
1d390b70e2 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.21.0 to 0.22.0
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.0)

Updates `golang.org/x/sys` from 0.26.0 to 0.27.0
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.27.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>
2024-11-11 03:12:28 +00:00
Kovid Goyal
af8605dabf bump unicode version to 16 2024-11-10 09:03:52 +05:30
Kovid Goyal
38607369aa ... 2024-11-09 07:54:55 +05:30
Kovid Goyal
0356f28576 Fix #8031 2024-11-08 07:26:32 +05:30
Kovid Goyal
466bc8933a Document how to setup kitty for automatic OS color following 2024-11-07 19:09:18 +05:30
Kovid Goyal
96c1a5c4d1 Get automatic theme switching working 2024-11-07 17:31:44 +05:30
Kovid Goyal
e485b3b4a3 Code to allow users to create dark and light themes that are automatically applied when the OS color scheme changes 2024-11-07 13:52:49 +05:30
Kovid Goyal
36074eabc8 Make code to parse color specs and patch options objects re-useable 2024-11-07 13:14:33 +05:30
Kovid Goyal
b0ebd340fe Function to get the current system color theme 2024-11-07 12:47:06 +05:30
Kovid Goyal
239e08f268 When reading desktop settings from the portal provide a list of supported namespaces
The wlr portal doesnt work with an empty list. Sigh.
2024-11-07 11:10:27 +05:30
Kovid Goyal
754288557d Track initial color scheme preference read on Linux 2024-11-07 10:38:13 +05:30
Kovid Goyal
27cf969a64 Proper error output 2024-11-07 09:35:26 +05:30
Kovid Goyal
6ad9f6fd40 ... 2024-11-07 09:34:10 +05:30
Kovid Goyal
c3c63d3a1e Add a load event for watchers 2024-11-07 09:31:26 +05:30
Kovid Goyal
525dd56aae Merge branch 'patch-1' of https://github.com/dontlaugh/kitty 2024-11-07 09:01:39 +05:30
Coleman McFarland
b9d820884b Fix a typo in overview.rst 2024-11-06 21:12:53 -05:00
Kovid Goyal
33ab1d9019 Reduce size of LineAttrs from 4 bytes to 1 byte 2024-11-04 09:10:08 +05:30
Kovid Goyal
e54a761768 Micro-optimization
Use 31 bits for the index rather than 32bits.
2024-11-04 09:10:08 +05:30
Kovid Goyal
bacfb436e9 Code to run the benchmark kitten headlessly 2024-11-04 09:10:08 +05:30
Kovid Goyal
0f7878f1e9 Let the compiler use a register for blanking cpu cells when drawing text 2024-11-04 09:10:08 +05:30
Kovid Goyal
aae50f9a99 ... 2024-11-04 09:10:08 +05:30
Kovid Goyal
8dd6686c86 Fix bug pointed out by ASAN 2024-11-04 09:10:08 +05:30
Kovid Goyal
d88b7e945a Port the CoreText backend to use ListOfChars 2024-11-04 09:10:07 +05:30
Kovid Goyal
5e36e0a324 Fix text_at 2024-11-04 09:10:07 +05:30
Kovid Goyal
30f4441fe5 Fix line_as_ansi 2024-11-04 09:10:07 +05:30
Kovid Goyal
016519a868 Remove the 4KB mac chars limit in unicode_in_range 2024-11-04 09:10:07 +05:30
Kovid Goyal
9d4818e58b Speed up unicode_in_range 2024-11-04 09:10:07 +05:30
Kovid Goyal
7ff7947ab3 Fix cell_as_unicode 2024-11-04 09:10:07 +05:30
Kovid Goyal
1481fb4fe9 Dont generate mark mapping 2024-11-04 09:10:07 +05:30
Kovid Goyal
cabd6c0589 Initial port of code to use TextCache 2024-11-04 09:10:07 +05:30
Kovid Goyal
f6347ee1e2 Move more declarations out of data-types.h 2024-11-04 09:10:07 +05:30
Kovid Goyal
5a2440eb97 Make the TextCache object available in the Screen, LineBuf and Line objects 2024-11-04 09:10:07 +05:30
Kovid Goyal
05120061cc Move various data types into their own headers 2024-11-04 09:10:07 +05:30
Kovid Goyal
089fc25e74 Use a single alloc per LineBuf (apart from the Line object) 2024-11-04 09:10:07 +05:30
Kovid Goyal
f2d60d6a4e Use Python's builtin machinery to prevent creation of Line objects 2024-11-04 09:10:07 +05:30
Kovid Goyal
8f2b722dd7 Refactor LineBuf consructor to make it more re-useable 2024-11-04 09:10:07 +05:30
Kovid Goyal
c572adf677 Start work on allowing unlimited codepoints per cell
This is needed to properly support zero-width joiner based emoji
sequences.
2024-11-04 09:10:07 +05:30
Kovid Goyal
847433dba2 Discard OSC 9 notifications that start with 4;
Some misguided software is using it for "progress reporting". OSC 9 has
a decade plus history of being used for notifications but because
Windows Terminal decided to use it for progress reporting, without
bothering to do research about conflicting existing uses, systemd of all
things wants to adopt it!! Crazy world we live in.

Since actual notifications are highly unlikely to start with 4; we
hopefully don't break any real world use cases and also don't let
systemd spam our users with endless notifications.

Fixes #8011
2024-11-01 20:21:55 +05:30
Kovid Goyal
15b5a9cfbd ... 2024-10-31 10:07:38 +05:30
Kovid Goyal
0b1a2b3fe6 ... 2024-10-31 09:29:42 +05:30
Kovid Goyal
2531c31d02 version 0.37.0 v0.37.0 2024-10-30 21:34:51 +05:30