aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
* | | | | | eval/typval_encode.h: Use only a single macros with _INNER[_2] hackZyX2017-01-07
| | | | | |
* | | | | | unittest: Allow mocking allocator callsZyX2017-01-07
| |_|/ / / |/| | | |
* | | | | Merge pull request #5826 from ZyX-I/fix-typval_encodeJames McCoy2017-01-06
|\ \ \ \ \ | | | | | | | | | | | | Refactor eval/typval_encode.h
| * | | | | eval: Fix typoZyX2017-01-07
| | | | | |
| * | | | | eval/typval_encode: Dump empty dictionary before checking for refcycleZyX2017-01-06
| | | | | | | | | | | | | | | | | | Otherwise copyID will stay forever on empty dictionaries.
| * | | | | eval: Work with reference cycles in partials (self) properlyZyX2017-01-06
| | | | | |
| * | | | | 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
| | | | | |
| * | | | | 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
| | | | | |
| * | | | | 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.
* | | | | eval.c: filter_map(): avoid maybe-uninitialized warning (#5897)Michael Schupikov2017-01-06
| | | | | | | | | | | | | | | maybe-uninitialized warning observed with -Ofast.
* | | | | Merge pull request #5893 from lonerover/vim-7.4.2127James McCoy2017-01-06
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.2127
| * | | | | vim-patch:7.4.2127rover2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The short form of ":noswapfile" is ":noswap" instead of ":now". (Kent Sibilev) Solution: Only require three characters. Add a test for the short forms. https://github.com/vim/vim/commit/3bcfca3ab4db415d0e750e00204dd25a91fcee77
* | | | | | Merge pull request #5892 from lonerover/vim-7.4.2103James McCoy2017-01-06
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch: 7.4.2103
| * | | | | | fix lint errorlonerover2017-01-06
| | | | | | |
| * | | | | | vim-patch:7.4.2103lonerover2017-01-05
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't have "augroup END" right after ":au!". Solution: Check for the bar character before the command argument. https://github.com/vim/vim/commit/e99e84497b89e5f91df519790802770920ecf4fe
* | | | | | time.c: os_microdelay(): Let input cancel the delay. #5830Michael Schupikov2017-01-06
| | | | | | | | | | | | | | | | | | | | | | | | Closes #5397
* | | | | | 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.