aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* env: use putenv_s for LC_ALL, LANG, etc. #11050erw72019-09-22
| | | | | | | | Problem: ":lang messages en_US.UTF-8" no longer overrides the language detected from the environment (at startup). Solution: In os_setenv, special-case "LC_ALL", "LANG", et al. to use putenv_s instead of uv_os_setenv. fixes #11045
* Merge #11034 from zwegner/precedesJustin M. Keyes2019-09-21
|\ | | | | Fix "precedes" listchar behavior in wrap mode
| * vim-patch:8.1.2060: "precedes" in 'listchars' not used properlyJustin M. Keyes2019-09-21
| | | | | | | | | | | | | | | | (Credit: Zach Wegner, https://github.com/neovim/neovim/pull/11034) Problem: "precedes" in 'listchars' not used properly. Solution: Correctly handle the "precedes" char in list mode for long lines. https://github.com/vim/vim/commit/bffba7f7042f6082e75b42484b15f66087b01941
| * Fix "precedes" listchar behavior in wrap modeZach Wegner2019-09-21
|/ | | | | | | | | | | | Previously, the "precedes" character would be rendered on every row when w_skipcol > 0 (i.e., when viewing a single line longer than the entire screen), instead of just on the first row. Make sure to only render it on the first row in this case. Add a test for this behavior. Fix documentation for the "precedes" character, which erroneously stated that it was only active when wrap mode was off.
* checkhealth: skip python checks if intentionally disabled #11044Yoshio S2019-09-21
| | | close #11040
* vim-patch:8.1.2055: profile: adjust line format #11058Daniel Hahler2019-09-21
| | | | | | Problem: Not easy to jump to function line from profile. Solution: Use "file:99" instead of "file line 99" so that "gf" works. (Daniel Hahler, closes vim/vim#4951) https://github.com/vim/vim/commit/181d4f58cc421f2e6d3b16333d4cb70d35ad1342
* Merge #11060 from janlazo/vim-8.1.1783Justin M. Keyes2019-09-21
|\ | | | | vim-patch:8.0.{1109,1529,1539,1621,1733,1771,1776},8.1.{1783,2054,2058}
| * vim-patch:8.0.1621: using invalid default value for highlight attributeJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: Using invalid default value for highlight attribute. Solution: Use zero instead of -1. https://github.com/vim/vim/commit/6185903e3d07eb53326fc1403fc2de97ca31b775
| * vim-patch:8.0.1529: assert_equalfile() does not close file descriptorsJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: Assert_equalfile() does not close file descriptors. (Coverity) Solution: Close the file descriptors. https://github.com/vim/vim/commit/3049418f3dbc571463a04d068069f6c5b7a8ccf1
| * vim-patch:8.0.1776: in tests, when WaitFor() fails it doesn't say whyJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: In tests, when WaitFor() fails it doesn't say why. Solution: Turn a few more WaitFor() into WaitForAssert(). https://github.com/vim/vim/commit/0e9d1ae3216a5940b36bb56d155fb300b2e55b00
| * vim-patch:8.0.1771: in tests, when WaitFor() fails it doesn't say whyJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy) Solution: Add WaitForAssert(), which produces an assert error when it fails. https://github.com/vim/vim/commit/50182fa84e20a0547f3e2bd6683ef799fcd27855
| * vim-patch:8.0.1733: incomplete testing for completion fixJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: Incomplete testing for completion fix. (Lifepillar) Solution: Add a test with CTRL-P. https://github.com/vim/vim/commit/bad0ce7b26be5eed8524347018f4c835b212f8d1
| * vim-patch:8.0.1539: no test for the popup menu positioningJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: No test for the popup menu positioning. Solution: Add a screendump test for the popup menu. https://github.com/vim/vim/commit/6bb2cdfe604e51eec216cbe23bb6e8fb47810347
| * vim-patch:8.0.1109: timer causes error on exit from Ex modeJan Edmund Lazo2019-09-21
| | | | | | | | | | | | | | Problem: Timer causes error on exit from Ex mode. (xtal8) Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt, closes vim/vim#2079) https://github.com/vim/vim/commit/f5291f301e9322545f0621b2157e93050d1d4fb3
| * vim-patch:8.1.2058: function for ex command is named inconsistentlyJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: Function for ex command is named inconsistently. Solution: Rename do_marks() to ex_marks(). https://github.com/vim/vim/commit/4bd782339e370bde82c2a8976df9f335cc12eba9
| * vim-patch:8.1.2054: compiler test for Perl may failJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: Compiler test for Perl may fail. Solution: Accept any error line number. (James McCoy, closes vim/vim#4944) https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe
| * vim-patch:8.1.1783: MS-Windows: compiler test may fail when using %:SJan Edmund Lazo2019-09-21
| | | | | | | | | | | | Problem: MS-Windows: compiler test may fail when using %:S. Solution: Reset 'shellslash'. https://github.com/vim/vim/commit/dff2adc8ddcb6c8f3390a82c321362f8d6756fb8
* | vim-patch:8.1.0460: assert_fails() message argument #11051Jan Edmund Lazo2019-09-21
|/ | | | | Problem: assert_fails() does not take a message argument Solution: Add the argument. https://github.com/vim/vim/commit/1307d1c003b01b4f67524c95feb07c3d91c7c428
* Merge pull request #11069 from bfredl/virtualcolBjörn Linse2019-09-21
|\ | | | | screen: fix vcol counting with virtual text.
| * screen: fix vcol counting with virtual text. Fixes #9941Björn Linse2019-09-21
|/
* Merge pull request #11057 from blueyed/test-indentDaniel Hahler2019-09-19
|\ | | | | Vim patches for indent tests
| * vim-patch:8.1.2056: "make test" for indent files doesn't cause make to failDaniel Hahler2019-09-18
| | | | | | | | | | | | Problem: "make test" for indent files doesn't cause make to fail. Solution: Exit the script with ":cquit". (Daniel Hahler, closes vim/vim#4949) https://github.com/vim/vim/commit/cd67059c0c3abf1e28aa66458abdf6f338252eb2
| * Update runtime/indent/testdir to latest Vim runtimeDaniel Hahler2019-09-18
| | | | | | | | Several runtime updates ignored the non-existing files.
| * vim-patch:8.1.1213: "make clean" in top dir does not cleanup indent test outputDaniel Hahler2019-09-18
| | | | | | | | | | | | | | Problem: "make clean" in top dir does not cleanup indent test output. Solution: Clean the indent test output. Do not rely on the vim executable for that. (closes vim/vim#4307) https://github.com/vim/vim/commit/e13a3901cae0afb4d2af30d497696af08029fd81
| * vim-patch:8.1.0599: without the +eval feature the indent tests don't workDaniel Hahler2019-09-18
| | | | | | | | | | | | Problem: Without the +eval feature the indent tests don't work. Solution: Skip the body of the tests. https://github.com/vim/vim/commit/eeed665b0ecd917e88e3475c9615d52546aa124d
| * vim-patch:8.1.0576: indent script tests pick up installed scriptsDaniel Hahler2019-09-18
| | | | | | | | | | | | Problem: Indent script tests pick up installed scripts. Solution: Use current runtime indent scripts. https://github.com/vim/vim/commit/30700cd5ffa258f1d684ab6b34bd03e970450dba
| * vim-patch:8.1.0545: when executing indent tests user preferences interfereDaniel Hahler2019-09-18
| | | | | | | | | | | | Problem: When executing indent tests user preferences interfere. Solution: Add "--clean". https://github.com/vim/vim/commit/dc2f73a6980be13c97a83047d0de50824bc0f20f
| * vim-patch:8.1.0496: no tests for indent filesDaniel Hahler2019-09-18
|/ | | | | | | Problem: No tests for indent files. Solution: Add a mechanism for running indent file tests. Add a first test for Vim indenting. https://github.com/vim/vim/commit/c0fe4978f2311be9a0221d4c2369251c719b399a
* win_update: fix redraw regression (#11027)Daniel Hahler2019-09-18
| | | | | | | Before 6e9ea5adc `win_ins_lines` would return `FAIL` for `i/line_count == 0`. Handle this by checking it in the outer `if`. Ref: https://github.com/neovim/neovim/commit/6e9ea5ad#commitcomment-35084669
* health#provider: fix duplicated output/stderr (#11048)Daniel Hahler2019-09-18
| | | Ref: https://github.com/neovim/neovim/pull/11047#issuecomment-532268826
* Merge #11035 from janlazo/vim-8.0.1523Justin M. Keyes2019-09-17
|\ | | | | vim-patch:8.0.{1523,1770}
| * vim-patch:8.0.1770: assert functions don't return anythingJan Edmund Lazo2019-09-16
| | | | | | | | | | | | Problem: Assert functions don't return anything. Solution: Return non-zero when the assertion fails. https://github.com/vim/vim/commit/65a5464985f980d2bbbf4e14d39d416dce065ec7
| * vim-patch:8.0.1523: cannot write and read terminal screendumpsJan Edmund Lazo2019-09-16
|/ | | | | | | Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile(). https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802
* tests: improve error message with literat "~" directory (#11032)Daniel Hahler2019-09-17
|
* tests: fix flaky 'scrollback' option deletes lines (only) if necessary (#11003)Daniel Hahler2019-09-16
| | | | | | Using `screen:expect` with the complete grid appears to fix its flakiness. Fixes https://github.com/neovim/neovim/issues/10723.
* server_requests_spec: fix assertion, pass Lua paths via args (#10875)Daniel Hahler2019-09-16
| | | | This makes it pick up the nvim Luarocks module properly when not installed via third-party.
* release.sh [ci skip]Justin M. Keyes2019-09-15
|
* nvim.appdata.xml [ci skip]Justin M. Keyes2019-09-15
|
* CI/AppVeyor: revert whitelistJustin M. Keyes2019-09-15
| | | | | | | | | | | | | | | | revert 6b028ec5f29c #10746 This seems to skip tags also, which breaks our release automation. From the AppVeyor logs: 2019-09-15 17:25:00.232 Warning Commit "1f76c4af" of branch "master" skipped as commit message contains either "[skip ci]" or "[ci skip]" or "[skip appveyor]" 2019-09-15 17:20:24.152 Warning Commit "baa5263b" skipped as branch "stable" is not in white-list 2019-09-15 17:20:03.163 Warning Commit "6cb5ffc0" skipped as branch "release-0.4" is not in white-list 2019-09-15 17:20:02.977 Warning Commit "baa5263b" skipped as branch "v0.4.1" is not in white-list 2019-09-15 16:35:38.810 Warning Commit "31956372" of branch "master" skipped as commit message contains either "[skip ci]" or "[ci skip]" or "[skip appveyor]" 2019-09-15 16:28:35.237 Warning Commit "e2cc5fe0" skipped as branch "stable" is not in white-list 2019-09-15 16:28:17.814 Information Build version 31489 created 2019-09-15 16:28:16.364 Warning Commit "e2cc5fe0" skipped as branch "v0.4.0" is not in white-list
* fix api_level_6.mpackJustin M. Keyes2019-09-15
| | | | | This was generated incorrectly in the 0.4.1 release, fixed in the 0.4.1 release.
* nvim.appdata.xml [ci skip]Justin M. Keyes2019-09-15
|
* release.sh [ci skip]Justin M. Keyes2019-09-15
|
* version bumpJustin M. Keyes2019-09-15
|
* NVIM v0.4.0v0.4.0Justin M. Keyes2019-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release represents ~2700 commits since v0.3.4, the previous non-maintenance release. Besides the highlights listed below, this release features vast improvements to documentation, internal subsystems and test/CI infrastructure, and 700+ patches merged from Vim. FEATURES: New API functions: nvim_create_buf: create various kinds of buffers nvim_get_context, nvim_load_context 8e6b0a73c91b #10619 API: Context: save/restore/inspect editor state nvim_input_mouse: perform mouse actions nvim_open_win: create floating windows (and external, for supporting UIs) nvim_paste: paste text at cursor nvim_put: put text at cursor nvim_select_popupmenu_item: perform popupmenu actions nvim_set_keymap: create/delete mappings nvim_set_vvar: set v: variables nvim_ui_pum_set_height nvim_ui_try_resize_grid nvim_win_close: close windows nvim_win_get_config: get window configuration nvim_win_set_config: reconfigure windows New UI events: redraw.grid_destroy redraw.hl_group_set 8a3f8589a3ed #10504 UI/highlight: expose builtin highlight groups using hl_group_set event redraw.msg_clear redraw.msg_history_show redraw.msg_ruler redraw.msg_set_pos redraw.msg_show redraw.msg_showcmd redraw.msg_showmode redraw.win_close redraw.win_external_pos redraw.win_float_pos redraw.win_hide redraw.win_pos API f5c56f03bb9e #9170 API/Lua: nvim_buf_attach: support Lua callback 82d48c0dab0f #9896 API: emit nvim_error_event on failed async request b9ad12e6c2fa #9992 UI/nvim_ui_attach(): add `override` option 3d1ed7c95901 #9993 UI/ext_messages: learn more message kinds 8ed54bbec3b0 #9547 proper multiline error message for rpcrequest, API wrappers Lua This release introduces "Nvim-Lua standard library". See ":help lua-stdlib". 89d7e24891c2 #9463 Lua stdlib: vim.inspect, string functions 8e941c59ec23 #9740 Lua: generate documentation from docstrings 1cbe0145695b #9301 lua/stdlib: Introduce vim.shared c83926cd0aa5 #10123 Lua: introduce vim.loop (expose libuv event-loop) 81e1dbca99c1 #10120 Lua: vim.schedule(cb) 1f54f68732b4 #10688 Lua: minimal UTF-16 support needed for LSP 6fb0020df4eb #10513 Lua encoding support c0993ed3433e Lua: support getting UTF-32 and UTF-16 sizes of replaced text b0e26199ec02 Lua: add {old_byte_size} to on_lines buffer change event UI: - The Nvim 0.3.4 UI protocol introduced line-based updates instead of legacy char-based updates. Nvim 0.4 continues to evolve the UI protocol. See ":help ui". Legacy UI clients are supported. See ":help api-contract". 9a1675b06539 #6619 Floating windows - Can be (re)positioned, anchored, external. - Are real windows showing real buffers. No shortcuts, hacks, or compromises. - Support all features and API of normal windows, plus more. 6427894d8911 #8455 Multigrid: "windows drawn on separate grids" - Windows are logically isolated internally. - Windows are sent to UIs as distinct objects, so that UIs can control layout instead of being stuck with the classic TUI layout. - Per-window font-size, dimenions, line-spacing. - Compositor: Internal subsystem for composing grids. 3855204f5860 #6917 UIEnter, UILeave 788bcbba2465 #9923 ui: ":syn blend=", 'winblend' 7cf7c0a0b8e9 #9575 ui: 'redrawdebug' option for flexible debugging of redrawing 5c836d2ef8b6 #9607 wildoptions=pum (enabled by default) 37f8df882463 #9571 UI: 'pumblend' option for semi-transparent popupmenu c403a95a5297 #9446 Visual: highlight char-at-cursor - Traditionally Vim's visual selection does "reverse mode", which perhaps conflicts with the non-blinking block cursor. But 'guicursor' defaults to a vertical bar for selection=exclusive, and this confuses users who expect to see the text highlighted. :terminal fc27dc98d74f #8550 autocmds: TermEnter, TermLeave d13803f64fc5 #9810 keymap, terminal: more keycodes 3b56f59532ac #9535 :terminal : Fix F1-F4 key codes 2d4a37ebab35 #10370 :ls : show "R", "F" for terminal-jobs fd0fd752c872 #9966 terminal: swap priority of terminal, editor highlights 7bb858c39cac #9494 libvterm 0.1 TUI 3afb397407af syntax, TUI: support "strikethrough" ccbcd390d42d #9408 TUI: "title stacking" unconditionally 298608f88c46 #9509 TUI: detect background color, set bg=dark/light 42f492ac9905 #9097 TUI: handle Smulx extension capability (extended underline) 424ddd01f588 #10205 TUI: support rgba background detection 9b4383261a3d #9601 TUI: italics in tmux, Terminal.app f6fb370b1bcc #9793 keymap: support more (keypad) keycodes 3340e08becbf #9423 TUI: Konsole DECSCUSR fixup :checkhealth d0fd66ba82c4 health/provider.vim: check curl HTTPS support c38862aceabe #10490 checkhealth: try yarn if npm is missing 43356a43d00f #9929 health: check if tmux enabled true colors ec5a4d862d71 #9548 checkhealth: validate locale providers (clipboard, python, etc.): 96be8a2c4d63 #10161 Allow reloading providers (useful for UIs/clients) db3c797c6b3c #9487 provider: improve error message if provider is missing Various: 36762a00a801 #9295 signs: support multiple columns 801fe799ff35 #10382 eval: wait() (wait for any condition) 9df3a676e7f2 #10400 MsgArea highlight; message grid a9bea8c1047f #10790 keymap: allow modifiers to multibyte chars, like <m-ä> 25e0a449bb66 #10878 #4448 paste: redesign (10x+ faster pasting; extensible vim.paste Lua hook) ef5037e7f6e1 #9706 autocmd: introduce "++once" feature 175398f21645 #9616 add CompleteChanged autocmd 7fcf2f926fc6 #9717 TextYankPost: add v:event["inclusive"] 3a699a790c14 #8364 termdebug.vim plugin ca1ce590257c #9709 performance: use os_copy to create backups ed0e96cd28f8 man.vim: set 'linebreak' 70f6939fd4b5 #9564 events: add "Signal" event f89d0d8230f3 #9568 inccommand: auto-disable if folding is slow FIXES: 41bb68b8e8d0 #10584 process_stop: uv: do not close stdin first/explicitly e50aa2a6c654 #10117 normal: Don't exit CTRL-O mode after processing K_EVENT 95fa71c6d2b4 #9504 :recover : Fix crash on non-existent *.swp 5a836d4767b7 #9507 screen: don't unconditionally clear messages on window scroll 149dcbf2c762 #10021 channel: refactor events, prevent recursive invocation of events d19ff73b39a9 #10107 Fix multiple c_CTRL-D showing statusline b65a7b7f6692 #10103 Fix wildmode=list,full and display+=msgsep interaction 0be6d3c86fe5 #9634 fsync: Ignore ENOTSUP. Fix writing to SMB. b247c6fd2255 #10025 kbtree: pointer UB and unitialized value fixes 018e0d5a19c3 #9643 API/buffer-updates: always detach on buf-reload 400ee59247ea #9961 API: fix cursor position when lines are added 769f44e918c6 #9911 win/defaults: Use "…/nvim-data/site" in 'runtimepath' 83d571653bdc #9911 spellfile.vim: store files in stdpath('data') 8dbf23181add #9887 RPC: conform message-id type to msgpack-RPC spec 5f996e36d102 #9894 options: properly reset directories on 'autochdir' 4c4a57015687 #9807 various CursorMoved fixes 943bedfc86ab #9853 event-loop: do not set CA_COMMAND_BUSY 9d207fd87617 #9693 dictwatcheradd(): support b:changedtick 2d50bf349883 #9789 mac: fix locale detection c5631338b16b #9754 :mksession : restore tab-local working directories 092e7e6c6058 #9703 #9703 executable(): return false if user is not owner 11a481f711ee #9686 env var fixes/improvements 8e54847fdf3c #9666 #7920 os/env: Fix completion of multibyte env var names 519382646be3 #10468 Fix is_executable_in_path() on Windows 8eaa452073a1 #9516 win: exepath(), executable() fixes f55c1e4233a4 #10544 reltimefloat(): allow negative result b08dc3ec195f #10561 win: jobstart(), system(): $PATHEXT-resolve exe 7cc2b723d43c #10392 TextYankPost: spurious/too-early dispatch during delete 6e01ed6a4c85 OpenBSD: stop jobs/processes properly 58dd5fcc01ed #10522 jobstop(): close channel before process_stop() 83632022f84e #10959 improved resize behavior (all UIs) c6eb1f42bec0 #10830 API: fix nvim_command_output buffer overflow cbfd18c85acd #10763 startup: handle 'guicursor' after user config b8f2436febcc #10915 jobwait(): fix race if job exits quickly 2fafed6bb8aa #10765 clipboard: handle/avoid SIGTERM with previous owner 8aca932aa0ac #9954 clipboard: setreg("*") with clipboard=unnamed 3f10c5b5338f #9480 performance: clipboard/macOS: assume that pbcopy works 48efafc81c84 #10398 screen: disable redrawing inside VimResized 5e4b93a38f1e #10389 API/Lua: make nvim_execute_lua use native lua floats, not special tables 8c6f5b7f9268 #9934 Spurious quote mark in command line when typing <C-R> a8a38f346548 Lua 5.2/5.3 compat :terminal 47b7b471fa0f #10700 :terminal : update buffer when switching tabpage 5225c1ec302f #9605 terminal: Fix potential invalid local 'scrollback' 894f6bee54e8 #8325 :terminal : set topline based on window height 8171e96b9640 #9551 Improve :terminal resize d928b036dc2b #9856 :stopinsert should leave terminal-mode 3f712185058f #9926 :terminal : fix: Using `:stopinsert` while in normal mode 5020daa6e5ce #9883 ui/terminal: make terminal state redraw like any other state TUI: 9f19e8d29dce #9443 TUI: Do not disable BCE for builtin terminfos a4076e5dcf66 #9474 win/TUI: fix text overrides line numbers 533d4a36ec03 #9645 TUI: do not resize host-terminal on startup b51e5d8b8dd2 #9688 tui_tk_ti_getstr: handle weird value 1f5eac1115a4 #10785 TUI: fix data-race during resize CHANGES: 9697c7f56a26 #8194 fix menu_get() 7f2e43c637e5 #9520 improve Lua error messages c2343180d74f #9526 Remove jemalloc baf93d96063c #9581 UI: always use concrete colors for default_colors_set 91688b488310 #9563 defaults: set 'scrollback' to -1 by default bb24fec33355 #10136 defaults: exclude "S" from 'shortmess' ddd0eb6f5120 #8540 startup: -es/-Es (silent/batch mode): skip swapfile 35362495c965 #9805 jumplist: avoid extra tail entry 939d9053bdf2 #10573 channels: reflect exit due to signals in exit status code 45c34bd84aa5 #10689 :doautocmd : Never show "No matching autocommands" fb19aeeb33f7 #9110 API: make nvim_win_set_option() set window-global, not buffer-local abfc8b3257f8 #10778 emsg_multiline: log Vim errors 06d9cc734bf0 #10657 exists("$FOO"): return false for empty env var 6616d1d3e5c9 #10743 win/env: Vim-compat: Empty string deletes env var 7d664837e1a9 #10662 win: expand nested env var in $HOME 2816bc8620ca #8349 edit.c: Disable indent during completion 58f505dc7432 #9829 startup: remove TUI init special-case Historically Vim/Nvim does backflips to handle input and show messages before a UI is available. This logical contradiction was already fixed for remote UIs (#9024 c236e80cf3df). Fixing it also for the TUI avoids problems on Windows, simplifies the logic, and avoids races like #9959.
* Merge pull request #11025 from bfredl/doublescrollBjörn Linse2019-09-15
|\ | | | | compositor: avoid transmitting invalid lines on double scroll
| * compositor: avoid transmitting invalid lines on double scrollBjörn Linse2019-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens in an operation which both increases topline and also inserts new lines somewhere in the remaining are. So before drawing any line, win_update() is performing two grid_scroll operations. === A B C D E^ F === Consider that new line will be inserted after line E and screen also scrolled up to line C. First the topline will be adjusted (x is the scrolling region, ! invalid/empty space created by the scroll): === C x D x E^ x F x ! x ! x === and then space is inserted for the new line === C D E^ ! x F x ! x === The problem is that we are now assuming that any invalid area ! created by a scroll is filled with actual contents (by win_line etc) before it is scrolled again. But in this case the last invalid line ! gets scrolled. Ideally we should make win_update smarter and just scroll valid lines for the later scroll (it is just wasteful to scroll the larger area anyway), but for the 0.4 releasejust make the compositor ignore such an invalid line (as it will get overdrawn anyway later).
* | Merge pull request #11026 from janlazo/vim-8.1.0220Daniel Hahler2019-09-15
|\ \ | |/ |/| vim-patch:8.1.0220
| * test/old: detect user modules for python,rubyJan Edmund Lazo2019-09-15
| | | | | | | | | | | | | | | | | | Set the environment variables before changing $HOME so that python,ruby can find user modules not in $HOME. Reference: - https://github.com/neovim/neovim/commit/7be7ec98a22451ec75ce5eb9284fa1722b53c697 - https://github.com/neovim/neovim/issues/10270#issuecomment-531516948
| * vim-patch:8.1.0220: Ruby converts v:true and v:false to a numberJan Edmund Lazo2019-09-15
|/ | | | | | | | | Problem: Ruby converts v:true and v:false to a number. Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, closes vim/vim#3259) https://github.com/vim/vim/commit/d84b26a03b13cd816d80ff32b61e8de740d499ce nvim does not support v:none.
* Merge #11021 from justinmk/ctx-rename-buflistJustin M. Keyes2019-09-14
|\ | | | | API: Context: "opts" param, et al.