aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* vim-patch:8.0.0622: selecting quoted text fails with 'selection' "exclusive"Justin M. Keyes2018-02-11
| | | | | | | | | Problem: Using a text object to select quoted text fails when 'selection' is set to "exclusive". (Guraga) Solution: Swap cursor and visual start position. (Christian Brabandt, closes vim/vim#1687) https://github.com/vim/vim/commit/c5e2b040b490c2f4dd50c945840bc176bfcccb29
* vim-patch:8.0.1158: still old style testsJustin M. Keyes2018-02-11
| | | | | | | Problem: Still old style tests. Solution: Convert serveral tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
* vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong directionJustin M. Keyes2018-02-11
| | | | | | | | Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. (Ramel Eshed) Solution: Adjust search_start. (Christian Brabandt) https://github.com/vim/vim/commit/da5116da4586fc714434411d2cccb066caa3723e
* vim-patch:8.0.0689: ~ character not escaped when extending search patternJustin M. Keyes2018-02-11
| | | | | | | | Problem: The ~ character is not escaped when adding to the search pattern with CTRL-L. (Ramel Eshed) Solution: Escape the character. (Christian Brabandt) https://github.com/vim/vim/commit/a693d0584b9a7ccce98813dda3a6badb209904c7
* vim-patch:8.0.0440: not enough test coverage in Insert modeJustin M. Keyes2018-02-11
| | | | | | | | | [Nvim note: test_override() omitted] Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes vim/vim#1521) https://github.com/vim/vim/commit/eb992cb90fd79c77ad2743459ac898e6ac3de939
* Merge #7939 "fix crash: 'spell' and long lines"Justin M. Keyes2018-02-11
|\
| * Merge #7939 "fix crash: 'spell' and long lines"Justin M. Keyes2018-02-11
| |\ | | | | | | | | | closes #7937
| | * screen.c: resolve neovim issue #7937Michael Brailsford2018-02-07
| | |
* | | Merge pull request #7982 from bfredl/hlrefactorBjörn Linse2018-02-11
|\ \ \ | |/ / |/| | Refactor HlAttrs so that termguicolors is implemented purely on TUI side
| * | ui/tui: highlighting refactorBjörn Linse2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Make HlAttr contain highlighting state for both color modes (cterm and rgb). This allows us to implement termguicolors completely in the TUI. Simplify some logic duplicated between ui.c and screen.c. Also avoid some superfluous highlighting reset events.
* | | version.c: update [ci skip] (#7953)Marvim the Paranoid Android2018-02-11
|/ /
* | vim-patch:8.0.1483: searchpair() might return an invalid value on timeoutDaniel Hahler2018-02-10
| | | | | | | | | | | | | | | | Problem: Searchpair() might return an invalid value on timeout. Solution: When the second search times out, do not accept a match from the first search. (Daniel Hahler, closes vim/vim#2552) https://github.com/vim/vim/commit/9d32276b52a63fccfae681f0d1d6ccb66efec1c0
* | shell: handle split-up UTF-8 sequencesBjörn Linse2018-02-10
| |
* | shell: support bellBjörn Linse2018-02-10
| |
* | test/oldtest: move Nvim setup to testdir/setup.vimJustin M. Keyes2018-02-09
| |
* | defaults: sidescroll=1Justin M. Keyes2018-02-09
| | | | | | | | ref #6289
* | lint, minor cleanupJustin M. Keyes2018-02-07
| |
* | UI: restore 'writedelay' feature.Justin M. Keyes2018-02-07
| | | | | | | | | | | | | | Removed by e0e41b30c61922e099a067ac5c137e745699a1aa, probably unintentionally. Useful for ye olde redraw debugging. TODO: Also delay redraw of statusline.
* | exit: annotate FUNC_ATTR_NORETURN functions #7954 (#7954)Justin M. Keyes2018-02-07
| | | | | | | | This should fix a particular false positive from clang 5.0.0 scan-build, which thinks that nlua_init() can continue after preserve_exit().
* | :terminal Enter/Leave should not increment jumplistJustin M. Keyes2018-02-07
|/ | | | | | | | | | | The old behavior is probably not justified, for the usual reason: terminal buffers may have interactive processes, so cursor placement is arbitrary, therefore tracking it in the jumplist is useless (or worse). N.B.: per the docstring for `checkpcmark()` it looks like we were calling `checkpcmark()` and `setpcmark()` in the wrong order. closes #3723
* shell: use msg_outtrans_len_attr for :!cmdBjörn Linse2018-02-05
| | | | fixes #7830 and #7788
* Merge #7463 'incsearch + hlsearch highlight all'Justin M. Keyes2018-02-01
|\
| * vim-patch:8.0.1393: too much highlighting with 'hlsearch' and 'incsearch' setÖmer Sinan Ağacan2018-01-26
| | | | | | | | | | | | | | Problem: Too much highlighting with 'hlsearch' and 'incsearch' set. Solution: Do not highlight matches when the pattern matches everything. https://github.com/vim/vim/commit/6621605eb97cf5fbc481282fd4d349a76e168f16
| * vim-patch:8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty patternÖmer Sinan Ağacan2018-01-26
| | | | | | | | | | | | | | Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern. Solution: Use the last search pattern. (Christian Brabandt, closes vim/vim#2292) https://github.com/vim/vim/commit/d0480097177369a6ed91d47aba189ae647afcd68
| * vim-patch:8.0.1396: memory leak when CTRL-G in search command line failsÖmer Sinan Ağacan2018-01-26
| | | | | | | | | | | | | | Problem: Memory leak when CTRL-G in search command line fails. Solution: Move restore_last_search_pattern to after "if". https://github.com/vim/vim/commit/a1d5c154dbd5fbe317726bbf2ba99632b91878f4
| * Update included_patchesÖmer Sinan Ağacan2018-01-26
| |
| * vim-patch:8.0.1250Ömer Sinan Ağacan2018-01-26
| | | | | | | | | | | | | | | | | | Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill) Solution: Redraw all windows. Start search at the end of the match. Improve how CTRL-G works with incremental search. Add tests. (Christian Brabandt, Hirohito Higashi, haya14busa, closes vim/vim#2267) https://github.com/vim/vim/commit/f8f8b2eadbaf3090fcfccbab560de5dbd501833d
| * vim-patch:8.0.1238Ömer Sinan Ağacan2018-01-26
| | | | | | | | | | | | | | | | Problem: Incremental search only shows one match. Solution: When 'incsearch' and and 'hlsearch' are both set highlight all matches. (haya14busa, closes vim/vim#2198) https://github.com/vim/vim/commit/2e51d9a0972080b087d566608472928d5b7b35d7
* | provider: make has('ruby') only return 1 if gem is installed (#7944)Marco Hinz2018-02-01
| |
* | os_system(): do not set up input stream for empty string #7951Justin M. Keyes2018-02-01
| | | | | | | | | | | | | | | | | | Test failure: test/functional/eval/system_spec.lua: "works with an empty string" E5677: Error writing input to shell-command: EPIPE ref https://github.com/neovim/neovim/pull/6558#issuecomment-361061035 ref #6554
* | version.c: update [ci skip] (#7886)Marvim the Paranoid Android2018-02-01
| | | | | | | | | | | | | | | | vim-patch:8.0.0175: setting language on MS-Windows does not always work vim-patch:8.0.0185: system() test fails on MS-Windows vim-patch:8.0.1435: memory leak in test_arabic vim-patch:8.0.0424: compiler warnings on MS-Windows vim-patch:8.0.0434: clang version not correctly detected vim-patch:8.0.0458: potential crash if adding list or dict to dict fails
* | vim-patch:8.0.0672: synconcealed() changes too often #7887nate2018-02-01
| | | | | | | | | | | | | | | | Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line. https://github.com/vim/vim/commit/cc0750dc6e878394ab0fd922b7ea4280918ae406 closes #7589
* | tui: libtermkey: force CSI driver for mouse input #7948Chih-Hsuan Yen2018-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7932 Nvim (tui.c) always enables SGR mouse (TUIData.unibi_ext.enable_mouse). But if libtermkey sees key_mouse (kmous) in terminfo its terminfo driver (driver-ti.c) will be activated, which by accident only supports X10 protocol. The libtermkey CSI driver (driver-csi.c), in contrast, supports SGR. We can force libtermkey to ignore the terminfo key_mouse entry by returning NULL in the tui_tk_ti_getstr hook. That forces the CSI driver. What is the effect of returning NULL from `tui_tk_ti_getstr()`? - libtermkey `driver-ti.c:load_terminfo()` skips the entry. - `termkey.c:peekkey()` iterates through all drivers, it finds `TERMKEY_RES_NONE` for the ti driver and falls back to the CSI driver.
* | vim-patch:8.0.0358,8.0.0359 (#7832)KunMing Xie2018-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0358: invalid memory access in C-indent code Problem: Invalid memory access in C-indent code. Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492) https://github.com/vim/vim/commit/60629d642541a089c322e65963c0a77e5f77eb79 vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested Problem: 'number' and 'relativenumber' are not properly tested. Solution: Add tests, change old style to new style tests. (Ozaki Kiichi, closes vim/vim#1447) https://github.com/vim/vim/commit/dc9a081712ec8c140e6d4909e9f6b03a629d32d3
* | win: has("wsl") on Windows Subsystem for Linux #7330Mahmoud Al-Qudsi2018-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | Per CMAKE docs, CMAKE_HOST_SYSTEM_VERSION is the result of `uname -r`: https://cmake.org/cmake/help/v3.4/variable/CMAKE_HOST_SYSTEM_VERSION.html?highlight=uname A numeric version string for the system. On systems that support uname, this variable is set to the output of uname -r. On other systems this is set to major-minor version numbers. On Windows it is something like "6.1", so it won't match ".*-Microsoft". Closes #7329
* | vim-patch:8.0.0448: some macros are lower case (#7936)KunMing Xie2018-01-30
| | | | | | | | | | | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case. https://github.com/vim/vim/commit/b5aedf3e228d35821591da9ae8501b61cf2e264c ref #6297
* | Merge #5822 'mouse.c: Fix mouse click on multibyte + concealed'Justin M. Keyes2018-01-29
|\ \
| * | Safer loop for skipping consecutive concealed charsTommy Allen2018-01-28
| | |
| * | Use one variable for tracking adjustment instead of twoTommy Allen2018-01-28
| | |
| * | Adjust cursor according to character display widthsTommy Allen2018-01-28
| | |
| * | Don't move cursor to the left if on the first column of wrapped lineTommy Allen2018-01-28
| | | | | | | | | | | | ref: #7887
| * | Use utfc_ptr2len instead of utf_ptr2lenTommy Allen2018-01-28
| | |
| * | mouse.c: Fix mouse click on lines with multibyte textTommy Allen2018-01-28
| | | | | | | | | | | | fixes #5341, #5801
* | | Merge #7842 'win: fnamemodify()'Justin M. Keyes2018-01-29
|\ \ \ | |/ / |/| |
| * | fixup: lint errorsJan Edmund Lazo2018-01-28
| | |
| * | win: explicitly specify pathsepJan Edmund Lazo2018-01-28
| | |
| * | fixup: compile-time errorsJan Edmund Lazo2018-01-28
| | |
| * | win: detect / and \ as root path separatorJan Edmund Lazo2018-01-28
| | |
* | | vim-patch:8.0.0528: highlight wrong text when 'wim' includes "longest" (#7927)Jakub Łuczyński2018-01-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first file name is highlighted, even though the text shows the longest match. Solution: Do not highlight the first match. (LemonBoy, closes vim/vim#1602) https://github.com/vim/vim/commit/ef8eb0897819099fb00d675afb9bffe1d008c45e
* | | test/old: fix Test_set_completion()Justin M. Keyes2018-01-28
| | | | | | | | | | | | | | | | | | Vim's src/testdir has more directories in it, so the "./samples/" item happens to have a space in front of it. This isn't relevant to the test, so just elide the space for our case.