aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | strings: make vim_snprintf handle %d correctly againBjörn Linse2018-12-24
| | | | | | | | This was broken in #9369 (4680ca2)
* | test/api: verify that UI options from stable metadata are preservedBjörn Linse2018-12-21
| |
* | runtime/lua/vim/compat.luaJustin M. Keyes2018-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ref #9280 Introduce the `vim.compat` module, to help environments with system Lua 5.2+ run the build/tests. Include the module implicitly in all tests. ref #8677 legacy `vim` module: beep buffer command dict eval firstline lastline line list open type window
* | test: Lua 5.2/5.3 compat #9280Matěj Cepl2018-12-20
| | | | | | | | | | Make the code run both on Lua 5.1 (which is the default for Neovim, and is what LuaJIT provides) and Lua 5.2+.
* | startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it existsJames McCoy2018-12-16
| | | | | | | | Closes #8994
* | os/lang: use the correct LC_NUMERIC also for OS XBjörn Linse2018-12-13
| |
* | test: :ruby reports E319 if provider is missingMarco Hinz2018-12-12
| |
* | cmdline: support v:event in CmdlineChangedBjörn Linse2018-12-12
| |
* | provider: repurpose E319Justin M. Keyes2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Vim (and some vestigial parts of Nvim) E319 was a placeholder for ex_ni commands, i.e. commands that are only available in certain builds of Vim. That is obviously counter to Nvim's goals: all Nvim commands are available on all platforms and build types (the remaining ex_ni commands are actually just missing providers). We need an error id for "missing provider", so it makes sense to use E319 for that purpose. ref #9344 ref #3577
* | vim-patch:8.1.0562: parsing of 'diffopt' is slightly wrongAnatolii Sakhnik2018-12-09
| | | | | | | | | | | | | | | | Problem: Parsing of 'diffopt' is slightly wrong. Solution: Fix the parsing and add a test. (Jason Franklin, Christian Brabandt) https://github.com/vim/vim/commit/b6fc72851c45a36a370f9516c68508e47b41c4c1
* | vim-patch:8.1.0393: not all white space difference options availableAnatolii Sakhnik2018-12-09
| | | | | | | | | | | | | | Problem: Not all white space difference options available. Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'. https://github.com/vim/vim/commit/785fc6567f572b8caefbc89ec29bbd8b801464ae
* | vim-patch:8.1.0360: using an external diff program is slow and inflexibleAnatolii Sakhnik2018-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using an external diff program is slow and inflexible. Solution: Include the xdiff library. (Christian Brabandt) Use it by default. https://github.com/vim/vim/commit/e828b7621cf9065a3582be0c4dd1e0e846e335bf vim-patch:8.1.0360 vim-patch:8.1.0364 vim-patch:8.1.0366 vim-patch:8.1.0370 vim-patch:8.1.0377 vim-patch:8.1.0378 vim-patch:8.1.0381 vim-patch:8.1.0396 vim-patch:8.1.0432
* | doc (#9288)Justin M. Keyes2018-12-09
| | | | | | | | | | - misc - doc: `:help config`. closes #9329 - cleanup test/README.md
* | api: make nvim_buf_set_virtual_text use correct namespace counterBjörn Linse2018-12-07
| |
* | screen: add missing status redraw when redraw_later(CLEAR) was usedBjörn Linse2018-12-05
| |
* | RPC: turn errors from async calls into notificationsBjörn Linse2018-12-03
| | | | | | | | | | Previously, nvim sent a response with invalid request id (UINT64_MAX). In functionaltests, catch unexpected error notifications in after_each().
* | clipboard: Support custom VimL functions #9304Rui Abreu Ferreira2018-12-03
| | | | | | | | | | | | | | | | | | | | | | | | Up to now g:clipboard["copy"] only supported string values invoked as system commands. This commit enables the use of VimL functions instead. The function signatures are the same as in provider/clipboard.vim. A clipboard provider is expected to store and return a list of lines (i.e. the text) and a register type (as seen in setreg()). cache_enabled is ignored if "copy" is provided by a VimL function.
* | Merge #9291 'vim-patch:8.1.{550,551}'Justin M. Keyes2018-12-02
|\ \
| * | fixup: 30 col resize to scroll debugJan Edmund Lazo2018-12-01
| | |
| * | fixup: 35 col resize to scroll screenJan Edmund Lazo2018-12-01
| | |
| * | functionaltests: vim-patch:8.1.{550,551} fixJan Edmund Lazo2018-11-30
| | |
| * | vim-patch:8.1.0550: expression evaluation may repeat an error messageJan Edmund Lazo2018-11-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Expression evaluation may repeat an error message. (Jason Franklin) Solution: Increment did_emsg and check for the value when giving an error for the echo command. https://github.com/vim/vim/commit/76a6345433bc2a600689397fb28165a2e5793720
* | | VimL/confirm(): Show dialog even if :silentJustin M. Keyes2018-12-01
| | | | | | | | | | | | | | | closes #8788 related #9034
* | | insert: make <cmd> mapping work in completion (CTRL-X) modeBjörn Linse2018-12-01
|/ /
* | highlight: Fix missing .rgb_sp_color in initializers (#9287)Justin M. Keyes2018-11-30
| | | | | | | | | | | | | | terminal_get_line_attributes() had this bug for a long time, though it likely had no effect visible to users. ref #9028 ref 60f845ca55a1
* | API: rename nvim_buf_clear_highlight to nvim_buf_clear_namespaceBjörn Linse2018-11-29
| | | | | | | | | | We want a single function to clear all namespaced buffer objects. This will later include extmarks.
* | Merge #9221 from justinmk/docJustin M. Keyes2018-11-28
|\ \
| * | docJustin M. Keyes2018-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - develop.txt is for design/guidelines; architecture/concepts should live elsewhere (currently src/nvim/README.md) - move dev-jargon to intro.txt - replace https://neovim.io/community (deprecated) with https://neovim.io/#chat - <Cmd> avoids CmdlineEnter/Leave https://github.com/vim/vim/issues/2889
* | | diff/highlight: Fix GUI highlight for low-priority CursorLine (#9281)Justin M. Keyes2018-11-28
|/ / | | | | | | ref #9028 ref 0653ed63a508
* | preserve_exit: Ignore SIGHUPJustin M. Keyes2018-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #9274 ref #9028 If stdin closed then read_error_exit calls preserve_exit. Handling SIGHUP during preserve_exit would cause a premature teardown, and conflicts with e.g. ui_bridge_stop which waits for TUI to teardown. Vim ignores SIGHUP in its prepare_to_exit and getout_preserve_modified routines: /* Ignore SIGHUP, because a dropped connection causes a read error, which * makes Vim exit and then handling SIGHUP causes various reentrance * problems. */ signal(SIGHUP, SIG_IGN);
* | diff/highlight: Show underline for low-priority CursorLineJustin M. Keyes2018-11-27
| |
* | API: Implement nvim_win_set_buf() #9100Justin M. Keyes2018-11-25
| | | | | | | | closes #9100
* | api: implement object namespacesBjörn Linse2018-11-24
| | | | | | | | | | | | | | | | | | Namespaces is a lightweight concept that should be used to group objects for purposes of bulk operations and introspection. This is initially used for highlights and virtual text in buffers, and is planned to also be used for extended marks. There is no plan use them for privileges or isolation, neither to introduce nanespace-level options.
* | defaults: background=dark #2894 (#9205)Justin M. Keyes2018-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | By historical accident, Nvim defaults to background=light. So on a dark background, `:colorscheme default` looks completely wrong. The "smart" logic that Vim uses is confusing for anyone who uses Vim on multiple platforms, so rather than mimic that, pick the (hopefully) most common default. - Since Neovim is dark-powered, we assume most users have dark backgrounds. - Most of the GUIs tend to have a dark background by default. ref #6289
* | Merge pull request #9240 from jamessan/mbyte_spec-failureJames McCoy2018-11-15
|\ \ | | | | | | unit/mbyte_spec: Run utf_char2bytes test in batches of 0xFFF characters
| * | unit/mbyte_spec: Run utf_char2bytes test in batches of 0xFFF charactersJames McCoy2018-11-15
| | | | | | | | | | | | | | | Running the full 0xFFFF set of tests in one process fails on slower architectures/when there's CPU contention.
* | | test: adjust time-sensitive tests (#9220)Justin M. Keyes2018-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so that it follows output. - inccommand_spec.lua: Increase timeout to allow 2nd retry. - Timer tests are less reliable on Travis CI macOS 10.12/10.13. ref #6829 ref e39dade80b02 ref de13113dc16e ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452 > We don't guarantee that a X ms timer is triggered during Y ms sleep > for any X<Y, though I would expect the load to be really bad for this > to happen with X=10ms, Y=40ms.
* | | Merge pull request #9211 from bfredl/init_optionsBjörn Linse2018-11-08
|\ \ \ | | | | | | | | ui_options: also send when starting in --embed mode
| * | | ui_options: also send when starting or from OptionSetBjörn Linse2018-11-08
| | | | | | | | | | | | | | | | needed after #9024 to receive options from init.vim
* | | | jobstart(): Fix hang on non-executable cwd #9204Tommy Allen2018-11-07
|/ / / | | | | | | | | | | | | | | | | | | * os/fs.c: add os_isdir_executable() * eval.c: fix hang on job start caused by non-executable cwd option * channel.c: assert cwd is an executable directory * test: jobstart() produces error when using non-executable cwd
* | | test/win: window_split_tab_spec: fix retry()Justin M. Keyes2018-11-05
| | |
* | | test/win: window_split_tab_spec: increase retry() timeJustin M. Keyes2018-11-05
| | | | | | | | | | | | The default timeout of 10s only allows 1 retry.
* | | test/timer_spec: relax lower-boundJustin M. Keyes2018-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test is unreliable on macOS 10.13. The lower-bound isn't central to the purpose of the test, so just relax it. ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452 > We don't guarantee that a X ms timer is triggered during Y ms sleep > for any X<Y, though I would expect the load to be really bad for this > to happen with X=10ms, Y=40ms. related: #6829
* | | test/win: retry unreliable SIGWINCH testJustin M. Keyes2018-11-04
| | |
* | | Merge pull request #9183 from bfredl/offset2Björn Linse2018-11-02
|\ \ \ | | | | | | | | api: make nvim_buf_get_offset independent on platform option
| * | | api: simplify nvim_buf_get_offset functionBjörn Linse2018-11-01
| | | |
* | | | Merge #7506 'deps: update libuv'Justin M. Keyes2018-11-01
|\ \ \ \ | |/ / / |/| | |
| * | | win: test: SIGWINCH is noisy #7506Justin M. Keyes2018-11-01
| | | |
* | | | api: implement nvim_buf_get_offset_for_lineBjörn Linse2018-11-01
|/ / / | | | | | | | | | | | | Like line2byte, but works for any buffer, and uses zero-based indexing (API conventions).
* | | functionaltest: enable job channel testJan Edmund Lazo2018-10-31
| | |