aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* options: properly reset directories on 'autochdir' (#9894)Marco Hinz2019-04-15
| | | Fixes https://github.com/neovim/neovim/issues/9892
* :terminal : set topline based on window height #8325Justin M. Keyes2019-02-06
|
* :recover : Fix crash on non-existent *.swp #9504raffitz2019-01-15
| | | | | | | Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist. closes #9503 closes #9504
* provider: improve error message if provider is missing (#9487)Marco Hinz2019-01-13
| | | | | | | | | Move `has_eval_provider()` check to `eval_call_provider()` to make sure that every code path calls it first. Previously we would, when pynvim was missing, get a nice error message for `:python3 1`, but not for `:py3file blah`. Fixes https://github.com/neovim/neovim/issues/9485
* Mark "shell command :! throttles shell-command output greater than ~10KB" ↵James McCoy2019-01-01
| | | | fragile
* Mark "feeding large chunks of input with <Paste>" fragileJames McCoy2019-01-01
|
* Mark ":substitute with inccommand during :terminal activity" fragileJames McCoy2019-01-01
|
* NVIM v0.3.2v0.3.2Justin M. Keyes2018-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Besides the "visible" improvements, this release features numerous internal improvements to the UI/screen code and test infrastructure. Numerous patches were merged from Vim, which are not mentioned below. FEATURES: 07ad5d71ab97 clipboard: Support custom VimL functions #9304 725da1feeb9a #9401 win/TUI: Improve terminal/console support 7a8dadbedb0b #9077 startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists feec926633e3 #9299 support <cmd> mapping in more places 0653ed63a508 #9028 diff/highlight: Show underline for low-priority CursorLine bddcbbb5716a signs: Add "numhl" argument #9113 05f9c7c2f7f5 clipboard: support Wayland (#9230) 14ae394532aa #9052 TUI: add support for undercurl and underline color 4fa3492a6fcb #9023 man.vim: soft (dynamic) wrap #9023 API: 8b39e4ec7933 #6920 API: implement object namespaces b1aaa0a881ef API: Implement nvim_win_set_buf() #9100 8de87c7b1ca0 #8180 API: virtual text annotations (nvim_buf_set_virtual_text) 2b9fc9a13f14 #8660 API: add nvim_buf_is_loaded() API: buf_get_lines, buf_line_count handle unloaded buffers 88f77c28e52a API: nvim_buf_get_offset_for_line 94841e5eaebc API/UI: #8221 ext_newgrid, ext_hlstate (use line-based rather than char-based updates) UI b5cfac089409 #8806 TUI: use BCE again more often, (smoother resizes/scrolling) 77b5e9ae25fc #9315 screen: add missing status redraw when redraw_later(CLEAR) was used 5f15788dc3ac TUI: clip invalid regions on resize (#8779), fixes #8774 c936ae0f3688 #9193 TUI: improvements for scrolling and clearing f20427451e7f #9143 UI: disable clearing almost everywhere f4b2b6666189 #9079 TUI: always use safe cursor movement after resize d36afafc8dc7 #9211 ui_options: also send when starting or from OptionSet 67f80d485cec TUI: Avoid reset_cursor_color in old VTE #9191 e55ebae37340 #9021 don't erase screen on `:hi Normal` during startup c5790d91897c #8915 TUI: Hint wrapped lines to terminals. FIXES: 231de7253982 RPC: turn errors from async calls into notifications 907ad921bc2f TUI: Restore terminal title via "title stacking" (#9407) cb76a8a95f3a genappimage: Unset $ARGV0 at invocation #9376 b48efd9ba7bf #9347 TUI: FreeBSD: Improve support for BSD vt console c16529afa5c8 TUI: Konsole 18.07.70 supports DECSCUSR (#9364) aec096fc5b8a os/lang: use the correct LC_NUMERIC also for OS X 5fee0be91552 provider: improve error message (#9344) 3c42d7a10a04 TUI: alacritty supports set_cursor_color #9353 7bff9a5de842 TUI: Alacritty supports DECSCUSR (#9048) 57acfceabeb3 macOS: infer primary language if $LANG is empty #9345 bc132ae123d4 runtime/syntax: Fix highlighting of augroup contents (#9328) 715fdfee1ed5 #9297 VimL/confirm(): Show dialog even if :silent 799d9c32157c clipboard: Prefer xclip (#9302) 6dae7776ed0d provider/nodejs: fix npm,yarn detection 16bc1e9c1782 #9218 channel: avoid buffering output when only terminal and no callbacks are active 72fecad1ffe3 #8804 Fix crash in lang_init() on macOS if lang_region = NULL d58139877990 ruby: detect rbenv shims for other versions (#8733) e568ac7a68d3 #9123 third-party/unibilium: Fix parsing of extended capability entries c4c74c3883aa jobstart(): Fix hang on non-executable cwd #9204 1cf50cbfd9b7 provider/nodejs: Simultaneously query npm and yarn #9054 6c496db4b75e undo: Fix infinite loop if undo_read_byte returns EOF #2880 f8f83579ff42 #9034 'swapfile: always show dialog' CHANGES: c236e80cf3df #9024 --embed: wait for UI unless --headless 180b50dddc26 #9248 python: 'neovim' module was renamed to 'pynvim' 2000b6a64a9c #8589 VimL: Remove legacy aliases "v:errmsg", "v:shell_error", "v:this_session" deb18a050ef5 defaults: background=dark #2894 (#9205) c1187d4af013 defaults: win: 'shellpipe' for cmd.exe (#8827)
* Merge #9401 from justinmk/pr-win-erw7Justin M. Keyes2018-12-30
|\
| * test: win/TUI builtin terminfosJustin M. Keyes2018-12-28
| |
* | docJustin M. Keyes2018-12-30
| | | | | | | | - CMake features
* | vim-patch:8.1.0354: packadd test fails on MS-WindowsJames McCoy2018-12-29
| | | | | | | | | | | | Problem: Packadd test fails on MS-Windows. Solution: Ignore difference between forward and backward slashes. https://github.com/vim/vim/commit/53c8a478cc4265549597b00214e0da812154742e
* | vim-patch:8.1.0353: an "after" directory of a package is appended to 'rtp'James McCoy2018-12-29
| | | | | | | | | | | | | | | | Problem: An "after" directory of a package is appended to 'rtp', which will be after the user's "after" directory. () Solution: Insert the package "after" directory before any other "after" directory in 'rtp'. (closes vim/vim#3409) https://github.com/vim/vim/commit/99396d4cbf78d313a454c7448acc07412d2e45b7
* | vim-patch:8.0.1734: package directory not added to 'rtp' if prefix matchesJames McCoy2018-12-29
| | | | | | | | | | | | | | Problem: Package directory not added to 'rtp' if prefix matches. Solution: Check the match is a full match. (Ozaki Kiichi, closes vim/vim#2817) Also handle different ways of spelling a path. https://github.com/vim/vim/commit/f98a39ca57d001ba3e24831bae1e375790fb41f0
* | vim-patch:8.0.1469: when package path is a symlink 'runtimepath' is wrongJames McCoy2018-12-29
|/ | | | | | | | Problem: When package path is a symlink adding it to 'runtimepath' happens at the end. Solution: Do not resolve symlinks before locating the position in 'runtimepath'. (Ozaki Kiichi, closes vim/vim#2604) https://github.com/vim/vim/commit/2374faae111057ee28e8d487f9a52a95855e2206
* 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