Today I got some free time and decided to give this patch another try.

I have made a few modifications to the original:

- Rebased against the current master
- Removed the 'defer' function, and added an equivalent to the 'vim'
module in python's bindings. This was needed because I had no way of
knowing if vim global state was being modified by the call to 'defer'
- Use 'shell_resized' function to update the screen from background.
Not sure if this is the right way to do it but it seems to gets the
job done
- Fix the startup hang in GUI
- Include an adaptation of the 'snake' game as a demonstration of how
a multi-threaded plugin can be implemented. After compilation just
execute './src/vim -u snake.vim' to play

This still leaves test 94 failing and some random crashes in the
GUI(probably due to threading issues when reading input from Xlib).

Whenever I get free time I will work on this patch and will do my best
to keep it in sync with upstream changes.

To test just apply it or clone my github branch, be sure to call (cd
src && make autoconf) to regenerate the configure script and
enable-pythoninterp.

Hopefully, one day this will get merged.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Attachment: updated-message-queue.patch
Description: Binary data

Raspunde prin e-mail lui