aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.1.0017: shell command completion has duplicates #10616erw72019-07-29
| | | | | | | | | | Problem: Shell command completion has duplicates. (Yegappan Lakshmanan) Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes vim/vim#539, closes vim/vim#2733) https://github.com/vim/vim/commit/62fe66f251263715968442e237742d9d3dfd5fa1
* | clang/"dead assignments" #10620Bartosz Miera2019-07-29
| | | | | | | | Also revert possibly-wrong change in f_sign_getplaced() from 652be3cb0040.
* | TextYankPost: spurious/too-early dispatch during delete #10392Jit2019-07-29
| | | | | | | | | | | | Problem: delete-with-register dispatches TextYankPost before updating yank registers Solution: Add flag to op_yank(). Fixes #10225
* | Merge #10643 from janlazo/vim-8.1.1765Justin M. Keyes2019-07-29
|\ \ | | | | | | vim-patch:8.1.{990,992,1765}
| * | vim-patch:8.1.0990: floating point exception with "%= 0" and "/= 0"Jan Edmund Lazo2019-07-28
| | | | | | | | | | | | | | | | | | Problem: Floating point exception with "%= 0" and "/= 0". Solution: Avoid dividing by zero. (Dominique Pelle, closes vim/vim#4058) https://github.com/vim/vim/commit/e21c1580b7acb598a6e3c38565434fe5d0e2ad7a
| * | vim-patch:8.1.1765: get(func, dict, def) does not work properlyJan Edmund Lazo2019-07-28
| | | | | | | | | | | | | | | | | | Problem: get(func, dict, def) does not work properly. Solution: Handle NULL dict better. (Takuya Fujiwara, closes vim/vim#4734) https://github.com/vim/vim/commit/f91aac5e3e3b8b1633d84eac2687ebbd76d8133b
* | | PVS/V547: expression is always true/false #10640Ihor Antonov2019-07-29
| | | | | | | | | | | | Functions marked with FUNC_ATTR_NONNULL_RET do not return NULL. Remove redundant checks.
* | | PVS/V512: memcpy overflow/underflow #10642Ihor Antonov2019-07-28
|/ / | | | | | | | | problem: bfredl: pvs thinks the type of the pointed at item is too small. solution: refactored address calculation.
* | PVS/V560: condition is always false #10638Ihor Antonov2019-07-28
| | | | | | * shorten_buf_name: condition inside outer if-branch with inverse condition
* | vim-patch:8.0.1753: fix various warnings #10639Ihor Antonov2019-07-28
| | | | | | | | | | | | vim-patch:8.0.1753: various warnings from a static analyser Problem: Various warnings from a static analyser Solution: Remove unneeded conditions. https://github.com/vim/vim/commit/1c17ffa4611f4efe68c61f7cdd9ed692a866ba75
* | context: shada_encode_regs(): init WriteMergerState #10637Justin M. Keyes2019-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Check shada_pack_xx() result, abort on failure. - Use xcalloc() to zero-initialize `wms`, fixes below ASAN failure. ASAN failure (running vim_spec.lua in a loop): ../src/nvim/shada.c:1773:13: runtime error: load of value 224, which is not a valid value for type 'bool' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/nvim/shada.c:1773:13 Adding an explicit check just before the ASAN failed line: case kSDItemRegister: { if (*((int *)(void *)&entry.data.reg.is_unnamed) != 1 && *((int *)(void *)&entry.data.reg.is_unnamed) != 0) { abort(); (gdb) p entry.data.reg +p entry.data.reg $5 = {name = 49 '1', type = kMTLineWise, contents = 0x60200000c250, is_unnamed = true, contents_size = 1, width = 0, additional_data = 0x0} (gdb) p *((uint8_t *)(void *)&entry.data.reg.is_unnamed) +p *((uint8_t *)(void *)&entry.data.reg.is_unnamed) $7 = 2049
* | PVS/V560: expression is always false/true #10623Ihor Antonov2019-07-28
| |
* | vim-patch:7.4.2213: runtime parts with EndOfBuffer port #10635Daniel Hahler2019-07-28
| | | | | | | | | | | | | | Problem: Cannot highlight the "~" lines at the end of a window differently. Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy) https://github.com/vim/vim/commit/58b853460add42098ab08017df9e030fb14fd34b Includes minor doc parts from 7.4.1304 for runtime/doc/eval.txt.
* | ci: Travis: no need for asan_symbolize (#10627)Daniel Hahler2019-07-28
| | | | | | | | | | | | | | | | Having llvm-symbolizer in the $PATH is enough. - check_logs: remove log after displaying it Otherwise it would be displayed/symbolized again and again. E.g. in https://api.travis-ci.org/v3/job/564477704/log.txt.
* | src/clint.py: flake8 fixes [ci skip] (#10631)Daniel Hahler2019-07-28
| |
* | vim-patch:b1c9198af (#10634)Daniel Hahler2019-07-28
| | | | | | | | | | | | Vim 8.1 release Update version number and information. Fix a couple of tests. https://github.com/vim/vim/commit/b1c9198afb7ff902588b45fbe44f0760a9f48375
* | Merge #10628 from notomo/vim-8.1.1759Justin M. Keyes2019-07-28
|\ \
| * | Fix clint errornotomo2019-07-28
| | |
| * | vim-patch:8.1.1759: no mode char for terminal mapping from maparg()notomo2019-07-28
| | | | | | | | | | | | | | | | | | Problem: No mode char for terminal mapping from maparg(). Solution: Check for TERMINAL mode. (closes vim/vim#4735) https://github.com/vim/vim/commit/14371ed69778107654e39268d0d90982e53ad6e0
* | | build/tests: remove pre/uv.h #10531Daniel Hahler2019-07-28
| | | | | | | | | | | | | | | | | | Initially done in 28e59cb22, but does not appear to be necessary anymore. Uses UV_EEXIST directly, just like UV_ENOENT.
* | | PVS/V560: condition is always true #10630Ihor Antonov2019-07-28
| | | | | | | | | earlier condition leads to short-circuit of the loop
* | | PVS/V560: condition is always true #10624Ihor Antonov2019-07-28
| | | | | | | | | | | | | | | | | | | | | | | | * before changed line status variable is set to RA_FAIL in 2 places line 3816 and 3826, both lead to short-circuit of the loop, making comparing it to RA_FAIL useless close #10624
* | | pvs/V560: part of conditional expression is always true (#10629)Ihor Antonov2019-07-28
|/ / | | | | | | Since timed_out is pointer to int condition timed_out != NULL && timed_out makes no sense as both are effectively the same thing. Most likely the first check was meant to guard the dereference of the second. Wrong import of Vim patch (8.0.0643).
* | vim-patch:8.1.1748: :args output is not aligned (#10625)Daniel Hahler2019-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :args output is not aligned. Solution: Output a line break after the last item in a row. https://github.com/vim/vim/commit/74da39373c90fcb390068903b5bbb93ce7ac16fa vim-patch:8.1.1750: depending on the terminal width :version may miss a line break Problem: Depending on the terminal width :version may miss a line break. Solution: Add a line break when needed. https://github.com/vim/vim/commit/8a5c29aee978345132ad7f318b8a84633c33905c vim-patch:8.1.1760: extra line break for wrapping output of :args Problem: Extra line break for wrapping output of :args. Solution: Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737) https://github.com/vim/vim/commit/9800bfe0fc7596e8fee97172139f0777bac639fb
* | Merge #10619 'API: context'Justin M. Keyes2019-07-27
|\ \
| * | API: Context: save/restoreAbdelhakeem2019-07-27
| | |
| * | eval: context: add ctx-family functionsAbdelhakeem2019-07-27
| | |
| * | API: ContextAbdelhakeem2019-07-27
| | |
| * | API: ContextJustin M. Keyes2019-07-27
| | |
* | | vim-patch:8.1.0956: context:0 in 'diffopt' #10622Jan Edmund Lazo2019-07-27
|/ / | | | | | | | | Problem: Using context:0 in 'diffopt' does not work well. Solution: Make zero context do the same as one line context. (closes vim/vim#4005) https://github.com/vim/vim/commit/b9ddda6c2d98d99c09d58145c1b5b4042a8fd92c
* | ci: AppVeyor: DEPS_BUILD_DIR is not a CMake variable [ci skip] (#10613)Daniel Hahler2019-07-27
| | | | | | | | | | | | | | | | Fixes: > CMake Warning: > Manually-specified variables were not used by the project: > > DEPS_BUILD_DIR
* | ci: Travis: single osx job [ci skip] (#10614)Daniel Hahler2019-07-27
|/ | | | | | | | | The "osx" jobs are the slowest ones, and often still flaky. I think it is good enough to have a single one there (since they only use different compilers). This should improve build times in general (with multiple running builds, since we're using less jobs per build), and also make flaky job failures less likely.
* ci: Travis: gcc-9: use gcov-9 (#10609)Daniel Hahler2019-07-27
|
* tests: test_arglist.vim: align with Vim [ci skip] (#10612)Daniel Hahler2019-07-27
| | | This just moves the test to where it is in Vim.
* Merge #10606 'vim-patch:8.1.0404'Justin M. Keyes2019-07-27
|\
| * Revert "vim-patch:8.1.0430: Xargadd file left behind after running test"Jan Edmund Lazo2019-07-26
| | | | | | | | This reverts commit ce1b4f95fe684082cc9fb7e7e018e4f7c04338c4.
| * vim-patch:8.1.0404: accessing invalid memory with long argument nameJan Edmund Lazo2019-07-26
| | | | | | | | | | | | | | Problem: Accessing invalid memory with long argument name. Solution: Use item_count instead of checking for a terminating NULL. (Dominique Pelle, closes vim/vim#3444) https://github.com/vim/vim/commit/e961cba3cb8281c47f1dc2c2bc031b07504f17d4
* | ci: Travis: remove clang-tsan from allowed failures [skip ci] (#10591)Daniel Hahler2019-07-27
| | | | | | | | | | | | While it still might be flaky sometimes, it is far better than the osx jobs in general, and due to it being allowed to fail, we are not getting aware of more recent (flaky) issues due to building tags during make-install, which might indicate a more generic problem.
* | Merge pull request #10580 from blueyed/tests-catDaniel Hahler2019-07-27
|\ \ | | | | | | tests: use "cat" also on Windows
| * | tests: win: fix "cat" with PowerShellerw72019-07-26
| | | | | | | | | | | | Ref: https://github.com/neovim/neovim/pull/10580#issuecomment-514884092
| * | tests: use "cat" also on WindowsDaniel Hahler2019-07-26
|/ / | | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/10574. Keeps 'can be called recursively' pending for now, see https://github.com/neovim/neovim/pull/10580#issuecomment-515295571.
* | vim-patch:8.1.1747: unused variables #10605Jan Edmund Lazo2019-07-26
| | | | | | | | | | Problem: Compiler warning for unused variables. (Tony Mechelynck) Solution: Add #ifdef. https://github.com/vim/vim/commit/fbfb757d4cb19e14853605f70ac663e42ec74663
* | Merge #10589 'os/fs: introduce os_fopen()'Justin M. Keyes2019-07-26
|\ \ | |/ |/|
| * cleanup: remove mch_fopen in favor of os_fopenJustin M. Keyes2019-07-25
| |
| * os/fs: introduce os_fopen()Justin M. Keyes2019-07-25
|/ | | | | | | Windows: Using fopen() directly may need UTF-16 filepath conversion. To achieve that, os_fopen() goes through os_open(). fix #10586
* PVS/V768: do use enum as bool #10582Ihor Antonov2019-07-25
| | | Fix win_draw_end invocation, pass HLF symbol explicitly.
* Merge #10596 'vim-patch:8.1.{899,903,905,907,908,910,913,1746}'Justin M. Keyes2019-07-25
|\ | | | | | | | | close #9930 close #10051
| * regexp: add function attributesJan Edmund Lazo2019-07-25
| |
| * vim-patch:8.1.0913: CI crashes when running out of memoryJan Edmund Lazo2019-07-25
| | | | | | | | | | | | Problem: CI crashes when running out of memory. Solution: Apply 'maxmempattern' also to new regexp engine. https://github.com/vim/vim/commit/688b3983d8b321e0d32dd51914fa474a0988daf6
| * vim-patch:8.1.0910: crash with tricky search patternJan Edmund Lazo2019-07-25
| | | | | | | | | | | | Problem: Crash with tricky search pattern. (Kuang-che Wu) Solution: Check for runnning out of memory. (closes vim/vim#3950) https://github.com/vim/vim/commit/15bbd6ec871a0efdd16256e1fccbaac0fd374cbd