Debugging GTK+ printing support

Posted by Griffon26 on November 5th, 2008

During my vacation I have been fixing some bugs in Planner, hoping to strike a few things off of my todo list for a change.

One of those things is support for the GTK+ printing API. Francisco Moraes implemented most of this already, but it needed some final touches: a property page allowing you to select what to print, a few minor changes in the layout and the removal of some magic numbers.

Most of these things I completed already a while ago, but there were a few problems with font sizes that I could not quite get a handle on. Francisco was aware of the issue when he was working on GTK+ printing support, but did not find a solution.

Read the rest of this entry »

Fixing dependency loops

Posted by Griffon26 on March 15th, 2008

Since last time I posted, the libgda-3 work has been finished and checked in. The final patch turned out to be 81K in size. =)

For this post I will describe what I’ve been doing to fix bug #382548. This bug allows you to create dependency loops in tasks.

The simplest type of loop that can be created is this one:

A simple loop

You could create this by first setting task2 as a predecessor of task1 and then indenting task2 to become a child of task1. Planner does not allow you to do it the other way around, first indenting task2 and then adding it as a predecessor of task1.

To see how Planner tries to detect these loops, we’ll have to take a look at libplanner/mrp-task-manager.c.

Read the rest of this entry »

Planner and libgda-3 support

Posted by Griffon26 on February 3rd, 2008

Planner’s support for storing projects in databases has been rather broken for a while. I recently fixed a bug that caused Planner to crash when you tried to save over an existing project in the database (#397132), so it was once again possible to use a database for storage. There was also a problem with newer postgresql versions (#318440), but that turned out to be a bug in postgresql that has subsequently been solved in postgresql-8.2.5.

Just last week I got a request to add support for libgda-3, because some distributions were dropping support for older libgda versions. I expected this to be more or less a configure fix, but it turns out it was quite a bit more work than that.

Read the rest of this entry »

Who’d a thunk it?

Posted by Griffon26 on February 3rd, 2008

That I of all people would have started a blog. I won’t bore you with details of why this is atypical for me, I’ll just skip to the reasons for doing this.

For some time now I’ve been working on Gnome Planner and just last week I found myself updating the topic of #planner on GIMPNet every night to keep people informed of my progress on some requested feature. After a few of those rather short and cryptic descriptions, I decided to look for a better way to present this information: this blog.

In this blog I plan to write about what I’m working on, which is most likely to be Planner and maybe some Gentoo stuff. I’m not good at writing stories, so I’ll stick to the technical stuff. There are lots of things that this blog could do: provide insight into what Planner developers are working on or what the roadmap looks like, give prospective developers an easy way to get familiar with the project, generate more involvement from the community, etc. I have no idea if anything will come out of this, but let’s give it a try.

Tomorrow I plan to write about the stuff I’m working on at the moment: getting Planner’s database support in better shape.