aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | terminal: block redraw during c_CTRL-DJustin M. Keyes2017-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike the normal wildmenu, the CTRL-D wild-list is not restored by statusline redraw. (Semantics: ^D is controlled by 'wildoptions' option, so it's in the "wild..." family.) TODO: externalize the c_CTRL-D wild-list.
* | | | | | win_redr_status(): skip if wildmenu is showingJustin M. Keyes2017-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This might be too coarse, but it passes all tests ... A more nuanced approach might be: only skip the windows whose statuslines are overwritten by the wildmenu. Closes #2255 Closes #7108 vim-patch:8.0.0710 N/A because of the changes in this commit.
* | | | | | vim-patch:8.0.0134 (#7109)KunMing Xie2017-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Null pointer access reported by UBsan. Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c4bfedabe057c05f09a455a5851089e177fa9c00 src/nvim/ex_cmds.c have been merged by someone. while version.c remain unmerged.
* | | | | | test/oldtest: avoid delete() on files used by a subprocessJustin M. Keyes2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should avoid the hangs observed in the TSAN build on travis CI. TODO: Find the root cause ...
* | | | | | vim-patch:8.0.0133 (#7107)KunMing Xie2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) Solution: Check the cursor line earlier. https://github.com/vim/vim/commit/fe38b494fff56cd9b2fcaeef26a8fd7b6557d69c
* | | | | | fix lint errorlonerover2017-08-04
| | | | | |
* | | | | | vim-patch:8.0.0081lonerover2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Inconsistent function names. Solution: Rename do_cscope to ex_cscope. Clean up comments. https://github.com/vim/vim/commit/d4db7719bdfbc54df396eac08d8cbb2389feacf4
* | | | | | Revert "vim-patch:8.0.0133 (#7107)"Justin M. Keyes2017-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit eb40b7ec404e8651137513ced43d503bc6656f17. The change caused this error on QuickBuild: INFO - # test/functional/core/job_spec.lua @ 668: pty process teardown does not prevent/delay exit. #4798 #4900 INFO - not ok 321 - pty process teardown does not prevent/delay exit. #4798 #4900 INFO - # test/functional/core/job_spec.lua @ 668 INFO - # Failure message: ./test/functional/ui/screen.lua:302: Row 1 did not match. INFO - # Expected: INFO - # |* | INFO - # |[Process exited 0] | INFO - # | | INFO - # | | INFO - # | | INFO - # |-- TERMINAL -- | INFO - # Actual: INFO - # |*E575: Error while reading ShaD| INFO - # |a file: mark entry at position| INFO - # | 92 has invalid line number | INFO - # |Press ENTER or type command to| INFO - # | continue | INFO - # |-- TERMINAL -- | INFO - # INFO - # To print the expect() call that would assert the current screen state, use INFO - # screen:snaphot_util(). In case of non-deterministic failures, use INFO - # screen:redraw_debug() to show all intermediate screen states. INFO - # stack traceback: INFO - # ./test/functional/ui/screen.lua:302: in function 'wait' INFO - # ./test/functional/ui/screen.lua:216: in function 'expect' INFO - # test/functional/core/job_spec.lua:677: in function <test/functional/core/job_spec.lua:668>
* | | | | | vim-patch:8.0.0133 (#7107)KunMing Xie2017-08-02
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) Solution: Check the cursor line earlier. https://github.com/vim/vim/commit/fe38b494fff56cd9b2fcaeef26a8fd7b6557d69c
* | | | | Merge pull request #7104 from jamessan/run-oldtests-under-headlessJames McCoy2017-07-30
|\ \ \ \ \ | | | | | | | | | | | | oldtests: Run nvim using --headless to avoid requesting user input
| * | | | | oldtests: Run nvim using --headless to avoid requesting user inputJames McCoy2017-07-30
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain functions (e.g. feedkeys(…, 'x!') and input()) will attempt to read from stdin, which shouldn't be expected to work during oldtests. In Debian/Ubuntu's build environment, it explicitly can't work because /dev/null is redirected to stdin, which causes read_error_exit() to exit. Running oldtests with --headless prevents nvim from setting up its input handling, thus avoiding the problem altogether. Reference #6794
* | | | | vim-patch:8.0.0498 (#7103)Justin M. Keyes2017-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Two autocmd tests are skipped on MS-Windows. Solution: Make the test pass on MS-Windows. Write the messages in a file instead of getting the output of system(). https://github.com/vim/vim/commit/e94260f3582cf928cc59e792b3b6ede57794a4a6
* | | | | options: remove ghost of `:set termcap` (#7102)Justin M. Keyes2017-07-31
|/ / / / | | | | | | | | Closes #6763
* | | | Merge #7100 from justinmk/tui-colorsJustin M. Keyes2017-07-30
|\ \ \ \
| * | | | tui: fix truecolor in libvte, tmux #7037DarkDefender2017-07-30
| | | | | | | | | | | | | | | | | | | | Closes #7041
* | | | | vim-patch: 8.0.00{12, 46, 93} (#7098)lonerover2017-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0012 Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes vim/vim#1088) https://github.com/vim/vim/commit/9af418427652562384744648d7d173a4bfebba95 vim-patch:8.0.0046 version.c: mark 8.0.0046 applied vim-patch:8.0.0063 version.c: mark 8.0.0063 as NA patch
* | | | | build: linux does not always have execinfo.h (#7101)Justin M. Keyes2017-07-30
|/ / / / | | | | | | | | Closes #7099
* | | | vim-patch:8.0.0124 #7092ckelsel2017-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Internal error for assert_inrange(1, 1). Solution: Adjust number of allowed arguments. (Dominique Pelle) https://github.com/vim/vim/commit/3421566376b5723213af502bd3c2b9debe025ef1
* | | | vim-patch:8.0.0119 (#7091)KunMing Xie2017-07-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for using CTRL-R on the command line. Solution: Add a test. (Dominique Pelle) And some more. https://github.com/vim/vim/commit/21efc3633edb58809c5dd89b025d34d7002e731c
* | | | Merge #7093 from justinmk/fix-qbJustin M. Keyes2017-07-30
|\ \ \ \
| * | | | test/legacy: avoid TSAN CI build hangJustin M. Keyes2017-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This delete() sometimes hangs the TSAN build. Work around it by using a unique filename. Do it at the start instead of the end, for hygiene (though it doesn't actually matter on CI, it helps local dev).
* | | | | vim-patch:8.0.0020Jurica Bradaric2017-07-29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: The regexp engines are not reentrant. Solution: Add regexec_T and save/restore the state when needed. https://github.com/vim/vim/commit/6100d02aab7c8294b581cb299250eea164b50e9d
* | | | coverity/155506: null dereference (#7089)Justin M. Keyes2017-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Coverity warning is a false positive: if rbuffer_read_ptr() returns NULL then `cnt` is zero. Revert 76ea97c809e50fccc5ca6615943ac6da1db1e030 (which caused the TSan build to hang often--possibly because of the missing ui_flush()). Instead, modify out_data_append_to_screen() to check for NULL. ref #6862
* | | | vim-patch:8.0.0100 (#7085)KunMing Xie2017-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0100 Problem: Options that are a file name may contain non-filename characters. Solution: Check for more invalid characters. https://github.com/vim/vim/commit/319afe3804741db5a6c188bd69535fa7ed044c62
* | | | menu_get(): docJustin M. Keyes2017-07-28
| | | |
* | | | viml: introduce menu_get() function #6322Matthieu Coudron2017-07-28
| | | | | | | | | | | | | | | | menu_get({path}, {modes}). See :h menu_get.
* | | | vim-patch:8.0.0088 (#7080)KunMing Xie2017-07-27
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When a test fails in Setup or Teardown the problem is not reported. Solution: Add a try/catch. (Hirohito Higashi) https://github.com/vim/vim/commit/cc28e2d05d05552d8b72a520be8a193f3d9822d4
* | | | Merge pull request #7069 from jbradaric/vim-8.0.0034James McCoy2017-07-26
|\ \ \ \ | | | | | | | | | | vim-patch:8.0.0034
| * | | | vim-patch:8.0.0034Jurica Bradaric2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No completion for ":messages". Solution: Complete "clear" argument. (Hirohito Higashi) https://github.com/vim/vim/commit/9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8
* | | | | Merge pull request #7071 from jbradaric/vim-8.0.0075James McCoy2017-07-26
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.0.0075
| * | | | | vim-patch:8.0.0075Jurica Bradaric2017-07-25
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using number for exception type lacks type checking. Solution: Use an enum. https://github.com/vim/vim/commit/8a5883b7488e492419dde7e1637cc72f2d566ba4
* / / / / vim-patch:8.0.0062Jurica Bradaric2017-07-25
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: No digraph for HORIZONTAL ELLIPSIS. Solution: Use ",.". (Hans Ginzel, closes vim/vim#1226) https://github.com/vim/vim/commit/81615517249bb78cba9c37c9834b787c1b265521
* | | | Merge #7043 'vim-patch:8.0.{0023,0025}'Justin M. Keyes2017-07-24
|\ \ \ \
| * | | | vim-patch:8.0.0025Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Inconsistent use of spaces vs tabs in gd test. Solution: Use tabs. (Anton Lindqvist) https://github.com/vim/vim/commit/936c48f8ca82a0257640c8c9d0792538f5a7e813
| * | | | vim-patch:8.0.0023Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "gd" and "gD" may find a match in a comment or string. Solution: Ignore matches in comments and strings. (Anton Lindqvist) https://github.com/vim/vim/commit/226630a030c0d41145e1109f09633360fc9c999d
* | | | | Merge #7061 from ckelsel/vim-8.0.0069Justin M. Keyes2017-07-24
|\ \ \ \ \
| * | | | | fix lintckelsel2017-07-24
| | | | | |
| * | | | | vim-patch:8.0.0073ckelsel2017-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi) https://github.com/vim/vim/commit/459ca563128f2edb7e3bb190090bbb755a56dd55
| * | | | | vim-patch:8.0.0069ckelsel2017-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add vim/vim#ifdef. https://github.com/vim/vim/commit/a1f4cb93ba50ea9e40cd4b1f5592b8a6d1398660
* | | | | | log: log_callstack()Justin M. Keyes2017-07-23
| | | | | |
* | | | | | log.h: LOG_CALLSTACKYichao Zhou2017-07-23
| | | | | |
* | | | | | Merge #7048 from justinmk/log-uiJustin M. Keyes2017-07-23
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | log: termios info to DEBUG instead of INFOJustin M. Keyes2017-07-23
| | | | | |
| * | | | | log: caller provides the source detailsJustin M. Keyes2017-07-23
| | | | | |
| * | | | | log: channel registrationJustin M. Keyes2017-07-22
| | | | | |
| * | | | | log: all UI events, not just UI-bridgeJustin M. Keyes2017-07-22
| | | | | | | | | | | | | | | | | | | | | | | | Rename ui_bridge.c:UI_CALL to UI_BRIDGE_CALL.
* | | | | | vim-patch:8.0.0038 (#7051)KunMing Xie2017-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland files. Solution: Check for __FreeBSD_kernel__. (James McCoy, closes vim/vim#1166) https://github.com/vim/vim/commit/ca291aec99b60fe81eaab36aa718e51421bb88d5
* | | | | | vim-patch:8.0.0031 (#7050)KunMing Xie2017-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: After ":bwipeout" 'fileformat' is not set to the right default. Solution: Get the default from 'fileformats'. (Mike Williams) https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
* | | | | | vim-patch:8.0.0052 (#7057)KunMing Xie2017-07-22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Conceal test passes even without the bug fix. Solution: Add a redraw command. (Christian Brabandt) https://github.com/vim/vim/commit/35a1f59d635d9a655e1267c18f7cc757afd0d5b0
* | | | | vim-patch:8.0.0085Jurica Bradaric2017-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with recursive function call. (Dominique Pelle) Solution: Make a copy of the function name. https://github.com/vim/vim/commit/8a01f969c198eeb655ad2f96f2796a6f6f4a1924