Nat Friedman

22 October 2004

The EPlugin hackfest is over!

Despite my day being packed with meetings and other interrupt-driven activity, it was pretty exciting for me; I learned the EPlugin architecture, an Eclipse-like system Michael built to allow you to extend Evolution using plugins. EPlugin is wonderfully easy to use overall; almost all of my stumbling blocks were the consequence of not having enough sample code to play with, and after today that shouldn’t be as much of an issue for new developers.


Note with interest the tiny droplets of posole dropping from Miguel’s spoon.

The EPlugin I wrote provides “Automatic Contacts” functionality; the BBDB-alike idea I mentioned yesterday. It does the following:

You can see the code for my plugin here. After I had Evolution building, the core of the functionality took me about an hour and a half to get working. This initial version was about 95 lines of code (I count newlines). Then, there was about 4 hours to write the UI code and do a little clean up, and now it’s about 300 lines, but still pretty dead simple.

My addressbook is growing now with the names and addresses of all the people I work with. I’m already feeling the benefit as I go to type someone’s email address and Evolution autocompletes it.

I also got my first look at the Evo mail code in about a year, which I have to say is pretty impressive. Extremely clean, extremely readable, very easy to understand. Not at all like it was in the 1.x days.

Now that I know how easy it is to use EPlugin, I’m going to take a look at the other plugin ideas I described yesterday. Michael has really done a beautiful job making Evolution easy for anyone to extend.

Here are a few new ideas:

JP is going to post a summary of the hackfest, and everyone else’s work, in a bit I think.

. . .

Hunter S. Thompson has written up his thoughts on the presidential election for Rolling Stone.

22 October 2004
Show comments


Copyright © 1998 - 2011 Nat Friedman