aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | eval: ll_range,ll_empty2 members are boolJan Edmund Lazo2021-02-06
| | |
| * | vim-patch:8.1.2285: padding in structures wastes memoryJan Edmund Lazo2021-02-06
|/ / | | | | | | | | | | | | | | | | Problem: Padding in structures wastes memory. Solution: Move fields to avoid padding. (Dominique Pelle, closes vim/vim#5202) https://github.com/vim/vim/commit/d6beab0248cdb0b7073e97d98d65de7138cb3386 Skip "ml_line_len" member of "struct memline". Patch v8.1.0579 was not ported.
* | vim-patch:8.2.2469: confusing error if :winsize has a wrong argument (#13889)Jan Edmund Lazo2021-02-06
| | | | | | | | | | | | | | Problem: Confusing error if :winsize has a wrong argument. Solution: Quote the argument in the error. (closes vim/vim#2523) https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1 Cherry-pick Test_winsize_cmd() from patch v8.2.0243.
* | Merge pull request #13876 from jamessan/pty-termJames McCoy2021-02-06
|\ \ | | | | | | fix(pty): Always use $TERM from the job's env dict
| * | fix(pty): Always use $TERM from the job's env dictJames McCoy2021-02-06
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before #12937, the only way to specify the `$TERM` for a pty job was through the `TERM` key in the job's opts dict. This was shuttled to the child process throug a special field on the PtyProcess object and injected into the environment after forking. Now that we have a proper way to specify the environment for a job, we can simply ensure that the env dict has a proper `TERM` set and avoid the extra shuttling of data around. This deprecates the use of the `TERM` option, but will still honor it if present, although at a lower priority than a `TERM` present in the env dict. This also fixes #13874 because we're no longer trying to overwrite `TERM` in the env dict with the special pty `term_name`. Doing so raises an internal error because of the existing key which, under certain circumstances, would cause the "hit enter" prompt. However, since the child process had already forked, there was no way for the user to acknowledge the prompt and we would just hang there.
* | Merge pull request #13888 from jamessan/win-ciJames McCoy2021-02-06
|\ \ | | | | | | ci(gha/win): Do not rename python.exe to python3.exe if it exists
| * | ci(gha/win): Do not rename python.exe to python3.exe if it existsJames McCoy2021-02-05
| | | | | | | | | | | | | | | | | | | | | GHA now provides python3.exe by default -- actions/python-versions#78 Ensure Python 2 directory is earlier in $PATH so bare python always invokes Python 2.
* | | Merge pull request #13701 from erw7/fix-checkhealtherw72021-02-06
|\ \ \ | | | | | | | | Fix checkhealth problems
| * | | checkhealth: fix terminfo problems on Windowserw72021-01-06
| | | | | | | | | | | | | | | | fixes #13415
| * | | checkhealth: fix problem where &shada is emptyerw72021-01-06
| | | | | | | | | | | | | | | | fixes #13700
* | | | Merge pull request #13702 from erw7/fix-build_stl_str_hlerw72021-02-06
|\ \ \ \ | | | | | | | | | | buffer.c: fix problem of memory allocation
| * | | | buffer.c: remove useless 'for' loops.erw72021-01-09
| | | | |
| * | | | buffer.c: fix problem of memory allocationerw72021-01-05
| | | | |
* | | | | Merge pull request #12080 from erw7/feature-bracketed-paste-on-termerw72021-02-06
|\ \ \ \ \ | | | | | | | | | | | | terminal: add bracketed pasting feature
| * | | | | Change default for tpf optionerw72021-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default of tpf to the same value as the default of xterm's disallowedPasteControls, because it may be a security risk.
| * | | | | Add termpastefilter optionerw72021-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to specify a character to be filtered as an option when pasting on the terminal.
| * | | | | Change to filter control characters when pasting a terminal windowerw72021-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to filter the following control characters in the same way as xterm. \x00-\x07, \x0b-\x0c, \x0e-\x1f
| * | | | | Add support for bracketed paste mode in terminal windowserw72021-02-04
| | | | | |
* | | | | | Merge pull request #13878 from bfredl/incmarkBjörn Linse2021-02-05
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | inccommand: preserve extmarks when undoing preview substitution
| * | | | | tests: clean up lua/buffer_updates_spec.luaBjörn Linse2021-02-04
| | | | | |
| * | | | | inccommand: preserve extmarks when undoing preview substitutionBjörn Linse2021-02-04
|/ / / / /
* / / / / lsp: Fix pumvisible() check introduced in #12900 (#13866)runiq2021-02-04
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | `pumvisible()` returns a number, and numbers are always `true` in Lua, so the return value needs to be checked explicitly. Using https://github.com/neovim/neovim/pull/12900 as context, it appears the intention was to move into the `if` branch when the completion popup is not shown (i.e. `vim.fn.pumvisible() == 0`).
* | | | Merge pull request #13865 from janlazo/vim-8.2.2437Jan Edmund Lazo2021-02-03
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{2437,2439,2442,2446,2447,2448,2457,2458,2462,2464}
| * | | | vim-patch:8.2.2464: using freed memory if window closed in autocommandJan Edmund Lazo2021-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory if window closed in autocommand. (houyunsong) Solution: Check the window still exists. https://github.com/vim/vim/commit/8ab375706e6712308f8cf7529bcae56684a6f385
| * | | | vim-patch:8.2.2462: Coverity warns for not checking for fseek() errorJan Edmund Lazo2021-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for not checking for fseek() error. Solution: Give an error message if fseek() fails. https://github.com/vim/vim/commit/2c363a2e95ee0b366e72063d093d20e025ef4a66
| * | | | vim-patch:8.2.2458: Coverity warns for :retab using freed memoryJan Edmund Lazo2021-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for :retab using freed memory. Solution: Use the updated line pointer when moving text properties. https://github.com/vim/vim/commit/0dcd39bad5e5aa70ba8f60cb3fbf0658585f0151 N/A patches for version.c: vim-patch:8.2.2457: Coverity warns for memory leak Problem: Coverity warns for memory leak. Solution: Free memory when out of memory. https://github.com/vim/vim/commit/4dba04256b8a49b201d685217d3d7abc4988f090
| * | | | vim-patch:8.2.2447: 'foldlevel' not applied to folds restored from sessionJan Edmund Lazo2021-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'foldlevel' not applied to folds restored from session. Solution: Set 'foldlevel' after creaiting the folds. (closes vim/vim#7767) https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
| * | | | vim-patch:8.2.2446: setting 'term' empty has different error if compiled ↵Jan Edmund Lazo2021-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with GUI Problem: Setting 'term' empty has different error if compiled with GUI. Solution: Insert "else". (closes vim/vim#7766) https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c N/A patches for version.c: vim-patch:8.2.2437: deprecation warnings with default configuration Problem: Deprecation warnings with default configuration. Solution: Add -Wno-deprecated-declarations. https://github.com/vim/vim/commit/4d8479b335e92a95b09fdee09309ea0df934cb9e vim-patch:8.2.2439: not easy to figure out what packages to get Problem: Not easy to figure out what packages to get when installing Vim on a new Ubuntu system. Solution: Mention explicit commands that are easy to follow. https://github.com/vim/vim/commit/3d2bb8b6f152c0c5056f49bccb350683a9ba2e13 vim-patch:8.2.2442: automatic GUI selection does not check for GTK 3 Problem: Automatic GUI selection does not check for GTK 3. Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to YES when checking for GTK2. https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d vim-patch:8.2.2448: compilation error with Ruby 3.0 Problem: Compilation error with Ruby 3.0. Solution: Adjust #ifdefs and declaration. (Ken Takata, closes vim/vim#7761) https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a
* | | | | vim-patch.sh: remove unsupported files (#13570)Jan Edmund Lazo2021-02-03
|/ / / / | | | | | | | | Add files listed in https://github.com/neovim/neovim/wiki/Merging-patches-from-upstream-Vim#na-not-applicable-patches.
* | | | Add clangd cache to ignore (#13856)Volodymyr Kot2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | While standard library is cached to a user's directory such as $XDG_CACHE_HOME, directory-specific clangd indexes are stored to .cache subdirectory. https://github.com/llvm/clangd-www/blob/main/design/indexing.md#backgroundindex
* | | | Merge pull request #12937 from jamessan/term-envJames McCoy2021-01-31
|\ \ \ \
| * | | | ci(sr.ht): Use RelWithDebInfo buildsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many compiler checks rely on optimizations being enabled, so we want these to show up in CI. Use RelWithDebInfo instead of Release so that assert() statements aren't compiled out.
| * | | | Use abort() instead of assert(false) for things that should never happenJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assert() is compiled out for release builds, but we don't want to continue running in these impossible situations. This also resolves the "implicit fallthrough" warnings for the asserts in switch cases.
| * | | | fix(pty_proc/macOS): Properly set the environment for the childJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Binding _NSGetEnviron()'s return value to a local variable and then re-binding that is incorrect. We need to directly update what _NSGetEnviron() refers to.
| * | | | test(job): Ensure job-specific env var overrides global env varJames McCoy2021-01-31
| | | | |
| * | | | Pass environment on to pty processes on WindowsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.0239: MS-Windows: 'env' job option does not override existing vars Problem: MS-Windows: 'env' job option does not override existing environment variables. (Tim Pope) Solution: Set the environment variables later. (Yasuhiro Matsumoto, closes vim/vim#5485, closes vim/vim#5608) https://github.com/vim/vim/commit/355757aed6ae2ae5446882570d89f243e4805937 Co-authored-by: erw7 <erw7.github@gmail.com>
| * | | | eval/environ: Prefer the last definition of an env varJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible for the environment variable block given to nvim to contain multiple definitions for the same env var. In this case, nvim should preserve the last one defined.
| * | | | Common handling of required/ignored env varsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When starting a pty job, there are certain env vars that we need to either add or remove. Currently, there are two relevant scenarios. * Removing irrelevant env vars on Unix, mostly related to the terminal hosting nvim since they do not apply to a libvterm-hosted terminal. * Adding required env vars for Windows jobs.
| * | | | Support specifying "env" option for termopen()James McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | Co-authored-by: erw7 <erw7.github@gmail.com>
| * | | | Use dict_T to pass env vars to process spawning codeJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Matthieu Coudron <mattator@gmail.com>
* | | | | vim-patch:8.2.2430: :vimgrep expands wildcards twice (#13853)Jan Edmund Lazo2021-01-31
|/ / / / | | | | | | | | | | | | | | | | Problem: :vimgrep expands wildcards twice. Solution: Do not expand wildcards a second time. https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
* | | | version.c: update [ci skip] (#13705)Jan Edmund Lazo2021-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.2307: a shell command in the vimrc causes terminal output vim-patch:8.2.2312: build failure with Ruby 3.0 and 32 bits vim-patch:8.2.2326: build error with +eval feature but without +spell vim-patch:8.2.2337: configure test for GTK only says "no" vim-patch:8.2.2346: Codecov reports every little coverage drop vim-patch:8.2.2347: build failure without GUI vim-patch:8.2.2348: no check for modified files after focus gained vim-patch:8.2.2352: if focus lost/gained is received twice code is not ignored vim-patch:8.2.2358: wrong #ifdef for use_xterm_like_mouse() vim-patch:8.2.2383: focus escape sequences are not named vim-patch:8.2.2407: old jumplist code is never used vim-patch:8.2.2408: MinGW: "--preprocessor" flag no longer supported vim-patch:8.2.2431: warning for -fno-strength-reduce with Clang 11 vim-patch:8.2.2432: libvterm tests are executed even when libtool doesn't work
* | | | Merge pull request #13835 from saadparwaiz1/runtime/zshJan Edmund Lazo2021-01-30
|\ \ \ \ | | | | | | | | | | Update Runtime Files For Zsh
| * | | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | | | | | | | | | port zsh compiler only
| * | | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | | | | | | | | | port zsh ftplugin only.
| * | | | runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27Saad Parwaiz2021-01-30
| | | | | | | | | | | | | | | | | | | | port zsh ftplugin only
| * | | | runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5Saad Parwaiz2021-01-30
| | | | | | | | | | | | | | | | | | | | port zsh syntax file only
| * | | | runtime/zsh: b17893aa940dc7d45421f875f5d90855880aad27Saad Parwaiz2021-01-30
| | | | | | | | | | | | | | | | | | | | port zsh syntax file only
| * | | | runtime/zsh: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470Saad Parwaiz2021-01-30
|/ / / / | | | | | | | | | | | | Port zsh syntax file only
* | | | Merge pull request #13852 from janlazo/vim-8.2.2037Matthieu Coudron2021-01-30
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{2037,2038}