Commit graph

13170 commits

Author SHA1 Message Date
Kovid Goyal
9f337e93fc
Add some threading tests 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
72635c55c5
Convenience methods to test parser threading 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
Kovid Goyal
dcde461c02
... 2024-02-25 09:57:23 +05:30
Kovid Goyal
6c0e938d5a
... 2024-02-25 09:57:23 +05:30
Kovid Goyal
76158f39ba
Pass the window id to the dump calback 2024-02-25 09:57:23 +05:30
Kovid Goyal
a4193a1b02
Fix dumping of bytes/commands 2024-02-25 09:57:23 +05:30
Kovid Goyal
5ab1e647bf
Use libc alloc instead of python alloc for vt parser 2024-02-25 09:57:23 +05:30
Kovid Goyal
9ecf79fa84
Fix parse worker 2024-02-25 09:57:23 +05:30
Kovid Goyal
44c96a208e
All tests now pass 2024-02-25 09:57:23 +05:30
Kovid Goyal
065866895c
Get pending mode working and add a few more tests 2024-02-25 09:57:23 +05:30
Kovid Goyal
52025ff030
misc parser and test fixes 2024-02-25 09:57:22 +05:30
Kovid Goyal
5168e0b576
Port parse_bytes() used in the tests 2024-02-25 09:57:22 +05:30
Kovid Goyal
e4bb00d942
Implement UTF-8 decoding for screen_draw() 2024-02-25 09:57:22 +05:30
Kovid Goyal
5f809bf249
Get kitty building with the new VT parser 2024-02-25 09:57:22 +05:30
Kovid Goyal
b083ad9038
Start work on bytes based VT parser 2024-02-25 09:57:22 +05:30
Kovid Goyal
ce2e1b0813
Ensure we dont pass a NULL pointer to wl_pointer_set_cursor()
Possible fix for #7139
2024-02-20 23:31:18 +05:30
Kovid Goyal
be92cc87a4
macOS: The command line args from macos-launch-services-cmdline are now prefixed to any args from open --args rather than overwriting them
The purpose of the file is to provide default command line args when
launching from GUI. Since macOS nowadays also allows command line args
when launch via open, also respect them.

Fixes #7135
2024-02-18 11:22:15 +05:30
Kovid Goyal
b2391553f9
Keyboard protocol: Fix the Enter Tab and Backspace keys generating spurious release events even when report all keys as escape codes is not set
Fixes #7136
2024-02-18 11:12:24 +05:30
Kovid Goyal
d35f391725
Fix #7131 2024-02-15 13:06:33 +05:30
Kovid Goyal
b9ebb23bb9
Fix #7130 2024-02-14 19:11:02 +05:30
Kovid Goyal
c4ef6b87aa
... 2024-02-12 14:58:13 +05:30
Kovid Goyal
031f9d8c26
... 2024-02-12 14:43:46 +05:30
Kovid Goyal
8c25c55f01
Merge branch 'fix-build-docs' of https://github.com/sytranvn/kitty 2024-02-12 14:36:21 +05:30
Sy Tran
cdce26e519
fix: typo in build docs 2024-02-12 15:59:01 +07:00
Kovid Goyal
925043d645
... 2024-02-12 11:17:25 +05:30
Kovid Goyal
f63a4cf90c
version 0.32.2 2024-02-12 11:15:49 +05:30
Kovid Goyal
e6d881e89b
Ensure we have at least a 1px thick line in cross shade 2024-02-12 09:37:35 +05:30
Kovid Goyal
325e6acd7e
Parametrize by number of lines not density 2024-02-12 09:35:15 +05:30
Kovid Goyal
10cfc66737
Merge branch 'dependabot/go_modules/all-go-deps-3cea7aaa0b' of https://github.com/kovidgoyal/kitty 2024-02-12 09:33:11 +05:30
Kovid Goyal
5dbfee9e9c
DRYer 2024-02-12 09:32:25 +05:30
Kovid Goyal
edd2bc85ae
Adjust cross_shade to have appearance more like in Unicode standard
We try to draw approximately seven diagonal lines per cell
2024-02-12 09:30:11 +05:30
dependabot[bot]
e918b3fb1e
Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.16.0 to 0.17.0
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- 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-02-12 03:57:03 +00:00
Kovid Goyal
c915d1bf58
Fix #7121 2024-02-12 09:24:51 +05:30
Kovid Goyal
cd2c7b3bbd
git rev-list --skip invocation changed 2024-02-12 08:47:50 +05:30
Kovid Goyal
63b8893c50
Fix #7117 2024-02-11 06:30:01 +05:30
Kovid Goyal
946d28ae37
Completion for kitty @ load-config --override xxx 2024-02-10 14:52:29 +05:30
Kovid Goyal
97e2d41233
Completion for kitty @ action 2024-02-10 14:01:45 +05:30