aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | test/old: remove test.out filesJustin M. Keyes2019-04-27
| | | | | | | | | | | | | | | | | | | | | Do this for new-style tests too, because they run after the old-style tests which don't clean up their temp files. Reverts ebd251c
* | | vim-patch:8.1.1209: clever compiler warns for buffer being too smallJan Edmund Lazo2019-04-27
| | | | | | | | | | | | | | | | | | Problem: Clever compiler warns for buffer being too small. Solution: Make the buffer bigger (even though it's not really needed). https://github.com/vim/vim/commit/5431589d25e73892fcf7ad1eaca53f742c1c9303
* | | vim-patch:8.1.1207: some compilers give warning messagesJan Edmund Lazo2019-04-27
| | | | | | | | | | | | | | | | | | | | | Problem: Some compilers give warning messages. Solution: Initialize variables, change printf() argument. (Christian Brabandt, closes vim/vim#4305) https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58
* | | vim-patch:8.1.1180: Vim script debugger tests are old styleJan Edmund Lazo2019-04-26
| | | | | | | | | | | | | | | | | | Problem: Vim script debugger tests are old style. Solution: Turn into new style tests. (Yegappan Lakshmanan, closes vim/vim#4259) https://github.com/vim/vim/commit/113bf0672b114af5800fa642bcd09f674758e5d5
* | | oldtests: pass Test_ReadWrite_Autocmds()Jan Edmund Lazo2019-04-26
| | |
* | | vim-patch:8.1.1203: some autocmd tests are old styleJan Edmund Lazo2019-04-26
| | | | | | | | | | | | | | | | | | Problem: Some autocmd tests are old style. Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes vim/vim#4295) https://github.com/vim/vim/commit/69ea587289b03e23a9fb96adffd6e8173cbc5896
* | | vim-patch:8.1.1194: typos and small problems in source filesJan Edmund Lazo2019-04-26
| | | | | | | | | | | | | | | | | | Problem: Typos and small problems in source files. Solution: Small fixes. https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977
* | | vim-patch:8.1.0837: timer interrupting cursorhold and mapping not testedJan Edmund Lazo2019-04-26
| | | | | | | | | | | | | | | | | | Problem: Timer interrupting cursorhold and mapping not tested. Solution: Add tests with timers. (Ozaki Kiichi, closes vim/vim#3871) https://github.com/vim/vim/commit/26d982185e21398738a9c688429c0a1840d7c9c3
* | | vim-patch:8.0.1510: cannot assert beep #9938Jan Edmund Lazo2019-04-25
| | | | | | | | | | | | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps(). https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
* | | Merge #9906 from janlazo/vim-8.0.0647Justin M. Keyes2019-04-24
|\ \ \ | | | | | | | | vim-patch:8.0.{647,768,797,1085,1092,1107,1133,1408}
| * | | vim-patch:8.0.1408: crash in setqflist()Jan Edmund Lazo2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash in setqflist(). Solution: Check for string to be NULL. (Dominique Pelle, closes vim/vim#2464) https://github.com/vim/vim/commit/a0ca7d002d4efcf4bce0af6943146a339677ed3d
| * | | vim-patch:8.0.0768: terminal window status shows "[Scratch]"Jan Edmund Lazo2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Terminal window status shows "[Scratch]". Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto) Store the terminal title that vterm sends and use it. Update the special buffer name. (closes vim/vim#1869) https://github.com/vim/vim/commit/2155441460a6dc0a72125f7860507693112a1460
| * | | vim-patch:8.0.0797: finished job in terminal window is not handledJan Edmund Lazo2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Finished job in terminal window is not handled. Solution: Add the scrollback buffer. Use it to fill the buffer when the job has ended. https://github.com/vim/vim/commit/d85f271bf8516dbd90be4d18f905f0abbfcd6db6
| * | | vim-patch:8.0.1133: syntax timeout not used correctlyJan Edmund Lazo2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax timeout not used correctly. Solution: Do not pass the timeout to syntax_start() but set it explicitly. (Yasuhiro Matsumoto, closes vim/vim#2139) https://github.com/vim/vim/commit/f3d769a585040ac47f7054057758809024ef6377
| * | | lintJan Edmund Lazo2019-04-23
| | | |
| * | | vim-patch:8.0.0647: syntax highlighting can make cause a freezeJan Edmund Lazo2019-04-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window. https://github.com/vim/vim/commit/06f1ed2f78c5c03af95054fc3a8665df39dec362
* | | | Spurious quote mark in command line when typing <C-R> (#9934)Gabriel Cruz2019-04-24
|/ / / | | | | | | Remove <C-R> special char after reading following chars
* | | doc: UIJustin M. Keyes2019-04-22
| | |
* | | Merge pull request #9926 from glacambre/fix_9889Björn Linse2019-04-20
|\ \ \ | | | | | | | | Fix #9889: stopinsert prohibiting terminal mode
| * | | Reset stop_insert_mode in terminal_enter rather than terminal_checkglacambre2019-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using `:stopinsert` while in normal mode in a terminal buffer prevents neovim from entering insert mode. Solution: Move `stop_insert_mode = false` from terminal_check to terminal_enter to be consistent with edit.c, as suggested by bfredl in #9889. Closes https://github.com/neovim/neovim/issues/9889.
* | | | vim-patch:8.1.1177: .ts files are recognized as xml, typescript is more ↵Marco Hinz2019-04-19
|/ / / | | | | | | | | | | | | | | | | | | | | | common (#9922) Problem: .ts files are recognized as xml, while typescript is more common. Solution: Recognize .ts files as typescript. https://github.com/vim/vim/commit/1a4dce7cad4af4de347853aad6d671da2df662ad
* / / options: avoid using empty 'shadafile'Marco Hinz2019-04-16
|/ / | | | | | | | | References https://github.com/neovim/neovim/pull/9907 Fixes https://github.com/neovim/neovim/issues/9912
* | vim-patch:8.0.0716: "--clean", 'shadafile' #9907Justin M. Keyes2019-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Nvim notes: - Nvim does not support "-u DEFAULTS", that change is omitted. - Also add 'shadafile' as an alias to 'viminfofile'. - Deprecate 'viminfofile'. Problem: Not easy to start Vim cleanly without changing the viminfo file. Not possible to know whether the -i command line flag was used. Solution: Add the --clean command line argument. Add the 'viminfofile' option. Add "-u DEFAULTS". https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42
* | vim-patch:8.0.1112: can't get size or current index from quickfix listJan Edmund Lazo2019-04-14
| | | | | | | | | | | | Problem: Can't get size or current index from quickfix list. Solution: Add "idx" and "size" options. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/fc2b270cfd36230166df486aae4d96d9d1f32755
* | vim-patch:8.0.1093: various small quickfix issuesJan Edmund Lazo2019-04-14
| | | | | | | | | | | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
* | vim-patch:8.0.0776: function prototypes missing without the quickfix featureJan Edmund Lazo2019-04-14
| | | | | | | | | | | | | | Problem: Function prototypes missing without the quickfix feature. (Tony Mechelynck) Solution: Move non-quickfix functions to buffer.c. https://github.com/vim/vim/commit/f0a521f4f76904edb74e182c12732189b347ff68
* | vim-patch:8.0.0761: options not set properly for a terminal bufferJan Edmund Lazo2019-04-14
| | | | | | | | | | | | | | | | | | Problem: Options of a buffer for a terminal window are not set properly. Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 'bufhidden' not depend on the quickfix feature. Also set the buffer name and show "running" or "finished" in the window title. https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
* | Merge pull request #9898 from bfredl/floatwidthBjörn Linse2019-04-14
|\ \ | | | | | | windows: float config changes
| * | windows: float config changesBjörn Linse2019-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow floating windows of width 1. #9846 - For a new floating window the size must be specified. Later on we might try to calculate a reasonable size by buffer contents - Remember the configured size of a window, just like its position. - Make get_config and set_config more consistent. Handle relative='' properly in set_config. get_config doesn't return keys that don't make sense for a non-floating window. - Don't use width=0 for non-changed width, just omit the key.
* | | inccommand: Disable K_EVENT during preview calculationJustin M. Keyes2019-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'inccommand' invokes ex_substitute() to build its "preview". During the brief (~millisecond) time it takes to execute that function, the buffer is "dirty" (its contents are invalid). Events must not be handled during this time, else they would see a temporary state which is not the true, logical state of the buffer. ref #9777
* | | inccommand: Ignore :redraw during previewJustin M. Keyes2019-04-14
| | | | | | | | | | | | closes #9777
* | | Merge pull request #9900 from mhinz/vim-8.0.1104Justin M. Keyes2019-04-14
|\ \ \ | | | | | | | | vim-patch:8.0.{1104,1130}
| * | | vim-patch:8.0.1130: the qf_jump() function is still too longMarco Hinz2019-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The qf_jump() function is still too long. Solution: Split of parts to separate functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9cb03716c963338f9a98d2ebc7aa3ac8b9c1eea6
| * | | vim-patch:8.0.1104: the qf_jump() function is too longMarco Hinz2019-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The qf_jump() function is too long. Solution: Split of parts to separate functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ef6b8de42f439271edcf5cf22b2450f2cf302c2e
* | | | chdir: remove unused argument #9901Marco Hinz2019-04-14
|/ / /
* | | Merge pull request #9896 from justinmk/api-async-errorJustin M. Keyes2019-04-13
|\ \ \ | | | | | | | | API: emit nvim_error_event on failed async request
| * | | API: emit nvim_error_event on failed async requestJustin M. Keyes2019-04-13
| |/ / | | | | | | | | | | | | We already do this for _invalid_ async requests #9300. Now we also do it for failed invocation of valid requests.
* | | Merge pull request #9895 from janlazo/vim-8.1.1156Justin M. Keyes2019-04-13
|\ \ \ | | | | | | | | vim-patch:8.1.{1156,1157}
| * | | generators: fix filename typo in help messageJan Edmund Lazo2019-04-13
| | | |
| * | | lintJan Edmund Lazo2019-04-12
| | | |
| * | | vim-patch:8.1.1156: Unicode emoji and other image characters not recognizedJan Edmund Lazo2019-04-12
| |/ / | | | | | | | | | | | | | | | | | | Problem: Unicode emoji and other image characters not recognized. Solution: Add ranges for musical notation, game pieces, etc. (Martin Tournoij, closes vim/vim#4238) https://github.com/vim/vim/commit/d489c9801b3aaf284d42643507bbfb9ce3bc0f2f
* / / 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
* | 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
| |
* | 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.
* | 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