Commit Graph

13510 Commits

Author SHA1 Message Date
Kovid Goyal
05881db492 Remove unused code 2024-02-28 12:15:20 +05:30
Kovid Goyal
1086757dc0 More docs 2024-02-28 11:39:16 +05:30
Kovid Goyal
d4c302bea3 Cleanup clear to prompt implementation and allow moving cleared lies into scrollback 2024-02-28 11:27:41 +05:30
Kovid Goyal
b8774327b6 icat kitten: Add a command line argument to override terminal window size detection
Fixes #7165

I had five minutes, so why not.
2024-02-27 23:06:10 +05:30
Kovid Goyal
e9c4e73103 Merge branch 'dependabot/go_modules/all-go-deps-55e9d2be01' of https://github.com/kovidgoyal/kitty 2024-02-26 10:12:12 +05:30
dependabot[bot]
d19a2fb606 Bump the all-go-deps group with 1 update
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.10.0 to 1.11.0
- [Commits](https://github.com/dlclark/regexp2/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 04:00:28 +00:00
Kovid Goyal
99af9739b2 ... 2024-02-25 19:46:18 +05:30
Kovid Goyal
9ce366fa7b Fix #7154 2024-02-25 15:22:43 +05:30
Kovid Goyal
daeaf65d7e fix compiler warning 2024-02-25 11:17:26 +05:30
Kovid Goyal
c5a10d19a4 Update the changelog 2024-02-25 10:49:22 +05:30
Kovid Goyal
a5f3142514 hints kitten: The option to set the text color for hints now allows arbitrary colors
Fixes #7150
2024-02-25 10:02:38 +05:30
Kovid Goyal
cf49fcc4e9 Make --dump-bytes robust against parser code modifying contents of buffer during parsing 2024-02-25 09:57:45 +05:30
Kovid Goyal
06dd84d6da Ensure event loop ticks ASAP when there is pending input 2024-02-25 09:57:45 +05:30
Kovid Goyal
dd3d4f8451 ... 2024-02-25 09:57:44 +05:30
Kovid Goyal
c08523a1ad Fix --dump-bytes duplicating bytes because of input_delay 2024-02-25 09:57:44 +05:30
Kovid Goyal
559be309ea Document previous PR 2024-02-25 09:57:44 +05:30
Carlos Esparza
299c39a214 add new-tab-left and new-tab-right 2024-02-25 09:57:44 +05:30
Carlos Esparza
4575608a97 add new-tab-neighbor option to detach_window 2024-02-25 09:57:44 +05:30
Kovid Goyal
1a9a7a59ac Make XOR64 test also test alignment issues 2024-02-25 09:57:44 +05:30
Kovid Goyal
e7d6101bd4 DRYer 2024-02-25 09:57:44 +05:30
Kovid Goyal
76381f5cdd Another tdir rmtree failure during tear down ignored 2024-02-25 09:57:44 +05:30
Kovid Goyal
40a4429e58 Ignore failure to remove tempdir during test tear down 2024-02-25 09:57:44 +05:30
Kovid Goyal
bd1aed43ec Check for leftovers when tokenizing 2024-02-25 09:57:44 +05:30
Kovid Goyal
7727cd45cf Delay load replacements as well 2024-02-25 09:57:44 +05:30
Kovid Goyal
4ee5b94584 Improve typing info for lex_scanner 2024-02-25 09:57:44 +05:30
Kovid Goyal
1d5c7d662e log error when failing to parse URL 2024-02-25 09:57:44 +05:30
Kovid Goyal
f4f06222d4 ... 2024-02-25 09:57:44 +05:30
Kovid Goyal
4caf8a6b14 Restore support for alternate character sets
Needed by the execrable ncurses. Adds an extra branch in the hot path,
sigh. Thanks to branch prediction it doesnt have any measurable impact
on the benchmark, thankfully.
2024-02-25 09:57:44 +05:30
Kovid Goyal
c19488f3be Graphics protocol: Add a new delete mode for deleting images whose ids fall within a range
Useful for bulk deletion. See #7080
2024-02-25 09:57:44 +05:30
Kovid Goyal
ad3ab877f8 Use a fast SIMD implementation to XOR data going into the disk cache 2024-02-25 09:57:43 +05:30
Kovid Goyal
88f3c8c5ee Reduce max key size in disk cache
We used only 12 byte keys no need to have a max key size more than 16
2024-02-25 09:57:43 +05:30
Kovid Goyal
91013a4e05 Faster image cache key generation 2024-02-25 09:57:43 +05:30
Kovid Goyal
de92470f0d Improve performance of disk cache when there are thousands of small images
Fixes #7080
2024-02-25 09:57:43 +05:30
Kovid Goyal
1c62b0f1ec ... 2024-02-25 09:57:43 +05:30
Kovid Goyal
b52af64ffe Hide cursor during benchmark run 2024-02-25 09:57:43 +05:30
Kovid Goyal
1db7ac5f6b Use our new shift by n functions to improve function to zero last N bytes
Benchmark neutral but cleaner code using one less vector register and equal
number of operations.
2024-02-25 09:57:43 +05:30
Kovid Goyal
e77a970ca1 Also implement arbitrary byte shift for 128 bit registers 2024-02-25 09:57:43 +05:30
Kovid Goyal
ac984d05f2 Fix gcc detection 2024-02-25 09:57:43 +05:30
Kovid Goyal
f16c2a0d67 Move checking for compiler brand into Env 2024-02-25 09:57:43 +05:30
Kovid Goyal
29a574a4bc Prevent duplicate VZEROUPPER instructions 2024-02-25 09:57:43 +05:30
Kovid Goyal
a7c06b38e6 We dont actually need vzeroupper at start of function
GCC emits vzeroupper automatically when compiling with native
optimizations but we still need it otherwise
2024-02-25 09:57:43 +05:30
Kovid Goyal
16d36c46fe Update to using math/rand/v2 2024-02-25 09:57:43 +05:30
Kovid Goyal
720618bc37 Use go 1.22 for building
It supports PCALIGN on non ARM arches as well
2024-02-25 09:57:43 +05:30
Kovid Goyal
2f727e6561 ... 2024-02-25 09:57:43 +05:30
Kovid Goyal
b65a5f78fd Fix regression causing shells in darwin to not run in login mode 2024-02-25 09:57:43 +05:30
Kovid Goyal
0a1eb038a5 Implement functions for arbitrary byte shifts in vector registers 2024-02-25 09:57:42 +05:30
Kovid Goyal
e541c0534d ... 2024-02-25 09:57:42 +05:30
Kovid Goyal
eb1e3b33b4 Fix test failure on some systems
Broken ass compilers strike again
2024-02-25 09:57:42 +05:30
Kovid Goyal
41ec46d5bb ... 2024-02-25 09:57:42 +05:30
Kovid Goyal
b021e9b648 Do the default func test last so we can see what the failure is on more explicitly 2024-02-25 09:57:42 +05:30