Justin M. Keyes
02e6914a93
Merge pull request #4860 from jamessan/tab-win-precedence
...
tcd: Determine correct scope from user input
2016-06-04 11:05:05 -04:00
James McCoy
667c1dc4de
vim-patch:7.4.1108 ( #4872 )
...
Problem: Expanding "~" halfway a file name.
Solution: Handle the file name as one name. (Marco Hinz) Add a test.
Closes vim/vim#564 .
58adb14739
2016-06-03 23:18:40 -04:00
James McCoy
a3f11ad27a
test/functional: cd_spec: Add tests for {getcwd,haslocaldir}(-1, -1)
2016-06-01 06:48:41 -04:00
James McCoy
a1303c2e11
test/functional: cd_spec: Add tests for using explicit args
2016-06-01 06:48:41 -04:00
James McCoy
197f384891
test/functional: cd_spec: Use named keys for directories table
...
The directories table contains the names of the expected directory names
for varying scopes of the :cd tests. Using named indexes, instead of
numbered, makes the test more readable.
2016-06-01 06:48:41 -04:00
James McCoy
690970acff
test/functional: Allow arbitrary arguments to cwd/lwd functions
...
Build wcwd/tcwd and wlwd/tlwd on top of the reworked cwd/lwd functions.
This will allow for easier testing of `getcwd()`/`haslocaldir()` in
arbitrary windows and/or tab pages.
2016-06-01 06:48:41 -04:00
Justin M. Keyes
1e70ebe849
Merge pull request #4756 from jbradaric/vim-7.4.1119
...
vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
2016-05-29 00:03:54 -04:00
Justin M. Keyes
48e945e588
Merge pull request #2825 from lucc/legacy/listlbr
...
tests: Migrate legacy test listlbr.
2016-05-27 21:06:09 -04:00
ZyX
5758432be2
eval: Stop executing *eval() function at error
...
Fixes #4822
Closes #4823
2016-05-27 15:11:53 +03: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
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
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
71e3aec029
Update migrated test after patch recent patches in master.
...
The following upstream patches that modified the original test have reached
master: 7.4.798, 7.4.818, 7.4.883, 7.4.977. The changes are incorporated into
the migrated test.
Also improve readability and some string delimiters.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
1e1325bd18
tests: Migrate legacy test listlbr.
2016-05-23 10:39:24 +02: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
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
AdnoC
582fb03f51
test/syntax: foo=NONE clears hi group
2016-05-21 01:19:39 -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
Lucas Hoffmann
08cf8f4d15
tests: Modernize legacy/close_count.
2016-05-20 11:25:24 +02:00
Lucas Hoffmann
95442026e8
tests: Migrate legacy test close_count.
2016-05-20 11:25:24 +02:00
Yichao Zhou
723497f030
test: listchars
2016-05-20 04:04:49 -04:00
Yichao Zhou
f598bb7b3c
test: cursorline, listchars
2016-05-20 04:04:48 -04:00
Yichao Zhou
9dc08dd692
test: Update to meet new expectations.
2016-05-20 03:54:21 -04:00
Jurica Bradaric
114fd52230
file_perm_spec: Fix the test condition on Windows.
2016-05-20 09:19:16 +02:00
Justin M. Keyes
dc88173b1b
Merge #2821 'test: migrate legacy test breakindent'
2016-05-20 00:30:01 -04:00
Justin M. Keyes
74f6460181
Merge #4633 : support "special" highlight (undercurl)
...
Closes #2040
Closes #3370
2016-05-19 22:20:52 -04: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
Justin M. Keyes
a69c3fbc8a
Merge pull request #4734 from jbradaric/vim-7.4.1102
...
vim-patch:7.4.1102, 7.4.1110, 7.4.1832
2016-05-18 00:08:47 -04:00
AdnoC
e5eea7fa06
test: Screen also checks 'special' when testing attribute equality
2016-05-17 16:36:41 -04:00
AdnoC
724fc88597
test: Edit the special color test
2016-05-17 16:36:38 -04:00
KillTheMule
a5ac389e5c
test: Add a test for the new guisp highlighting feature.
...
Screen.lua needed a little cosmetical adjustment to print out the color nicely.
2016-05-17 16:32:07 -04:00
AdnoC
f6a82c1d4f
test: Fix tests failing
2016-05-17 16:31:56 -04:00
Jurica Bradaric
dd0e8a03fc
108_backtrace_debug_comands: Fix linter errors.
2016-05-17 20:54:42 +02:00
Jurica Bradaric
5fdb6043d7
vim-patch:7.4.1110
...
Problem: Test 108 fails when language is French.
Solution: Force English messages. (Dominique Pelle)
8c600052fa
2016-05-17 20:54:42 +02:00
Jurica Bradaric
b4cbfd3c08
vim-patch:7.4.1102
...
Problem: Debugger has no stack backtrace support.
Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
Fanjul, closes vim/vim#433 )
f1f60f859c
2016-05-17 20:54:42 +02:00
Justin M. Keyes
7d11cc6912
Merge pull request #4759 from jbradaric/vim-7.4.1513
...
vim-patch:7.4.1513
2016-05-17 02:35:12 -04:00
Justin M. Keyes
71450b54aa
Merge pull request #4743 from jamessan/vim-7.4.1037
...
vim-patch:7.4.1037,fa73534
2016-05-15 22:50:17 -04:00
Justin M. Keyes
8dd91ddb73
test: term_close use-after-free
...
References #4393
2016-05-15 19:47:24 -04:00
Justin M. Keyes
36fb600a9e
ex_terminal(): fix double-free
...
Closes #4554
2016-05-15 17:02:14 -04:00
Jurica Bradaric
d81556513d
vim-patch:7.4.1513
...
Problem: "J" fails if there are not enough lines. (Christian Neukirchen)
Solution: Reduce the count, only fail on the last line.
41e0f2f48f
2016-05-15 22:42:17 +02:00
Justin M. Keyes
3320b99816
test: ex_terminal() double-free
...
References #4554
2016-05-15 16:40:37 -04:00
Justin M. Keyes
8cdf908ddb
Merge pull request #2717 from lucc/test68
...
tests: Migrate legacy test 68.
2016-05-15 12:18:41 -04:00
James McCoy
8c399d6b37
vim-patch:7.4.1037
...
Problem: Using "q!" when there is a modified hidden buffer does not unload
the current buffer, resulting in the need to abandon it again.
Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
Matsumoto, Hirohito Higashi)
027387f70c
2016-05-14 17:16:18 -04:00
Justin M. Keyes
a1de2ea154
Merge pull request #4757 from KillTheMule/fix-tui_spec
...
Fix tui_spec.lua for QB/Travis
2016-05-14 16:50:05 -04:00
Justin M. Keyes
104181ea03
Merge pull request #4563 from KillTheMule/vim-patch-1259
...
vim-patch: 7.4.1259
2016-05-14 16:47:24 -04:00
KillTheMule
a1f9760a59
Fix tui_spec.lua for QB/Travis
...
This was not a problem locally, but would often/sometimes/etc. (YMMV) fail on QB
and/or travis. This seems to fix it. Quoting @justinmk: "I have a feeling this
is just a bug in the bracketed paste special-cases in the existing code".
2016-05-14 21:41:00 +02:00