aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | vim-patch:7.4.2264 (#6275)lonerover2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6
* | | | vim-patch:7.4.2305lonerover2017-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Marks, writefile and nested function tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261
* | | | vim-patch:7.4.2208lonerover2017-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for mappings is old style. Solution: Convert the test to new style. https://github.com/vim/vim/commit/2d1a248762f069e470acde389ff4686a45d2f817
* | | | Merge #6261 from lonerover/vim-ac80999Justin M. Keyes2017-03-13
|\ \ \ \ | | | | | | | | | | vim-patch: ac80999,7.4.2185,7.4.2187,7.4.2196
| * | | | vim-patch:7.4.2196lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: glob2regpat test doesn't test everything on MS-Windows. Solution: Add patterns with backslash handling. https://github.com/vim/vim/commit/91c5262b19fd2e558fe87b78c7767c7c5a270be8
| * | | | vim-patch:7.4.2187lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: glob2regpat test fails on Windows. Solution: Remove the checks that use backslashes. https://github.com/vim/vim/commit/7547a78446c1a3c04b36c0533f0f046188bd378b
| * | | | vim-patch:7.4.2185lonerover2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test glob2regpat does not test much. Solution: Add a few more test cases. (Dominique Pelle) https://github.com/vim/vim/commit/71dd9744cf3842cd45295010d2e5692da1651537
| * | | | vim-patch:ac80999lonerover2017-03-12
| |/ / / | | | | | | | | | | | | | | | | | | | | add missing test file https://github.com/vim/vim/commit/ac80999985299dae4a9ef56dbf31fbdb35c04c08
* | | | vim-patch:8.0.0453 (#6266)Matthieu Coudron2017-03-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Adding fold marker creates new comment. Solution: Use an existing comment if possible. (LemonBoy, closes vim/vim#1549) https://github.com/vim/vim/commit/025a6b708a9bff54c73fb9c641b980da19e943a9
* | | | Merge #6264 'coverity fixes'Justin M. Keyes2017-03-12
|\ \ \ \
| * | | | coverity/155507: remove condition where both branches were identicalSander Bosma2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `keylen` was always set to 0 from both branches of an if-statement. This condition is removed, and the code is simplified based on the fact that `keylen` is always 0 in this code. Also updated the surrounding comments, some of which were outdated.
| * | | | coverity/155501: fix bug where P_NO_DEF_EXP was ignoredSander Bosma2017-03-11
| | | | |
| * | | | coverity/133900: intitialize scalar variable in structSander Bosma2017-03-11
| | | | |
* | | | | terminal: disable 'list' by default (#6246)raichoo2017-03-12
| | | | |
* | | | | DirChanged: avoid redundant events on 'autochdir'Justin M. Keyes2017-03-12
| | | | |
* | | | | DirChanged: trigger when switching scopesJustin M. Keyes2017-03-12
| | | | | | | | | | | | | | | | | | | | Closes #6054
* | | | | DirChanged: Publish _after_ updating win/tab CWD.Justin M. Keyes2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So getcwd() works correctly during DirChanged event. Closes #6260
* | | | | tabpage_S: Name tp_localdir per convention.Justin M. Keyes2017-03-12
| |/ / / |/| | |
* | | | vim-patch:8.0.0068 (#6243)Daniel Hahler2017-03-11
| |/ / |/| | | | | | | | | | | | | | | | | | | | Problem: Checking did_throw after executing autocommands is wrong. (Daniel Hahler) Solution: Call aborting() instead, and only when autocommands were executed. https://github.com/vim/vim/commit/21662be2211675824df1771c7f169948ede40c41
* | | 'cpoptions': "_" flag to toggle `cw` behaviour #6235raichoo2017-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `cw` and `cW` behave like `ce` and `cE` respectively. This is inconsistent compared to `dw` and `dW`. Introduce a new cpoptions flag "_" to toggle the Vi behavior. Closes #6234 Patch-by: Christian Brabandt <cblists@256bit.org> References: https://github.com/chrisbra/vim-mq-patches/blob/master/cpo_changeword https://groups.google.com/d/msg/vim_use/aaBqT6ECkA4/ALf4odKzEDgJ https://groups.google.com/d/msg/vim_dev/Dpn3xtUF16I/T6JcOPKN6usJ http://www.reddit.com/r/vim/comments/26nut8/why_does_cw_work_like_ce/
* | | version.c: mark NA patches (#6242)Gavin Thomas Claugus2017-03-10
|/ / | | | | Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
* | vim-patch:7.4.2299 (#6232)Jurica Bradarić2017-03-07
| | | | | | | | | | | | | | Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always triggered. Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/04c4ce650f9e533cd35b2aa6803f4d354d3ec7aa
* | Merge pull request #6225 from jamessan/vim-7.4.2051James McCoy2017-03-07
|\ \ | | | | | | vim-patch:7.4.2051,7.4.2068,7.4.2097
| * | lintJames McCoy2017-03-06
| | |
| * | vim-patch:7.4.2097James McCoy2017-03-06
| | | | | | | | | | | | | | | | | | | | | Problem: Warning from 64 bit compiler. Solution: use size_t instead of int. (Mike Williams) https://github.com/vim/vim/commit/d4f31dc45482e8db527ca044b9c3436b1e750006
| * | vim-patch:7.4.2068James McCoy2017-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all arguments of trunc_string() are tested. Memory access error when running the message tests. Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run unittests with valgrind. Fix the access error. https://github.com/vim/vim/commit/b9644433d2728e99fab874e5e33147ad95d23a31
| * | vim-patch:7.4.2051James McCoy2017-03-06
| | | | | | | | | | | | | | | | | | | | | Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c. https://github.com/vim/vim/commit/502ae4ba63561c98ac69af26cd9883bfd18d225f
* | | Merge #6222 from jbradaric/vim-7.4.2220Justin M. Keyes2017-03-07
|\ \ \ | | | | | | | | vim-patch:7.4.2220,7.4.2265
| * | | vim-patch:7.4.2265Jurica Bradaric2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: printf() isn't tested much. Solution: Add more tests for printf(). (Dominique Pelle) https://github.com/vim/vim/commit/76efafba2af36ae5f6c7b79b56c537fcbcdb386c
| * | | strings.c: Fix problems found during code review.Jurica Bradaric2017-03-06
| | | |
| * | | vim-patch:7.4.2220Jurica Bradaric2017-03-06
| |/ / | | | | | | | | | | | | | | | | | | | | | Problem: printf() gives an error when the argument for %s is not a string. (Ozaki Kiichi) Solution: Behave like invoking string() on the argument. (Ken Takata) https://github.com/vim/vim/commit/e5a8f35b4286135f3469f3b00a6c2220553d9658
* | | api: nvim_buf_set_lines(): Avoid invalid ml_get. #6019Matthew Malcomson2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the buffer that nvim_buf_set_lines() is changing is not in any vim window, fix_cursor() leads to calling ml_get_buf() with an invalid line number. The condition that fix_cursor() was called on was (buf == curbuf), but this is always true because of the call to switch_to_win_for_buf() earlier in the function. Instead this should be predicated on (save_curbuf.br_buf == NULL)
* | | linter: make os_unix.c pass the linterraichoo2017-03-06
| | |
* | | make backtick-expansion work with `shell=fish`raichoo2017-03-06
|/ /
* | vim_getenv: $VIMRUNTIME fallback: ../share/nvim/runtime (#6223)Justin M. Keyes2017-03-06
| | | | | | | | | | | | | | | | | | Do this on all systems, so that portable builds work everywhere. This allows us to ship archives with this folder structure: bin/nvim share/nvim/runtime then ./bin/nvim works without the user needing to explicitly set VIMRUNTIME.
* | ui: Fix TUI resize bugTommy Allen2017-03-05
| | | | | | | | | | | | | | statusline still disappears in some cases, but this change is a net improvement. References #3929 #5692 #4884 #6157
* | lintJustin M. Keyes2017-03-05
| | | | | | | | You cannot escape clint...
* | Merge pull request #6215 from jamessan/coverity-modelJames McCoy2017-03-05
|\ \ | | | | | | ci: Add Coverity modeling
| * | ci: Add Coverity modelingJames McCoy2017-03-04
| | | | | | | | | | | | [ci skip]
* | | Merge #6209 from Shougo/vim-8.0.0319Justin M. Keyes2017-03-05
|\ \ \ | |/ / |/| | vim-patch: 8.0.0319, 8.0.0347
| * | vim-patch:8.0.0347Shougo Matsushita2017-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment leader may not work. (Klement) Solution: Save and restore did_ai. (Christian Brabandt, closes vim/vim#1494) https://github.com/vim/vim/commit/d099e033703ce0772f152b8df8a763f0b65303ee
| * | vim-patch:8.0.0319Shougo Matsushita2017-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Insert mode completion does not respect "start" in 'backspace'. Solution: Check whether backspace can go before where insert started. (Hirohito Higashi) https://github.com/vim/vim/commit/190b04cdd936f4696c22466b7f077f9371d96580
* | | terminal.c: Reset cursor postion when using termopen() (#6212)oni-link2017-03-04
|/ / | | | | | | | | | | | | | | | | | | After using 'termopen("echo") the current buffer content is changed, but the cursor position of the current window is not updated. Because of this, a call to 'mb_adjust_cursor()' can lead to a heap-buffer-overflow. Fix this by resetting the cursor for the current window. Fixes #3161
* | buffer.c: enable -Wconversion #3744Justin M. Keyes2017-03-03
| |
* | buffer.c: enable -Wconversion #3744Adam-K-P2017-03-02
| | | | | | | | Closes #3744
* | terminal: Restore settings on same window only.Justin M. Keyes2017-03-02
| | | | | | | | | | | | The window may have closed already, then `curwin` should not be altered. Closes #6204
* | vim-patch:7.4.1981 (#6192)lonerover2017-03-02
| | | | | | | | | | | | Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code. https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
* | vim-patch:8.0.0388Matthew Malcomson2017-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a problem when filtering manually folded lines When foldMarkAdjustRecurse() is called to adjust folds that start inside the range of lines that are being moved and end outside that range, it calculates `amount_after` for its recursive call incorrectly. The calculation assumes that folds inside the changed range are being deleted, but this is not always the case. This means nested folds that start after the changed range of lines are shifted an incorrect amount. We fix this by calculating the `amount_after` differently if the folds inside the changed range are not being deleted.
* | vim-patch:8.0.0136Justin M. Keyes2017-03-02
| | | | | | | | | | | | | | | | Problem: When using indent folding and changing indent the wrong fold is opened. (Jonathan Fudger) Solution: Open the fold under the cursor a bit later. (Christian Brabandt) https://github.com/vim/vim/commit/54b2bfa399017ebae76ed62f21578261d1b55c1f
* | vim-patch:8.0.0135Justin M. Keyes2017-03-02
| | | | | | | | | | | | | | | | Problem: An address relative to the current line, ":.,+3y", does not work properly on a closed fold. (Efraim Yawitz) Solution: Correct for including the closed fold. (Christian Brabandt) https://github.com/vim/vim/commit/ded2782783f352201ac0b05c6dbe4831adb4a58b