neovim/runtime
Björn Linse 2a3bcd1ff8 rpc: Don't delay notifications when request is pending (#6544)
With the old behavior, if a GUI makes a blocking request that requires user
interaction (like nvim_input()), it would not get any screen updates.

The client, not nvim, should decide how to handle notifications during a
pending request. If an rplugin wants to avoid async calls while a sync call is
busy, it likely wants to avoid processing async calls while another async call
also is handled as well.

This may break the expectation of some existing rplugins. For compatibility,
remote/define.vim reimplements the old behavior. Clients can opt-out by
specifying `sync=urgent`.

- Legacy hosts should be updated to use `sync=urgent`. They could add a flag
  indicating which async methods are always safe to call and which must wait
  until the main loop returns.
- New hosts can expose the full asyncness, they don't need to offer both
  behaviors.

ref #6532
ref #1398 d83868fe90
2017-10-29 03:06:53 +01:00
..
autoload rpc: Don't delay notifications when request is pending (#6544) 2017-10-29 03:06:53 +01:00
colors vim-patch:b4ada79aa7d0 2017-04-29 01:51:56 +02:00
compiler vim-patch:cf49790443ee 2017-04-30 22:16:30 +02:00
doc doc/ui.txt 2017-10-29 02:12:45 +02:00
ftplugin help, man.vim: change "outline" map to gO (#7405) 2017-10-21 02:33:58 +02:00
indent vim-patch:690afe1fef87 2017-05-01 13:23:12 +02:00
keymap vim-patch:bc2eada5424b 2017-05-01 12:30:54 +02:00
macros vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
pack/dist/opt vim-patch:3e496b0ea319 2017-04-28 23:39:24 +02:00
plugin vim-patch:c0514bf4777a 2017-04-30 22:10:21 +02:00
print Remove dec-mcs remnants 2014-12-19 15:28:49 -05:00
syntax vim-patch:8.0.0118 2017-10-17 14:51:04 -04:00
tutor runtime/tutor: fix typos (#7302) 2017-09-23 06:07:05 +02:00
bugreport.vim options: remove ghost of :set termcap (#7102) 2017-07-31 02:50:34 +02:00
CMakeLists.txt Revert cbda7d8 "build: Revert 464bc16." 2017-09-17 19:19:50 +02:00
delmenu.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
filetype.vim vim-patch:369b6f57c426 2017-05-01 13:19:34 +02:00
ftoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugof.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indent.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
macmap.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
makemenu.vim vim-patch:fc39ec 2016-04-16 23:06:24 -07:00
menu.vim vim-patch:3df0173fa6d0 2017-05-01 13:32:51 +02:00
mswin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
nvim.desktop dist: runtime/nvim.desktop 2017-01-31 02:02:09 +01:00
nvim.png dist: runtime/nvim.desktop 2017-01-31 02:02:09 +01:00
optwin.vim vim-patch:3df0173fa6d0 2017-05-01 13:32:51 +02:00
rgb.txt re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
scripts.vim vim-patch:2685212 2016-10-15 12:15:36 +09:00
synmenu.vim vim-patch:36f44c21da2e 2017-04-28 21:06:07 +02:00
vimrc_example.vim vim-patch:7.4.1714 2016-10-04 23:14:47 +09:00