Justin M. Keyes
2cfc1b055b
Merge #7939 "fix crash: 'spell' and long lines"
2018-02-11 13:04:39 +01:00
Justin M. Keyes
ed0d135247
Merge #7939 "fix crash: 'spell' and long lines"
...
closes #7937
2018-02-11 13:03:24 +01:00
Björn Linse
564ad60c06
Merge pull request #7982 from bfredl/hlrefactor
...
Refactor HlAttrs so that termguicolors is implemented purely on TUI side
2018-02-11 13:01:31 +01:00
Marvim the Paranoid Android
dd068928c1
version.c: update [ci skip] ( #7953 )
2018-02-11 12:27:47 +01:00
Björn Linse
5d8da126d0
ui/tui: highlighting refactor
...
Make HlAttr contain highlighting state for both color modes (cterm and rgb).
This allows us to implement termguicolors completely in the TUI.
Simplify some logic duplicated between ui.c and screen.c. Also avoid
some superfluous highlighting reset events.
2018-02-11 10:29:32 +01:00
Justin M. Keyes
c205360f00
Merge pull request #7993 from blueyed/vim-8.0.1483
...
vim-patch:8.0.1483: searchpair() might return an invalid value on timeout
2018-02-10 23:18:04 +01:00
Daniel Hahler
d929a41f5f
vim-patch:8.0.1483: searchpair() might return an invalid value on timeout
...
Problem: Searchpair() might return an invalid value on timeout.
Solution: When the second search times out, do not accept a match from the
first search. (Daniel Hahler, closes vim/vim#2552 )
9d32276b52
2018-02-10 22:49:42 +01:00
Björn Linse
34b99bc06b
Merge pull request #7979 from bfredl/shellbell
...
Shell: support bell and buffer incomplete UTF-8 sequences
2018-02-10 22:30:49 +01:00
Jan Edmund Lazo
c03a847884
win: enable backtick_expansion and shell output tests
2018-02-10 22:28:12 +01:00
Björn Linse
f75c4b39ec
shell: handle split-up UTF-8 sequences
2018-02-10 22:28:12 +01:00
Björn Linse
01cdeff626
tests: integrate ex_cmds/bang_filter_spec into ui/output_spec
...
they test the same thing. Filtering is tested elsewhere.
2018-02-10 22:28:12 +01:00
Björn Linse
60ce7d9e0a
shell: support bell
2018-02-10 22:28:12 +01:00
Justin M. Keyes
a6052c7307
Merge #7984 'defaults: sidescroll=1'
2018-02-09 11:46:13 +01:00
Justin M. Keyes
7229493eb1
test/oldtest: move Nvim setup to testdir/setup.vim
2018-02-09 02:25:03 +01:00
Justin M. Keyes
a265334406
defaults: sidescroll=1
...
ref #6289
2018-02-09 02:15:25 +01:00
Marco Hinz
dc53629587
macOS: Use pbpaste
to detect a working clipboard ( #7983 )
...
`pbcopy` writes to the clipboard, it should not be used to sanity-check the clipboard.
2018-02-08 00:27:54 +01:00
Michael Brailsford
a6136e8b0b
screen.c: resolve neovim issue #7937
2018-02-07 13:46:37 -06:00
James McCoy
f66ebcd0a2
Merge pull request #7977 from jamessan/remove-coveralls
...
Switch to codecov and track coverage per test suite
2018-02-07 09:47:10 -05:00
James McCoy
d071578ed0
codecov: Report coverage even if some CI failed
2018-02-07 07:51:22 -05:00
Justin M. Keyes
366528130e
Merge #6713 'tests for :! output'
2018-02-07 09:57:23 +01:00
Justin M. Keyes
35a7892781
lint, minor cleanup
2018-02-07 09:25:51 +01:00
Justin M. Keyes
ed37136c5c
UI: restore 'writedelay' feature.
...
Removed by e0e41b30c6
, probably
unintentionally. Useful for ye olde redraw debugging.
TODO: Also delay redraw of statusline.
2018-02-07 09:25:51 +01:00
Justin M. Keyes
352a51e831
test: :! print binary data, control chars
...
closes #5442
closes #4142
ref #6618
ref #4376
ref #7844
ref #2958
ref #4338
2018-02-07 09:25:51 +01:00
James McCoy
9fdd5d7f03
codecov: Submit test suite specific coverage
2018-02-06 23:23:59 -05:00
James McCoy
6e2bb564e1
ci: Remove coveralls coverage reporting
2018-02-06 21:18:54 -05:00
Justin M. Keyes
538361955d
exit: annotate FUNC_ATTR_NORETURN functions #7954 ( #7954 )
...
This should fix a particular false positive from clang 5.0.0 scan-build,
which thinks that nlua_init() can continue after preserve_exit().
2018-02-07 02:32:50 +01:00
Justin M. Keyes
b1412dc412
Merge #7971 ':terminal Enter/Leave should not increment jumplist'
2018-02-07 01:52:10 +01:00
Justin M. Keyes
d73dd1588c
:terminal Enter/Leave should not increment jumplist
...
The old behavior is probably not justified, for the usual reason:
terminal buffers may have interactive processes, so cursor placement is
arbitrary, therefore tracking it in the jumplist is useless (or worse).
N.B.: per the docstring for `checkpcmark()` it looks like we were
calling `checkpcmark()` and `setpcmark()` in the wrong order.
closes #3723
2018-02-07 00:01:58 +01:00
Björn Linse
2a4c9c6e45
Merge pull request #7844 from bfredl/shellout
...
shell: use msg functions for :!cmd so UTF-8 and binary is supported.
2018-02-06 22:58:38 +01:00
Björn Linse
6744f48d88
tests: cleanup bufhl test
2018-02-06 20:16:38 +01:00
Björn Linse
4e7d85e635
shell: update execute('!cmd')
test to new behavior
...
And similarly nvim_command_output test
2018-02-06 20:16:38 +01:00
Björn Linse
9af14506e5
shell: add test for binary and multibyte output
...
Also update existing tests for new (vim-compatible) newline behavior
2018-02-06 10:23:26 +01:00
Björn Linse
2d99b81ab5
shell: use msg_outtrans_len_attr for :!cmd
...
fixes #7830 and #7788
2018-02-05 22:57:43 +01:00
James McCoy
0851057a8d
Merge pull request #7957 from jamessan/lua-functionaltest
...
[RFC] Ensure build works without LuaJIT available
2018-02-04 07:54:30 -05:00
James McCoy
de10ea55f3
lint
2018-02-03 22:19:08 -05:00
ZyX
2316a38dd1
tests: Make format_string('%q', ...) output more stable
...
It appears to be different on lua and luajit.
2018-02-02 07:28:56 -05:00
ZyX
a2dfeb8a16
functests: Improve error reporting in _check_parsing function
...
May be needed for unit tests as well though.
2018-02-02 07:28:56 -05:00
James McCoy
e243dbdc32
test: man_spec: Fix use of nested [[ quoting
...
Lua (not LuaJIT) complains about the "^[[" strings inside the expect,
since it sees them as nested quotes. Change the quoting to [=[ ]=] to
avoid the issue.
2018-02-02 07:28:56 -05:00
James McCoy
5da6f0e903
travis: Don't run unit tests for functionaltest-lua build
2018-02-02 07:28:56 -05:00
James McCoy
86ee92f2a2
cmake: Set TEST_LIBNVIM_PATH to empty string when not unit testing
2018-02-02 07:28:56 -05:00
James McCoy
e34f2897d5
third-party: Install luabitop if using Lua
2018-02-02 07:28:56 -05:00
James McCoy
71190f1f34
third-party: lua: Set LUA_ROOT to ${DEPS_INSTALL_DIR}
2018-02-02 07:28:55 -05:00
James McCoy
204ec6337e
third-party: luarocks: Use Lua if LuaJIT is disabled
2018-02-02 07:28:55 -05:00
James McCoy
4487657576
travis: Disable LuaJIT for functionaltest-lua build
...
Since we're already using Lua for the testing this allows us to ensure
our build still works properly without LuaJIT available.
2018-02-02 07:28:49 -05:00
손량
e2afcfb020
build: BuildLuarocks.cmake: fix luacheck rockspec ( #7961 )
...
luacheck renamed the filename from luacheck-scm-1.rockspec to luacheck-dev-1.rockspec.
2018-02-02 11:21:58 +01:00
Justin M. Keyes
709a87d194
Merge #7463 'incsearch + hlsearch highlight all'
2018-02-01 23:25:55 +01:00
Marco Hinz
6710164c2c
provider: make has('ruby') only return 1 if gem is installed ( #7944 )
2018-02-01 13:14:29 +01:00
Justin M. Keyes
f8010ea3ec
test: robust cleanup, unique filenames #7950 ( #7950 )
...
Use unique filenames to avoid test conflicts.
Use read_file() instead of io.popen(), to ensures the file is closed.
Use helpers.rmdir(), it is far more robust than lfs.
closes #7911
2018-02-01 03:12:37 +01:00
Justin M. Keyes
648fed975e
os_system(): do not set up input stream for empty string #7951
...
Test failure:
test/functional/eval/system_spec.lua: "works with an empty string"
E5677: Error writing input to shell-command: EPIPE
ref https://github.com/neovim/neovim/pull/6558#issuecomment-361061035
ref #6554
2018-02-01 02:28:54 +01:00
Marvim the Paranoid Android
ec7cbabf01
version.c: update [ci skip] ( #7886 )
...
vim-patch:8.0.0175: setting language on MS-Windows does not always work
vim-patch:8.0.0185: system() test fails on MS-Windows
vim-patch:8.0.1435: memory leak in test_arabic
vim-patch:8.0.0424: compiler warnings on MS-Windows
vim-patch:8.0.0434: clang version not correctly detected
vim-patch:8.0.0458: potential crash if adding list or dict to dict fails
2018-02-01 02:24:45 +01:00