aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | options: properly reset directories on 'autochdir' (#9894)Marco Hinz2019-04-13
|/ / | | | | Fixes https://github.com/neovim/neovim/issues/9892
* | options: comma-separated options don't allow duplicates (#9891)Marco Hinz2019-04-12
| | | | | | Closes https://github.com/neovim/neovim/issues/9890
* | vim-patch:8.0.0714: cmdline redraw during timer #9835Gabriel Cruz2019-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0714: when a timer causes a command line redraw " goes missing Problem: When a timer causes a command line redraw the " that is displayed for CTRL-R goes missing. Solution: Remember an extra character to display. https://github.com/vim/vim/commit/a92522fbf3a49d06e08caf010f7d7b0f58d2e131 vim-patch:8.0.0720: unfinished mapping not displayed when running timer Problem: Unfinished mapping not displayed when running timer. Solution: Also use the extra_char while waiting for a mapping and digraph. (closes vim/vim#1844) https://github.com/vim/vim/commit/6a77d2667e982655f6adacee774ee7aa2581bd8a close #9835
* | Merge pull request #9887 from justinmk/chan-notif-response-idJustin M. Keyes2019-04-12
|\ \ | | | | | | RPC: eliminate NO_RESPONSE
| * | RPC: conform message-id type to msgpack-RPC specDaniel Bershatsky2019-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to [MessagePack RPC specification](https://github.com/msgpack-rpc/msgpack-rpc), message ID must be 32-bit unsigned integer. But Neovim implementation uses uint64_t instead of uint32_t. This can have wrong results in the case of large ids or a malformed request, for example: Actual response: [1,18446744073709551615,[1,"Message is not an array"],null] Expected response: [1,4294967295,[1,"Message is not an array"],null] The issue does not affect RPC clients written in dynamically-typed languages like Python. Wrong type of sequence id number breaks RPC clients written statically typed languages like C/C++/Golang: all of them expect uint32_t as message id. Examples: https://github.com/msgpack-rpc/msgpack-rpc-cpp/blob/11268ba2be5954ddbb2b7676c7da576985e45cfc/src/msgpack/rpc/protocol.h#L27 https://github.com/ugorji/go/blob/master/codec/msgpack.go#L993 closes #8850
| * | RPC: eliminate NO_RESPONSEJustin M. Keyes2019-04-12
|/ / | | | | | | | | | | | | | | | | | | Using a sentinel value in the response-id is ambiguous because the msgpack-rpc spec allows all values (including zero/max). And clients control the id, so we can't be sure they won't use the sentinel value. Instead of a sentinel value, check the message type explicitly. ref #8850
* | PVS/V595: pointer utilized before checking NULLJustin M. Keyes2019-04-12
| |
* | vim-patch.sh: perf, readability #9044Daniel Hahler2019-04-12
| | | | | | | | closes #9044
* | float: always change to valid windows (#9878)Marco Hinz2019-04-11
| | | | | | | | | | | | | | | | Using `:wincmd j` and friends doesn't make much sense to a floating window. For convenience though, any direction will simply change to the previous window. Make sure the previous window is valid, not the current window, and not another floating window. Change to the first window (which is never a floating window) otherwise.
* | Merge pull request #9880 from janlazo/vim-8.0.0725Justin M. Keyes2019-04-11
|\ \ | | | | | | closes #9879
| * | ops: use ARRAY_SIZE macro for opchars array lengthJan Edmund Lazo2019-04-10
| | |
| * | vim-patch:8.0.1411: reading invalid memory with CTRL-W :Jan Edmund Lazo2019-04-10
| | | | | | | | | | | | | | | | | | Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes vim/vim#2469) https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
| * | vim-patch:8.0.0725: a terminal window does not handle keyboard inputJan Edmund Lazo2019-04-10
|/ / | | | | | | | | | | Problem: A terminal window does not handle keyboard input. Solution: Add terminal_loop(). ":term bash -i" sort of works now. https://github.com/vim/vim/commit/938783d0ab5678c259ceb62b15be72abe69362fa
* | vim-patch:8.1.1140: not easy to find out what neighbors a window has (#9873)Marco Hinz2019-04-10
| | | | | | | | | | | | Problem: Not easy to find out what neighbors a window has. Solution: Add more arguments to winnr(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/46ad288b9b2a6eb0430cf802ff5ce68a58629897
* | startup: -es/-Es (silent/batch mode): skip swapfile #8540Justin M. Keyes2019-04-10
| | | | | | | | To use Nvim as a scripting engine the side-effects of swapfiles and user config should be avoided by default.
* | version.c: update [ci skip]marvim2019-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #9489 vim-patch:8.0.0210: no support for bracketed paste vim-patch:8.0.0228: pasting in xterm on the command line has PasteStart vim-patch:8.0.0230: bracketed paste does not support line breaks vim-patch:8.0.0506: can't build with ANSI C vim-patch:8.0.0506: can't build with ANSI C vim-patch:8.0.0569: ? vim-patch:8.0.0592: vim-patch:8.0.0693: no terminal emulator support vim-patch:8.0.0694: building in shadow directory does not work vim-patch:8.0.0698: crash on exit when using Python function in timer. vim-patch:8.0.0712: the terminal implementation is incomplete vim-patch:8.0.0713: 'termkey' option not fully implemented vim-patch:8.0.0713: 'termkey' option not fully implemented (follow-up to vim-patch:8.0.0712) vim-patch:8.0.0717: terminal feature precence unclear vim-patch:8.0.0718: output of job in terminal is not displayed vim-patch:8.0.0730: terminal feature only supports Unix-like systems vim-patch:8.0.0738: cannot use the mouse to resize a terminal window vim-patch:8.0.0739: terminal resizing doesn't work well. vim-patch:8.0.0740: cannot resize a terminal window by the command vim-patch:8.0.0742: terminal feature does not work on MS-Windows vim-patch:8.0.0743: the 'termsize' option can be set to an invalid value vim-patch:8.0.0744: terminal window does not use a pty vim-patch:8.0.0745: multi-byte characters in a terminal don't display well vim-patch:8.0.0746: when :term fails the job is not properly cleaned up vim-patch:8.0.0747: :terminal without an argument doesn't work vim-patch:8.0.0748: running Vim in terminal window doesn't use the right colors vim-patch:8.0.0753: no size reports to a job running in a terminal vim-patch:8.0.0758: possible crash when using a terminal window vim-patch:8.0.0759: MS-Windows: terminal does not adjust size vim-patch:8.0.0771: cursor in terminal window not always updated in GUI vim-patch:8.0.0778: in a terminal the cursor may be hidden vim-patch:8.0.0799: missing semicolon vim-patch:8.0.0802: last line of terminal window has no color vim-patch:8.0.0804: running tests fails when stdin is /dev/null vim-patch:8.0.0812: terminal window colors shift when 'number' is set vim-patch:8.0.0840: MS-Windows: fopen() and open() prototypes are wrong vim-patch:8.0.0843: MS-Windows: compiler warning for signed/unsigned vim-patch:8.0.0844: wrong function prototype because of missing static vim-patch:8.0.0853: crash when running terminal with unknown command vim-patch:8.0.0871: status line for a terminal window always has "[+]". vim-patch:8.0.0872: no mouse scroll with a terminal window vim-patch:8.0.0886: crash when using ":term ls" vim-patch:8.0.0903: early return from test function vim-patch:8.0.0915: wrong initialisation of global vim-patch:8.0.0950: MS-Windows: wrong #ifdef, compiler warnings vim-patch:8.0.0951: another wrong #ifdef vim-patch:8.0.0969: Coverity warning for unused return value vim-patch:8.0.1003: 64 bit compiler warning vim-patch:8.0.1005: terminal without job updates slowly in GUI vim-patch:8.0.1018: warnings from 64-bit compiler vim-patch:8.0.1079: memory leak when remote_foreground() fails vim-patch:8.0.1128: old xterm sends CTRL-X in response to t_RS vim-patch:8.0.1132: #if condition is not portable vim-patch:8.0.1137: cannot build with Ruby vim-patch:8.0.1143: macros always expand to the same thing vim-patch:8.0.1145: warning when compiling with Perl vim-patch:8.0.1182: cannot see or change mzscheme dll name vim-patch:8.0.1199: when 'clipboard' is "autoselectplus" star register is set vim-patch:8.0.1299: bracketed paste does not work well in terminal window vim-patch:8.0.1545: screen dumps not included in distribution vim-patch:8.0.1548: screen dump test script not included in distribution vim-patch:8.0.1658: capitalize argument not available in long form vim-patch:8.0.1693: xxd is excluded from coverage statistics vim-patch:8.1.0363: internal diff isn't used by default as advertised vim-patch:8.1.0443: unnecessary static function prototypes vim-patch:8.1.0549: netbeans test depends on README.txt contents vim-patch:8.1.0713: images for NSIS take up too much space vim-patch:8.1.0714: unessesary #if lines in GTK code vim-patch:8.1.0727: compiler warning for sprintf() argument vim-patch:8.1.0733: too many #ifdefs for the multi-byte feature vim-patch:8.1.0764: list of distributed files is outdated vim-patch:8.1.0776: Travis does not build a version without GUI on Linux vim-patch:8.1.0841: travis config to get Lua on MacOS is too complicated vim-patch:8.1.0869: Travis CI script is too complicated vim-patch:8.1.0873: list if distributed files does not include matchit autoload vim-patch:8.1.0886: compiler warning for NULL pointer and condition always true vim-patch:8.1.0916: with Python 3.7 "find_module" is not made available vim-patch:8.1.0930: typo in Makefile vim-patch:8.1.0943: still a trace of Farsi support vim-patch:8.1.0944: format of nbdbg() arguments is not checked vim-patch:8.1.0946: Coveralls is not very useful vim-patch:8.1.0947: using MSWIN before it is defined vim-patch:8.1.0948: when built without +eval "Vim --clean" produces errors vim-patch:8.1.0949: MS-windows defines GUI macros different than other systems vim-patch:8.1.0952: compilation warnings when building the MS-Windows installer vim-patch:8.1.0955: matchit autoload directory not in installer vim-patch:8.1.0976: dosinstall still has buffer overflow problems vim-patch:8.1.0978: blob not tested with Perl vim-patch:8.1.0979: compiler warning for unused functions vim-patch:8.1.0983: checking CYGWIN32 unnecessarily vim-patch:8.1.0984: unnecessary #ifdefs vim-patch:8.1.0987: unnecessary condition in #ifdef vim-patch:8.1.0991: cannot build with a mix of features vim-patch:8.1.0996: a few screendump tests fail because of scrolling vim-patch:8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version vim-patch:8.1.1009: MS-Windows: some text is not baseline aligned vim-patch:8.1.1010: Lua interface leaks memory vim-patch:8.1.1014: MS-Windows: /analyze only defined for non-debug version vim-patch:8.1.1020: compiler warning for Python3 interface vim-patch:8.1.1021: pyeval() and py3eval() leak memory vim-patch:8.1.1029: DirectWrite doesn't take 'linespace' into account vim-patch:8.1.1034: too many #ifdefs vim-patch:8.1.1039: MS-Windows build fails vim-patch:8.1.1040: FEAT_TAG_ANYWHITE is not enabled in any build vim-patch:8.1.1048: minor issues with tests vim-patch:8.1.1050: blank srceen when DirectWrite failed vim-patch:8.1.1054: not checking return value of ga_grow() vim-patch:8.1.1057: nsis config is too complicated vim-patch:8.1.1059: MS-Windows: PlatformId() is called unnecessarily vim-patch:8.1.1060: MS-Windows: get_cmd_args() is no longer needed vim-patch:8.1.1064: no test for output conversion in the GTK GUI vim-patch:8.1.1065: no test for using and deleting menu in the GUI vim-patch:8.1.1066: VIMDLL isn't actually used vim-patch:8.1.1067: issues added on github are unstructured vim-patch:8.1.1069: source README file doesn't look nice on github vim-patch:8.1.1070: issue templates are not good enough vim-patch:8.1.1075: function reference count wrong in Python code vim-patch:8.1.1081: MS-Windows: cannot use some fonts vim-patch:8.1.1092: setting 'guifont' when maximized resizes the Vim window vim-patch:8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H vim-patch:8.1.1097: Motif build fails vim-patch:8.1.1104: MS-Windows: not all environment variables can be used vim-patch:8.1.1105: long escape sequences may be split up vim-patch:8.1.1109: deleted file still in list of distributed files vim-patch:8.1.1117: build failure without the +eval feature vim-patch:8.1.1119: no support for Windows on ARM64 vim-patch:8.1.1126: build failure with +terminal but without tgetent vim-patch:8.1.1135: build failure for small version vim-patch:8.1.1138: plugins don't get notified when the popup menu changes
* | vim-patch:8.0.0702: error in a timer can make Vim unusable #9826Justin M. Keyes2019-04-10
| | | | | | | | | | | | | | | | | | | | Problem: An error in a timer can make Vim unusable. Solution: Don't set the error flag or exception from a timer. Stop a timer if it causes an error 3 out of 3 times. Discard an exception caused inside a timer. https://github.com/vim/vim/commit/c577d813b7978345dec4310b2d8f5d5624a681f6 closes #9826
* | ci/build.ps1: Respect CMAKE_BUILD_TYPE if provided #9869Justin M. Keyes2019-04-09
| |
* | Merge pull request #9859 from jamessan/gcc-9-compound-literalJustin M. Keyes2019-04-08
|\ \ | | | | | | Make SHM_ALL to a variable instead of a compound literal #define
| * | lintJames McCoy2019-04-08
| | |
| * | Remove MSVC optimization workaround for SHM_ALLJames McCoy2019-04-08
| | |
| * | Make SHM_ALL to a variable instead of a compound literal #defineJames McCoy2019-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc-9 has [improved compliance] with the C spec for lifetime of compound literals, tying their lifetime to block scope instead of function scope. This makes the behavior comparable to all other automatic variables. Using the SHM_ALL #define instantiated a compound literal local to an if clause and assigned the address to a "char_u *". Since the pointer was then being used outside of the if clause, it was using an invalid address. [improved compliance]: https://gcc.gnu.org/gcc-9/porting_to.html#complit Closes #9855
* | | Merge pull request #9868 from mhinz/vim-8.1.1118Justin M. Keyes2019-04-08
|\ \ \ | | | | | | | | vim-patch:8.1.1118: a couple of conditions are hard to understand
| * | | vim-patch:8.1.1118: a couple of conditions are hard to understandMarco Hinz2019-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A couple of conditions are hard to understand. Solution: Split the conditions into pieces. (Ozaki Kiichi) https://github.com/vim/vim/commit/652de23dc7abf6aa2721ccee7fe279b5cce8069c
* | | | Merge pull request #9867 from mhinz/vim-8.1.1134Justin M. Keyes2019-04-08
|\ \ \ \ | |/ / / |/| | | vim-patch:{8.0.1763,8.1.1134}
| * | | vim-patch:8.1.1134: buffer for quickfix window is reused for another fileMarco Hinz2019-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer for quickfix window is reused for another file. Solution: Don't reuse the quickfx buffer. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/39803d82dbb215d2eea9fcd6cf2961b71515a438
| * | | vim-patch:8.0.1763: :argedit does not reuse an empty unnamed bufferMarco Hinz2019-04-08
|/ / / | | | | | | | | | | | | | | | | | | Problem: :argedit does not reuse an empty unnamed buffer. Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian Brabandt) https://github.com/vim/vim/commit/46a53dfc29689c6a0d80e3820e8b0a48dba6b6ec
* | | Merge pull request #9866 from bfredl/setbufcursorBjörn Linse2019-04-08
|\ \ \ | | | | | | | | api/window: validate cursor in nvim_win_set_buf
| * | | api/window: validate cursor in nvim_win_set_bufBjörn Linse2019-04-08
| | | | | | | | | | | | | | | | | | | | | | | | validate_cursor() is called regularly, but only for the current window. When changing the buffer for a non-current window, we need to invoke it in the context of that window.
* | | | :stopinsert should leave terminal-mode #9856glacambre2019-04-08
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Calling :stopinsert from RPC while in terminal-mode does not go back to normal-mode. Solution: Implement a check() handler for state_enter(), adapted from insert_check(). Fix #7807
* | | Merge #9796 from justinmk/docJustin M. Keyes2019-04-08
|\ \ \
| * | | doc: rewrite *feature-list*Justin M. Keyes2019-04-08
| | | |
| * | | doc [ci skip]Justin M. Keyes2019-04-08
|/ / / | | | | | | | | | - README.md: Removed waffle.io because that service is shutting down.
* | | event-loop: do not set CA_COMMAND_BUSY #9853Justin M. Keyes2019-04-08
| | | | | | | | | | | | | | | | | | | | | | | | CA_COMMAND_BUSY in nv_event() was carried over from Vim nv_cursorhold() (ref: e5165bae1139). It prevents :startinsert from working during a RPC call, so remove it. Helped-by: glacambre <me@r4> closes #7254
* | | Merge #9858 from justinmk/ci-winJustin M. Keyes2019-04-08
|\ \ \ | |/ / |/| |
| * | CI/AppVeyor: remove redundant cache directiveJustin M. Keyes2019-04-08
| | | | | | | | | | | | | | | | | | | | | Maybe AppVeyor gets confused by the redundant entry? Anyway, build.ps1 generally does not affect the validity of the deps cache.
| * | CI/AppVeyor: do not cache pacman packagesJustin M. Keyes2019-04-08
| | | | | | | | | | | | | | | | | | | | | pacman log says: Total Download Size: 17.06 MiB So this takes very little of the quota. But it also takes only a few seconds to install, so caching it saves little or no time.
| * | CI/AppVeyor: print info about restored cacheJustin M. Keyes2019-04-08
| | |
| * | CI/AppVeyor: build deps out-of-treeJustin M. Keyes2019-04-08
|/ / | | | | | | | | | | | | | | | | | | | | appveyor.yml: set cache to an absolute path. Desperate attempt to get AppVeyor cache to work. My assumption in a7a56293aad9 #9852 that that different jobs were overwriting each other's cache is probably wrong: AppVeyor docs/discussions hint that the cache is per-config (though I haven't found a clear, unambiguous statement as such).
* | CI/AppVeyor: do skip-logic earlier #9854Justin M. Keyes2019-04-07
| |
* | CI/AppVeyor: per-compiler deps cache #9852Justin M. Keyes2019-04-07
| | | | | | | | The deps cache does not work for MSVC builds because the MINGW builds ovewrite it. Cache saves 10+ minutes on the build.
* | Merge #9840 from janlazo/vim-8.0.0709Justin M. Keyes2019-04-07
|\ \ | | | | | | vim-patch:8.0.{709,728},8.1.{135,308}
| * | vim-patch:8.0.0728: the terminal structure is never freedJan Edmund Lazo2019-04-06
| | | | | | | | | | | | | | | | | | Problem: The terminal structure is never freed. Solution: Free the structure and unreference what it contains. https://github.com/vim/vim/commit/96ca27a0ee8ae738cab9fb386984c75c6821e31a
| * | oldtests: win: filename cannot have "Jan Edmund Lazo2019-04-05
| | |
| * | oldtests: set shellslash for ":cd" testJan Edmund Lazo2019-04-05
| | |
| * | vim-patch:8.1.0308: a quick undo shows "1 seconds ago"Jan Edmund Lazo2019-04-05
| | | | | | | | | | | | | | | | | | Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck) Solution: Add singular/plural message. https://github.com/vim/vim/commit/fd6100b2aa6178b88cfadcdbc494966bf79a5488
| * | vim-patch:8.1.0135: undo message delays screen update for CTRL-O uJan Edmund Lazo2019-04-04
| | | | | | | | | | | | | | | | | | Problem: Undo message delays screen update for CTRL-O u. Solution: Add smsg_attr_keep(). (closes vim/vim#3125) https://github.com/vim/vim/commit/e0429681aed5448d1c3b8399d152a2b1a05ea6d7
| * | vim-patch:8.0.0709: libvterm cannot use vsnprintf()Jan Edmund Lazo2019-04-04
| | | | | | | | | | | | | | | | | | Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead. https://github.com/vim/vim/commit/8327d1df1754b33d8a93b3411f30692f0042f4ce
* | | build: fix warningJustin M. Keyes2019-04-07
| | |
* | | vim-patch:8.1.1123: avoid filtering autocompleteroxma2019-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: roxma <roxma@qq.com> Problem: No way to avoid filtering for autocomplete function, causing flickering of the popup menu. Solution: Add the "equal" field to complete items. (closes vim/vim#3887) https://github.com/vim/vim/commit/73655cf0ca37a9aa8f56fc51bb853a8b1f7b43d4 closes #9566