lonerover
2b56cf099a
fix test failure
2017-01-09 13:06:24 +08:00
lonerover
a584375e9f
vim-patch:7.4.2314
...
Problem: No error when deleting an augroup while it's the current one.
Solution: Disallow deleting an augroup when it's the current one.
de653f0880
2017-01-09 12:23:25 +08:00
lonerover
f8f04350bd
vim-patch:7.4.2313
...
Problem: Crash when deleting an augroup and listing an autocommand.
(Dominique Pelle)
Solution: Make sure deleted_augroup is valid.
b62cc36a60
2017-01-09 12:12:42 +08:00
lonerover
6f285226a9
vim-patch:7.4.2300
...
Problem: Get warning for deleting autocommand group when the autocommand
using the group is scheduled for deletion. (Pavol Juhas)
Solution: Check for deleted autocommand.
5c80908ced
2017-01-09 11:06:11 +08:00
lonerover
7486e7586d
vim-patch:7.4.2117
...
Problem: Deleting an augroup that still has autocmds does not give a
warning. The next defined augroup takes its place.
Solution: Give a warning and prevent the index being used for another group
name.
f2c4c39119
2017-01-09 10:58:05 +08:00
rover
f5d06c52a2
vim-patch:7.4.2077
...
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
12c11d5530
2017-01-08 23:16:39 +08:00
rover
c2344f3d31
vim-patch:7.4.2075
...
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
c917da4b3e
2017-01-08 22:46:08 +08:00
rover
888cdce3aa
vim-patch:7.4.2006
...
Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
Solution: First check that the current buffer is the right one. (Hirohito
Higashi)
30445cb6e9
2017-01-08 21:00:48 +08:00
James McCoy
b4c0c61f5c
Merge pull request #5826 from ZyX-I/fix-typval_encode
...
Refactor eval/typval_encode.h
2017-01-06 21:11:33 -05:00
ZyX
dd48d7b94b
eval: Fix typo
2017-01-07 00:17:31 +03:00
ZyX
527636f158
functests: Add tests for new fixes
2017-01-06 23:52:31 +03:00
ZyX
1052009b37
eval/typval_encode: Dump empty dictionary before checking for refcycle
...
Otherwise copyID will stay forever on empty dictionaries.
2017-01-06 23:32:04 +03:00
ZyX
10c6e68db6
eval: Work with reference cycles in partials (self) properly
2017-01-06 22:57:34 +03:00
ZyX
6584fb723a
eval/typval_encode: Use TYPVAL_ENCODE_CONV_EMPTY_DICT for partials
2017-01-06 22:48:50 +03:00
ZyX
7f11ec00fd
eval/typval_encode.h: Remove documentation that is located in *.c.h
2017-01-06 22:38:46 +03:00
Michael Schupikov
1fee9a7151
eval.c: filter_map(): avoid maybe-uninitialized warning ( #5897 )
...
maybe-uninitialized warning observed with -Ofast.
2017-01-06 18:23:52 +01:00
James McCoy
ffdf1904d6
Merge pull request #5893 from lonerover/vim-7.4.2127
...
vim-patch:7.4.2127
2017-01-06 09:54:40 -05:00
James McCoy
f82f27ccec
Merge pull request #5892 from lonerover/vim-7.4.2103
...
vim-patch: 7.4.2103
2017-01-06 09:47:30 -05:00
lonerover
6c69bc9788
fix lint error
2017-01-06 09:25:15 +08:00
Michael Schupikov
23b39ebb24
time.c: os_microdelay(): Let input cancel the delay. #5830
...
Closes #5397
2017-01-06 00:57:31 +01:00
Marcus Fritzsch
afa7f42f77
man.vim: Avoid empty argument when MANWIDTH is set. ( #5882 )
2017-01-06 00:20:22 +01:00
Marco Hinz
1fbee630a8
provider: add Python 3.6 ( #5886 )
2017-01-05 21:29:31 +01:00
nfnty
7a344c795f
path.c: vim_FullName()
: Fix heap overflow #5737
...
- Clarify documentation.
- Return `FAIL` and truncate if `fname` is too long.
- Add tests.
2017-01-05 15:17:34 +01:00
rover
9da9e1c417
vim-patch:7.4.2127
...
Problem: The short form of ":noswapfile" is ":noswap" instead of ":now".
(Kent Sibilev)
Solution: Only require three characters. Add a test for the short forms.
3bcfca3ab4
2017-01-05 21:12:02 +08:00
lonerover
12b50b116f
vim-patch:7.4.2110 ( #5880 )
...
Problem: When there is an CmdUndefined autocmd then the error for a missing
command is E464 instead of E492. (Manuel Ortega)
Solution: Don't let the pointer be NULL.
eac784eced
2017-01-05 13:55:32 +01:00
lonerover
bef645e5e4
vim-patch:7.4.2103
...
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
e99e84497b
2017-01-05 13:33:56 +08:00
Justin M. Keyes
e21aef1e10
Merge #5874 from ZyX-I/fix-5482
...
Fix plugin which opens ShaDa files
2017-01-04 17:34:17 +01:00
ZyX
c93ce07628
*: Remove // fname()
comments near typval_encode includes
2017-01-04 19:04:15 +03:00
ZyX
358097ac5f
eval/encode: Always check the return value of encode_vim_to_\*
2017-01-04 19:02:39 +03:00
Justin M. Keyes
695703ca97
provider/clipboard.vim: fallback if xsel is broken ( #5868 )
...
Old versions of `xsel` do not support some required features.
Fall back to `xclip` then.
Closes #5853
2017-01-04 15:10:31 +01:00
Ole Reifschneider
1dc67f4dc8
version.c: update ( #5876 )
2017-01-04 14:31:23 +01:00
Justin M. Keyes
0ce77a744a
Merge #5749 from justinmk/test-ctrl-c
2017-01-04 13:32:39 +01:00
ZyX
24b3b938e8
plugin/shada: Handle NUL characters with intchar correctly
...
Fixes #5482
2017-01-04 15:06:33 +03:00
Anmol Sethi
d8a97d7b79
man.vim: do not set ft=man on files with extension man ( #5831 )
...
Closes #5806
2017-01-04 13:01:03 +01:00
ZyX
d82f5d1ba2
plugin/msgpack: Support character constants like '\0'
2017-01-04 14:53:02 +03:00
ZyX
a934144e04
doc: Document that character constants are supported
2017-01-04 14:52:13 +03:00
Justin M. Keyes
6f9be2464c
Merge #5872 justinmk/test_autochdir
2017-01-04 08:24:36 +01:00
Justin M. Keyes
af828f2257
Merge #5864 from ZyX-I/fix-5857
...
unittest: Allow multiple indirect includes
2017-01-04 11:54:11 +01:00
Justin M. Keyes
a63675c384
test/helpers.rmdir(): Windows: Change to top-level dir on failure.
...
On Windows, if the nvim process has a directory open the lua process
cannot remove it. After failing once, it's safe to force `nvim` to the
top-level directory. Then try again.
2017-01-04 07:23:13 +01:00
Justin M. Keyes
e43f7425ee
refactor: Remove VimL function test()
...
vim-patch:7.4.1838
2017-01-04 07:23:13 +01:00
Justin M. Keyes
097c8dccca
refactor: Remove VimL function test_autochdir()
...
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c43479979
/ vim-patch:7.4.2015.
2017-01-04 07:23:13 +01:00
lonerover
c56411ed87
vim-patch:7.4.2043 ( #5871 )
...
Problem: setbuvfar() causes a screen redraw.
Solution: Only use aucmd_prepbuf() for options.
93431df9eb
2017-01-04 06:16:21 +01:00
Justin M. Keyes
e03b43bd07
test: skip_fragile(), TEST_SKIP_FRAGILE
...
Let build systems define TEST_SKIP_FRAGILE to skip tests that are known to be
resource-intensive (unreliable on slow systems).
References https://github.com/neovim/neovim/pull/5488#issuecomment-265622113
2017-01-04 04:24:18 +01:00
Justin M. Keyes
f4d326cf10
test: ctrl_c_spec
...
- Improve test reliability by only checking for a line with the string
we are interested in ("Interrupt").
- Try to avoid OOM by loading an existing big file instead of looping to
create one.
2017-01-04 03:18:30 +01:00
Marco Hinz
15259c4b84
clipboard: show error message only once and put in history ( #5870 )
2017-01-04 00:45:31 +01:00
Shougo
9cb31ecdb0
syntax/ruby.vim, perl.vim: Preserve 'foldmethod'. ( #5858 )
2017-01-03 23:53:59 +01:00
ZyX
3c64b814d2
unittests: Fix linter errors
2017-01-03 23:58:12 +03:00
ZyX
937b6fac8f
unittest: Fix linter errors
2017-01-03 22:54:55 +03:00
ZyX
b38e725428
unittest: Refactor preprocess.lua
...
Keeps arguments separated and not joined as a single string as long as possible.
Abstracts away additional arguments so that Gcc:preprocess should work for
compilers with different conventions should they be supported.
2017-01-03 22:54:55 +03:00
ZyX
2151ddbd73
unittest: Move nil checks to Gcc:preprocess
2017-01-03 22:54:54 +03:00