aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | | | | vim-patch:8.2.5102: interrupt not caught in testzeertzjq2022-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Interrupt not caught in test. Solution: Consider an exception thrown in the current try/catch when got_int is set. Also catch early exit when not using try/catch. https://github.com/vim/vim/commit/8bea171f154845046239c61bdef50a8e0f12f643 Cherry-pick test changes from patch 8.2.0557. https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | | vim-patch:8.2.5082: retab test failszeertzjq2022-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Retab test fails. Solution: Disable the test for now. https://github.com/vim/vim/commit/93974239857318fe604e53abd41ffead04b7c657 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | | vim-patch:8.2.5080: when indenting gets out of hand it is hard to stopzeertzjq2022-11-30
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When indenting gets out of hand it is hard to stop. Solution: When line gets too long set got_int. https://github.com/vim/vim/commit/a7ac4c9c395d64059437e37045fa0ad5f9fecb0b Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | | Merge pull request #21234 from zeertzjq/vim-9.0.0965zeertzjq2022-11-29
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | vim-patch:9.0.{0965,0966,0967}: using one window for executing autocommands is insufficient
| | * | | | | vim-patch:9.0.0967: leaking memory from autocmd windowszeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory from autocmd windows. Solution: Free window when auc_win is not NULL. https://github.com/vim/vim/commit/84497cd06f06516f6ce727ea00c47792ce16dc70 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | vim-patch:9.0.0965: using one window for executing autocommands is insufficientzeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using one window for executing autocommands is insufficient. Solution: Use up to five windows for executing autocommands. https://github.com/vim/vim/commit/e76062c078debed0df818f70e4db14ad7a7cb53a N/A patches for version.c: vim-patch:9.0.0966: some compilers don't allow a declaration after a label Problem: Some compilers don't allow a declaration after a label. Solution: Move the declaration to the start of the block. (John Marriott) https://github.com/vim/vim/commit/f86490ed4fdab213a28f667abd055c023a73d645 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | refactor: buffer_ensure_loaded()zeertzjq2022-11-29
| |/ / / / / | | | | | | | | | | | | | | | | | | Cherry-picked from Vim patch 8.1.1612.
| * | | | | Merge pull request #21232 from zeertzjq/vim-9.0.0910zeertzjq2022-11-29
| |\ \ \ \ \ | | | | | | | | | | | | | | vim-patch:9.0.{0910,0914}
| | * | | | | vim-patch:9.0.0914: deletebufline() may move marks in the wrong windowzeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: deletebufline() may move marks in the wrong window. Solution: Find a window for the buffer being changed. (closes vim/vim#11583) https://github.com/vim/vim/commit/228e422855d43965f2c3319ff0cdc26ea422c10f Cherry-pick code change from patch 9.0.0961. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | vim-patch:9.0.0910: setting lines in another buffer may not work wellzeertzjq2022-11-29
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting lines in another buffer may not work well. Solution: Make sure the buffer being changed has a window. (issue vim/vim#11558) https://github.com/vim/vim/commit/c934bfa1b765505e5fc491f2ee7cc106894cafc8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | vim-patch:8.1.2001: some source files are too big (#21231)zeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some source files are too big. Solution: Move buffer and window related functions to evalbuffer.c and evalwindow.c. (Yegappan Lakshmanan, closes vim/vim#4898) https://github.com/vim/vim/commit/261f346f8154c0ec7094a4a211c653c74e9f7c2e
| * | | | | vim-patch:8.1.1313: warnings for using localtime() and ctime() (#21229)zeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Warnings for using localtime() and ctime(). Solution: Use localtime_r() if available. Avoid using ctime(). https://github.com/vim/vim/commit/63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | vim-patch:9.0.0733: use of strftime() is not safe (#21228)zeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Use of strftime() is not safe. Solution: Check the return value of strftime(). Use a larger buffer and correctly pass the available space. (Dominique Pellé, closes vim/vim#11348) https://github.com/vim/vim/commit/84d14ccdb50dc9f362066a2c83bfaf331314e5ea Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
| * | | | | vim-patch:9.0.0969: matchparen highlight is not updated when switching ↵zeertzjq2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffers (#21227) Problem: Matchparen highlight is not updated when switching buffers. Solution: Listen to the BufLeave and the BufWinEnter autocmd events. (closes vim/vim#11626) https://github.com/vim/vim/commit/28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | docs: fix typos (#21196)dundargoc2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
| * | | | | test: adding/removing winbar should not cause win_pos events (#21226)zeertzjq2022-11-29
| | | | | |
| * | | | | Merge pull request #21224 from luukvbaal/vim-9.0.0964zeertzjq2022-11-29
| |\ \ \ \ \ | | | | | | | | | | | | | | refactor(ui): statusbar invalidation to win_set_inner_size()
| | * | | | | refactor(ui): statusbar invalidation to win_set_inner_size()Luuk van Baal2022-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: w_redr_status invalidation is duplicated in multiple functions that all call win_set_inner_size(). Solution: Move to win_set_inner_size().
| | * | | | | vim-patch:9.0.0964: status line not redrawn when 'splitkeep' is "screen"Luuk van Baal2022-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Status line of other window not redrawn when dragging it when 'splitkeep' is set to "screen". Solution: Set w_redr_status earlier. (Luuk van Baal, closes vim/vim#11635, closes vim/vim#11632) https://github.com/vim/vim/commit/74a694dbe20bb7dea4e06f474cf62e20f9c92f1d Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
| * | | | | | refactor: rework parameter validation in vim.secure.trust() (#21223)Gregory Anders2022-11-28
| | | | | | |
| * | | | | | feat(secure): add `:trust` command and vim.secure.trust() (#21107)Jlll12022-11-28
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce vim.secure.trust() to programmatically manage the trust database. Use this function in a new :trust ex command which can be used as a simple frontend. Resolves: https://github.com/neovim/neovim/issues/21092 Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: ii14 <ii14@users.noreply.github.com>
| * | | | | docs(lua): correct the tags for vim.opt_local and vim.opt_global (#21138)dundargoc2022-11-28
| | | | | |
| * | | | | Merge pull request #21200 from dundargoc/refactor/char_u/15bfredl2022-11-28
| |\ \ \ \ \ | | | | | | | | | | | | | | refactor: replace char_u with char 15 - remove STRNLEN and STRNCPY
| | * | | | | refactor: replace char_u with chardundargoc2022-11-28
| |/ / / / / | | | | | | | | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | | | | vim-patch:9.0.0963: function name does not match autocmd event name (#21215)zeertzjq2022-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Function name does not match autocmd event name. Solution: Rename "optionsset" to "optionset". (closes vim/vim#11630) https://github.com/vim/vim/commit/269aa2b29ac3e4c0083d929e2477c95e7bd1177a
| * | | | | vim-patch:9.0.0958: messages test is flaky (#21205)zeertzjq2022-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Messages test is flaky. Solution: Add a short delay. https://github.com/vim/vim/commit/19cf525c20f9915ffcddda35c27608528f6af047 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | Merge pull request #21204 from bfredl/colormapbfredl2022-11-27
| |\ \ \ \ \ | | | | | | | | | | | | | | fix(tests): only get the color map once, even for multiple test files
| | * | | | | fix(tests): only get the color map once, even for multiple test filesbfredl2022-11-27
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: test/functional/ui/screen.lua would be reloaded for each *_spec.lua file, which causes an extra nvim session to be started to get the color map each time. solution: Mark screen.lua as a preloaded file, but defer the loading of the color map to the first time Screen object is initialised.
| * | | | | vim-patch:9.0.0953: part of making search more efficient is missing (#21201)zeertzjq2022-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Part of making search more efficient is missing. Solution: Add the change in searchit(). https://github.com/vim/vim/commit/837ca8f43b9d6b8574a2bfdae219b17c84411730 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | Merge pull request #20196 from dundargoc/refactor/char_u/14bfredl2022-11-26
| |\ \ \ \ \ | | | | | | | | | | | | | | refactor: replace char_u with char 14: remove `STRLEN` part final
| | * | | | | refactor: replace char_u with charDundar Göc2022-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | | | | | vim-patch:9.0.0952: Eclipse preference files are not recognized (#21199)Christian Clason2022-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Eclipse preference files are not recognized. Solution: Add a pattern to use "jproperties" for Eclipse preference files. (closes vim/vim#11618) https://github.com/vim/vim/commit/f3f198b6349fe252b72975701e2f17d932b19c70 Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
| * | | | | | vim-patch:9.0.0951: trying every character position for a match is ↵zeertzjq2022-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inefficient (#21198) Problem: Trying every character position for a match is inefficient. Solution: Use the start position of the match ignoring "\zs". https://github.com/vim/vim/commit/01105b37a108022515d364201767f7f111ec4222 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | | vim-patch:8.2.1707: small inconsitency in highlight test (#21193)zeertzjq2022-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Small inconsitency in highlight test. Solution: Use one argument for :execute. (Antony Scriven, vim/vim#6975) https://github.com/vim/vim/commit/2bbada811625ee53c7bcdf689dbf409e9975ea8f
| * | | | | | fix(startup): support .exrc or .nvimrc with init.lua (#21181)Kristijan Husak2022-11-26
| | | | | | |
| * | | | | | docs: fix typos (#21168)dundargoc2022-11-26
| | | | | | |
| * | | | | | vim-patch:9.0.0950: the pattern "\_s\zs" matches at EOL (#21192)zeertzjq2022-11-26
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The pattern "\_s\zs" matches at EOL. Solution: Make the pattern "\_s\zs" match at the start of the next line. (closes vim/vim#11617) https://github.com/vim/vim/commit/c96311b5be307f5a1d1b20a0ec930d63964e7335 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | vim-patch:9.0.0935: when using dash it may not be recognize as filetype "sh" ↵Christian Clason2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#21174) * vim-patch:9.0.0935: when using dash it may not be recognize as filetype "sh" Problem: When using dash it may not be recognize as filetype "sh". Solution: Add checks for "dash". (Eisuke Kawashima,closes vim/vim#11600) https://github.com/vim/vim/commit/24482fbfd599d2273c48951df7d00d62f3e66c85 Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | | | | Merge pull request #21188 from zeertzjq/vim-8.2.2684zeertzjq2022-11-25
| |\ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.{2684,2713}: fold tests
| | * | | | | vim-patch:8.2.2713: folding code not sufficiently testedzeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Folding code not sufficiently tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#8064) https://github.com/vim/vim/commit/68ffe8cade5e0c52680c00cb9f3f87104fbe653a
| | * | | | | vim-patch:8.2.2684: not enough folding code is testedzeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough folding code is tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#8046) https://github.com/vim/vim/commit/5c504f680e63120fea36becfabb8d939d4449e34 Reorder test_fold.vim to match upstream. Cherry-pick Test_fold_expr_error() from patch 8.2.0633. Cherry-pick syntax feature check from patch 8.2.1432. Cherry-pick a delete() call from patch 8.2.2112.
| * | | | | | vim-patch:9.0.0932: Oblivion files are not recognized (#21179)zeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Oblivion files are not recognized. Solution: Recognize Oblivion files and alike as "obse". (closes vim/vim#11540) https://github.com/vim/vim/commit/ecfd511e8d802068434735dda00db6b783df6922 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | | vim-patch:9.0.0942: Workflow Description Language files are not recognized ↵Christian Clason2022-11-25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#21183) Problem: Workflow Description Language files are not recognized. Solution: Add a pattern for the "wdl" filetype. (Matt Dunford, closes vim/vim#11611) https://github.com/vim/vim/commit/f60bdc3417a56a1f69e001a7ec210b92d5b0f2e1 Co-authored-by: Matt Dunford <zenmatic@gmail.com>
| * | | | | Merge pull request #21186 from zeertzjq/vim-8.2.4155zeertzjq2022-11-25
| |\ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.{4155,4412}
| | * | | | | vim-patch:8.2.4412: translation cleanup script does not remove empty lines ↵zeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at end Problem: Translation cleanup script does not remove empty lines at end. Solution: Remove empty lines at the end. (Ken Takata, closes vim/vim#9794) https://github.com/vim/vim/commit/0257599036ceb3658b27a4de07834ca0d2fa418e
| | * | | | | vim-patch:8.2.4155: translating strftime() argument results in check errorzeertzjq2022-11-25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Translating strftime() argument results in check error. Solution: Add gettext comment. https://github.com/vim/vim/commit/7e93577a957e4f402bb690c4c8629fd831e24a9d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | | | | Merge pull request #21185 from zeertzjq/vim-8.2.2466zeertzjq2022-11-25
| |\ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.{2466,2886},9.0.0936
| | * | | | | vim-patch:9.0.0936: wrong type for "isunnamed" returned by getreginfo()zeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrong type for "isunnamed" returned by getreginfo(). Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes vim/vim#11598) https://github.com/vim/vim/commit/82946e1439d31e86dfeb6166415c73e70475cce2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * | | | | vim-patch:8.2.2886: various pieces of code not covered by testszeertzjq2022-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Various pieces of code not covered by tests. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8255) https://github.com/vim/vim/commit/34fcb697240c1bc9e69417ed75db3b1a83479724 Nvim does not have test_unknown(). Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| | * | | | | vim-patch:8.2.2466: max() and min() can give many error messageszeertzjq2022-11-25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Max() and min() can give many error messages. Solution: Bail out at the first error. (closes vim/vim#1039, closes vim/vim#7778) https://github.com/vim/vim/commit/ab65fc77c5389f7d3f788bbdc3d931561feab131 Co-authored-by: Bram Moolenaar <Bram@vim.org>