| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
FIXES:
5b47e4dc3858 #10341 security: 'modeline', 'modelineexpr'
e4ecb70d0810 #10345 Disallow API calls in the sandbox.
|
| |\
| |
| | |
eval/api: don't allow the API to be called in the sandbox.
|
| |/
|
|
|
| |
Identifying and maintaining a "secure" subset of the API would be too
much busywork. So just disable the entire thing.
|
| |\
| |
| | |
Modeline fix backports
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Misspelled mkspellmem as makespellmem.
Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
Takata, closes vim/vim#4437)
https://github.com/vim/vim/commit/076073950c44ea0e35bc39d539dc7ab41bf9c7ec
|
| | |
| |
| |
| |
| |
| | |
Problem: Error when editing test file.
Solution: Remove part of modeline.
https://github.com/vim/vim/commit/3020a87cb121123abf1e9a1eca0eddac241fc481
|
| | |
| |
| |
| |
| |
| | |
Problem: Modeline test fails with python but without pythonhome.
Solution: Correct test argument.
https://github.com/vim/vim/commit/e09244ee3567d658c293fb1ae0d47a1a8be870ac
|
| | |
| |
| |
| |
| |
| | |
Problem: can set 'modelineexpr' in modeline.
Solution: Add P_SECURE flag.
https://github.com/vim/vim/commit/7e800c6047c8a9cc3e5cbc019a4dc91ec36616b1
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
https://github.com/vim/vim/commit/110289e78195b6d01e1e6ad26ad450de476d41c1
|
| | |
| |
| |
| |
| |
| | |
Problem: Modeline test with keymap still fails.
Solution: Check that the keymap feature is available for the failure assert.
https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7
|
| | |
| |
| |
| |
| |
| | |
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes vim/vim#3592)
https://github.com/vim/vim/commit/9691f82f862ed18c2e3e48f9d2cd902bb947f803
N/A patches:
vim-patch:8.1.0208: file left behind after running individual test
|
| | |
| |
| |
| |
| |
| | |
Problem: Duplicate test function name.
Solution: Rename both functions.
https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
|
| | |
| |
| |
| |
| |
| | |
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes vim/vim#3241)
https://github.com/vim/vim/commit/9cf4b5005f12ce1d6692266140bdda05d0312d79
|
| | |
| |
| |
| |
| |
| | |
Problem: the "secure" variable is used inconsistently. (Justin M. Keyes)
Solution: Set it to one instead of incrementing.
https://github.com/vim/vim/commit/82b033eff82d3ed0da77fd5f5a1c023766acabba
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: When executing an insecure function the secure flag is stuck.
(Gabriel Barta)
Solution: Restore "secure" instead of decrementing it. (closes vim/vim#3705)
https://github.com/vim/vim/commit/48f377a476e4a3312aa0e3535aba170484b59483
|
| | |
| |
| |
| | |
ASCII_ISALNUM is part of vim-patch:8.1.0540
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Setting 'filetype' in a modeline causes an error (Hirohito
Higashi).
Solution: Don't add the P_INSECURE flag when setting 'filetype' from a
modeline. Also for 'syntax'.
https://github.com/vim/vim/commit/916a818cea5ba05a5f2117407674461b8bee6832
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
https://github.com/vim/vim/commit/247bb7e43b47eb8407a1111bed60b61aceda52ad
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/82e8c92ebef5afcac0c0fdb706ff163f9b3366f7
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Evaluating a modeline might invoke using a shell command. (Paul
Huber)
Solution: Set the sandbox flag when setting options from a modeline.
https://github.com/vim/vim/commit/5958f95a40a4a44bd9e7f3b7ec6554a6ef3e42ca
|
| | |
| |
| |
| |
| |
| | |
Problem: Function defined in sandbox not tested.
Solution: Add a text.
https://github.com/vim/vim/commit/d90a144eda047816acffc7a8f297b43a7120710e
|
| |/
|
|
|
|
|
|
| |
Problem: Defining function in sandbox is inconsistent, cannot use :function
but can define a lambda.
Solution: Allow defining a function in the sandbox, but also use the sandbox
when executing it. (closes vim/vim#3182)
https://github.com/vim/vim/commit/93343725b5fa1cf580a24302455980faacae8ee2
|
| | |
|
| |
|
|
|
| |
OTHER:
361d4be588b9 dist: update nvim.png
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix appimage failure:
-- Deploying icons --
Deploying icon /home/travis/build/neovim/bot-ci/build/neovim/runtime/nvim.png
WARNING: x and y resolution of icon are not equal: /home/travis/build/neovim/bot-ci/build/neovim/runtime/nvim.png
ERROR: Icon /home/travis/build/neovim/bot-ci/build/neovim/runtime/nvim.png has invalid x resolution: 104
ERROR: Valid resolutions for icons are: 8x8, 16x16, ...
Failed to deploy icon: /home/travis/build/neovim/bot-ci/build/neovim/runtime/nvim.png
mv: cannot stat '/home/travis/build/neovim/bot-ci/build/neovim/build/nvim.appimage*': No such file or directory
ref https://github.com/neovim/bot-ci/issues/144
|
| | |
|
| |
|
|
|
|
|
|
| |
FIXES:
4553fc5e6cb6 #10082 vim-patch:8.1.1365: :source should check sandbox
OTHER:
877d53990414 #10027 genappimage.sh: migrate to linuxdeploy
|
| |
|
|
|
| |
Problem: Source command doesn't check for the sandbox. (Armin Razmjou)
Solution: Check for the sandbox when sourcing a file.
https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
|
| |
|
|
|
| |
generate_type2_appimage is unmaintained, and lacks a way to rename the appimage file.
fix #9893
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Maintenance release to fix issues found in v0.3.4.
FIXES:
f891131c6bb2 #9894 options: properly reset directories on 'autochdir'
9a5488c2a67e Remove MSVC optimization workaround for SHM_ALL
1793ba81762f Make SHM_ALL to a variable instead of a compound literal #define
947069ba1438 doc: mention "pynvim" module rename
46c7e12f27f1 #9629 screen: don't crash when drawing popupmenu with 'rightleft' option
f1843c003576 vim-patch:8.1.0677: look-behind match may use the wrong line number
120442188872 #8325 :terminal : set topline based on window height
aaa8c3d7112a #9504 :recover : Fix crash on non-existent *.swp
|
| |
|
| |
Fixes https://github.com/neovim/neovim/issues/9892
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc-9 has [improved compliance] with the C spec for lifetime of compound
literals, tying their lifetime to block scope instead of function scope.
This makes the behavior comparable to all other automatic variables.
Using the SHM_ALL #define instantiated a compound literal local to an if
clause and assigned the address to a "char_u *". Since the pointer was
then being used outside of the if clause, it was using an invalid
address.
[improved compliance]: https://gcc.gnu.org/gcc-9/porting_to.html#complit
Closes #9855
|
| |
|
|
| |
closes #9764
|
| |\
| |
| | |
screen: don't crash when drawing popupmenu with 'rightleft' option
|
| |/ |
|
| |
|
|
|
|
|
|
|
| |
crash reported in #9584
Problem: Look-behind match may use the wrong line number. (Dominique Pelle)
Solution: Use the line number in regsave instead of the one in behind_pos,
we may be looking at the previous line. (closes vim/vim#3749)
https://github.com/vim/vim/commit/866f3558141aa68862aa2fedbb7747bf2365e838
|
| | |
|
| |
|
|
|
|
|
| |
Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist.
closes #9503
closes #9504
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This maintenance release fixes some issues found in v0.3.3.
FIXES:
8a7b6200fbaa #9487 provider: improve error message if provider is missing
44ea903ca51a #9468 checkhealth: detect broken pip
b4028056fa5d Windows: nvim-qt v0.2.12 (fix potential "blank screen" at startup)
|
| |\
| |
| | |
release candidate 0.3.4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.
Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.
Fixes https://github.com/neovim/neovim/issues/9485
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This maintenance release fixes some issues found in v0.3.2 .
FIXES:
a597ab8d1ba7 #9442 Merge pull request from jamessan/revert-pynvim
d7b3ac029c30 health/provider: Check for available pynvim when neovim module missing
edeb19d5e959 python#CheckForModule: Use the given module string instead of hard-coding pynvim
0dd89cda9c47 {health,provider}/python: Import the neovim, rather than pynvim, module
fc6e8a4db8eb #9423 TUI: Konsole DECSCUSR fixup
|