aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
| | |
| * | doc: State that it is called for new *displayed* inputZyX2017-08-14
| | |
| * | functests: Alter commentZyX2017-08-14
| | |
| * | doc: Clarify how function is executedZyX2017-08-14
| | |
| * | functests: Check that input is correctly silencedZyX2017-08-14
| | |
| * | Merge branch 'master' into colored-cmdlineZyX2017-08-06
| |\ \
| * | | api/helpers: Fix typoZyX2017-08-06
| | | |
| * | | functests: Remove wait() from input_specZyX2017-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
| |\ \ \ \
| * | | | | Revert "functests: Replace wait() with nvim_async"ZyX2017-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e129607988b88719935bc4af517e7ee2689f5871. Tests stopped working in CI.
| * | | | | ex_getln: Cache highlight callback calling resultsZyX2017-07-26
| | | | | |
| * | | | | functests: Replace wait() with nvim_asyncZyX2017-07-26
| | | | | |
| * | | | | message: Only require second (format) argument to be not NULLZyX2017-07-26
| | | | | |
| * | | | | functests: Remove unneeded wait()sZyX2017-07-26
| | | | | |
| * | | | | doc: Update documentationZyX2017-07-26
| | | | | |
| * | | | | functests: Add sleep to <C-c> testZyX2017-07-18
| | | | | |
| * | | | | 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
| | | | | |
| * | | | | functests: Test input() nesting supportZyX2017-07-18
| | | | | |
| * | | | | functests: Check for previously unchecked 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
| | | | | |
| * | | | | doc: Adjust documentation a bitZyX2017-07-17
| | | | | | | | | | | | | | | | | | 2 spaces after sentense ends, clarify what will be highlighted.
| * | | | | 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.
| * | | | | | functests: Uncomment `{REDRAW}` part of “works” testZyX2017-06-28
| | | | | | |
| * | | | | | functests: Partially uncomment <C-c> testZyX2017-06-28
| | | | | | |
| * | | | | | ex_getln: Call highlight callback inside :tryZyX2017-06-28
| | | | | | |
| * | | | | | functests: Make “stops executing callback” test workZyX2017-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed to be adjusted to use input() (previously relied on side-effects of executing `:cmd`) and dismiss something (hidden “Press ENTER” message?).
| * | | | | | functests: Fix typoZyX2017-06-28
| | | | | | |
| * | | | | | functests: Make tests work with input()ZyX2017-06-27
| | | | | | | | | | | | | | | | | | | | | There are still some issues: specifically, new “pending” test hangs busted.
| * | | | | | functests: Comment out failing testZyX2017-06-27
| | | | | | |
| * | | | | | functests: Abstract away some ways to enter cmdline coloring modeZyX2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: should actually switch to using input() coloring because other coloring variants are eventually going away.
| * | | | | | ex_getln: Enable coloring for expression modeZyX2017-06-27
| | | | | | |
| * | | | | | functests: Add missing wait()ZyX2017-06-27
| | | | | | |
| * | | | | | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
| | | | | | |