aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | cursor_shape: use attribute ids instead of syntax idsBjörn Linse2018-08-13
| | | | | | | | | | | | | | | As attribute ids is the convention in the UI protocol Also remove non-threadsafe calls in tui.c to syntax module.
| * | highlight: HlAttrs is a value type; treat it like suchBjörn Linse2018-08-13
| |/
* | Merge #8832 from eraserhd/vim-insert-setline-undo-fixesJustin M. Keyes2018-08-14
|\ \ | |/ |/|
| * Fix lintJason Felice2018-08-09
| |
| * vim-patch:8.1.0256: using setline() in TextChangedI splits undoJason Felice2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using setline() in TextChangedI splits undo. Solution: Use another solution for undo not working properly. https://github.com/vim/vim/commit/9fa9506853516c82851baec643aa47458cb8b3bc This deviates from Vim in the handling of the CursorHoldI event. In Vim, any buffer changes are merged into the insert. In Neovim, CursorHoldI is handled via the multiqueue, and the point at which the cursor hold is implemented (in input.c) doesn't know enough about it. Making all queued events merge into the insert seems more wronger since changes by other asynchronous events really should be separately undoable.
| * vim-patch:8.1.0245: calling setline() in TextChangedI autocmd breaks undoJason Felice2018-08-09
| | | | | | | | | | | | | | Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason Felice) Solution: Don't save lines for undo when already saved. (closes vim/vim#3291) https://github.com/vim/vim/commit/91d2e783b41ca900bc603b3cb5e083c8a4a33170
| * vim-patch:8.1.0057: popup menu displayed wrong when using autocmdJason Felice2018-08-09
| | | | | | | | | | | | | | Problem: Popup menu displayed wrong when using autocmd. Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu is going to be redrawn anyway. (Christian Brabandt, closes vim/vim#3009) https://github.com/vim/vim/commit/6ba3ec1bace67513a352326864cebc16b3c5bc56
* | lintJan Edmund Lazo2018-08-12
| |
* | vim-patch:8.0.1397: pattern with \& following nothing gives an errorJan Edmund Lazo2018-08-12
| | | | | | | | | | | | Problem: Pattern with \& following nothing gives an error. Solution: Emit an empty node when needed. https://github.com/vim/vim/commit/890dd05492d88d48eee1dda7f7a1811d027ce7ca
* | vim-patch:8.0.1257: no test for fix of undefined behaviorJan Edmund Lazo2018-08-12
| | | | | | | | | | | | Problem: No test for fix of undefined behavior. Solution: Add a test. (closes vim/vim#2255) https://github.com/vim/vim/commit/2973daafe1732963b8924cb9df53c608804d66b3
* | vim-patch:8.0.1243: no test for what 8.0.1227 fixesJan Edmund Lazo2018-08-12
| | | | | | | | | | | | Problem: No test for what 8.0.1227 fixes. Solution: Add a test that triggers the problem. (Christian Brabandt) https://github.com/vim/vim/commit/f45938cc20ed6992e5215ffe41b73b528c78be9c
* | vim-patch:8.0.1227: undefined left shift in readfile()Jan Edmund Lazo2018-08-12
| | | | | | | | | | | | Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter) Solution: Add cast to unsigned. (Dominique Pelle, closes vim/vim#2253) https://github.com/vim/vim/commit/dc1c98129484e7879bc6dbf38e523beb730988b6
* | Merge #8843 from janlazo/vim-8.0.0828Justin M. Keyes2018-08-12
|\ \
| * | regexp: drop has_mbyte check in regmatch()Jan Edmund Lazo2018-08-11
| | | | | | | | | | | | has_mbyte is always true in nvim.
| * | lintJan Edmund Lazo2018-08-11
| | |
| * | vim-patch:8.1.0099: exclamation mark in error message not neededJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: Exclamation mark in error message not needed. Solution: Remove the exclamation mark. https://github.com/vim/vim/commit/3c867daaf09e8ac6ce4b9d43d6fbbfdd7689702d
| * | vim-patch:8.1.0097: superfluous space before exclamation markJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: Superfluous space before exclamation mark. Solution: Remove the space. Don't translate debug message. https://github.com/vim/vim/commit/5efa0102de6ed6049fb19e1e83787e5b3b24b6a2
| * | vim-patch:8.1.0090: "..." used inconsistently in a messageJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: "..." used inconsistently in a message. Solution: Define the message with " ..." once. (hint by Ken Takata) https://github.com/vim/vim/commit/9b0c5c23bd5260caef82a4f3dcc945c129857c52
| * | vim-patch:8.1.0078: "..." used inconsistently in messagesJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: "..." used inconsistently in messages. Solution: Drop the space before " ...". https://github.com/vim/vim/commit/c166927a32fe5c054ad35deecff00aa12c629cf7
| * | vim-patch:8.0.1517: invalid memory acces with pattern using look-behind matchJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory acces with pattern using look-behind match. (Dominique Pelle) Solution: Get a pointer to the right line. https://github.com/vim/vim/commit/bc197195b097707d08fd44a476dbc374366504cb
| * | vim-patch:8.0.1470: integer overflow when using regexp patternJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: Integer overflow when using regexp pattern. (geeknik) Solution: Use a long instead of int. (Christian Brabandt, closes vim/vim#2251) https://github.com/vim/vim/commit/2c7b906afb86b986476cfc959732e433b1b4a3b1
| * | vim-patch:8.0.1254: undefined left shift in gethexchrs()Jan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: Undefined left shift in gethexchrs(). (geeknik) Solution: Use unsigned long. (idea by Christian Brabandt, closes vim/vim#2255) https://github.com/vim/vim/commit/4c22a91d20cce4f28dd2852a13129b5a4cc691da
| * | vim-patch:8.0.0828: Coverity: may dereference NULL pointerJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | Problem: Coverity: may dereference NULL pointer. Solution: Bail out if calloc_state() returns NULL. https://github.com/vim/vim/commit/983b3a5bc44a91cc7e40b8e71e3bfdb03dd4606f
* | | Merge #8837 from janlazo/vim-8.0.1290Justin M. Keyes2018-08-12
|\ \ \
| * | | oldtests: Test_undofile() passesJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | Set undodir to Vim's default value. Fix pathsep of expected undofile path for Windows. Comment out invalid test case for Neovim.
| * | | vim-patch:8.1.0025: no test for the undofile() functionJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for the undofile() function. Solution: Add test. (Dominique Pelle, closes vim/vim#2958) https://github.com/vim/vim/commit/e5fa11186fde4a19e505eba403d3af8c61d11304
| * | | vim-patch:8.0.1433: illegal memory access after undoJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access after undo. (Dominique Pelle) Solution: Avoid the column becomes negative. (Christian Brabandt, closes vim/vim#2533) https://github.com/vim/vim/commit/95dbcbea6d85a5b79d9617ab3863458fdf0217a0
| * | | vim-patch:8.0.1290: seq_cur of undotree() wrong after undoJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: seq_cur of undotree() wrong after undo. Solution: Get the actual sequence number instead of decrementing the current one. (Ozaki Kiichi, closes vim/vim#2319) https://github.com/vim/vim/commit/80eaddd3a0bc47cb14168964678420cfe03a2502
* | | | Merge #8833 from janlazo/vim-8.0.1004Justin M. Keyes2018-08-12
|\ \ \ \
| * | | | eval: match in find_some_match() is boolJan Edmund Lazo2018-08-11
| | | | |
| * | | | vim-patch:8.1.0257: no test for pathshorten()Jan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for pathshorten(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3295) https://github.com/vim/vim/commit/bfde0b482d25db43e9fc5a35c771b859b1eb8828
| * | | | vim-patch:8.1.0204: inputlist() is not testedJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: inputlist() is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3240) https://github.com/vim/vim/commit/947b39e761b8a95cc1bd37ad0c2c30552238809a
| * | | | vim-patch:8.1.0008: no test for strwidth()Jan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for strwidth(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2931) https://github.com/vim/vim/commit/42ab17b8e32352210c4e273a4a4161a287d2c159
| * | | | vim-patch:8.0.1421: accessing invalid memory with overlong byte sequenceJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Accessing invalid memory with overlong byte sequence. Solution: Check for NUL character. (test by Dominique Pelle, closes vim/vim#2485) https://github.com/vim/vim/commit/e6640ad44e2186bd3642b972115496d347cd1fdd
| * | | | vim-patch:8.0.1410: hang when using count() with an empty stringJan Edmund Lazo2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Hang when using count() with an empty string. Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465) https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
| * | | | vim-patch:8.0.1105: match() and matchend() are not testedJan Edmund Lazo2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: match() and matchend() are not tested. Solution: Add tests. (Ozaki Kiichi, closes vim/vim#2088) https://github.com/vim/vim/commit/1190cf68e27a123cf9f6fb57897782a3b9f7b810
| * | | | vim-patch:8.0.1004: matchstrpos() without a match returns too many itemsJan Edmund Lazo2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Matchstrpos() without a match returns too many items. Solution: Also remove the second item when the position is beyond the end of the string. (Hirohito Higashi) Use an enum for the type. https://github.com/vim/vim/commit/8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452
* | | | | lintJan Edmund Lazo2018-08-11
| | | | |
* | | | | vim-patch:8.0.1361: some users don't want to diff with hidden buffersJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some users don't want to diff with hidden buffers. Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes vim/vim#2394) https://github.com/vim/vim/commit/97ce419201421f65f4764549ed80307a7ef9c7a6
* | | | | diff: drop enc_utf8 check in diff_equal_char()Jan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | | | enc_utf8 is always true for nvim.
* | | | | vim-patch:8.0.1046: code duplication in diff modeJan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code duplication in diff mode. Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe) https://github.com/vim/vim/commit/ae96b8d058cffd9d07b78cb7a9ccd382185b9dd6
* | | | | vim-patch:8.0.1037: "icase" of 'diffopt' is not used for highlightingJan Edmund Lazo2018-08-11
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Problem: "icase" of 'diffopt' is not used for highlighting differences. Solution: Also use "icase". (Rick Howe) https://github.com/vim/vim/commit/da22b8cc8b1b96fabd5a4c35c57b04a351340fb1
* | | | refactor: Replace vim_strrchr() with strrchar() (#8718)ZviRackover2018-08-11
| | | | | | | | | | | | | | | | ref #1474
* | | | terminfo: add header guard, stdint.h for int8_t (#8848)Jan Edmund Lazo2018-08-11
| | | | | | | | | | | | | | | | Lint fixes for single-include test.
* | | | lintJan Edmund Lazo2018-08-10
| | | |
* | | | vim-patch:8.0.1490: number of spell regions is spread out through the codeJan Edmund Lazo2018-08-10
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Number of spell regions is spread out through the code. Solution: Define MAXREGIONS. https://github.com/vim/vim/commit/2993ac5fce5450428322ce43aaa5e643e6994443
* | | | terminfo: update built-in terminfo entriesMarco Hinz2018-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The arrays are put in their own file: terminfo_defs.h. This makes it simple to update all terminfo entries in one go using scripts/update_terminfo.sh. The entries were compiled with tic 6.1 and some use the extended number format.
* | | | terminfo: add scripts/update_terminfo.shMarco Hinz2018-08-10
| |_|/ |/| | | | | | | | | | | | | | This script updates the built-in terminfo entries. [skip ci]
* | | memline: fnamecmp_ino() returns boolJan Edmund Lazo2018-08-09
| | |
* | | vim-patch:8.0.1819: swap file warning for file with non-existing directoryJan Edmund Lazo2018-08-09
| |/ |/| | | | | | | | | | | Problem: Swap file warning for a file in a non-existing directory, if there is another with the same file name. (Juergen Weigert) Solution: When expanding the file name fails compare the file names. https://github.com/vim/vim/commit/8c3169c58eef3e04f643fe9e045a97b81429e0cb