James McCoy
84bf53b803
Set the default value for 'packpath'
...
As noted in “:help 'packpath'”, the default value is supposed to be the
same as that for 'runtimepath'. This was missed in the original port of
the packages functionality from Vim.
Closes #5193
2016-08-08 18:19:26 -04:00
Justin M. Keyes
6da7d6890c
Merge #5025 'input.c: Restore double click'
2016-08-07 23:52:27 -04:00
Justin M. Keyes
d69194ca8c
test: mouse_spec
...
- Use the default buffer text provided by before_each (avoids extra steps and
makes the tests more consistent with each other)
- Indent
- Adjust help doc
2016-08-07 23:50:40 -04:00
Justin M. Keyes
f1eb303187
Merge #5130 from equalsraf/tb-appveyor
...
Enable MSYS/MinGW builds in Appveyor
2016-08-07 17:35:10 -04:00
Rui Abreu Ferreira
25ec29d4e1
Windows: Fix functionaltest fixtures
2016-08-07 21:57:29 +01:00
sach1t
08a5f91481
test: Add tests for double, triple, and quadruple click
2016-08-07 13:21:03 -04:00
Justin M. Keyes
fe6ec75725
Merge #4964 from ZyX-I/no-xdg-expand
...
option: Do not expand options, obtained from XDG vars
2016-08-04 20:59:51 -04:00
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
ZyX
9767b9f00f
functests: Also make sure that set all&
does not expand
2016-07-10 02:04:27 +03:00
ZyX
3878626c05
functests: Add tests for XDG defaults
2016-07-10 02:04:27 +03:00
ZyX
895f712df8
option: Do not expand options, obtained from XDG vars
...
It is a wrong thing to do, this makes valid variable values be treated
incorrectly: in
XDG_DATA_HOME='/home/$foo/.local/share'
`$foo` should be treated literally and not expanded to `foo` environment
variable value.
Also makes option_expand not try to expand too long strings even if these too
long strings are default values. Previously it thought that default values
should always be expanded. Also does not try to expand NULL should it be the
default value just in case.
Fixes #4961
2016-07-10 02:04:27 +03: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
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