aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | | | | refactor: allocate an empty string as unused orig_rhs for Lua mappingszeertzjq2022-01-27
| | | | | | | | |
* | | | | | | | | vim-patch:8.2.4251: vala files are not recognized (#17235)Christian Clason2022-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vala files are not recognized. Solution: Add the *.vala pattern. (closes vim/vim#9654) https://github.com/vim/vim/commit/97c554d5149c2aa4a43d689c59563e77277265d4
* | | | | | | | | vim-patch:8.2.4090: after restoring a session buffer order can be quite ↵Evgeni Chasnovski2022-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different (#17112) Problem: After restoring a session buffer order can be quite different. Solution: Create buffers first. (Evgeni Chasnovski, closes vim/vim#9520) https://github.com/vim/vim/commit/26ebf1f036517ebeacf571c333a83cca7e13bbe2 --------------- As in Vim, this basically reverts 8.1.0829 providing different solution (see vim/vim#9520). Regarding Neovim, this basically reverts changes from #15062. Test about restoring same terminals was a bit too restrictive with using actual buffer ids, which changed with this patch (now they should be in the same order as at `mksession` call), so I tweaked it.
* | | | | | | | | vim-patch:8.2.4248: no proper test for moving the window separatorzeertzjq2022-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for moving the window separator. Solution: Add a test. Add comment in code. (closes vim/vim#9656) https://github.com/vim/vim/commit/a0c4e2f2d7aa164d9d7692702c752ea063bd3a8c Remove the assertion as it is now possible for `fr` to be `NULL`. The test fails without clearing messages. Not sure if this is a bug.
* | | | | | | | | vim-patch:8.2.4052: not easy to resize a window from a plugin (#17028)Daniel Steinberg2022-01-29
| | | | | | | | |
* | | | | | | | | Merge pull request #17209 from bb010g/patch-1bfredl2022-01-29
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | fix(eval): v:lua support for `-` in module names
| * | | | | | | | | fix(eval): v:lua support for `-` in module namesbb010g2022-01-28
| | | | | | | | | |
* | | | | | | | | | vim-patch:8.2.0028: searchpairpos() is not tested (#17232)zeertzjq2022-01-29
| |_|_|_|/ / / / / |/| | | | | | | |
* | | | | | | | | refactor: add `static` to some functions in `funcs.c` (#17030)Daniel Steinberg2022-01-29
| | | | | | | | |
* | | | | | | | | fix(input): remove reinterpreted ALT/META chords from recorded macrozeertzjq2022-01-29
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Merge pull request #16951 from zeertzjq/vim-8.2.4007zeertzjq2022-01-29
|\ \ \ \ \ \ \ \
| * | | | | | | | vim-patch:8.2.4007: session does not restore help buffer properlyzeertzjq2022-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Session does not restore help buffer properly when "options' is missing from 'sessionoptions'. Solution: Use a ":help" command to create the help window. (closes vim/vim#9475, closes vim/vim#9458, closes vim/vim#9472) https://github.com/vim/vim/commit/8e7d9db32b53ca2b1cb7570d2042860bcd1e943f
* | | | | | | | | Merge pull request #16829 from zeertzjq/vim-8.2.2887zeertzjq2022-01-29
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.{2887,3414,3999}: fullcommand() follow-up patches
| * | | | | | | | | vim-patch:8.2.3999: redundant check for NUL bytezeertzjq2022-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes vim/vim#9471) https://github.com/vim/vim/commit/c024ed9233feac4c8da7394a62bb50474803514f
| * | | | | | | | | vim-patch:8.2.3414: fullcommand() gives wrong name with buffer-local user ↵zeertzjq2022-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command Problem: fullcommand() gives the wrong name if there is a buffer-local user command. (Naohiro Ono) Solution: Use a separate function to get the user command name. (closes vim/vim#8840) https://github.com/vim/vim/commit/80c88eac5a81dd9f1a96fc80cb8aab6c84fe7b86
| * | | | | | | | | vim-patch:8.2.2887: crash when passing null string to fullcommand()zeertzjq2022-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing null string to fullcommand(). Solution: Check for NULL pointer. (closes vim/vim#8256) https://github.com/vim/vim/commit/4c8e8c6e19b75d632b042aa0ba0a2ab769b2162e
* | | | | | | | | | vim-patch:8.2.4238: *.tf file could be fileytpe "tf" or "terraform"Christian Clason2022-01-28
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: *.tf file could be fileytpe "tf" or "terraform". Solution: Detect the type from the file contents. (closes vim/vim#9642) https://github.com/vim/vim/commit/bd8168c7705e315827642f2976ec59e26b7fe009
* | | | | | | | | Merge pull request #17216 from clason/vim-8.2.4233Christian Clason2022-01-28
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.{4233,4235,4236,4237}: follow-up patches for recording in Select mode
| * | | | | | | | | vim-patch:8.2.4237: record buffer wrong if character in Select mode was not ↵zeertzjq2022-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | typed Problem: Record buffer wrong if character in Select mode was not typed. Solution: Only delete the tail from the record buffer if the character was typed. (closes vim/vim#9650) https://github.com/vim/vim/commit/fbf4f1ca159028382eaeb3bfc31bb6bb96dbb67a
| * | | | | | | | | vim-patch:8.2.4236: accessing freed memoryChristian Clason2022-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Accessing freed memory. Solution: Set the bh_curr pointer to NULL. https://github.com/vim/vim/commit/166788c657f4b1090a31ea37a023b1f2c78790c8
| * | | | | | | | | vim-patch:8.2.4235: invalid check for NULL pointerChristian Clason2022-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid check for NULL pointer. Solution: Remove the check. https://github.com/vim/vim/commit/37cf413e3e768b76c975e4a7081472d75d649c72
| * | | | | | | | | vim-patch:8.2.4233: crash when recording and using Select modeChristian Clason2022-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when recording and using Select mode. Solution: When deleting the last recorded character check there is something to delete. https://github.com/vim/vim/commit/a4bc2dd7cccf5a4a9f78b58b6f35a45d17164323
* | | | | | | | | | Merge pull request #17183 from notomo/expose-extmark-right-gravitybfredl2022-01-28
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | feat(api): expose extmark right_gravity and end_right_gravity
| * | | | | | | | | feat(api): expose extmark right_gravity and end_right_gravitynotomo2022-01-24
| | | | | | | | | |
* | | | | | | | | | Merge pull request #16830 from kuuote/vim-8.2.3571zeertzjq2022-01-28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | vim-patch:8.2.3571: some unicode control characters are considered printablekuuote2021-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some unicode control characters are considered printable. Solution: Make 0x2060 - 0x2069 not printable.
* | | | | | | | | | | test(old): reorder test_register.vim according to upstream (#17215)zeertzjq2022-01-28
| | | | | | | | | | |
* | | | | | | | | | | fix(completion): update submode message when selecting from API (#17022)zeertzjq2022-01-28
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #16820 from seandewar/vim-8.1.2302Sean Dewar2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.1.2302,8.2.{3936,4112}
| * | | | | | | | | | | vim-patch:8.2.4112: function not deleted at end of testSean Dewar2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Function not deleted at end of test. Solution: Delete the function. https://github.com/vim/vim/commit/d9b74a2a41e43ca17a9885ec0a58404adff4273f oops -- my fault :P
| * | | | | | | | | | | vim-patch:8.2.3936: no proper test for maintaining change mark in diff modeSean Dewar2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for maintaining change mark in diff mode. Solution: Run the test with internal and external diff. (Sean Dewar, closes vim/vim#9424) https://github.com/vim/vim/commit/ccc1644f95e7833c23fa0d440e42293c1622fdcb
| * | | | | | | | | | | test(oldtest): partially port v8.1.2381Sean Dewar2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all register related code is covered by tests. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5301) https://github.com/vim/vim/commit/54c8d229f54e36e89fcd5d84e523fd894d018024 Can't be fully ported until "set clipboard=autoselect,autoselectplus" is re-implemented for Test_clipboard_regs (and last visual selection to PRIMARY selection works).
| * | | | | | | | | | | vim-patch:8.1.2302: :lockmarks does not work for '[ and ']Sean Dewar2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :lockmarks does not work for '[ and ']. Solution: save and restore '[ and '] marks. (James McCoy, closes vim/vim#5222) https://github.com/vim/vim/commit/f4a1d1c0542df151bc59ac3b798ed198b5c71ccc Test_diff_maintains_change_mark doesn't actually fail without these changes. This is fixed in v8.2.3936.
* | | | | | | | | | | | Merge pull request #16954 from f380cedric/vim-8.2.3402Sean Dewar2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.{3402,3403}
| * | | | | | | | | | | | vim-patch:8.2.3403: memory leak for :retab with invalid argumentf380cedric2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak for :retab with invalid argument. Solution: Free the memory. Make error messages consistent. https://github.com/vim/vim/commit/2ddb89f8a94425cda1e5491efc80c1ccccb6e08e Changes in ex_retab are N/A (behind a non-FEAT_) and have been dropped.
| * | | | | | | | | | | | vim-patch:8.2.3402: invalid memory access when using :retab with large valuef380cedric2022-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access when using :retab with large value. Solution: Check the number is positive. https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9
* | | | | | | | | | | | | vim-patch:8.2.3903: "gM" does not count tabs as expected (#16796)zeertzjq2022-01-28
| | | | | | | | | | | | |
* | | | | | | | | | | | | vim-patch:8.2.3612: using freed memory with regexp using a mark (#16973)f380cedric2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with regexp using a mark. Solution: Get the line again after getting the mark position. https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6
* | | | | | | | | | | | | vim-patch:8.2.3669: buffer overflow with long help argument (#16971)f380cedric2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer overflow with long help argument. Solution: Use snprintf(). https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142
* | | | | | | | | | | | | Merge pull request #17185 from zeertzjq/vim-8.2.3993bfredl2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.{3993,4002}: when recording a change in Select mode char appears twice
| * | | | | | | | | | | | | vim-patch:8.2.4002: first char typed in Select mode can be wrongzeertzjq2022-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: First char typed in Select mode can be wrong. Solution: Escape special bytes in the input buffer. (closes vim/vim#9469) https://github.com/vim/vim/commit/6cac77016b1636e04073e8348b7cee02259ef928 The `buf` should already be large enough, but I'll change its size anyway in case future patches change the meaning of `MB_MAXBYTES` macro. `fix_input_buffer()` cannot be used here because of the `using_script()` check, and there is already equivalent code in its place.
| * | | | | | | | | | | | | vim-patch:8.2.3993: when recording a change in Select mode char appears twicezeertzjq2022-01-24
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When recording a change in Select mode the first typed character appears twice. Solution: When putting the character back into typeahead remove it from recorded characters. (closes vim/vim#9462) https://github.com/vim/vim/commit/c88e977862ba6477a3b5b28706c45f96069a3073
* | | | | | | | | | | | | Merge pull request #17175 from zeertzjq/vim-8.2.3095bfredl2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrong
| * | | | | | | | | | | | | vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrongzeertzjq2022-01-27
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: With 'virtualedit' set to "block" block selection is wrong after using "$". (Marco Trosi) Solution: Compute the longest selected line. (closes vim/vim#8495) https://github.com/vim/vim/commit/b17ab86e7b8712206aa9ea7198c28db969e25936
* | | | | | | | | | | | | Merge pull request #17136 from zeertzjq/vim-8.2.4133bfredl2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.4133: output of ":scriptnames" goes into the message history
| * | | | | | | | | | | | | vim-patch:8.2.4133: output of ":scriptnames" goes into the message historyzeertzjq2022-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: output of ":scriptnames" goes into the message history, while this des not happen for other commands, such as ":ls". Solution: Use msg_outtrans() instead of smsg(). (closes vim/vim#9551) https://github.com/vim/vim/commit/840f16202e1ae2d574507ef52a7e8a98775f243c
* | | | | | | | | | | | | | feat(ts): expose minimum language version to lua (#17186)Thomas Vigouroux2022-01-27
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #17195 from dundargoc/refactor/assert-includebfredl2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | refactor: include missing assert header
| * | | | | | | | | | | | | refactor: include missing assert headerDundar Göc2022-01-26
| | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will solve the "implicit declaration of function ‘assert’" warning when running "make lint".
* | | | | | | | | | | | | Merge pull request #17191 from zeertzjq/vim-8.2.4203bfredl2022-01-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | | vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers