James McCoy
91749c06dc
Merge pull request #6927 from jamessan/vim-7.4.2259
...
vim-patch:7.4.2259,7.4.2268,7.4.2318,7.4.2320
2017-06-27 03:19:01 +00:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
0dd6455659
vim-patch:7.4.2268
...
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
Solution: Use CTRL-T and CTRL-G instead.
1195669f9e
2017-06-26 22:08:11 -04:00
James McCoy
518b42db91
functests/legacy: Add lua version of test_search.vim
2017-06-26 22:07:28 -04:00
Justin M. Keyes
f34befe74c
Merge #6789 from ZyX-I/lua-path
...
lua: Add paths from &runtimepath to package.path and package.cpath
2017-06-27 02:29:15 +02:00
ZyX
476c28f433
functests: Fix screen.lua supplying dedent additional argument
2017-06-21 10:58:47 +03:00
ZyX
ae457ff64a
functests: Check that minimal distance between commands works
2017-06-21 10:58:47 +03:00
ZyX
607dc3e0f9
functests: Add tests
2017-06-21 10:58:47 +03:00
ZyX
d5839770ee
functests: Refactor redir_exec
2017-06-20 18:17:47 +03:00
ZyX
e57d4eef88
functests: Move function_spec to eval
2017-06-20 18:17:47 +03:00
Björn Linse
16ae369474
screen.c: make more highlights window specific
2017-06-14 20:31:14 +02:00
HiPhish
9f534f338a
mksession: Restore tab-local working directory #6859
...
The ':tcd' command is the first tab-specific command written to the file
and it is wrapped inside an 'if has('nvim')' block to keep the session
file compatible with Vim.
Closes #6678
2017-06-11 15:51:53 +02:00
Justin M. Keyes
16cce1ac17
Merge #6827 'Always enable logging'
2017-06-07 23:19:02 +02:00
James McCoy
bf4de3f6f7
functests/msgpack: Correct representation of literal INT64_MIN
...
In order to generate INT64_MIN from literal values, it's necessary to
use "-0x7fffffffffffffff - 1". Using "-0x8000000000000000" causes the
value to get clamped to INT64_MAX and then negated.
2017-06-06 21:38:31 -04:00
James McCoy
d69286c065
functests/msgpack: Use assert_equal() for more informative errors
2017-06-06 21:38:30 -04:00
Justin M. Keyes
b4b09afabd
test: iswin(): detect without nvim session
2017-06-07 00:27:26 +02:00
Justin M. Keyes
d07661b9a3
log: Fall back to CWD-relative .nvimlog
...
If if the resolved $NVIM_LOG_FILE *and* stdpath("data")/log cannot be
created (e.g. because the XDG data directory does not exist), fall back
to .nvimlog in the current direcrtory.
2017-06-07 00:27:26 +02:00
Justin M. Keyes
bb96b8219d
log: set $NVIM_LOG_FILE; fallback to $XDG_DATA_HOME/nvim/log
2017-06-07 00:26:56 +02:00
James McCoy
d707b2a171
vim-patch:8.0.0478
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
2017-06-06 06:15:16 -04:00
Justin M. Keyes
133f8bc628
Merge #4700 from AdnoC/keep-default-register
2017-05-31 23:43:40 +02:00
AdnoC
5908f562df
test: Fix and add cases for unnamed register
...
Also:
Add ru to shada tests with all keys
Add test for unset unnamed and register 0
2017-05-31 13:31:05 -04:00
AdnoC
beca4dc16c
eval/shada: Add testing for unnamed register with setreg and startup
2017-05-31 13:19:08 -04:00
Matthew Malcomson
033b1cb7d9
'pastetoggle': Revert support for multi-key value ( #6724 )
...
Reverts commit 337b6179df
Closes #6716 at the expense of not being able to use a
multi-key 'pastetoggle' manually.
Multi-key 'pastetoggle' can still be used when inserting the entire
option into the typebuffer at once (though the use here is
questionable).
Also remove those tests to do with waiting for the completion of
'pastetoggle' and mention in the documentation that 'pastetoggle'
doesn't wait for timeout.
2017-05-31 13:20:06 +02:00
Björn Linse
5a151555c8
sockets: don't deadlock when connecting to own pipe address
2017-05-29 19:02:49 +02:00
Björn Linse
6a75938758
channels: implement sockopen() to connect to socket
...
Helped-By: oni-link <knil.ino@gmail.com >
2017-05-29 19:02:49 +02:00
ZyX
a409fa2b3f
lua: Use automatic determining of suffixes only for package.cpath
2017-05-28 23:55:51 +03:00
James McCoy
9cc185dc6d
Merge pull request #6680 from mhinz/listen/localhost
...
Use uv_getaddrinfo() for servers
2017-05-28 13:26:06 +00:00
James McCoy
6c135b89ee
eval: serverstart: Return finalized address to user
...
In the process of setting up the socket watcher, the address may be
changed (e.g., adding the OS-selected port).
2017-05-28 07:14:49 -04:00
ZyX
97602371e6
lua: Add paths from &runtimepath to package.path and package.cpath
2017-05-25 16:27:40 +03:00
TJ DeVries
45626de63f
get_keymap API ( #6236 )
...
* Add api function get keymap
nvim_get_keymap(mode)
nvim_buf_get_keymap(buffer, mode)
2017-05-25 12:41:53 +02:00
James McCoy
2dc27a8a78
shada: Remember whether "0 or "1 was the unnamed register
...
Ref #4645
2017-05-24 14:17:19 -04:00
ZyX
a5a5c83608
api/vim: Fix nvim_list_runtimepaths
...
It used to
1. Always omit last component in runtimepath.
2. Always omit trailing empty item and leave uninitialized memory in place of
it.
2017-05-23 00:16:23 +03:00
Marco Hinz
afa781f420
Server tests: endpoint parsing in serverstart()
2017-05-22 01:05:40 +02:00
Marco Hinz
f913ba6e06
Server tests: use helpers.command()
2017-05-22 01:05:40 +02:00
Justin M. Keyes
bdd73fc07f
api/nvim_replace_termcodes: Document keycodes behavior
2017-05-20 22:20:32 +02:00
ZyX
df67785886
*: Fix all V641 errors
2017-05-20 03:25:22 +03:00
Justin M. Keyes
8e052f677e
Merge #6737 "options: make 'highlight' read-only"
2017-05-15 14:53:31 +02:00
Björn Linse
8d8b6224d9
options: make 'highlight' read-only
2017-05-15 07:22:31 +02:00
Justin M. Keyes
17531ed082
Merge #6480 from ZyX-I/colored-cmdline'/input-dict
2017-05-13 21:17:33 +02:00
ZyX
a59ddde721
functests: Reword regression test headers
2017-05-13 17:07:31 +03:00
ZyX
9906db985d
functests: Remove “correctly” from non-regression tests
2017-05-13 17:04:54 +03:00
Björn Linse
244a1f97db
Merge pull request #6704 from bfredl/luaexec
...
execute lua directly from the remote API
2017-05-13 15:06:41 +02:00
Björn Linse
f424189093
api: execute lua directly from the remote api
2017-05-13 15:03:42 +02:00
James McCoy
ac47f8a506
Merge pull request #6514 from jamessan/gcc-7-fixes
...
Fix GCC 7 issues
2017-05-13 07:51:01 -04:00
Justin M. Keyes
ae3d5e5ecc
Merge #6731 from ZyX-I/fix-oneline-script-skip
2017-05-13 11:32:23 +02:00
ZyX
19d38c4d0f
functests: Replace check_provider -> missing_provider with err report
2017-05-13 03:06:50 +03:00
ZyX
8b171b8c50
functests: Test invalid behaviour
...
Test correctly fail for oneline ruby, python and python3.
2017-05-13 03:06:30 +03:00
James McCoy
901c8fbcdb
regexp_nfa: Fix invalid fallthrough in character class detection
...
When the end character in a range matches a different standard range
(e.g., [0-z]), the range would be incorrectly detected as the class of
the end character (CLASS_az).
Instead of using a fallthrough, immediately FAIL when the end character
doesn't match the expected range.
2017-05-12 17:07:25 -04:00
ZyX
b6d73fb740
functests: Get rid of last redraws due to the “line above” issue
2017-05-11 12:15:41 +03:00
ZyX
33ca9f711e
functests: Remove outdated comments
2017-05-10 23:19:49 +03:00