aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | build: TSan: add src/.tsan-suppressionsDaniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses runtime suppressions instead of a blacklist, which can only ignore whole files/functions. Ref: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
* | | | pyxversion: fix logic error #10759Björn Linse2019-08-14
|/ / / | | | | | | | | | Do not incorrectly prefer python2 if python3 is working. fixes #10758
* | | clang/"null pointer dereference" #10776Ihor Antonov2019-08-14
| | | | | | | | | assert(curbuf) in ins_compl_get_exp
* | | ci: Travis: check logs for TSan also (#10775)Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | Uses `cat -A` with early "*San" check: This prints terminal escape sequences as-is (for debugging), and does not cause (display) issues with the Travis log. Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
* | | compositor: handle invalid screen positions after resize gracefullyBjörn Linse2019-08-14
|/ / | | | | | | | | | | | | | | The screen resize logic needs to be refactored to be simpler and more deterministic. Until then, we need to handle attempts to draw outside of the screen size gracefully, just like the old vim code did. fixes #9989
* | Merge #10763 from justinmk/startup-guicursorJustin M. Keyes2019-08-14
|\ \ | | | | | | startup: handle 'guicursor' after user config
| * | styleJustin M. Keyes2019-08-13
| | |
| * | startup: handle 'guicursor' after user configJustin M. Keyes2019-08-13
| | | | | | | | | | | | | | | | | | | | | | | | If parse_shape_opt() is done before user config, the TUI may cause unwanted changes to the terminal cursor which cannot later be undone (see #4396). fix #10750
* | | tests: include `timer_start` in duration #10772Daniel Hahler2019-08-14
| | | | | | | | | | | | This should not make much of a difference, but increases the timeout when `load_factor` is used slightly.
* | | mksession: use exists(':tcd'), not has('nvim') #10770mg9792019-08-14
| | | | | | | | | | | | Since recent vim versions also support :tcd, check for the actual availability of the command, rather than has('nvim').
* | | vim-patch:8.1.0456: running test hangs when the input file is being edited ↵Daniel Hahler2019-08-14
| | | | | | | | | | | | | | | | | | | | | (#10764) Problem: Running test hangs when the input file is being edited. Solution: Use a SwapExists autocommand to ignore editing the test script. https://github.com/vim/vim/commit/d8f27b30d6ec0bcfcb8f44c6201e36c003d1ce88
* | | vim-patch:8.1.1842: test listed as flaky should no longer be flakyDaniel Hahler2019-08-13
| | | | | | | | | | | | | | | | | | | | | Problem: Test listed as flaky should no longer be flaky. Solution: Remove Test_popup_and_window_resize from the list of flaky tests. (Daniel Hahler, close vim/vim#4807) https://github.com/vim/vim/commit/9570aacdb82c1eb5645d0fbc35bf9728d7334b23
* | | vim-patch:8.0.1179: Test_popup_and_window_resize() does not always passDaniel Hahler2019-08-13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_popup_and_window_resize() does not always pass. Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file. (Ozaki Kiichi, closes vim/vim#2186) https://github.com/vim/vim/commit/631820536e4084e01bf990f9314ec385b60b21d7 vim-patch:8.0.1526: no test using a screen dump yet Problem: No test using a screen dump yet. Solution: Add a test for C syntax highlighting. Add helper functions. https://github.com/vim/vim/commit/da65058a9c4774dc534c7ae98d24c58b5db669fa NOTE: uses modified `GetVimProg()` (which is used with skipped tests only (mostly because of `!has('terminal')`)). Vim uses a 'vimcmd' file, while Nvim uses `$NVIM_TEST_ARGX` environment variables. Ref: https://github.com/vim/vim/pull/4806
* | clang/"null pointer dereference" #10755Ihor Antonov2019-08-13
| |
* | vim-patch:8.1.1843: might be freeing memory that was not allocated (#10756)Jan Edmund Lazo2019-08-13
| | | | | | | | | | Problem: Might be freeing memory that was not allocated. Solution: Have next_fenc() set the fenc_alloced flag. (closes vim/vim#4804) https://github.com/vim/vim/commit/f077db24230d10ef9a66ae14da34b639464d8fa2
* | build: link libraries by full path (for luv.so) (#10661)Daniel Hahler2019-08-12
| | | | | | | | | | | | | | | | Use "luv" as imported library to work around "-lluv" being used due to missing SONAME. Fixes https://github.com/neovim/neovim/issues/10407. Ref: https://gitlab.kitware.com/cmake/cmake/issues/19578 Ref: https://github.com/NixOS/nixpkgs/issues/64400#issuecomment-516557253
* | testdir/test_popup.vim: sync/align with Vim (#10751)Daniel Hahler2019-08-12
| |
* | ex_getln.c: fix compute_cmdrow() not resetting lines_left (#10749)Ghjuvan Lacambre2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, when `inccomand` was set to `nosplit`, multi-line substitutions collapsed the command-line. This happened because when ex_getln.c:cursorcmd() computed a msg_row, it was given a cmdline_row one line too high. This happened because message.c:msg_puts_display() was supposed to decrement cmdline_row but didn't, because of the `msg_no_more && lines_left == 0` check placed just before the decrementation part in msg_puts_display's while loop. Every time msg_puts_display writes a line, it decreases `lines_left` (a variable used to know how many lines are left for prompts). Since redrawcommandline() did not reset `lines_left` between calls to msg_puts_display, every time a character was pressed, `lines_left` was decremented. This meant that once the user pressed COLUMNS+ROWS numbers of characters, `lines_left` would reach 0 and prevent msg_row from being decremented. It makes sense to fix setting `lines_left` to `cmdline_row` in `compute_cmdrow` ; after all, computing where the command line row should be placed is equivalent to computing how many `lines_left` of output there are left. Closes #8254.
* | Merge #10098 'win: fix msg_puts_printf()'Justin M. Keyes2019-08-12
|\ \ | |/ |/|
| * Change to use VV_PROGPATH instead os_exepath()erw72019-06-09
| |
| * Fix problems with message catalog directoryerw72019-06-09
| | | | | | | | | | | | | | | | - In appimage, the message catalog is not used because there is no message catalog in LOCALE_INSTALL_DIR. Therefore, change to exepath/../share/locale instead of LOCALE_INSTALL_DIR. - The old vim style($runtime/lang) is no longer used. Thus all relevant code is removed.
| * Remove display_erros()erw72019-06-09
| | | | | | | | | | do_shell() in Nvim uses the Nvim UI, not the tty directly, so display_errors() is not necessary anymore.
| * Remove USE_MCH_ERRMSGerw72019-06-09
| | | | | | | | USE_MCH_ERRMSG has never been defined, so the dead code has been removed.
| * Change mch_errmsg and mch_msg from macro to functionerw72019-06-09
| |
| * Fix garbled problem with msg_puts_printf on Windowserw72019-06-09
| |
* | Merge pull request #10745 from blueyed/vim-8.1.1461Daniel Hahler2019-08-11
|\ \ | | | | | | vim-patch:8.1.1461 / vim-patch:8.1.1462
| * | vim-patch:8.1.1462: MS-Windows: using special character requires quotingDaniel Hahler2019-08-11
| | | | | | | | | | | | | | | | | | Problem: MS-Windows: using special character requires quoting. Solution: Add quotes. (Ken Takata) https://github.com/vim/vim/commit/c974022c31e790136c62586eb0b0ace2d02d2afb
| * | vim-patch:8.1.1461: tests do not run or are not reliable on some systemsDaniel Hahler2019-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests do not run or are not reliable on some systems. Solution: Use "findstr" instead of "grep" on MS-Windows. Clear PROMPT_COMMAND in the terminal test. Delete temp file. Wait for output after executing a debug command. (Yegappan Lakshmanan, closes vim/vim#4479) https://github.com/vim/vim/commit/ddd3308782e931a2c390d692cb23c40d8169bd6f Ignored changes to testdir/test_terminal.vim.
| * | test_source.vim: move Test_source_sandboxDaniel Hahler2019-08-11
| | |
* | | win/env: Vim-compat: Empty string deletes env var #10743erw72019-08-11
|/ / | | | | | | | | | | | | | | - Windows: `set FOO=` deletes environment variable FOO, and there is no way to set empty string expect by calling the API. - Vim-compatible: `:let $FOO=""` deletes the environment variable. - See also Test_WindowsHome(). ref: https://github.com/neovim/neovim/pull/10657#issuecomment-516368089
* | win: expand nested env var #10662erw72019-08-11
| | | | | | | | Vim-compatible behavior for a Windows edge case.
* | clang/"Argument with 'nonnull' attribute passed null" #10739Ihor Antonov2019-08-11
| | | | | | | | | | | | | | | | Problem: In screen.c grid_char_needs_redraw clang warns that grid->chars could be NULL Solution: Suggested by bfredl. Add explicit check grid->chars != NULL in grid_put_linebuf similar to grid_puts_len
* | Merge pull request #10738 from bfredl/cmdwincloseBjörn Linse2019-08-10
|\ \ | | | | | | api/window: disallow closing non-current window in cmdwin state
| * | api/window: disallow closing non-current window in cmdwin stateBjörn Linse2019-08-10
| | |
* | | testdir/test_taglist.vim: move Test_tagsfile_without_trailing_newlineDaniel Hahler2019-08-10
| | | | | | | | | | | | Align with Vim. Added in a79c0c8f7.
* | | vim-patch:8.1.0911: tag line with Ex command cannot have extra fieldsDaniel Hahler2019-08-10
|/ / | | | | | | | | | | Problem: Tag line with Ex command cannot have extra fields. Solution: Recognize |;" as the end of the command. (closes vim/vim#2402) https://github.com/vim/vim/commit/943e9639a9ecb08bdec78ae6695c917bca6210b9
* | API: nvim_win_close: Fix closing cmdline-window #10087R. Simon2019-08-10
| |
* | win/os_env_exists(): workaround libuv bug #10734Justin M. Keyes2019-08-10
| | | | | | | | | | | | | | | | | | | | os_env_exists() fails on MSVC build: os_env_exists:104: uv_os_getenv(EMPTY_VAR) failed: -4094 UNKNOWN - Revert 396a3945c4eba733b3a99a7ded217af83a400791 - HACK: Windows: return TRUE if uv_os_getenv() returns UV_UNKNOWN, until libuv bug is fixed: https://github.com/libuv/libuv/issues/2413 ref https://github.com/neovim/neovim/commit/396a3945c4eba733b3a99a7ded217af83a400791#r34642361
* | vim-patch:8.1.1458: crash when using gtags #10704Jan Edmund Lazo2019-08-10
| | | | | | | | | | | | Problem: Crash when using gtags. (issue vim/vim#4102) Solution: Check for negative row or col in screen_puts_len(). (Christian Brabandt) https://github.com/vim/vim/commit/0b4c9eddb5752d46b65d16e42230b1228f230f40
* | exists(): return false for empty env var #10657Daniel Hahler2019-08-09
| | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/3266 close #10657
* | Merge #10706 from janlazo/vim-8.1.1465Justin M. Keyes2019-08-09
|\ \ | | | | | | vim-patch:8.1.{1465,1467}
| * | vim-patch:8.1.1467: cscope test failsJan Edmund Lazo2019-08-05
| | | | | | | | | | | | | | | | | | Problem: Cscope test fails. Solution: Update expected text. https://github.com/vim/vim/commit/d6ec1730bab0ef4a472637ffe5796d1351442308
| * | vim-patch:8.1.1465: allocating wrong amount of memoryJan Edmund Lazo2019-08-05
| | | | | | | | | | | | | | | | | | Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan) Solution: Use sizeof() for right type of struct. https://github.com/vim/vim/commit/a37833dbd7d3cb0fff4cbf0ba6e80d0ad55cd4b9
* | | Merge pull request #10171 from blueyed/vim-8.1.1318Daniel Hahler2019-08-09
|\ \ \ | | | | | | | | vim-patch:8.1.1318: code for text changes is in a "misc" file
| * | | lintDaniel Hahler2019-08-07
| | | |
| * | | remove !has_mbyte branchesDaniel Hahler2019-08-07
| | | | | | | | | | | | | | | | Ref: https://github.com/neovim/neovim/pull/10171#discussion_r292437832
| * | | includesDaniel Hahler2019-08-07
| | | |
| * | | move ins_charDaniel Hahler2019-08-07
| | | |
| * | | lintDaniel Hahler2019-08-07
| | | |
| * | | move del_linesDaniel Hahler2019-08-07
| | | |