Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-0.7] fix(shared): avoid indexing unindexable values in vim.tbl_get() #18360

Merged
merged 2 commits into from
May 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 2, 2022

Description

Backport of #18337 to release-0.7.

@clason
Copy link
Member

clason commented May 2, 2022

@jamessan the BSD failure looks unrelated?

@zeertzjq
Copy link
Member

zeertzjq commented May 2, 2022

This appears every time there is a failing test.

@clason
Copy link
Member

clason commented May 2, 2022

That's not very helpful of the CI ;)

But the failing test itself is unrelated to this change?

@zeertzjq
Copy link
Member

zeertzjq commented May 2, 2022

That also intermittently happens.

@clason clason merged commit 08cd391 into release-0.7 May 2, 2022
@clason clason deleted the backport-18337-to-release-0.7 branch May 2, 2022 11:40
justinmk added a commit to justinmk/neovim that referenced this pull request Jun 26, 2022
BREAKING CHANGES:
fdd5178 neovim#18986 introduce $NVIM, unset $NVIM_LISTEN_ADDRESS

VIM PATCHES:
git log --oneline --grep "vim-patch" v0.7.0..v0.7.1

FEATURES:
0b8facc neovim#18440 feat(api): add `group_name` to `nvim_get_autocmds`
b7a5278 neovim#18440 feat(api): add `group_name` to `nvim_get_autocmds`
9e5cef9 neovim#18264 feat(tui): query terminal for CSI u support

FIXES:
b477afa neovim#19088
    71e2c49 refactor(tests): introduce testprg()
    175892f neovim#15913 fix: make_filter_cmd for :! powershell
f2b4652 neovim#18331 fix(lsp): make sure to always reset active codelens refreshes
b3d754c neovim#18869 fix(lsp): fix multi client handling in code action
e820c6d neovim#19069
    cf9c097 fix(api): check for inclusive buffer line index out of bounds correctly
a05da1c neovim#19053
    17299b3 fix(input): use correct grid when restoring cursor for <expr> mapping
7266150 neovim#19025
    40e13c8 neovim#19010 fix(decorations): nvim_buf_set_extmark breaks conceal
38928b5 neovim#19023
    18e0d64 fix(tui): fix piping output make nvim unusable
cd7ac0e neovim#19014
    433f306 fix: use ctermbg/fg instead of bg/fg when use_rgb is false
30ae06c neovim#19009
    777d415 fix(highlight): let winhighlight use cursor
    f70e083 neovim#18981 fix(hl): return cterm fg/bg even if they match Normal
    ee210b0 fix(hl): DRY set_hl_group() sg_attr set
    512a819 test(hl): Add Normal group set_hl/get_hl_by_name check
    79ca64a neovim#18024) fix(hl): set Normal hl group sg_attr value (fixes
2ebc76b neovim#19001
    4170983 fix(startup): nvim with --clean should not load user rplugins
ed9e6d1 neovim#18990 fix(treesitter): new iter if folded
05ce04e neovim#18984
    fe42dea neovim#18976 fix(lua): highlight.on_yank can close timer in twice
    f15d609 neovim#18824 fix(lua): stop pending highlight.on_yank timer, if any
5243cb8 neovim#18975
    bf4df2a fix(ui): do not call showmode() when setting window height
3cea4d6 neovim#18942
    05f6883 fix(buffer): disable buffer-updates before removing buffer from window
1dba6cf neovim#18918
    0c9d666 fix(input): fix macro recording with ALT and special key
fc4e4b3 neovim#18905
    bd3bb12 test(ts): skip test if C parser is not available
d317cb2 neovim#18886
    1496f42 fix(input): allow Ctrl-C to interrupt a recursive mapping even if mapped
0dc5bcd neovim#18680
    3a1e8ef neovim#18617 fix(autocmds): separate command from desc
