Bram Moolenaar
dc2f73a698
patch 8.1.0545: when executing indent tests user preferences interfere
...
Problem: When executing indent tests user preferences interfere.
Solution: Add "--clean".
2018-11-25 04:03:09 +01:00
Bram Moolenaar
916a818cea
patch 8.1.0544: setting 'filetype' in a modeline causes an error
...
Problem: Setting 'filetype' in a modeline causes an error (Hirohito
Higashi).
Solution: Don't add the P_INSECURE flag when setting 'filetype' from a
modeline. Also for 'syntax'.
2018-11-25 02:18:29 +01:00
Bram Moolenaar
4e303c8ba8
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct
...
Problem: Coverity warns for leaking memory and using wrong struct.
Solution: Free pointer when allocation fails. Change "boff" to "loff".
(closes #3634 )
2018-11-24 14:27:44 +01:00
Bram Moolenaar
f951416a83
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
...
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
2018-11-22 03:08:29 +01:00
Bram Moolenaar
2b84949ad8
patch 8.1.0541: help message in dosinst.c is outdated
...
Problem: Help message in dosinst.c is outdated.
Solution: Update the comment. (Ken Takata, closes #3626 )
2018-11-21 13:58:35 +01:00
Bram Moolenaar
247bb7e43b
patch 8.1.0540: may evaluate insecure value when appending to option
...
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
2018-11-20 14:27:07 +01:00
Bram Moolenaar
82e8c92ebe
patch 8.1.0539: cannot build without the sandbox
...
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
2018-11-20 13:32:36 +01:00
Bram Moolenaar
5958f95a40
patch 8.1.0538: evaluating a modeline might invoke using a shell command
...
Problem: Evaluating a modeline might invoke using a shell command. (Paul
Huber)
Solution: Set the sandbox flag when setting options from a modeline.
2018-11-20 04:25:21 +01:00
Bram Moolenaar
48d23bb4de
patch 8.1.0537: ui_breakcheck() may be called recursively
...
Problem: ui_breakcheck() may be called recursively, which doesn't work.
Solution: When called recursively, just return. (James McCoy, closes #3617 )
2018-11-20 02:42:43 +01:00
Bram Moolenaar
addc156c38
patch 8.1.0536: file time test fails when using NFS
...
Problem: File time test fails when using NFS.
Solution: Use three file times instead of localtim(). (James McCoy,
closes #3618 )
2018-11-18 12:25:09 +01:00
Bram Moolenaar
6b731886ca
patch 8.1.0535: increment/decrement might get interrupted by updating folds
...
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes #3599 )
2018-11-16 20:54:47 +01:00
Bram Moolenaar
25a494ce60
patch 8.1.0534: MS-Windows installer uses different $HOME than Vim
...
Problem: MS-Windows installer uses different $HOME than Vim.
Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata,
closes #3564 )
2018-11-16 19:39:50 +01:00
Bram Moolenaar
447f6ce8bd
patch 8.1.0533: screendump tests can be flaky
...
Problem: Screendump tests can be flaky.
Solution: Add VerifyScreenDump to the pattern of flaky tests.
2018-11-16 18:50:19 +01:00
Bram Moolenaar
2d67d307ee
patch 8.1.0532: cannot distinguish between quickfix and location list
...
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
2018-11-16 18:46:02 +01:00
Bram Moolenaar
dbc0d2163a
patch 8.1.0531: flaky tests often fail with a common error message
...
Problem: Flaky tests often fail with a common error message.
Solution: Add a pattern to match an error message indicating a flaky test.
2018-11-16 18:22:45 +01:00
Bram Moolenaar
c0f05d0bd1
patch 8.1.0530: channel and terminal tests that start a server can be flaky
...
Problem: Channel and terminal tests that start a server can be flaky.
Solution: Add all channel and terminal tests that start a server to the list
of flaky tests.
2018-11-16 17:44:48 +01:00
Bram Moolenaar
f77af0e613
patch 8.1.0529: flaky test sometimes fails in different ways
...
Problem: Flaky test sometimes fails in different ways.
Solution: When the second run gives a different error, try running the test
again, up to five times.
2018-11-16 16:52:16 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
0c27cbcacf
patch 8.1.0527: using 'shiftwidth' from wrong buffer for folding
...
Problem: Using 'shiftwidth' from wrong buffer for folding.
Solution: Use "buf" instead of "curbuf". (Christian Brabandt)
2018-11-14 21:45:32 +01:00
Bram Moolenaar
61fb8d8c67
patch 8.1.0526: running out of signal stack in RealWaitForChar
...
Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution: Make the fd_set variables static.
2018-11-12 21:45:08 +01:00
Bram Moolenaar
d3471e5785
patch 8.1.0525: terminal test skips part on Windows
...
Problem: Terminal test skips part on Windows.
Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
Higashi, closes #3606 )
2018-11-12 21:42:24 +01:00
Bram Moolenaar
c2c02574ec
patch 8.1.0524: terminal test fails on Windows
...
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
2018-11-11 23:14:54 +01:00
Bram Moolenaar
b244373bec
patch 8.1.0523: opening window from quickfix leaves empty buffer behind
...
Problem: Opening window from quickfix leaves empty buffer behind.
Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574 )
2018-11-11 22:50:27 +01:00
Bram Moolenaar
f3aea59afa
patch 8.1.0522: :terminal does not show trailing empty lines
...
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605 )
2018-11-11 22:18:21 +01:00
Bram Moolenaar
883ba68cda
patch 8.1.0521: cannot build with +eval but without +quickfix
...
Problem: Cannot build with +eval but without +quickfix.
Solution: Remove #ifdef for e_stringreq. (John Marriott)
2018-11-11 21:22:57 +01:00
Bram Moolenaar
218959bc91
patch 8.1.0520: screen diff test sometimes fails
...
Problem: Screen diff test sometimes fails.
Solution: Add to list of flaky tests.
2018-11-11 18:51:42 +01:00
Bram Moolenaar
f49cc60aa8
patch 8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604 )
2018-11-11 15:21:05 +01:00
Bram Moolenaar
8617b40159
patch 8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor
...
Problem: Test_window_split_edit_bufnr() fails on AppVeyor.
Solution: Disable the failing part for now.
2018-11-10 20:47:48 +01:00
Bram Moolenaar
d42333d8e9
patch 8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor
...
Problem: Test_window_split_edit_alternate() fails on AppVeyor.
Solution: Disable the failing part for now.
2018-11-10 20:28:19 +01:00
Bram Moolenaar
ddd1f9183b
patch 8.1.0516: :move command marks buffer modified when nothing changed
...
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
2018-11-10 19:19:36 +01:00
Bram Moolenaar
ded5f1bed7
patch 8.1.0515: reloading a script gives errors for existing functions
...
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
2018-11-10 17:33:29 +01:00
Bram Moolenaar
1bbb619483
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
...
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
2018-11-10 16:02:01 +01:00
Bram Moolenaar
d0721058f4
patch 8.1.0513: no error for set diffopt+=algorithm:
...
Problem: No error for set diffopt+=algorithm:.
Solution: Check for missing argument. (Hirohito Higashi, closes #3598 )
2018-11-05 21:21:33 +01:00
Bram Moolenaar
389ab7122b
patch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8
...
Problem: 'helplang' default is inconsistent for C and C.UTF-8.
Solution: Don't accept a value unless it starts with two letters.
2018-11-05 20:25:52 +01:00
Bram Moolenaar
9e353b5265
patch 8.1.0511: ml_get error when calling a function with a range
...
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
2018-11-04 23:39:38 +01:00
Bram Moolenaar
dcd71cbaed
patch 8.1.0510: filter test fails when $LANG is C.UTF-8
...
Problem: Filter test fails when $LANG is C.UTF-8.
Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt,
closes #3577 )
2018-11-04 14:40:47 +01:00
Bram Moolenaar
0b38f54730
patch 8.1.0509: checking cwd not accessible fails for root
...
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes #3595 )
2018-11-03 21:47:16 +01:00
Bram Moolenaar
0f62cf5b33
patch 8.1.0508: suspend test fails when run by root
...
Problem: Suspend test fails when run by root.
Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590 )
2018-11-03 21:09:15 +01:00
Bram Moolenaar
da1c11c641
patch 8.1.0507: .raml files not properly detected
...
Problem: .raml files not properly detected.
Solution: Recognize .raml as raml instead of yaml. (closes #3594 )
2018-11-03 19:52:15 +01:00
Bram Moolenaar
9691f82f86
patch 8.1.0506: modeline test fails when run by root
...
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes #3592 )
2018-11-03 19:06:25 +01:00
Bram Moolenaar
bd9a0c611c
patch 8.1.0505: filter command test may fail if helplang is not set
...
Problem: Filter command test may fail if helplang is not set.
Solution: Set 'helplang' for the test. (James McCoy, closes #3591 )
2018-11-03 19:00:14 +01:00
Bram Moolenaar
4dbc262764
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave
...
Problem: When CTRL-C is mapped it triggers InsertLeave.
Solution: Make CTRL-C behave the same way when typed or used in a mapping.
2018-11-02 11:59:15 +01:00
Bram Moolenaar
f7acf2b63c
patch 8.1.0503: missing change to diff test
...
Problem: Missing change to diff test. (Hirohito Higashi)
Solution: Add the missing test function.
2018-11-01 21:14:53 +01:00
Bram Moolenaar
f080d70a82
patch 8.1.0502: internal diff fails when diffing a context diff
...
Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution: Only use callback calls with one line. (closes #3581 )
2018-10-31 22:57:26 +01:00
Bram Moolenaar
a9a8e04eab
patch 8.1.0501: cppcheck warns for using array index before bounds check
...
Problem: Cppcheck warns for using array index before bounds check.
Solution: Swap the conditions. (Dominique Pelle)
2018-10-30 22:15:55 +01:00
Bram Moolenaar
833e5dab14
patch 8.1.0500: cleaning up in src/tee may not always work
...
Problem: Cleaning up in src/tee may not always work.
Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571 )
2018-10-28 15:43:58 +01:00
Bram Moolenaar
1c29943416
patch 8.1.0499: :2vimgrep causes an ml_get error
...
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
2018-10-28 14:36:09 +01:00
Bram Moolenaar
d474686a09
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file
...
Problem: /etc/gitconfig not recognized at a gitconfig file.
Solution: Add pattern to filetype detection. (closes #3568 )
2018-10-27 14:27:20 +02:00
Bram Moolenaar
5f57bdcab7
patch 8.1.0497: :%diffput changes order of lines
...
Problem: :%diffput changes order of lines. (Markus Braun)
Solution: Do adjust marks when using internal diff.
2018-10-25 17:52:23 +02:00
Bram Moolenaar
c0fe4978f2
patch 8.1.0496: no tests for indent files
...
Problem: No tests for indent files.
Solution: Add a mechanism for running indent file tests. Add a first test
for Vim indenting.
2018-10-25 16:53:19 +02:00