aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* shell_escape: rename; refactorJustin M. Keyes2016-09-11
| | | | | | | | - rename to shell_xescape_xquote - move to os/shell.c - disallow NULL argument - eliminate casts, nesting - test: empty shellxquote/shellxescape
* system(): Respect 'sxe' and 'sxq' #2789Zhaosheng Pan2016-09-10
| | | | Fixes #2773
* Merge #5295 'health.vim'Justin M. Keyes2016-09-05
|\
| * health.vim: Show results incrementally.Justin M. Keyes2016-09-05
| | | | | | | | | | | | | | | | Also: - improve precision of "No healthcheck found" - fix SUGGESTIONS syntax group definition - fix indentation of SUGGESTIONS
* | shada: Fix non-writeable ShaDa directory handlingZyX2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, nvim -i /etc/shada segfaults on exit if the file does not exist and user does not have permissions to create the file at /etc/shada. Closes #5296 Reported in #5277 https://github.com/neovim/neovim/issues/5277#issuecomment-243937255
* | getcwd(): Return empty string if CWD is invalid. #5292HiPhish2016-09-04
|/ | | | | | | | | | Closes #5291 Restores behaviour identical to Vim. If the user calls the VimScript function 'getcwd()' and the working directory cannot be found (for example because the directory has been deleted since the last time it was used) an empty string needs to be returned instead of throwing an error.
* test: Add unittest spec for option.c (#5289)Kalle Ranki2016-09-04
| | | | | | | | Move typedef expand_T to types.h for tests Fix lint error for old style comments Describe 'check_ff_value' valid values as an initial test. Fix 'get_sts_value' comment inaccuracy and add unit test for it
* tchdir: New tab should inherit CWD. (#5227)Alejandro Sanchez2016-09-04
| | | | When a new tabpage gets created it will copy the local working directory of the previous one, if there is any.
* api: fix leak when a api function is incorrectly called with a list.Björn Linse2016-08-31
| | | | This applies both to msgpack-rpc and eval.
* api: add tests for calling the api from vimscriptBjörn Linse2016-08-31
|
* api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
|
* api: unify buffer numbers and window ids with handlesBjörn Linse2016-08-31
| | | | also allow handle==0 meaning curbuf/curwin/curtab
* Merge pull request #5225 from equalsraf/windows-functionaltestsBjörn Linse2016-08-31
|\ | | | | Enable functional tests in Appveyor
| * functionaltest: Create lua helper for os.tmpname()Rui Abreu Ferreira2016-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Windows Lua's os.tmpname() returns relative paths starting with \s, prepend them with $TEMP to generate a valid path. In OS X os.tmpname() returns paths in '/tmp' but they should be in '/private/tmp'. We cannot use os_name() for platform detection because some tests use tempname() before nvim is spawned, instead use one of the following: 1. Set SYSTEM_NAME environment variable before calling the tests, it is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows') 2. Call uname -s 3. Assume windows
| * Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
| |
* | api/ui: add tests for popupmenu_external eventsBjörn Linse2016-08-29
|/ | | | update screen.lua to use new style nvim_ui_attach
* Merge commit 'refs/pull/upstream/5156'Justin M. Keyes2016-08-22
|\
| * highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* | CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.Justin M. Keyes2016-08-21
| | | | | | | | | | | | | | | | | | To healthcheck the "foo" plugin: :CheckHealth foo To healthcheck the "foo" and "bar" plugins: :CheckHealth foo bar To run all auto-discovered healthchecks: :CheckHealth
* | CheckHealthJustin M. Keyes2016-08-21
| | | | | | | | | | | | | | - Overlay markdown syntax/filetype, don't invent new filetypes/syntaxes. - migrate s:check_ruby() - s:indent_after_line1 - Less-verbose output
* | CheckHealthTJ DeVries2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use execute() instead of redir - Fixed logic on suboptimal pyenv/virtualenv checks. - Move system calls from strings to lists. Fixes #5218 - Add highlighting - Automatically discover health checkers - Add tests Helped-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Helped-by: Tommy Allen <tommy@esdf.io> Closes #4932
* | job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | | | | | This makes stderr and exit callbacks work for rpc jobs
* | tests: Set env variables in RunTests.cmakeTommy Allen2016-08-17
|/ | | | | | - NVIM_RPLUGIN_MANIFEST - XDG_CONFIG_HOME - XDG_DATA_HOME
* api: handle null string in buffer_add_highlightBjörn Linse2016-08-17
|
* tests: add note to expect() message about snapshot_util()Björn Linse2016-08-14
|
* tests: don't ignore highlights in terminal testsBjörn Linse2016-08-14
|
* tests: don't ignore highlights in completion_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in various testsBjörn Linse2016-08-14
|
* tests: don't ignore highlights in screen_basic_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in mouse_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in syntax_conceal_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in highlight_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in searchhl_specBjörn Linse2016-08-14
|
* tests: don't ignore highlights in bufhl_specBjörn Linse2016-08-14
|
* tests: remove deprecated hl_colorsBjörn Linse2016-08-14
|
* Restore ":browse oldfiles" behavior from VimJames McCoy2016-08-11
| | | | | | | | | | | | In 3b12bb225adda2aac40a55f7009cae05311b2a43, ":oldfiles" was taught to behave like Vim's ":browse oldfiles" if ":oldfiles!" was used. However, this conflates the use of ! for abandoning a modified buffer with choosing one file out of a list of oldfiles. Now that ":browse" is supported again, ":browse oldfiles" will allow the user to select an old file, while still complaining if that would cause a modified buffer to be abandoned. ":browse oldfiles!" will just abandon the buffer, as expected.
* timers: do not crash after processing events in the handlerBjörn Linse2016-08-10
|
* Merge #5188 from justinmk/travis-test-hackJustin M. Keyes2016-08-09
|\ | | | | Disable test on Travis macOS/OSX.
| * test: Fix os_name() call.Justin M. Keyes2016-08-09
| |
| * XXX: CI: Disable hanging test on Travis OSX.Justin M. Keyes2016-08-09
| | | | | | | | | | | | | | | | | | | | | | | | Temporary change to avoid frequent hangs on Travis macOS/OSX builds. Hang does not occur on Quickbuild OSX (Yosemite) build. Reverting e9061117a5b8f195c3f26a5cb94e18ddd7752d86 avoids the hang, but causes more serious regressions on many more systems. Note that the job_spec hang only happens with the gcc-4.9 Travis OSX build. References #5002 References #5029
* | Set the default value for 'packpath'James McCoy2016-08-08
|/ | | | | | | | As noted in “:help 'packpath'”, the default value is supposed to be the same as that for 'runtimepath'. This was missed in the original port of the packages functionality from Vim. Closes #5193
* Merge #5025 'input.c: Restore double click'Justin M. Keyes2016-08-07
|\
| * test: mouse_specJustin M. Keyes2016-08-07
| | | | | | | | | | | | | | - Use the default buffer text provided by before_each (avoids extra steps and makes the tests more consistent with each other) - Indent - Adjust help doc
| * test: Add tests for double, triple, and quadruple clicksach1t2016-08-07
| |
* | Merge #5130 from equalsraf/tb-appveyorJustin M. Keyes2016-08-07
|\ \ | |/ |/| Enable MSYS/MinGW builds in Appveyor
| * Windows: Fix functionaltest fixturesRui Abreu Ferreira2016-08-07
| |
* | Merge #4964 from ZyX-I/no-xdg-expandJustin M. Keyes2016-08-04
|\ \ | |/ |/| option: Do not expand options, obtained from XDG vars
| * functests: Also make sure that `set all&` does not expandZyX2016-07-10
| |
| * functests: Add tests for XDG defaultsZyX2016-07-10
| |
| * 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