aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
| * | 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.
* build: `oldtest` target: TEST_FILE, NVIM_PRG (#6098)Justin M. Keyes2017-02-12
| | | | | | | | | | | | | | | | | | | | | | - Add support for TEST_FILE to the `oldtest` target, for consistency with the busted/lua tests. Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas for `oldtest` it must be "test_foo.res". - Add support for NVIM_PRG, again so that all test-related targets are consistent. - Use consistent name for NVIM_PRG. But still need to support NVIM_PROG for QuickBuild CI. Note: The `oldtest` target is driven by the top-level Makefile, because it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to add_custom_target(). But we support CMake 2.8... add_custom_target(oldtest COMMAND make clean COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES} DEPENDS nvim WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir" USES_TERMINAL true )
* Merge pull request #6089 from jamessan/vim-7.4.1948James McCoy2017-02-10
|\ | | | | vim-patch:7.4.1948,7.4.1954,7.4.1962
| * vim-patch:7.4.1962James McCoy2017-02-10
| | | | | | | | | | | | | | | | Problem: Two test files for increment/decrement. Solution: Move the old style test into the new style test. (Hirohito Higashi, closes vim/vim#881) https://github.com/vim/vim/commit/52df117df724a7ad20affdf15214d2df2e507dcc
| * Re-add upstream's test_increment.vimJames McCoy2017-02-10
| |
| * vim-patch:7.4.1954James McCoy2017-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for what 7.4.1948 fixes. Solution: Add a test. (Hirohito Higashi, closes vim/vim#880) https://github.com/vim/vim/commit/d388d2ac8bf8c770bf97dc406e99a20ba5104855 Some adjustments had to be made from upstream since nvim always uses utf-8 internally. * Removed the 'set encoding=cp932' line from the test * Adjusted the expected values for getpos(), since the number of bytes is different in utf-8
* | Merge pull request #6076 from lonerover/vim-7.4.2275James McCoy2017-02-10
|\ \ | |/ |/| vim-patch: 7.4.2275,7.4.2279
| * vim-patch:7.4.2275lonerover2017-02-07
| | | | | | | | | | | | | | Problem: ":diffoff!" does not remove filler lines. Solution: Force a redraw and invalidate the cursor. (closes vim/vim#1014) https://github.com/vim/vim/commit/e67d546f3c691139e6d3d33f36724d98aec04c14
* | fix cscope test failurerover2017-02-10
| |
* | vim-patch:7.4.2295rover2017-02-10
| | | | | | | | | | | | | | Problem: Cscope test fails. Solution: Avoid checking for specific line and column numbers. https://github.com/vim/vim/commit/4792255eff03760dca0fd014616532e6d47db364
* | vim-patch:7.4.2175rover2017-02-10
| | | | | | | | | | | | | | Problem: Insufficient testing of cscope. Solution: Add more tests. (Dominique Pelle) https://github.com/vim/vim/commit/812ad4f3a2cb33002a24f6b5862c7b375cd68fe4
* | vim-patch:7.4.2159rover2017-02-10
| | | | | | | | | | | | | | Problem: Insufficient testing for cscope. Solution: Add more tests. (Dominique Pelle) https://github.com/vim/vim/commit/5971dab1126d6279c6e523f4fedc2f1e6fb9b4c9
* | vim-patch:7.4.2148rover2017-02-10
| | | | | | | | | | | | | | Problem: Not much testing for cscope. Solution: Add a test that uses the cscope program. (Christian Brabandt) https://github.com/vim/vim/commit/edf634e0f1985c5ea1afb5b480b47a44cabbce34
* | oldtest: Add vim-default for 'backspace' to runtest.vimlonerover2017-02-09
| |
* | vim-patch:7.4.2088lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Keymap test fails with normal features. Solution: Bail out if the keymap feature is not supported. https://github.com/vim/vim/commit/f36213597d737ab500771e87edcf121acd55e277
* | vim-patch:7.4.2087lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Digraph code test coverage is still low. Solution: Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/e25bc5abb4621c6263b0248988a207d53b57fc54
* | vim-patch:7.4.2086lonerover2017-02-09
| | | | | | | | | | | | | | | | Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
* | vim-patch:7.4.2085lonerover2017-02-09
| | | | | | | | | | | | | | Problem: Digraph tests fails on some systems. Solution: Run it separately and set 'encoding' early. https://github.com/vim/vim/commit/dfd63e30d13fff5603416b6c7e247cebeb003eb0
* | vim-patch:7.4.2084lonerover2017-02-09
| | | | | | | | | | | | | | Problem: New digraph test makes testing hang. Solution: Don't set "nocp". https://github.com/vim/vim/commit/60084333816c585d5858bc085b2942f813102ae3
* | vim-patch:7.4.2082lonerover2017-02-09
|/ | | | | | | Problem: Not much test coverage for digraphs. Solution: Add a new style digraph test. (Christian Brabandt) https://github.com/vim/vim/commit/397eadbe25370394e0dc3cb18766533a15b8d1c0
* tests: Migrate legacy test 8. #4179Lucas Hoffmann2017-02-03
| | | | | The test produces some "hit enter" prompts and error messages that had to be dealt with by `feed`ing CTRL-L to nvim.
* Merge #2990 'tests: Migrate legacy test 69.'Justin M. Keyes2017-02-03
|\
| * tests: Migrate legacy test 69.Lucas Hoffmann2016-05-23
| |
* | vim-patch:7.4.2081lonerover2017-01-19
| | | | | | | | | | | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1542744e788d96fed24dd421f43009288092504
* | vim-patch:7.4.2050lonerover2017-01-19
| | | | | | | | | | | | | | Problem: When using ":vimgrep" may end up with duplicate buffers. Solution: When adding an error list entry pass the buffer number if possible. https://github.com/vim/vim/commit/015102e91e978a0bb42a14461c132a85e8f7e1ea
* | vim-patch:7.4.2049lonerover2017-01-19
| | | | | | | | | | | | | | Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory". https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
* | vim-patch:7.4.2031 (#5955)Shougo2017-01-16
| | | | | | | | | | | | | | | | Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets 'textwidth' to a non-zero value. (Oyvind A. Holm) Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe value. (partly by Christian Brabandt, closes vim/vim#912) https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
* | Merge #5918 'vim-patch: 7.4.2006, 7.4.2075, 7.4.2077, 7.4.2117, 7.4.2300, ↵Justin M. Keyes2017-01-16
|\ \ | | | | | | | | | 7.4.2313, 7.4.2314'.
| * | vim-patch:7.4.2314lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | Problem: No error when deleting an augroup while it's the current one. Solution: Disallow deleting an augroup when it's the current one. https://github.com/vim/vim/commit/de653f08805dde14424d417502a0480a6ad292f8
| * | vim-patch:7.4.2313lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when deleting an augroup and listing an autocommand. (Dominique Pelle) Solution: Make sure deleted_augroup is valid. https://github.com/vim/vim/commit/b62cc36a600e2e1e5a1d1d484fef89898c847c4c
| * | vim-patch:7.4.2300lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Get warning for deleting autocommand group when the autocommand using the group is scheduled for deletion. (Pavol Juhas) Solution: Check for deleted autocommand. https://github.com/vim/vim/commit/5c80908ced601be6db7554a147cdb0f98ac8daa1
| * | vim-patch:7.4.2117lonerover2017-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Deleting an augroup that still has autocmds does not give a warning. The next defined augroup takes its place. Solution: Give a warning and prevent the index being used for another group name. https://github.com/vim/vim/commit/f2c4c391192cab6e923b1a418d4af09106fba25f
| * | vim-patch:7.4.2077rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot update 'tabline' when a tab was closed. Solution: Add the TabClosed autocmd event. (partly by Felipe Morales) https://github.com/vim/vim/commit/12c11d553053f5a9eae9eb3c518279b12fa928c2
| * | vim-patch:7.4.2075rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | Problem: No autocommand event to initialize a window or tab page. Solution: Add WinNew and TabNew events. (partly by Felipe Morales) https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
| * | vim-patch:7.4.2006rover2017-01-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi) Solution: First check that the current buffer is the right one. (Hirohito Higashi) https://github.com/vim/vim/commit/30445cb6e94698d212ba866ef3e4022ac625540a
* | | test: fix syntax errorJustin M. Keyes2017-01-15
| | | | | | | | | | | | Also re-arrange the test to match Vim upstream.
* | | vim-patch:7.4.2160 (#5952)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: setmatches() mixes up values. (Nikolai Pavlov) Solution: Save the string instead of reusing a shared buffer. https://github.com/vim/vim/commit/7dc5e2e486fe0287601968e535902a41a39f65bb
* | | vim-patch:7.4.1968 (#5949)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: Invalid memory access with "\<C-">. Solution: Do not recognize this as a special character. (Dominique Pelle) https://github.com/vim/vim/commit/1d90a5a5af84250e226f8a9121e771f7b72aa894
* | | vim-patch:7.4.1910 (#5948)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: Tests using external command to delete directory. Solution: Use delete(). https://github.com/vim/vim/commit/abc70bbf363dbbe3f2bf714102f55648a512791e
* | | vim-patch:7.4.1851 (#5947)Shougo2017-01-15
| | | | | | | | | | | | | | | | | | Problem: test_syn_attr failes when using the GUI. (Dominique Pelle) Solution: Escape the font name properly. https://github.com/vim/vim/commit/180fc2d41812c49b60224a1ca89945a002a090f5