aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge #7499 'vim-patch: runtime'Justin M. Keyes2017-11-07
|\
| * po: remove duplicate definitionsJustin M. Keyes2017-11-07
| |
| * health.vim: env var may be defined but empty #7498Justin M. Keyes2017-11-07
| |
| * vim-patch:74675a666b51Justin M. Keyes2017-11-07
| | | | | | | | | | | | Updated runtime files and translations. https://github.com/vim/vim/commit/74675a666b51edd61e0210132658d81a86c5102c
| * vim-patch:3ec574f2b549Justin M. Keyes2017-11-07
| | | | | | | | | | | | | | | | Update runtime files. Includes changing &sw to shiftwidth() for all indent scripts. https://github.com/vim/vim/commit/3ec574f2b549f456f664f689d6da36dc5719aeb9
| * vim-patch:6aa8cea46d41Justin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35
| * vim-patch:b4d6c3ea4a59Justin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/b4d6c3ea4a59c6d8d4e0e52120596866f0edd510
| * vim-patch:0635ee682481Justin M. Keyes2017-11-07
| | | | | | | | | | | | Runtime file updates https://github.com/vim/vim/commit/0635ee682481e2da0d39cd970b3cb573a1c12a17
| * vim-patch:94237495c03fJustin M. Keyes2017-11-07
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/94237495c03f919a60b262fdcd3861e1931fc45a
| * vim-patch:cd5c8f825078Justin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/cd5c8f82507822467232ab71e1ebbaae19595916
| * vim-patch:e0720cbf63ebJustin M. Keyes2017-11-07
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/e0720cbf63eb3045be8d965e3182c0c392c7b5e9
| * vim-patch:3c2881dc1195Justin M. Keyes2017-11-07
|/ | | | | | Update runtime files. Add Rust support. https://github.com/vim/vim/commit/3c2881dc1195f53ebafc387378399ddd6cb677a7
* vim-patch.sh: new option `-P`Justin M. Keyes2017-11-07
|
* health.vim: show TUI-related env vars (#7498)Justin M. Keyes2017-11-07
| | | | ref #7473 ref #7490
* doc: deprecate 'highlight'; remove howto.txt (#7497)Justin M. Keyes2017-11-07
|
* Merge #7491 'vim-patch: runtime'Justin M. Keyes2017-11-06
|\
| * vim-patch:036986f1507dJustin M. Keyes2017-11-06
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
| * vim-patch:214641f77df6Justin M. Keyes2017-11-06
|/ | | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4 N/A: vim-patch:26a280c47a1c
* eval/decode.c: Avoid NULL arg to memchr() #7332Adrian Neumann2017-11-06
| | | | | | | Clang complains because memchr has undefined behavior if the ptr is NULL, even if len==0. Helped-by: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru>
* Merge #7188 from justinmk/docJustin M. Keyes2017-11-06
|\ | | | | doc; minor runtime bug fixes
| * doc: API (generated)Justin M. Keyes2017-11-06
| |
| * gen_api_vimdoc.py: workaround: attributes of (void) functionsJustin M. Keyes2017-11-06
| |
| * gen_api_vimdoc.py: support Doxygen @noteJustin M. Keyes2017-11-06
| |
| * doc: job-controlJustin M. Keyes2017-11-06
| | | | | | | | | | | | closes #4266 closes #4746 ref https://github.com/neovim/neovim/issues/7058#issuecomment-317196803
| * man.vim: allow other ex-commands after :ManJustin M. Keyes2017-11-06
| |
| * spellfile.vim: use :keeppatterns before :globalJustin M. Keyes2017-11-06
| |
| * doc: nvim_buf_add_highlight(): zero-indexed linesJustin M. Keyes2017-11-06
| |
| * docJustin M. Keyes2017-11-06
|/
* 'inccommand': Fix matches for zero-width (#7487)KillTheMule2017-11-05
| | | closes #7485
* docs: correct cmdline_special_char documentation (#7475)Björn Linse2017-11-03
|
* test: server_spec: Tolerate missing protocol (#7478)James McCoy2017-11-02
| | | | | | | | | | | | | | | | | Travis disabled IPv6: [ RUN ] serverstart(), serverstop() parses endpoints correctly: FAIL ...build/neovim/neovim/test/functional/eval/server_spec.lua:83: Expected objects to be the same. Passed in: (table) { [1] = '127.0.0.1:12345' } Expected: (table) { [1] = '127.0.0.1:12345' *[2] = '::1:12345' } Change all tests to ensure a server was actually started before expecting it to be returned from serverlist().
* win/package: nvim-qt v0.2.8 (#7464)Justin M. Keyes2017-10-31
|
* Merge #7454 'ui: ext_wildmenu'Justin M. Keyes2017-10-31
|\ | | | | | | | | closes #6168 ref #5686
| * doc: ui.txtBjörn Linse2017-10-29
| |
| * ui: allow external ui to draw wildmenuDongdong Zhou2017-10-29
| | | | | | | | | | Co-authored-by: Björn Linse <bjorn.linse@gmail.com> Updated docs and tests.
* | Merge #7315 "'inccommand': multiline, other fixes"Justin M. Keyes2017-10-31
|\ \ | | | | | | | | | | | | | | | | | | closes #5589 closes #5590 closes #5598 closes #5608
| * | Fix cmd modifier tests for the new highlightKillTheMule2017-10-29
| | |
| * | Remove superflous parameter from show_subKillTheMule2017-10-29
| | |
| * | Adjust tests for new highlighting.KillTheMule2017-10-29
| | | | | | | | | | | | Also extend an old test to show of the new way.
| * | Fix highlighting conflictKillTheMule2017-10-29
| | |
| * | Test for clearing the highlightKillTheMule2017-10-29
| | |
| * | Clear highlight when there's no matchKillTheMule2017-10-29
| | |
| * | Adjust tests for the new preview windowKillTheMule2017-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | ... that does not have that superflous last line. Also, remove some indeterminism for the freebsd64 tests. Partially, those were suggested by the tests themselves, while successfull. Some of them were added after some testing because the lookaround test would fail on freebsd64 only.
| * | Fix the last line in the preview bufferKillTheMule2017-10-29
| | | | | | | | | | | | It would always show an empty line at the end that didn't belong.
| * | Remove pat/sub from show_subKillTheMule2017-10-29
| | | | | | | | | | | | | | | | | | They were only used to not show the preview window when typing "s/" or "s//" only, in which case the previous pattern would be reused. Now the window is shown in that case.
| * | Move tests into original file, lint, and add a testKillTheMule2017-10-29
| | |
| * | LintKillTheMule2017-10-29
| | |
| * | Fix old inccomand tests, and add more for the new functionality.KillTheMule2017-10-29
| | |
| * | Inccommand: Multiline substitutions, highlighting, multibyte.KillTheMule2017-10-29
| | | | | | | | | | | | | | | Make inccomand work with multiline patterns and substitutions. Also care for proper highlighting and multibyte characters.
* | | pvs/V575: false positive (#7462)Justin M. Keyes2017-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./src/nvim/ex_getln.c:2787:1: error: V575 The 'memcpy' function doesn't copy the whole string. Use 'strcpy / strcpy_s' function to preserve terminal null. We could instead "trick" PVS like this: diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index e79476ab532a..295630693b27 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2782,9 +2782,10 @@ static void ui_ext_cmdline_show(CmdlineInfo *line) void ui_ext_cmdline_block_append(int indent, const char *line) { - char *buf = xmallocz(indent + strlen(line)); + size_t linelen = strlen(line); + char *buf = xmallocz(indent + linelen); memset(buf, ' ', indent); - memcpy(buf+indent, line, strlen(line)); + memcpy(buf + indent, line, linelen); Array item = ARRAY_DICT_INIT; ADD(item, DICTIONARY_OBJ((Dictionary)ARRAY_DICT_INIT));