Category Archives: Hacking

Profiling GMarkup – Take 2

Here we go again profiling GMarkup. Finally, I’ve been able to compile sysprof, and launch a profiling session of the BookmarkFile parser under it. This time, I’ve been using a 1.6MB file, with 3360 bookmark elements. Just to shed a … Continue reading

Posted in Hacking, planetGnome | Comments Off on Profiling GMarkup – Take 2

Thumbnails

Today I had a couple of hours to spare at the university, so I decided to implement a couple of items in my “to do” list. The first is the creation of a simple function for adding items to the … Continue reading

Posted in GNOME, Hacking, planetGnome | Comments Off on Thumbnails

Gtk2::SourceView

Finally, after a more then a year of testing inside CVS, Gtk2::SourceView made it to the public. This Perl module is a wrapper around gtksourceview, the C library used primarily by Gedit. I’ve began writing it in January 2004, after … Continue reading

Posted in Perl | Comments Off on Gtk2::SourceView

Requirements

Using advogato (and my log), since I’m not on the Planet (yet). I’ve just read Daniel’s post, and since shame is a powerful drive, here’s my non-requested answer. I’m one guy – quite possibly, the only one – that switched … Continue reading

Posted in Hacking | 1 Comment

EggBookmarkFile

hacking: That is, the GMarkup-based XBEL parser that should be used to parse “desktop bookmarks” (recent files, filechooser’s bookmarks, default locations, etc.) Today I’ve worked hard on the namespace parsing mechanism, and even though I feel like it’s a little … Continue reading

Posted in Hacking | Comments Off on EggBookmarkFile

Profiling GMarkup

Since I’ve been re-writing the XBEL parser in order to use GMarkup in place of libxml2, I’ve also felt the need to get some profile going. I’ve always felt that one of the biggest bottlenecks in the recent-files was its … Continue reading

Posted in Hacking | Comments Off on Profiling GMarkup

Surgeon

Today, Marta went to Trento to visit some relatives of hers, so I spent the entire day alone. I’ve studied for a while (I have a OS exam monday, mostly Linux-based on the case studies, even though the kernel shown … Continue reading

Posted in Hacking, planetGnome | Comments Off on Surgeon

RecentChooserWidget/1

The EggRecentChooserWidget code is in CVS since a bunch of minutes, complete with a context menu allowing the removal of items from the list, the ability to add a custom RecentManager instance instead of using its own (still requires some … Continue reading

Posted in GNOME, Hacking, planetGnome | Comments Off on RecentChooserWidget/1

RecentChooserWidget

I’ve pretty much finished my EggRecentChooserWidget widget, which (I noticed) is roughly modelled on the Document History window of the Gimp: Also, as you can see, I’ve enable the filtering code, so that you can now filter the contents of … Continue reading

Posted in GNOME, Hacking, planetGnome | Comments Off on RecentChooserWidget

Now boarding…

holidays: I’m leaving for a week in Amsterdam, with Marta. I’ve already been in Netherlands, years ago with my family, so I already know the city; it’ll be fun to track down what changed, and to see new things. work: … Continue reading

Posted in Hacking, planetGnome | Comments Off on Now boarding…