Commit Graph

16028 Commits

Author SHA1 Message Date
Anmol Sethi
3229ba0cde
lsp: Fix bad sortText comparison (#12485)
The spec indicates we have to fallback to comparing by label
if sortText is falsy.

Closes #12431
2020-08-30 22:29:47 -07:00
Justin M. Keyes
b3f5083b8d
Merge #12815 'snap: update, fix build issues' 2020-08-30 14:03:33 -07:00
Carlos Hernandez
65b2fce787
snap: don't run snapcraft under sudo
Snapcraft 4.0 complains about running LXD builds under sudo.  So instead
add the CI user to the "lxd" group and use sg to switch to that
membership.

Resolves: #12712
2020-08-30 17:13:41 +00:00
Carlos Hernandez
9c65017c3b Snapcraft: Use lua instead of luajit for arm64 2020-08-30 16:12:56 +00:00
Carlos Hernandez
8735105af8 Snapcraft: Build with Debug Info 2020-08-30 16:12:56 +00:00
Carlos Hernandez
7c4267e42c Add missing dependencies for Launchpad builds 2020-08-30 16:12:56 +00:00
Carlos Hernandez
fea608269a Bump to core20 2020-08-30 16:12:56 +00:00
Anatolii Sakhnik
c6648fe882
l10n: Update Ukrainian translation (#12785) 2020-08-30 00:06:32 -07:00
Justin M. Keyes
fbbc8cb8b1
Merge #12794 'tui: Fixing problems with GNU Screen' 2020-08-29 22:19:15 -07:00
James McCoy
46e74142ab
Merge pull request #12797 from clason/libvterm-0.1.4
third-party: upgrade libvterm to v0.1.4
2020-08-28 00:48:26 -04:00
Christian Clason
7de276b877 bump libvterm to 0.1.4 2020-08-27 20:01:14 +02:00
erw7
994e40914b Revert "tui: improve support for GNU Screen (#12098)"
This reverts commit f3ffe0b325.
Sending a control sequence to the host terminal, wrapped in DCS, causes
problems because it changes the state of the host terminal outside the
screen's control. This change will therefore be reverted.
2020-08-27 00:52:49 +09:00
erw7
8628dfe365 Revert "tui: Fix italics when $TERM is screen in tmux #12199"
This reverts commit 9d0222ee3e.
2020-08-27 00:52:17 +09:00
James McCoy
91109ffda2
Merge pull request #12510 from jamessan/clang-implicit-fallthrough 2020-08-26 07:13:27 -04:00
TJ DeVries
43202964f3
Merge pull request #12708 from runiq/lsp-doc
Add docs for some methods in vim.lsp
2020-08-25 09:52:22 -04:00
Jan Edmund Lazo
8a333afec5
Merge pull request #12786 from janlazo/vim-8.1.1516
vim-patch:8.1.{1516,1677,2051,2089,2275,2364},8.2.{423,1517}
2020-08-24 20:59:40 -04:00
James McCoy
1f84ea061d
spell_load_file: Add missing "goto endFAIL" if spellfile is not readable 2020-08-23 21:18:34 -04:00
James McCoy
75813af542
Disable -Wimplicit-fallthrough for tree_sitter/ 2020-08-23 21:18:34 -04:00
James McCoy
37fa8d3f44
Disable -Wimplicit-fallthrough for funcs.generated.h
This is code generated by gperf, so there's nothing we can do about it.
The code does have /*FALLTHROUGH*/ comments but clang doesn't recognize
them.
2020-08-23 20:59:39 -04:00
Jan Edmund Lazo
b46b373065
vim-patch:8.1.2275: using "seesion" looks like a mistake
Problem:    Using "seesion" looks like a mistake.
Solution:   Use an underscore to make the function sort first.
1e15e61188
2020-08-23 18:45:05 -04:00
Jan Edmund Lazo
107e50b25e
vim-patch:8.2.1517: cannot easily get the character under the cursor
Problem:    Cannot easily get the character under the cursor.
Solution:   Add the {chars} argument to strpart().
6c53fca023
2020-08-23 18:32:39 -04:00
Jan Edmund Lazo
bf8d96a30d
vim-patch:8.2.0423: in some environments a few tests are expected to fail
Problem:    In some environments a few tests are expected to fail.
Solution:   Add $TEST_MAY_FAIL to list tests that should not cause make to
            fail.
ce436de5a9
2020-08-23 15:08:45 -04:00
Jan Edmund Lazo
b59dadde4e
vim-patch:8.1.2364: termwinscroll test is flaky on FreeBSD
Problem:    Termwinscroll test is flaky on FreeBSD.
Solution:   Add to list of flaky tests.  Rename function.
e219f73ed5
2020-08-23 14:30:11 -04:00
Jan Edmund Lazo
d1e7156f26
vim-patch:8.1.2089: do not get a hint that $TEST_FILTER was active
Problem:    Do not get a hint that $TEST_FILTER was active.
Solution:   Mention $TEST_FILTER if no functions were executed.
7b666c7883
2020-08-23 14:26:20 -04:00
Jan Edmund Lazo
9961e9bcb7
vim-patch:8.1.2051: double-click test is a bit flaky
Problem:    Double-click test is a bit flaky.
Solution:   Correct entry in list of flaky tests.
705918f9f7
2020-08-23 14:25:02 -04:00
Jan Edmund Lazo
b4a5745e84
vim-patch:8.1.1677: tests get stuck when running into an existing swapfile
Problem:    Tests get stuck when running into an existing swapfile.
Solution:   Set v:swapchoice to "q" and report an error. (Daniel Hahler,
            closes vim/vim#4644)
b073da8929
2020-08-23 13:35:26 -04:00
Jan Edmund Lazo
3fac3cad75
vim-patch:8.1.1516: time reported for a test measured wrong
Problem:    Time reported for a test measured wrong.
Solution:   Move the computation to the end of RunTheTest(). (Ozaki Kiichi,
            closes vim/vim#4520)
640d4f0c97
2020-08-23 13:22:14 -04:00
Patrice Peterson
9d9edebceb gen_vimdoc: Allow to keep intermediary output 2020-08-23 13:48:27 +02:00
Patrice Peterson
b5782c3b81 Add FIXMEs 2020-08-23 13:48:27 +02:00
Patrice Peterson
ac05343a10 Add docs for most vim.lsp methods
Most of the lsp.log will be addressed in a separate PR.
2020-08-23 13:48:25 +02:00
Jan Edmund Lazo
8c49e3d509
Merge pull request #12770 from janlazo/vim-8.1.1115
vim-patch:8.1.{1115,2267},8.2.{607,814,1472,1474,1476,1511}
2020-08-22 18:34:52 -04:00
Jan Edmund Lazo
246c510b60
vim-patch:8.2.1511: putting a string in Visual block mode ignores multi-byte
Problem:    Putting a string in Visual block mode ignores multi-byte
            characters.
Solution:   Adjust the column for Visual block mode. (closes vim/vim#6767)
cd94277f72
2020-08-22 17:07:21 -04:00
Jan Edmund Lazo
091fc72a92
vim-patch:8.2.0814: clang warning for implicit conversion
Problem:    Clang warning for implicit conversion.
Solution:   Add type cast. (Dominique Pelle, closes vim/vim#6124)
3718427ba3
2020-08-21 21:39:57 -04:00
Jan Edmund Lazo
1d9b146ce3
vim-patch:8.2.0607: gcc warns for using uninitialized variable
Problem:    Gcc warns for using uninitialized variable. (John Marriott)
Solution:   Set name_end also for environment variables.
2bb76accc6
2020-08-19 21:38:42 -04:00
Jan Edmund Lazo
8d6c1edc6e
vim-patch:8.1.2267: compiler warning for uninitialized variable
Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Rearrange the code.
3b991527e8
2020-08-18 23:34:13 -04:00
Jan Edmund Lazo
45615cedd1
vim-patch:8.2.1472: ":argdel" does not work like ":.argdel" as documented
Problem:    ":argdel" does not work like ":.argdel" as documented. (Alexey
            Demin)
Solution:   Make ":argdel" work like ":.argdel". (closes vim/vim#6727)
            Also fix giving the error "0 more files to edit".
7b22117c4e
2020-08-17 23:34:39 -04:00
Jan Edmund Lazo
27a6728848
vim-patch:8.2.1476: filetype test fails on MS-Windows
Problem:    Filetype test fails on MS-Windows.
Solution:   Remove "^" from pattern.
aa9675a61d
2020-08-17 18:30:34 -04:00
Jan Edmund Lazo
97d3bd0bc6
vim-patch:8.2.1474: /usr/lib/udef/rules.d not recognized as udevrules
Problem:    /usr/lib/udef/rules.d not recognized as udevrules.
Solution:   Adjust match pattern. (Haochen Tong, closes 36722)
624b6eaf20
2020-08-17 18:30:10 -04:00
Jan Edmund Lazo
e99d1a7fbb
vim-patch:8.1.1115: cannot build with older C compiler
Problem:    Cannot build with older C compiler.
Solution:   Move variable declaration to start of block.
8f4aeb5572
2020-08-17 02:18:55 -04:00
Jan Edmund Lazo
161cdba1e3
vim-patch:8.2.1471: :const only locks the variable, not the value (#12765)
Problem:    :const only locks the variable, not the value.
Solution:   Lock the value as ":lockvar 1 var" would do. (closes vim/vim#6719)
241572794f
2020-08-16 17:13:52 -07:00
Manuel Krebs
83f5bf435d
runtime/tex.vim: patch to 2547aa930b59 #12504
vim/vim@2547aa930b
2020-08-16 15:23:28 -07:00
Jan Edmund Lazo
c219d3eec4
defaults: sessionoptions+=unix,slash #12760
Since 1c3ca4f18f, 2c1d12d0be, #7836, the "unix" and "slash" behavior
of 'sessionoptions'/'viewoptions' is always enabled, and the flags are
just ignored. There is no reason for that behavior to be configurable.

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2020-08-15 19:19:06 -07:00
Matthieu Coudron
37aa9c9c94
Merge pull request #12713 from janlazo/vim-8.2.1347
vim-patch:8.1.{573,1674,2097,2098,2341},8.2.{1347,1360,1361,1364,1369,1377,1379,1386,1409,1410,1438,1441,1458}
2020-08-15 17:45:18 +02:00
Marvim the Paranoid Android
75aeb815b4
version.c: update [ci skip] (#12662)
vim-patch:8.0.1454: when in silent mode too much output is buffered

vim-patch:8.1.0464: MS-Windows: job_info() has cmd without backslashes
vim-patch:8.1.0581: double free without the text properties feature
vim-patch:8.1.1392: build failure in tiny version
vim-patch:8.1.1541: check for ASAN is not reliable
vim-patch:8.1.1640: the CursorHold autocommand takes down a balloon
vim-patch:8.1.1808: build failure for tiny version

vim-patch:8.2.0062: memory test is flaky on FreeBSD
vim-patch:8.2.0524: Win32: searching for file matches is slow
vim-patch:8.2.0525: Win32: typo in assignment and misplaced paren
vim-patch:8.2.0569: build failure with tiny version
vim-patch:8.2.0774: t_TI and t_TE are output when using 'visualbell'
vim-patch:8.2.1225: linker errors when building with dynamic Python 3.9
vim-patch:8.2.1226: MS-Windows: windows positioning wrong depending on taskbar
vim-patch:8.2.1228: scrollbars not flush against the window edges when maximised
vim-patch:8.2.1231: MS-Windows: GUI code can be cleaned up
vim-patch:8.2.1232: MS-Windows GUI: Snap cancelled by split command
vim-patch:8.2.1240: GUI tests sometimes fail because of translations
vim-patch:8.2.1245: build failure in tiny version
vim-patch:8.2.1248: Netbeans test is flaky in the GUI
vim-patch:8.2.1264: terminal getwinpos() test is a bit flaky
vim-patch:8.2.1266: Makefile preference were accidentally included
vim-patch:8.2.1273: MS-Windows: terminal test may leave file behind
vim-patch:8.2.1277: tests on Travis do not run with EXITFREE
vim-patch:8.2.1279: some tests on Travis have EXITFREE duplicated
vim-patch:8.2.1298: compiler warning for unused argument in small version
vim-patch:8.2.1309: build failure with tiny version
vim-patch:8.2.1310: configure with Xcode 12 fails to check for tgetent
vim-patch:8.2.1312: MS-Windows: terminal test may fail if dir.exe exists
vim-patch:8.2.1317: MS-Windows tests on AppVeyor are slow
vim-patch:8.2.1318: no status badge for Github CI
vim-patch:8.2.1319: status badge for Github CI has wrong link
vim-patch:8.2.1321: GitHub CI also runs on tag push
vim-patch:8.2.1327: Mac: configure can't find Tcl libraries
vim-patch:8.2.1330: Github workflow takes longer than needed
vim-patch:8.2.1334: Github workflow timeout needs tuning
vim-patch:8.2.1335: CTRL-C in the GUI doesn't interrupt
vim-patch:8.2.1336: build failure on non-Unix systems
vim-patch:8.2.1346: small build fails
vim-patch:8.2.1348: build failure without the eval feature
vim-patch:8.2.1353: crash when drawing double-wide character in terminal window
vim-patch:8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
vim-patch:8.2.1385: no testing on ARM
vim-patch:8.2.1389: file missing from the distribution
vim-patch:8.2.1402: s390x tests always fail
vim-patch:8.2.1422: the Mac GUI implementation is outdated
vim-patch:8.2.1424: Mac build fails
vim-patch:8.2.1436: function implementing :substitute has unexpected name
vim-patch:8.2.1442: outdated references to the Mac Carbon GUI
vim-patch:8.2.1448: test 77a for VMS depends on small.vim which does not exist
vim-patch:8.2.1449: some test makefiles delete files that are not generated
vim-patch:8.2.1456: MS-Windows: test files are not deleted
2020-08-15 17:35:14 +02:00
Jan Edmund Lazo
056d99b0f6
tui: fix pvs/v728 2020-08-15 10:57:18 -04:00
Jan Edmund Lazo
9f591e6f23
shada: fix pvs/v1004 2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
aab71dbd03
userfunc: fix pvs/v547
xcalloc() never returns NULL.
2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
273ad7d66f
fixup! mksession: always unix slashes "/" for filepaths 2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
acf4197290
ex_docmd: replace #define with enum
enum value can be inferred from previous member.
Vim was doing this manually via relative #define.

It's not needed but it is confusing for me to update an array index
after the array value and to configure the array index
such that it is dependent on other array indices.
One missing #define and everything below breaks.
2020-08-15 10:57:17 -04:00
Jan Edmund Lazo
6ac51792b9
fixup! vim-patch:68e6560b84f1 2020-08-15 10:57:17 -04:00