Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge #5079 from ZyX-I/shada-save-current-pos | Justin M. Keyes | 2017-01-07 |
|\ | | | | | shada: Save current cursor position before saving jumps | ||
| * | clint: Add more exceptions to “space after a cast” rule | ZyX | 2017-01-06 |
| | | | | | | | | Python does not allow branching here, complaining that look-behind is not fixed-width. | ||
| * | shada: Mark ALWAYS_INLINE function as `inline` | ZyX | 2017-01-06 |
| | | |||
| * | shada: Move setpcmark()/cleanup_jumplist() out of the cycle | ZyX | 2017-01-04 |
| | | |||
| * | shada: Fix offset saving | ZyX | 2017-01-04 |
| | | |||
| * | shada: Silence linter | ZyX | 2017-01-04 |
| | | |||
| * | shada: Save current cursor position before saving jumps | ZyX | 2017-01-04 |
| | | |||
* | | Merge #5903 from ZyX-I/fix-5901 | Justin M. Keyes | 2017-01-07 |
|\ \ | | | | | | | Reset copyID also when dictionary is referenced | ||
| * | | unittest: Fix linter errors | ZyX | 2017-01-07 |
| | | | |||
| * | | unittest,memory: Fix tests | ZyX | 2017-01-07 |
| | | | |||
| * | | memory: Document new additions to memory.h | ZyX | 2017-01-07 |
| | | | |||
| * | | memory: Restore entered_free_all_mem functionality | ZyX | 2017-01-07 |
| | | | |||
| * | | eval: Fix failing test | ZyX | 2017-01-07 |
| | | | |||
| * | | unittest: Add failing test for freeing dictionaries in a list | ZyX | 2017-01-07 |
| | | | |||
| * | | unittest: Add dict_items function | ZyX | 2017-01-07 |
| | | | |||
| * | | eval: Make sure that copyID is reset when needed | ZyX | 2017-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] hack | ZyX | 2017-01-07 |
| | | | |||
| * | | unittest: Add failing test of freeing lists | ZyX | 2017-01-07 |
| | | | |||
| * | | unittest: Allow mocking allocator calls | ZyX | 2017-01-07 |
| | | | |||
* | | | health: refactor s:check_ruby() | Marco Hinz | 2017-01-07 |
|/ / | | | | | | | | | | | | | | | | | | | | | I gone through every single line, renamed the variables to be more consistent and reordered many lines. Information is now printed as soon as it's available and errors lead to early returns. I altered the suggestions for each condition to be more precise and checked that they fail properly. This also prevents invalid arguments getting passed to s:version_cmp(). | ||
* | | Merge pull request #5826 from ZyX-I/fix-typval_encode | James McCoy | 2017-01-06 |
|\ \ | | | | | | | Refactor eval/typval_encode.h | ||
| * | | eval: Fix typo | ZyX | 2017-01-07 |
| | | | |||
| * | | functests: Add tests for new fixes | ZyX | 2017-01-06 |
| | | | |||
| * | | eval/typval_encode: Dump empty dictionary before checking for refcycle | ZyX | 2017-01-06 |
| | | | | | | | | | Otherwise copyID will stay forever on empty dictionaries. | ||
| * | | eval: Work with reference cycles in partials (self) properly | ZyX | 2017-01-06 |
| | | | |||
| * | | eval/typval_encode: Use TYPVAL_ENCODE_CONV_EMPTY_DICT for partials | ZyX | 2017-01-06 |
| | | | |||
| * | | eval/typval_encode.h: Remove documentation that is located in *.c.h | ZyX | 2017-01-06 |
| | | | |||
| * | | *: Remove `// fname()` comments near typval_encode includes | ZyX | 2017-01-04 |
| | | | |||
| * | | eval/encode: Always check the return value of encode_vim_to_\* | ZyX | 2017-01-04 |
| | | | |||
| * | | unittests: Fix linter errors | ZyX | 2017-01-03 |
| | | | |||
| * | | tests: Add tests for partials dumping | ZyX | 2017-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 dictionaries | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/encode: Fail when stringifying NULL functions | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/typval_encode: Handle NULL partials properly | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/typval_encode: Provide proper values as dict argument | ZyX | 2017-01-03 |
| | | | |||
| * | | eval: Fix unused variable error in release builds | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/encode: Fix 4 new linter failures | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/typval_encode: Refactor arguments to argument macroses | ZyX | 2017-01-03 |
| | | | | | | | | | Fixed local test failures somewhere in process. | ||
| * | | eval: Do not free partial contents if partial is still referenced | ZyX | 2017-01-03 |
| | | | | | | | | | Should fix some tests, including core/job_partial tests. | ||
| * | | eval/typval_encode: Rename some \*tv variables | ZyX | 2017-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 lists | ZyX | 2017-01-03 |
| | | | |||
| * | | eval: Fix case when cur_mpsv is NULL | ZyX | 2017-01-03 |
| | | | | | | | | | | | | Should only happen when clearing VAR_FUNC typval which is not placed inside a container. | ||
| * | | eval/typval_encode: Fix infinite loop | ZyX | 2017-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 build | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/typval_encode: Fix linter errors | ZyX | 2017-01-03 |
| | | | |||
| * | | clint: Allow including .c.h files multiple times | ZyX | 2017-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 crashes | ZyX | 2017-01-03 |
| | | | |||
| * | | eval/typval_encode: Refactor big-big macros into .c.h file | ZyX | 2017-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 recursive | ZyX | 2017-01-03 |
| | | | | | | | | | | | | | | | | | | Is known to crash in the current state. Ref #5825. | ||
* | | | eval.c: filter_map(): avoid maybe-uninitialized warning (#5897) | Michael Schupikov | 2017-01-06 |
| | | | | | | | | | maybe-uninitialized warning observed with -Ofast. |