Michael Ennen
6fe8c1d051
vim-patch:7.4.1305 #5094
...
Problem: "\%1l^#.*" does not match on a line starting with "#".
Solution: Do not clear the start-of-line flag. (Christian Brabandt)
7c29f38781
Helped-by: jamessan
Helped-by: mhinz
2016-08-01 03:59:04 -04:00
Justin M. Keyes
aa2c439940
eval.c: rename capture() to execute() ( #5132 )
2016-07-31 13:23:29 -04:00
KillTheMule
bd8ef4ea24
test: fix
2016-07-29 08:58:27 -04:00
Justin M. Keyes
e5781d005a
Merge #2850
2016-07-28 18:51:06 -04:00
KillTheMule
7a56967f8c
A bit of linting
2016-07-28 18:50:34 -04:00
Tommy Allen
1f7304b846
mouse.c: Adjust clicked column if chars are concealed ( #5087 )
...
syntax.c: Added syn_get_concealed_id()
tests: Added tests for mouse clicks on concealed text.
2016-07-28 14:14:53 -04:00
Hirokazu Hata
fbb2cd791d
vim-patch:7.4.1179 ( #5112 )
...
Problem: test_writefile and test_viml do not delete the tempfile.
Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
f4f79b84a5
2016-07-25 08:12:24 -04:00
James McCoy
452707e0b0
vim-patch:7.4.1703
...
Problem: Can't assert for not equal and not matching.
Solution: Add assert_notmatch() and assert_notequal().
b50e5f5686
2016-07-23 20:42:46 -04:00
James McCoy
aece3ffa7d
vim-patch:7.4.1663
...
Problem: In tests it's often useful to check if a pattern matches.
Solution: Add assert_match().
ea6553bec3
2016-07-23 20:42:46 -04:00
Justin M. Keyes
77937c4edd
Merge #5058
2016-07-18 11:22:43 -04:00
Justin M. Keyes
ff93c9bd90
test: PTY descendants should not prevent exit.
2016-07-16 03:34:59 -04:00
Justin M. Keyes
4d4c92535a
Merge #5068 'justinmk/output_spec'
2016-07-14 23:29:38 -04:00
Justin M. Keyes
ed3b3aa9cd
test: output_spec
...
Reference: https://github.com/neovim/neovim/issues/3772#issuecomment-162334005
2016-07-14 23:28:23 -04:00
Patrick
98fb0f12c4
vim-patch:7.4.1548
...
Problem: Two tests fail.
Solution: Adjust the expected error number. Remove check for type.
5a2800fd14
2016-07-13 17:59:29 +10:00
Björn Linse
6ea2bde065
clipboard: fix v:register when clipboard=unnamed,unnamedplus
2016-07-12 22:30:51 +02:00
Justin M. Keyes
c7d84c5550
Merge #4980 'Support legacy :ruby
commands'.
2016-07-10 14:16:12 -04:00
Justin M. Keyes
5573e1a350
Merge #4991 'vim-patch:7.4.1140'
2016-07-09 16:55:41 -04:00
Patrick
3e2daf7125
vim-patch:7.4.1140
...
Problem: Recognizing <sid> does not work when the language is Turkish.
(Christian Brabandt)
Solution: Use MB_STNICMP() instead of STNICMP().
e266d6d664
Note: Added new test
2016-07-08 16:50:22 +10:00
James McCoy
520a4f06e2
vim-patch:7.4.1840
...
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
a570244531
2016-07-08 01:45:21 -04:00
James McCoy
23b2ee0771
vim-patch:7.4.1712
...
Problem: For plugins in packages, plugin authors need to take care of all
dependencies.
Solution: When loading "start" packages and for :packloadall, first add all
directories to 'runtimepath' before sourcing plugins.
49b2732644
2016-07-08 01:45:21 -04:00
James McCoy
443d335ce3
vim-patch:7.4.1554
...
Problem: Completion for :colorscheme does not use 'packpath'.
Solution: Make it work, add a test. (Hirohito Higashi)
52f9c19015
2016-07-08 01:45:20 -04:00
James McCoy
53613e7fcd
vim-patch:7.4.1553
...
Problem: ":runtime" does not use 'packpath'.
Solution: Add "what" argument.
8dcf259d90
2016-07-08 01:45:20 -04:00
James McCoy
080476882b
vim-patch:7.4.1552
...
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
7f8989dd8a
2016-07-08 01:45:15 -04:00
James McCoy
55dcf0918c
vim-patch:7.4.1551
...
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
6bef5306e4
2016-07-08 01:43:37 -04:00
James McCoy
26f74fdf61
vim-patch:7.4.1550
...
Problem: Cannot load packages early.
Solution: Add the ":packloadall" command.
2d8f56acb3
2016-07-08 01:43:37 -04:00
James McCoy
8ecdc571b0
vim-patch:7.4.1499
...
Problem: No error message when :packadd does not find anything.
Solution: Add an error message. (Hirohito Higashi)
be82c25486
2016-07-08 01:43:36 -04:00
James McCoy
85e539c996
vim-patch:7.4.1492
...
Problem: No command line completion for ":packadd".
Solution: Implement completion. (Hirohito Higashi)
35ca0e7a1c
2016-07-08 01:43:36 -04:00
James McCoy
2f72f34f04
vim-patch:7.4.1486
...
Problem: ":loadplugin" is not optimal, some people find it confusing.
Solution: Only use ":packadd" with an optional "!".
f365482736
2016-07-08 01:43:36 -04:00
James McCoy
67d8e58631
vim-patch:7.4.1480
...
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
91715873d1
2016-07-08 01:43:30 -04:00
James McCoy
d43ac790f2
vim-patch:7.4.1479
...
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
863c1a9079
2016-07-08 01:39:12 -04:00
prollings
6cee9d1a17
vim-patch:7.4.1111 ( #5004 )
...
Problem: test_expand fails on MS-Windows.
Solution: Always use forward slashes. Remove references to test27.
f60b796fa9
2016-07-06 09:13:48 -04:00
Justin M. Keyes
8641e3a156
test: TUI colors: Skip TERM=linux on non-linux. ( #5015 )
...
Also skip TERM=screen (GNU, so probably not common on BSD)
2016-07-06 09:11:26 -04:00
Daniel Xu
5f1a153831
os/fs: Rename os_file_exists to os_path_exists ( #4973 )
...
Because the old name did not indicate that the function
would return true on directories as well.
2016-07-06 01:40:25 -04:00
Justin M. Keyes
086aa99292
test/functional: sleep()
2016-07-03 02:22:55 -04:00
Justin M. Keyes
173d366a5b
test: TUI colors ('t_Co')
2016-07-03 01:29:00 -04:00
Alex Genco
0a3c0205c5
Add :ruby, :rubyfile, and :rubydo ex commands
2016-07-02 21:45:48 -07:00
prollings
f80eb768c7
vim-patch:7.4.1121 ( #4989 )
...
Problem: test_expand leaves files behind.
Solution: Edit another file before deleting, otherwise the swap file
remains.
08b270a8a4
2016-07-02 20:22:59 -04:00
Marco Hinz
0d9593ff14
Tests: check 'autochdir' on startup
2016-07-02 01:03:05 +02:00
Björn Linse
6f4f654231
Merge pull request #4880 from bfredl/zerotimer
...
make timers work correctly when timeout or repeat is zero
2016-07-01 17:34:28 +02:00
KillTheMule
c8da12b9a6
Add test for :drop
...
Cf. https://github.com/neovim/neovim/pull/4995
2016-07-01 15:25:49 +02:00
Patrick
8e804c911e
vim-patch:7.4.1136
...
Problem: Wrong argument to assert_exception() causes a crash. (reported by
Coverity)
Solution: Check for NULL pointer. Add a test.
da5dcd9366
2016-06-30 22:35:06 +10:00
Björn Linse
5c754a2d22
timers: make repeat=0 work one-shot (consistent with vim)
2016-06-29 18:57:18 +02:00
Björn Linse
2c39e0b03f
timers: make timers work with zero timeout
2016-06-29 18:57:18 +02:00
Justin M. Keyes
204f557a11
Merge #4984 'Trigger TabNewEntered with <CTRL-W>T'
...
Closes #4979
2016-06-28 05:00:54 -04:00
Dimitri Merejkowsky
43536568ba
[RFC] Fix #4979 : Trigger TabNewEntered also with <CTRL-W>T
...
Original patch by @fmoralesc
2016-06-28 23:50:05 +02:00
ZyX
142d00e8da
unittests/*/helpers: Fix testlint errors
2016-06-24 17:38:33 +03:00
ZyX
0d56118d86
msgpack_rpc: Fix crash in log_server_msg
...
It appears that used msgpack library is not able to parse back message created
by msgpack_rpc_from_object() if nesting level is too high, so log_server_msg now
cares about msgpack_unpack_next() return value. Also error message from
server_notifications_spec.lua is not readable if something is wrong (though at
least now it does not crash when parsing deeply nested structures).
log_server_msg() in the test reports
[msgpack-rpc] nvim -> client(1) [error] "parse error"
2016-06-24 16:53:26 +03:00
ZyX
2968dc7bdd
fixup! unittests: Add tests for vim_to_object function
2016-06-24 16:53:26 +03:00
ZyX
90b8cf133e
msgpack_rpc: Also make msgpack_from_*/msgpack_to_* functions not recur
...
This removes some stack overflows in new test regarding deeply nested variables.
Now in place of crashing vim_to_object/msgpack_rpc_from_object/etc it crashes
clear_tv with stack overflow.
2016-06-24 16:53:26 +03:00
ZyX
6b06bdafa2
unittests: Add tests for vim_to_object function
2016-06-24 16:53:26 +03:00