aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | executable(): return false if user is not owner #9703erw72019-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | S_IXUSR does not check ownership. Test case: touch test.txt chmod 744 test.txt sudo chown root:root test.txt nvim -u NORC :echo executable('./test.txt')
* | | | vim-patch:8.1.0994: fix relative cursor position #9676Justin M. Keyes2019-03-09
|/ / / | | | | | | | | | | | | | | | Problem: Relative cursor position is not calculated correctly. Solution: Always set topline, also when window is one line only. (Robert Webb) Add more info to getwininfo() for testing. https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
* | | Merge #9003 'vim-patch:8.0.1372'Justin M. Keyes2019-03-09
|\ \ \
| * | | vim-patch:8.0.1372: profile log may be truncated halfway a characterJan Edmund Lazo2019-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Profile log may be truncated halfway a character. Solution: Find the start of the character. (Ozaki Kiichi, closes vim/vim#2385) https://github.com/vim/vim/commit/ac112f01a6930c9d15cf0360b657373699916bfd nvim does not support "--clean" yet but "-es" should suffice for the test.
* | | | floating-window: fix crash setting cmdheight #9685erw72019-03-09
|/ / / | | | | | | fixes #9680
* | | Merge #9662 'vim-patch:8.0.{0643-0646}'Justin M. Keyes2019-03-08
|\ \ \
| * | | lint: fix coding styleBilly Su2019-03-08
| | | |
| * | | vim-patch:8.0.0646: the hlsearch test fails on fast systemsBilly Su2019-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The hlsearch test fails on fast systems. Solution: Make the search pattern slower. Fix that the old regexp engine doesn't timeout properly. https://github.com/vim/vim/commit/0946326580e6f034fe2c88d041407ea0fde980ab
| * | | vim-patch:8.0.0645: no error for illegal back reference in NFA engineBilly Su2019-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The new regexp engine does not give an error for using a back reference where it is not allowed. (Dominique Pelle) Solution: Check the back reference like the old engine. (closes vim/vim#1774) https://github.com/vim/vim/commit/1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e
| * | | vim-patch:8.0.0644: the timeout for 'hlsearch' is not testedBilly Su2019-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no test for 'hlsearch' timing out. Solution: Add a test. https://github.com/vim/vim/commit/5b1affefd0e96154517ec6f71300086ae6d22d24
| * | | vim-patch:8.0.0643: when a pattern search is slow Vim becomes unusableBilly Su2019-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states. https://github.com/vim/vim/commit/fbd0b0af6800f6ff89857863d6a07ea03f09ff6c
* | | | vim-patch:8.1.0826: too many #ifdefsJan Edmund Lazo2019-03-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code. https://github.com/vim/vim/commit/29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf
* | | | oldtests: set shellslash in Test_true_false_arg()Jan Edmund Lazo2019-03-08
| | | |
* | | | oldtests: set shellslash in Test_shellescape()Jan Edmund Lazo2019-03-08
| | | | | | | | | | | | | | | | Value of "&shell" does not affect "shellescape()".
* | | | vim-patch:8.1.0739: text objects in not sufficiently testedJan Edmund Lazo2019-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Text objects in not sufficiently tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3795) https://github.com/vim/vim/commit/81b1ba4be57b4bfd7e53a6709b4f98758612ef5f
* | | | vim-patch:8.1.0998: getcurpos() unexpectedly changes "curswant"Jan Edmund Lazo2019-03-07
|/ / / | | | | | | | | | | | | | | | Problem: getcurpos() unexpectedly changes "curswant". Solution: Save and restore "curswant". (closes vim/vim#4069) https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
* | | vim-patch:8.1.0935: old regexp engine may use invalid buffer #9692Jan Edmund Lazo2019-03-07
| | | | | | | | | | | | | | | | | | Problem: Old regexp engine may use invalid buffer for 'iskeyword' or uninitialized buffer pointer. (Kuang-che Wu) Solution: Set rex.reg_buf when compiling the pattern. (closes vim/vim#3972) https://github.com/vim/vim/commit/8bfd9469cef536f171e6666f9d9217192e09d161
* | | tui_tk_ti_getstr: handle weird value #9688Boskovits2019-03-07
| |/ |/| | | | | | | | | | | | | | | tigetstr (used by libtermkey/driver-ti.c) may return -1 as a pointer. Documented in man 3 tigetstr. https://linux.die.net/man/3/tigetstr > The tigetstr routine returns the value (char *)-1 if capname is not a string > capability, or 0 if it is canceled or absent from the terminal description. Fixed #9687
* | PVS/V560: window.c: fix always true condition #9682Billy SU2019-03-05
| |
* | Merge #9679 from janlazo/vim-8.1.0891Justin M. Keyes2019-03-05
|\ \
| * | vim-patch:8.1.0875: not all errors of marks and findfile()/finddir() are testedJan Edmund Lazo2019-03-05
| | | | | | | | | | | | | | | | | | Problem: Not all errors of marks and findfile()/finddir() are tested. Solution: Add more test coverage. (Dominique Pelle) https://github.com/vim/vim/commit/71b13e92ae580038b8aecbb783296c577ca2ba5a
| * | vim-patch:8.1.0891: substitute command inssuficiently testedJan Edmund Lazo2019-03-05
| |/ | | | | | | | | | | Problem: Substitute command inssuficiently tested. Solution: Add more test coverage. (Dominique Pelle) https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
* | Merge pull request #9674 from bfredl/bufapi-fixBjörn Linse2019-03-05
|\ \ | |/ |/| api/buffer: use aucmd_prepbuf() to manipulate invisible buffer, fix some issues
| * buffer: use aucmd_prepbuf() instead of switch_to_win_for_buf()Björn Linse2019-03-05
| |
* | PVS/V501: ui_compositor.c: identical sub-expressions #9673Billy SU2019-03-05
|/
* edit.c: Disable indent during completionlePerdu2019-03-03
| | | | closes #8345
* Merge pull request #9667 from bfredl/wincloseBjörn Linse2019-03-03
|\ | | | | api: add nvim_win_close() to close window by id
| * api: add nvim_win_close() to close window by idBjörn Linse2019-03-03
| |
* | test: multibyte env var names #9655Justin M. Keyes2019-03-03
| |
* | os/env: Fix completion of multibyte env var nameserw72019-03-03
| | | | | | | | fixes #9655
* | vim-patch:8.1.0971: failure to select quoted text obj moves cursor #9658Pierre2019-03-03
|/ | | | | | | | closes #9640 Problem: Failure for selecting quoted text object moves cursor. Solution: Restore the Visual selection on failure. (Christian Brabandt, closes vim/vim#4024) https://github.com/vim/vim/commit/55d3bdbbe2bfc7a78b4aa17763788dbddf87cab0
* Merge pull request #6619 from bfredl/floatingBjörn Linse2019-03-02
|\ | | | | Floating windows in TUI and Remote UI
| * floats: implement floating windowsBjörn Linse2019-03-02
| | | | | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* | ops.c: do_join expects `count` of 2 or greater #6855Zach Gleason2019-03-02
| | | | | | | | | | | | test_normal.vim fails if we assert >= 2, so we only check >= 1. That at least avoids invalid pointers. TEST_FILE=test_normal.res make oldtest
* | search.c: remove dead code #5307Justin M. Keyes2019-03-02
| | | | | | has_mbyte is always true.
* | cleanup: remove legacy `enc_dbcs` global #9660Justin M. Keyes2019-03-02
| |
* | screen.c: remove dead code #6609Justin M. Keyes2019-03-02
|/ | | | enc_utf8, enc_dbcs, has_mbyte are always true, so the false branches are never taken.
* API/buffer-updates: always detach on buf-reload #9643KillTheMule2019-03-01
| | | | | | Independently of the 'undoreload' option and the length of the file. closes #9642 closes #9643
* os: remove uv_translate_sys_error impl #9652Justin M. Keyes2019-03-01
| | | Since libuv minimum version is now v1.12, we can use libuv's impl.
* Merge #9653 from justinmk/vim-8.1.0985Justin M. Keyes2019-03-01
|\
| * vim-patch:8.1.0973: pattern with syntax error gives threee error messagesJustin M. Keyes2019-03-01
| | | | | | | | | | | | | | | | Problem: Pattern with syntax error gives threee error messages. (Kuang-che Wu) Solution: Remove outdated internal error. Don't fall back to other engine after an error. https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
| * vim-patch:8.1.0965: search test failsJustin M. Keyes2019-03-01
| | | | | | | | | | | | Problem: Search test fails. Solution: Wait a bit longer for the 'ambiwidth' redraw. https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
| * vim-patch:8.1.0963: illegal memory access when using 'incsearch'Justin M. Keyes2019-03-01
| | | | | | | | | | | | Problem: Illegal memory access when using 'incsearch'. Solution: Reset highlight_match when changing text. (closes vim/vim#4022) https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
| * vim-patch:8.1.0968: crash when using search pattern \%Ufffffc23Justin M. Keyes2019-03-01
| | | | | | | | | | | | Problem: Crash when using search pattern \%Ufffffc23. Solution: Limit character to INT_MAX. (closes vim/vim#4009) https://github.com/vim/vim/commit/527a2d86fb375fcc7b34e80fc47f4c7126fc12ba
| * vim-patch:8.1.0985: crash with large number in regexpJustin M. Keyes2019-02-28
| | | | | | | | | | | | Problem: Crash with large number in regexp. (Kuang-che Wu) Solution: Check for long becoming negative int. (closes #) https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
* | clint: check env functionsJustin M. Keyes2019-02-28
| |
* | os/env: use libuv v1.12 getenv/setenv APIJustin M. Keyes2019-02-27
| | | | | | | | | | | | | | | | | | | | | | - Minimum required libuv is now v1.12 - Because `uv_os_getenv` requires allocating, we must manage a map (`envmap` in `env.c`) to maintain the old behavior of `os_getenv` . - free() map-items after removal. khash.h does not make copies of anything, so even its keys must be memory-managed by the caller. closes #8398 closes #9267
* | os_getenv, os_setenv: revert "widechar" implJustin M. Keyes2019-02-26
| | | | | | | | | | | | | | | | | | | | It's reported that the Windows widechar variants do automatically convert from the current codepage to UTF16, which is very helpful. So the "widechar" impls are a good direction. But libuv v1.12 does that for us, so the next commit will use that instead. ref #8398 ref #9267
* | win: os_getenv(): use _wgetenv()Justin M. Keyes2019-02-25
| |
* | utf16_to_utf8: minor fixesJustin M. Keyes2019-02-25
| |