cb1b4bb neovim#18655 fix(lsp): only send diagnostics from current buffer in code_action()
01d0d2c neovim#18517 build(deps): bump Luv to HEAD - c51e7052e
f3ffb73 neovim#18612 fix(health): return 0 if file not exists
496e786 neovim#18534
    0377973 fix(runtime/genvimvim): omit s[ubstitute] from vimCommand
35075dc neovim#18469 fix(lsp): fix unnecessary buffers being added on empty diagnostics
9e040ac neovim#18468 fix(lsp): unify progress message handling
e28799f neovim#18436 fix: display global statusline correctly with ext_messages
1e28068 neovim#18415 fix: ensure has() does not change v:shell_error
203b088 neovim#18411 build(deps): bump LuaJIT to HEAD - 91bc6b8ad
e502e81 neovim#18400 fix(treesitter): bump match limit up
7567d21 neovim#18390
    d165289 fix(lsp): add missing bufnr argument
f3587ba neovim#18367
    631393a fix(filetype.lua): escape expansion of ~ when used as a pattern
08cd391 neovim#18360 fix(shared): avoid indexing unindexable values in vim.tbl_get()
508c8a5 neovim#18362 fix(ftdetect): source plugins in autogroup
ffd46b7 neovim#18351
    2a61983 fix(mac): use same $LANG fallback mechanism as Vim
8d4fbcb neovim#18324
    b80ef0d fix(tui): disable extended keys before exiting alternate screen
14a5b6b neovim#18312
    89260ea fix(input): only disable mapped CTRL-C interrupts when getting input
ef43e7d neovim#18298 fix: suppress "is a directory" messages with shortmess 'F'
aff05c5 neovim#18256 fix: show autocmd output when F is in shortmess
fa7d8c3 neovim#18229
    d916d2f neovim#18227 fix(lua): don't mutate opts parameter of vim.keymap.del
f7e2ad7 neovim#18220 fix(treesitter): create new parser if language is not the same as cached parser
7f8faac neovim#18205 fix(diagnostic): use nvim_exec_autocmds to trigger DiagnosticChanged
3ee089e neovim#18167
    0f811af fix(tui): update modifyOtherKeys reporting
justinmk added a commit that referenced this pull request Jun 26, 2022
BREAKING CHANGES:
fdd5178 #18986 introduce $NVIM, unset $NVIM_LISTEN_ADDRESS

VIM PATCHES:
git log --oneline --grep "vim-patch" v0.7.0..v0.7.1

FEATURES:
0b8facc #18440 feat(api): add `group_name` to `nvim_get_autocmds`
b7a5278 #18440 feat(api): add `group_name` to `nvim_get_autocmds`
9e5cef9 #18264 feat(tui): query terminal for CSI u support

FIXES:
b477afa #19088
    71e2c49 refactor(tests): introduce testprg()
    175892f #15913 fix: make_filter_cmd for :! powershell
f2b4652 #18331 fix(lsp): make sure to always reset active codelens refreshes
b3d754c #18869 fix(lsp): fix multi client handling in code action
e820c6d #19069
    cf9c097 fix(api): check for inclusive buffer line index out of bounds correctly
a05da1c #19053
    17299b3 fix(input): use correct grid when restoring cursor for <expr> mapping
7266150 #19025
    40e13c8 #19010 fix(decorations): nvim_buf_set_extmark breaks conceal
38928b5 #19023
    18e0d64 fix(tui): fix piping output make nvim unusable
cd7ac0e #19014
    433f306 fix: use ctermbg/fg instead of bg/fg when use_rgb is false
30ae06c #19009
    777d415 fix(highlight): let winhighlight use cursor
    f70e083 #18981 fix(hl): return cterm fg/bg even if they match Normal
    ee210b0 fix(hl): DRY set_hl_group() sg_attr set
    512a819 test(hl): Add Normal group set_hl/get_hl_by_name check
    79ca64a #18024) fix(hl): set Normal hl group sg_attr value (fixes
2ebc76b #19001
    4170983 fix(startup): nvim with --clean should not load user rplugins
