Okay, maybe not really part 2, but had to come with a name to reset the counter to 1 :-). As a reminder, the source code for the plugin can be viewed here. I had a pretty busy week at my university so I didn't managed to implement the tree model for the Snippets Database, but I am working at it as we speak.
    Anyway, for the things I done this week:

  • Implemented some stuff that were required to get more important things done (objects like Snippet or SnippetsGroup).
  • Changed a bit the design by adding support for global variables. Global variables will be shared by all snippets and will give a string depending on the global variable type: static (just a predefined string), command-based (the string will be the output of a command) or internal (for stuff like the name of the current document). The first two types should be editable by the user who will also be able to add new ones. 
  • Done the XML parsing for the snippet-packet files and for the file where the global variables will be stored.
  • Fixed some things based on the feedback from my mentor. My code should be pretty clean right now.
  • Bought my airplane tickets for GUADEC :-)
     Sadly, there aren't any "visual" results yet, as I got a lot of work to do before displaying anything, but here are the results from parsing the XML files:
    Until my next weekly report, I will try to implement the GtkTreeModel I should have done for this week and a few more dirty things so the snippets will be ready for insertion without the feature of being user-editable, but with global variables working properly. 
    See you guys next week.