Kovid Goyal
|
e4c48a5f17
|
Add AVX2 implementation of find byte not in range
Also fix alignment bug and ensure the simd finders dont return a pointer
beyond the end
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
021dd168e5
|
...
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
b032313c45
|
Only use SIMD if CPU supports it at runtime
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
19a41b4d9a
|
Use sse4.2 instruction for normal mode printable ascii detection
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
25e7a2882d
|
Work on using SIMD for normal mode dispatch
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
23c42cb555
|
...
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
1f8feea454
|
Parse new data that is writtne while parsing is in progress in the parse loop
Avoids unnecessary memmove()
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
ac6afcb0a8
|
Release the parser IO lock while parsing
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
e3d6aa2c60
|
Use simd in a few loops
|
2024-02-25 09:57:27 +05:30 |
|
Kovid Goyal
|
89d416806b
|
...
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
8b4209cb97
|
Also use fast find for pending mode
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
200e5bf6e3
|
Examine 8 bytes at once for terminator char
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
f4819175b0
|
Start work on vectorizing searches
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
dbc4b98742
|
Ignore input_delay when the input buffer is close to full
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
8dbea2a046
|
...
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
38c8100a76
|
...
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
a560d86d0f
|
Use aligned loads for the byte loader
|
2024-02-25 09:57:26 +05:30 |
|
Kovid Goyal
|
35da87994b
|
Fix input_delay not working
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
f49f2a1b82
|
Fix buf full -> not full reporting
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
91c3492455
|
Allow logging code to log arbitrary length messages
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
75872a1097
|
Dont need an extra variable
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
4c267bdc24
|
Use a faster base64 implementation
From the Chromium source code BSD licensed
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
409ca6bfab
|
Allow larger graphics escape code sizes
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
56abcbf910
|
Remove unused base64 32bit functions
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
f140b74f17
|
...
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
8360a4ec53
|
Only reset urf8 state when transitioning into normal
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
ccf124218b
|
...
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
737d7bf8f2
|
Fix parse_sgr buf overread
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
3f41b22011
|
Use the byte loader for normal mode
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
43451b1287
|
...
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
2914c2eb95
|
Use the byte loader for parsing CSI as well
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
fc1775753a
|
...
|
2024-02-25 09:57:25 +05:30 |
|
Kovid Goyal
|
65aca5b140
|
Speedup utoi by loading numbers in 8 byte chunks
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
a6da0ac6ca
|
Log bad remote commands
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
5c9aa6a21a
|
json.loads() stupidly does not accept memoryview
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
50935b6c93
|
Cleanup kitty dcs parsing
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
0a6d83901d
|
...
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
08d99967dc
|
Sanitize contents of remote print
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
2b3b8bae23
|
Fix osc52 null termination
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
f96182cc11
|
Fix utf8 decode
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
93784903b2
|
Remove FLUSH_DRAW as it is not needed
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
afcffc03b1
|
Separate test of write and read so we can test threading
|
2024-02-25 09:57:24 +05:30 |
|
Kovid Goyal
|
34164dc341
|
Read errors from child must commit a zero write
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
6205fb32fd
|
Refactor VT parser for more speed
No longer copy bytes into a separate buffer, instead parse them in place
in the read buffer
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
23bb2e1b67
|
Fast function to replace c0 codes
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
c81ac668da
|
Use a single code path for tests and live VT parsing
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
f42b49e597
|
Avoid a double parse for pending mode
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
a4ca143fc5
|
Limit amount of pending data we will store
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
969bd05fc5
|
Represent malformed UTF-8 with the replacement character
|
2024-02-25 09:57:23 +05:30 |
|
Kovid Goyal
|
8a83014f51
|
Dont construct memoryview when not needed in non dump code path
|
2024-02-25 09:57:23 +05:30 |
|