Commit Graph

25927 Commits

Author SHA1 Message Date
zeertzjq
900772f8eb docs(starting.txt): correct step number
(cherry picked from commit ba513b7438)
2023-11-23 23:19:25 +00:00
zeertzjq
ed6684ba99
Merge pull request #26178 from neovim/backport-26177-to-release-0.9
[Backport release-0.9] perf: remove redundant strlen in skipwhite
2023-11-24 05:43:28 +08:00
ii14
35ef7ac651 perf: remove redundant strlen in skipwhite
skipwhite was iterating over the input twice and scanning for the null
byte character with strlen. this is redundant, because it's already
covered by ascii_iswhite that accepts only space or tab character.

(cherry picked from commit b4743dfefa)
2023-11-23 21:26:50 +00:00
zeertzjq
c86be03216
Merge pull request #26161 from zeertzjq/backport
Backport to release-0.9
2023-11-23 16:52:54 +08:00
zeertzjq
3ed71c250c vim-patch:9.0.0598: using negative array index with negative width window
Problem:    Using negative array index with negative width window.
Solution:   Make sure the window width does not become negative.

8279af514c

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:58:19 +08:00
zeertzjq
cc8837db46 vim-patch:9.0.0492: cmdwin test fails on MS-Windows
Problem:    Cmdwin test fails on MS-Windows.
Solution:   Skip test on MS-Windows.

312af65d1a

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:58:14 +08:00
zeertzjq
d6f3b7bec7 vim-patch:9.0.0490: using freed memory with cmdwin and BufEnter autocmd
Problem:    Using freed memory with cmdwin and BufEnter autocmd.
Solution:   Make sure pointer to b_p_iminsert is still valid.

