Daniel Hahler
9485061baa
vim-patch:8.0.1039: cannot change a line in not current buffer
...
Problem: Cannot change a line in a buffer other than the current one.
Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes vim/vim#1953 )
b31cf2bb0b
2019-06-17 23:43:26 +02:00
Justin M. Keyes
4946751906
Merge #10224 from blueyed/fix-Test_tagfiles
...
tests: fix Test_tagfiles: use Vim's 'tags' setting
2019-06-17 12:08:56 -07:00
Daniel Hahler
5edced0a86
Merge pull request #10186 from blueyed/fix-cd
...
ci: minor improvements
2019-06-17 20:55:02 +02:00
Daniel Hahler
bd3242a70f
ci: Travis: skip lint job with "\[skip.lint\]"
2019-06-17 02:00:58 +02:00
Daniel Hahler
185fc775b9
ci: Travis: ccache: use --zero-stats
...
This makes it display actual results in before_cache then, and it seems
like it is not necessary to keep stats across builds.
2019-06-17 02:00:58 +02:00
Daniel Hahler
755e94801f
ci: AppVeyor: use fast_finish=true
2019-06-17 02:00:58 +02:00
Daniel Hahler
3dab5f625f
ci/build.ps1: add comment for PATH mangling with old tests
2019-06-17 02:00:58 +02:00
Daniel Hahler
b98b1168d8
ci: Travis: remove obsolete cmake file
...
Added in f65614fb1 , forgot to be removed in 55682710a .
2019-06-17 02:00:58 +02:00
Daniel Hahler
04d03b0cbc
ci/common/test.sh: fix some issues reported by shellcheck
2019-06-17 02:00:58 +02:00
Daniel Hahler
c6602df015
vim-patch:8.1.1546: in some tests 'tags' is set but not restored
...
Problem: In some tests 'tags' is set but not restored. (Daniel Hahler)
Solution: Restore 'tags'. (closes vim/vim#4535 )
0331faf712
2019-06-16 19:51:12 +02:00
Daniel Hahler
3d8e8cb889
tests: fix Test_tagfiles: use Vim's 'tags' setting
...
Otherwise it might fail with an existing `tags` file upwards, e.g. in
neovim's source directory (which should be rather common).
2019-06-16 19:51:12 +02:00
Daniel Hahler
d32b92e265
vim-patch:8.0.1845: various comment updates needed, missing white space ( #10203 )
...
Problem: Various comment updates needed, missing white space.
Solution: Update comments, add white space.
259f26ac2d
Ignored (partly) applied patch for src/nvim/po/it.po.
2019-06-16 19:49:23 +02:00
Daniel Hahler
491a3210a9
vim-patch:8.1.1003: playing back recorded key sequence mistakes key code ( #10155 )
...
Problem: Playing back recorded key sequence mistakes key code.
Solution: Insert a <Nop> after the <Esc>. (closes vim/vim#4068 )
6edbbd8114
2019-06-16 19:48:46 +02:00
Daniel Hahler
d792d4ec06
Merge pull request #10236 from janlazo/vim-8.1.1545
...
vim-patch:8.0.{1516,1549},8.1.{0044,1545}
2019-06-16 17:52:38 +02:00
Björn Linse
3d6e48a941
Merge pull request #10150 from bfredl/extcount
...
make msg_advance and search_count not crash with ext_messages, fixes #10069
2019-06-16 12:34:27 +02:00
Björn Linse
e39d217592
messages: fix crash with msg_advance when using ext_messages
2019-06-16 11:31:35 +02:00
Björn Linse
41f31ca90d
messages: support shortmess-=S in ext_messages
2019-06-16 11:07:29 +02:00
Jan Edmund Lazo
cb01925eb4
vim-patch:8.0.1549: various small problems in test files
...
Problem: Various small problems in test files.
Solution: Include small changes.
5d7ead3bc8
2019-06-15 22:24:59 -04:00
Jan Edmund Lazo
b837c56576
vim-patch:8.0.1516: errors for job options are not very specific
...
Problem: Errors for job options are not very specific.
Solution: Add more specific error messages.
b3292fa2d3
2019-06-15 22:14:29 -04:00
Jan Edmund Lazo
c6c5754a86
vim-patch:8.1.0044: if a test function exists Vim this may go unnoticed
...
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
8903676d3d
Restore test_assert.vim to run Test_zz_quit_detected().
2019-06-15 21:48:27 -04:00
Jan Edmund Lazo
1abfeff978
vim-patch:8.1.1545: when the screen is to small there is no message about that
...
Problem: When the screen is to small there is no message about that.
(Daniel Hahler)
Solution: Do not use :cquit. (closes vim/vim#4534 )
45aa07d3c1
2019-06-15 21:48:27 -04:00
Daniel Hahler
5a96161e86
ci: AppVeyor: ensure that win32 feature is set ( #10216 )
...
[skip travis]
Closes https://github.com/neovim/neovim/pull/10232 .
Co-authored-by: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca >
2019-06-16 02:33:47 +02:00
Jan Edmund Lazo
b60c986a49
vim-patch:8.0.1245: when WaitFor() has a wrong expression it just waits a second ( #10233 )
...
Problem: When WaitFor() has a wrong expression it just waits a second,
which goes unnoticed. (James McCoy)
Solution: When WaitFor() times out throw an exception. Fix places where the
expression was wrong.
3e1c617d49
2019-06-15 18:56:55 +02:00
Daniel Hahler
5d5e16c2ed
ci: Travis: add baseline stage [skip appveyor] ( #10226 )
...
This moves the 4 fastest jobs there, effectively resulting in a separate
OSX stage then.
Travis typically runs 4/5 jobs in parallel, so this avoids a) running the
slower OSX builds if there are problems already, and b) will start other
builds already earlier (e.g. after the lint job finished).
2019-06-15 18:46:51 +02:00
Daniel Hahler
26a9d2cef1
ci: codecov: do not use flags [ci skip] ( #10227 )
...
Using flags results in timeouts on their end when viewing reports, and
is a known issue since months already.
2019-06-15 18:34:00 +02:00
Daniel Hahler
d3d25f957d
Dump gcov coverage in process_spawn ( #10230 )
...
Fixes https://github.com/neovim/neovim/pull/3926#issuecomment-502343527 .
2019-06-15 18:30:04 +02:00
Björn Linse
2f1a653a84
Merge pull request #10231 from bfredl/bufcb_end
...
api/lua: add on_detach to nvim_buf_attach
2019-06-15 15:59:45 +02:00
Björn Linse
64cdf9f78a
api/lua: add on_detach to nvim_buf_attach
2019-06-15 13:19:12 +02:00
Daniel Hahler
93f8c2793c
ci: AppVeyor: fix cov job, remove duplicate non-cov one ( #10217 )
...
* ci: AppVeyor: set GCOV_ERROR_FILE
This prevents the warnings/errors to be spilled into test results,
causing them to fail them, e.g.:
[ FAILED ] C:/projects/neovim/test/functional\core\main_spec.lua @ 97: Command-line option -s errors out when trying to use nonexistent file with -s
C:/projects/neovim/test/functional\core\main_spec.lua:98: Expected objects to be the same.
Passed in:
(string) 'Cannot open for reading: "Xtest-functional-core-main-s.nonexistent": no such file or directory
profiling:C:\projects\neovim\build/src/nvim/CMakeFiles/nvim.dir/buffer.c.gcda:Data file mismatch - some data files may have been concurrently updated without locking support
'
Expected:
(string) 'Cannot open for reading: "Xtest-functional-core-main-s.nonexistent": no such file or directory
'
stack traceback:
C:/projects/neovim/test/functional\core\main_spec.lua:98: in function <C:/projects/neovim/test/functional\core\main_spec.lua:97>
For reference, the locking appears to have been reworked for gcc 9.1 [1].
1: https://github.com/gcc-mirror/gcc/commit/56621355b
helpers.clear: keep GCOV_ERROR_FILE in environment
* ci: AppVeyor: remove MINGW_64 config (used with cov now)
Also:
- run MINGW_64-gcov first, and with PRs, since it provides coverage.
2019-06-14 13:39:57 +02:00
Justin M. Keyes
fdbb5a8f72
Merge #10208 from janlazo/vim-8.0.0931
...
vim-patch:8.0.{931,933,953}
2019-06-14 04:38:41 -07:00
Jan Edmund Lazo
18b031ea1d
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
2019-06-13 22:40:12 -04:00
Jan Edmund Lazo
6efa3bff09
test/old: pass Test_statusline on Windows
2019-06-13 19:39:55 -04:00
Jan Edmund Lazo
47a5456670
vim-patch:8.0.0933: terminal test tries to start GUI when it's not possible
...
Problem: Terminal test tries to start GUI when it's not possible.
Solution: Check if the GUI can run. (James McCoy, closes vim/vim#1971 )
9f0139a2a8
2019-06-13 19:39:55 -04:00
Jan Edmund Lazo
e6a1bea1eb
vim-patch:8.0.0931: getwininfo() does not indicate a terminal window
...
Problem: getwininfo() does not indicate a terminal window.
Solution: Add "terminal" to the dictionary.
69905d108b
2019-06-13 19:39:55 -04:00
Björn Linse
a0496e3b76
Merge pull request #10221 from bfredl/showcmd_cursor
...
screen: showcmd should never move the cursor
2019-06-13 22:30:50 +02:00
Daniel Hahler
dd21cd2a4d
tests: increase timeout with "timers doesn't mess up the cmdline" ( #10212 )
...
This might be required on (slower) CI.
[ RUN ] timers doesn't mess up the cmdline: ERR
test/functional/ui/screen.lua:562: expected intermediate screen state before final screen state
stack traceback:
test/functional/ui/screen.lua:562: in function '_wait'
test/functional/ui/screen.lua:366: in function 'expect'
.../build/neovim/neovim/test/functional/eval/timer_spec.lua:221: in function <.../build/neovim/neovim/test/functional/eval/timer_spec.lua:199>
Ref: https://travis-ci.org/neovim/neovim/jobs/544974506#L3861
2019-06-13 22:11:33 +02:00
Björn Linse
21cf4b0ce6
screen: showcmd should never move the cursor
...
Also restore the symmetry between grid_puts_line_start and
grid_puts_line_flush.
2019-06-13 20:22:37 +02:00
Daniel Hahler
cc4d463cad
Merge pull request #10202 from blueyed/vim-8.0.1704
...
vim-patch:8.0.1704: 'backupskip' default doesn't work for Mac
Also aligns tests from two previous patched to the ones in upstream.
2019-06-13 14:20:51 +02:00
Harm te Hennepe
424ddd01f5
tui: support rgba background detection ( #10205 )
...
Fixes https://github.com/neovim/neovim/issues/10159 .
2019-06-13 14:14:41 +02:00
Daniel Hahler
66613ace48
vim-patch:8.0.1704: 'backupskip' default doesn't work for Mac
...
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes vim/vim#2793 )
b8e22a053b
2019-06-13 00:28:16 +02:00
Daniel Hahler
5db3be092a
tests: align tests in test_options to Vim (moved)
2019-06-12 23:08:27 +02:00
Daniel Hahler
6f27f5ef91
main: do event_init before early_init #10183
...
Fixes https://github.com/neovim/neovim/issues/10172
* move log_init to event_init
* move init_signs to end of early_init
2019-06-12 14:22:42 +02:00
Justin M. Keyes
babcf641ef
Merge #10192 from janlazo/vim-8.0.1689
...
vim-patch:8.0.1689,8.1.0213
2019-06-12 08:21:31 +02:00
Jan Edmund Lazo
22d58ab664
vim-patch:8.1.0213: CTRL-W CR does not work properly in a quickfix window
...
Problem: CTRL-W CR does not work properly in a quickfix window.
Solution: Split the window if needed. (Jason Franklin)
0a08c63da1
2019-06-12 00:22:16 -04:00
Jan Edmund Lazo
005316ae41
vim-patch:8.0.1689: no tests for xxd
...
Problem: No tests for xxd.
Solution: Add a test. (Christian Brabandt)
29f9ed20b4
2019-06-11 22:31:21 -04:00
Justin M. Keyes
f8d0e41b28
Merge #10163 from blueyed/vim-8.1.1292
...
vim-patch:8.1.1292: invalid command line arguments not tested
2019-06-11 14:01:09 +02:00
Daniel Hahler
432f69fc09
vim-patch:8.1.1211: test user command code #10162
...
Problem: Not all user command code is tested.
Solution: Add more tests.
e61e548dd6
2019-06-11 13:56:15 +02:00
Daniel Hahler
304861e0ee
adjust tests for nvim
2019-06-11 12:52:17 +02:00
Daniel Hahler
76506ca0a3
vim-patch:8.1.1292: invalid command line arguments not tested
...
Problem: Invalid command line arguments not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4346 )
ba9ea91beb
2019-06-10 18:10:15 +02:00
Daniel Hahler
6fe430f582
local.mk.example: add example for -Werror [ci skip] #10178
2019-06-10 17:20:41 +02:00