OSDN Git Service

tjqt4port/tj2qt4.git
16 years agoAdd a workaround for the libkdepim/ prefix the uic keeps generating
cs [Mon, 13 Aug 2007 17:51:21 +0000 (17:51 +0000)]
Add a workaround for the libkdepim/ prefix the uic keeps generating
for kdateedit.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1522 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoAdd missing ui file.
cs [Thu, 9 Aug 2007 20:02:42 +0000 (20:02 +0000)]
Add missing ui file.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1521 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoSome interative functions for GUI reports.
cs [Thu, 9 Aug 2007 19:58:53 +0000 (19:58 +0000)]
Some interative functions for GUI reports.

* The report interval can now be changed temporarily.

* We now have a filter for the report list.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1520 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoStarted work on a content filter for the Gantt listview.
cs [Wed, 8 Aug 2007 11:16:15 +0000 (11:16 +0000)]
Started work on a content filter for the Gantt listview.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1519 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoMake resource query functions work for group task targets as well.
cs [Wed, 8 Aug 2007 11:16:13 +0000 (11:16 +0000)]
Make resource query functions work for group task targets as well.

This change needs to be compensated in the report generators to not
include resources for group tasks.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1518 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoBasic arithmetic can be tough...
cs [Wed, 8 Aug 2007 11:16:13 +0000 (11:16 +0000)]
Basic arithmetic can be tough...

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1517 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoSet focus to list view of Gantt chart when report tab is selected.
cs [Wed, 8 Aug 2007 11:16:12 +0000 (11:16 +0000)]
Set focus to list view of Gantt chart when report tab is selected.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1516 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoReadability and usability enhancement for the Gantt chart.
cs [Sun, 5 Aug 2007 09:35:40 +0000 (09:35 +0000)]
Readability and usability enhancement for the Gantt chart.

Use alternating background for chart.

Make items selectable and enable RMB quick access menu.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1515 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoThree major bug fixes.
cs [Fri, 3 Aug 2007 19:40:01 +0000 (19:40 +0000)]
Three major bug fixes.

1. Effort based values in group task line items of resource reports
were improperly calculated. This has been fixed now.

2. The isChildOf function (used in logical expressions) no longer
returns true for self.

3. Group task line items in resource reports now have proper load
bars.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1514 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoGet rid of another ugly string/pointer comparison.
cs [Thu, 2 Aug 2007 06:49:28 +0000 (06:49 +0000)]
Get rid of another ugly string/pointer comparison.

Again, thanks to Klaas for finding this.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1513 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoReplace task outlines with load bars.
cs [Thu, 2 Aug 2007 06:40:07 +0000 (06:40 +0000)]
Replace task outlines with load bars.

The task outlines in the UI resource reports have been
replaced with relative load bars. One can now see what load is
assigned to what resource at which point of time.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1512 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoUse less ugly code.
cs [Tue, 31 Jul 2007 07:38:42 +0000 (07:38 +0000)]
Use less ugly code.

Doing string comparisons here is just stupid.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1511 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoFix for failure with Philippe test case.
cs [Mon, 30 Jul 2007 18:10:23 +0000 (18:10 +0000)]
Fix for failure with Philippe test case.

Patch inspired by patch from Klaas who reported this problem first on
openSUSE factory.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1510 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoAdded missing statusnote column to manual.
cs [Mon, 30 Jul 2007 11:19:40 +0000 (11:19 +0000)]
Added missing statusnote column to manual.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1509 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoFix task IDs when using taskroot feature.
cs [Mon, 30 Jul 2007 10:57:24 +0000 (10:57 +0000)]
Fix task IDs when using taskroot feature.

Don't corrupt IDs and remove root path for all IDs.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1508 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoAdd support for 'taskroot' to XML reports.
cs [Fri, 27 Jul 2007 07:41:40 +0000 (07:41 +0000)]
Add support for 'taskroot' to XML reports.

Looks like all the features are there in the report generator. The
parser did just not support it.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1507 e1914e07-63f8-0310-9059-d6d858d7cdca

