aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | 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>
| * | vim-patch:8.2.1395: Vim9: no error if declaring a funcref with lower case letterzeertzjq2022-10-28
|/ / | | | | | | | | | | | | | | | | Problem: Vim9: no error if declaring a funcref with a lower case letter. Solution: Check the name after the type is inferred. Fix confusing name. https://github.com/vim/vim/commit/98b4f145eb89405021e23a4a37db51d60a75a1d0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | Merge pull request #20832 from zeertzjq/vim-8.2.1544zeertzjq2022-10-28
|\ \ | | | | | | vim-patch:8.2.{1544,1585}: cannot translate messages in a Vim script
| * | vim-patch:8.2.1585: messages in globals.h not translatedzeertzjq2022-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Messages in globals.h not translated, xgettext on MS-Windows not fully supported. Solution: Add globals.h to list of input files. Update MS-Windows makefiles to improve message translations. (Ken Takata, closes vim/vim#6858) https://github.com/vim/vim/commit/fa57335e532e505ce9229ddb2354a593fb057561 Also update gettext() docs to match latest Vim.
| * | vim-patch:8.2.1544: cannot translate messages in a Vim scriptzeertzjq2022-10-28
|/ / | | | | | | | | | | | | | | | | | | Problem: Cannot translate messages in a Vim script. Solution: Add gettext(). Try it out for a few messages in the options window. https://github.com/vim/vim/commit/0b39c3fd4c5d1c8ebd2efa85fced7df5e17efd3b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | docs(api): pattern is not expanded for autocommands (#20812)Christian Clason2022-10-27
| | | | | | | | | | | | | | Problem: Unlike `:autocmd`, `nvim_create_autocommand()` does not expand environment variables in the `pattern`, which is unexpected. Solution: Add a note to the documentation explaining this and suggesting using `expand()` explicitly.
* | docs: .git-blame-ignore-revs (#20820)dundargoc2022-10-27
| |
* | Merge pull request #20796 from lewis6991/refactor/diff.c_memmoveLewis Russell2022-10-27
|\ \
| * | refactor(diff.c): copy lines via memmoveLewis Russell2022-10-25
| | |
| * | refactor(diff.c): factor out diffblock deletionLewis Russell2022-10-25
| | |
* | | build: fix plural messages missing from .po files (#20830)zeertzjq2022-10-27
| | |
* | | Merge pull request #20828 from zeertzjq/vim-patch-nullJames McCoy2022-10-27
|\ \ \ | | | | | | | | build(vim-patch.sh): handle added/removed files properly
| * | | build(vim-patch.sh): handle added/removed files properlyzeertzjq2022-10-27
| | | |
* | | | build(deps): bump vimdoc parser to v1.2.5 (#20829)Christian Clason2022-10-27
|/ / /
* | | Merge pull request #20827 from zeertzjq/vim-8.2.4234zeertzjq2022-10-27
|\ \ \ | | | | | | | | vim-patch:8.2.{2653,4234}
| * | | vim-patch:8.2.4234: test_garbagecollect_now() does not check v:testingzeertzjq2022-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: test_garbagecollect_now() does not check v:testing as documented. Solution: Give an error if v:testing is not set. https://github.com/vim/vim/commit/b3d83980d2ac0f7a25314270416f17af874ca269 Co-authored-by: Bram Moolenaar <Bram@vim.org>