aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * | api: add tests for new code pathsMarco Hinz2019-03-16
| | |
| * | api: numerous small fixesMarco Hinz2019-03-16
| | |
| * | api: add width/height to FloatConfigMarco Hinz2019-03-16
| | |
| * | api: nvim_win_config() -> nvim_win_set_config()Marco Hinz2019-03-16
| | |
* | | aucmd_prepbuf: also restore `prevwin` #9741Justin M. Keyes2019-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bisected to f5d5da391715 Other test steps: nvim -u NORC :terminal tree / " Produces lots of output :edit somefile.txt :vsplit :vsplit <c-w>l <c-w>l <c-w>h <c-w>p
* | | Merge pull request #9607 from bfredl/wildpumBjörn Linse2019-03-16
|\ \ \ | | | | | | | | UI: deprecate redundant ext_wildmenu events and allow TUI popupmenu for cmdline
| * | | Allow using internal popupmenu or ext_popupmenu for wildmenuBjörn Linse2019-03-16
| |/ / | | | | | | | | | | | | Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
* | | Merge #9686 'win/Lua: monkey-patch os.getenv()'Justin M. Keyes2019-03-16
|\ \ \ | |/ / |/| | | | | fixes #9681
| * | Fix os.getenv of lua on Windowserw72019-03-07
| | | | | | | | | | | | | | | Change to use os_getenv instead of getenv because environment variable set by uv_os_setenv can not be get with getenv.
| * | Fix environment variable on Windowserw72019-03-06
| | | | | | | | | | | | | | | | | | | | | Since uv_os_setenv uses SetEnvironmentVariableW, _wenviron is no updated. As a result, inconsistency occurs in completion of environment variable names. Change to use GetEnvironmentStaringsW instead of _wenviron to solve it.
* | | Merge pull request #9616 from chemzqm/completechangeBjörn Linse2019-03-16
|\ \ \ | | | | | | | | add MenuPopupChanged autocmd
| * | | autocmd: add MenuPopupChanged autocmdchemzqm2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | Update src/nvim/auevents.lua Co-Authored-By: chemzqm <chemzqm@gmail.com>
* | | | test: simplify TUI bg-detection testJustin M. Keyes2019-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous approach skipped the test if the expected value matched the default value ("dark"). New approach always checks, but uses retry() to ignore potentially wrong 'background' before the terminal response is handled.
* | | | Merge #9728 from justinmk/autocmd-onceJustin M. Keyes2019-03-15
|\ \ \ \
| * | | | autocmd: do not show empty section after ++once handlers expireJustin M. Keyes2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If autocmd pattern only contained `++once` handlers, and all of them completed, then there would be an empty group displayed by `:autocmd Foo`. Solution: Delete the pattern if all of its commands were deleted.
| * | | | autocmd: rename: "++nested", "++once"Justin M. Keyes2019-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | Based on feedback from upstream: https://github.com/vim/vim/pull/4100
* | | | | compositor: fix rendering issues with floats opened after popupmenuBjörn Linse2019-03-14
|/ / / /
* | | | dictwatcheradd(): support b:changedtick #9693demiurg3372019-03-14
| | | | | | | | | | | | | | | | | | | | fixes #6635 closes #9693
* | | | TextYankPost: add v:event["inclusive"] #9717Justin M. Keyes2019-03-13
| | | |
* | | | test/CI: skip "throttles output" test on Travis macOS #9721Justin M. Keyes2019-03-12
| | | | | | | | | | | | | | | | | | | | Travis macOS is not fast enough to run this test reliably. The test depends on the system producing output faster than the Nvim TUI can handle it.
* | | | floats: add NormalFloat highlight and 'nonumber' defaultBjörn Linse2019-03-12
| | | |
* | | | autocmd: rename "once" => "-once" #9713Justin M. Keyes2019-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename "nested" to "-nested", but continue to support "nested" for backwards-compatibility. - Allow any order: "-once -nested" or "-nested -once". ref https://github.com/neovim/neovim/pull/9706#issuecomment-471295747
* | | | TUI/background detection: hook into VimEnter eventJustin M. Keyes2019-03-11
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If terminal response is received during startup, set 'background' from a nested "one-shot" (once) VimEnter autocmd. The previous not-so-clever "self-rescheduling" approach could cause a long delay at startup (event-loop does not make forward progress). fixes #9675 ref #9509
* | | autocmd: introduce "once" featureJustin M. Keyes2019-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new feature to :autocmd which sets the handler to be executed at most one times. Before: augroup FooGroup autocmd! autocmd FileType foo call Foo() | autocmd! FooGroup * <buffer> augroup END After: autocmd FileType foo once call Foo()
* | | vim-patch:8.1.0994: fix relative cursor position #9676Justin M. Keyes2019-03-09
| | | | | | | | | | | | | | | | | | Problem: Relative cursor position is not calculated correctly. Solution: Always set topline, also when window is one line only. (Robert Webb) Add more info to getwininfo() for testing. https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
* | | floating-window: fix crash setting cmdheight #9685erw72019-03-09
| |/ |/| | | fixes #9680
* | buffer: use aucmd_prepbuf() instead of switch_to_win_for_buf()Björn Linse2019-03-05
|/
* edit.c: Disable indent during completionlePerdu2019-03-03
| | | | closes #8345
* Merge pull request #9667 from bfredl/wincloseBjörn Linse2019-03-03
|\ | | | | api: add nvim_win_close() to close window by id
| * api: add nvim_win_close() to close window by idBjörn Linse2019-03-03
| |
* | test: multibyte env var names #9655Justin M. Keyes2019-03-03
|/
* Merge pull request #6619 from bfredl/floatingBjörn Linse2019-03-02
|\ | | | | Floating windows in TUI and Remote UI
| * floats: implement floating windowsBjörn Linse2019-03-02
| | | | | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* | search.c: remove dead code #5307Justin M. Keyes2019-03-02
|/ | | has_mbyte is always true.
* API/buffer-updates: always detach on buf-reload #9643KillTheMule2019-03-01
| | | | | | Independently of the 'undoreload' option and the length of the file. closes #9642 closes #9643
* test: fix isCI() for QuickbuildJustin M. Keyes2019-03-01
|
* test/env: multibyte env var to child processerw72019-02-28
| | | | | | | | Note: the test fails on non-Windows CI (Travis linux, Quickbuild bsd): even on master before the env.c changes in this patch-series. Maybe the unix part of printenv-test.c needs to be revisited. Signed-off-by: Justin M. Keyes <justinkz@gmail.com>
* os/env: use libuv v1.12 getenv/setenv APIJustin M. Keyes2019-02-27
| | | | | | | | | | | - Minimum required libuv is now v1.12 - Because `uv_os_getenv` requires allocating, we must manage a map (`envmap` in `env.c`) to maintain the old behavior of `os_getenv` . - free() map-items after removal. khash.h does not make copies of anything, so even its keys must be memory-managed by the caller. closes #8398 closes #9267
* os_getenv, os_setenv: revert "widechar" implJustin M. Keyes2019-02-26
| | | | | | | | | | It's reported that the Windows widechar variants do automatically convert from the current codepage to UTF16, which is very helpful. So the "widechar" impls are a good direction. But libuv v1.12 does that for us, so the next commit will use that instead. ref #8398 ref #9267
* os_setenv: use _wputenv_s; remove vestigial code #7920Justin M. Keyes2019-02-25
| | | | | _putenv_s variant was left over from 810d31a43001, should have been removed in cd5b1315757e.
* TUI: rework background-color detectionJustin M. Keyes2019-02-22
| | | | | | | | | - Like Vim, use set_option_value() followed by reset_option_was_set(). - Do not use set_string_default(), so the default is predictable. This affects `:set bg&`. - Wait until end-of-startup (VimEnter) to handle the response. The response is racey anyways, so timing is irrelevant. This allows OptionSet to be triggered, unlike during startup.
* Merge #5027 'TUI: detect background color'Justin M. Keyes2019-02-17
|\
| * Merge #5027 'TUI: detect background color'Justin M. Keyes2019-01-17
| |\
| | * Add tests for terminal background detectionJosh Triplett2016-07-24
| | |
* | | Merge #9593 'API: nvim_create_buf: "scratch" param'Justin M. Keyes2019-02-17
|\ \ \
| * | | API: nvim_create_buf: add `scratch` parameterJustin M. Keyes2019-02-17
| | | | | | | | | | | | | | | | | | | | Creating a scratch buffer is a chore/ritual, and would be more useful/common if formally exposed.
* | | | terminal: Fix potential invalid local 'scrollback' (#9605)Justin M. Keyes2019-02-17
|/ / / | | | | | | | | | | | | | | | TermOpen autocmd may set local 'scrollback' to -1, this needs to be adjusted as in on_scrollback_option_changed(). fixes #9588 (OOM, out of memory)
* | | UI: change implementation of hl_rgb2cterm_color()Justin M. Keyes2019-02-12
| | | | | | | | | | | | | | | Replace the implementation cargo-culted from Vim's source with something simpler which "seems to look better" with 'pumblend'.
* | | highlight: handle blending with gui=reverse and guisp attributesBjörn Linse2019-02-11
| | |
* | | ui: implement ext_messagesBjörn Linse2019-02-10
| | | | | | | | | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>