16 years agoFixed optimizer bug that ignored pathCriticalness.
cs [Sun, 22 Jul 2007 12:38:55 +0000 (12:38 +0000)]
Fixed optimizer bug that ignored pathCriticalness.

The optimizer ignored the pathCriticalness when equal priority tasks
ran in parallel to lower pathCriticalness tasks. Projects with high
resource pressure resulted in longer overall duration.

The bug was reported by samuel
(http://www.taskjuggler.org/FUDforum2/index.php?t=msg&th=3549&start=0&rid=65&S=2285ed9a9bcd8bb25d41aba65ada3bb2)

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1506 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSVN keywords are dangerous!
cs [Sun, 1 Jul 2007 15:13:23 +0000 (15:13 +0000)]
SVN keywords are dangerous!

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1503 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix memory hug problem in loop detector.
cs [Sun, 1 Jul 2007 14:21:10 +0000 (14:21 +0000)]
Fix memory hug problem in loop detector.

This is a fix for the problem reported by themage.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1501 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoWe are ready for 2.4.0 final.
cs [Fri, 22 Jun 2007 08:55:02 +0000 (08:55 +0000)]
We are ready for 2.4.0 final.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1499 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoCompile fixes for Solaris 10.
cs [Wed, 20 Jun 2007 08:21:49 +0000 (08:21 +0000)]
Compile fixes for Solaris 10.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1498 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoCleanup include hierarchy
cs [Wed, 13 Jun 2007 07:54:55 +0000 (07:54 +0000)]
Cleanup include hierarchy

Patch submitted by andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1497 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoGet ready for 2.4.0_beta2.
cs [Mon, 11 Jun 2007 18:23:50 +0000 (18:23 +0000)]
Get ready for 2.4.0_beta2.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1495 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd warning for intervals without '-'.
cs [Thu, 7 Jun 2007 12:00:27 +0000 (12:00 +0000)]
Add warning for intervals without '-'.

Add warning if date interval is specified without dash between the
dates. Fix all files that still use the old notation.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1494 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoMove error and warning counter to TjMessageHandler.
cs [Tue, 5 Jun 2007 13:17:21 +0000 (13:17 +0000)]
Move error and warning counter to TjMessageHandler.

The number of errors and warnings can be best counted by the message
handler since it should process all messages.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1493 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd limit to number of searched paths.
cs [Tue, 5 Jun 2007 13:17:18 +0000 (13:17 +0000)]
Add limit to number of searched paths.

The critical paths detector now has a default limit of 10 million
paths that it searches before it aborts the detection. This limit can
be changed with the 'maxpaths' attribute.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1492 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFixed line-ends.
cs [Mon, 4 Jun 2007 11:39:40 +0000 (11:39 +0000)]
Fixed line-ends.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1491 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAnother attempt to soften the exponential complexity of the critical
cs [Sun, 3 Jun 2007 17:41:27 +0000 (17:41 +0000)]
Another attempt to soften the exponential complexity of the critical
path detector.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1490 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix off-by-one bug for limits on allocations with multiple resources.
cs [Sat, 2 Jun 2007 17:39:45 +0000 (17:39 +0000)]
Fix off-by-one bug for limits on allocations with multiple resources.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1489 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoGetting ready for 2.4.0-beta1 release.
cs [Wed, 23 May 2007 09:55:47 +0000 (09:55 +0000)]
Getting ready for 2.4.0-beta1 release.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1487 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdded workaround for new tzset() behaviour in glibc 2.5. First
cs [Tue, 15 May 2007 15:29:09 +0000 (15:29 +0000)]
Added workaround for new tzset() behaviour in glibc 2.5. First
reported by Debian Etch users.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422400

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1486 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFixed reversed sorting order of resource specific sorting criteria.
cs [Tue, 15 May 2007 08:47:40 +0000 (08:47 +0000)]
Fixed reversed sorting order of resource specific sorting criteria.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1485 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoUse proper make dependencies.
cs [Mon, 14 May 2007 12:13:32 +0000 (12:13 +0000)]
Use proper make dependencies.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1484 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdded missing optional attribute for scenario.
cs [Sat, 12 May 2007 18:30:51 +0000 (18:30 +0000)]
Added missing optional attribute for scenario.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1483 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoImproved description of 'scenario' and 'allocate'.
cs [Thu, 10 May 2007 13:59:36 +0000 (13:59 +0000)]
Improved description of 'scenario' and 'allocate'.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1482 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix a potential problem that bookings are not properly registred with
cs [Thu, 10 May 2007 13:59:31 +0000 (13:59 +0000)]
Fix a potential problem that bookings are not properly registred with
a task.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1481 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoProperly show errors during report generation in GUI.
cs [Wed, 2 May 2007 21:02:03 +0000 (21:02 +0000)]
Properly show errors during report generation in GUI.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1480 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoThe commandline version now properly returns a non-zero value in case
cs [Wed, 2 May 2007 20:58:00 +0000 (20:58 +0000)]
The commandline version now properly returns a non-zero value in case
of errors during project generation.

Added a 'Generate all Reports' option to the GUI menu.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1479 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDocument that the GUI does not generate all reports automatically.
cs [Wed, 2 May 2007 20:57:49 +0000 (20:57 +0000)]
Document that the GUI does not generate all reports automatically.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1478 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDrop support for booking sloppiness 3.
cs [Mon, 30 Apr 2007 15:38:41 +0000 (15:38 +0000)]
Drop support for booking sloppiness 3.
Bookings in export reports now always contain a 'overtime 2' attribute
to avoid error messages when overtime bookings were used before.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1477 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix typo in arg number.
cs [Tue, 24 Apr 2007 17:44:10 +0000 (17:44 +0000)]
Fix typo in arg number.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1476 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoMake sure that TaskJugglerUI can also work with the Qt editor
cs [Tue, 24 Apr 2007 12:19:29 +0000 (12:19 +0000)]
Make sure that TaskJugglerUI can also work with the Qt editor
component.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1475 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdded info where to send patches.
cs [Tue, 24 Apr 2007 07:28:46 +0000 (07:28 +0000)]
Added info where to send patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1474 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoStore result of getStart/EndDependency(sc) in local variable to avoid
cs [Mon, 23 Apr 2007 07:33:42 +0000 (07:33 +0000)]
Store result of getStart/EndDependency(sc) in local variable to avoid
repeated calls for same data.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1473 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDon't use variable argument functions for error and warning messages
cs [Thu, 19 Apr 2007 08:47:13 +0000 (08:47 +0000)]
Don't use variable argument functions for error and warning messages
anymore.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1472 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix crash when clicking on "File->Insert Date" when no project is
cs [Tue, 17 Apr 2007 12:11:52 +0000 (12:11 +0000)]
Fix crash when clicking on "File->Insert Date" when no project is
loaded in the GUI. Bug reported by eliasp.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1471 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSimplify the 'fromWhere' handling in the loop detector.
cs [Thu, 12 Apr 2007 16:36:58 +0000 (16:36 +0000)]
Simplify the 'fromWhere' handling in the loop detector.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1470 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDon't use obsolete syntax elements.
cs [Thu, 12 Apr 2007 16:36:56 +0000 (16:36 +0000)]
Don't use obsolete syntax elements.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1469 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoUse '-' for time all time intervals.
cs [Wed, 11 Apr 2007 20:24:56 +0000 (20:24 +0000)]
Use '-' for time all time intervals.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1468 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoUpdate GPL file with a v2 version with current FSF address.
cs [Wed, 11 Apr 2007 08:15:10 +0000 (08:15 +0000)]
Update GPL file with a v2 version with current FSF address.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1467 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoUse Report::f and Report::s for "version 1" XML reports.
cs [Mon, 9 Apr 2007 16:58:03 +0000 (16:58 +0000)]
Use Report::f and Report::s for "version 1" XML reports.

Patch by Andreas

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1466 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReturn the result of close() instead of a hardcoded 'true'.
cs [Mon, 9 Apr 2007 16:53:17 +0000 (16:53 +0000)]
Return the result of close() instead of a hardcoded 'true'.

Patch by Andreas

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1465 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoXML files are always master files. No need to track this flag.
cs [Mon, 9 Apr 2007 16:48:44 +0000 (16:48 +0000)]
XML files are always master files. No need to track this flag.

Patch by Andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1464 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd missing call to 'expr' so errors are properly reported.
cs [Mon, 9 Apr 2007 16:41:50 +0000 (16:41 +0000)]
Add missing call to 'expr' so errors are properly reported.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1463 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFixed dependency gap duration error that caused gaps to be one time
cs [Sun, 1 Apr 2007 16:26:18 +0000 (16:26 +0000)]
Fixed dependency gap duration error that caused gaps to be one time
slot too short in certain situations.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1462 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAlso write flags of resources into the XML file.
cs [Tue, 27 Mar 2007 18:09:45 +0000 (18:09 +0000)]
Also write flags of resources into the XML file.

Patch by mguennew:

As already defined in the DTD a `resource' can have `flag's. They are
already parsed but not exported by `xmlreport'.  The TestSuite does
not use any flags, so an adaption of it is not necessary.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1461 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDon't use bash syntax in sh scripts.
cs [Tue, 27 Mar 2007 18:09:22 +0000 (18:09 +0000)]
Don't use bash syntax in sh scripts.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1460 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAllow fuzziness of up to 1 time slot when comparing booked effort
cs [Tue, 27 Mar 2007 08:29:49 +0000 (08:29 +0000)]
Allow fuzziness of up to 1 time slot when comparing booked effort
against specified effort in strict mode.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1459 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd support for accounts in XML reports.
cs [Mon, 26 Mar 2007 18:33:24 +0000 (18:33 +0000)]
Add support for accounts in XML reports.

The patch by mguennew does the following:
 - Add optional element `accountList' into `taskjuggler' in the DTD.
 - Add optional list of `customeAttribute' to `account' in the DTD.
 - Add support for `hideaccount' and `rollupaccount' as children of
 `xmlreport' in the TJP file. Updated docs for it.
 - Let the XML report contain the account list.
 - Let the XML report export the custom attributes for each account.
 - Use `account' attribute of `task' to reference the used account
 in the XML report.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1458 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSupport for automake 1.10. Patch by mguennew.
cs [Mon, 26 Mar 2007 07:21:12 +0000 (07:21 +0000)]
Support for automake 1.10. Patch by mguennew.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1457 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReplace old min max test with decicated tests.
cs [Sun, 25 Mar 2007 20:34:25 +0000 (20:34 +0000)]
Replace old min max test with decicated tests.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1456 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSome shell script fixes for older Solaris versions.
cs [Sat, 24 Mar 2007 10:12:55 +0000 (10:12 +0000)]
Some shell script fixes for older Solaris versions.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1455 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 016 - 020 from Andreas' TM for reports patches.
cs [Fri, 23 Mar 2007 10:20:38 +0000 (10:20 +0000)]
Patches 016 - 020 from Andreas' TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1454 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 013 - 015 from Andreas' TM for reports patches.
cs [Fri, 23 Mar 2007 10:15:04 +0000 (10:15 +0000)]
Patches 013 - 015 from Andreas' TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1453 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 011 - 012 from Andreas' TM for reports patches.
cs [Fri, 23 Mar 2007 09:34:36 +0000 (09:34 +0000)]
Patches 011 - 012 from Andreas' TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1452 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 009 - 010 from Andreas' TM for reports patches.
cs [Fri, 23 Mar 2007 09:34:33 +0000 (09:34 +0000)]
Patches 009 - 010 from Andreas' TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1451 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 007 - 008 from Andreas TM for reports patches.
cs [Fri, 23 Mar 2007 09:21:16 +0000 (09:21 +0000)]
Patches 007 - 008 from Andreas TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1450 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoPatches 004 - 006 from Andreas' TM for reports patches.
cs [Fri, 23 Mar 2007 09:17:52 +0000 (09:17 +0000)]
Patches 004 - 006 from Andreas' TM for reports patches.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1449 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFirst round of Template Method for all reports patches from Andreas.
cs [Fri, 23 Mar 2007 09:17:49 +0000 (09:17 +0000)]
First round of  Template Method for all reports patches from Andreas.

See
http://www.taskjuggler.org/FUDforum2/index.php?t=msg&th=3359&start=0&rid=65&S=b1086a03516ffc01d9917dfb3c063081

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1448 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoFix crash on illegal dates in TJP files.
cs [Fri, 23 Mar 2007 09:07:17 +0000 (09:07 +0000)]
Fix crash on illegal dates in TJP files.

This bug was reported by keson.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1447 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReverting the "bad" clocaltime patch again.
cs [Mon, 19 Mar 2007 10:04:36 +0000 (10:04 +0000)]
Reverting the "bad" clocaltime patch again.

This working runs fine. No error when processing
NightShift-Reference.tjp.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1446 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReapplying the "bad" clocaltime patch.
cs [Mon, 19 Mar 2007 10:04:35 +0000 (10:04 +0000)]
Reapplying the "bad" clocaltime patch.

This version breaks on

cd TestSuite/Scheduler/Correct
../../../taskjuggler/taskjuggler NightShift-Reference.tjp

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1445 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoProperly report effort and free load for group resources that have
cs [Sun, 18 Mar 2007 20:50:48 +0000 (20:50 +0000)]
Properly report effort and free load for group resources that have
members with an efficiency different than 0.
Renamed some function names for clarity.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1444 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemoved some debug code and obsolete files.
cs [Sun, 18 Mar 2007 20:50:39 +0000 (20:50 +0000)]
Removed some debug code and obsolete files.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1443 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd check for KDEPIM headers.
cs [Sun, 18 Mar 2007 17:39:43 +0000 (17:39 +0000)]
Add check for KDEPIM headers.
Many users don't understand the difference between a application and a
devel package.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1442 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoForce all times to be aligned with the timing resolution.
cs [Sun, 18 Mar 2007 17:00:56 +0000 (17:00 +0000)]
Force all times to be aligned with the timing resolution.

The timining resolution can now only be changed prior to defining
'now' or 'workinghours'. All times must be a multiple of the timing
resolution.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1441 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReverting clocaltime optimization patch. It causes spurious errors
cs [Sun, 18 Mar 2007 17:00:37 +0000 (17:00 +0000)]
Reverting clocaltime optimization patch. It causes spurious errors
with larger projects. Seems like quick repitions to clocaltime cause
data to be read from an old (previous call) and a new (current call)
buffer.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1440 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove time2rfc and replace calls with identical time2tjp function.
cs [Sun, 18 Mar 2007 17:00:09 +0000 (17:00 +0000)]
Remove time2rfc and replace calls with identical time2tjp function.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1439 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoThe GUI package requires the base package. Add missing dependency.
cs [Sun, 18 Mar 2007 10:30:21 +0000 (10:30 +0000)]
The GUI package requires the base package. Add missing dependency.
Get rid of my old SUSE email addresses.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1438 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove the optimizer code.
cs [Sat, 17 Mar 2007 17:05:47 +0000 (17:05 +0000)]
Remove the optimizer code.

Seems like this code had a brief bit of development
activity about 3 years ago and has been quiet ever
since.  It doesn't seem to be used at the moment, so
remove it.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1437 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove kotrus from the main code base.
cs [Sat, 17 Mar 2007 17:04:30 +0000 (17:04 +0000)]
Remove kotrus from the main code base.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1436 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove kotrus from supporting files.
cs [Sat, 17 Mar 2007 17:03:49 +0000 (17:03 +0000)]
Remove kotrus from supporting files.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1435 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove kotrus from the testsuite.
cs [Sat, 17 Mar 2007 17:02:53 +0000 (17:02 +0000)]
Remove kotrus from the testsuite.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1434 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReduce visibility of two functions.
cs [Sat, 17 Mar 2007 16:29:11 +0000 (16:29 +0000)]
Reduce visibility of two functions.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1433 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoMore dead code.
cs [Sat, 17 Mar 2007 16:28:58 +0000 (16:28 +0000)]
More dead code.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1432 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoDead code removal
cs [Sat, 17 Mar 2007 16:28:39 +0000 (16:28 +0000)]
Dead code removal

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1431 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSimple fixes.
cs [Sat, 17 Mar 2007 16:28:29 +0000 (16:28 +0000)]
Simple fixes.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1430 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoHandle broken dependencies for 'precedes' as well. Bug found and fixed
cs [Sat, 17 Mar 2007 16:28:10 +0000 (16:28 +0000)]
Handle broken dependencies for 'precedes' as well. Bug found and fixed
by rayl.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1429 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReplace uppercase bool constant with proper lower case names.
cs [Sat, 17 Mar 2007 15:24:21 +0000 (15:24 +0000)]
Replace uppercase bool constant with proper lower case names.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1428 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoRemove optional systemid from doctype in XML files to make them more
cs [Sat, 17 Mar 2007 15:03:43 +0000 (15:03 +0000)]
Remove optional systemid from doctype in XML files to make them more
portable across distros. This patch from juhp helps Fedora and
possibly other distros.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1427 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoMove similar code from FileInfo and Tokenizer classes into a common
cs [Sat, 17 Mar 2007 14:02:49 +0000 (14:02 +0000)]
Move similar code from FileInfo and Tokenizer classes into a common
base class.

Patch by Andreas

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1426 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAdd support for C++ style single-line comments in TJP files.
cs [Sat, 17 Mar 2007 13:26:21 +0000 (13:26 +0000)]
Add support for C++ style single-line comments in TJP files.
Patch by Andreas with some additions from me.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1425 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoAllow an arbitrary number of report elements in HTMLStatusReports.
cs [Fri, 23 Feb 2007 03:20:38 +0000 (03:20 +0000)]
Allow an arbitrary number of report elements in HTMLStatusReports.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1424 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoBy moving some parameters to the ExpressionParser constructor, the
cs [Fri, 23 Feb 2007 03:20:26 +0000 (03:20 +0000)]
By moving some parameters to the ExpressionParser constructor, the
Tokenizer can be an automatic data member, and the private helper
functions loose repeated arguments.

Patch by Andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1423 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoSmall patch from Andreas that removes most of the #include directives in
cs [Fri, 23 Feb 2007 03:20:18 +0000 (03:20 +0000)]
Small patch from Andreas that removes most of the #include directives in
Qt*ReportElement.cpp without affecting the compilation process.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1422 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years ago2 patches from Andreas
cs [Fri, 23 Feb 2007 02:59:51 +0000 (02:59 +0000)]
2 patches from Andreas

The first fixes an actual memory leak in the CSVResourceReport: it
never deleted its tab element, so I missed it in the first round
looking for "delete". The second makes two HTMLReports more
consistent with the code of the others.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1421 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReplace C casts with C++ casts.
cs [Fri, 23 Feb 2007 02:51:52 +0000 (02:51 +0000)]
Replace C casts with C++ casts.

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1420 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoReports now hold copies of the report elements and no longer pointers.
cs [Wed, 21 Feb 2007 09:31:12 +0000 (09:31 +0000)]
Reports now hold copies of the report elements and no longer pointers.

Patch by Andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1419 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoGet rid of some over-eager use of new.
cs [Wed, 21 Feb 2007 09:31:08 +0000 (09:31 +0000)]
Get rid of some over-eager use of new.

Patch by Andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1418 e1914e07-63f8-0310-9059-d6d858d7cdca

17 years agoUse auto_ptr for some variables to prevent memory leaks in the future.
cs [Wed, 21 Feb 2007 09:31:07 +0000 (09:31 +0000)]
Use auto_ptr for some variables to prevent memory leaks in the future.

Patch by Andreas.

git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1417 e1914e07-63f8-0310-9059-d6d858d7cdca