aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.0095: dialog for ":browse tabnew" says "new window"Jan Edmund Lazo2020-10-14
| | | | | | Problem: Dialog for ":browse tabnew" says "new window". Solution: Use "new tab page". (closes vim/vim#3053) https://github.com/vim/vim/commit/39902a06d92750c203d86c921b9d69995f949d97
* vim-patch:8.2.1842: crash when USE_FNAME_CASE is defined and using :browseJan Edmund Lazo2020-10-14
| | | | | | | Problem: Crash when USE_FNAME_CASE is defined and using :browse. Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan, closes vim/vim#7123) https://github.com/vim/vim/commit/21cbe175eece17fad21d7403b00422445b587138
* vim-patch:8.2.0957: compiler warning for uninitialized variableJan Edmund Lazo2020-10-14
| | | | | | Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize one variable. https://github.com/vim/vim/commit/2d4070d3b02e775a6f3d5ef52265add270e09a4f
* vim-patch:8.2.0573: using :version twice leaks memoryJan Edmund Lazo2020-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: using :version twice leaks memory Solution: Only initialize variables once. (Dominique Pelle, closes vim/vim#5917) https://github.com/vim/vim/commit/278e83863b2c7329f6712b8809e4aa5e6a50e13f Cherry-pick test_alot.vim change from patch v8.2.0164 so that test_expr.vim and test_version.vim do not conflict. Cherry-pick modeline from patch v8.2.1432. N/A patches for version.c: vim-patch:8.1.0103: long version string cannot be translated Problem: Long version string cannot be translated. Solution: Build the string in init_longVersion(). https://github.com/vim/vim/commit/35fb6fbf727c72eb5987a1556bbba26dca14cc48 vim-patch:8.1.0975: using STRNCPY() wrongly. Warning for uninitialized variable Problem: Using STRNCPY() wrongly. Warning for uninitialized variable. Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto, closes vim/vim#3979) https://github.com/vim/vim/commit/c666388367282c3c7d1d7af24883cfa0d40b046e vim-patch:8.1.1403: cannot build without the timer feature Problem: Cannot build without the timer feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/35d5af6c0b618aef9ca87b05b2e184934e47d916 vim-patch:8.1.1569: cannot build with signs but without diff feature Problem: Cannot build with signs but without diff feature. Solution: Move #ifdef. (Tom Ryder) https://github.com/vim/vim/commit/bf8c3adef21c24a9bf2c1a93042a096ea8d8b2e1 vim-patch:8.1.1856: popup preview test fails sometimes Problem: popup preview test fails sometimes. (Christian Brabandt) Solution: Clear the command line. https://github.com/vim/vim/commit/78d629a38548115a68298081d39d6d90708af561 vim-patch:8.1.1983: compiler nags for uninitialized variable and unused function Problem: Compiler nags for uninitialized variable and unused function. Solution: Add unnecessary initialization. Move function inside #ifdef. https://github.com/vim/vim/commit/ea781459b9617aa47335061fcc78403495260315 vim-patch:8.1.2014: terminal altscreen test fails sometimes Problem: Terminal altscreen test fails sometimes. Solution: Use WaitFor(). https://github.com/vim/vim/commit/b9c79cf5cc876ba4d46d938ad4a15800dbe45e64 vim-patch:8.1.2365: missing tests for recent popupwin changes Problem: Missing tests for recent popupwin changes. Solution: Add test cases. https://github.com/vim/vim/commit/20ebbeac461ffc2a5e5dbfbb0ba380b8854615bd vim-patch:8.1.2406: leaking memory in test_paste and test_registers Problem: Leaking memory in test_paste and test_registers. Solution: Free the old title. Don't copy expr_line. https://github.com/vim/vim/commit/6b649ac4fd0cbf88c5a05d82ad151d0ce980916a vim-patch:8.2.0616: build error when disabling the diff feature Problem: Build error when disabling the diff feature. Solution: Move parenthesis outside of #ifdef. (Tom Ryder) https://github.com/vim/vim/commit/e770598f31ad88fc98e40ead4b228ebc04afaa5d vim-patch:8.2.1020: popupwin test fails in the GUI Problem: Popupwin test fails in the GUI. Solution: Send GUI byte sequence for <C-S-a>. https://github.com/vim/vim/commit/b326edf5b30813b2ccdee3ac07ee6495ca5187ff vim-patch:8.2.1036: popupwin test fails sometimes Problem: Popupwin test fails sometimes. Solution: Use WaitForAssert() instead of a sleep. https://github.com/vim/vim/commit/373c65104e0991724cb57910dfb3e5c276e2d7e7 vim-patch:8.2.1038: popupwin test fails Problem: Popupwin test fails. Solution: Fix WaitForAssert() argument. https://github.com/vim/vim/commit/b2b218d89b3a6f450e65afd5e59ac234a5fa1eb7 vim-patch:8.2.1743: cannot build without the eval feature Problem: Cannot build without the eval feature. Solution: Move shorten_dir outside of #ifdef. https://github.com/vim/vim/commit/273af497cac345897cf6369baa87a070876a5815 vim-patch:8.2.1843: Netbeans: with huge buffer number memory allocation may fail Problem: Netbeans: with huge buffer number memory allocation may fail. Solution: Check for size overflow. https://github.com/vim/vim/commit/b9616af23f31fc18721a92643c21f42b69854efe
* Merge pull request #12953 from vigoux/tshl-custom-parserBjörn Linse2020-10-13
|\ | | | | treesitter: various improvements to prepare for language injection
| * treesitter: allow multiple highlighters per bufferThomas Vigouroux2020-10-12
| |
| * treesitter: allow custom parser for highlighterThomas Vigouroux2020-10-12
|/ | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>
* Merge pull request #13059 from vigoux/ts-runtime-queriesBjörn Linse2020-10-12
|\ | | | | treesitter: runtime queries
| * treesitter: runtime queriesThomas Vigouroux2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>
* | Fix multiple typos (#13063)Hansraj Das2020-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix multiple typos in `src/nvim/api/ui_events.in.h` * Below spellings are corrected: * Definitions * Revision * Performance * Typo fix `presense` should be presence * Typo fix, follwed -> followed * Typo fix, attemping -> attempting * Typo fix, duplicate 'the' * Typo fix, bounaries -> boundaries * Revert "Typo fix, bounaries -> boundaries" This reverts commit 24779e55e596f7534585938a7e532830ad2fa83c. * Revert "Typo fix, duplicate 'the'" This reverts commit 1d41d74f78736e67821a15edc9c174a2c3024f87. * Revert "Typo fix, attemping -> attempting" This reverts commit d8b2860dfcac366af7afae1f09946ed0aee4a34e.
* | Merge pull request #13088 from janlazo/vim-8.2.1834Jan Edmund Lazo2020-10-12
|\ \ | | | | | | vim-patch:8.2.{1834,1837}
| * | vim-patch:8.2.1837: using "gn" after "gN" does not workJan Edmund Lazo2020-10-11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "gn" after "gN" does not work. Solution: Extend the other end of the Visual area. (closes vim/vim#7109) https://github.com/vim/vim/commit/c07b7f701fb30d26112051e4ec737c7e3db72357 N/A patches for version.c: vim-patch:8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9 Problem: PyEval_InitThreads() is deprecated in Python 3.9. Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken Takata, closes vim/vim#7113) Avoid warnings for functions. https://github.com/vim/vim/commit/efc0d94afc48a03b07955e91315e7e67945cd079
* | Merge pull request #11318 from janlazo/vim-8.1.1201Jan Edmund Lazo2020-10-11
|\ \ | |/ |/| vim-patch:8.1.{560,1204,1206}
| * test/old: skip Test_addr_all() for nowJan Edmund Lazo2020-10-11
| | | | | | | | | | It needs patch v8.1.0341 to pass. Patch v8.1.0341 fails Test_nocatch_wipe_all_buffers().
| * vim-patch:8.1.1206: user command parsing and listing not properly testedJan Edmund Lazo2020-10-11
| | | | | | | | | | | | Problem: User command parsing and listing not properly tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#4296) https://github.com/vim/vim/commit/d1f90bbcab0ad934d3f48a717a916807b57269ab
| * vim-patch:8.1.1204: output of :command with address completion is not niceJan Edmund Lazo2020-10-11
| | | | | | | | | | | | Problem: Output of :command with address completion is not nice. Solution: Shorten the address completion names. https://github.com/vim/vim/commit/a561a41a70db7a9367f883c1dbb14e69b3364d08
| * vim-patch:8.1.0560: cannot use address type "other" with with user commandJan Edmund Lazo2020-10-11
|/ | | | | | | Problem: Cannot use address type "other" with with user command. Solution: Add "other" to the list. (Daniel Hahler, closes vim/vim#3655) Also reject "%" for commands with "other". Add some more tests. https://github.com/vim/vim/commit/51a7454cd2c34ee459f104e45768eab3817c099e
* Merge pull request #13083 from janlazo/vim-8.1.1281Jan Edmund Lazo2020-10-11
|\ | | | | vim-patch:8.1.{523,720,877,988,1015,1036},8.2.{1101,1820,1823,1829,1830,1831}
| * vim-patch:8.2.1823: "gN" does not select the matched stringJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "gN" does not select the matched string. Solution: Move the cursor to the start of the match. https://github.com/vim/vim/commit/28f224b2c1bd2fcdee7b4fe2c64826e1cff08f39 N/A patches for version.c: vim-patch:8.2.1820: Vim9: crash when error happens in timer callback Problem: Vim9: crash when error happens in timer callback. Solution: Check that current_exception is not NULL. (closes vim/vim#7100) https://github.com/vim/vim/commit/820d55a50bbc8c0ad0505b7e4302a734896b6bab vim-patch:8.2.1829: warnings when executing Github actions Problem: Warnings when executing Github actions. Solution: Use another method to set environment variables. (Ken Takata, closes vim/vim#7107) https://github.com/vim/vim/commit/bd6428b9e79ed85b54ea7eaa11871fa09d63ab6f vim-patch:8.2.1830: MS-Windows: Python3 issue with stdin Problem: MS-Windows: Python3 issue with stdin. Solution: Check if stdin is readable. (Ken Takata, closes vim/vim#7106) https://github.com/vim/vim/commit/c6ed254d9fda0ff54cdedce5597ff3e0d0218d18 vim-patch:8.2.1831: file missing from distribution Problem: File missing from distribution. Solution: Add the github code analyses file. https://github.com/vim/vim/commit/ef16c90423ae579927e6294c1ccfd17c5a1c113c
| * vim-patch:8.2.1101: no error when using wrong arguments for setqflist()Jan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | Problem: No error when using wrong arguments for setqflist() or setloclist(). Solution: Check for the error. https://github.com/vim/vim/commit/be7a50c22f63478a6e64fe6b932a847830191b95
| * vim-patch:8.1.1036: quickfix function arguments are inconsistentJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | Problem: Quickfix function arguments are inconsistent. Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan, closes vim/vim#4149) https://github.com/vim/vim/commit/9afe5e9cc01c8ee6811f641746bb5d0d157ea17e
| * vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer numberJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | Problem: Quickfix buffer shows up in list, can't get buffer number. Solution: Make the quickfix buffer unlisted when the quickfix window is closed. get the quickfix buffer number with getqflist(). (Yegappan Lakshmanan, closes vim/vim#4113) https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
| * vim-patch:8.1.0988: deleting location list buffer breaks location list windowJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | Problem: Deleting a location list buffer breaks location list window functionality. Solution: (Yegappan Lakshmanan, closes vim/vim#4056) https://github.com/vim/vim/commit/d82a81cad93708a6c180e59119db4818cc38c1a9 Cherry-pick Xqbuf_test() changes from patch 8.1.0892. Patch 8.1.0892 triggers a memory leak.
| * vim-patch:8.1.0877: new buffer used every time the quickfix window is openedJan Edmund Lazo2020-10-10
| | | | | | | | | | | | Problem: New buffer used every time the quickfix window is opened. Solution: Reuse the buffer. (Yegappan Lakshmanan, closes vim/vim#3902) https://github.com/vim/vim/commit/ee8188fc74a7cf9ee7acb634b2bb7a032d0cb24c
| * vim-patch:8.1.0720: cannot easily change the current quickfx list indexJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | Problem: Cannot easily change the current quickfx list index. Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan, closes vim/vim#3701) https://github.com/vim/vim/commit/5b69c22fd2bf0c0d32aab90ee4c7ef74259d2c4c
| * vim-patch:8.1.0523: opening window from quickfix leaves empty buffer behindJan Edmund Lazo2020-10-10
|/ | | | | | | | Problem: Opening window from quickfix leaves empty buffer behind. Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes vim/vim#2574) https://github.com/vim/vim/commit/b244373becbec124bee20dbbfd05365586cda8cd Close https://github.com/neovim/neovim/pull/12855
* Merge pull request #13038 from bfredl/multiluahlBjörn Linse2020-10-10
|\ | | | | api: multiple decoration providers at once
| * whineBjörn Linse2020-10-10
| |
| * screen: untangle static and dynamic decorationsBjörn Linse2020-10-10
| |
| * because reasons (undefined behavior)Björn Linse2020-10-10
| |
| * api: multiple decoration providers at onceBjörn Linse2020-10-10
| |
* | Merge pull request #12904 from erw7/vim-8.1.0431Jan Edmund Lazo2020-10-10
|\ \ | |/ |/| vim-patch:8.{1.0431,1.0489,2.1677}
| * vim-patch:8.2.1677: memory access errors when calling setloclist() in ↵erw72020-09-15
| | | | | | | | | | | | | | | | autocommand Problem: Memory access errors when calling setloclist() in an autocommand. Solution: Give an error if the list was changed unexpectedly. (closes vim/vim#6946) https://github.com/vim/vim/commit/4d170af0a9379da64d67dc3fa7cc7297956c6f52
| * vim-patch:8.1.0489: crash when autocmd clears vimpgrep location listerw72020-09-14
| | | | | | | | | | | | Problem: Crash when autocmd clears vimpgrep location list. Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b6f1480a6a8b1a6fa4d5da97aeb5f4755b71eb91
| * vim-patch:8.1.0431: the qf_jump() function is too longerw72020-09-13
| | | | | | | | | | | | Problem: The qf_jump() function is too long. Solution: Refactor to split it into several functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6dae96ef7ad56191c13c4993f04cbfd450d91ad2
* | Merge pull request #13081 from bfredl/usdt2Björn Linse2020-10-10
|\ \ | | | | | | basic support for usdt probes
| * | basic support for usdt probesZachary P. Landau2020-10-10
|/ /
* | Merge pull request #13075 from vigoux/ts-check-parser-versionThomas Vigouroux2020-10-09
|\ \ | | | | | | treesitter: check language ABI version on load
| * | treesitter: check language ABI version on loadThomas Vigouroux2020-10-08
| | | | | | | | | | | | This is will avoid some issues at runtime.
* | | Merge pull request #13074 from janlazo/vim-8.1.1717Jan Edmund Lazo2020-10-08
|\ \ \ | |/ / |/| | vim-patch:8.1.{746,1717,2294,2303,2405},8.2.0007
| * | vim-patch:8.2.0007: popup menu positioned wrong with folding in two tabsJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes vim/vim#5353) https://github.com/vim/vim/commit/09dd2bb3364cc8fb5a8f2507bc2f4ceba481db3d
| * | vim-patch:8.1.2405: matchadd_conceal test fails under valgrindJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | Problem: matchadd_conceal test fails under valgrind. Solution: Use WaitForAssert() and wait a bit longer. https://github.com/vim/vim/commit/1f9a028def327bd9bbfef375cb1283cd51e04678
| * | vim-patch:8.1.2303: cursor in wrong position after horizontal scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | Problem: Cursor in wrong position after horizontal scroll. Solution: Set w_valid_leftcol. (closes vim/vim#5214, closes vim/vim#5224) https://github.com/vim/vim/commit/08f23636aef595f4cc061dfee8248dca97df16b3
| * | vim-patch:8.1.2294: cursor pos wrong with concealing and search causes a scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor position wrong when characters are concealed and asearch causes a scroll. Solution: Fix the cursor column in a concealed line after window scroll. (closes vim/vim#5215, closes vim/vim#5012) https://github.com/vim/vim/commit/cbee635eee3007db97646ddb9f211a1d4966eb2a
| * | vim-patch:8.1.1717: last char in menu popup window highlightedJan Edmund Lazo2020-10-08
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Last char in menu popup window highlighted. Solution: Do not highlight an extra character twice. https://github.com/vim/vim/commit/f914a33c9c8ec5c30da684a4a16edad3e0224f0a N/A patches for version.c: vim-patch:8.1.0746: highlighting not updated with conceal and 'cursorline' Problem: Highlighting not updated with conceal and 'cursorline'. (Jason Franklin) Solution: Do not use a zero line number. Check if 'conceallevel' is set for the current window. https://github.com/vim/vim/commit/bbee8d5122b159683b3f52eddd0da85fcf1fcbfd
* | provider: update supported Python versions (#13070)Marco Hinz2020-10-08
| | | | | | | | | | | | | | | | Python 3.9 was released, so we need to add support for the upcoming Python 3.10. Python 3.5 and earlier reached their end-of-life. PEP 478: Python 3.5 Release Schedule: https://www.python.org/dev/peps/pep-0478 PEP 596: Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596 PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619
* | Merge pull request #13029 from aufarg/vim-8.2.1345Jan Edmund Lazo2020-10-07
|\ \ | | | | | | [RDY] vim-patch:8.2.{1345,1488}
| * | vim-patch:8.2.1488: text does not scroll when inserting above first lineAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | Problem: Text does not scroll when inserting above first line. Solution: Adjust off-by-one error. (Ken Takata, closes vim/vim#6739) https://github.com/vim/vim/commit/9dc1917f42b23277e143fc58bbe27482b0b76bad
| * | vim-patch:8.2.1345: Redraw error when using visual block and scrollAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | Problem: Redraw error when using visual block and scroll. Solution: Add check for w_topline. ( closes vim/vim#6597) https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
* | | Merge pull request #13064 from janlazo/vim-8.1.2325Jan Edmund Lazo2020-10-07
|\ \ \ | |/ / |/| | vim-patch:8.1.{1683,1686,1692,1705,2325},8.2.1599