jueves, 25 de septiembre de 2008

Igalia

Today I've finished the practices in Igalia, it was a great experience and I wanna thank you to all people in Igalia that helped me.

viernes, 29 de agosto de 2008

miércoles, 13 de agosto de 2008

An useful macro for debugging

Yesterday I've added the debug system for gtranslator, right now it is just a g_message that is showed only if the debug is enabled.
But I wanted some more information and I wanted only with a macro and until some testing and help from some people of #c channel I've got this:
# define DEBUG_PRINT(format, ...) g_debug ("%s:%d (%s)" format, __FILE__, __LINE__, G_STRFUNC, __VA_ARGS__)

That macros prints the file, the line, the name of the func and the test you want. It was quite difficult discover the __VA_ARGS__ so you can do something like DEBUG_PRINT ("Hello %s", "Nacho") and it is going to print all that stuff. I think is good but could be better. You have to pass always the format. To have a behavior like g_print you should create a new func that implements how to get the varg arguments and so.

viernes, 1 de agosto de 2008

miércoles, 30 de julio de 2008

Git is awesome

This week Pablo and I decided to create a git repository to following the development of gtranslator. It is just great, we can create branches so easy and make commits and everything localy. It is just awesome.
Here it is the command to download gtranslator:
git clone git://github.com/nacho/gtranslator-git.git

The subversion plugins needs libsvn >= 1.5.0. So if you don't have that version please, don't try to compile the plugin.

Right now all patches less project manager are commited on that repository so would be great having some feedback.

sábado, 26 de julio de 2008

Playing with clutter

This is what I've been doing this week. Just funny.

jueves, 17 de julio de 2008

Clutter

This two days I've been working in a libtinymailui-clutter implementation, it is just for testing but if I am able to do what I want it is going to be great. As soon as I finish it I'll post the mandatory screenshot.