raichoo
2ad25c0466
linter: make changes pass the linter
2017-03-19 21:14:11 +01:00
raichoo
86b1e7f583
vim-patch:7.4.2362
...
Problem: Illegal memory access with ":1@". (Dominique Pelle)
Solution: Correct cursor column after setting the line number. Also avoid
calling end_visual_mode() when not in Visual mode.
4930a76a03
2017-03-19 21:14:11 +01:00
raichoo
a4f20db08c
vim-patch:8.0.0066
...
Problem: when calling an operator function when 'linebreak' is set, it is
internally reset before calling the operator function.
Solution: Restore 'linebreak' before calling op_function(). (Christian
Brabandt)
4a08b0dc4d
2017-03-19 21:14:11 +01:00
raichoo
88dd2e8a08
vim-patch:8.0.0064
...
Problem: Normal test fails on MS-Windows.
Solution: Don't try using an illegal file name.
eb828d01d9
2017-03-19 21:14:11 +01:00
raichoo
151605cacc
vim-patch:8.0.0060
...
Problem: When using an Ex command for 'keywordprg' it is escaped as with a
shell command. (Romain Lafourcade)
Solution: Escape for an Ex command. (closes vim/vim#1175 )
426f375422
2017-03-19 21:14:11 +01:00
raichoo
707aea86bb
vim-patch:7.4.2353
...
Problem: Not enough test coverage for Normal mode commands.
Solution: Add more tests. (Christian Brabandt)
2931f2a5df
2017-03-19 21:14:11 +01:00
raichoo
ae828982ce
vim-patch:7.4.2347
...
Problem: Crash when closing a buffer while Visual mode is active.
(Dominique Pelle)
Solution: Adjust the position before computing the number of lines.
When closing the current buffer stop Visual mode.
c4a908e836
2017-03-19 21:14:11 +01:00
raichoo
4500b16f15
vim-patch:7.4.2336
...
Problem: Running normal mode tests leave a couple of files behind.
(Yegappan Lakshmanan)
Solution: Delete the files. (Christian Brabandt)
df0db16cf7
2017-03-19 21:14:11 +01:00
raichoo
1e33c88685
vim-patch:7.4.2333
...
Problem: Outdated comments in test.
Solution: Cleanup normal mode test. (Christian Brabandt)
31845093b7
2017-03-19 21:14:11 +01:00
raichoo
e888864c28
vim-patch:7.4.2326
...
Problem: Illegal memory access when Visual selection starts in invalid
position. (Dominique Pelle)
Solution: Correct position when needed.
d5824ce1b5
2017-03-19 21:14:11 +01:00
raichoo
42caeccce6
vim-patch:7.4.2322
...
Problem: Access memory beyond the end of the line. (Dominique Pelle)
Solution: Adjust the cursor column.
bc54f3f3fe
2017-03-19 21:14:11 +01:00
raichoo
afd8eacb4e
vim-patch:7.4.2317
...
Problem: Normal mode tests fail on MS-Windows.
Solution: Do some tests only on Unix. Set 'fileformat' to "unix".
0913a1089a
2017-03-19 21:14:11 +01:00
raichoo
b87cb77570
vim-patch:7.4.2315
...
Problem: Insufficient testing for Normal mode commands.
Solution: Add a big test. (Christian Brabandt, closes vim/vim#1029 )
87bc3f7459
2017-03-19 21:14:11 +01:00
Justin M. Keyes
0cab62ad6f
Merge #6305 from lonerover/vim-7.4.2228
...
vim-patch:7.4.2228,7.4.2248
2017-03-19 12:05:03 +01:00
Björn Linse
6a68a922b8
clipboard: set v:register after startup ( #5708 )
...
Fixes #5697
2017-03-18 19:33:25 +01:00
Vadim A. Misbakh-Soloviov
bdcb2a38b3
readfile(): Remove "Reading from stdin..." #6298
2017-03-18 13:43:47 +01:00
lonerover
b65d5ff11b
vim-patch:7.4.2248
...
Problem: When cancelling the :ptjump prompt a preview window is opened for
a following command.
Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that
the test runner gets stuck in trying to close a window.
358308dd99
2017-03-18 18:10:23 +08:00
lonerover
700e13da82
vim-patch:7.4.2228
...
Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
9e4d8215d3
2017-03-18 18:08:20 +08:00
John Szakmeister
c6b3975774
vim_vsnprintf: fix conversion error #6311
...
This looks mostly like a case where the compiler that ships with Ubuntu
12.04 has gone a little too far: `fmt_spec` is actually a char, as are
the literals, so there's really no issue.
2017-03-18 03:45:54 +01:00
Matthew Malcomson
9abef7ded9
test/put_spec: 2x speedup ( #6294 )
...
Instead of helpers.clear() between each test, use execute('enew!')
and ensure the state that matters is reset between each test.
2017-03-18 01:59:51 +01:00
Tommy Allen
b6502b868e
version.c: Add v
prefix to NVIM_VERSION_MEDIUM ( #6310 )
2017-03-18 01:49:55 +01:00
Jack Bracewell
1de50acc41
vim-patch:7.4.2292 ( #6304 )
...
Problem: Not all systems understand %F in printf().
Solution: Use %f.
965ed14973
2017-03-17 18:30:18 +01:00
Jack Bracewell
147e115dd9
vim-patch:7.4.2249 ( #6303 )
...
Problem: Missing colon in error message.
Solution: Add the colon. (Dominique Pelle)
ba2099034f
2017-03-17 18:26:33 +01:00
Justin M. Keyes
62e14d6565
os_set_cloexec: Fix condition. #5986
...
Also: skip Test_undo_del_chars the right way. #6287
2017-03-17 18:14:24 +01:00
Jack Bracewell
2ea7bfc627
terminal: Support extra arguments in 'shell'. #4504
...
Tokenize p_sh if used as default in ex_terminal(). Previously p_sh was
used as the first arg in a list when calling termopen(), this would try
to call an untokenized version of shell, meaning if you had an argument
in 'shell':
set shell=/bin/bash\ --login
the command would fail.
Helped-by: oni-link <knil.ino@gmail.com>
Closes #3999
2017-03-17 17:47:33 +01:00
Justin M. Keyes
0c1f783164
Merge #6087 from justinmk/defaults
...
defaults: 'ruler', 'showcmd', 'belloff=all'
2017-03-17 13:00:19 +01:00
raichoo
10045cddb6
vim-patch:7.4.2113 #6287
...
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
170b10b421
2017-03-17 12:34:53 +01:00
Matthew Malcomson
f6946c68ae
job-control: set CLOEXEC on pty processes. #5986
...
Before this change, new processes started with libuv prevented SIGHUP
from reaching pty processes (by keeping the ptmx file descriptor open).
2017-03-17 12:20:51 +01:00
Björn Linse
ad1884be0d
Merge pull request #6296 from FriedSock/use_handle_get_buffer_refactor
...
Use handle_get_buffer for buflist_findnr
2017-03-17 09:18:51 +01:00
John Szakmeister
694edc5504
test: fix the unit test build on macOS Sierra ( #6300 )
...
We need to add the SDK includes to the preprocessing step, otherwise it
will fail to resolve the system includes such as sys/stat.h and fcntl.h.
2017-03-17 09:14:56 +01:00
Jack Bracewell
09583a791c
Replace hashtab with handle buffer functions
2017-03-16 18:26:46 +00:00
Justin M. Keyes
1dbe7a4dec
doc: handle_* function declarations
2017-03-16 18:44:10 +01:00
Justin M. Keyes
a90beeadbb
defaults: 'showcmd', 'belloff', 'ruler'
...
- Vim "unix default" of 'noshowcmd' is serving few users. And it's
inconsistent.
- 'ruler' and 'belloff=all' improve the out-of-the-box experience.
- Continue to use 'noshowcmd' and 'noruler' by default in the functional
tests to keep them fast.
TODO: Add a "disable slow stuff" command or mapping to address the
use-case of a very slow terminal connection.
2017-03-16 18:44:10 +01:00
John Szakmeister
27e1b2dce4
Merge pull request #6292 from jszakmeister/fix-tempfile-test
...
unittests: avoid using pattern matching on file names
2017-03-16 08:41:06 -04:00
John Szakmeister
3c8d974f73
unittests: avoid using pattern matching on file names
...
The directory name could contain special characters that trips up the
matching used by find. Instead, let's just make sure that the filename
starts with the directory name.
2017-03-16 06:58:15 -04:00
raichoo
50953f9661
version.c: mark NA patch ( #6285 )
2017-03-15 23:43:26 +01:00
Justin M. Keyes
40cc49c5da
test/termclose: Avoid indeterminism ( #6281 )
2017-03-15 23:28:37 +01:00
raichoo
297e8d0fda
version.c: mark NA patches ( #6282 )
2017-03-15 19:49:12 +01:00
Björn Linse
f4b8dbeeb2
Merge pull request #5540 from bfredl/api_since
...
allow specify api since field and more api compatibility checks
2017-03-15 17:46:07 +01:00
Björn Linse
7d28489a33
release.sh: add api metadata fixture if api level was bumped
2017-03-15 15:01:06 +01:00
Björn Linse
a5d03be7b8
api: bump api level to 2
2017-03-15 15:01:06 +01:00
Björn Linse
9500ecdda5
api: add detailed checks for compatibility and correct "since" value
2017-03-15 15:01:06 +01:00
Björn Linse
da6f4c146e
api: implement FUNC_API_SINCE
2017-03-15 15:01:06 +01:00
Björn Linse
82f55503dd
api: add api_level_1 fixure
2017-03-15 15:01:06 +01:00
Justin M. Keyes
ec4e84210b
Merge #6254 'vim-patch:7.4.2135,7.4.2144,7.4.2151'
2017-03-15 14:10:56 +01:00
Justin M. Keyes
3b52e3c4c8
Merge #6252 from jamessan/vim-7.4.2069
...
vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
2017-03-15 13:47:13 +01:00
lonerover
227859ea79
vim-patch:7.4.2264 ( #6275 )
...
Problem: When adding entries to an empty quickfix list the title is reset.
Solution: Improve handling of the title. (Yegappan Lakshmanan)
2b529bb626
2017-03-14 15:07:48 +01:00
Justin M. Keyes
36fd879b25
doc: eval.txt fixup, README.md
2017-03-13 15:50:50 +01:00
Justin M. Keyes
33d0637521
Merge #6268 from lonerover/vim-7.4.2208
...
vim-patch: 7.4.2208,7.4.2305
2017-03-13 14:12:38 +01:00
lonerover
76829898bd
vim-patch:7.4.2305
...
Problem: Marks, writefile and nested function tests are old style.
Solution: Turn them into new style tests. (Yegappan Lakshmanan)
19a1669ffc
2017-03-13 20:24:48 +08:00