summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1526: no test using a screen dump yetv8.0.1526Bram Moolenaar2018-02-205-5/+142
| | | | | Problem: No test using a screen dump yet. Solution: Add a test for C syntax highlighting. Add helper functions.
* patch 8.0.1525: using :wqa exits even if a job runs in a terminal windowv8.0.1525Bram Moolenaar2018-02-191-0/+9
| | | | | | Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes #2654)
* patch 8.0.1523: cannot write and read terminal screendumpsv8.0.1523Bram Moolenaar2018-02-181-0/+35
| | | | | | Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
* patch 8.0.1519: getchangelist() does not use argument as bufname()v8.0.1519Bram Moolenaar2018-02-131-3/+3
| | | | | Problem: Getchangelist() does not use argument as bufname(). Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
* patch 8.0.1518: error messages suppressed after ":silent! try"v8.0.1518Bram Moolenaar2018-02-131-0/+14
| | | | | Problem: Error messages suppressed after ":silent! try". (Ben Reilly) Solution: Restore emsg_silent before executing :try. (closes #2531)
* patch 8.0.1514: getting the list of changes is not easyv8.0.1514Bram Moolenaar2018-02-132-0/+49
| | | | | | Problem: Getting the list of changes is not easy. Solution: Add the getchangelist() function. (Yegappan Lakshmanan, closes #2634)
* patch 8.0.1510: cannot test if a command causes a beepv8.0.1510Bram Moolenaar2018-02-132-0/+12
| | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps().
* patch 8.0.1509: test for failing drag-n-drop command no longer failsv8.0.1509Bram Moolenaar2018-02-121-1/+5
| | | | | Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature.
* patch 8.0.1508: the :drop command is not always availablev8.0.1508Bram Moolenaar2018-02-122-37/+32
| | | | | Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
* patch 8.0.1507: timer test is a bit flakyv8.0.1507Bram Moolenaar2018-02-121-0/+1
| | | | | Problem: Timer test is a bit flaky. Solution: Add it to the list of flaky tests.
* patch 8.0.1498: getjumplist() returns duplicate entriesv8.0.1498Bram Moolenaar2018-02-111-4/+2
| | | | | Problem: Getjumplist() returns duplicate entries. (lacygoill) Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
* patch 8.0.1497: getting the jump list requires parsing the output of :jumpsv8.0.1497Bram Moolenaar2018-02-102-0/+65
| | | | | Problem: Getting the jump list requires parsing the output of :jumps. Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609)
* patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar2018-02-101-0/+55
| | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
* patch 8.0.1493: completion items cannot be annotatedv8.0.1493Bram Moolenaar2018-02-101-0/+120
| | | | | | Problem: Completion items cannot be annotated. Solution: Add a "user_data" entry to the completion item. (Ben Jackson, coses #2608, closes #2508)
* patch 8.0.1489: there is no easy way to get the global directoryv8.0.1489Bram Moolenaar2018-02-091-0/+9
| | | | | | | Problem: There is no easy way to get the global directory, esp. if some windows have a local directory. Solution: Make getcwd(-1) return the global directory. (Andy Massimino, closes #2606)
* patch 8.0.1488: emacs tags no longer workv8.0.1488Bram Moolenaar2018-02-091-0/+28
| | | | | Problem: Emacs tags no longer work. (zdohnal) Solution: Do not skip over end of line.
* patch 8.0.1486: accessing invalid memory with "it"v8.0.1486Bram Moolenaar2018-02-091-0/+13
| | | | | | Problem: Accessing invalid memory with "it". (Dominique Pelle) Solution: Avoid going over the end of the line. (Christian Brabandt, closes #2532)
* patch 8.0.1482: using feedkeys() does not work to test completionv8.0.1482Bram Moolenaar2018-02-093-5/+15
| | | | | | | Problem: Using feedkeys() does not work to test Insert mode completion. (Lifepillar) Solution: Do not check for typed keys when executing :normal or feedkeys(). Fix thesaurus completion not working when 'complete' is empty.
* patch 8.0.1475: invalid memory access in read_redo()v8.0.1475Bram Moolenaar2018-02-061-0/+7
| | | | | | Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes #2616)
* patch 8.0.1469: when package path is a symlink 'runtimepath' is wrongv8.0.1469Bram Moolenaar2018-02-041-7/+44
| | | | | | | Problem: When package path is a symlink adding it to 'runtimepath' happens at the end. Solution: Do not resolve symlinks before locating the position in 'runtimepath'. (Ozaki Kiichi, closes #2604)
* patch 8.0.1465: python2 and python3 detection not testedv8.0.1465Bram Moolenaar2018-02-031-1/+4
| | | | | | Problem: Python2 and python3 detection not tested. (Matej Cepl) Solution: Add test for detecting python2 and python3. Also detect a script using "js" as javascript.
* patch 8.0.1464: completing directory after :find does not add slashv8.0.1464Bram Moolenaar2018-02-031-0/+6
| | | | | Problem: Completing directory after :find does not add slash. Solution: Adjust the flags for globpath(). (Genki Sky)
* patch 8.0.1463: test fails without 'autochdir' optionv8.0.1463Bram Moolenaar2018-02-031-0/+3
| | | | | Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported.
* patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar2018-02-031-0/+56
| | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
* patch 8.0.1458: filetype detection test does not check all scriptsv8.0.1458Bram Moolenaar2018-02-031-0/+34
| | | | | Problem: Filetype detection test does not check all scripts. Solution: Add most scripts to the test
* patch 8.0.1456: timer test on travis Mac is still flakyv8.0.1456Bram Moolenaar2018-02-031-1/+1
| | | | | Problem: Timer test on travis Mac is still flaky. Solution: Increase time range a bit more.
* patch 8.0.1455: if $SHELL contains a space then 'shell' is incorrectv8.0.1455Bram Moolenaar2018-02-031-0/+14
| | | | | | Problem: If $SHELL contains a space then the default value of 'shell' is incorrect. (Matthew Horan) Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
* patch 8.0.1453: terminal test fails on some slow terminalsv8.0.1453Bram Moolenaar2018-02-021-1/+1
| | | | | Problem: Terminal test fails on some slow terminals. Solution: Increase timeout to 10 seconds.
* patch 8.0.1452: terminal test fails on some systemsv8.0.1452Bram Moolenaar2018-02-021-4/+12
| | | | | | Problem: Terminal test fails on some systems. (jonathonf) Solution: Use "cat" instead of Python to produce the input. Add a delay. (closes #2607)
* patch 8.0.1448: segfault with exception inside :rubyfile commandv8.0.1448Bram Moolenaar2018-01-311-0/+8
| | | | | | | Problem: Segmentation fault when Ruby throws an exception inside :rubyfile command. Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa, closes #2147, greywolf, closes #2512, #2511)
* patch 8.0.1447: still too many old style testsv8.0.1447Bram Moolenaar2018-01-3112-578/+603
| | | | | | Problem: Still too many old style tests. Solution: Turn a few tests into new style. (Yegappan Lakshmanan, closes #2509)
* patch 8.0.1446: acessing freed memory after window command in auto commandv8.0.1446Bram Moolenaar2018-01-311-0/+11
| | | | | | | Problem: Acessing freed memory after window command in auto command. (gy741) Solution: Adjust the pointer in the parent frame. (Christian Brabandt, closes #2467)
* patch 8.0.1445: cannot act on edits in the command linev8.0.1445Bram Moolenaar2018-01-311-0/+12
| | | | | | Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, closes #2524)
* patch 8.0.1441: using ":undo 0" leaves undo in wrong statev8.0.1441Bram Moolenaar2018-01-301-0/+44
| | | | | | Problem: Using ":undo 0" leaves undo in wrong state. Solution: Instead of searching for state 1 and go above, just use the start. (Ozaki Kiichi, closes #2595)
* patch 8.0.1440: terminal window: some vterm responses are delayedv8.0.1440Bram Moolenaar2018-01-302-0/+25
| | | | | | Problem: Terminal window: some vterm responses are delayed. Solution: After writing input. check if there is output to read. (Ozaki Kiichi, closes #2594)
* patch 8.0.1438: filetype detection test not updated for changev8.0.1438Bram Moolenaar2018-01-291-1/+3
| | | | | Problem: Filetype detection test not updated for change. Solution: Update the test.
* patch 8.0.1433: illegal memory access after undov8.0.1433Bram Moolenaar2018-01-271-0/+9
| | | | | | Problem: Illegal memory access after undo. (Dominique Pelle) Solution: Avoid the column becomes negative. (Christian Brabandt, closes #2533)
* patch 8.0.1432: after ":copen" can't get the window-ID of the quickfix windowv8.0.1432Bram Moolenaar2018-01-271-0/+6
| | | | | | | Problem: After ":copen" can't get the window-ID of the quickfix window. (FalacerSelene) Solution: Make it work without a quickfix list. Add a test. (Yegappan Lakshmanan, closes #2541)
* patch 8.0.1429: crash when calling term_start() with empty argumentv8.0.1429Bram Moolenaar2018-01-261-0/+11
| | | | | | Problem: Crash when calling term_start() with empty argument. Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503) Fix memory leak.
* patch 8.0.1427: the :leftabove modifier doesn't work for :copenv8.0.1427Bram Moolenaar2017-12-261-0/+27
| | | | | Problem: The :leftabove modifier doesn't work for :copen. Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496)
* patch 8.0.1426: "gf" and <cfile> don't accept ? and & in URLv8.0.1426Bram Moolenaar2017-12-251-1/+6
| | | | | Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok) Solution: Check for a URL and allow for extra characters. (closes #2493)
* patch 8.0.1425: execute() does not work in completion of user commandv8.0.1425Bram Moolenaar2017-12-251-0/+12
| | | | | Problem: execute() does not work in completion of user command. (thinca) Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)
* patch 8.0.1424: the timer_pause test is flaky on Travisv8.0.1424Bram Moolenaar2017-12-231-1/+6
| | | | | Problem: The timer_pause test is flaky on Travis. Solution: Accept a longer sleep time on Mac.
* patch 8.0.1423: error in return not caught by try/catchv8.0.1423Bram Moolenaar2017-12-233-2/+18
| | | | | Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)
* patch 8.0.1421: accessing invalid memory with overlong byte sequencev8.0.1421Bram Moolenaar2017-12-221-0/+10
| | | | | Problem: Accessing invalid memory with overlong byte sequence. Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
* patch 8.0.1420: accessing freed memory in vimgrepv8.0.1420Bram Moolenaar2017-12-212-7/+40
| | | | | | Problem: Accessing freed memory in vimgrep. Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan, closes #2474)
* patch 8.0.1419: cursor column is not updated after ]sv8.0.1419Bram Moolenaar2017-12-211-0/+31
| | | | | Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag.
* patch 8.0.1418: no test for expanding backticksv8.0.1418Bram Moolenaar2017-12-201-8/+17
| | | | | Problem: No test for expanding backticks. Solution: Add a test. (Dominique Pelle, closes #2479)
* patch 8.0.1417: test doesn't search for a sentencev8.0.1417Bram Moolenaar2017-12-191-1/+3
| | | | | | Problem: Test doesn't search for a sentence. Still fails when searching for start of sentence. (Dominique Pelle) Solution: Add paren. Check for MAXCOL in dec().
* patch 8.0.1416: crash when searching for a sentencev8.0.1416Bram Moolenaar2017-12-191-0/+7
| | | | | Problem: Crash when searching for a sentence. Solution: Return NUL when getting character at MAXCOL. (closes #2468)