It's more convenient to not specify the version and let openbsd's
package manager figure it out. This will help us avoid manually bumping
dependency versions when a new version of openbsd is released.
Some packages have multiple versions and not specifying a version in
those cases fails the CI job, so providing a version seems to be
necessary for some key packages.
(cherry picked from commit d61a5a08ac)
build(macos): use consistent MACOSX_DEPLOYMENT_TARGET
Use the same logic for both deps (including LuaJIT, for which setting
this variable is mandatory) and Nvim: either the eponymous environment
variable if set, or the current software version if not.
Removes annoying warnings when building locally on macOS.
(cherry picked from commit aefccc613c)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
* fix(test): screen.lua nil index
When actual_rows and expected_rows are different avoid a nil index.
* fix(tui): resize at startup
The deleted code is not needed after 402b4e8.
It caused the condition to false positive when the function was called
more than once before startup (first normal mode). Being itself what
set the dimension and not the user, locking the size of the screen to
an incorrect size.
Make got_winch an int to mitigate: tui_grid_resize changing the size
of the host terminal between the signal handler and the call to
sigwinch_cb. Since the actual signal handler uv__signal_handle doesn't
directly call the callback, the event loop does.
Fixes#17285Fixes#15044Fixes#11330
feat(lsp): hide backticks in LSP docstrings
Also clear `markdownError`: don't want to highlight invalid markdown
syntax in LSP docstrings.
fix#16114
(cherry picked from commit e9edee229d)
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
fix(lsp): abort pending changes after flush when debouncing
Issuing a server request triggers `changetracking.flush` so as to
make sure we're not operating on a stale state. This immediately
triggers notification of any pending changes (as a result of debouncing)
to the server. However, this happens in addition to the notification
that is waiting on the debounce delay. Because we `nil`
`buf_state.pending_change` when it is called, the fix is to
also check that this is non-`nil` when it is called and exit if it is,
as this being `nil` would mean that it originates from a pending change
that has already been flushed out.
(cherry picked from commit d7bb2b4202)
Co-authored-by: Rishikesh Vaishnav <rishhvaishnav@gmail.com>
Although the flags are useful to see what the compiler thinks we can
improve on, it adds a lot of noise to the build output. That makes it
harder to spot actual issues that may be flagged.
Closes https://github.com/neovim/neovim/issues/19160.
(cherry picked from commit 1d88ad6bfe)
Our previous mangling of gettext broke the `HAVE_WORKING_LIBINTL` test
because it prevented CMake from finding `libintl.h`. Let's fix that by
linking Gettext's `include` directory into `/usr/local` too.
If `libintl` is a static library on macOS, we also need to explicitly
link with `libiconv` and the `CoreFoundation` framework. Otherwise, our
`HAVE_WORKING_LIBINTL` test erroneously fails.
Closes#19127Closes#19138
Omitting 'pattern' in nvim_exec_autocmds should be equivalent to
omitting the 'fname' argument in :doautoall, which is equivalent to
using an empty string as the pattern. Fixes regression introduced
in #19091.
BREAKING CHANGES:
fdd5178581#18986 introduce $NVIM, unset $NVIM_LISTEN_ADDRESS
VIM PATCHES:
git log --oneline --grep "vim-patch" v0.7.0..v0.7.1
FEATURES:
0b8faccade#18440 feat(api): add `group_name` to `nvim_get_autocmds`
b7a5278249#18440 feat(api): add `group_name` to `nvim_get_autocmds`
9e5cef945a#18264 feat(tui): query terminal for CSI u support
FIXES:
b477afa3ea#1908871e2c49b17 refactor(tests): introduce testprg()
175892fa37#15913 fix: make_filter_cmd for :! powershell
f2b465232d#18331 fix(lsp): make sure to always reset active codelens refreshes
b3d754ccd7#18869 fix(lsp): fix multi client handling in code action
e820c6d7c3#19069cf9c097f34 fix(api): check for inclusive buffer line index out of bounds correctly
a05da1c05a#1905317299b302c fix(input): use correct grid when restoring cursor for <expr> mapping
7266150eff#1902540e13c8d95#19010 fix(decorations): nvim_buf_set_extmark breaks conceal
38928b5cc2#1902318e0d64666 fix(tui): fix piping output make nvim unusable
cd7ac0eb29#19014433f3067a0 fix: use ctermbg/fg instead of bg/fg when use_rgb is false
30ae06c8fe#19009777d415da8 fix(highlight): let winhighlight use cursor
f70e0832b1#18981 fix(hl): return cterm fg/bg even if they match Normal
ee210b0f74 fix(hl): DRY set_hl_group() sg_attr set
512a8197c8 test(hl): Add Normal group set_hl/get_hl_by_name check
79ca64a1ef#18024) fix(hl): set Normal hl group sg_attr value (fixes
2ebc76b226#1900141709831ae fix(startup): nvim with --clean should not load user rplugins
ed9e6d19ab#18990 fix(treesitter): new iter if folded
05ce04e994#18984fe42dea674#18976 fix(lua): highlight.on_yank can close timer in twice
f15d6094fc#18824 fix(lua): stop pending highlight.on_yank timer, if any
5243cb8a4b#18975bf4df2a629 fix(ui): do not call showmode() when setting window height
3cea4d6de9#1894205f6883ee2 fix(buffer): disable buffer-updates before removing buffer from window
1dba6cf8f0#189180c9d666205 fix(input): fix macro recording with ALT and special key
fc4e4b38b2#18905bd3bb128c0 test(ts): skip test if C parser is not available
d317cb2322#188861496f4212b fix(input): allow Ctrl-C to interrupt a recursive mapping even if mapped
0dc5bcd072#186803a1e8ef881#18617 fix(autocmds): separate command from desc
cb1b4bbeae#18655 fix(lsp): only send diagnostics from current buffer in code_action()
01d0d2ce64#18517 build(deps): bump Luv to HEAD - c51e7052e
f3ffb73b18#18612 fix(health): return 0 if file not exists
496e786cad#185340377973769 fix(runtime/genvimvim): omit s[ubstitute] from vimCommand
35075dcc22#18469 fix(lsp): fix unnecessary buffers being added on empty diagnostics
9e040acfa3#18468 fix(lsp): unify progress message handling
e28799f2d8#18436 fix: display global statusline correctly with ext_messages
1e28068d0d#18415 fix: ensure has() does not change v:shell_error
203b088d75#18411 build(deps): bump LuaJIT to HEAD - 91bc6b8ad
e502e8106a#18400 fix(treesitter): bump match limit up
7567d2195a#18390d165289055 fix(lsp): add missing bufnr argument
f3587babfd#18367631393a712 fix(filetype.lua): escape expansion of ~ when used as a pattern
08cd391047#18360 fix(shared): avoid indexing unindexable values in vim.tbl_get()
508c8a597e#18362 fix(ftdetect): source plugins in autogroup
ffd46b7688#183512a6198319f fix(mac): use same $LANG fallback mechanism as Vim
8d4fbcb5b1#18324b80ef0de2f fix(tui): disable extended keys before exiting alternate screen
14a5b6b8d4#1831289260ea5d6 fix(input): only disable mapped CTRL-C interrupts when getting input
ef43e7d1f6#18298 fix: suppress "is a directory" messages with shortmess 'F'
aff05c5730#18256 fix: show autocmd output when F is in shortmess
fa7d8c333f#18229d916d2f876#18227 fix(lua): don't mutate opts parameter of vim.keymap.del
f7e2ad7915#18220 fix(treesitter): create new parser if language is not the same as cached parser
7f8faac39e#18205 fix(diagnostic): use nvim_exec_autocmds to trigger DiagnosticChanged
3ee089ebf4#181670f811afc96 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"/>
GPerf gets upset at our attempts to build a universal binary.
Conveniently, macOS provides GPerf, so we don't need to build it.
This is a workaround for the 0.7.1 branch which still depends on
gperf, to get the release CI working. In master we don't use gperf anymore.