Justin M. Keyes
87f4d2592c
test/util: expect_err() ( #8257 )
...
other cleanup, ref #8245
2018-04-11 22:07:00 +02:00
Justin M. Keyes
f96d99ad11
Merge #8247 'server: introduce --listen'
2018-04-11 03:29:18 +02:00
Justin M. Keyes
777d34ec37
lint
2018-04-11 02:41:05 +02:00
Justin M. Keyes
704ba4151e
server: init v:servername if $NVIM_LISTEN_ADDRESS is invalid
...
Before this change, if $NVIM_LISTEN_ADDRESS was invalid, v:servername
was left empty.
2018-04-11 02:41:05 +02:00
Justin M. Keyes
507bda1c95
server: introduce --listen, deprecate $NVIM_LISTEN_ADDRESS
2018-04-11 02:41:05 +02:00
Justin M. Keyes
7362ca4430
cleanup: remove main_start_gui()
2018-04-11 01:58:42 +02:00
Justin M. Keyes
9f598e5765
serverstop(): return FALSE for invalid address
2018-04-11 01:58:41 +02:00
Justin M. Keyes
b11b681289
test/util: matches()
2018-04-11 01:58:41 +02:00
Justin M. Keyes
f19db1b9ba
remove scripts/run-api-tests.exp
...
Usage of this script was removed 0c2ec77ae0
.
2018-04-11 00:56:36 +02:00
ZyX
6f19b9f4e1
eval: Silence PVS/V614: use of potentially uninitialized pointer
...
It is hard to say whether it actually is uninitialized, need to go deeper into
regex code. Probably analyzer did not go that far as regmatch for sure would not
be initialized up until calling NFA/DFA engine functions, which is to be done by
pointer.
2018-04-10 01:52:18 +03:00
ZyX
4d1b3bf317
eval: Fix PVS/V560: unneded check for name_len
...
It is unsigned, zero length would already cause early return and length 1 is
checked earlier in the same condition.
2018-04-10 01:52:08 +03:00
ZyX
07b67f9eff
eval: Fix PVS/V547: ufunc_T is actually an incomplete type
2018-04-10 01:51:52 +03:00
ZyX
536d9a6168
edit: Fix PVS/V560: remove always true/false checks
2018-04-10 01:12:59 +03:00
ZyX
ef57cd81fe
diff: Fix PVS/V547: remove no longer needed OOM handler
2018-04-10 01:12:38 +03:00
Björn Linse
84bac9f507
Merge pull request #8250 from bfredl/shellscreen
...
remove last usages of screen functions in os/shell.c
2018-04-09 11:39:03 +02:00
Björn Linse
d4688add96
os/shell: use msg functions instead of screen when throttling
2018-04-09 10:34:31 +02:00
Björn Linse
c28dbede27
os/shell: remove dead calls to screen functions
2018-04-09 10:30:24 +02:00
ZyX
5acda03576
eval/decode: Silence PVS/V547: code written for 32-bit integers
2018-04-09 10:29:34 +03:00
ZyX
db29fa8164
charset: Fix PVS/V560: remove condition which was already checked
2018-04-09 10:29:33 +03:00
ZyX
1edb4894dc
charset: Silence PVS/V785: remove switch()
...
No idea why it thinks that pre is constant expression, but switch() may be
removed.
2018-04-09 10:29:32 +03:00
ZyX
f8a44b73f0
event/loop: Silence PVS/V547: condition is false in case of no timeout
2018-04-09 10:29:32 +03:00
ZyX
92759ef34f
buffer: Fix PVS/V560: condition was checked three lines above
2018-04-09 10:29:31 +03:00
ZyX
840027c7f5
buffer: Fix PVS/V547: base is never set to octal
2018-04-09 10:29:30 +03:00
ZyX
93be2ba542
charset: Fix transchar() with multibyte characters
...
It appears that transchar() was working under assumption that
`transchar_nonprint()` may be used for multibyte characters while its
documentation stated exact opposite. It was not actually untrue though, except
that longer buffer would be needed then the one stated in documentation. But it
is false now with assert().
2018-04-09 10:29:29 +03:00
ZyX
58a5699a44
buffer: PVS/V557: Refactor maketitle()
2018-04-09 10:29:28 +03:00
ZyX
2a6491cdf8
os/env: Refactor home_replace() to the new style and to return length
2018-04-09 10:29:26 +03:00
ZyX
0d7daaad98
charset,*: Refactor transstr()
2018-04-09 01:39:33 +03:00
ZyX
e670756676
memory: Fix documentation of some string copying functions
2018-04-09 01:36:52 +03:00
ZyX
414ef75ee6
buffer: Beautify code a bit
2018-04-09 01:35:23 +03:00
Justin M. Keyes
fa6415f13f
test/API: validate channel arg ( #8245 )
2018-04-08 03:01:15 +02:00
Marco Hinz
929a732d00
build/clang 6.0.0: fix type conversion warnings ( #8235 )
2018-04-07 16:20:31 +02:00
Utkarsh Anand
1ca138f236
build/OpenBSD: force gmake ( #8222 )
...
fix #8216
2018-04-07 16:10:01 +02:00
Justin M. Keyes
2ec94eb23f
win/install: xxd.exe ( #8241 )
2018-04-07 04:09:43 +02:00
Björn Linse
7034feb666
Merge pull request #8236 from bfredl/tuishape
...
TUI: clean up handling of CursorShape enum
2018-04-06 12:51:19 +02:00
Björn Linse
de0d1a0d2a
TUI: EMSG2 must not be used from TUI thread
2018-04-06 11:50:11 +02:00
Justin M. Keyes
d49c1dda8b
Merge #8228 from mhinz/fix-fgets
2018-04-05 00:54:58 +02:00
Marco Hinz
1fd54f29c1
Make vim_fgets() return the same values as in Vim
...
The implementation of vim_fgets() differs between Neovim and Vim.
Vim says that it only returns `true` for EOF. But it always returns `true` when
fgets() returns NULL. This happens for EOF _or_ errors.
That probably misguided the author of Neovim's vim_fgets(), which does NOT
return `true` for errors.
Since all the callers of vim_fgets() probably expect it to work as it does in
Vim (and not as it says), it now returns the same values as the Vim
implementation.
Fixes #8227
2018-04-04 21:13:14 +02:00
Justin M. Keyes
e8c39f72fd
Merge #8226 from justinmk/insert-mode-meta
2018-04-04 04:36:13 +02:00
Justin M. Keyes
224ebc0078
insert-mode: interpret unmapped META as ESC
...
closes #2454
closes #8213
ref #7972
2018-04-04 03:23:15 +02:00
Justin M. Keyes
8b8a75b2cf
Merge #7524 from justinmk/vim-8.0.1281
2018-04-04 01:29:56 +02:00
Daniel Hahler
e40e300c16
ins_compl_add_tv: fix memory leaks via get_spec_reg ( #8224 )
...
Fixes #8186
2018-04-03 01:30:48 +02:00
Justin M. Keyes
e25e552a3d
vim-patch:8.0.1284: loading file type detection slows down startup
...
Problem: Loading file type detection slows down startup.
Solution: Store the last pattern of an autocommand event to make appending
quicker.
462455ee8b
2018-04-02 23:59:49 +02:00
Justin M. Keyes
eb00fc0cf0
vim-patch:8.0.0564: cannot detect Bazel BUILD files on some systems
...
Problem: Cannot detect Bazel BUILD files on some systems.
Solution: Check for BUILD after script checks. (Issue vim/vim#1340 )
39170e2d97
vim-patch:8.0.1283: test 86 fails under ASAN
2018-04-02 23:59:49 +02:00
Justin M. Keyes
b982f0e654
vim-patch:8.0.1285
...
d09a206ee9
vim-patch:8.0.0564: cannot detect Bazel BUILD files on some systems
2018-04-02 23:59:49 +02:00
Justin M. Keyes
411d578137
vim-patch:8.0.1282
...
Problem: script-local variable defined in the wrong script
Solution: Move variable to autoload/filetype.vim.
cef7322d8a
2018-04-02 23:59:48 +02:00
Justin M. Keyes
04f5062978
vim-patch:8.0.1281
...
Problem: Loading file type detection slows down startup.
Solution: Move functions to an autoload script.
851ee6c3da
---
vim-patch:8.0.0635
Problem: When 'ignorecase' is set script detection is inaccurate.
Solution: Enforce matching case for text. (closes #1753 )
2018-04-02 23:59:46 +02:00
Björn Linse
60e96a45b4
screen: winhl=Normal:Background should not override syntax ( #8093 )
...
fixes #7375
2018-04-02 14:21:14 +02:00
Justin M. Keyes
cb5cde6e2b
build/CMake: use CMake-2.8.7-compatible list-check ( #8220 )
...
Tested with:
make CMAKE_EXTRA_FLAGS='-DLANGUAGES="en_GB;ja;sk"'
closes #8219
2018-04-02 12:40:31 +02:00
Justin M. Keyes
0c59ac1a2c
Merge #5908 'shada: Also save numbered marks'
2018-04-02 12:01:00 +02:00
Justin M. Keyes
4b26e365ae
Merge #8208 'Clean up dependency patches'
...
closes #6659
2018-04-02 11:57:27 +02:00