Commit Graph

14324 Commits

Author SHA1 Message Date
Kovid Goyal
5ab484cac2 Implement --bias for the grid layout 2024-07-20 13:11:06 +05:30
Kovid Goyal
92385f6db7 Make function re-useable and simplify bias docs a bit 2024-07-20 12:44:46 +05:30
Kovid Goyal
681048f1ca launch command: A new --bias option to adjust the size of newly created windows declaratively
Still need to implement it for the Grid layout.
Fixes #7634
2024-07-20 12:37:18 +05:30
Kovid Goyal
ae8da889c4 Make mypy 1.11 happy 2024-07-20 10:15:01 +05:30
Kovid Goyal
681a2b7b28 Sessions: A new command focus_matching_window to shift focus to a specific window, useful when creating complex layouts with splits 2024-07-19 14:54:44 +05:30
Kovid Goyal
95aeaa390f ... 2024-07-19 12:05:52 +05:30
Kovid Goyal
e15e882d10 DRYer 2024-07-19 11:47:24 +05:30
Kovid Goyal
43769bc3e0 Allow controlling the easing curves used for the visual bell 2024-07-19 11:35:00 +05:30
Kovid Goyal
3cf07e27a1 ... 2024-07-19 09:25:12 +05:30
Kovid Goyal
705df117fd Add a note about cursor blink animation energy consumption 2024-07-19 09:23:34 +05:30
Kovid Goyal
3ff7eb68f8 Document how to animate the cursor blinking 2024-07-19 09:09:13 +05:30
Kovid Goyal
942cbea4b5 Fix rendering of semi-transparent cursors 2024-07-19 08:58:24 +05:30
Kovid Goyal
3db2ce33b1 Handle bezier easing function returning negative values 2024-07-19 08:27:58 +05:30
Kovid Goyal
e1730b4c84 Use more comprehensive linear test for bezier curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
40770f908b ... 2024-07-18 22:25:02 +05:30
Kovid Goyal
21e19a90f4 Add test for multiple function handling 2024-07-18 22:25:02 +05:30
Kovid Goyal
9c75ea795d Recognize more linear bezier curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
39dfa75fe7 Add test for steps easing function value calculation 2024-07-18 22:25:02 +05:30
Kovid Goyal
e927f8da62 Add some tests for easing function parsing 2024-07-18 22:25:02 +05:30
Kovid Goyal
fc13b06b35 Implement proper unit bezier easing function
Code based on WebKit
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/UnitBezier.h
2024-07-18 22:25:02 +05:30
Kovid Goyal
f090c9a895 Code to convert easing functions from Python to C 2024-07-18 22:25:02 +05:30
Kovid Goyal
9ac81c45b1 Cleanup steps animation function definition 2024-07-18 22:25:02 +05:30
Kovid Goyal
0a707b5c33 Move work on animation implementation 2024-07-18 22:25:02 +05:30
Kovid Goyal
cd320e05c1 Implement simple easing curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
eb7487d7a2 Prepare of alpha blending of cursor
Will allow for cursor blink animation eventually.
2024-07-18 22:25:02 +05:30
Kovid Goyal
10bd0f71d8 Use inband resize events in kittens 2024-07-18 21:57:53 +05:30
Kovid Goyal
a4cdc1cdf3 Send current size when in band resize events requested even if mode is already on 2024-07-18 20:40:05 +05:30
Kovid Goyal
8d1eb75f9c ... 2024-07-18 20:34:57 +05:30
Kovid Goyal
06b5eff6e6 Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
b17c2dd06b Update docs of remote control commands to note that they support more image formats than just PNG 2024-07-17 04:38:11 +05:30
Kovid Goyal
065f216c6f ensure options object is freed at shutdown 2024-07-16 21:49:33 +05:30
Kovid Goyal
30023d9d9c DRYer 2024-07-16 10:57:00 +05:30
Kovid Goyal
2ba28171ab DRYer 2024-07-16 10:45:46 +05:30
Kovid Goyal
c056df223e Nicer way to prevent defrag 2024-07-16 07:43:50 +05:30
Kovid Goyal
9a50e453b2 Ensure defrag doesnt run when testing hole coalescing 2024-07-15 22:41:22 +05:30
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