Re: [taskjuggler] my taskjuggler enhancements (? ;-))

From: Chris Schlaeger (cs_at_suse.de)
Date: Thu Mar 20 2003 - 10:55:10 CET


From: Chris Schlaeger <cs@suse.de>
Date: Thu, 20 Mar 2003 10:55:10 +0100
Message-Id: <200303201055.10632.cs@suse.de>
Subject: Re: [taskjuggler] my taskjuggler enhancements (? ;-))

Hi,

On Tuesday 18 March 2003 15:05, Pascal Bleser wrote:
> Hi fellow taskjugglers
>
> I made some changes to taskjuggler (1.4) to have the EPS generated the way
> I wanted it (and a little bit more looking like m$ project *shiver*).
>
> I made a change in Task.cpp to have the XML export also write down the
> effort, to be able to display it in the EPS file generated by tjx2gantt.

the XML report still lacks certain data and will probably be rewritten some
day. But we are certainly interested in you patch.

> Then I made many changes to tjx2gannt, still a bit "hack-ish" but it works
> well for me.
>
> Mostly, I:
> - changed font sizes (made them slightly bigger)
> - added the display of the tasks also on the left of the page in a
> hierarchical way (tasks indented under containers)
> - added coloring of overlapping tasks in the ressources section at the
> bottom - added the involved ressources in task labels
> - added the planned effort in the task list on the left
> - changed the flow: tasks and associated objects and containers are being
> created without drawing first, then the depency arrows are being drawed
> (using information built in the first, non-drawing run of the _draw_tasks
> function) and then, after that, the tasks are being drawed - with this, you
> have the dependency arrows *under* the tasks, which makes the gantt chart
> easier to read (IMHO)

tjx2gantt is orphant right now but we are certainly like to have a look. Can
you send me your changes and/or some sample eps files?

> The behaviour for end dates of tasks seems a bit weird to me, I also made
> some changes on that:
>
> * when the end date is read from the XML file, a delta of +1 day is made:
> I don't get this. In the display, when you have two tasks that follow each
> other (say, the 1st finishing on 2003-03-18 and the second starting on
> 2003-03-19) you seem to have two tasks on one day (2003-03-19) because the
> end of the box of the 1st task is displayed on 2003-03-19

I guess that was a hack Remo put in so he didn't have to mess with hours,
minutes and seconds. TJ internally uses a resolution of 1 second for all time
data. The end of an interval is always the first second after the interval.

>
> * there seems to be an issue with week-ends and end dates in taskjuggler's
> XML report generator (or in the core), I didn't have time (yet) to check
> the C++ code and I fixed it in the tjx2gantt Perl-script:
> <example>
> a task starts on 2003-03-20 (thursday) and ends on 2003-03-21 (friday), you
> have 2003-03-23 (sunday) as the end date of the task in the XML report
> </example>
> So I also fixed that, but in the Perl script. The best place would
> definately be in the XML report-generating code portions in C++.
> It doesn't really harm but looks ugly in the gantt chart ;-)

I could not find issues in the code that handles that. Can you send me a
little example project, so that I can have a closer look?

>
> If interested, I can send my patches, the goal of this mail was rather to
> ask whether some of those things are intended or if they really are bugs.

Please send it to me. I really like to have a look at it.

Chris

-- 
KDE 3.1: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Thu Mar 20 2003 - 10:55:21 CET