Kovid Goyal
15dd95d420
kitten @ resize-window: Fix --increment=0 treated as --increment=2
2024-07-15 22:32:29 +05:30
Kovid Goyal
04735eb072
...
2024-07-15 22:21:21 +05:30
Kovid Goyal
56bd1f59dd
cleanup must be called with lock held
2024-07-15 22:07:50 +05:30
Kovid Goyal
4c5ec4a018
Silence spurious warning from Clang ASAN
2024-07-15 22:05:48 +05:30
Kovid Goyal
24e6dda0bc
disk-cache: Improve hole management
...
Make coalescing of neighboring holes robust. Speed up hole finding.
Cost is we replace a single array tracking holes with three hashmaps
tracking size->[pos] pos->size and endpos->size.
2024-07-15 21:13:59 +05:30
Kovid Goyal
2058cac203
Now the test should be fully robust
2024-07-15 09:29:30 +05:30
Kovid Goyal
a49bb8c5f9
DRYer
2024-07-15 09:24:19 +05:30
Kovid Goyal
638a4b19ee
...
2024-07-15 09:19:13 +05:30
Kovid Goyal
aaf7808328
Add explicit check for holes in test
2024-07-15 09:05:44 +05:30
Kovid Goyal
a02fc7194d
Merge branch 'dependabot/go_modules/all-go-deps-874c37143e' of https://github.com/kovidgoyal/kitty
2024-07-15 08:52:43 +05:30
Kovid Goyal
85f49c4310
...
2024-07-15 08:52:21 +05:30
dependabot[bot]
fec5989a8e
Bump github.com/dlclark/regexp2 in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2 ).
Updates `github.com/dlclark/regexp2` from 1.11.1 to 1.11.2
- [Commits](https://github.com/dlclark/regexp2/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-15 03:16:59 +00:00
Kovid Goyal
7a35cb2d8f
Use an array for id-to-hyperlink mapping
...
Faster, less memory and less code.
2024-07-14 18:43:57 +05:30
Kovid Goyal
35d73410f8
Restore hyperlink garbage collection
2024-07-14 14:57:56 +05:30
Kovid Goyal
d93e91d115
Fix flaky test
2024-07-14 14:31:47 +05:30
Kovid Goyal
6580fa978b
...
2024-07-14 12:34:24 +05:30
Kovid Goyal
5d9c27d3a7
...
2024-07-13 14:08:22 +05:30
Kovid Goyal
f7d81409ae
...
2024-07-13 14:04:21 +05:30
Kovid Goyal
a0b6f3c4b3
Mark the size and bucket count methods as const
2024-07-12 12:23:38 +05:30
Kovid Goyal
e0a7d25dda
Splits layout: Fix the move_to_screen_edge action breaking when only a single window is present
...
Fixes #7621
2024-07-12 12:13:31 +05:30
Kovid Goyal
870607aa38
remove the no longer used uthash
2024-07-12 11:45:48 +05:30
Kovid Goyal
dca2663500
move rsync signature hashmap to verstable
2024-07-12 11:45:48 +05:30
Kovid Goyal
50ad685ed9
move font fallback hashmap to verstable
2024-07-12 11:45:48 +05:30
Kovid Goyal
bc8c4ac3d6
migrate graphics code to verstable
2024-07-12 11:45:48 +05:30
Kovid Goyal
7d685fc98b
Getting size of cache file should not change its position
2024-07-12 11:45:48 +05:30
Kovid Goyal
6958803fec
Add some locking to python disk cache test API
2024-07-12 11:45:48 +05:30
Kovid Goyal
c410ab8a8f
Hide graphics internal APIs
2024-07-12 11:45:48 +05:30
Kovid Goyal
53eff7927a
Migrate disk cache to verstable
2024-07-12 11:45:45 +05:30
Kovid Goyal
b53264c099
Discard hyperlinks in scrollback if there are too many
2024-07-12 09:11:01 +05:30
Kovid Goyal
2955c3f7a7
Move hyperlink hashmap to verstable
...
Also speedup getting url for hyperlink id by using a second hash map for
it. Change behavior when there are too many hyperlinks to discard new
hyperlinks instead of remapping old hyperlink id and making some old
hyperlink wrong.
2024-07-12 09:11:00 +05:30
Kovid Goyal
9727ea1cac
Migrate glyph properties hash table to verstable
2024-07-12 09:11:00 +05:30
Kovid Goyal
94ebc972ce
move sprite position map to verstable
2024-07-12 09:11:00 +05:30
Kovid Goyal
c9a07f2406
Start move to newer hash table implementation
...
The new implementation is type safe. Also supposedly faster with less
memory overhead, but havent tested since no hash table is a performance
bottleneck.
New hash table is from: https://github.com/JacksonAllan/Verstable
2024-07-12 09:11:00 +05:30
Kovid Goyal
114f2da1bf
add a note about how to prevent themes kitten from commenting out color settings
2024-07-12 09:10:49 +05:30
Kovid Goyal
fd716b5753
Merge branch 'fix-themes-colors' of https://github.com/ethanwu10/kitty
2024-07-09 19:19:05 +05:30
Ethan Wu
87a9a60442
Fix themes kitten not displaying colors in narrow windows
...
The themes kitten used the truncated color name when formatting the
colors themselves, which leads to broken coloring when the window is
narrow enough to cause truncation to occur.
2024-07-08 22:41:29 -07:00
Kovid Goyal
e45d518082
Remove use of syscall package for flock
...
It is provided by unix package these days
2024-07-09 08:24:57 +05:30
Kovid Goyal
ee7afeea5a
Remove workaround for kwin sending out of order events press/focus events on Wayland as it is not needed with up-to-date kwin and causes issues with multiple OS windows.
...
The code wasnt correct anyway as active_draw_in_window was a window id
and it was being compared to an OS window id.
Fixes #7381
2024-07-09 08:02:10 +05:30
Kovid Goyal
076c882b22
have dev.sh deps download NERD font automatically
2024-07-08 20:03:13 +05:30
Kovid Goyal
2076cd870a
Merge branch 'dependabot/go_modules/all-go-deps-6e4b5d01fe' of https://github.com/kovidgoyal/kitty
2024-07-08 10:10:00 +05:30
dependabot[bot]
b261788ff3
Bump the all-go-deps group with 2 updates
...
Bumps the all-go-deps group with 2 updates: [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2 ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/dlclark/regexp2` from 1.11.0 to 1.11.1
- [Commits](https://github.com/dlclark/regexp2/compare/v1.11.0...v1.11.1 )
Updates `golang.org/x/sys` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
dependency-type: direct:production
update-type: version-update:semver-patch
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-07-08 03:37:41 +00:00
Kovid Goyal
d6e24d4af7
...
2024-07-08 06:43:37 +05:30
Kovid Goyal
3f0604c45f
kitty @ -> kitten @
2024-07-08 06:01:42 +05:30
Kovid Goyal
8327222146
Use realpath when creating the kitty config directory
...
Some people make it a symlink to non-existent paths. See #7607
2024-07-08 05:44:48 +05:30
Kovid Goyal
f1e1dc4a0c
Split up list of software supporting graphics protocol into libraries and applications and make it alphabetical
2024-07-07 20:31:36 +05:30
Kovid Goyal
f8beaa0a4b
Dispatch any clicks waiting for click_interval on key events
...
Fixes #7601
2024-07-07 20:17:22 +05:30
Kovid Goyal
87bd4334b7
Merge branch 'patch-2' of https://github.com/Canop/kitty
2024-07-07 19:30:35 +05:30
Denys Séguret
ae899fe24f
Update graphics-protocol.rst
...
Add broot to the list of applications using Kitty's graphics protocol
(IMO it would be easier to read with an alphabetical sorting and by removing the gratuitous "blazing fast" assertions but that's out of scope of this PR)
2024-07-07 15:08:28 +02:00
Kovid Goyal
a3e20ea6d1
...
2024-07-07 13:36:12 +05:30
Kovid Goyal
24f01136c7
DRYer
...
Make CLI Only kittens run in overlay windows when run via the kitten
action mapping by default.
2024-07-05 13:23:41 +05:30