summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0164: luaeval('vim.buffer().name') returns an errorv8.1.0164Bram Moolenaar2018-07-071-5/+2
| | | | | Problem: luaeval('vim.buffer().name') returns an error. Solution: Return an empty string. (Dominique Pelle, closes #3167)
* patch 8.1.0163: insufficient testing for Tclv8.1.0163Bram Moolenaar2018-07-071-7/+37
| | | | | Problem: Insufficient testing for Tcl. Solution: Add a few more tests. (Dominique Pelle, closes #3166)
* patch 8.1.0161: buffer not updated with 'autoread' set if file was deletedv8.1.0161Bram Moolenaar2018-07-071-6/+50
| | | | | | Problem: Buffer not updated with 'autoread' set if file was deleted. (Michael Naumann) Solution: Don't set the timestamp to zero. (closes #3165)
* patch 8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"v8.1.0154Bram Moolenaar2018-07-051-1/+10
| | | | | Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1". Solution: Fall back to using 'tabstop'. (closes #3155)
* patch 8.1.0151: mksession test fails on MS-Windowsv8.1.0151Bram Moolenaar2018-07-041-2/+2
| | | | | Problem: Mksession test fails on MS-Windows. Solution: Always use an argument for :lcd.
* patch 8.1.0150: insufficient test coverage for Tclv8.1.0150Bram Moolenaar2018-07-041-2/+616
| | | | | Problem: Insufficient test coverage for Tcl. Solution: Add more tests. (Dominique Pelle, closes #3140)
* patch 8.1.0149: session is wrong with multiple tabs when :lcd was usedv8.1.0149Bram Moolenaar2018-07-041-0/+47
| | | | | | | Problem: The generated sessions file does not restore tabs properly if :lcd was used in one of them. Solution: Create the tab pages before setting the directory. (Yee Cheng Chin, closes #3152)
* patch 8.1.0146: when $LANG is set the compiler test may failv8.1.0146Bram Moolenaar2018-07-031-0/+5
| | | | | Problem: When $LANG is set the compiler test may fail. Solution: Unset $LANG.
* patch 8.1.0145: test with grep is failing on MS-Windowsv8.1.0145Bram Moolenaar2018-07-031-8/+11
| | | | | Problem: Test with grep is failing on MS-Windows. Solution: Skip the test.
* patch 8.1.0144: the :cd command does not have good test coveragev8.1.0144Bram Moolenaar2018-07-031-0/+54
| | | | | Problem: The :cd command does not have good test coverage. Solution: Add more tests. (Dominique Pelle, closes #2972)
* patch 8.1.0141: :cexpr no longer jumps to the first errorv8.1.0141Bram Moolenaar2018-07-031-3/+114
| | | | | | Problem: :cexpr no longer jumps to the first error. Solution: Use the quickfix list identifier. (Yegappan Lakshmanan, closes #3092)
* patch 8.1.0139: Lua tests fail on some platformsv8.1.0139Bram Moolenaar2018-07-021-3/+3
| | | | | | Problem: Lua tests fail on some platforms. Solution: Accept a hex number with and without "0x". (Ken Takata, closes #3137)
* patch 8.1.0138: negative value of 'softtabstop' not used correctlyv8.1.0138Bram Moolenaar2018-07-021-0/+36
| | | | | Problem: Negative value of 'softtabstop' not used correctly. Solution: Use get_sts_value(). (Tom Ryder)
* patch 8.1.0136: Lua tests don't cover new featuresv8.1.0136Bram Moolenaar2018-07-011-20/+62
| | | | | Problem: Lua tests don't cover new features. Solution: Add more tests. (Dominique Pelle, closes #3130)
* patch 8.1.0134: Lua interface does not support funcrefv8.1.0134Bram Moolenaar2018-07-011-0/+24
| | | | | Problem: Lua interface does not support funcref. Solution: Add funcref support. (Luis Carvalho)
* patch 8.1.0133: tagfiles() can have duplicate entriesv8.1.0133Bram Moolenaar2018-06-301-1/+24
| | | | | | Problem: tagfiles() can have duplicate entries. Solution: Simplify the filename to make checking for duplicates work better. Add a test. (Dominique Pelle, closes #2979)
* patch 8.1.0132: lua tests are old stylev8.1.0132Bram Moolenaar2018-06-305-104/+483
| | | | | | Problem: Lua tests are old style. Solution: Convert to new style tests. Improve coverage. (Dominique Pelle, closes #3091)
* patch 8.1.0131: :profdel is not testedv8.1.0131Bram Moolenaar2018-06-301-15/+85
| | | | | Problem: :profdel is not tested. Solution: Add a test. (Dominique Pelle, closes #3123)
* patch 8.1.0126: various problems with 'vartabstop'v8.1.0126Bram Moolenaar2018-06-281-6/+22
| | | | | | Problem: Various problems with 'vartabstop'. Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian Brabandt, closes #3076)
* patch 8.1.0125: virtual edit replace with multi-byte fails at end of linev8.1.0125Bram Moolenaar2018-06-281-0/+16
| | | | | | | | Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas Werling) Solution: use ins_char() to add the character. (Christian Brabandt, closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like this.
* patch 8.1.0120: buffer 'modified' set even when :sort has no changesv8.1.0120Bram Moolenaar2018-06-281-8/+47
| | | | | Problem: Buffer 'modified' set even when :sort has no changes. Solution: Only set 'modified' when lines are moved. (Jason Franklin)
* patch 8.1.0119: failing test goes unnoticed because messages is not writtenv8.1.0119Bram Moolenaar2018-06-271-2/+2
| | | | | | Problem: Failing test goes unnoticed because testdir/messages is not written. Solution: Set 'nomodifiable' only local to the buffer.
* patch 8.1.0118: duplicate error message for put commandv8.1.0118Bram Moolenaar2018-06-272-1/+47
| | | | | Problem: Duplicate error message for put command. Solution: Check return value of u_save(). (Jason Franklin)
* patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'v8.1.0116Bram Moolenaar2018-06-251-0/+25
| | | | | | Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca Fuentes) Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076)
* patch 8.1.0112: no error when using bad arguments with searchpair()v8.1.0112Bram Moolenaar2018-06-241-4/+12
| | | | | Problem: No error when using bad arguments with searchpair(). Solution: Add error messages.
* patch 8.1.0110: file name not displayed with ":file"v8.1.0110Bram Moolenaar2018-06-241-0/+14
| | | | | | Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. Solution: Always display the file name when there is no argument (Christian Brabandt, closes #3070)
* patch 8.1.0105: all tab stops are the samev8.1.0105Bram Moolenaar2018-06-234-154/+733
| | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
* patch 8.1.0101: no test for getcmdwintype()v8.1.0101Bram Moolenaar2018-06-231-0/+16
| | | | | Problem: No test for getcmdwintype(). Solution: Add a test. (Dominique Pelle, closes #3068)
* patch 8.1.0098: segfault when pattern with \z() is very slowv8.1.0098Bram Moolenaar2018-06-231-0/+12
| | | | | | Problem: Segfault when pattern with \z() is very slow. Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be able to test this. Fix that 'searchhl' resets called_emsg.
* patch 8.1.0092: prompt buffer test failsv8.1.0092Bram Moolenaar2018-06-211-0/+2
| | | | | | Problem: Prompt buffer test fails. Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi, closes #3051
* patch 8.1.0088: terminal test for stdout and stderr is a bit flakyv8.1.0088Bram Moolenaar2018-06-191-2/+3
| | | | | | Problem: Terminal test for stdout and stderr is a bit flaky. Solution: Wait for both stdout and stderr to have been processed. (Ozaki Kiichi, closes #2991)
* patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"v8.1.0087Bram Moolenaar2018-06-191-23/+55
| | | | | Problem: v:shell_error is always zero when using terminal for "!cmd". Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
* patch 8.1.0086: no tests for libcall() and libcallnr()v8.1.0086Bram Moolenaar2018-06-191-0/+36
| | | | | Problem: No tests for libcall() and libcallnr(). Solution: Add tests. (Dominique Pelle, closes #2982)
* patch 8.1.0085: no test for completing user name and languagev8.1.0085Bram Moolenaar2018-06-191-1/+44
| | | | | Problem: No test for completing user name and language. Solution: Add tests. (Dominique Pelle, closes #2978)
* patch 8.1.0083: "is" and "as" have trouble with quoted punctuationv8.1.0083Bram Moolenaar2018-06-191-0/+75
| | | | | Problem: "is" and "as" have trouble with quoted punctuation. Solution: Check for punctuation before a quote. (Jason Franklin)
* patch 8.1.0073: crash when autocommands call setloclist()v8.1.0073Bram Moolenaar2018-06-181-0/+11
| | | | | Problem: Crash when autocommands call setloclist(). (Dominique Pelle) Solution: If the quickfix list changes then don't jump to the error.
* patch 8.1.0060: crash when autocommands delete the current bufferv8.1.0060Bram Moolenaar2018-06-161-0/+12
| | | | | | Problem: Crash when autocommands delete the current buffer. (Dominique Pelle) Solution: Check that autocommands don't change the buffer.
* patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"v8.1.0059Bram Moolenaar2018-06-161-0/+12
| | | | | Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251". Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015)
* patch 8.1.0056: crash when using :hardcopy with illegal bytev8.1.0056Bram Moolenaar2018-06-161-7/+22
| | | | | Problem: Crash when using :hardcopy with illegal byte. Solution: Check for string_convert() returning NULL. (Dominique Pelle)
* patch 8.1.0055: complete test has wrong order of argumentsv8.1.0055Bram Moolenaar2018-06-131-4/+4
| | | | | | Problem: Complete test has wrong order of arguments. Wrong type for sentinel variable. Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
* patch 8.1.0053: first argument of 'completefunc' has inconsistent typev8.1.0053Bram Moolenaar2018-06-121-0/+25
| | | | | | | Problem: The first argument given to 'completefunc' can be Number or String, depending on the value. Solution: Avoid guessing the type of an argument, use typval_T in the callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
* patch 8.1.0049: shell cannot tell running in a terminal windowv8.1.0049Bram Moolenaar2018-06-121-4/+11
| | | | | Problem: Shell cannot tell running in a terminal window. Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
* patch 8.1.0047: no completion for :unlet $VARv8.1.0047Bram Moolenaar2018-06-121-0/+10
| | | | | Problem: No completion for :unlet $VAR. Solution: Add completion. (Jason Franklin)
* patch 8.1.0046: loading a session file fails if 'winheight' is bigv8.1.0046Bram Moolenaar2018-06-121-1/+10
| | | | | | | | Problem: Loading a session file fails if 'winheight' is a big number. Solution: Set 'minwinheight' to zero at first. Don't give an error when setting 'minwinheight' while 'winheight' is a big number. Fix using vertical splits. Fix setting 'minwinwidth'. (closes #2970)
* patch 8.1.0045: popup test isn't run completelyv8.1.0045Bram Moolenaar2018-06-121-29/+25
| | | | | Problem: Popup test isn't run completely. Solution: Remove "finish". Clean up function definitions.
* patch 8.1.0044: if a test function exists Vim this may go unnoticedv8.1.0044Bram Moolenaar2018-06-122-0/+18
| | | | | | Problem: If a test function exists Vim this may go unnoticed. Solution: Check for a test funtion quitting Vim. Fix tests that did exit Vim.
* patch 8.1.0043: ++bad argument of :edit does not work properlyv8.1.0043Bram Moolenaar2018-06-121-2/+30
| | | | | | | Problem: ++bad argument of :edit does not work properly. Solution: Return FAIL from get_bad_opt() only when there is no valid argument. (Dominique Pelle, Christian Brabandt, closes #2966, closes #2947)
* patch 8.1.0041: attribute "width" missing from python window attribute listv8.1.0041Bram Moolenaar2018-06-102-2/+2
| | | | | | Problem: Attribute "width" missing from python window attribute list. Solution: Add the item. (Ken Takata) Order the list like the items are used in the WindowAttr() function.
* patch 8.1.0039: cannot easily delete lines in another bufferv8.1.0039Bram Moolenaar2018-06-071-1/+23
| | | | | Problem: Cannot easily delete lines in another buffer. Solution: Add deletebufline().
* patch 8.1.0038: popup test causes Vim to exitv8.1.0038Bram Moolenaar2018-06-071-0/+4
| | | | | Problem: Popup test causes Vim to exit. Solution: Disable the broken part of the test for now.