Justin M. Keyes
82b8382abe
vim-patch:8.0.0962
...
closes #6726
Problem: Crash with virtualedit and joining lines.
(Joshua T Corbin, Neovim #6726 )
Solution: When using a mark check that coladd is valid.
9aa1569128
2017-10-21 02:18:00 +02:00
Björn Linse
dfe806ea8b
bufhl: support creating new groups
2017-10-19 11:59:32 +02:00
relnod
dde3ece10e
lint
2017-10-19 11:20:24 +02:00
relnod
0f74b7afeb
refactor/single-include: undo.h
2017-10-19 11:20:08 +02:00
relnod
14e63271cc
refactor/single-include: undo_defs.h
2017-10-19 11:17:18 +02:00
relnod
4b0a086d16
refactor/single-include: syntax_defs.h
2017-10-19 11:17:18 +02:00
relnod
69199958b7
refactor/single-include: regexp_defs.h
2017-10-19 11:16:46 +02:00
relnod
295c90989d
refactor/single-include: terminal.h
2017-10-19 11:14:54 +02:00
ZyX
47938e1e22
viml/parser/expressions: Fix some errors spotted by KLEE
...
Not all of them are fixed yet though.
2017-10-19 10:48:05 +03:00
James McCoy
91586d1ad4
Merge pull request #7404 from jamessan/vim-8.0.0118
...
vim-patch:8.0.0118
2017-10-18 10:45:05 -04:00
Justin M. Keyes
0cba3da26e
Merge #7399 ':checkhealth (built-in)'
2017-10-17 22:43:46 +02:00
James McCoy
70b574dab3
vim-patch:8.0.0118
...
Runtime updates that were bundled into the otherwise NA commit:
Problem: "make proto" adds extra function prototype.
Solution: Add vim/vim#ifdef.
5162822914
2017-10-17 14:51:04 -04:00
James McCoy
9467c8e16e
Merge pull request #7372 from ckelsel/vim-8.0.0183
...
vim-patch:8.0.0183 NA
2017-10-17 12:51:07 -04:00
James McCoy
0f0fcce1ab
Merge pull request #7313 from ckelsel/vim-8.0.0101
...
vim-patch:8.0.0101,8.0.0102,8.0.0104,8.0.0106
2017-10-17 12:48:48 -04:00
Justin M. Keyes
014bd59957
ex_checkhealth: call health#check() directly
...
This allows us to remove :CheckHealth later (avoids wildmenu noise).
2017-10-17 01:51:21 +02:00
Justin M. Keyes
d214df4e9b
doc: replace ":CheckHealth" with ":checkhealth"
2017-10-17 01:51:21 +02:00
Justin M. Keyes
5baeb4a49c
ex-cmds: :checkhealth
...
Built-in `:checkhealth` checks for valid $VIMRUNTIME by attempting to
autoload `health#check()`.
closes #2977
closes #3159
2017-10-17 01:51:20 +02:00
Justin M. Keyes
a792c1f6db
Merge #7340 'menu_get: print keycodes'
2017-10-16 09:15:31 +02:00
Justin M. Keyes
56eda2aa17
syntax: 'cursorline': revert priority change ( #7400 )
...
ref #7383
reverts d1874ab282
ref #6380
2017-10-16 08:18:03 +02:00
ZyX
895793fc82
viml/parser/expressions: Add some casts
2017-10-16 09:14:02 +03:00
ZyX
c9f511d24a
viml/parser/expressions: Remove unused flag
2017-10-16 09:06:05 +03:00
ZyX
4c8ed65b60
viml/parser/expressions: Fix memory leak when processing ternary
2017-10-16 03:04:22 +03:00
ZyX
a535d68380
keymap: Remove incorrect cast
2017-10-16 01:00:58 +03:00
ZyX
15043e93b6
klee: Update key_name_entry table
2017-10-16 00:41:41 +03:00
ZyX
ed253b5fe6
klee: Include colors in test
2017-10-16 00:39:48 +03:00
ZyX
fe81380bf5
viml/parser/expressions: Highlight prefix separately from number
...
Should make accidental octals more visible.
2017-10-16 00:30:55 +03:00
ZyX
5e92ee6565
charset: Do not call strlen() from vim_str2nr
2017-10-16 00:19:02 +03:00
ZyX
1a3635304b
charset: Avoid overflow in vim_str2nr
2017-10-16 00:07:32 +03:00
ZyX
2cb95bd937
viml/parser/expressions: Define east_node_type_tab only when needed
2017-10-15 21:39:01 +03:00
ZyX
4ccaf86110
keymap: Readd figure braces disappeared when resolving conflicts
2017-10-15 21:22:49 +03:00
ZyX
76f0466536
Merge branch 'master' into expression-parser
2017-10-15 21:16:27 +03:00
ZyX
3aa2c0d63a
viml/parser/expressions,klee: Fix some problems found by KLEE run
2017-10-15 21:11:00 +03:00
ZyX
bc386c4882
charset: Fix out-of-bounds array access
...
It is incorrect to *first* access ptr[2] and *then* check whether maxlen allows
it.
2017-10-15 21:09:08 +03:00
ZyX
57bb3346d9
viml/parser/expressions: Update some comments and add another check
2017-10-15 20:43:16 +03:00
ZyX
6c19cbef26
viml/parser/expressions,tests: Add AST freeing, with sanity checks
2017-10-15 20:05:35 +03:00
ZyX
c286155bfa
viml/parser/expressions: Create tests for latest additions
2017-10-15 19:13:52 +03:00
ZyX
fa3cfc0dd5
viml/parser/expressions: Finish parser
...
Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType
(specifically `kExprNodeOr = '|'` and probably something else), so all `= …`
were dropped: in any case they only were there in order to not bother updating
viml_pexpr_debug_print_ast_node and since it is now known all nodes which will
be present it is not much of an issue.
2017-10-15 19:13:52 +03:00
ZyX
af38cea133
viml/parser/expressions: Add support for string parsing
2017-10-15 19:13:52 +03:00
ZyX
c484613ce0
keymap: Lint some functions to be copied for symbolic tests
2017-10-15 19:13:52 +03:00
ZyX
e423cfe194
edit: Lint some functions which are to be copied for symbolic tests
2017-10-15 19:13:52 +03:00
ZyX
6f22b5afad
mbyte: Lint some functions which are to be copied for symbolic tests
2017-10-15 19:13:52 +03:00
ZyX
bd3a4166b2
viml/parser/expressions: Add support for subscript and list literals
2017-10-15 19:13:51 +03:00
ZyX
e45e519495
viml/parser/expressions: Error out on multiple colons in a row
2017-10-15 19:13:51 +03:00
ZyX
21a5ce033c
viml/parser/expressions: Add support for the dot operator and numbers
2017-10-15 19:13:50 +03:00
ZyX
163792e9b9
viml/parser/expressions: Make lexer parse numbers, support non-decimal
2017-10-15 19:13:50 +03:00
ZyX
0bc4e22379
viml/parser/expressions: Forbid dot or alpha characters after a float
...
This is basically what Vim already does, in addition to forbidding floats should
there be a concat immediately before it.
2017-10-15 19:13:50 +03:00
ZyX
6168e1127c
viml/parser/expressions: Add support for comparison operators
2017-10-15 19:13:49 +03:00
ZyX
6791c57420
viml/parser/expressions: Make sure that arrows outside lambda throw
2017-10-15 19:13:49 +03:00
ZyX
6144e26eb9
viml/parser/expressions: Add support for ternary operator
2017-10-15 19:13:49 +03:00
ZyX
9e721031d5
viml/parser/expressions: Fix determining invalid commas/colons
2017-10-15 19:13:48 +03:00