aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* PVS/V1028: cast operands, not the resultJustin M. Keyes2019-01-09
|
* assert.h: Check overflow with STRICT_ADD, STRICT_SUBJustin M. Keyes2019-01-09
|
* doc: CONTRIBUTING.mdJustin M. Keyes2019-01-08
|
* pvscheck.sh: Skip install if dir existsJustin M. Keyes2019-01-08
|
* vim-patch:8.1.0700: using "gt" sometimes does not redraw a tab (#9464)Justin M. Keyes2019-01-07
| | | | | | | | | | | | | | | | | | Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin) Solution: Always set must_redraw in redraw_all_later(). https://github.com/vim/vim/commit/04b4e1a42409f81d65ae4801ac867dc0bba3d7b8 ref https://github.com/vim/vim/commit/bf3250a8ad39797e3ccdac82d20c6f19533419e4#r31852304 > I fixed it in a more general way, in that if we don't find a window > that doesn't have the redraw type set it, then it will not set > must_redraw, even though that's clearly intended. ref #9152 ref #9155 NA patches: vim-patch:8.1.0698 vim-patch:8.1.0699
* Merge #9466 from janlazo/vim-8.1.0696Justin M. Keyes2019-01-07
|\
| * lintJan Edmund Lazo2019-01-07
| |
| * vim-patch:8.1.0696: when test_edit fails 'insertmode' may not be resetJan Edmund Lazo2019-01-06
|/ | | | | | | | | Problem: When test_edit fails 'insertmode' may not be reset and the next test may get stuck. (James McCoy) Solution: Always reset 'insertmode' after executing a test. Avoid that an InsertCharPre autocommand or a 'complete' function can change the state. (closes vim/vim#3768) https://github.com/vim/vim/commit/8ad16da7290190f55f88073d5586dfe133fddf45
* editorconfig: set default tab width to 8 (#9467)Jan Edmund Lazo2019-01-07
| | | | | Vim patches may include tabs in Vimscript test files. editorconfig uses "indent_size" for tabs if "tab_width" is unset so the user sees 2-width tabs.
* Merge #9459 from janlazo/vim-8.1.0677Justin M. Keyes2019-01-06
|\
| * vim-patch:8.1.0685: get_buf_tv() is named inconsistentlyJan Edmund Lazo2019-01-05
| | | | | | | | | | | | Problem: get_buf_tv() is named inconsistently. Solution: Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes vim/vim#3759) https://github.com/vim/vim/commit/f2d79fa92d0ed90732f52dd88da4ad66c2c5ce13
| * vim-patch:8.1.0687: sentence text object in Visual mode is not testedJan Edmund Lazo2019-01-05
| | | | | | | | | | | | Problem: Sentence text object in Visual mode is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3758) https://github.com/vim/vim/commit/6d3a1940be9d3f2b079f81baa9b19f839289b69e
| * vim-patch:8.1.0677: look-behind match may use the wrong line numberJan Edmund Lazo2019-01-05
| | | | | | | | | | | | | | Problem: Look-behind match may use the wrong line number. (Dominique Pelle) Solution: Use the line number in regsave instead of the one in behind_pos, we may be looking at the previous line. (closes vim/vim#3749) https://github.com/vim/vim/commit/866f3558141aa68862aa2fedbb7747bf2365e838
* | Merge #8604 from janlazo/vim-8.0.0286Justin M. Keyes2019-01-06
|\ \
| * | vim-patch:8.1.0683: spell highlighting does not always endJan Edmund Lazo2019-01-05
| | | | | | | | | | | | | | | | | | Problem: Spell highlighting does not always end. (Gary Johnson) Solution: Also reset char_attr when spell errors are highlighted. https://github.com/vim/vim/commit/637532b3c0ca41f0de7e90b6f3c0defe06369372
| * | vim-patch:8.1.0674: leaking memory when updating a single lineJan Edmund Lazo2019-01-05
| | | | | | | | | | | | | | | | | | Problem: Leaking memory when updating a single line. Solution: Do not call start_search_hl() twice. https://github.com/vim/vim/commit/6d5b4f566a2a50c1de7300336e9e4f5e761500a8
| * | vim-patch:8.0.0286: not always redrawing after screen resizeJan Edmund Lazo2019-01-05
| |/ | | | | | | | | | | | | | | Problem: When concealing is active and the screen is resized in the GUI it is not immediately redrawn. Solution: Use update_prepare() and update_finish() from update_single_line(). https://github.com/vim/vim/commit/c10f0e7cb0f35eea489b038e56c87b818eee975b
* | Merge #9458 from justinmk/pvs-warningsJustin M. Keyes2019-01-06
|\ \ | |/ |/|
| * PVS/V501: diff.c: silence warningJustin M. Keyes2019-01-05
| | | | | | | | | | | | False positive: vim_fgets has side effects. ref 8586770e1fd8
| * PVS/V547: Expression is always falseJustin M. Keyes2019-01-05
| |
| * PVS/V1026: normal.c: signed integer overflowJustin M. Keyes2019-01-05
| | | | | | | | | | > V1026 The 'curwin->w_curswant' variable is incremented in the loop. > Undefined behavior will occur in case of signed integer overflow.
| * PVS/V547: indent.c: xmalloc() never returns NULLJustin M. Keyes2019-01-05
|/
* Merge #9454 from justinmk/pvs-warningsJustin M. Keyes2019-01-04
|\
| * PVS/V547: window.c: Expression is always trueJustin M. Keyes2019-01-04
| |
| * PVS/V547: viml/parser/expressions.c: Expression is always trueJustin M. Keyes2019-01-04
| |
| * PVS/V751: tui.c, Parameter is not usedJustin M. Keyes2019-01-04
| | | | | | | | | | False positive. Documentation for grid_scroll says "`cols` is always zero, reserved for future use".
| * PVS/V535: shada.c: variable reassigned in inner loopJustin M. Keyes2019-01-04
| | | | | | | | | | False positive: `i` is intentionally, temporarily reassigned. See a70fde1b4585 #9425
| * PVS/V547: diff.c: xmalloc() never returns NULLJustin M. Keyes2019-01-04
| | | | | | | | | | | | Normally we consider OOM to be fatal, but the diff module has extra functionality to handle OOM in case huge files are compared. Use try_malloc instead of xmalloc in that case.
| * PVS/V547: diff.c: Expression is always trueJustin M. Keyes2019-01-04
| |
| * PVS/V501: diff.c: silence warningJustin M. Keyes2019-01-04
|/ | | | False positive: vim_fgets has side effects.
* release.sh: Format issue-numbers in descriptions [ci skip]Justin M. Keyes2019-01-04
|
* release.sh: fix exclusion pattern [ci skip]Justin M. Keyes2019-01-04
| | | | grep support of "\s" pattern is unreliable.
* Merge #9451 from justinmk/buildJustin M. Keyes2019-01-04
|\ | | | | build: fix `doc_html` target
| * build: remove cmake/GenerateHelptags.cmake.inJustin M. Keyes2019-01-04
| | | | | | | | | | | | This file wasn't used since e1cc0fe99688. That may have been accidental, but it's not needed anymore anyway. Also the "Workaround for hanging" is no longer relevant.
| * build: fix `doc_html` targetJustin M. Keyes2019-01-04
|/ | | | ref 24f2cc55a83d #9430
* Merge #9446 'Visual: highlight char-at-cursor'Justin M. Keyes2019-01-04
|\
| * Visual: highlight char-at-cursorJustin M. Keyes2019-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decide whether to highlight the visual-selected character under the cursor, depending on 'guicursor' style: - Highlight if cursor is blinking or non-block (vertical, horiz). - Do NOT highlight if cursor is non-blinking block. Traditionally Vim's visual selection does "reverse mode", which perhaps conflicts with the non-blinking block cursor. But 'guicursor' defaults to a vertical bar for selection=exclusive, and this confuses users who expect to see the text highlighted. closes #8983
| * remove check_visual_highlight()Justin M. Keyes2019-01-04
|/ | | | This check is meaningless, we assume the terminal supports reverse-mode.
* Merge pull request #9447 from janlazo/vim-8.1.0651James McCoy2019-01-03
|\ | | | | vim-patch:8.1.{651,653}
| * vim-patch:8.1.0653: arglist test fails on MS-windowsJan Edmund Lazo2019-01-03
| | | | | | | | | | | | Problem: Arglist test fails on MS-windows. Solution: Only use a file name with a double quote on Unix. https://github.com/vim/vim/commit/3de8c2d1f027410db6a06f0fcd3355d96c8b8596
| * vim-patch:8.1.0651: :args \"foo works like :args without argumentJan Edmund Lazo2019-01-03
|/ | | | | | Problem: :args \"foo works like :args without argument. Solution: Fix check for empty argument. (closes vim/vim#3728) https://github.com/vim/vim/commit/2ac372ccee1af6f9fa105bf2648d5e4efa554236
* Merge #9425 'build: enable -Wshadow'Justin M. Keyes2019-01-03
|\
| * UGRID_FOREACH_CELL: avoid shadowed variablesJustin M. Keyes2019-01-02
| |
| * build: enable -WshadowJustin M. Keyes2019-01-02
| | | | | | | | | | | | | | | | | | | | Note about shada.c: - shada_read_next_item_start was intentionally shadowing `unpacked` and `i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly depended on those variable names. - Macros were changed to parameterize `unpacked` (but not `i`). Macros like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other approach is messy.
* | TUI: Do not disable BCE for builtin terminfos (#9443)Justin M. Keyes2019-01-02
|/ | | | | | | | | Remove this vestigial hack from #7624. Since 5a0d0286ff4d we blacklist BCE more surgically. And patch_terminfo_bugs() is the more appropriate place for that. ref 5749ecaf228f4a963a4e96ada831f902c73a1e80 ref #4210 #4421 #7035 #7337 #7381 #7425 #7618
* Merge pull request #9438 from jamessan/revert-pynvimJames McCoy2019-01-02
|\ | | | | Rework Python provider/health check to use neovim module again
| * health/provider: Check for available pynvim when neovim module missingJames McCoy2019-01-01
| | | | | | | | | | Adapt the checks so we can still report when the pynvim module is present but the neovim module is missing.
| * python#CheckForModule: Use the given module string instead of hard-coding pynvimJames McCoy2019-01-01
| |
| * {health,provider}/python: Import the neovim, rather than pynvim, moduleJames McCoy2019-01-01
| | | | | | | | | | | | | | | | The neovim module is available for backwards compatibility. We should not yet force the use of the pynvim module, since there's no other major reason to bump the minimum supported Python client module. Closes #9426
* | vim-patch:8.0.0251: not easy to select Python 2 or 3 (#9173)David Jimenez2019-01-02
| | | | | | | | | | | | Problem: It is not so easy to write a script that works with both Python 2 and Python 3, even when the Python code works with both. Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata) https://github.com/vim/vim/commit/f42dd3c3901ea0ba38e67a616aea9953cae81b8d