aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* runnvim.sh: lint (shellcheck) (#10851)Daniel Hahler2019-08-26
|
* Merge pull request #10850 from blueyed/option-aliasDaniel Hahler2019-08-26
|\ | | | | findoption_len: treat viminfo/viminfofile as aliases
| * vim-patch:8.1.1790: :mkvimrc is not testedJan Edmund Lazo2019-08-26
| | | | | | | | | | | | Problem: :mkvimrc is not tested. Solution: Add a test. https://github.com/vim/vim/commit/8750026a7f6b445c43adc990141a3fe92d680b62
| * findoption_len: treat viminfo/viminfofile as aliasesDaniel Hahler2019-08-26
| | | | | | | | Ref: https://github.com/neovim/neovim/pull/10672#issuecomment-524716824
* | vim-patch:8.1.1926: redraw cursorline after putting line above #10849Jan Edmund Lazo2019-08-26
|/ | | | | Problem: Cursorline not redrawn when putting a line above the cursor. Solution: Redraw when the curor line is below a change. (closes vim/vim#4862) https://github.com/vim/vim/commit/c2b97643a82bb9fbd202312dac4aa995f92e9e5b
* Merge pull request #10841 from janlazo/vim-7.4.1407Daniel Hahler2019-08-25
|\ | | | | vim-patch:7.4.1407,8.1.1111
| * vim-patch:8.1.1111: it is not easy to check for infinityJan Edmund Lazo2019-08-24
| | | | | | | | | | | | Problem: It is not easy to check for infinity. Solution: Add isinf(). (Ozaki Kiichi, closes vim/vim#3787) https://github.com/vim/vim/commit/fda1bff39f89775b20a2d88ef3903656d52f66ad
| * vim-patch:7.4.1407Jan Edmund Lazo2019-08-24
| | | | | | | | | | | | | | | | Problem: json_encode() does not handle NaN and inf properly. (David Barnett) Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity". Add isnan(). https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
* | vim-patch:8.1.1913: not easy to compute the space on the command line (#10845)Daniel Hahler2019-08-25
| | | | | | | | | | Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732) https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c
* | Merge #10840 from janlazo/vim-8.1.1757Justin M. Keyes2019-08-25
|\ \ | | | | | | vim-patch:8.1.{1757,1924}
| * | vim-patch:8.1.1924: using empty string for current buffer is unexpectedJan Edmund Lazo2019-08-24
| | | | | | | | | | | | | | | | | | Problem: Using empty string for current buffer is unexpected. Solution: Make the argument optional for bufname() and bufnr(). https://github.com/vim/vim/commit/a8eee21e75324d199acb1663cb5009e03014a13a
| * | vim-patch:8.1.1757: text added with appendbufline() isn't displayedJan Edmund Lazo2019-08-24
| |/ | | | | | | | | | | Problem: Text added with appendbufline() to another buffer isn't displayed. Solution: Update topline. (partly by Christian Brabandt, closes vim/vim#4718) https://github.com/vim/vim/commit/298466629119eda501cfdf7824797f05045e67ca
* / teardown: fix win_free_all() heap-use-after-free #10839Abdelhakeem Osama2019-08-25
|/ | | Fixes #10838
* vim-patch:8.0.1236: Mac features are confusing #10837Jan Edmund Lazo2019-08-24
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes vim/vim#2178) https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9
* Merge #10833 from janlazo/vim-8.1.0037Justin M. Keyes2019-08-23
|\ | | | | vim-patch:8.0.1386,8.1.{37,39,187}
| * vim-patch:8.1.0187: getwininfo() and win_screenpos() return different numbersJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: getwininfo() and win_screenpos() return different numbers. Solution: Add one to "wincol" and "winrow" from getwininfo(). https://github.com/vim/vim/commit/7132ddc1014a4e1230f0080e418221e5843e1277
| * vim-patch:8.0.1386: cannot select modified buffers with getbufinfo()Jan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot select modified buffers with getbufinfo(). Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes vim/vim#2431) https://github.com/vim/vim/commit/8e6a31df81113bbf0e4bb5324a74dc5f6c62a490
| * vim-patch:8.1.0039: cannot easily delete lines in another bufferJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot easily delete lines in another buffer. Solution: Add deletebufline(). https://github.com/vim/vim/commit/d79a26219d7161e9211fd144f0e874aa5f6d251e
| * vim-patch:8.1.0037: cannot easily append lines to another bufferJan Edmund Lazo2019-08-23
| | | | | | | | | | | | Problem: Cannot easily append lines to another buffer. Solution: Add appendbufline(). https://github.com/vim/vim/commit/ca851593a660f08aba5c134f90c238d4a3e983e6
* | Merge #9163 'fix crash wiping buffer after getbufinfo()'Justin M. Keyes2019-08-23
|\ \ | |/ |/|
| * free_buffer: rework b:changedtick handling #9163Justin M. Keyes2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Re-enable Test_BufLeave_Wipe. 66f5e5c7d7ce This is my (probably-wrong) application of Zyx's suggestion in #9163: > free_buffer_stuff() already removes changedtick. It is better to > make `free_options` a flag variable and avoid calling > buf_init_changedtick() based on some flag there: current workflow > looks weird as it first removes `b:changedtick`, then re-adds it > by calling buf_init_changedtick(), then remove again. > Also based on my understanding it looks logical to not remove > `b:changedtick`, but to *replace* it with something allocated if > needed based on examining reference count before calling > `unref_var_dict`. Because now you have key disappearing from > dictionary for no good reason. Patch-By: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru>
| * vim-patch:8.0.1193: crash when wiping buffer after getbufinfo()Justin M. Keyes2019-08-12
| | | | | | | | | | | | | | | | Problem: Crash when wiping out a buffer after using getbufinfo(). (Yegappan Lakshmanan) Solution: Remove b:changedtick from the buffer variables. (Note: The test changes in vim-patch:8.0.1193 were already included.)
* | API: fix nvim_command_output buffer overflow (#10830)Abdelhakeem Osama2019-08-22
| | | | | | Fixes https://github.com/neovim/neovim/issues/10829.
* | vim-patch:8.1.1897: may free memory twice when out of memory (#10827)Jan Edmund Lazo2019-08-22
| | | | | | | | | | | | Problem: May free memory twice when out of memory. Solution: Check that backslash_halve_save() returns a different pointer. (Dominique Pelle, closes vim/vim#4847) https://github.com/vim/vim/commit/f1552d07d715b437d941659479942c2543b02bd4
* | Merge pull request #10815 from blueyed/vim-8.1.1483Daniel Hahler2019-08-22
|\ \ | | | | | | vim-patch:8.1.1483: skipped tests are not properly listed
| * | -u NONE for no syntax highlightingDaniel Hahler2019-08-22
| | |
| * | vim-patch:8.1.1893: script to summarize test results can be improvedDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | | | | Problem: Script to summarize test results can be improved. Solution: Use "silent" for substitute to avoid reporting number of matches. Remove duplicate "set nocp". (Daniel Hahler, closes vim/vim#4845) https://github.com/vim/vim/commit/f1e0544d413b8b2ea129db0655b4e123d54177a6
| * | vim-patch:8.1.1478: still an error when running tests with the tiny versionDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | Problem: Still an error when running tests with the tiny version. Solution: Do not try reading test.log https://github.com/vim/vim/commit/18250e291a5b4b8e32229d99ccb7c895ff0ca637
| * | vim-patch:8.1.1477: test summary fails in the tiny versionDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | Problem: Test summary fails in the tiny version. Solution: set 'nocompatible'. https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3
| * | vim-patch:8.1.1488: summary of tests has incorrect failed countDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | Problem: Summary of tests has incorrect failed count. Solution: Add to the failed count instead of setting it. (Christian Brabandt) https://github.com/vim/vim/commit/150f0550f45b836200a189e4d34417f4d3467455
| * | vim-patch:8.1.1476: no statistics displayed after running testsDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No statistics displayed after running tests. Solution: Summarize the test results. (Christian Brabandt, closes vim/vim#4391) Also make it possible to report a skipped file. https://github.com/vim/vim/commit/9c0cec65f891492314caadeef87a50251a21e630 Removes our custom no-inits from `$(RUN_VIMTEST)`, since we have `$(NO_INITS)` now also.
| * | vim-patch:8.1.1483: skipped tests are not properly listedDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba Skips quite some (N/A) tests. vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
| * | vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | | | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* | | tui: handle Smulx extension capability (extended underline) (#9097)Daniel Hahler2019-08-22
|/ / | | | | | | | | | | | | | | | | This was added to ncurses terminfo for vte and tmux. Ref: https://github.com/tmux/tmux/issues/1492#issuecomment-427675180 Assumes color support is available when extended underline is supported. Ref: https://github.com/tmux/tmux/issues/1492#issuecomment-427803984
* | test: fix problem of breaking user's viminfo (#10824)erw72019-08-22
| | | | | | | | | | | | Vim turns on 'compatible' as a side effect of using the -u command line option. As a result, viminfo is not used. But that is not the case with neovim. neovim requires the -i command line option to avoid breaking user's viminfo.
* | Merge #10823 from janlazo/vim-8.1.1124Justin M. Keyes2019-08-21
|\ \
| * | edit: add nonnull func attributeJan Edmund Lazo2019-08-21
| | |
| * | edit: compl_started,compl_used_match are boolJan Edmund Lazo2019-08-21
| | |
| * | vim-patch:8.1.1124: insert completion flags are mixed upJan Edmund Lazo2019-08-21
| | | | | | | | | | | | | | | | | | Problem: Insert completion flags are mixed up. Solution: Clean up flags use of ins_compl_add() and cp_flags. https://github.com/vim/vim/commit/d9eefe3155277cec71105f52d34a76f7a3237e7f
* | | vim-patch:8.1.0888: the a: dict is not immutable as documented (#10819)Abdelhakeem Osama2019-08-21
|/ / | | | | | | | | | | Problem: The a: dict is not immutable as documented. Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro Matsumoto, closes vim/vim#3929) https://github.com/vim/vim/commit/31b816042fca879b11965ddd75287732563ba698
* | fixup! test/functional/helpers.lua: env: forward also TSAN_OPTIONS/MSAN_OPTIONSDaniel Hahler2019-08-21
| |
* | src/nvim/testdir/runnvim.vim: improve escaping of non-printablesDaniel Hahler2019-08-21
| |
* | oldtest: windows: revert setting shellslash individually (#10189)Daniel Hahler2019-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "oldtests: win: shellslash for cdpath,tags,:find" This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31. * Revert "oldtests: set shellslash for ":cd" test" This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a. * Revert "oldtests: set shellslash in Test_shellescape()" This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93. * Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries" This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c. * Revert "test/old: pass Test_statusline on Windows" This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286. * Revert "oldtests: set shellslash for Test_non_zero_arg" This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094. * Revert "oldtests: set shellslash in Test_true_false_arg()" This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8. * Remove unnecessary set shellslash Since #10679 no longer requires individual set shellslash, it is removed. Co-Authored-By: erw7 <erw7.github@gmail.com>
* | win: stream: reset tty stream on closeAnciety2019-08-20
| | | | | | | | | | | | | | | | | | | | This was overlooked in 8072f085d2ed. Analogous to 8a782f1699e2. fix #10668 ref 8072f085d2ed #9884 ref 8a782f1699e2 #2377
* | Merge pull request #10814 from janlazo/vim-8.1.1887Daniel Hahler2019-08-20
|\ \ | | | | | | vim-patch:8.1.{1887,1890}
| * | vim-patch:8.1.1890: ml_get error when deleting fold markerJan Edmund Lazo2019-08-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Ml_get error when deleting fold marker. Solution: Check that the line number is not below the last line. Adjust the fold when deleting the empty line. (Christian Brabandt, closes vim/vim#4834) https://github.com/vim/vim/commit/9a4a8c4d5993c6371486c895a515c2ad351e9aaa
| * | vim-patch:8.1.1887: the +cmdline_compl feature is not in the tiny versionJan Edmund Lazo2019-08-19
| | | | | | | | | | | | | | | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature. https://github.com/vim/vim/commit/0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a
* | | src/nvim/README: revisit sanitizer section [ci skip] (#10780)Daniel Hahler2019-08-20
|/ /
* | Unreserve :X #10807Julian Berman2019-08-18
| | | | | | closes #10806
* | Merge pull request #10798 from bfredl/multifixBjörn Linse2019-08-18
|\ \ | | | | | | multigrid: fixes