aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | Merge pull request #8485 from janlazo/vim-8.0.1012James McCoy2018-07-27
|\ \ \ \ \ | | | | | | | | | | | | [RDY] vim-patch:8.0.{805,806,810,1012,1017}
| * | | | | vim-patch:8.0.1017: test for MS-Windows $HOME always passesJan Edmund Lazo2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for MS-Windows $HOME always passes. Solution: Rename the test function. Make the test pass. https://github.com/vim/vim/commit/dde60341115effc9789742c2f4565d184e98b6b5 Assume $HOME contains the literal absolute path. Nested environment variable expansion is unsupported.
| * | | | | vim-patch:8.0.1012: MS-Windows: problem with $HOME when is was set internallyJan Edmund Lazo2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: Problem with $HOME when is was set internally. Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes vim/vim#2013) https://github.com/vim/vim/commit/48340b62e812dc9280f621a2eb6db76d43555c66 Restore vim_getenv() behaviour for $HOME on Windows.
| * | | | | vim-patch:8.0.0810: MS-Windows: tests still hangJan Edmund Lazo2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: tests still hang. Solution: Only create the XfakeHOME directory if it does not exist yet. https://github.com/vim/vim/commit/d0b6c6c54e0f3c2984e1d9b316a587ef14cfd53a
| * | | | | vim-patch:8.0.0806: tests may try to create XfakeHOME twiceJan Edmund Lazo2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests may try to create XfakeHOME twice. Solution: Avoid loading setup.vim twice. https://github.com/vim/vim/commit/f98246d4849e670c6660e97887428dcddf88dc9f
| * | | | | vim-patch:8.0.0805: GUI test fails with gnome2Jan Edmund Lazo2018-07-24
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Problem: GUI test fails with gnome2. Solution: Set $HOME to an existing directory. https://github.com/vim/vim/commit/d1ee0043c0360f6b504c0283edd2a844ef73a349
* | | | | Merge pull request #8769 from janlazo/vim-8.0.1502James McCoy2018-07-27
|\ \ \ \ \ | |_|_|/ / |/| | | | [RDY] vim-patch:8.0.{1502,1512,1622}
| * | | | vim-patch:8.0.1622: possible NULL pointer dereferenceJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Possible NULL pointer dereferencey. (Coverity) Solution: Reverse the check for a NULL pointer. https://github.com/vim/vim/commit/6ed86ad170b60517eeddb54c2b22fdc888a22c0b
| * | | | vim-patch:8.0.1512: warning for possibly using NULL pointerJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Warning for possibly using NULL pointer. (Coverity) Solution: Skip using the pointer if it's NULL. https://github.com/vim/vim/commit/e4db7aedab65abadcc84c78e7a10ec7bb62f11cf
| * | | | vim-patch:8.0.1502: in out-of-memory situation character is not restoredJan Edmund Lazo2018-07-23
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Problem: In out-of-memory situation character is not restored. (Coverity) Solution: Restore the character in all situations. https://github.com/vim/vim/commit/71a43c01377cb0c5cdc5f2d9a357b5ef1aa69ee3
* | | | tui: clip invalid regions on resize (#8779), fixes #8774Björn Linse2018-07-26
| | | |
* | | | log.c: format: paddingJustin M. Keyes2018-07-25
| | | | | | | | | | | | | | | | | | | | - milliseconds: leading zeroes - PID: whitespace padding
* | | | log.c: ISO 8601 date/timeJustin M. Keyes2018-07-24
| | | | | | | | | | | | | | | | | | | | After: INFO 2018-07-17T22:05:46.175 656 main:560: starting main loop
* | | | log.c: include millisecondsJustin M. Keyes2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #8727 Before: INFO 180711.233956 11124 main:560: starting main loop After: INFO 180711.233956.807 11124 main:560: starting main loop Note: - Can't use uv_hrtime() nor uv_now(), they are not "since the epoch". Also, log.c can't assume a loop exists.
* | | | log.c: message formatJustin M. Keyes2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Log-level name (INFO/ERROR/…) should be in the first column, so that filtering by log-level is maximally trivial. - Use 2-digit year. 4-digit year is useless, logs don't survive for decades without context. Before: 2018/07/05 17:49:41 INFO 27596 on_process_exit:393: foo After: INFO 180705.174941 27596 on_process_exit:393: foo
* | | | rename: os_get_localtime => os_localtimeJustin M. Keyes2018-07-24
| |/ / |/| |
* | | ui: fix glitches where scrolling region affects clearing of screenBjörn Linse2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | the first implemented UI protocol clients (python-gui and builitin TUI) allowed the cleared region to be restricted by setting the scroll region. This was never used by nvim though, and not documented and implemented by newer clients, to check we remain compatible with both kind of clients, ensure the scroll region is in a reset state.
* | | screen.c: fix redrawing tabline when messages overflow screenBjörn Linse2018-07-24
|/ /
* | build: Enable LTO (Link Time Optimization) #8654zhou132018-07-23
| |
* | Merge #8589 'VimL: Remove legacy v:xx aliases'Justin M. Keyes2018-07-23
|\ \
| * | Make "v:errmsg", "v:shell_error" and "v:this_session" distinctShougo Matsushita2018-07-23
| |/
* | vim-patch:8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' ↵Jan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | set (#8757) Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set. Solution: Take coladd into account. (Christian Brabandt, closes vim/vim#2743) https://github.com/vim/vim/commit/db0eedec16621854c772760d02427804bc0a298d
* | Merge #8753 from janlazo/vim-8.0.0724Justin M. Keyes2018-07-23
|\ \
| * | vim-patch:8.0.1799: no test for :registers commandJan Edmund Lazo2018-07-17
| | | | | | | | | | | | | | | | | | Problem: No test for :registers command. Solution: Add a test. (Dominique Pelle, closes vim/vim#2880) https://github.com/vim/vim/commit/7ce551f317a0bb92f8c0521e96325301e2d220ca
| * | vim-patch:8.0.0727: message about what register to yank into is not translatedJan Edmund Lazo2018-07-17
| | | | | | | | | | | | | | | | | | | | | Problem: Message about what register to yank into is not translated. (LemonBoy) Solution: Add _(). https://github.com/vim/vim/commit/60d0e97497f1104b31f711072ef174af533b61fa
| * | vim-patch:8.0.0724: the message for yanking doesn't indicate the registerJan Edmund Lazo2018-07-17
| | | | | | | | | | | | | | | | | | | | | Problem: The message for yanking doesn't indicate the register. Solution: Show the register name in the "N lines yanked" message. (Lemonboy, closes vim/vim#1803, closes vim/vim#1809) https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
* | | vim-patch:8.0.1398: :packadd does not load packages from the "start" ↵Jan Edmund Lazo2018-07-23
| |/ |/| | | | | | | | | | | | | | | directory (#8762) Problem: :packadd does not load packages from the "start" directory. (Alejandro Hernandez) Solution: Make :packadd look in the "start" directory if those packages were not loaded on startup. https://github.com/vim/vim/commit/9e1d399e63903c6f84d7888ad8d84ebf4e29d8a1
* | ui: use line-based rather than char-based updates in screen.cBjörn Linse2018-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active.
* | ui: add TODO for non-working terminal linewrapBjörn Linse2018-07-21
| | | | | | | | Note: this has not been working since the TUI reimplementation
* | highlight: refactor to use stateful representationBjörn Linse2018-07-21
| | | | | | | | | | This allows us to keep track of the source higlight groups, and not only the final combined highlights.
* | highlight: extract low-level highlight logic from syntax, uiBjörn Linse2018-07-21
| |
* | hardcopy: refactor mch_print_text_out()Jan Edmund Lazo2018-07-19
| | | | | | | | Combine variable declaration and initialization to add const.
* | vim-patch:8.1.0056: crash when using :hardcopy with illegal byteJan Edmund Lazo2018-07-19
| | | | | | | | | | | | Problem: Crash when using :hardcopy with illegal byte. Solution: Check for string_convert() returning NULL. (Dominique Pelle) https://github.com/vim/vim/commit/43dee181f596c81b99e200b6cdfeb02ecfed42c8
* | vim-patch:8.0.1503: access memory beyond end of stringJan Edmund Lazo2018-07-18
| | | | | | | | | | | | | | Problem: Access memory beyond end of string. (Coverity) Solution: Keep allocated memory in separate pointer. Avoid outputting the NUL character. https://github.com/vim/vim/commit/cdd09aa51a8d34bb384460af4f91026dbff5bf48
* | startup: fix ":if 0|syntax on|endif" bug (#8731)Justin M. Keyes2018-07-18
| | | | | | | | | | | | | | Problem: ":if 0|syntax {on,off}|endif" skips the default of "syntax on" because the executor was setting the `did_syntax_onoff` flag even though "syntax {on,off}" is not actually executed. closes #8728
* | docJustin M. Keyes2018-07-18
|/
* Merge pull request #8743 from dimbleby/multiple-childrenJames McCoy2018-07-16
|\ | | | | Check all child processes for exit in SIGCHLD handler
| * Check all child processes for exit in SIGCHLD handlerDavid Hotham2018-07-14
| | | | | | | | | | | | | | | | If a second and third child exit while we are already in the handler, we will only see a single additional SIGCHLD. Therefore the handler must not stop after processing a single child but should check all children. Fixes #8740
* | Merge pull request #8651 from MichaHoffmann/feature_refactor_channelBjörn Linse2018-07-15
|\ \ | | | | | | channel.c: refactor spaghetti code
| * | dispatch.c: changed api_set_error_callmicha2018-07-15
| | |
| * | channel.c: refactor spaghetti codemicha2018-07-14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | channel.c: WIP remove redundant method check and added FUNC_ATTR_NONNULL_ALL macro channel.c channel_defs.h helpers.c: added Error field to RequestEvent, added no_op handler func channel.c: use const char* instead of string and cleanup channel.c; channel_defs.h; helpers.c: removed error from event again; send errors directly to the channel without using handlers and events channel.c: fixed memory leak and lint errors api/private/dispatch.c; api/vim.c; msgpack_rpc/channel.c msgpack_rpc/helpers.c added Error* field to msgpack_get_handler_for; further refactored channel.c channel.c:323 changed order of evaluation in if statement channel.c: removed superflous whitespace dispatch.c: review comment
* / channel.c: Prevent channel_destroy_early() from freeing uninitialized rpc stuffoni-link2018-07-15
|/ | | | | | | | Without this patch the following commands would crash: :call rpcstart('unknown_command') :set sh=unknown_command :call jobstart('ls',{'rpc':1})
* Merge pull request #8737 from dimbleby/overly-general-waitpidJames McCoy2018-07-13
|\ | | | | Only waitpid() for processes that we care about
| * Only waitpid() for processes that we care aboutDavid Hotham2018-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems as though in an AppImage there's an extra child process that dies at some early point, before we have set up a SIGCHLD handler. So when we later get a SIGCHLD from a child that we do care about, waitpid(-1, ...) tells us about the extra child - and we don't notice that the interesting child has exited. Or something like that! See also: * https://patchwork.kernel.org/patch/9949491/ in which perf hit something similar * discussion at the AppImage repository: https://github.com/AppImage/AppImageKit/issues/812#issuecomment-404662110. Fix is to be explicit about which process we are waitpid()'ing for, so we never need be distracted by children that we don't know about. Fixes #8104
* | vim-patch:8.0.0630: it is not easy to work on lines without a match (#8734)Jan Edmund Lazo2018-07-13
| | | | | | | | | | | | | | Problem: The :global command does not work recursively, which makes it difficult to execute a command on a line where one pattern matches and another does not match. (Miles Cranmer) Solution: Allow for recursion if it is for only one line. (closes vim/vim#1760) https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998
* | Merge #8736 'vim-patch:8.0.0697: stable keymap.h'Justin M. Keyes2018-07-13
|\ \ | |/ |/|
| * keymap: add commented events to match 8.0.0697Jan Edmund Lazo2018-07-13
| | | | | | | | KE_MOUSEMOVE, KE_CANCEL are added in later patches.
| * vim-patch:8.0.0697: recorded key sequences may become invalidJan Edmund Lazo2018-07-10
| | | | | | | | | | | | | | Problem: Recorded key sequences may become invalid. Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the key_extra enum. https://github.com/vim/vim/commit/8858498516108432453526f07783f14c9196e112
* | terminal: handle &confirm and :confirm on unloading (#8726)Marco Hinz2018-07-12
| | | | | | | | | | | | Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes https://github.com/neovim/neovim/issues/4651
* | Merge pull request #8721 from bfredl/quickresizeBjörn Linse2018-07-12
|\ \ | | | | | | Fix redrawing issues with narrow screen and remove extra wait in resize tests