Justin M. Keyes
c29cc50b3a
Merge pull request #4825 from ZyX-I/fix-4822
...
eval: Stop executing *eval() function at error
2016-05-27 20:58:57 -04:00
Justin M. Keyes
f5642a171f
Merge pull request #4817 from bfredl/remoteui
...
api: refactor remote ui to use API dispatch generation
2016-05-27 20:58:14 -04:00
Rui Abreu Ferreira
46aac2a09a
Windows: Don't build the TUI is systems where it is not supported
...
The TUI can be enabled/disabled at build time with -DFEAT_TUI, default is ON for
UNIX, and OFF for non UNIX. When off, Neovim prints a message to stderr, along
with a list of the server endpoints.
2016-05-27 23:43:40 +01:00
ZyX
5758432be2
eval: Stop executing *eval() function at error
...
Fixes #4822
Closes #4823
2016-05-27 15:11:53 +03:00
Björn Linse
dd539366fc
api: refactor remote ui to use API dispatch generation
2016-05-27 13:18:04 +02:00
Shougo Matsushita
41c0dfd545
Port capture() function
...
https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
2016-05-27 10:33:44 +09:00
James McCoy
ccef5c9c77
vim-patch:7.4.1567
...
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
1abb502635
2016-05-25 21:02:52 -04:00
James McCoy
bc306ab5aa
vim-patch:7.4.1096
...
Problem: Need several lines to verify a command produces an error.
Solution: Add assert_fails(). (suggested by Nikolay Pavlov)
Make the quickfix alloc test actually work.
a260b87d9d
2016-05-25 17:13:05 -04:00
Björn Linse
2519638796
timers: racy situation found on travis
2016-05-25 12:51:17 +02:00
Björn Linse
c74ce334f2
Merge pull request #4624 from bfredl/timers
...
implement timers and process events during sleep
2016-05-25 11:00:54 +02:00
Justin M. Keyes
1e22076a65
Merge pull request #4741 from brcolow/vim-7.4.1281
...
vim-patch:7.4.1281
2016-05-25 04:30:50 -04:00
Michael Ennen
b37b5a59af
vim-patch:7.4.1281
...
Problem: No test for skipping over code that isn't evaluated.
Solution: Add a test with code that would fail when not skipped.
ea8c219ca8
Also add Test 91 from 7.4.1157 to test_viml.vim.
2016-05-25 00:52:38 -07:00
Justin M. Keyes
52348a1f8c
Merge pull request #4807 from jamessan/vim-7.4.1053
...
vim-patch:7.4.{1053,1071}
2016-05-25 02:54:08 -04:00
James McCoy
3d12192521
vim-patch:7.4.1064
...
Problem: When a spell file has single letter compounding creating
suggestions takes an awful long time.
Solution: Add th eNOCOMPOUNDSUGS flag.
7b877b3605
2016-05-24 22:07:37 -04:00
James McCoy
4a40231317
vim-patch:7.4.1071
...
Problem: New style tests are executed in arbitrary order.
Solution: Sort the test function names. (Hirohito Higashi)
Fix the quickfix test that depended on the order.
cfc0a350a9
2016-05-24 20:49:19 -04:00
James McCoy
da9b6b1de0
vim-patch:7.4.1053
...
Problem: Insufficient testing for quickfix commands.
Solution: Add a new style quickfix test. (Yegappan Lakshmanan)
da59dd5da6
2016-05-24 20:49:19 -04:00
Björn Linse
5cc87d4dab
cmdline: Redraw the cmdline after processing events
...
vim-patch:7.4.1603
TODO(bfredl): if we allow events in HITRETURN and ASKMORE states,
we need to add the necessary redraws as well.
2016-05-24 22:11:37 +02:00
Björn Linse
61e8adb25e
eval: implement timers. vim-patch: 7.4.1578, 7.4.1831
...
For the moment, timers are triggered during sleep,
but not in wait-for-input modes, like press-RETURN or f_getchar()
2016-05-24 22:08:56 +02:00
Lucas Hoffmann
1e1325bd18
tests: Migrate legacy test listlbr.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
b4848c5d14
test: Clean up after migration of legacy test 55.
2016-05-23 10:17:36 +02:00
Lucas Hoffmann
87e0621857
tests: Migrate legacy test 30.
...
The original test did also create additional auxiliary files which where never
used. They are not created any longer.
2016-05-23 10:15:24 +02:00
Lucas Hoffmann
9d1b072db0
Remove old version of legacy test 10.
...
These files where last changed in revision 7 (vim version 7.0001) in Vim's
original mercurial repository but are not executed by the makefile.
2016-05-23 10:14:32 +02:00
Lucas Hoffmann
7d6b9ddc15
tests: Migrate legacy test 10.
2016-05-23 10:14:20 +02:00
Michael Ennen
e70cae426c
test: Remove references to tiny.vim/small.vim/mbyte.vim
...
Vim creates these scripts in test1 depending on what build features
are enabled so that tests that use these features are skiped if
necessary. Because Neovim only has one type of build (and the features
+eval, +windows, and +multi-byte are enabled in this build) they are
not necessary.
2016-05-22 15:55:38 -04:00
Justin M. Keyes
39c015bd11
Merge pull request #2824 from lucc/legacy/close_count
...
tests: migrate legacy close_count
2016-05-22 15:33:40 -04:00
Justin M. Keyes
96f834a842
os_nodetype: Return NODE_NORMAL if os_stat fails.
...
Conforms to Vim's mch_nodetype. Regression by 7db4a15
.
buf_write() expects NODE_WRITABLE for character devices such as
/dev/stderr.
Closes #4772
2016-05-22 15:12:02 -04:00
Justin M. Keyes
849d61b551
Merge pull request #4786 from jbradaric/vim-7.4.1516
...
vim-patch:7.4.1516,7.4.1521
2016-05-22 12:55:30 -04:00
Justin M. Keyes
d8d159c123
Merge pull request #4787 from brcolow/vim-7.4.1050
...
vim-patch:7.4.1050
2016-05-22 12:24:30 -04:00
Justin M. Keyes
c3ebfff18b
Merge pull request #4793 from brcolow/vim-7.4.1061
...
vim-patch:7.4.1061
2016-05-22 12:21:41 -04:00
Michael Ennen
7b57ab1480
vim-patch:7.4.1090
...
Problem: No tests for :hardcopy and related options.
Solution: Add test_hardcopy.
b5690794cf
2016-05-20 23:32:01 -07:00
AdnoC
1f4af4c86e
syntax: foo=NONE clears hi group
...
Closes #4767
2016-05-21 01:19:15 -04:00
James McCoy
853440053c
vim-patch:7.4.1034
...
Problem: There is no test for the 'backspace' option behavior.
Solution: Add a test. (Hirohito Higashi)
aac624bacd
2016-05-20 21:43:15 -04:00
James McCoy
d5168064bf
vim-patch:7.4.1018
...
Problem: Failure running tests.
Solution: Add missing change to list of old style tests.
af2dff8fbc
2016-05-20 21:43:15 -04:00
James McCoy
8a379aacd7
vim-patch:7.4.1017
...
Problem: When there is a backslash in an option ":set -=" doesn't work.
Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge
in old test.
8f79acdf7e
2016-05-20 21:43:15 -04:00
Justin M. Keyes
9d3449852b
Merge pull request #4779 from equalsraf/tb-lua-without-unittest
...
Allow building without Luajit
2016-05-20 15:30:09 -04:00
Michael Ennen
6e68cc570c
Fixes suggested by @justinmk and @jbradaric
2016-05-20 12:16:09 -07:00
Lucas Hoffmann
95442026e8
tests: Migrate legacy test close_count.
2016-05-20 11:25:24 +02:00
Yichao Zhou
4eb4a5cdb2
screen.c: Fix listchars hl for space/nbsp in visual mode.
2016-05-20 04:04:49 -04:00
Yichao Zhou
391d8ff3d8
lint
2016-05-20 04:04:48 -04:00
Yichao Zhou
33486c8ebd
Let the highlight of listchars override cursorline
...
Closes #3670
2016-05-20 03:54:20 -04:00
Justin M. Keyes
56cb1eb9f9
Merge pull request #4791 from brcolow/vim-7.4.1059
...
vim-patch:7.4.1059
2016-05-20 00:55:59 -04:00
Michael Ennen
620806ec07
vim-patch:7.4.1061
...
Problem: Compiler warning for ignoring return value of fwrite().
Solution: Do use the return value. (idea: Charles Campbell)
285bf84b4b
2016-05-19 21:47:52 -07:00
Michael Ennen
3e1ab7c8d6
vim-patch:7.4.1059
...
Problem: Code will never be executed.
Solution: Remove the code.
fd39d08fb6
2016-05-19 21:34:57 -07:00
Justin M. Keyes
dc88173b1b
Merge #2821 'test: migrate legacy test breakindent'
2016-05-20 00:30:01 -04:00
Justin M. Keyes
1ead15ad81
Merge pull request #4790 from brcolow/vim-7.4.1057
...
vim-patch:7.4.1057
2016-05-20 00:24:35 -04:00
Michael Ennen
817438f16c
vim-patch:7.4.1057
...
Problem: Typos in the :options window.
Solution: Fix the typos. (Dominique Pelle)
2b7db933b0
2016-05-19 21:23:08 -07:00
Justin M. Keyes
74f6460181
Merge #4633 : support "special" highlight (undercurl)
...
Closes #2040
Closes #3370
2016-05-19 22:20:52 -04:00
Michael Ennen
2ebf365db9
vim-patch:7.4.1050
...
Problem: Warning for unused var with tiny features. (Tony Mechelynck)
Solution: Add #ifdef. Use vim_snprintf(). Reduce number of statements.
c71982b239
2016-05-19 14:46:38 -07:00
Jurica Bradaric
07382048b0
vim-patch:7.4.1521
...
Problem: File permission test fails on MS-Windows.
Solution: Expect a different permission.
8322e1f06e
2016-05-19 22:46:50 +02:00
Jurica Bradaric
093f8d5376
vim-patch:7.4.1516
...
Problem: Cannot change file permissions.
Solution: Add setfperm().
8049253b96
2016-05-19 22:46:50 +02:00