1c3dd8ddcb

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:58:09 +08:00
zeertzjq
c0855bfe8a vim-patch:9.0.0249: no test for what 9.0.0234 fixes
Problem:    No test for what 9.0.0234 fixes.
Solution:   Add a test. (issue vim/vim#10950)

3a7ad904d2

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:58:01 +08:00
zeertzjq
72b709fff9 vim-patch:9.0.0218: reading before the start of the line
Problem:    Reading before the start of the line.
Solution:   When displaying "$" check the column is not negative.

e98c88c44c

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:57:51 +08:00
zeertzjq
a9ea563b44 vim-patch:9.0.0064: confusing error when using "q:" in command line window
Problem:    Confusing error when using "q:" in command line window.
Solution:   Check for the situation and give a better error message.
            (closes vim/vim#10756)

c963ec31a0

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:57:39 +08:00
Justin M. Keyes
2a467acc86
fix(defaults): set 'fsync' #26039
backport #26034

Problem:
'nofsync' may lose data if the system has a hard shutdown. #9888

Solution:
Change default to 'fsync'. This may be revisited in the future when
'nofsync' can be made safer.

Co-authored-by: Ploum <1233155+ploum@users.noreply.github.com>
2023-11-14 03:34:59 -08:00
zeertzjq
7ce36b7997
Merge pull request #25982 from zeertzjq/backport
Backport to release-0.9
2023-11-11 15:47:10 +08:00
zeertzjq
954696dda8 fix(highlight): apply 'winblend' to float border 2023-11-11 15:21:30 +08:00
330-127
5f194e40a5 docs: list NVIM_APPNAME as env on manpage 2023-11-11 15:21:30 +08:00
voidiz
3b9a906c98 fix(quickfix): check if delete failed in qf_fill_buffer()
When the contents of a quickfix buffer are replaced, there is a chance
that deletion of the previous lines fails. This ensures that we don't
get stuck in an infinite loop of retrying.

Fix #25402
2023-11-11 15:21:30 +08:00
dundargoc
90890238ac ci: work around flaky python3 tests
Python3 provider tests suddenly became extremely flaky on macos for
unknown reasons. For some reason, installing python with the
setup-python action over using the default python fixes the flakiness.
Use this workaround for the time being to unblock CI while we figure out
the root cause.
2023-11-11 15:21:30 +08:00
zeertzjq
797a9efeff
Merge pull request #25923 from neovim/backport-25922-to-release-0.9
[Backport release-0.9] fix(man): make :Man with a range work
2023-11-07 10:51:00 +08:00
zeertzjq
3320c3a322 fix(man): make :Man with a range work
(cherry picked from commit e41309c3b6)
2023-11-07 02:39:45 +00:00
zeertzjq
fabc05b077
Merge pull request #25921 from neovim/backport-25911-to-release-0.9
[Backport release-0.9] fix(lua): correct return value for on_key with no arguments
2023-11-07 08:43:36 +08:00
altermo
1413f3a971 fix(lua): correct return value for on_key with no arguments
(cherry picked from commit 3edc8417f0)
2023-11-07 00:33:58 +00:00
zeertzjq
412225c02a
Merge pull request #25849 from neovim/backport-25848-to-release-0.9
[Backport release-0.9] fix(terminal): keep focus when scrolling number column of another window
2023-10-31 15:33:56 +08:00
zeertzjq
5b87e58c5a fix(terminal): keep focus when scrolling number column of another window
(cherry picked from commit ca0a603bce)
2023-10-31 07:23:40 +00:00
zeertzjq
6f64a93764
Merge pull request #25846 from neovim/backport-25845-to-release-0.9
[Backport release-0.9] fix(terminal): don't lose focus on <MouseMove>
2023-10-31 12:16:18 +08:00
zeertzjq
edbe109762 fix(terminal): don't lose focus on <MouseMove>
(cherry picked from commit e96b3133ef)
2023-10-31 04:06:24 +00:00
zeertzjq
88f0179834
Merge pull request #25821 from neovim/backport-25820-to-release-0.9
[Backport release-0.9] fix(terminal): avoid Insert mode in Terminal buffer
2023-10-29 09:44:15 +08:00
zeertzjq
faa0b1028a fix(terminal): avoid Insert mode in Terminal buffer
(cherry picked from commit 9a73cac99c)
2023-10-29 01:32:22 +00:00
zeertzjq
f9c85cd913
Merge pull request #25772 from zeertzjq/backport
Backport to release-0.9
2023-10-25 10:27:11 +08:00
zeertzjq
bd2a15121d fix(terminal): assign channel to terminal earlier 2023-10-25 10:02:16 +08:00
zeertzjq
6e68b2e6bc
Merge pull request #25766 from neovim/backport-25763-to-release-0.9
[Backport release-0.9] fix(marks): handle switching buffer properly
2023-10-24 16:23:13 +08:00
zeertzjq
45b0e6d589 fix(marks): handle switching buffer properly
(cherry picked from commit 1f00390016)
2023-10-24 08:10:55 +00:00
zeertzjq
26c2c3c865
Merge pull request #25731 from neovim/backport-25498-to-release-0.9
[Backport release-0.9] ci(cirrus): don't run lua/help_spec
2023-10-21 07:33:29 +08:00
zeertzjq
08a9834859 ci(cirrus): don't run lua/help_spec
(cherry picked from commit 7a0ab4f333)
2023-10-20 23:22:06 +00:00
zeertzjq
b205336758
Merge pull request #25699 from neovim/backport-25698-to-release-0.9
[Backport release-0.9] fix(move): check the correct buffer
2023-10-18 10:48:58 +08:00
zeertzjq
13f3bef685 fix(move): check the correct buffer
(cherry picked from commit 56ffab5522)
2023-10-18 02:35:16 +00:00
zeertzjq
6a98449790
Merge pull request #25695 from neovim/backport-25694-to-release-0.9
[Backport release-0.9] test(autocmd/termxx_spec): fix flakiness
2023-10-18 07:29:26 +08:00
zeertzjq
2fbd9f7cd4 test(autocmd/termxx_spec): fix flakiness
(cherry picked from commit e1020a63f7)
2023-10-17 23:19:52 +00:00
github-actions[bot]
87bfa82bdf
[Backport release-0.9] feat(highlight): Allow hyphens (-) in highlight group names (#25661)
feat(highlight): allow hyphens (-) in highlight group names

Fixes: https://github.com/neovim/neovim/issues/23184
(cherry picked from commit f37916b93b)

Co-authored-by: Gregory Anders <greg@gpanders.com>
2023-10-15 14:21:54 -05:00
Christian Clason
01f1ac36a9 fix(deps): bump libmpack from luarocks
fixup for the backport 4f6e4c5447
(which forgot that release-0.9 still uses luarocks)
2023-10-15 15:13:34 +02:00
zeertzjq
64340cf9d7
Merge pull request #25650 from neovim/backport-25649-to-release-0.9
[Backport release-0.9] test(terminal/channel_spec): fix flakiness
2023-10-15 07:35:28 +08:00
zeertzjq
f06daa91ed test(terminal/channel_spec): fix flakiness
(cherry picked from commit 89c0adb252)
2023-10-14 22:39:01 +00:00
Christian Clason
c5edfb16f9 fix(treesitter): foldexpr tweaks
(cherry-picked from 26cc946226)

Co-authored-by: rafikdraoui
2023-10-14 17:07:36 +02:00
zeertzjq
8afafb5b9c
Merge pull request #25632 from zeertzjq/backport
Backport to release-0.9
2023-10-14 15:50:49 +08:00
nwounkn
b90dd608a9 fix(ui): empty line before the next message after :silent command
Problem:
  The next command after `silent !{cmd}` or `silent lua print('str')`
  prints an empty line before printing a message, because these commands
  set `msg_didout = true` despite not printing any messages.

Solution:
  Set `msg_didout = true` only if `msg_silent == 0`
2023-10-14 15:02:46 +08:00
zeertzjq
1e71797db7
Merge pull request #25613 from neovim/backport-25612-to-release-0.9
[Backport release-0.9] fix(lsp): handle NUL bytes in popup text
2023-10-12 15:53:06 +08:00
zeertzjq
9ee75f4781 fix(lsp): handle NUL bytes in popup text
Fix #25610

(cherry picked from commit 762a9e138b)
2023-10-12 07:40:01 +00:00
bfredl
47354c59bd version bump 2023-10-09 22:39:10 +02:00
bfredl
d772f697a2 NVIM 0.9.4
This is a maintenance release, focusing on bugfixes.

BUG FIXES
- build: Fix exporting symbols on macOS Sonoma
- api: Handle NUL in nvim_err_write() and nvim_out_write()
- autocmd: Api functions accepting garbage after event name
- clang: Null pointer dereference in parse_msgpack
- clipboard: Don't pass --foreground to wl-copy
- exception: Remember whether message is multiline
- float: Update position of anchored windows first
- float: Fix some other crashes with :unhide or :all
- lua: Not using global value in vim.opt_global
- lua: Show error message when failing to set variable
- mouse: Click on 'statuscolumn' with 'rightleft'
- path: Accept special characters on Windows
- provider: Fix python3 provider cannot detect python3.12
- provider/pythonx: Import the correct module
- rpc: Fix race condition
- runtime: Add commentstring for D ftplugin
- statuscolumn: Update number hl for each screen line
- terminal: Check terminal size at end of screen update
- treesitter: Remove more double recursion
- ui: "resize -1" with cmdheight=0
- unhide: Close floating windows first
- unittests: Ignore __s128 and __u128 types in ffi
- tutor: Clarify the meaning of ✗ and ✓

BUILD SYSTEM!
- deps: Bump libmpack-lua to 1.0.11
- ci: fix mac release for Sonoma
2023-10-09 22:38:17 +02:00
dundargoc
cc398c5b06 ci: fix mac release
(cherry picked from commit b020a26d2d)
2023-10-09 22:30:52 +02:00
bfredl
51ac490c01 version bump 2023-10-09 22:04:42 +02:00
bfredl
3257fdac36 NVIM 0.9.3
This is a maintenance release, focusing on bugfixes.

BUG FIXES
- build: Fix exporting symbols on macOS Sonoma
- api: Handle NUL in nvim_err_write() and nvim_out_write()
- autocmd: Api functions accepting garbage after event name
- clang: Null pointer dereference in parse_msgpack
- clipboard: Don't pass --foreground to wl-copy
- exception: Remember whether message is multiline
- float: Update position of anchored windows first
- float: Fix some other crashes with :unhide or :all
- lua: Not using global value in vim.opt_global
- lua: Show error message when failing to set variable
- mouse: Click on 'statuscolumn' with 'rightleft'
- path: Accept special characters on Windows
- provider: Fix python3 provider cannot detect python3.12
- provider/pythonx: Import the correct module
- rpc: Fix race condition
- runtime: Add commentstring for D ftplugin
- statuscolumn: Update number hl for each screen line
- terminal: Check terminal size at end of screen update
- treesitter: Remove more double recursion
- ui: "resize -1" with cmdheight=0
- unhide: Close floating windows first
- unittests: Ignore __s128 and __u128 types in ffi
- tutor: Clarify the meaning of ✗ and ✓

BUILD SYSTEM!
- deps: Bump libmpack-lua to 1.0.11
2023-10-09 21:59:13 +02:00