aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | win/install: winpty-agent.exeRui Abreu Ferreira2017-08-16
| | | | | | | | | |
| * | | | | | | | | win: integrate winpty (WIP)Ryan Prichard2017-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling of process exit is still broken. It detects the moment when the child process exits, then quickly stops polling for process output. It should continue polling for output until the agent has scraped all of the process' output. This problem is easy to notice by running a command like "dir && exit", but even typing "exit<ENTER>" can manifest the problem -- the "t" might not appear. winpty's Cygwin adapter handles shutdown by waiting for the agent to close the CONOUT pipe, which it does after it has scraped the child's last output. AFAIK, neovim doesn't do anything interesting when winpty closes the CONOUT pipe.
* | | | | | | | | | Merge pull request #7052 from ckelsel/vim-8.0.0044James McCoy2017-08-16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0044
| * | | | | | | | | | vim-patch:8.0.0044ckelsel2017-08-16
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: In diff mode the cursor may end up below the last line, resulting in an ml_get error. Solution: Check the line to be valid. https://github.com/vim/vim/commit/025e3e0bafbc85cc4e365145af711edf99d0a90d
* | | | | | | | | | Merge pull request #7145 from ckelsel/vim-8.0.0174James McCoy2017-08-16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0174
| * | | | | | | | | | vim-patch:8.0.0174ckelsel2017-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: For completion "locale -a" is executed on MS-Windows, even though it most likely won't work. Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata) https://github.com/vim/vim/commit/b8f7bd68f6fdff51ca4db5b145dcde42ee7b804b
* | | | | | | | | | | vim-patch:8.0.0679Justin M. Keyes2017-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory. Solution: Get the parent frame pointer earlier. https://github.com/vim/vim/commit/41cc038ff83498c589c7d25b3d2984145528eb92
* | | | | | | | | | | vim-patch:8.0.0678 closing a window does not trigger resizingJustin M. Keyes2017-08-16
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #6748 Problem: When 'equalalways' is set and closing a window in a separate frame, not all window sizes are adjusted. (Glacambre) Solution: Resize all windows if the new current window is not in the same frame as the closed window. (closes vim/vim#1707) https://github.com/vim/vim/commit/8eeeba8c025ff844e6514c4a60cec11bf1fc1b35
* | | | | | | | | | Merge pull request #7168 from teto/fix_covertyJames McCoy2017-08-15
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Closes #7149
| * | | | | | | | | | coverty: solve  #7149Matthieu Coudron2017-08-15
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge #6364 'command-line color hook'Justin M. Keyes2017-08-16
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | ex_getln: Make error messages look betterZyX2017-08-14
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' into colored-cmdlineZyX2017-08-06
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | api/helpers: Fix typoZyX2017-08-06
| | | | | | | | | | |
| * | | | | | | | | | api/helpers: Clarify try_start() usageZyX2017-08-06
| | | | | | | | | | |
| * | | | | | | | | | Merge branch 'master' into colored-cmdlineZyX2017-07-31
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into colored-cmdlineZyX2017-07-31
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | ex_getln: Cache highlight callback calling resultsZyX2017-07-26
| | | | | | | | | | | | |
| * | | | | | | | | | | | message: Only require second (format) argument to be not NULLZyX2017-07-26
| | | | | | | | | | | | |
| * | | | | | | | | | | | ex_getln: Avoid GCC “unused variable” warning from QBZyX2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c: In function ‘color_cmdline’: 17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c:2335:8: error: variable ‘printed_errmsg’ set but not used [-Werror=unused-but-set-variable] 17:25:45,363 WARN - bool printed_errmsg = false; 17:25:45,363 WARN - ^ 17:25:45,399 WARN - cc1: all warnings being treated as errors
| * | | | | | | | | | | | *: Fix clint errorsZyX2017-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | ex_getln: Check prev_prompt_errors before running redrawcmdlineZyX2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise there will be infinite recursion and shortly a crash. Running redrawcmdline recursively occurs under color_cmdline_error label.
| * | | | | | | | | | | | api helpers: Also save and restore did_emsgZyX2017-07-18
| | | | | | | | | | | | |
| * | | | | | | | | | | | ex_getln: Replace global with entry in save_cclineZyX2017-07-17
| | | | | | | | | | | | |
| * | | | | | | | | | | | ex_getln: Do not do useless try_enter/try_leave callsZyX2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are actually needed for two modes only. And even for these modes they should eventually go away.
| * | | | | | | | | | | | ex_getln: Do not goto color_cmdline_end without first cleaning upZyX2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue with debug mode was actually not cleaning up after `try_enter`: location `&tstate` was pointing to got invalidated and received some “garbage” (actually, values that got stored on the stack afterwards). But pointer to that garbage was still stored in `msg_list`, so next attempt to check it resulted in a crash.
| * | | | | | | | | | | | api helpers: Save/restore more values in try_enter/try_leaveZyX2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes memory leak reported by ASAN. This also somehow fixes test40, though I have no idea why except that that test yields memory leak report.
| * | | | | | | | | | | | oldtests: Use $(TOOL) in place of $(VALGRIND)ZyX2017-07-16
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'master' into colored-cmdlineZyX2017-07-15
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | ex_getln: Save and restore try stateZyX2017-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: when processing cycle such as :for pat in [' \ze*', ' \zs*'] : try : let l = matchlist('x x', pat) : $put ='E888 NOT detected for ' . pat : catch : $put ='E888 detected for ' . pat : endtry :endfor `:let l = …` throwing an error causes this error to be caught after color_cmdline attempts to get callback for highlighting next line (the one with `$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
| * | | | | | | | | | | | | ex_getln: Do not make <C-c> interrupt input() after interrupting hl cbZyX2017-06-28
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Fix indentZyX2017-06-28
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Make sure standard error reporting facility is not usedZyX2017-06-28
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Fix “echoerr msg not shown” problemZyX2017-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also attempted to fix problem with cancelling input() on error by avoiding standard error printing facilities (assumed thrown error message is the problem), but with no luck so far.
| * | | | | | | | | | | | | ex_getln: Call highlight callback inside :tryZyX2017-06-28
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Enable coloring for expression modeZyX2017-06-27
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Add some more tests, fix some found errorsZyX2017-06-27
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Add basic support for coloring command-line promptZyX2017-06-27
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ex_getln: Do not do arabic shaping unless neededZyX2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should speed up execution without arabic characters a bit, slowing down with arabic characters. More necessary, this allows coloring prompt without caring about arabic shaping at the first iteration.
| * | | | | | | | | | | | | ex_getln: Clean up draw_cmdline a bitZyX2017-06-27
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | doc: screen_resize(): remove mention of "mustset"Justin M. Keyes2017-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "mustset" is from Vim term.c:set_shellsize(), not relevant here: we behave as if mustset=true always.
* | | | | | | | | | | | | | ui: disable 'lazyredraw' during ui_refresh.Justin M. Keyes2017-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Could also try `do_redraw = true` instead of save/restore `p_lz`, but the nice thing about save/restore of `p_lz` is that it is "atomic". The semantics of `do_redraw` are not clear to me. Closes #4884 References #6202 References https://github.com/neovim/neovim/pull/6202#issuecomment-284379503 References #3929 #5692 #6157 References #5866
* | | | | | | | | | | | | | io: more guards against NULL filename (#7159)Justin M. Keyes2017-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References ac055d677aa9 References #4370
* | | | | | | | | | | | | | lua/executor: Fix crash when printing empty string (#7157)Nikolai Aleksandrovich Pavlov2017-08-13
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | tui: fix DECSCUSR logic #6997Sebastian Parborg2017-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix linuxvt cursor shape codes Fix konsole cursor_shapes (even when inside tmux) Do not trust old VTE terminal lies Closes #6978 Closes #7002 Closes #7049
* | | | | | | | | | | | | | vim-patch:8.0.0235Justin M. Keyes2017-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak detected when running tests for diff mode. Solution: Free p_extra_free. https://github.com/vim/vim/commit/b031c4ea04eb1e37a873fbb85e90d835aa1e2b1c
* | | | | | | | | | | | | | oldtest: cannot `:set term` in NvimJustin M. Keyes2017-08-12
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | vim-patch:8.0.0524Justin M. Keyes2017-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Folds are messed up when 'encodin' is "utf-8". Solution: Also set the fold character when it's not multi-byte. https://github.com/vim/vim/commit/8da1e6cedf839902e15987a98733ebd31b5f1b81
* | | | | | | | | | | | | | vim-patch:8.0.0518Justin M. Keyes2017-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #7086 Problem: Storing a zero byte from a multi-byte character causes fold text to show up wrong. Solution: Avoid putting zero in ScreenLines. (Christian Brabandt, closes vim/vim#1567) https://github.com/vim/vim/commit/c6cd8409c2993b1476e123fba11cb4b8d743b896