]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1634: Clipboard code can be improved v9.1.1634
authorFoxe Chen <chen.foxe@gmail.com>
Thu, 14 Aug 2025 20:08:17 +0000 (22:08 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 14 Aug 2025 20:09:45 +0000 (22:09 +0200)
commit126bc4690fb94c6628c704a3044bbc58d84dec42
treee4e6046200ac7f7c1f544ac390985ed6ffbe13ff
parentade0815856854f4b2e01345d9a9c6ade55b9b8de
patch 9.1.1634: Clipboard code can be improved

Problem:  Clipboard code can be improved
Solution: Slightly refactor code (Foxe Chen).

This commit does the following:
-  Use garray_T when receiving data instead of manually reallocing
-  formatting fixes
-  skip Wayland test that requires clientserver if x11 not compiled
-  Make some functions static

closes: #17999

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/clipboard.c
src/proto/clipboard.pro
src/testdir/test_wayland.vim
src/version.c