Commit Graph

25934 Commits

Author SHA1 Message Date
James McCoy
0107243aaf
Merge pull request #26205 from jamessan/nlua_error-crash
fix(lua): crash in nlua_error
2023-11-25 07:07:44 -05:00
zeertzjq
6eecba3760
Merge pull request #26206 from neovim/backport-26201-to-release-0.9
[Backport release-0.9] fix(mouse): avoid dragging when clicking next to popupmenu
2023-11-25 07:21:04 +08:00
Luuk van Baal
a27e683ca5 fix(mouse): avoid dragging when clicking next to popupmenu
(cherry picked from commit bce65ee429)
2023-11-24 23:10:41 +00:00
James McCoy
98fbe3b09a
fix(lua): crash in nlua_error
Backport fix hidden in bd4ff0b88, by actually using the `msg` parameter,
rather than trying to print a potentially null `str`.
2023-11-24 16:43:41 -05:00
zeertzjq
07860aba75
Merge pull request #26188 from neovim/backport-26187-to-release-0.9
[Backport release-0.9] fix(mouse): avoid dragging after click label popupmenu callback
2023-11-24 09:27:28 +08:00
Luuk van Baal
2640ad0057 fix(mouse): avoid dragging after click label popupmenu callback
(cherry picked from commit c9be619f28)
2023-11-24 01:16:09 +00:00
zeertzjq
4065e2e3bd
Merge pull request #26186 from neovim/backport-26185-to-release-0.9
[Backport release-0.9] docs(starting.txt): correct step number
2023-11-24 07:29:39 +08:00
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