Package: vim-youcompleteme / 0+20230109+git7620d87+ds-3

Metadata

Package Version Patches format
vim-youcompleteme 0+20230109+git7620d87+ds-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Hide diagnostics UI when entering Insert Mode.patch | (download)

autoload/youcompleteme.vim | 1 1 + 0 - 0 !
python/ycm/buffer.py | 12 10 + 2 - 0 !
python/ycm/diagnostic_interface.py | 53 41 + 12 - 0 !
python/ycm/youcompleteme.py | 7 6 + 1 - 0 !
4 files changed, 58 insertions(+), 15 deletions(-)

 [patch] hide diagnostics ui when entering insert mode


0002 Actually fix the problem where changedtick is.patch | (download)

python/ycm/vimsupport.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] actually fix the problem where changedtick is ''


0003 Don t change the cursor position if GoTo doesnt have.patch | (download)

python/ycm/client/command_request.py | 6 6 + 0 - 0 !
python/ycm/tests/vimsupport_test.py | 118 118 + 0 - 0 !
python/ycm/vimsupport.py | 22 12 + 10 - 0 !
3 files changed, 136 insertions(+), 10 deletions(-)

 [patch] don't change the cursor position if goto doesnt have one

This fixes the behavour of GoToAlternate file to keep the buffer's
cursor position.

0004 Update ycmd.patch | (download)

README.md | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] update ycmd


0005 Update vim docs.patch | (download)

doc/youcompleteme.txt | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] update vim docs


0006 Fix traceback when diagnostics contain quotes.patch | (download)

python/ycm/youcompleteme.py | 3 2 + 1 - 0 !
test/diagnostics.test.vim | 48 48 + 0 - 0 !
test/lib/autoload/youcompleteme/test/setup.vim | 4 4 + 0 - 0 !
3 files changed, 54 insertions(+), 1 deletion(-)

 [patch] fix traceback when diagnostics contain quotes

Fixes #4125

0007 retry failed vim tests. they are kinda flaky.patch | (download)

test/lib/run_test.vim | 30 23 + 7 - 0 !
1 file changed, 23 insertions(+), 7 deletions(-)

 [patch] retry failed vim tests. they are kinda flaky


0008 Wait even longer for jedi.patch | (download)

test/finder.test.vim | 15 9 + 6 - 0 !
test/lib/plugin/shared.vim | 3 3 + 0 - 0 !
2 files changed, 12 insertions(+), 6 deletions(-)

 [patch] wait even longer for jedi


0010 Build containers for current architecture.patch | (download)

.github/workflows/ci.yml | 3 2 + 1 - 0 !
test/docker/ci/image/Dockerfile | 10 0 + 10 - 0 !
test/docker/ci/push | 4 3 + 1 - 0 !
test/docker/ci/rebuild | 4 3 + 1 - 0 !
test/docker/manual/image/Dockerfile | 3 2 + 1 - 0 !
test/docker/manual/push | 4 3 + 1 - 0 !
test/docker/manual/rebuild | 5 4 + 1 - 0 !
test/docker/manual/run | 3 2 + 1 - 0 !
8 files changed, 19 insertions(+), 17 deletions(-)

 [patch] build containers for current architecture


00 path to server script.patch | (download)

.ycm_extra_conf.py | 72 0 + 72 - 0 !
autoload/youcompleteme.vim | 8 2 + 6 - 0 !
python/ycm/base.py | 6 2 + 4 - 0 !
python/ycm/paths.py | 57 8 + 49 - 0 !
4 files changed, 12 insertions(+), 131 deletions(-)

 use debian's ycmd package locations for ycmd.
 We neither have the third_party directory for vim-youcompleteme nor
 for ycmd, so we can't import them and we don't want to either.
 .
 This means we can drop lots and lots of complicated code as we know
 by virtue of dependencies where everything is and that it is good
01 allow tests to be run.patch | (download)

