aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* path.c: `vim_FullName()`: Fix heap overflow #5737nfnty2017-01-05
| | | | | | - Clarify documentation. - Return `FAIL` and truncate if `fname` is too long. - Add tests.
* vim-patch:7.4.2110 (#5880)lonerover2017-01-05
| | | | | | | Problem: When there is an CmdUndefined autocmd then the error for a missing command is E464 instead of E492. (Manuel Ortega) Solution: Don't let the pointer be NULL. https://github.com/vim/vim/commit/eac784eced501c54d2c99e18a1af96cd996f3a6c
* version.c: update (#5876)Ole Reifschneider2017-01-04
|
* Merge #5872 justinmk/test_autochdirJustin M. Keyes2017-01-04
|\
| * refactor: Remove VimL function `test()`Justin M. Keyes2017-01-04
| | | | | | | | vim-patch:7.4.1838
| * refactor: Remove VimL function `test_autochdir()`Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | - Eliminate global test_autochdir. - Eliminate VimL function test_autochdir() - Use a lua test instead. Fails correctly after reverting 0c4347997954 / vim-patch:7.4.2015.
| * vim-patch:6f1d9aShougo Matsushita2017-01-02
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
| * vim-patch:7.4.2015Shougo Matsushita2017-01-02
| | | | | | | | | | | | | | | | | | | | Problem: When a file gets a name when writing it 'acd' is not effective. (Dan Church) Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes vim/vim#777, closes vim/vim#803) Add test_autochdir() to enable 'acd' before "starting" is reset. https://github.com/vim/vim/commit/5c71994f4ee5f87d4cce990dbc9684c70b1e108b
* | vim-patch:7.4.2043 (#5871)lonerover2017-01-04
| | | | | | | | | | | | Problem: setbuvfar() causes a screen redraw. Solution: Only use aucmd_prepbuf() for options. https://github.com/vim/vim/commit/93431df9eb02f7cf3d7f2142bb1bef24c5f325b2
* | fix lint errorlonerover2017-01-03
| |
* | vim-patch:7.4.1847lonerover2017-01-03
| | | | | | | | | | | | | | | | | | Problem: Getting an item from a NULL dict crashes. Setting a register to a NULL list crashes. (Nikolai Pavlov, issue vim/vim#768) Comparing a NULL dict with a NULL dict fails. Solution: Properly check for NULL. https://github.com/vim/vim/commit/13ddc5c35921efa69e980284117b6db6465e019c
* | Merge pull request #5743 from jamessan/na-vim-patchesJames McCoy2017-01-02
|\ \ | | | | | | version.c: Mark NA patches
| * | Mark 'execute()' patches appliedJames McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1996 Problem: Capturing the output of a command takes a few commands. Solution: Add evalcmd(). https://github.com/vim/vim/commit/1e5e1231ac9e1ba9678812c96f9d554a078eeec4 vim-patch:7.4.1999 Problem: evalcmd() doesn't work recursively. Solution: Use redir_evalcmd instead of redir_vname. https://github.com/vim/vim/commit/bc5d6dd1dd1dc3a06e4e655fc9479529db288365 vim-patch:7.4.2000 Problem: Evalcmd test fails. Solution: Add missing piece. https://github.com/vim/vim/commit/245a7cb6d33e556415c9fcaa874b784a6d8f0ef3 vim-patch:7.4.2005 Problem: After using evalcmd() message output is in the wrong position. (Christian Brabandt) Solution: Reset msg_col. https://github.com/vim/vim/commit/ee1deb4a00f39f133558321ec535354497f490c8
| * | vim-patch:7.4.1861James McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warnings with 64 bit compiler. Solution: Change int to size_t. (Mike William) https://github.com/vim/vim/commit/b055066a1daf12c349d6c575aff22ae4d999a157 Functional changes had already been made when package feature was initially merged.
| * | vim-patch:7.4.1839James McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the items stored in a partial. Solution: Support using get() on a partial. https://github.com/vim/vim/commit/2bbf8eff6fab16d86e7bcfc0da1962d31bec7891 The content of this was already applied in the partials PR, but no commit mentioned the upstream patch.
| * | vim-patch:7.4.1781James McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt) https://github.com/vim/vim/commit/da5b3dcf06a3af5b398450258be32b0416451a9b
| * | vim-patch:7.4.1656James McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using partial with a timer. Solution: Increment partial reference count. (Hirohito Higashi) https://github.com/vim/vim/commit/92e35efaf6a3278e4729115648997f09cd4005f5 The content of this was already applied in the partials PR, but no commit mentioned the upstream patch.
| * | version.c: Mark NA patchesJames McCoy2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 1727: garbagecollect_for_testing() - 1761,1762: NA Coverity issue - 1769: Adding attributes to if_pyth's sys.stdout - 1812: Athena/Motif GUI fixes - 1838: Rename of test functions (e.g., garbagecollect_for_testing()) to start with "test_" - 1844: More test function renames - 1888: Calculating sleep time for RealWaitForChar - 1903,1904,1905,1907,1911,1936: viminfo merging - 1955: Fix for 64-bit Vim linking against 32-bit Perl due to differing time_t - 1971: settmode() change for Solaris - 2073: Reading rgb.txt - 2093: Netbeans test - 2094: GUI color allocation changes - 2132, 2198: job tests
* | | lintJames McCoy2017-01-02
|/ /
* | vim-patch:7.4.1868James McCoy2017-01-01
| | | | | | | | | | | | | | Problem: Setting really_exiting causes memory leaks to be reported. Solution: Add the in_free_all_mem flag. https://github.com/vim/vim/commit/b89a25f17e274dc308c584ea69a129ffbb26bc3d
* | vim-patch:7.4.1866James McCoy2017-01-01
|/ | | | | | | | | | | | Problem: Invalid memory access when exiting with EXITFREE defined. (Dominique Pelle) Solution: Set "really_exiting" and skip error messages. https://github.com/vim/vim/commit/a96732150cda2f242133228579b05437a39b8daa This fails to build, due to a00c2e0ecbaec366364cecb5efbdb456c8c543ef removing really_exiting from globals.h, but the next commit fixes the build failure.
* Merge pull request #5613 from jamessan/vim-7.4.2183James McCoy2017-01-01
|\ | | | | vim-patch:7.4.2183,7.4.2194,7.4.2201,7.4.2204,0952131,7.4.2215,7.4.2225,7.4.2226,7.4.2272,7.4.2273,7.4.2277,7.4.2294
| * lintJames McCoy2016-12-28
| |
| * vim-patch:7.4.2294James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: Sign test fails on MS-Windows when using the distributed zip archives. Solution: Create dummy files instead of relying on files in the pixmaps directory. https://github.com/vim/vim/commit/64cefedfc834aa4dac54ae5f91ccbc04e2d56bc5
| * vim-patch:7.4.2277James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: Memory leak in getbufinfo() when there is a sign. (Dominique Pelle) Solution: Remove extra vim_strsave(). https://github.com/vim/vim/commit/6a402edbeb693113f05d9319cd20ec382a0a1a20
| * vim-patch:7.4.2273James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: getwininfo() and getbufinfo() are inefficient. Solution: Do not make a copy of all window/buffer-local options. Make it possible to get them with gettabwinvar() or getbufvar(). https://github.com/vim/vim/commit/3056735ae8a366aa7fcb51872520895251858637
| * vim-patch:7.4.2272James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient. Solution: Instead of making a copy of the variables dictionary, use a reference. https://github.com/vim/vim/commit/9f8187c335b4fb07be9095dfdd0fc52670ba3c3f
| * vim-patch:7.4.2226James McCoy2016-12-28
| | | | | | | | | | | | | | | | Problem: The field names used by getbufinfo(), gettabinfo() and getwininfo() are not consistent. Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/339288377072f66ec88e21903e75a82d23ffbf4f
| * vim-patch:7.4.2225James McCoy2016-12-28
| | | | | | | | | | | | | | Problem: Crash when placing a sign in a deleted buffer. Solution: Check for missing buffer name. (Dominique Pelle). Add a test. https://github.com/vim/vim/commit/bfd096d02087a10e8e2f4bdfb74e0435506fa8bb
| * vim-patch:7.4.2215James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: It's not easy to find out if a window is a quickfix or location list window. Solution: Add "loclist" and "quickfix" entries to the dict returnec by getwininfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/386600f0cbcb8add099c723cf84634f46df2f788
| * vim-patch:7.4.2204James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
| * vim-patch:7.4.2201Chris Lucas2016-12-28
| | | | | | | | | | | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt) https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
| * vim-patch:7.4.2194James McCoy2016-12-28
| | | | | | | | | | | | | | Problem: Sign tests don't cover enough. Solution: Add more test cases. (Dominique Pelle) https://github.com/vim/vim/commit/446a973ce3ce4988607292c0e6345db788f12c7b
| * vim-patch:7.4.2183James McCoy2016-12-28
| | | | | | | | | | | | | | Problem: Sign tests are old style. Solution: Turn them into new style tests. (Dominique Pelle) https://github.com/vim/vim/commit/09de17536dd84e43aed7a575183e320e8d980b68
| * vim-patch:7.4.2149James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | Problem: If a test leaves a window open a following test may fail. Solution: Always close extra windows after running a test. https://github.com/vim/vim/commit/7cba71d7e3576639679b6a3aedeeb1ac07f7f2f5 Apply the runtest.vim changes that were missing from 4431975210b58c6b0403ee50172bad3c8729bbb2
* | Merge #5855 from lonerover/vim-7.4.2019Justin M. Keyes2017-01-01
|\ \ | | | | | | vim-patch:7.4.2019,7.4.2028
| * | vim-patch:7.4.2028rover2017-01-01
| | | | | | | | | | | | | | | | | | | | | Problem: cppcheck warns for using index before limits check. Solution: Swap the expressions. (Dominique Pelle) https://github.com/vim/vim/commit/5498a41f5a62c3877fee0185adf3bf7245a9a547
| * | vim-patch:7.4.2019rover2017-01-01
| | | | | | | | | | | | | | | | | | | | | Problem: When ignoring case utf_fold() may consume a lot of time. Solution: Optimize for ASCII. https://github.com/vim/vim/commit/c4a927ca8dc383190d5df2cacd3f966698b6190c
* | | vim-patch:7.4.1834 (#5854)Shougo2017-01-01
|/ / | | | | | | | | | | Problem: Possible crash when conceal is active. Solution: Check for the screen to be valid when redrawing a line. https://github.com/vim/vim/commit/908be438794619f10ef7fa25e24e5893b2ae0189
* | vim-patch:7.4.1785Michael Ennen2016-12-31
| | | | | | | | | | | | | | Problem: Regexp test fails on windows. Solution: set 'isprint' to the right value for testing. https://github.com/vim/vim/commit/490465bda6ab66f78041709cc02f48a25486a3e5
* | vim-patch:7.4.1783Michael Ennen2016-12-31
| | | | | | | | | | | | | | | | Problem: The old regexp engine doesn't handle character classes correctly. (Manuel Ortega) Solution: Use regmbc() instead of regc(). Add a test. https://github.com/vim/vim/commit/af98a49dd0ef1661b4998f118151fddbf6e4df75
* | vim-patch:7.4.1793Michael Ennen2016-12-31
| | | | | | | | | | | | | | | | Problem: Some character classes may differ between systems. On OS/X the regexp test fails. Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama) https://github.com/vim/vim/commit/e8aee7dcf9b12becff86e8ce1783a86801c5f9f6
* | vim-patch:7.4.1970 (#5850)lonerover2016-12-31
| | | | | | | | | | | | | | | | Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo Karkat) Solution: Don't adjust marks when replacing the empty line in an empty buffer. (closes vim/vim#892) https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
* | vim-patch:7.4.1940 (#5849)lonerover2016-12-31
| | | | | | | | | | | | Problem: "gd" hangs in some situations. (Eric Biggers) Solution: Remove the SEARCH_START flag when looping. Add a test. https://github.com/vim/vim/commit/23c60f21b07b04351d846e6fbf4f4abd9aa09345
* | vim-patch:7.4.1876 (#5848)lonerover2016-12-31
|/ | | | | | | Problem: Typing "k" at the hit-enter prompt has no effect. Solution: Don't assume recursive use of the prompt if a character was typed. (Hirohito Higashi) https://github.com/vim/vim/commit/a0055ad3a789b8eeb0c983d8a18d4bcaeaf456b8
* vim-patch:7.4.1837 (#5834)lonerover2016-12-27
| | | | | | | Problem: The BufUnload event is triggered twice, when :bunload is used with set to or . Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi) https://github.com/vim/vim/commit/c67e89213476b5f4756d92208b57ce9ef4a4cf24
* lintJames McCoy2016-12-27
|
* vim-patch:8.0.0006James McCoy2016-12-27
| | | | | | | | Problem: ":lb" is interpreted as ":lbottom" while the documentation says it means ":lbuffer". Solution: Adjust the order of the commands. (haya14busa, closes vim/vim#1093) https://github.com/vim/vim/commit/ebdd90ac282909c0bfcd6e83e70505abbbd5a38d
* vim-patch:7.4.2010James McCoy2016-12-27
| | | | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
* vim-patch:7.4.1997James McCoy2016-12-27
| | | | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom". https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263