aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
| * | | option: Do not expand options, obtained from XDG varsZyX2016-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a wrong thing to do, this makes valid variable values be treated incorrectly: in XDG_DATA_HOME='/home/$foo/.local/share' `$foo` should be treated literally and not expanded to `foo` environment variable value. Also makes option_expand not try to expand too long strings even if these too long strings are default values. Previously it thought that default values should always be expanded. Also does not try to expand NULL should it be the default value just in case. Fixes #4961
* | | | vim-patch:7.4.1305 #5094Michael Ennen2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "\%1l^#.*" does not match on a line starting with "#". Solution: Do not clear the start-of-line flag. (Christian Brabandt) https://github.com/vim/vim/commit/7c29f387819b5817b003d2ba73e2b5cf3cb3d0dd Helped-by: jamessan Helped-by: mhinz
* | | | eval.c: rename capture() to execute() (#5132)Justin M. Keyes2016-07-31
| | | |
* | | | test: fixKillTheMule2016-07-29
| | | |
* | | | Merge #2850Justin M. Keyes2016-07-28
|\ \ \ \
| * | | | A bit of lintingKillTheMule2016-07-28
| | | | |
| * | | | tests: Update migrated legacy test 30 for patch 7.4.643.Lucas Hoffmann2016-05-23
| | | | | | | | | | | | | | | | | | | | The patch was merged into master at f104ce2d.
| * | | | tests: Migrate legacy test 30.Lucas Hoffmann2016-05-23
| | |/ / | |/| | | | | | | | | | | | | | The original test did also create additional auxiliary files which where never used. They are not created any longer.
* | | | mouse.c: Adjust clicked column if chars are concealed (#5087)Tommy Allen2016-07-28
| | | | | | | | | | | | | | | | | | | | syntax.c: Added syn_get_concealed_id() tests: Added tests for mouse clicks on concealed text.
* | | | vim-patch:7.4.1179 (#5112)Hirokazu Hata2016-07-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: test_writefile and test_viml do not delete the tempfile. Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript(). https://github.com/vim/vim/commit/f4f79b84a5595c511f6fdbe4e3e1d188d97879a0
* | | | vim-patch:7.4.1703James McCoy2016-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't assert for not equal and not matching. Solution: Add assert_notmatch() and assert_notequal(). https://github.com/vim/vim/commit/b50e5f56861deb867478997397f7c784a7043233
* | | | vim-patch:7.4.1663James McCoy2016-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: In tests it's often useful to check if a pattern matches. Solution: Add assert_match(). https://github.com/vim/vim/commit/ea6553bec340920d8a09c7210cdc2d218e25ace2
* | | | Merge #5058Justin M. Keyes2016-07-18
|\ \ \ \
| * | | | vim-patch:7.4.1548Patrick2016-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Two tests fail. Solution: Adjust the expected error number. Remove check for type. https://github.com/vim/vim/commit/5a2800fd141a8fc0c80cdf421dcb76001a22327f
* | | | | test: PTY descendants should not prevent exit.Justin M. Keyes2016-07-16
| | | | |
* | | | | Merge #5068 'justinmk/output_spec'Justin M. Keyes2016-07-14
|\ \ \ \ \
| * | | | | test: output_specJustin M. Keyes2016-07-14
| | | | | | | | | | | | | | | | | | | | | | | | Reference: https://github.com/neovim/neovim/issues/3772#issuecomment-162334005
* | | | | | clipboard: fix v:register when clipboard=unnamed,unnamedplusBjörn Linse2016-07-12
| |/ / / / |/| | | |
* | | | | Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add :ruby, :rubyfile, and :rubydo ex commandsAlex Genco2016-07-02
| | | | |
* | | | | Merge #4991 'vim-patch:7.4.1140'Justin M. Keyes2016-07-09
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | vim-patch:7.4.1140Patrick2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Recognizing <sid> does not work when the language is Turkish. (Christian Brabandt) Solution: Use MB_STNICMP() instead of STNICMP(). https://github.com/vim/vim/commit/e266d6d664d6d743c79797af400b2c01ec746216 Note: Added new test
* | | | | vim-patch:7.4.1840James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using packages an "after" directory cannot be used. Solution: Add the "after" directory of the package to 'runtimepath' if it exists. https://github.com/vim/vim/commit/a57024453115592b8847af40ddd965a33898e390
* | | | | vim-patch:7.4.1712James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: For plugins in packages, plugin authors need to take care of all dependencies. Solution: When loading "start" packages and for :packloadall, first add all directories to 'runtimepath' before sourcing plugins. https://github.com/vim/vim/commit/49b27326447d0827c59c6cd201d58f65c1163086
* | | | | vim-patch:7.4.1554James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Completion for :colorscheme does not use 'packpath'. Solution: Make it work, add a test. (Hirohito Higashi) https://github.com/vim/vim/commit/52f9c19015df5ee1ee8592b6f3f15b8a57c8f5be
* | | | | vim-patch:7.4.1553James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":runtime" does not use 'packpath'. Solution: Add "what" argument. https://github.com/vim/vim/commit/8dcf259d904cfb965d31841dc74a5cfaf5a351d9
* | | | | vim-patch:7.4.1552James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'. https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
* | | | | vim-patch:7.4.1551James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot generate help tags in all doc directories. Solution: Make ":helptags ALL" work. https://github.com/vim/vim/commit/6bef5306e4f2cacb3a93667992c2312d4b293c9d
* | | | | vim-patch:7.4.1550James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot load packages early. Solution: Add the ":packloadall" command. https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
* | | | | vim-patch:7.4.1499James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error message when :packadd does not find anything. Solution: Add an error message. (Hirohito Higashi) https://github.com/vim/vim/commit/be82c254862e475a582c0717455e1db6bf96b0d0
* | | | | vim-patch:7.4.1492James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No command line completion for ":packadd". Solution: Implement completion. (Hirohito Higashi) https://github.com/vim/vim/commit/35ca0e7a1cb6e6daef8e0052a8437801226cef19
* | | | | vim-patch:7.4.1486James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":loadplugin" is not optimal, some people find it confusing. Solution: Only use ":packadd" with an optional "!". https://github.com/vim/vim/commit/f3654827368e6204608036353a0360e9e7c21e02
* | | | | vim-patch:7.4.1480James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot add a pack direcory without loading a plugin. Solution: Add the :packadd command. https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
* | | | | vim-patch:7.4.1479James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No testfor ":loadplugin". Solution: Add a test. Fix how option is being set. https://github.com/vim/vim/commit/863c1a9079fa340d663ccafb011729a29186d73e
* | | | | vim-patch:7.4.1111 (#5004)prollings2016-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: test_expand fails on MS-Windows. Solution: Always use forward slashes. Remove references to test27. https://github.com/vim/vim/commit/f60b796fa9870bdfc4cdeb91653bac041916077d
* | | | | test: TUI colors: Skip TERM=linux on non-linux. (#5015)Justin M. Keyes2016-07-06
| | | | | | | | | | | | | | | Also skip TERM=screen (GNU, so probably not common on BSD)
* | | | | test/functional: sleep()Justin M. Keyes2016-07-03
| | | | |
* | | | | test: TUI colors ('t_Co')Justin M. Keyes2016-07-03
| |/ / / |/| | |
* | | | vim-patch:7.4.1121 (#4989)prollings2016-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: test_expand leaves files behind. Solution: Edit another file before deleting, otherwise the swap file remains. https://github.com/vim/vim/commit/08b270a8a4544be9a7fecce311834fde2b457634
* | | | Tests: check 'autochdir' on startupMarco Hinz2016-07-02
| | | |
* | | | Merge pull request #4880 from bfredl/zerotimerBjörn Linse2016-07-01
|\ \ \ \ | | | | | | | | | | make timers work correctly when timeout or repeat is zero
| * | | | timers: make repeat=0 work one-shot (consistent with vim)Björn Linse2016-06-29
| | | | |
| * | | | timers: make timers work with zero timeoutBjörn Linse2016-06-29
| | | | |
* | | | | Add test for :dropKillTheMule2016-07-01
| |/ / / |/| | | | | | | | | | | Cf. https://github.com/neovim/neovim/pull/4995
* | | | vim-patch:7.4.1136Patrick2016-06-30
|/ / / | | | | | | | | | | | | | | | | | | | | | Problem: Wrong argument to assert_exception() causes a crash. (reported by Coverity) Solution: Check for NULL pointer. Add a test. https://github.com/vim/vim/commit/da5dcd936656f524dd0ae7cb2685245f07f5720f
* | | Merge #4984 'Trigger TabNewEntered with <CTRL-W>T'Justin M. Keyes2016-06-28
|\ \ \ | |/ / |/| | | | | Closes #4979
| * | [RFC] Fix #4979: Trigger TabNewEntered also with <CTRL-W>TDimitri Merejkowsky2016-06-28
|/ / | | | | | | Original patch by @fmoralesc
* | msgpack_rpc: Fix crash in log_server_msgZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | | | It appears that used msgpack library is not able to parse back message created by msgpack_rpc_from_object() if nesting level is too high, so log_server_msg now cares about msgpack_unpack_next() return value. Also error message from server_notifications_spec.lua is not readable if something is wrong (though at least now it does not crash when parsing deeply nested structures). log_server_msg() in the test reports [msgpack-rpc] nvim -> client(1) [error] "parse error"
* | msgpack_rpc: Also make msgpack_from_*/msgpack_to_* functions not recurZyX2016-06-24
| | | | | | | | | | | | This removes some stack overflows in new test regarding deeply nested variables. Now in place of crashing vim_to_object/msgpack_rpc_from_object/etc it crashes clear_tv with stack overflow.
* | api/helpers: Use typval_encode.h for vim_to_objectZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | This ought to prevent stack overflow, but I do not see this actually working: *lua* code crashes with stack overflow when trying to deserialize msgpack from Neovim, Neovim is fine even if nesting level is increased 100x (though test becomes very slow); not sure how recursive function may survive this. So it looks like there are currently only two positive effects: 1. NULL lists are returned as empty (#4596). 2. Functional tests are slightly more fast. Very slightly. Checked for Release build for test/functional/eval tests because benchmarking of debug mode is not very useful.