aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* eval/typval_encode: Use TYPVAL_ENCODE_CONV_EMPTY_DICT for partialsZyX2017-01-06
|
* eval/typval_encode.h: Remove documentation that is located in *.c.hZyX2017-01-06
|
* *: Remove `// fname()` comments near typval_encode includesZyX2017-01-04
|
* eval/encode: Always check the return value of encode_vim_to_\*ZyX2017-01-04
|
* unittests: Fix linter errorsZyX2017-01-03
|
* tests: Add tests for partials dumpingZyX2017-01-03
| | | | | Also fixed dumping of partials by encode_vim_to_object and added code which is able to work with partials and dictionaries to test/unit/eval/helpers.lua (mostly copied from #5119, except for partials handling).
* eval: Fix errorneous early exit when converting lists and dictionariesZyX2017-01-03
|
* eval/encode: Fail when stringifying NULL functionsZyX2017-01-03
|
* eval/typval_encode: Handle NULL partials properlyZyX2017-01-03
|
* eval/typval_encode: Provide proper values as dict argumentZyX2017-01-03
|
* eval: Fix unused variable error in release buildsZyX2017-01-03
|
* eval/encode: Fix 4 new linter failuresZyX2017-01-03
|
* eval/typval_encode: Refactor arguments to argument macrosesZyX2017-01-03
| | | Fixed local test failures somewhere in process.
* eval: Do not free partial contents if partial is still referencedZyX2017-01-03
| | | Should fix some tests, including core/job_partial tests.
* eval/typval_encode: Rename some \*tv variablesZyX2017-01-03
| | | | | Renames `tv` function argument to `top_tv` and `cur_tv` variable to `tv`, so `tv` will mean something more or less the same in both _TYPVAL_ENCODE_CONVERT_ONE_VALUE and _TYPVAL_ENCODE_ENCODE functions.
* eval: Do not free partial lists as listsZyX2017-01-03
|
* eval: Fix case when cur_mpsv is NULLZyX2017-01-03
| | | | Should only happen when clearing VAR_FUNC typval which is not placed inside a container.
* eval/typval_encode: Fix infinite loopZyX2017-01-03
| | | | | | | | | Occurs when trying to dump a partial with attached self dictionary which references that partial. “Infinite” loop should normally result in Neovim killed by OOM killer. Also moved the place when partials are unreferenced by clear_tv: from …FUNC_START to …FUNC_END.
* api/helpers: Fix unused variable error in release buildZyX2017-01-03
|
* eval/typval_encode: Fix linter errorsZyX2017-01-03
|
* clint: Allow including .c.h files multiple timesZyX2017-01-03
| | | | | Except when they are system just in case. There should be no .c.h system files though, but if there will be it is unlikely that they inherit the same convention.
* eval/typval_encode: Fix crashesZyX2017-01-03
|
* eval/typval_encode: Refactor big-big macros into .c.h fileZyX2017-01-03
| | | | | This makes gdb backtraces much more meaningful: specifically I now know at which line it crashes in place of seeing that it crashes at TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS macros invocation.
* eval/typval_encode: Make partial conversions not recursiveZyX2017-01-03
| | | | | | Is known to crash in the current state. Ref #5825.
* 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
| * 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:0952131James McCoy2016-12-28
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
| * 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