aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | keymap: allow modifiers to multibyte chars, like <m-ä>Björn Linse2019-08-16
| |
* | Merge #10785 from bfredl/tui_startJustin M. Keyes2019-08-16
|\ \ | | | | | | TUI: do not use "starting" global mutated by main thread
| * | Remove TSan suppression config [skip appveyor]Daniel Hahler2019-08-15
| | |
| * | TUI: do not use "starting" global mutated by main threadBjörn Linse2019-08-15
| | |
* | | vim-patch:8.1.1852: timers test is flaky #10788Jan Edmund Lazo2019-08-16
| | | | | | | | | | | | | | | Problem: Timers test is flaky. Solution: Accept a larger count. Add test to list of flaky tests. https://github.com/vim/vim/commit/7e6feb9eeb095ec424430ff4332c77f70372ce62
* | | Merge pull request #10784 from blueyed/improve-version-compile-flagsDaniel Hahler2019-08-15
|\ \ \ | | | | | | | | Improve compile options/definitions with sanitizer builds (for --version).
| * | | src/nvim/CMakeLists.txt: use compile options/definitionsDaniel Hahler2019-08-15
| |/ / | | | | | | | | | This includes `-fsanitize=thread` etc in the output of `--version`.
* / / emsg_multiline: log Vim errors (#10778)Daniel Hahler2019-08-15
|/ /
* | build/win: fix warningsJustin M. Keyes2019-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ../src/nvim/os/fs.c: In function 'os_can_exe': ../src/nvim/os/fs.c:247:27: warning: passing argument 1 of 'is_executable_ext' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | if (is_executable_ext(name, abspath)) { | ^~~~ In file included from ../src/nvim/os/fs.c:36: src/nvim/auto/os/fs.c.generated.h:7:38: note: expected 'char *' but argument is of type 'const char *' 7 | static _Bool is_executable_ext(char *name, char **abspath) FUNC_ATTR_NONNULL_ARG(1); | ~~~~~~^~~~ ../src/nvim/os/fs.c: In function 'os_resolve_shortcut': ../src/nvim/os/fs.c:1183:56: warning: conversion from 'size_t' {aka 'const long long unsigned int'} to 'int' may change value [-Wconversion] 1183 | const int conversion_result = utf8_to_utf16(fname, len, &p); | ^~~ ../src/nvim/os/fs.c:1211:19: warning: declaration of 'conversion_result' shadows a previous local [-Wshadow] 1211 | const int conversion_result = utf16_to_utf8(wsz, -1, &rfname); | ^~~~~~~~~~~~~~~~~ ../src/nvim/os/fs.c:1183:15: note: shadowed declaration is here 1183 | const int conversion_result = utf8_to_utf16(fname, len, &p); | ^~~~~~~~~~~~~~~~~
* | os/: remove redundant defineJustin M. Keyes2019-08-15
| |
* | utf16_to_utf8: align with libuvJustin M. Keyes2019-08-15
| | | | | | | | | | | | | | | | | | - take a size parameter - return libuv error code - handle error in caller only (avoid redundant messages) https://github.com/libuv/libuv/commit/53995a3825d23eacd01e2bcfa35642c4a188d32b https://github.com/libuv/libuv/commit/4c945f49365ab4d6e1b07bf0ef2893455dc04622
* | utf8_to_utf16: align with libuvJustin M. Keyes2019-08-15
| | | | | | | | | | | | | | | | | | | | - take a size parameter - always NUL-terminate the result - return libuv error code - handle error in caller only (avoid redundant messages) https://github.com/libuv/libuv/commit/53995a3825d23eacd01e2bcfa35642c4a188d32b https://github.com/libuv/libuv/commit/4c945f49365ab4d6e1b07bf0ef2893455dc04622
* | Merge pull request #10774 from bfredl/miminal_fdcBjörn Linse2019-08-14
|\ \ | | | | | | api: nvim_win_open() style="minimal" should disable 'foldcolumn'
| * | api: nvim_win_open() style="minimal" should disable 'foldcolumn'Björn Linse2019-08-14
| | |
* | | Merge pull request #10779 from blueyed/ci-homebrew-no-updateDaniel Hahler2019-08-14
|\ \ \ | | | | | | | | ci: fix Travis
| * | | 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.