aboutsummaryrefslogtreecommitdiff
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
* Merge #5874 from ZyX-I/fix-5482Justin M. Keyes2017-01-04
|\ | | | | Fix plugin which opens ShaDa files
| * plugin/shada: Handle NUL characters with intchar correctlyZyX2017-01-04
| | | | | | Fixes #5482
| * plugin/msgpack: Support character constants like '\0'ZyX2017-01-04
| |
| * doc: Document that character constants are supportedZyX2017-01-04
| |
* | provider/clipboard.vim: fallback if xsel is broken (#5868)Justin M. Keyes2017-01-04
| | | | | | | | | | | | Old versions of `xsel` do not support some required features. Fall back to `xclip` then. Closes #5853
* | version.c: update (#5876)Ole Reifschneider2017-01-04
| |
* | Merge #5749 from justinmk/test-ctrl-cJustin M. Keyes2017-01-04
|\ \
| * | test: skip_fragile(), TEST_SKIP_FRAGILEJustin M. Keyes2017-01-04
| | | | | | | | | | | | | | | | | | | | | Let build systems define TEST_SKIP_FRAGILE to skip tests that are known to be resource-intensive (unreliable on slow systems). References https://github.com/neovim/neovim/pull/5488#issuecomment-265622113
| * | test: ctrl_c_specJustin M. Keyes2017-01-04
| | | | | | | | | | | | | | | | | | | | | - Improve test reliability by only checking for a line with the string we are interested in ("Interrupt"). - Try to avoid OOM by loading an existing big file instead of looping to create one.
* | | man.vim: do not set ft=man on files with extension man (#5831)Anmol Sethi2017-01-04
| |/ |/| | | Closes #5806
* | Merge #5872 justinmk/test_autochdirJustin M. Keyes2017-01-04
|\ \
| * | test/helpers.rmdir(): Windows: Change to top-level dir on failure.Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | | | | | On Windows, if the nvim process has a directory open the lua process cannot remove it. After failing once, it's safe to force `nvim` to the top-level directory. Then try again.
| * | 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
* | | Merge #5864 from ZyX-I/fix-5857Justin M. Keyes2017-01-04
|\ \ \ | | | | | | | | unittest: Allow multiple indirect includes
| * | | unittest: Fix linter errorsZyX2017-01-03
| | | |
| * | | unittest: Refactor preprocess.luaZyX2017-01-03
| | | | | | | | | | | | | | | | | | | | | | | | Keeps arguments separated and not joined as a single string as long as possible. Abstracts away additional arguments so that Gcc:preprocess should work for compilers with different conventions should they be supported.
| * | | unittest: Move nil checks to Gcc:preprocessZyX2017-01-03
| | | |
| * | | unittest: Record previous defines in another placeZyX2017-01-03
| | | | | | | | | | | | | | | | Previous commit made preprocess.lua know how its output will be used. This moves state to cimport, making only it know which is cleaner.
| * | | unittest: Allow multiple indirect includesZyX2017-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works by saving all preprocessor defines and reusing them on each run. This also saves NVIM_HEADER_H defines. Saving other defines is needed for defines like `Map(foo, bar)` which are sometimes used to declare types or functions. Saving types or function declarations is not needed because they are recorded as luajit state. Fixes #5857
* | | | 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
* | | clipboard: show error message only once and put in history (#5870)Marco Hinz2017-01-04
| | |
* | | syntax/ruby.vim, perl.vim: Preserve 'foldmethod'. (#5858)Shougo2017-01-03
| | |
* | | Merge pull request #5835 from lonerover/vim-7.4.1847James McCoy2017-01-03
|\ \ \ | | | | | | | | | | | | vim-patch:7.4.1847
| * | | 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
* / / automation: Generate API documentation (#5798)Tommy Allen2017-01-03
|/ / | | | | | | | | runtime: Add underscore to {} helpSpecial syntax pattern docs: Added generated api-funcs.txt
* | 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
|/ /
* | Merge pull request #5859 from jamessan/vim-7.4.1866James McCoy2017-01-02
|\ \ | |/ |/| vim-patch:7.4.1866,7.4.1868
| * 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