[slim-vim] first try, some issues
Jim Bailey
dgym.bailey at gmail.com
Fri Jul 21 14:32:06 CDT 2006
On Fri, 21 Jul 2006 09:22:08 -0700
"Brad Beveridge" <brad.beveridge at gmail.com> wrote:
> Oh, I see. Did Jim even add support for callbacks in the Win32 mainloop?
>
> Brad
I didn't - I don't have a windows box....
Everything related to the callbacks is in network_io.c/h and that
has the framework in place, but not the actual code for handling
Win32. Because of how Win32 notifications work there isn't anything to
add to vim's main loop, it can and should all be taken care of in those
two files.
Looking at netbeans.c which has all the necessary code for Win32
sockets and input callbacks it looks like a fairly straight forward
port (and the interface in the .h was written with Win32's
requirements in mind so should stay the same apart from some
conditional typedefs). I would do it if I had a windows box, but as I
don't I will see if I can develop any of this under wine, which I
havn't used for years so this would be an uphill strugle.
Does anyone else have the resources and desire to do this? It really
shouldn't be a lot of work, maybe less than a few dozen lines
of code most of which will just be copied from netbeans.c, and I am
very willing to help out as much as possible.
Jim.
P.S. sorry for that huge bug w.r.t. the callback handling and GC, that
was very careless of me and I know it caused a fair amount of
frustration.
More information about the slim-vim
mailing list