ed9e6d1 #18990 fix(treesitter): new iter if folded
05ce04e #18984
    fe42dea #18976 fix(lua): highlight.on_yank can close timer in twice
    f15d609 #18824 fix(lua): stop pending highlight.on_yank timer, if any
5243cb8 #18975
    bf4df2a fix(ui): do not call showmode() when setting window height
3cea4d6 #18942
    05f6883 fix(buffer): disable buffer-updates before removing buffer from window
1dba6cf #18918
    0c9d666 fix(input): fix macro recording with ALT and special key
fc4e4b3 #18905
    bd3bb12 test(ts): skip test if C parser is not available
d317cb2 #18886
    1496f42 fix(input): allow Ctrl-C to interrupt a recursive mapping even if mapped
0dc5bcd #18680
    3a1e8ef #18617 fix(autocmds): separate command from desc
cb1b4bb #18655 fix(lsp): only send diagnostics from current buffer in code_action()
01d0d2c #18517 build(deps): bump Luv to HEAD - c51e7052e
f3ffb73 #18612 fix(health): return 0 if file not exists
496e786 #18534
    0377973 fix(runtime/genvimvim): omit s[ubstitute] from vimCommand
35075dc #18469 fix(lsp): fix unnecessary buffers being added on empty diagnostics
9e040ac #18468 fix(lsp): unify progress message handling
e28799f #18436 fix: display global statusline correctly with ext_messages
1e28068 #18415 fix: ensure has() does not change v:shell_error
203b088 #18411 build(deps): bump LuaJIT to HEAD - 91bc6b8ad
e502e81 #18400 fix(treesitter): bump match limit up
7567d21 #18390
    d165289 fix(lsp): add missing bufnr argument
f3587ba #18367
    631393a fix(filetype.lua): escape expansion of ~ when used as a pattern
08cd391 #18360 fix(shared): avoid indexing unindexable values in vim.tbl_get()
508c8a5 #18362 fix(ftdetect): source plugins in autogroup
ffd46b7 #18351
    2a61983 fix(mac): use same $LANG fallback mechanism as Vim
8d4fbcb #18324
    b80ef0d fix(tui): disable extended keys before exiting alternate screen
14a5b6b #18312
    89260ea fix(input): only disable mapped CTRL-C interrupts when getting input
ef43e7d #18298 fix: suppress "is a directory" messages with shortmess 'F'
aff05c5 #18256 fix: show autocmd output when F is in shortmess
fa7d8c3 #18229
    d916d2f #18227 fix(lua): don't mutate opts parameter of vim.keymap.del
f7e2ad7 #18220 fix(treesitter): create new parser if language is not the same as cached parser
7f8faac #18205 fix(diagnostic): use nvim_exec_autocmds to trigger DiagnosticChanged
3ee089e #18167
    0f811af fix(tui): update modifyOtherKeys reporting

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 769a93aa2901..9b5563be0d1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,7 +136,7 @@ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY
 set(NVIM_VERSION_MAJOR 0)
 set(NVIM_VERSION_MINOR 7)
 set(NVIM_VERSION_PATCH 1)
-set(NVIM_VERSION_PRERELEASE "-dev") # for package maintainers
+set(NVIM_VERSION_PRERELEASE "") # for package maintainers

 # API level
 set(NVIM_API_LEVEL 9)         # Bump this after any API change.
diff --git a/runtime/nvim.appdata.xml b/runtime/nvim.appdata.xml
index 1464c2769443..893023db8298 100644
--- a/runtime/nvim.appdata.xml
+++ b/runtime/nvim.appdata.xml
@@ -26,6 +26,7 @@
   </screenshots>

   <releases>
+    <release date="2022-06-26" version="0.7.1"/>
     <release date="2022-04-15" version="0.7.0"/>
     <release date="2021-12-31" version="0.6.1"/>
     <release date="2021-11-30" version="0.6.0"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants