aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* :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
* Merge pull request #7844 from bfredl/shelloutBjörn Linse2018-02-06
|\ | | | | shell: use msg functions for :!cmd so UTF-8 and binary is supported.
| * tests: cleanup bufhl testBjörn Linse2018-02-06
| |
| * shell: update `execute('!cmd')` test to new behaviorBjörn Linse2018-02-06
| | | | | | | | And similarly nvim_command_output test
| * shell: add test for binary and multibyte outputBjörn Linse2018-02-06
| | | | | | | | Also update existing tests for new (vim-compatible) newline behavior
| * shell: use msg_outtrans_len_attr for :!cmdBjörn Linse2018-02-05
|/ | | | fixes #7830 and #7788
* Merge pull request #7957 from jamessan/lua-functionaltestJames McCoy2018-02-04
|\ | | | | [RFC] Ensure build works without LuaJIT available
| * lintJames McCoy2018-02-03
| |
| * tests: Make format_string('%q', ...) output more stableZyX2018-02-02
| | | | | | It appears to be different on lua and luajit.
| * functests: Improve error reporting in _check_parsing functionZyX2018-02-02
| | | | | | May be needed for unit tests as well though.
| * test: man_spec: Fix use of nested [[ quotingJames McCoy2018-02-02
| | | | | | | | | | | | Lua (not LuaJIT) complains about the "^[[" strings inside the expect, since it sees them as nested quotes. Change the quoting to [=[ ]=] to avoid the issue.
| * travis: Don't run unit tests for functionaltest-lua buildJames McCoy2018-02-02
| |
| * cmake: Set TEST_LIBNVIM_PATH to empty string when not unit testingJames McCoy2018-02-02
| |
| * third-party: Install luabitop if using LuaJames McCoy2018-02-02
| |
| * third-party: lua: Set LUA_ROOT to ${DEPS_INSTALL_DIR}James McCoy2018-02-02
| |
| * third-party: luarocks: Use Lua if LuaJIT is disabledJames McCoy2018-02-02
| |
| * travis: Disable LuaJIT for functionaltest-lua buildJames McCoy2018-02-02
|/ | | | | Since we're already using Lua for the testing this allows us to ensure our build still works properly without LuaJIT available.
* build: BuildLuarocks.cmake: fix luacheck rockspec (#7961)손량2018-02-02
| | | luacheck renamed the filename from luacheck-scm-1.rockspec to luacheck-dev-1.rockspec.
* 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
| * Add testsÖmer Sinan Ağacan2018-01-26
| |
| * 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
| |
* | test: robust cleanup, unique filenames #7950 (#7950)Justin M. Keyes2018-02-01
| | | | | | | | | | | | | | Use unique filenames to avoid test conflicts. Use read_file() instead of io.popen(), to ensures the file is closed. Use helpers.rmdir(), it is far more robust than lfs. closes #7911
* | 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.
* | clipboard: macOS: fallback to tmux if pbcopy is broken #7940Justin M. Keyes2018-01-31
| | | | | | | | | | | | | | | | On some versions of macOS, pbcopy doesn't work in tmux <2.6 https://superuser.com/q/231130 Fallback to tmux in that case. Add a healthcheck for this scenario.
* | 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
* | vim-patch:8.0.0443: terminal width is set to 80 in test3 (#7933)KunMing Xie2018-01-30
| | | | | | | | | | | | | | Problem: Terminal width is set to 80 in test3. Solution: Instead of setting 'columns' set 'wrapmargin' depending on 'columns. https://github.com/vim/vim/commit/38a3d6c9601b637a28f399059263300e9f65eba4
* | Merge #5822 'mouse.c: Fix mouse click on multibyte + concealed'Justin M. Keyes2018-01-29
|\ \
| * | Updated testsTommy Allen2018-01-28
| | |
| * | 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
* | | dist: snap packaging #7918Christian Dywan2018-01-29
| | |
* | | Merge #7842 'win: fnamemodify()'Justin M. Keyes2018-01-29
|\ \ \ | |/ / |/| |
| * | test: use helpers.pathroot() to avoid a syscallJan Edmund Lazo2018-01-29
| | |
| * | test: osx: try resolve($TMPDIR)Jan Edmund Lazo2018-01-28
| | |
| * | test: fix failed tests with $TMPDIR in QuickBuildJan Edmund Lazo2018-01-28
| | |