aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | eval/encode: Avoid unnecessary tv_list_idx_of_item() callsZyX2017-12-16
| | | |
| * | | window: Fix matchaddpos() and enhance error reportingZyX2017-12-15
| | | |
| * | | *: Fix some problems found during reviewZyX2017-12-15
| | | | | | | | | | | | | | | | Still missing: problems in window.c, it should be possible to construct a test for them.
| * | | clint,eval: Make linter check for direct usage of list attributesZyX2017-12-12
| | | |
| * | | *: Fix linter errorsZyX2017-12-12
| | | |
| * | | Merge branch 'master' into hide-container-implZyX2017-12-12
| |\ \ \
| * | | | eval/typval: Fix typoZyX2017-12-11
| | | | | | | | | | | | | | | [ci skip]
| * | | | eval: Fix add()ZyX2017-12-11
| | | | |
| * | | | *: Fix linter errorsZyX2017-12-11
| | | | |
| * | | | *: Finish hiding list implementationZyX2017-12-11
| | | | |
| * | | | *: Fix test failuresZyX2017-12-11
| | | | |
| * | | | eval: Still check for NULL when doing :unletZyX2017-12-10
| | | | |
| * | | | eval: Fix uniq() crash in legacy test 055ZyX2017-12-10
| | | | |
| * | | | eval/encode: Fix crash in json_encode test suiteZyX2017-12-10
| | | | |
| * | | | quickfix: Fix :cexpr and :lexprZyX2017-12-10
| | | | |
| * | | | eval: Fix setmatches(), setqflist() and setloclist()ZyX2017-12-10
| | | | |
| * | | | eval,functests: Fix tests and complete() and setline() behaviourZyX2017-12-10
| | | | |
| * | | | *: Hide list implementation in other files as wellZyX2017-12-10
| | | | |
| * | | | eval: Fix writefile()ZyX2017-12-10
| | | | |
| * | | | eval: Fix inputlist()ZyX2017-12-10
| | | | |
| * | | | *: Start hiding list implementationZyX2017-12-10
| | | | | | | | | | | | | | | | | | | | Most of files, except for eval.c and eval/* were only processed by perl.
| * | | | eval/typval: Add macros useful for hiding list item implementationZyX2017-12-10
| | | | |
| * | | | eval/typval: Add functions useful for hiding list implementationZyX2017-12-10
| | | | |
* | | | | channel: check for existance before trying to set keyBjörn Linse2017-12-23
| |_|_|/ |/| | | | | | | | | | | This avoids an error message in async context, where it is not safe.
* | | | vim-patch:8.0.0606: cannot set the context for a specified quickfix listJames McCoy2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot set the context for a specified quickfix list. Solution: Use the list index instead of the current list. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6e62da3e14d32f76f60d5cc8b267059923842f17
* | | | vim-patch:8.0.0597: off-by-one error in size computationJames McCoy2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Off-by-one error in buffer size computation. Solution: Use ">=" instead of ">". (Lemonboy, closes vim/vim#1694) https://github.com/vim/vim/commit/253f9128779f315ea670f9b4a17446b7b4c74927
* | | | vim-patch:8.0.0595: Coverity warning for not checking return valueJames McCoy2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warning for not checking return value of dict_add(). Solution: Check the return value for FAIL. https://github.com/vim/vim/commit/beb9cb19c660484488a71a25eda46ab0fa579278
* | | | vim-patch:8.0.0590: cannot add a context to locationsJames McCoy2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot add a context to locations. Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan, closes vim/vim#1012) https://github.com/vim/vim/commit/8f77c5a4ec756f3f866bd6b18feb6fca6f2a2e91
* | | | vim-patch:8.0.0580: cannot set the valid flag with setqflist()James McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot set the valid flag with setqflist(). Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes vim/vim#1642) https://github.com/vim/vim/commit/f1d21c8cc83f40c815b6bf13cd2043152db533ee
* | | | vim-patch:8.0.0579: duplicate test case for quickfixJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Duplicate test case for quickfix. Solution: Remove the function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9b77016545d5ef1a1f4a90c9bb4b7a6693af8918
* | | | vim-patch:8.0.0574: get only one quickfix list after :caddbufJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Get only one quickfix list after :caddbuf. Solution: Reset qf_multiline. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/99895eac1cf71be43ece7e14b50e206e041fbe9f
* | | | vim-patch:8.0.0565: using freed memory in :caddbufJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory in :caddbuf after clearing quickfix list. (Dominique Pelle) Solution: Set qf_last to NULL. https://github.com/vim/vim/commit/31bdd13c335533c749993b57dcd980a87373139e
* | | | vim-patch:8.0.0584: memory leak when executing quickfix testsJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak when executing quickfix tests. Solution: Free the list reference. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d788f6fe89c77262c474de323f5dab6d1c814e27
* | | | vim-patch:8.0.0536: quickfix window not updated when freeing quickfix stackJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix window not updated when freeing quickfix stack. Solution: Update the quickfix window. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/69f40be64555d50f603c6f22722cf762aaa6bbc1
* | | | vim-patch:8.0.0517: there is no way to remove quickfix listsJames McCoy2017-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no way to remove quickfix lists (for testing). Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b6fa30ccc39cdb7f1d07b99fe2f4c6b61671dac2
* | | | vim-patch:8.0.0484: :lhelpgrep does not fail after a successful oneJames McCoy2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using :lhelpgrep with an argument that should fail does not produce an error if the previous :helpgrep worked. Solution: Use another way to detect that autocommands made the quickfix info invalid. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ee85df37634dfb0c40ae5de0b4f246aef460b392
* | | | vim-patch:8.0.0404: not enough testing for quickfixJames McCoy2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough testing for quickfix. Solution: Add some more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/391b1dd040af204b150d43c5a1c97477ee450a28
* | | | Merge pull request #7736 from jamessan/vim-8.0.0420James McCoy2017-12-17
|\ \ \ \ | | | | | | | | | | [RFC] vim-patch:8.0.0420: text garbled when the system encoding differs from 'encoding'
| * | | | lintJames McCoy2017-12-17
| | | | |
| * | | | vim-patch:8.0.0420: text garbled when the system encoding differs from ↵James McCoy2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'encoding' Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata) https://github.com/vim/vim/commit/2c7292dc5bbf155fe2192d417363b8c085759cad
* | | | | ASAN/LeakSanitizer: ignore loop_schedule_deferred()Justin M. Keyes2017-12-17
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang ASAN/LeakSanitizer error (observed in #7706): ==21832==ERROR: LeakSanitizer: detected memory leaks Direct leak of 56 byte(s) in 1 object(s) allocated from: 0 0x511b26 in malloc (/home/travis/build/neovim/neovim/build/bin/nvim+0x511b26) 1 0x1009a84 in try_malloc /home/travis/build/neovim/neovim/src/nvim/memory.c:87:15 2 0x1009c44 in xmalloc /home/travis/build/neovim/neovim/src/nvim/memory.c:121:15 3 0xaa8c36 in loop_schedule_deferred /home/travis/build/neovim/neovim/src/nvim/event/loop.c:89:19 4 0x190856a in tui_main /home/travis/build/neovim/neovim/src/nvim/tui/tui.c:367:5 5 0x1963d61 in ui_thread_run /home/travis/build/neovim/neovim/src/nvim/ui_bridge.c:106:3 6 0x2b5d4190d183 in start_thread /build/eglibc-SvCtMH/eglibc-2.19/nptl/pthread_create.c:312 Possible explanation: During exit, `Loop.thread_events` may not get flushed, so `loop_deferred_event()` is never called. We could instead try to unwind `Loop.thread_events` during teardown, but it seems lower-risk to just tell ASAN to ignore it. Valgrind does not complain: $ while :; do { 2>valglog.txt valgrind ./build/bin/nvim -u NONE +q ; } ; if ! [ $? = 0 ] ; then break ; fi ; done
* | | / tui: rework deferred-termcodes ... againJustin M. Keyes2017-12-16
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revert timer-based approach. - Instead, call loop_poll_events() with a timeout in an "active" loop, to infer that "TUI startup activity has mostly finished", but also to enforce a mininum time (100 ms) before emitting "enable focus reporting" termcode. (If TUI startup takes longer than that minimum time, it's probably a slow environment anyways.) - Tickle `main_loop` by sending a dummy event. Without this, the initial "focus-gained" response from the terminal may not get processed until the user hits a key. ref #7720 ref #7664 ref #7649 ref #7664 ref 27f9b1c7b029d8
* | | lintJames McCoy2017-12-15
| | |
* | | vim-patch:8.0.0074Michael Schupikov2017-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where. https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f Signed-off-by: Michael Schupikov <michael@schupikov.de>
* | | Merge #7720 'tui: rework deferred-termcodes implementation'Justin M. Keyes2017-12-14
|\ \ \
| * | | tui: defer termcodes using a timerJustin M. Keyes2017-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this implementation there is no "jank" during startup. Using the main_loop in any fashion is janky. Using only the TUI loop emits the termcodes too soon, or requires bad hacks like counting tui_flush invocations (9 seems to work). ref #7664 ref #7649 ref #7664 ref 27f9b1c7b029d8
| * | | tui: rework deferred-termcodes implementationJustin M. Keyes2017-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try another approach to defer the termcodes. Seems less janky, but still not perfect. ref #7664 ref #7649 ref #7664 ref 27f9b1c7b029d8
| * | | pty_process_unix: _exit() on execvp() failureJustin M. Keyes2017-12-13
| | | | | | | | | | | | | | | | | | | | Mostly cargo-culting based on a reading of the manpages, interwebs, and the Vim source.
* | | | typval_encode.c.h: avoid -Wnonnull-compare warning (#7712)Justin M. Keyes2017-12-13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * typval_encode.c.h: avoid -Wnonnull-compare warning closes #6847 The NULL check is needed because TYPVAL_ENCODE_CONV_EMPTY_DICT may be invoked with literal `NULL`. Warning occurs even for `Debug` build-type: neovim/src/nvim/eval/typval.c: In function ‘_typval_encode_nothing_convert_one_value’: neovim/src/nvim/eval/typval.c:1802:10: warning: nonnull argument ‘tv’ compared to NULL [-Wnonnull-compare] if (tv != NULL) { \ ^ ../src/nvim/eval/typval_encode.c.h:398:9: note: in expansion of macro ‘TYPVAL_ENCODE_CONV_EMPTY_DICT’ TYPVAL_ENCODE_CONV_EMPTY_DICT(tv, tv->vval.v_dict); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc version: gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406 * fixup! typval_encode.c.h: avoid -Wnonnull-compare warning
* | | ui: forward relevant option updates to UIs (#7520)Björn Linse2017-12-12
| | | | | | | | | also make termguicolors mutable after startup