James McCoy
6a6bbbc6d8
vim-patch:7.4.2281
...
Problem: Timer test fails sometimes.
Solution: Reduce minimum time by 1 msec.
0426bae2ab
2017-04-06 08:55:37 -04:00
James McCoy
bb54d921aa
Merge remote-tracking branch 'origin/master' into vim-7.4.2170
2017-04-05 22:39:40 -04:00
lonerover
45a13c4bbc
vim-patch:7.4.2306
...
Problem: Default value for 'langremap' is wrong.
Solution: Set the right value. (Jürgen Krämer) Add a test.
da9ce2cde1
2017-04-01 22:46:27 +08:00
lonerover
53da57d27a
vim-patch:7.4.2236
...
Problem: The 'langnoremap' option leads to double negatives. And it does
not work for the last character of a mapping.
Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for
backwards compatibility. Make it work for the last character of a
mapping. Make the test work.
920694c1b6
2017-04-01 22:45:36 +08:00
Michael Ennen
831eb2a9bf
vim-patch:7.4.2104 ( #6332 )
...
Problem: Code duplication when unreferencing a function.
Solution: De-duplicate.
97baee80f0
2017-03-31 01:07:39 +02:00
Justin M. Keyes
c60e409471
Merge #5119 from ZyX-I/split-eval
2017-03-29 23:15:07 +02:00
lonerover
2846d508b2
vim-patch:7.4.2276 ( #6393 )
...
* vim-patch:7.4.2276
Problem: Command line test fails on Windows when run twice.
Solution: Wipe the buffer so that the directory can be deleted.
1773ddfdcd
* version.c: mark vim-patch 7.4.2269 as included (#5659 )
2017-03-29 16:48:50 +02:00
ZyX
28dafe3ff0
eval,*: Move get_tv_string to typval.c
...
Function was renamed and changed to return `const char *`.
2017-03-29 10:08:05 +03:00
lonerover
e86042ae17
vim-patch:7.4.2343 and mark NA patches ( #6384 )
...
vim-patch:7.4.2343
Problem: Too many old file tests.
Solution: Turn several into new style tests. (Yegappan Lakshmanan)
53f1673cd9
2017-03-29 01:30:54 +02:00
lonerover
9cd7e19904
vim-patch:7.4.2334
...
Problem: On MS-Windows test_getcwd leaves Xtopdir behind.
Solution: Set 'noswapfile'. (Michael Soyka)
1b0c2fcf6e
2017-03-27 12:19:14 +08:00
lonerover
85ba14af6a
vim-patch:7.4.2330
...
Problem: Coverity complains about not checking curwin to be NULL.
Solution: Use firstwin to avoid the warning.
030cddc7ec
2017-03-27 12:19:14 +08:00
lonerover
20e7652b69
vim-patch:7.4.2307
...
Problem: Several tests are old style.
Solution: Turn them into new style tests. (Yegappan Lakshmanan)
cd055da370
2017-03-27 12:19:14 +08:00
raichoo
edc80f6b46
vim-patch:7.4.2357 ( #6354 )
...
Problem: Attempt to read history entry while not initialized.
Solution: Skip when the index is negative.
46643713dc
2017-03-26 23:15:53 +02:00
lonerover
f9a31e9850
vim-patch:7.4.2349 ( #6368 )
...
Problem: Valgrind reports using uninitialzed memory. (Dominique Pelle)
Solution: Check the length before checking for a NUL.
2321ca2a78
2017-03-26 19:04:57 +02:00
Justin M. Keyes
78a4c73cf0
vim-patch:7.4.2339
...
Problem: Tab page test fails when run as fake root.
Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes vim/vim#1042 )
100f5c90f4
2017-03-22 18:42:59 +01:00
Justin M. Keyes
929859ed81
vim-patch:7.4.2355
...
Problem: Regexp fails to match when using "\>\)\?". (Ramel)
Solution: When a state is already in the list, but addstate_here() is used
and the existing state comes later, add the new state anyway.
16b3578f35
2017-03-22 18:42:58 +01:00
Justin M. Keyes
10f6624f65
vim-patch:7.4.2328
...
Problem: Crash when BufWinLeave autocmd goes to another tab page.
(Hirohito Higashi)
Solution: Make close_buffer() go back to the right window.
2017-03-22 18:42:56 +01:00
Justin M. Keyes
4a2e6f460d
vim-patch:7.4.2341
...
Problem: Tiny things. Test doesn't clean up properly.
Solution: Adjust comment and white space. Restore option value.
2017-03-22 18:42:17 +01:00
Justin M. Keyes
4c18670e91
vim-patch:7.4.2346
...
Problem: Autocommand test fails when run directly, passes when run as
part of test_alot.
Solution: Add command to make the cursor move. Close a tab page.
2017-03-22 18:42:17 +01:00
Justin M. Keyes
165ba3e636
vim-patch:7.4.2324
...
Problem: Crash when editing a new buffer and BufUnload autocommand wipes
out the new buffer. (Norio Takagi)
Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi)
Move old style test13 into test_autocmd. Avoid ml_get error when
editing a file.
e0ab94e712
2017-03-22 18:42:16 +01:00
Jurica Bradarić
06ed7a189b
vim-patch:7.4.2329 ( #6341 )
...
Problem: Error for min() and max() contains %s. (Nikolay Pavlov)
Solution: Pass the function name. (closes vim/vim#1040 )
26b84339fd
2017-03-23 08:54:01 +01:00
raichoo
44e75eba30
vim-patch:7.4.2161 ( #6340 )
...
Problem: Expression test fails without conceal feature.
Solution: Only check "conceal" with the conceal feature.
7ab6defcaf
2017-03-22 21:57:20 +01:00
Justin M. Keyes
ef57ee23bd
Merge #6312 from lonerover/vim-7.4.2255
...
vim-patch: 7.4.2255,7.42256
2017-03-22 12:32:52 +01:00
lonerover
114a18b935
vim-patch:7.4.2303
...
Problem: When using "is" the mode isn't always updated.
Solution: Redraw the command line. (Christian Brabandt)
779f2fc3a7
2017-03-22 15:36:10 +08:00
lonerover
c554b53040
vim-patch:7.4.2296
...
Problem: No tests for :undolist and "U" command.
Solution: Add tests. (Dominique Pelle)
c628fdcd46
2017-03-22 15:35:46 +08:00
lonerover
ab16c07584
vim-patch:7.4.2283
...
Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar)
Solution: Clear the rest of the line. (closes 1018)
885c00eabe
2017-03-22 08:33:12 +08:00
Justin M. Keyes
ab16535580
Merge #6231 from jbradaric/vim-7.4.2266
...
vim-patch:7.4.2266,7.4.2280,7.4.2291
2017-03-22 00:29:58 +01:00
Justin M. Keyes
6baa669c10
vim-patch:7.4.2164 ( #6326 )
...
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
66459b7c98
vim-patch:7.4.2172
vim-patch:7.4.2169
vim-patch:7.4.2177
vim-patch:7.4.2178
vim-patch:7.4.2184
vim-patch:8.0.0050
vim-patch:8.0.0105
vim-patch:8.0.0400
vim-patch:8.0.0405
Closes #6034
2017-03-21 17:07:00 +01:00
lonerover
26d7757ccb
vim-patch:7.4.2256
...
Problem: Coverity complains about null pointer check.
Solution: Remove wrong and superfluous error check.
db249f26ed
2017-03-21 21:16:11 +08:00
Jack Bracewell
66259e4c49
vim-patch:7.4.2293 ( #6307 )
...
The original patch makes all the modeline comments consistent, but these
have been removed in the neovim source. However there as a correction of
a comment included in the patch that we can use.
edf3f97ae2
2017-03-21 11:11:32 +01:00
Jurica Bradaric
c6c8e1e8cc
version: Mark patch 2221 as applied.
...
It was implemented as a part of #3916 .
2017-03-21 07:34:08 +01:00
Jurica Bradaric
cad9a76be2
vim-patch:7.4.2291
...
Problem: printf() handles floats wrong when there is a sign.
Solution: Fix placing the sign. Add tests. (Dominique Pelle)
0418609534
2017-03-20 22:47:09 +01:00
Jurica Bradaric
6ca580be9b
vim-patch:7.4.2280
...
Problem: printf() doesn't handle infinity float values correctly.
Solution: Add a table with possible infinity values. (Dominique Pelle)
e999782e36
2017-03-20 22:45:26 +01:00
Jurica Bradaric
b4cb5fa610
vim-patch:7.4.2266
...
Problem: printf() test fails on Windows. "-inf" is not used.
Solution: Check for Windows-specific values for "nan". Add sign to "inf"
when appropriate.
9992237a3e
2017-03-20 21:40:41 +01:00
Jurica Bradaric
4f69a8fb88
vim-patch:7.4.2242
...
Problem: Timer test sometimes fails.
Solution: Increase the maximum time for callback timer test.
17f1347b86
2017-03-20 21:15:56 +01:00
Jurica Bradaric
3558f89d22
vim-patch:7.4.2241
...
Problem: Timer test sometimes fails.
Solution: Increase the maximum time for repeating timer.
973365dcc4
2017-03-20 21:15:56 +01:00
Jurica Bradaric
5c2f1e29e3
vim-patch:7.4.2240
...
Problem: Tests using the sleep time can be flaky.
Solution: Use reltime() if available. (Partly by Shane Harper)
f267f8bdf7
2017-03-20 21:15:56 +01:00
Jurica Bradaric
420a9955fa
version.c: Mark 7.4.2171 and 7.4.2181 as NA.
2017-03-20 21:15:56 +01:00
Jurica Bradaric
5b8ce2feed
vim-patch:7.4.2180
...
Problem: There is no easy way to stop all timers. There is no way to
temporary pause a timer.
Solution: Add timer_stopall() and timer_pause().
b73598e2f0
2017-03-20 21:15:56 +01:00
Jurica Bradaric
8924e75f34
vim-patch:7.4.2170
...
Problem: Cannot get information about timers.
Solution: Add timer_info().
8e97bd74b5
2017-03-20 21:15:55 +01:00
raichoo
db128974fc
vim-patch:7.4.2348
...
Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
Solution: Don't access curwin when exiting.
9a27c7fde6
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
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