Re: GSoC: Anjuta Vim Integration Weekly Reports



This was a great week, and I got a lot of stuff done.

Week 8
------

The first thing I did this week was to spend ~10 agonizing hours
checking and fixing my memory references. I will never take python's GC
for granted again :-P. The labour paid off, and I got the plugin to
properly dispose of itself after the last document was closed, etc.

Regarding the goal of making the plugin blocking, I don't think it's
possible with the current Anjuta framework. The benefits of blocking are
too few anyways, so it is currently, not a priority.

I implemented several simple intefaces. It was quite enjoyable, since I
got to play around with some vimscript. It seems like vim has a function
for just about anything :-).

Most of tonight I spent hacking up a EditorCell implementation which is
used to iterate through the file. Since all communication to vim is only
through DBus, and I don't have any other access to *its* buffer, I was
initially afraid that I'd have to store another copy of the file (or
it'd be too slow). However, jhs told me to try it out. On it's own, it's
horribly slow (and unusably so), but after buffering a line at a time,
it's ok (still slightly sluggish, but I can tweak the number of lines
buffered later).

Unfortunately, somewhere along the way, I've messed up support for the
other editor plugins, and I'll have to figure out a way to fix it so
that everyone plays along nicely.

This week may be a bit crazy as I'll be going back to college and I have
to get all my luggage and stuff together. We also have our official
Google meetup next Monday, and I'm pumped up about it.

This weeks targets:
* Debug the EditorCell implementation. Possibly tweak it to optimality.
* Implement a bunch of interfaces (which were dependent on the
EditorCell)
* Disable the accelerators when using Vim. This is because some
shortcuts have scary consequences (C-W for example is used to move
between views, but closes the windows instead!)

Cheers!
-- 
Arun Tejasvi Chaganty (vimzard)
GNOME GSoC Student
Blog: http://arunchaganty.wordpress.com

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]