python/ycm/tests/paths_test.py | 42 0 + 42 - 0 !
python/ycm/tests/youcompleteme_test.py | 60 0 + 60 - 0 !
run_tests.py | 13 1 + 12 - 0 !
test/completion.common.vim | 12 6 + 6 - 0 !
test/completion_info.test.vim | 12 6 + 6 - 0 !
test/diagnostics.test.vim | 4 2 + 2 - 0 !
test/fixit.test.vim | 4 2 + 2 - 0 !
test/lib/plugin/shared.vim | 12 8 + 4 - 0 !
test/run_vim_tests | 6 5 + 1 - 0 !
test/signature_help.test.vim | 12 7 + 5 - 0 !
test/vimrc | 8 7 + 1 - 0 !
11 files changed, 44 insertions(+), 141 deletions(-)

 use debian's ycmd package locations for ycmd in tests
 We neither have the third_party directory for vim-youcompleteme nor
 for ycmd, so we can't import them and we don't want to either.
 .
 The two python tests are removed as we have always Python installed
 in Debian due to dependencies and the tests can for some reason not
 override this properly.
02 allow to retry failed test runs.patch | (download)

test/run_vim_tests | 76 49 + 27 - 0 !
1 file changed, 49 insertions(+), 27 deletions(-)

 allow retrying failed vim tests automatically
 The vim tests are somewhat sensitive to timing, so if the machine isn't
 the fastest or does other things concurrently it can happen that the
 timing in the tests fail to match reality.
 .
 Ideally the tests would not be sensitive to timing issues, but that is
 a bigger and more involved problem to solve for upstream. So as a tiny
 downstream we just cop out here and allow the tests to be retried a
 bunch of times likely hitting the 'PASS' jackpot in a retry.
03 do not override unset ycmd settings.patch | (download)

README.md | 80 53 + 27 - 0 !
doc/youcompleteme.txt | 77 50 + 27 - 0 !
plugin/youcompleteme.vim | 98 14 + 84 - 0 !
3 files changed, 117 insertions(+), 138 deletions(-)

 load ycmd default settings from its default_settings.json
 Upstream prefers to keep the configuration in one place, but as Debian has
04 do not require semantic highlighting.patch | (download)

autoload/youcompleteme.vim | 22 18 + 4 - 0 !
1 file changed, 18 insertions(+), 4 deletions(-)

 do not require a ycmd upgrade
 No need to entangle us too strongly for experimental features
08 ignore arch specific details in hover test.patch | (download)

test/hover.test.vim | 33 19 + 14 - 0 !
1 file changed, 19 insertions(+), 14 deletions(-)

 ignore architecture-specific details in hover vim-test
09 allow tests to be skipped.patch | (download)

test/run_vim_tests | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 implement a simple interface to skip vim tests
 In this way I can skip certain tests in autopkgtest to run them
 later on individually if desired.
 .
 The patch is incomplete as it does handle only skipping entire
 tests while upstream allows running individual testcases inside
 a test file, so an upstreamable --skip should ideally support
 this as well beside that the patch as-is depends on the retry
 one at the moment althrough trivially.
10 add libclang test.patch | (download)

test/libclang.test.vim | 28 28 + 0 - 0 !
1 file changed, 28 insertions(+)

 check that libclang-based completer offers fixit
 clangd is preferred  and more featureful, but libclang is a decent
 fallback and as long as we built it, it should at least keep working.
11 add ccls test.patch | (download)

test/ccls.test.vim | 23 23 + 0 - 0 !
1 file changed, 23 insertions(+)

 check ccls support
 Support is Debian specific as upstream already has libclang and clangd for
 the cfamily and adding more is hard to do platform agnostic, while in Debian
 it is hardly one apt call way and hence easy to do.
12 add gopls test.patch | (download)

test/gopls.test.vim | 27 27 + 0 - 0 !
1 file changed, 27 insertions(+)

 check gopls works
 The test content itself is a bit pointless, but it can at
 least proof that go support isn't entirely broken.
13 add fortran test.patch | (download)

test/fortran.test.vim | 25 25 + 0 - 0 !
test/testdata/diagnostics/foo.f90 | 6 6 + 0 - 0 !
2 files changed, 31 insertions(+)

 adding a simple test for fortran completer
 This is Debian-specific as enabling the completer is a
 Debian-specific patch in ycmd.