aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* Merge #6254 'vim-patch:7.4.2135,7.4.2144,7.4.2151'Justin M. Keyes2017-03-15
|\
| * vim-patch:7.4.2151lonerover2017-03-11
| | | | | | | | | | | | | | Problem: Quickfix test fails on MS-Windows. Solution: Close the help window. (Christian Brabandt) https://github.com/vim/vim/commit/cf25fdb8f10a92b3bf9e295c466c1b69812b7886
* | Merge #6252 from jamessan/vim-7.4.2069Justin M. Keyes2017-03-15
|\ \ | | | | | | vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
| * | vim-patch:7.4.2223James McCoy2017-03-11
| | | | | | | | | | | | | | | | | | | | | Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test. https://github.com/vim/vim/commit/d3c907b5d2b352482b580a0cf687cbbea4c19ea1
| * | vim-patch:7.4.2222James McCoy2017-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sourcing a script where a character has 0x80 as a second byte does not work. (Filipe L B Correia) Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian Brabandt, closes vim/vim#728) Add a test case. https://github.com/vim/vim/commit/6bff02eb530aa29aafa2cb5627399837be7a5dd5
* | | vim-patch:7.4.2264 (#6275)lonerover2017-03-14
| | | | | | | | | | | | | | | | | | Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6
* | | vim-patch:7.4.2305lonerover2017-03-13
| | | | | | | | | | | | | | | | | | | | | Problem: Marks, writefile and nested function tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261
* | | vim-patch:7.4.2208lonerover2017-03-13
| | | | | | | | | | | | | | | | | | | | | Problem: Test for mappings is old style. Solution: Convert the test to new style. https://github.com/vim/vim/commit/2d1a248762f069e470acde389ff4686a45d2f817
* | | Merge #6261 from lonerover/vim-ac80999Justin M. Keyes2017-03-13
|\ \ \ | | | | | | | | vim-patch: ac80999,7.4.2185,7.4.2187,7.4.2196
| * | | vim-patch:7.4.2196lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: glob2regpat test doesn't test everything on MS-Windows. Solution: Add patterns with backslash handling. https://github.com/vim/vim/commit/91c5262b19fd2e558fe87b78c7767c7c5a270be8
| * | | vim-patch:7.4.2187lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: glob2regpat test fails on Windows. Solution: Remove the checks that use backslashes. https://github.com/vim/vim/commit/7547a78446c1a3c04b36c0533f0f046188bd378b
| * | | vim-patch:7.4.2185lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test glob2regpat does not test much. Solution: Add a few more test cases. (Dominique Pelle) https://github.com/vim/vim/commit/71dd9744cf3842cd45295010d2e5692da1651537
| * | | vim-patch:ac80999lonerover2017-03-12
| |/ / | | | | | | | | | | | | | | | add missing test file https://github.com/vim/vim/commit/ac80999985299dae4a9ef56dbf31fbdb35c04c08
* / / vim-patch:8.0.0453 (#6266)Matthieu Coudron2017-03-13
|/ / | | | | | | | | | | Problem: Adding fold marker creates new comment. Solution: Use an existing comment if possible. (LemonBoy, closes vim/vim#1549) https://github.com/vim/vim/commit/025a6b708a9bff54c73fb9c641b980da19e943a9
* / vim-patch:8.0.0068 (#6243)Daniel Hahler2017-03-11
|/ | | | | | | | Problem: Checking did_throw after executing autocommands is wrong. (Daniel Hahler) Solution: Call aborting() instead, and only when autocommands were executed. https://github.com/vim/vim/commit/21662be2211675824df1771c7f169948ede40c41
* vim-patch:7.4.2299 (#6232)Jurica Bradarić2017-03-07
| | | | | | | Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always triggered. Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/04c4ce650f9e533cd35b2aa6803f4d354d3ec7aa
* vim-patch:7.4.2265Jurica Bradaric2017-03-07
| | | | | | | Problem: printf() isn't tested much. Solution: Add more tests for printf(). (Dominique Pelle) https://github.com/vim/vim/commit/76efafba2af36ae5f6c7b79b56c537fcbcdb386c
* vim-patch:7.4.2220Jurica Bradaric2017-03-06
| | | | | | | | Problem: printf() gives an error when the argument for %s is not a string. (Ozaki Kiichi) Solution: Behave like invoking string() on the argument. (Ken Takata) https://github.com/vim/vim/commit/e5a8f35b4286135f3469f3b00a6c2220553d9658
* vim-patch:8.0.0347Shougo Matsushita2017-03-05
| | | | | | | | Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment leader may not work. (Klement) Solution: Save and restore did_ai. (Christian Brabandt, closes vim/vim#1494) https://github.com/vim/vim/commit/d099e033703ce0772f152b8df8a763f0b65303ee
* vim-patch:8.0.0319Shougo Matsushita2017-03-05
| | | | | | | | Problem: Insert mode completion does not respect "start" in 'backspace'. Solution: Check whether backspace can go before where insert started. (Hirohito Higashi) https://github.com/vim/vim/commit/190b04cdd936f4696c22466b7f077f9371d96580
* vim-patch:7.4.1981 (#6192)lonerover2017-03-02
| | | | | | Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code. https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
* vim-patch:8.0.0135Justin M. Keyes2017-03-02
| | | | | | | | Problem: An address relative to the current line, ":.,+3y", does not work properly on a closed fold. (Efraim Yawitz) Solution: Correct for including the closed fold. (Christian Brabandt) https://github.com/vim/vim/commit/ded2782783f352201ac0b05c6dbe4831adb4a58b
* vim-patch:7.4.2098James McCoy2017-02-27
| | | | | | | Problem: Text object tests are old style. Solution: Turn them into new style tests. (James McCoy, closes vim/vim#941) https://github.com/vim/vim/commit/00b24be454800f544676aa8850fb4378a568901e
* Merge pull request #6190 from jamessan/vim-7.4.1991James McCoy2017-02-27
|\ | | | | vim-patch:7.4.1991,7.4.1992,7.4.1993,7.4.1994
| * vim-patch:7.4.1994James McCoy2017-02-27
| | | | | | | | | | | | | | Problem: True-false test fails. Solution: Filter the dict to only keep the value that matters. https://github.com/vim/vim/commit/05e418d436410cd8bbf5a29ff81e8ad68408b1e8
| * vim-patch:7.4.1993James McCoy2017-02-27
| | | | | | | | | | | | | | Problem: Not all TRUE and FALSE arguments are tested. Solution: Add a few more tests. https://github.com/vim/vim/commit/6bb450145e96d7b182769fd9502a267da72667ec
| * vim-patch:7.4.1992James McCoy2017-02-27
| | | | | | | | | | | | | | | | Problem: Values for true and false can be confusing. Solution: Update the documentation. Add a test. Make v:true evaluate to TRUE for a non-zero-arg. https://github.com/vim/vim/commit/e381d3d5e098546854b008e01ca1d28ba1a4a057
* | Merge pull request #6121 from lonerover/vim-7.4.2046James McCoy2017-02-27
|\ \ | | | | | | | | | vim-patch:7.4.2046
| * | vim-patch:7.4.2061lonerover2017-02-16
| | | | | | | | | | | | | | | | | | | | | Problem: qf_init_ext() is too big. Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e87e6dddc2b2a99572ec0db0833c052214c4fbd3
* | | vim-patch:7.4.2200James McCoy2017-02-27
| |/ |/| | | | | | | | | | | | | Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d823fa910cca43fec3c31c030ee908a14c272640
* | vim-patch:7.4.2230 (#6080)lonerover2017-02-25
| | | | | | | | | | | | | | Problem: There is no equivalent of 'smartcase' for a tag search. Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian Brabandt, closes vim/vim#712) Turn tagcase test into new style. https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
* | Merge pull request #5771 from brcolow/lambdaJames McCoy2017-02-23
|\ \ | | | | | | Lambda Support
| * | Allow lambdas to be used with jobs, timers and dictwatchers.Michael Ennen2017-02-14
| | |
| * | vim-patch:7.4.2235Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: submatch() does not check for a valid argument. Solution: Give an error if the argument is out of range. (Dominique Pelle) https://github.com/vim/vim/commit/989f592f7ffcbafdc4ec35cee4dc65bd053e2077
| * | vim-patch:7.4.2233Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: Crash when using funcref() with invalid name. (Dominique Pelle) Solution: Check for NULL translated name. https://github.com/vim/vim/commit/843b884461de1c79a1d2748549776fb13fc94360
| * | vim-patch:7.4.2137Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues. https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
| * | vim-patch:7.4.2136Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: Closure function fails. Solution: Don't reset uf_scoped when it points to another funccal. https://github.com/vim/vim/commit/580164481924ed8611eb79f0247a0eb1ca0b3b9a
| * | vim-patch:7.4.2134Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata) https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644
| * | vim-patch:7.4.2120Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: User defined functions can't be a closure. Solution: Add the "closure" argument. Allow using :unlet on a bound variable. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/10ce39a0d52272a3dfff2feb8c631529f29e6740
| * | vim-patch:7.4.2119Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
| * | vim-patch:7.4.2096Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: Lambda functions show up with completion. Solution: Don't show lambda functions. (Ken Takata) https://github.com/vim/vim/commit/b49edc11a1872fa99befa9a4a8ea6c8537868038
| * | vim-patch:7.4.2090Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using submatch() in a lambda passed to substitute() is verbose. Solution: Use a static list and pass it as an optional argument to the function. Fix memory leak. https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
| * | vim-patch:7.4.2076Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: Syntax error when dict has '>' key. Solution: Check for endchar. (Ken Takata) https://github.com/vim/vim/commit/4f0383bc3fe5af0229fb66b53fe94329af783eff
| * | vim-patch:7.4.2072Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: substitute() does not support a Funcref argument. Solution: Support a Funcref like it supports a string starting with "\=". https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
| * | vim-patch:7.4.2044Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: filter() and map() either require a string or defining a function. Solution: Support lambda, a short way to define a function that evaluates an expression. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
| * | vim-patch:7.4.2002Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing number to filter() or map(). Solution: Convert to a string. (Ozaki Kiichi) https://github.com/vim/vim/commit/a06ec8f345eabb66e5b7d7c0192cfebdde63115d
| * | vim-patch:7.4.1989Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: filter() and map() only accept a string argument. Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
| * | vim-patch:7.4.1727Michael Ennen2017-02-14
| |/ | | | | | | | | | | | | | | Problem: Cannot detect a crash in tests when caused by garbagecollect(). Solution: Add garbagecollect_for_testing(). Do not free a job if is still useful. https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e
* / vim-patch:8.0.0341 (#6151)Shougo2017-02-23
|/ | | | | | | Problem: When using complete() and typing a character undo is saved after the character was inserted. (Shougo) Solution: Save for undo before inserting the character. https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70
* ci: Do not use `oldtest` target on Travis. (#6101)Justin M. Keyes2017-02-13
| | | | | | | | | We must invoke src/nvim/testdir/Makefile directly. Explained in 3d1084f264ed08ed75d038510e2e53359d8544eb: > Running tests from the top-level Makefile will use the third-party > dependencies from .deps instead of the ones from the Travis cache. If we could run `oldtest` with CMake, we would not need to do this. Need USES_TERMINAL feature (CMake 3.2+) for that.