aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* events: VimSuspend, VimResume #8280geekodour2018-04-15
| | | | | closes #3648 ref #5959
* Merge #6272 'stdpath()'Justin M. Keyes2018-04-15
|\
| * eval: Add stdpath() method (#5297)Christian Höltje2018-03-29
| | | | | | | | | | | | Adds the :stdpath method for fetching XDG standard directories. Fixes #5297
* | Merge #8160 'win: oldtests: prefer cmd.exe'Justin M. Keyes2018-04-15
|\ \
| * | oldtests: win: skip test49Jan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | | Vim doesn't test it on Windows. See https://github.com/vim/vim/blob/master/src/testdir/Make_all.mak
| * | oldtests: win: keep set dir=/Jan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | | | | | | | | Any user can create a directory on root. Creating a directory on root allows any user to write files within that directory. Test_recover_root_dir() passes when run locally as a regular user (not admin).
| * | win: getftype(symlink) returns 'link'Jan Edmund Lazo2018-04-12
| | | | | | | | | | | | Vim doesn't detect symlinks correctly so stick with Neovim's behaviour.
| * | oldtests: check +iconv for makeencodingJan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | | MSVC builds don't include it. Test utf8 and latin only if +iconv is missing.
| * | oldtests: win: help sp?it opens split()Jan Edmund Lazo2018-04-12
| | | | | | | | | | | | Vim 8 and Neovim 0.2.3 open the same target on Windows.
| * | oldtests: win: shellslash for cdpath,tags,:findJan Edmund Lazo2018-04-12
| | |
| * | oldtests: win: cmd.exe echo has trailing CRJan Edmund Lazo2018-04-12
| | |
| * | oldtests: use expand() to fix pathsepJan Edmund Lazo2018-04-12
| | | | | | | | | | | | Fix failing oldtests because of noshellslash.
| * | oldtests: newstyle: win: reset shell to cmd.exeJan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | | | | | | | | | | | Unset $SHELL so that child nvim use cmd.exe as default shell. Unset $TERM so that child nvim don't segfault with negative exit code. sh/bash use TERM=cygwin by default if it is unset. mintty sets TERM to xterm.
* | | win: Fix reading content from stdin (#8267)b-r-o-c-k2018-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6890 by reading from the Windows console input buffer after stdin has been closed. Vim defines HAVE_DUP for Windows and does the close-dup dance[1]: close(0); dup(2); which always fails, then falls back to reading from the Windows console input buffer[2]. [1] https://github.com/vim/vim/blob/e7499ddc33508d3d341e96f84a0e7b95b2d6927c/src/fileio.c#L2397-L2398 [2] https://github.com/vim/vim/blob/e7499ddc33508d3d341e96f84a0e7b95b2d6927c/src/os_win32.c#L1703-L1714
* | | tui: abort on unexpected enum value (#8266)John Szakmeister2018-04-13
| | | | | | | | | ref #8261
* | | API/nvim_command_output: handle :echon capture (#8265)Justin M. Keyes2018-04-13
| | | | | | | | | ref https://github.com/neovim/python-client/pull/290
* | | channels: cleanup channel freeing codeBjörn Linse2018-04-12
| | |
* | | channels: delay free so that libuv can cleanup handlesBjörn Linse2018-04-12
| | | | | | | | | | | | add test for a crash this caused
* | | ui_set_option: pass String.data, not StringJustin M. Keyes2018-04-12
| | |
* | | tui: fix uninitialize variable usage (#8261)John Szakmeister2018-04-12
|/ / | | | | | | | | This fixes an issue with compiles failing in release mode due to shape having the possibility of being used uninitialized (since the default case was missing).
* | test/util: expect_err() (#8257)Justin M. Keyes2018-04-11
| | | | | | other cleanup, ref #8245
* | Merge #8247 'server: introduce --listen'Justin M. Keyes2018-04-11
|\ \
| * | lintJustin M. Keyes2018-04-11
| | |
| * | server: init v:servername if $NVIM_LISTEN_ADDRESS is invalidJustin M. Keyes2018-04-11
| | | | | | | | | | | | | | | Before this change, if $NVIM_LISTEN_ADDRESS was invalid, v:servername was left empty.
| * | server: introduce --listen, deprecate $NVIM_LISTEN_ADDRESSJustin M. Keyes2018-04-11
| | |
| * | cleanup: remove main_start_gui()Justin M. Keyes2018-04-11
| | |
| * | serverstop(): return FALSE for invalid addressJustin M. Keyes2018-04-11
| | |
* | | os/shell: use msg functions instead of screen when throttlingBjörn Linse2018-04-09
| | |
* | | os/shell: remove dead calls to screen functionsBjörn Linse2018-04-09
|/ /
* | test/API: validate channel arg (#8245)Justin M. Keyes2018-04-08
| |
* | build/clang 6.0.0: fix type conversion warnings (#8235)Marco Hinz2018-04-07
| |
* | win/install: xxd.exe (#8241)Justin M. Keyes2018-04-07
| |
* | TUI: EMSG2 must not be used from TUI threadBjörn Linse2018-04-06
| |
* | Make vim_fgets() return the same values as in VimMarco Hinz2018-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of vim_fgets() differs between Neovim and Vim. Vim says that it only returns `true` for EOF. But it always returns `true` when fgets() returns NULL. This happens for EOF _or_ errors. That probably misguided the author of Neovim's vim_fgets(), which does NOT return `true` for errors. Since all the callers of vim_fgets() probably expect it to work as it does in Vim (and not as it says), it now returns the same values as the Vim implementation. Fixes #8227
* | Merge #8226 from justinmk/insert-mode-metaJustin M. Keyes2018-04-04
|\ \
| * | insert-mode: interpret unmapped META as ESCJustin M. Keyes2018-04-04
| | | | | | | | | | | | | | | | | | closes #2454 closes #8213 ref #7972
* | | Merge #7524 from justinmk/vim-8.0.1281Justin M. Keyes2018-04-04
|\ \ \
| * | | vim-patch:8.0.1284: loading file type detection slows down startupJustin M. Keyes2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Loading file type detection slows down startup. Solution: Store the last pattern of an autocommand event to make appending quicker. https://github.com/vim/vim/commit/462455ee8b81cb5709007d91248ac4a88308d6e9
* | | | ins_compl_add_tv: fix memory leaks via get_spec_reg (#8224)Daniel Hahler2018-04-03
|/ / / | | | | | | Fixes #8186
* | | screen: winhl=Normal:Background should not override syntax (#8093)Björn Linse2018-04-02
| | | | | | | | | fixes #7375
* | | build/CMake: use CMake-2.8.7-compatible list-check (#8220)Justin M. Keyes2018-04-02
| | | | | | | | | | | | | | | | | | Tested with: make CMAKE_EXTRA_FLAGS='-DLANGUAGES="en_GB;ja;sk"' closes #8219
* | | Merge #5908 'shada: Also save numbered marks'Justin M. Keyes2018-04-02
|\ \ \
| * | | shada: Fix conversion warningsZyX2018-04-01
| | | |
| * | | shada: Fix some memory leaks and completely ignore numbered mark namesZyX2018-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems: - In two places in shada_read_when_writing() memory just was not freed. Both places were verified to cause test failures. - Numbered marks got assigned incorrect (off-by-one compared to position in the array) numbers in replace_numbered_mark. - It was possible to have non-continuously populated array of numbered marks which messed up code for merging them. (Note about tests: marks with additional data are always compared different when merging, that caused some confusion regarding why test did not work the way I expected.)
| * | | shada: Add functions to format ShaDa entries for debugging purposesZyX2018-04-01
| | | | | | | | | | | | To be used in debugging printfs.
| * | | shada: When storing numeric marks reset the numbersZyX2018-04-01
| | | | | | | | | | | | Attempt to fix observed crash. Crash currently not reproduced.
| * | | Revert "shada: In place of ignoring cursor position with lnum 0 save with 1"ZyX2018-03-27
| | | | | | | | | | | | | | | | This reverts commit aa728798b4bd89b59cee86103885c15d386f73ba.
| * | | shada: In place of ignoring cursor position with lnum 0 save with 1ZyX2018-03-27
| | | |
| * | | shada: Also filter out invalid cursor position when writing '0' markZyX2018-03-27
| | | | | | | | | | | | | | | | | | | | Based on https://github.com/neovim/neovim/pull/5908#issuecomment-375909903, but with adjusted condition as line number or column less then zero should not appear at all based on what I know.
| * | | macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRYZyX2018-03-27
| | | |