Commit Graph

16845 Commits

Author SHA1 Message Date
James McCoy
ef3230f35b
Merge pull request #13464 from jamessan/release-fixes
GHA: Delete nightly tag before creating new release
2020-12-05 20:44:07 -05:00
James McCoy
44ba5c4168
GHA: Delete nightly tag before creating new release 2020-12-05 20:14:51 -05:00
Björn Linse
d76c10ef1d
Merge pull request #13455 from bfredl/deprecated
api: move deprecated functions to separate files
2020-12-05 23:31:18 +01:00
Björn Linse
463cf74182
Merge pull request #13454 from tk-shirasaka/fix/send-win_hide
ui: Fix win_hide distination grid
2020-12-05 21:22:19 +01:00
James McCoy
31787a91dc
Merge pull request #13458 from jamessan/release-fixes 2020-12-05 13:08:48 -05:00
James McCoy
18360290d0
GHA: Generate correct appimage for release/nightly 2020-12-05 13:04:33 -05:00
James McCoy
dfc4111e42
GHA: Do not run CI for tags 2020-12-05 13:04:25 -05:00
James McCoy
e11f3fb726
GHA: Rename "Nightly release" to "Release" 2020-12-05 13:04:02 -05:00
James McCoy
f7fd7ba745
GHA: Automatically create a release for versioned tags 2020-12-05 13:03:57 -05:00
James McCoy
7ab458f929
GHA: Add support for manually creating a release 2020-12-05 13:01:57 -05:00
James McCoy
1b53544111
GHA: Use meeDamian/github-release to create/update release 2020-12-05 13:01:38 -05:00
Shirasaka
de0ecf3e03 Fixed lint error 2020-12-06 02:25:38 +09:00
Jan Edmund Lazo
38f4e6541f
vim-patch:8.2.2091: MS-Windows: build warnings (#13451)
Problem:    MS-Windows: build warnings.
Solution:   Add a #pragma to suppress the deprecation warning. (Ken Takata)
            Avoid using a non-ASCII character. (closes vim/vim#7421)
29d2f45c88

N/A patches for version.c:

vim-patch:8.1.1883: options test fails

Problem:    Options test fails.
Solution:   Add entry for 'completepopup'.
9513d91be0

vim-patch:8.2.2089: libvterm test fails to build on Mac

Problem:    Libvterm test fails to build on Mac.
Solution:   Adjust configure to remove a space between -L and the path that
            follows.
6cd42db9dc
2020-12-05 11:04:48 -05:00
Shirasaka
bb6229449d Moved temporary variable to where it's used 2020-12-05 23:48:59 +09:00
Björn Linse
b1ef6de620 api: move deprecated functions to separate files
Most these are just calls to non-deprecated variants, and take up
unnecessary space and search hits in the other files.
2020-12-05 14:34:17 +01:00
shirasaka
9601e7c5d5 ui: Fix win_hide distination grid
When create tab, win_hide sent to new tab and new tab's previous tab.
So, if created tab that not next tab (eg. $tabnew cmd),
send win_hide to not current tab, and fixed this.
2020-12-05 20:18:51 +09:00
James McCoy
c348e816fc
Merge pull request #13452 from jamessan/appimage 2020-12-04 21:11:56 -05:00
James McCoy
8997c8b563
GHA: Build appimage for nightly 2020-12-04 21:07:06 -05:00
James McCoy
fd53e5ee2c
GHA: Stop installing test dependencies for nightly build 2020-12-04 20:50:54 -05:00
James McCoy
b940cbb858
Merge pull request #13417 from shade-of-noon/man_count.13411
runtime: Fix man.vim count handling.
2020-12-04 18:36:54 -05:00
James McCoy
0c8d6ab536
Merge pull request #13445 from jamessan/build-artifacts
GHA: Publish nightly builds for Linux and macOS
2020-12-04 11:44:45 -05:00
James McCoy
16157258be
GHA: Publish nightly builds for Linux and macOS 2020-12-04 11:25:14 -05:00
Björn Linse
6c344a75d4
Merge pull request #13173 from tjdevries/tjdevries/option_info
api: add option metadata
2020-12-04 13:45:32 +01:00
Björn Linse
17a58043a3 api/options: cleanup the fixup 2020-12-04 13:29:44 +01:00
TJ DeVries
ced951c2aa api/options: fixup 2020-12-04 13:29:44 +01:00
Björn Linse
3b3c006ae3 api/options: cleanup 2020-12-04 13:29:44 +01:00
TJ DeVries
35767912bb api/options: add option metadata 2020-12-04 13:29:27 +01:00
Jan Edmund Lazo
44be2dfca1
Merge pull request #13434 from janlazo/vim-8.2.2076
vim-patch:8.1.{1013,1774},8.2.{1164,1673,1907,2076,2077,2078,2085,2086}
2020-12-03 21:31:29 -05:00
Jan Edmund Lazo
2bcae20242
vim-patch:8.2.2085: Qt translation file is recognized as typescript
Problem:    Qt translation file is recognized as typescript.
Solution:   Check the first line for "<?xml". (closes vim/vim#7418)
c0d670ce16
2020-12-03 18:58:30 -05:00
Jan Edmund Lazo
f85386d170
vim-patch:8.2.1907: complete_info().selected may be wrong
Problem:    Complete_info().selected may be wrong.
Solution:   Update cp_number if it was never set. (issue vim/vim#6945)
f9d51354de

Misc changes:

For variables and function parameters that use "Direction" enum values,
update their type from from "int" to "Direction".
It is hard to review function parameters that must accept
"Direction" enum values only.
2020-12-03 18:58:29 -05:00
Jan Edmund Lazo
6bc1844b11
vim-patch:8.2.1673: complete_info() selected index has an invalid value
Problem:    complete_info() selected index has an invalid value. (Ben Jackson)
Solution:   Set the index when there is only one match. (closes vim/vim#6945)
            Add test for complete_info().
b806aa5bd9
2020-12-03 18:58:29 -05:00
Jan Edmund Lazo
c6b780bdd1
vim-patch:8.2.2078: illegal memory access when using :print on invalid text
Problem:    Illegal memory access when using :print on invalid text. (Dhiraj
            Mishra)
Solution:   Check for more composing characters than supported. (closes vim/vim#7399)
1cbfc9914d

N/A patches for version.c:

vim-patch:8.1.1013: MS-Windows: Scrolling fails when dividing the screen

Problem:    MS-Windows: Scrolling fails when dividing the screen.
Solution:   Position the cursor before calling ScrollConsoleScreenBuffer().
            (Nobuhiro Takasaki, closes vim/vim#4115)
3b5fef6a99

vim-patch:8.1.1774: test is silently skipped

Problem:    Test is silently skipped.
Solution:   Throw "Skipped".
3c610c9638

vim-patch:8.2.1164: text cleared by checking terminal properties not redrawn

Problem:    Text cleared by checking terminal properties not redrawn. (Alexey
            Radkov)
Solution:   Mark the screen characters as invalid. (closes vim/vim#6422)
96916ac67a

vim-patch:8.2.2076: MS-Windows console: sometimes drops typed characters

Problem:    MS-Windows console: sometimes drops typed characters.
Solution:   Do not wait longer than 10 msec for input. (issue vim/vim#7164)
c478ee3d83

vim-patch:8.2.2077: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef.
a452b808b4

vim-patch:8.2.2086: libvterm tests are only run on Linux

Problem:    Libvterm tests are only run on Linux.
Solution:   Use static libraries. (Ozaki Kiichi, closes vim/vim#7419)
476268c387
2020-12-03 18:58:23 -05:00
Mathias Fußenegger
f5e0f17968
lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} (#13310)
Allows users to associate the diagnostics with the right bufnr.
2020-12-03 14:22:15 -05:00
runiq
5c7141cc71
lsp: Make open_floating_preview buffers ephemeral (#13437)
Fixes #13429.
2020-12-03 14:20:56 -05:00
eightpigs
fa73bb70fc
lsp: Fix "unsupported_method" error when the buffer does not have an LSP Server (#13175) 2020-12-03 01:00:54 -05:00
Sean Dewar
8fb786e415
vim-patch:8.2.0602: :unlet $VAR does not work properly (#13238)
Problem:    :unlet $VAR does not work properly.
Solution:   Make ":lockvar $VAR" fail.  Check the "skip" flag.
7e0868efcf

Include patch 8.2.0601 changes so that ex_unletlock() can execute a callback if there are no errors.
2020-12-02 08:44:13 -05:00
Jan Edmund Lazo
d80f262f89
Merge pull request #13428 from janlazo/nvim-8.0.1525
vim-patch:8.0.{858,953,1525}
2020-12-01 19:02:38 -05:00
Björn Linse
72c22862dc
Merge pull request #12235 from dm1try/add_init_lua
add init.lua as an alternative user config
2020-12-01 18:54:50 +01:00
Björn Linse
f88c2490c7
Merge pull request #13425 from bfredl/secretcharm
ex_getln: add secret charm
2020-12-01 17:32:48 +01:00
Jan Edmund Lazo
518fe0e8a2
test/wildmode_spec: override $PS1
User config may set $PS1 for a colored prompt.
It breaks the screen tests.
2020-12-01 08:52:34 -05:00
Jan Edmund Lazo
4b74996dbc
test/timer_spec: increase base timeout
The following keeps happening in my local environment
because the timeout is too short.

[  FAILED  ] test/functional/eval/timer_spec.lua @ 208: timers do not crash when processing events in the handler
test/functional/eval/timer_spec.lua:219: retry() attempts: 1
test/helpers.lua:73: Expected objects to be the same.
Passed in:
(number) 0
Expected:
(number) 1
2020-12-01 08:52:34 -05:00
Jan Edmund Lazo
56f5e3bd6b
vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal window
Problem:    Using :wqa exits even if a job runs in a terminal window. (Jason
            Felice)
Solution:   Check if a terminal has a running job. (closes vim/vim#2654)
7a76092a51
2020-12-01 08:52:33 -05:00
Björn Linse
eb387ae530 executor: use new nlua_ name pattern 2020-12-01 10:51:31 +01:00
dm1try
c65d3fd67b doc: mention init.lua
use a generic name instead of "init.vim" in starting.txt
2020-12-01 10:51:31 +01:00
dm1try
33f324796c startup: allow lua files as session one 2020-12-01 10:51:31 +01:00
dm1try
767cd8b17b startup: add init.lua as an alternative user config, fixes #7895 2020-12-01 10:51:25 +01:00
dm1try
13b8857300 path: add helper for checking a file extension 2020-12-01 10:50:38 +01:00
Björn Linse
70d0bee765
Merge pull request #13426 from yegappan/vimdiff
Update vim_diff.txt
2020-12-01 10:41:33 +01:00
Jan Edmund Lazo
11249ad021
vim-patch:8.0.0953: get "no write since last change" error in terminal window
Problem:    Get "no write since last change" error in terminal window.
Solution:   Use another message when closing a terminal window. Make ":quit!"
            also end the job.
f5be7cd016
2020-12-01 01:13:49 -05:00
Jan Edmund Lazo
24ab81bd46
fixup! vim-patch:8.0.0858: check if job terminal is running #10908 2020-12-01 00:16:23 -05:00