aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(diff): remove size_t underflow (#20929)Lewis Russell2022-11-04
|
* vim-patch:8.2.0448: various functions not properly tested (#20926)zeertzjq2022-11-04
| | | | | | | | | | Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes vim/vim#5843) https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3 Cherry-pick test changes from patch 8.2.0427 and skip Test_has(). Cherry-pick Test_complete_wildmenu() change from patch 8.2.4339.
* Enable new diff option linematch (#14537)Jonathon2022-11-04
| | | Co-authored-by: Lewis Russell <me@lewisr.dev>
* fix(man.lua): set modifiable before writing page (#20914)Kevin Hwang2022-11-03
|
* Merge pull request #20782 from dundargoc/docs/typoszeertzjq2022-11-02
|\ | | | | docs: fix typos
| * docs: fix typosdundargoc2022-11-02
|/
* Merge pull request #20904 from zeertzjq/vim-9.0.0822zeertzjq2022-11-02
|\ | | | | vim-patch:9.0.{0822,0823,0824,0825}: window dragging fixes
| * vim-patch:9.0.0825: cannot drag an entry in the tabpage linezeertzjq2022-11-02
| | | | | | | | | | | | | | | | | | | | Problem: Cannot drag an entry in the tabpage line. Solution: Clear dragwin instead of got_click. (closes vim/vim#11483, closes vim/vim#11482) https://github.com/vim/vim/commit/8e0ccb6bc21a446e5c6375b7fdf200fb53a129da Omit Test_term_mouse_drag_to_move_tab(): covered by ui/mouse_spec.lua.
| * vim-patch:9.0.0824: crash when using win_move_separator() in other tab pagezeertzjq2022-11-02
| | | | | | | | | | | | | | | | Problem: Crash when using win_move_separator() in other tab page. Solution: Check for valid window in current tab page. (closes vim/vim#11479, closes vim/vim#11427) https://github.com/vim/vim/commit/873f41a0187e81a22aa4622fbf938de72a54abba
| * vim-patch:9.0.0823: mouse drag test failszeertzjq2022-11-02
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Mouse drag test fails. Solution: Only reset the mouse click flag when actually switching to another tab page. Disable test that keeps failing. https://github.com/vim/vim/commit/7a7db047dcb2336de5103e793345eb5a9d125900 Omit test_termcodes.vim change: reverted in patch 9.0.0825. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0822: crash when dragging the statusline with a mappingzeertzjq2022-11-02
|/ | | | | | | | | Problem: Crash when dragging the statusline with a mapping. Solution: Check for valid window pointer. (issue vim/vim#11427) https://github.com/vim/vim/commit/8ab9ca93eea32b318235384720200771863ecaee Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0826: if 'endofline' is set CTRL-Z may be written in a wrong ↵zeertzjq2022-11-02
| | | | | | | | | | | | place (#20903) Problem: If 'endofline' is set the CTRL-Z may be written in the wrong place. Solution: Write CTRL-Z at the end of the file. Update the help to explain the possibilities better. (Ken Takata, closes vim/vim#11486) https://github.com/vim/vim/commit/3af982196b1b973e953c35351961f2a96fe34172 Co-authored-by: K.Takata <kentkt@csc.jp>
* build(lint): remove clint.py rules for braces #20880dundargoc2022-11-01
| | | | | Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py. See also https://github.com/neovim/neovim/pull/18563
* build(deps): bump lua parser to v0.0.14 (#20897)Christian Clason2022-11-01
|
* vim-patch:8.2.2343: Vim9: return type of readfile() is any (#20896)zeertzjq2022-11-01
| | | | | | | | | Problem: Vim9: return type of readfile() is any. Solution: Add readblob() so that readfile() can be expected to always return a list of strings. (closes vim/vim#7671) https://github.com/vim/vim/commit/c423ad77ed763c11ba67729bbf63c1cf0915231f Co-authored-by: Bram Moolenaar <Bram@vim.org>
* refactor: move do_mouse() and its helpers to mouse.c (#20895)zeertzjq2022-11-01
| | | | Vim moved it in patch 8.1.2062, and this is required for patch 9.0.0822. Also change macros in mouse.h to enums.
* vim-patch:9.0.0821: crash with win_move_statusline() in another tabpage (#20894)zeertzjq2022-11-01
| | | | | | | | | | vim-patch:86e6717ace4f Problem: Crash when using win_move_statusline() in another tab page. Solution: Check for valid window pointer. (issue vim/vim#11427) https://github.com/vim/vim/commit/86e6717ace4f5e00eaeb84b59e3fc92bca548155 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(mark): do not restore view in op-pending mode (#20889)zeertzjq2022-11-01
|
* Merge pull request #20489 from jpalus/memory-alignmentbfredl2022-10-31
|\ | | | | memory: fix memory alignment for dynamic allocation
| * refactor(memory): simplify new alignment logicbfredl2022-10-31
| | | | | | | | | | In particular, we can assume the xmalloc-ed pointer is at least double-aligned, otherwise nothing work work.
| * fix(memory): fix memory alignment for dynamic allocationJan Palus2022-10-31
|/ | | | | | | | all pointers returned by arena_alloc residing in arena block should be properly aligned to meet neovim's alignment requirements but keeping it simple settle on ARENA_ALIGN = MAX(sizeof(void *), sizeof(double)).
* Merge #20873 from justinmk/checkhealthJustin M. Keyes2022-10-30
|\
| * feat(checkhealth): check runtime ($VIMRUNTIME)Justin M. Keyes2022-10-30
| | | | | | | | | | | | Move man/health.lua into the "runtime" check. fix #20696
| * refactor(checkhealth): convert "nvim" check to LuaJustin M. Keyes2022-10-30
| |
| * feat(checkhealth): improve treesitter reportJustin M. Keyes2022-10-30
|/
* ci(stylua): explicitly set the version to latest (#20869)dundargoc2022-10-30
| | | | This will silence the warning about needing to pin the version in the Summary Page.
* fix(lsp/window_showDocument): correctly handle external resources #20867lvimuser2022-10-30
| | | | | - since cmd is a list, it runs directly ('no shell') and we shouldn't escape. - typo: shellerror -> shell_error
* ci(windows): build dependencies with Ninja (#20800)dundargoc2022-10-30
| | | | This will save around a minute of CI time for each run. Also clean up build.ps1 by removing unnecessary code.
* Merge pull request #20855 from zeertzjq/vim-fb0cf2357e0czeertzjq2022-10-30
|\ | | | | vim-patch:9.0.{0816,0819}: CTRL-Z at end of file is always dropped
| * vim-patch:9.0.0819: still a build error, tests are failingzeertzjq2022-10-30
| | | | | | | | | | | | | | | | | | | | | | Problem: Still a build error, tests are failing. Solution: Correct recent changes. Add missing init for 'eof'. https://github.com/vim/vim/commit/1577537f109d97a975fda9a899cacfb598617767 vim-patch:1577537f109d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0816: CTRL-Z at end of file is always droppedzeertzjq2022-10-30
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: CTRL-Z at end of file is always dropped. Solution: Add the 'endoffile' option, like the 'endofline' option. (closes vim/vim#11408, closes vim/vim#11397) Cherry-pick test_fixeol.vim changes from patch 8.2.1432. Cherry-pick 'endoffile' changes from latest Vim runtime update. https://github.com/vim/vim/commit/fb0cf2357e0c85bbfd9f9178705ad8d77b6b3b4e vim-patch:f0b567e32a46 Revert unintended Makefile change https://github.com/vim/vim/commit/f0b567e32a462fe838170a202919d18b53eff987 vim-patch:72c8e3c070b3 Fix wrong struct access for member. https://github.com/vim/vim/commit/72c8e3c070b30f82bc0d203a62c168e43a13e99b vim-patch:3f68a4136eb9 Add missing entry for the 'endoffile' option. https://github.com/vim/vim/commit/3f68a4136eb99840d739af5133ab31948f273f63 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* build(vim-patch.sh): checkout files with path for uncrustify (#20863)zeertzjq2022-10-30
|
* fix(health): correct tmux rgb verification (#20868)Barrett Ruth2022-10-30
| | | Current RGB verification parses `tmux server-info`. Despite it being a tmux default alias to `tmux show-messages -JT`, it may be unavailable. Use `tmux show-messages -JT` directly instead.
* fix(mouse): ensure no scrolling with "ver:0" in 'mousescroll' (#20861)zeertzjq2022-10-30
|
* fix(path): don't remove trailing slash when getting absolute path (#20853)zeertzjq2022-10-30
| | | | | | Before Vim patch 8.2.3468 relative_directory is never used in the resulting path name, so whether it has a trailing slash didn't matter. Now path_full_dir_name() appends a non-existing relative directory to the current directory name, so the trailing slash needs to be kept.
* fix: avoid unsigned overflow in home_replace() (#20854)zeertzjq2022-10-30
|
* ci: use GHA default clang for asan, tsan jobs #20846dundargoc2022-10-29
| | | | | | Default is currently clang 14. GHA images are updated at least once per year, so we don't need to manually install a newer clang version. Also remove step for installing clang-13 since it's not needed anymore.
* build: remove python linting #20851dundargoc2022-10-29
| | | | | | This includes both the `lintpy` make target and for CI. We're actively trying to reduce our python usage, so this only seems to give warnings for unimportant things such as exceeding the line after deleting python code.
* vim-patch:partial:6ebe4f970b8b (#20860)Christian Clason2022-10-29
| | | | | | | Update runtime files https://github.com/vim/vim/commit/6ebe4f970b8b398087076a72a7aae6e680fb92da Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(docs): nil as viable argument for goto_prev (#20852)Martin Kunz2022-10-28
| | | | Added `nil` as a possible option to `vim.diagnostics.goto_prev` in the docs
* Merge pull request #20848 from zeertzjq/vim-8.2.1639zeertzjq2022-10-29
|\ | | | | vim-patch:8.2.{1639,1642,1652,1663,1716}: optwin translations
| * vim-patch:8.2.1716: options window has duplicate translationszeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | | | Problem: Options window has duplicate translations. Solution: Make one entry for "global or local to buffer". Fix wrong text. (closes vim/vim#6983) https://github.com/vim/vim/commit/b5cfff0b34d1be87f7d0458e4b9addd71c5d5b1d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1663: options window entries cannot be translatedzeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | Problem: Options window entries cannot be translated. Solution: Use AddOption() for all explanations. (closes vim/vim#6800) https://github.com/vim/vim/commit/14944c04bd15f3bc67a6665d7234e44bd77b495d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1652: cannot translate lines in the options windowzeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | | | Problem: Cannot translate lines in the options window. Solution: Use the AddOption() function to split descriptions where indicated by a line break. (issue vim/vim#6800) https://github.com/vim/vim/commit/a953b5cf4f291875b805262eebd361e502de8c92 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1642: otions test failszeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | Problem: Otions test fails. Solution: Correct call to OptionG(). https://github.com/vim/vim/commit/4507f6ada590fb6274b21c416190dfecb23dcf1b Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.1639: options window cannot be translatedzeertzjq2022-10-28
|/ | | | | | | | | | Problem: Options window cannot be translated. Solution: Get the translation for "local to" texts once and use them in many places. Fix that 'whichwrap' is not a local option. (issue vim/vim#6800) https://github.com/vim/vim/commit/64075b0ab18449132ed01a07874fe1d1f3f356d4 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* build: make update-po support optwin.vim (#20840)zeertzjq2022-10-28
|
* fix(diff.c): regression in diffgetput (#20843)Lewis Russell2022-10-28
|
* Merge pull request #20842 from zeertzjq/vim-8.2.1395zeertzjq2022-10-28
|\ | | | | vim-patch:8.2.{1395,3407}
| * vim-patch:8.2.3407: using uninitialized memory with "let g:['bar'] = 2"zeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | Problem: Using uninitialized memory with "let g:['bar'] = 2". Solution: Initialize v_type of a new dict item. https://github.com/vim/vim/commit/3b318513561b5862944769188ae4af6b70311838 Co-authored-by: Bram Moolenaar <Bram@vim.org>