aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* XDG: Windows: resolve $LOCALAPPDATA, $TEMP (#5278)Rui Abreu Ferreira2017-01-08
| | | | | | | | | | After #4964 environment variables in the XDG "fallback" table are no longer expanded. Fallback to correctly expanded $LOCALAPPDATA, $TEMP. If that fails (unlikely), fallback to hard-coded paths (e.g. ~/AppData/Local). Closes #5255
* Merge #5079 from ZyX-I/shada-save-current-posJustin M. Keyes2017-01-07
|\ | | | | shada: Save current cursor position before saving jumps
| * clint: Add more exceptions to “space after a cast” ruleZyX2017-01-06
| | | | | | | | Python does not allow branching here, complaining that look-behind is not fixed-width.
| * shada: Mark ALWAYS_INLINE function as `inline`ZyX2017-01-06
| |
| * shada: Move setpcmark()/cleanup_jumplist() out of the cycleZyX2017-01-04
| |
| * shada: Fix offset savingZyX2017-01-04
| |
| * shada: Silence linterZyX2017-01-04
| |
| * shada: Save current cursor position before saving jumpsZyX2017-01-04
| |
* | unittest,memory: Fix testsZyX2017-01-07
| |
* | memory: Document new additions to memory.hZyX2017-01-07
| |
* | memory: Restore entered_free_all_mem functionalityZyX2017-01-07
| |
* | eval: Fix failing testZyX2017-01-07
| |
* | unittest: Add dict_items functionZyX2017-01-07
| |
* | eval: Make sure that copyID is reset when neededZyX2017-01-07
| | | | | | | | | | Works by making value pushed on stack represent the exhausted list. Fixes #5901, except for dictionaries which need similar adjustment.
* | 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
| | |
| * | 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.
* | | 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