aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* defaults: exclude "S" from 'shortmess' #10136Justin M. Keyes2019-06-07
| | | ref #6289
* Merge #10114 from erw7/vim-8.1.1270Justin M. Keyes2019-06-07
|\ | | | | vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
| * vim-patch:8.1.1475: search string not displayed when 'rightleft' is seterw72019-06-07
| | | | | | | | | | | | Problem: Search string not displayed when 'rightleft' is set. Solution: Clear the right part of the old text. (closes vim/vim#4488, closes vim/vim#4489) https://github.com/vim/vim/commit/db294adc65d73ffa5cdf3d0ab45ccbf05b965414
| * vim-patch:8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt oftenerw72019-06-07
| | | | | | | | | | | | | | Problem: Without "TS" in 'shortmess' get a hit-enter prompt often. Solution: Always truncate the search message. Also avoid putting it in the message history. (closes vim/vim#4413) https://github.com/vim/vim/commit/984f031fb02fe301a8dbf8a35b871c9f60b8f61e
| * vim-patch:8.1.1390: search stats are off when using count or offseterw72019-06-05
| | | | | | | | | | | | Problem: Search stats are off when using count or offset. Solution: Recompute the stats when needed. (Masato Nishihata, closes vim/vim#4410) https://github.com/vim/vim/commit/8f46e4c4bde13fd5ad68a6670b79cc462b65fbec
| * vim-patch:8.1.1350: "W" for wrapping not shown when more than 99 matcheserw72019-06-05
| | | | | | | | | | | | Problem: "W" for wrapping not shown when more than 99 matches. Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388) https://github.com/vim/vim/commit/dc6855af974f2ef553aceee619fadcb858e25d39
| * vim-patch:8.1.1289: may not have enough space to add "W" to search statserw72019-06-05
| | | | | | | | | | | | Problem: May not have enough space to add "W" to search stats. Solution: Reserve a bit more space. (Christian Brabandt) https://github.com/vim/vim/commit/b6cb26ffe1795ae62d8235960dccf517c2b2ed45
| * vim-patch:8.1.1288: search stats don't show for mapped commanderw72019-06-05
| | | | | | | | | | | | | | Problem: Search stats don't show for mapped command. Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/9ce3fa828d238ff28d57b0092bb37575e20010ec
| * vim-patch:8.1.1283: delaying half a second after the top-bot messageerw72019-06-05
| | | | | | | | | | | | Problem: Delaying half a second after the top-bot message. Solution: Instead of the delay add "W" to the search count. https://github.com/vim/vim/commit/c7a10b35de70471519d104a74d402c63557f0512
| * vim-patch:8.1.1271: compiler warnings for use of STRNCPY()erw72019-06-05
| | | | | | | | | | | | Problem: Compiler warnings for use of STRNCPY(). (John Marriott) Solution: Use mch_memmove() instead of STRNCPY(). https://github.com/vim/vim/commit/b3de6c4a769986e6eb4e228519a6483d2999ad8f
| * vim-patch:8.1.1270: cannot see current match positionerw72019-06-05
| | | | | | | | | | | | | | Problem: Cannot see current match position. Solution: Show "3/44" when using the "n" command and "S" is not in 'shortmess'. (Christian Brabandt, closes vim/vim#4317) https://github.com/vim/vim/commit/9dfa3139198b38b28673e251a3756430065914e9
| * vim-patch:8.1.0629: "gn" selects the wrong text with a multi-line matcherw72019-06-04
| | | | | | | | | | | | Problem: "gn" selects the wrong text with a multi-line match. Solution: Get the end position from searchit() directly. (closes vim/vim#3695) https://github.com/vim/vim/commit/5d24a2257e597fd752e33b2c1e9c19cf9114a517
* | vim-patch:8.0.1702: leaking memory when autocommands make quickfix list invalidJan Edmund Lazo2019-06-06
| | | | | | | | | | | | Problem: Leaking memory when autocommands make a quickfix list invalid. Solution: Call FreeWild(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ee5b94a8ecbaeafa11c7c7c8cf7bef765fbea912
* | vim-patch:8.1.0060: crash when autocommands delete the current bufferJan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Crash when autocommands delete the current buffer. (Dominique Pelle) Solution: Check that autocommands don't change the buffer. https://github.com/vim/vim/commit/600323b4ef51a58a8e800d8ca469383a3c911db7
* | vim-patch:8.0.1784: gvim test gets stuck in dialogJan Edmund Lazo2019-06-06
| | | | | | | | | | | | Problem: Gvim test gets stuck in dialog. Solution: Rename the file used. https://github.com/vim/vim/commit/bc7845da935c0707e119812077cecd6cfb5a65e2
* | vim-patch:8.0.1669: :vimgrep may add entries to the wrong quickfix listJan Edmund Lazo2019-06-06
| | | | | | | | | | | | Problem: :vimgrep may add entries to the wrong quickfix list. Solution: Use the list identifier. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e1bb879f49665bb828197135b80aaf72cc190073
* | vim-patch:8.0.1414: accessing freed memory in :lfile.Jan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Accessing freed memory in :lfile. Solution: Get the current window after executing autocommands. (Yegappan Lakshmanan, closes vim/vim#2473) https://github.com/vim/vim/commit/14a4deb064610c30a50f00d524dde9b3292aad59
* | vim-patch:8.0.1412: using free memory using setloclist()Jan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Using free memory using setloclist(). (Dominique Pelle) Solution: Mark location list context as still in use when needed. (Yegappan Lakshmanan, closes vim/vim#2462) https://github.com/vim/vim/commit/12237448499aaeb8c4f2be7a1deda60c0f160627
* | vim-patch:8.0.1384: not enough quickfix help; confusing winidJan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | | | | | Problem: Not enough quickfix help; confusing winid. Solution: Add more examples in the help. When the quickfix window is not present, return zero for getqflist() with 'winid'. Add more tests for jumping to quickfix list entries. (Yegappan Lakshmanan, closes vim/vim#2427) https://github.com/vim/vim/commit/74240d3febd1e3bc7cf086c647c9348b20716c33
* | lua: docs and tests for vim.scheduleBjörn Linse2019-06-05
| |
* | lua: add vim.schedule(cb)Andrey Popp2019-06-05
| | | | | | | | | | This executes Lua callback on main loop's event queue so that nvim API is safe to call.
* | Merge pull request #10117 from bfredl/ctrl-o_eventBjörn Linse2019-06-04
|\ \ | | | | | | normal: Don't exit CTRL-O mode after processing K_EVENT
| * | normal: Don't exit CTRL-O mode after processing K_EVENTBjörn Linse2019-06-04
| | |
* | | Merge pull request #9170 from bfredl/lua_cbBjörn Linse2019-06-04
|\ \ \ | |/ / |/| | lua callbacks for nvim_buf_attach
| * | api: allow nvim_buf_attach from lua using callbacksBjörn Linse2019-06-04
| | |
* | | version.c: update [ci skip] #10072Marvim the Paranoid Android2019-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0803 vim-patch:8.0.0816: crash when using invalid buffer number vim-patch:8.0.0817: cannot get the terminal line at the cursor vim-patch:8.0.0818: cannot get the cursor position of a terminal vim-patch:8.0.0821: cannot get the title and status of a terminal window vim-patch:8.0.0863: a remote command does not work in the terminal window vim-patch:8.0.0864: cannot specify the name of a terminal vim-patch:8.0.0867: job and channel in a dict value not quoted vim-patch:8.0.0869: job output is sometimes not displayed in a terminal vim-patch:8.0.0870: mouse escape codes sent to terminal unintentionally vim-patch:8.0.0874: can't build with terminal feature vim-patch:8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent vim-patch:8.0.0882: term_scrape() and term_getline() require two arguments vim-patch:8.0.0884: can't specify the wait time for term_wait() vim-patch:8.0.0885: terminal window scrollback is stored inefficiently vim-patch:8.0.0887: can create a logfile in the sandbox vim-patch:8.0.0892: when opening a terminal the pty size doesn't always match vim-patch:8.0.0893: cannot get the scroll count of a terminal window vim-patch:8.0.0896: cannot close a terminal window when the job ends vim-patch:8.0.0898: can't use the alternate screen in a terminal window vim-patch:8.0.0899: function name mch_stop_job() is confusing vim-patch 8.0.0909: channel test fails vim-patch:8.0.0913: MS-Windows: CTRL-C kills shell in terminal window vim-patch:8.1.0216: part of file not indented properly vim-patch:8.1.0784: messy indent in if statement vim-patch:8.1.1409: Coverity warns for using uninitialized memory vim-patch:8.1.1415: build error in MS-Windows GUI vim-patch:8.1.1454: build failure without the conceal feature vim-patch:8.1.1457: cannot reuse a buffer when loading a screen dump
* | | Merge #10113 from janlazo/vim-8.0.1518Justin M. Keyes2019-06-04
|\ \ \ | | | | | | | | vim-patch:8.0.1518,8.1.{2,804}
| * | | vim-patch:8.1.0002: :stopinsert changes the message positionJan Edmund Lazo2019-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :stopinsert changes the message position. Solution: Save and restore msg_col and msg_row in clearmode(). (Jason Franklin) https://github.com/vim/vim/commit/2abad54cede7c33f090fbde19a9a3eb3dbf78e53
| * | | vim-patch:8.1.0804: crash when setting v:errmsg to empty listJan Edmund Lazo2019-06-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin) Solution: Separate getting value and assigning result. https://github.com/vim/vim/commit/4b9e91f0ba02192e4592a5c4a9bdcdd6e9efeb5e
| * | | vim-patch:8.0.1518: error messages suppressed after ":silent! try"Jan Edmund Lazo2019-06-03
| | |/ | |/| | | | | | | | | | | | | Problem: Error messages suppressed after ":silent! try". (Ben Reilly) Solution: Restore emsg_silent before executing :try. (closes vim/vim#2531) https://github.com/vim/vim/commit/2be57331524e93da52a0663f4a334d21c05123bb
* | | Merge #9829 'startup: remove TUI init special-case'Justin M. Keyes2019-06-04
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #7967 fixes #9959 Historically Vim/Nvim does backflips to handle input and show messages before a UI is available. This logical contradiction was already fixed for remote UIs (#9024 c236e80cf3df). Fixing it also for the TUI avoids problems on Windows, simplifies the logic, and avoids races like #9959. - Move ui_builtin_start() to the same position as embedded_mode remote_ui_wait_for_attach(). - If stdin is redirected, save the original `stdin` and replace fd 0 with tty before calling `ui_builtin_start()`.
| * | main.c: Change to use redraw_later(VALID)erw72019-06-04
| | |
| * | Fix issue where test failserw72019-06-04
| | |
| * | [skip appveyor] Fix clint issueerw72019-06-04
| | |
| * | main.c: Change TUI to initialize like GUIerw72019-06-04
| | |
| * | tui/input.c: Fix problem when stdin is not TTYerw72019-06-04
| | |
| * | main.c: fixes #7967erw72019-06-04
|/ /
* | Merge #9338 'vim-patch:8.1.{569,571}'Justin M. Keyes2019-06-03
|\ \
| * | oldtests: set laststatus=1Jan Edmund Lazo2019-06-03
| | |
| * | vim-patch:8.1.0571: non-silent execute() resets display column to zeroJan Edmund Lazo2019-06-03
| | | | | | | | | | | | | | | | | | Problem: Non-silent execute() resets display column to zero. Solution: Keep the display column as-is. https://github.com/vim/vim/commit/446e7a3cd36b2de7d559f167eb5795d1e1cd3ddb
| * | vim-patch:8.1.0569: execute() always resets display column to zeroJan Edmund Lazo2019-06-03
| | | | | | | | | | | | | | | | | | Problem: Execute() always resets display column to zero. (Sha Liu) Solution: Don't reset it to zero, restore the previous value. (closes vim/vim#3669) https://github.com/vim/vim/commit/10ccaa17ec8b2be1132fd19059e1cd5fb5c902c4
* | | msg_puts_attr_len: check default_grid.chars if headlessBjörn Linse2019-06-03
| | | | | | | | | | | | Nvim might call `msg_puts_attr_len` before the screen buffers are allocated.
* | | Fix screenchar() problem in headless modeerw72019-06-03
| |/ |/| | | | | | | | | In the case of the headless mode, screenchar() does not operate normally because it is not output to the internal screen. Change output to stderr and internal screen to fix it.
* | api/buffer: create new buffers in the "opened" stateBjörn Linse2019-06-03
| | | | | | | | | | | | | | Otherwise vim will think that ml_append() needs to "enter" the buffer, which emits unexpected autocommands. ref https://github.com/vim-airline/vim-airline/issues/1930
* | Fix multiple c_CTRL-D showing statuslineJit Yao Yap2019-06-03
|/
* build: fix some warningsJustin M. Keyes2019-06-03
| | | | | | | | | | | | | | | | | | ../src/nvim/event/rstream.c:119:44: warning: format specifies type 'void *' but the argument has type 'Stream *' (aka 'struct stream *') [-Wformat-pedantic] DLOG("Closing Stream (%p): %s (%s)", stream, ~~ ^~~~~~ ../src/nvim/event/stream.c:95:30: warning: format specifies type 'void *' but the argument has type 'Stream *' (aka 'struct stream *') [-Wformat-pedantic] DLOG("closing Stream: %p", stream); ~~ ^~~~~~ ../src/nvim/msgpack_rpc/channel.c:71:72: warning: format specifies type 'void *' but the argument has type 'Stream *' (aka 'struct stream *') [-Wformat-pedantic] DLOG("rpc ch %" PRIu64 " in-stream=%p out-stream=%p", channel->id, in, out); ~~ ^~ ../src/nvim/msgpack_rpc/channel.c:71:76: warning: format specifies type 'void *' but the argument has type 'Stream *' (aka 'struct stream *') [-Wformat-pedantic] DLOG("rpc ch %" PRIu64 " in-stream=%p out-stream=%p", channel->id, in, out); ~~ ^~~ ../src/nvim/msgpack_rpc/channel.c:226:28: warning: format specifies type 'void *' but the argument has type 'Stream *' (aka 'struct stream *') [-Wformat-pedantic] channel->id, count, stream); ^~~~~~
* Make sure msg_clear is sent after confirm message (#10065)Ville Hakulinen2019-06-02
|
* Merge #10086 'vim-patch:8.1.{902,1114}'Justin M. Keyes2019-06-02
|\
| * vim-patch:8.1.1114: confusing overloaded operator "." for string concatenationerw72019-05-29
| | | | | | | | | | | | Problem: Confusing overloaded operator "." for string concatenation. Solution: Add ".." for string concatenation. Also "let a ..= b". https://github.com/vim/vim/commit/0f248b006c2574abc00c9aa7886d8f33620eb822
| * vim-patch:8.1.0902: incomplete set of assignment operatorserw72019-05-29
| | | | | | | | | | | | Problem: Incomplete set of assignment operators. Solution: Add /=, *= and %=. (Ozaki Kiichi, closes vim/vim#3931) https://github.com/vim/vim/commit/ff697e6cef8ced7717a21fd525ab3200b2f1724f