Commit graph

805 commits

Author SHA1 Message Date
Óscar González Fernández
d733ba80a8 [Bug #1070] Calculate the critical path using a topological order
Avoid exponential increase of calculations done, only visiting a node
when all their predecessors have already been processed. This
guarantees that the nodes are processed in a topological order, i.e.,
a node is not processed until their predecessors are processed.

FEA: ItEr74S04BugFixing
2011-05-15 21:08:28 +02:00
Óscar González Fernández
f82b20bbd1 Remove tasks that are not really initial from the initial and end tasks
FEA: ItEr74S04BugFixing
2011-05-15 21:05:59 +02:00
Óscar González Fernández
f1f9074647 Cache the calculated topological order
FEA: ItEr74S04BugFixing
2011-05-14 22:43:20 +02:00
Óscar González Fernández
feea8ef382 [Bug #1070] Fix problem in GanttDiagramGraph
getRecalculationsNeeded took a huge amount of time when tasks can be
reached from several paths in complex graphs. In the case a task is
reached from another path the recalculation for that task was removed
from the result and added to the pending queue. Thus it was guaranteed
that the result was a topological order, since recalculations would be
pushed to the end. But the recalculations dependent of the already
added were still in the pending queue and executed. This caused more
removals from the result and subsequent additions to the pending
queue.

Now a topological order is applied to the recalculations
calculated. For each task point a depth value is calculated. A
topological order is necessary, so a recalculation is executed after
all its predecessors.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:33 +02:00
Óscar González Fernández
907c232492 When enforcing all the constraints using only the ones without incoming dependencies
Otherwise repeated calculations are done.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:25 +02:00
Óscar González Fernández
fd2c2ca718 When populating the graph with dependencies don't enforce contraints yet
The constraints are asked to be enforced later.

FEA: ItEr74S04BugFixing
2011-05-14 22:38:13 +02:00
Óscar González Fernández
48cb431159 [Bug #1067] Fix bug
Highlight was not working outside the execution of a event. Previously
it was executing bound to a bookmark change event, but now using
matrix parameters it is no longer true.

Now highlight would work outside the handling of an event listener.

FEA: ItEr74S04BugFixing
2011-05-13 12:21:08 +02:00
Óscar González Fernández
464ca82042 Fix disparity between dates in task properties and allocation tab
FEA: ItEr74S04BugFixing
2011-05-12 17:51:22 +02:00
Manuel Rego Casasnovas
5a6e3fc048 [i18n] Updated Spanish and Galician translations.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-11 20:13:33 +02:00
Manuel Rego Casasnovas
973f631619 [i18n] Updating keys.pot files.
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-05-11 20:13:33 +02:00
Óscar González Fernández
1fba1c4896 Make DomainDependency implement IDependency
FEA: ItEr74S04BugFixing
2011-05-11 20:00:03 +02:00
Óscar González Fernández
47072040b5 Remove enforceAllRestrictions call
It was done to force the showing of the constraint violations after
the components have been created. Now this is not needed thanks to the
support for receiving pending of notification events.

FEA: ItEr74S04BugFixing
2011-05-10 17:56:36 +02:00
Óscar González Fernández
c60874af46 Add support for receiving not notified events
Some events can be lost due to not existing a listener at the
time. Now they are stored and when adding a listener it can be
configured to receive all pending events.

FEA: ItEr74S04BugFixing
2011-05-10 17:55:56 +02:00
Óscar González Fernández
f09771b001 [Bug #1048] Fix bug
When a task is fixed, no constraints were preserved and the last check
for all constraints was avoided. Now although the task is not moved
due to be fixed, the final check with all constraints is done.

FEA: ItEr74S04BugFixing
2011-05-10 17:55:12 +02:00
Óscar González Fernández
086c1891dd Fix regression introduced in c05150b234
Most pages only handled entry points through a bookmark change. Now
they handle requests with matrix parameters too.

FEA: ItEr74S04BugFixing
2011-05-10 12:11:39 +02:00
Manuel Rego Casasnovas
6a0cbd243b Removed PDF option in printing configuration dialog.
FEA: ItEr74S05PrintingSupportItEr73S05
2011-05-09 12:50:54 +02:00
Diego Pino Garcia
f9b4497b72 [Bug #1063] Fix NullPointerException
Use ComponentsFinder to find which row contains WorkReportLine.
If a ValidationException happens but cannot find a row that contains
the WorkReportLine that launched the exception, then show
ValidationException as messageForUser.

FEA: ItEr74S04BugFixing
2011-05-08 20:08:31 +02:00
Óscar González Fernández
f2eb219ce2 [Bug #1059] Fix bug
Fractions can overflow if the numerator and the denominators they
carry are big. In that case big decimals are used instead.

FEA: ItEr74S04BugFixing
2011-05-06 19:53:11 +02:00
Óscar González Fernández
955c39181f [Bug #1050] Fix bug
Don't force the insertion always at the top level.

FEA: ItEr74S04BugFixing
2011-05-06 17:52:37 +02:00
Óscar González Fernández
3bb62c0591 Some refactorings
Use internally positions for registering the tasks simplifying
methods.

FEA: ItEr74S04BugFixing
2011-05-06 17:51:53 +02:00
Lorenzo Tilve Álvaro
ceedf53da0 [Bug #802] Rearranged context menu and added vertical separators
FEA: ItEr74S04BugFixing
2011-05-06 17:10:15 +02:00
Óscar González Fernández
28d642376a [Bug #1045] Fix bug
Avoid to execute some constraint violations when they are not in a ZK
context.

FEA: ItEr74S04BugFixing
2011-05-05 18:42:11 +02:00
Manuel Rego Casasnovas
2873b64a80 Released 1.0.6 version.
* Bump to 1.0.6.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-27 17:31:09 +02:00
Óscar González Fernández
c1006c0ad2 [Bug #1026] Fix bug
In several places specific and generic allocations are divided
disrupting the previous order. Reordering after the division.

FEA: ItEr74S04BugFixing
2011-04-26 18:01:33 +02:00
Óscar González Fernández
e5fe70f03d Inline silly method
FEA: ItEr74S04BugFixing
2011-04-26 17:44:35 +02:00
Óscar González Fernández
71e9cbba05 Fix some type warnings related to the use of generics with GanttDiagramGraph
FEA: ItEr74S04BugFixing
2011-04-25 16:08:59 +02:00
Óscar González Fernández
45af764729 [Bug #992] Fix bug
Revert "[Bug #952] Show list of resources in 'Resource load view' in
order". The left part is always ordered by alphabetic order, but the
right part remained in the original order.

This reverts commit 7bb18e5ea4.

FEA: ItEr74S04BugFixing
2011-04-18 17:02:23 +02:00
Diego Pino Garcia
a19e4f53e6 Added method findItemByValue() to ComponentsFinder
FEA: ItEr74S04BugFixing
2011-04-13 13:14:30 +02:00
Manuel Rego Casasnovas
e169de20a6 Released 1.0.5 version.
* Bump to 1.0.5.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:18 +02:00
Manuel Rego Casasnovas
a2f39f18d6 [i18n] Updated Spanish and Galician translations
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:11 +02:00
Manuel Rego Casasnovas
80c4f7eac8 [i18n] Updated .pot files
FEA: ItEr74S03CommunityMaterialItEr73S03
2011-04-08 11:47:06 +02:00
Diego Pino Garcia
24edef10ec [Bug #932] Check there are not overlapped category assignments, and if there are mark failing criterio assignment in form
I refactored the code that does the checking in the business layer.
Instead of putting it directly in a method executed by
HibernateValidator I put it in a static method in the business layer.
This way it can be reused easily from the view layer.

The validation returns a ValidationException pointing to the object that
caused the error. Its corresponding component is localized in the view
and the error is shown as a WrongValidationException.

FEA: ItEr73S04BugFixing
2011-04-01 12:29:34 +02:00
Diego Pino Garcia
7bb18e5ea4 [Bug #952] Show list of resources in 'Resource load view' in order
FEA: ItEr73S04BugFixing
2011-03-29 12:53:08 +02:00
Manuel Rego Casasnovas
6708c308de Released 1.0.4 version.
* Bump to 1.0.4.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr72S03CommunityMaterialItEr71S03
2011-03-17 13:07:52 +01:00
Manuel Rego Casasnovas
409d7e9031 [i18n] Updated translation files and current translation. 2011-03-17 13:07:45 +01:00
Manuel Rego Casasnovas
9ad69ba18b [Bug #909] Fixed critical path when dependencies have priority.
FEA: ItEr72S04BugFixing
2011-03-11 17:09:45 +01:00
Manuel Rego Casasnovas
06c276b534 Removed jfreechart-igalia dependency as it was not needed anymore.
FEA: ItEr72S04BugFixing
2011-03-10 16:17:21 +01:00
Manuel Rego Casasnovas
488b3958a8 [Bug #916] Fixed issue checking if list of constraints is empty and not only if it is null.
FEA: ItEr72S04BugFixing
2011-03-07 10:23:14 +01:00
Manuel Rego Casasnovas
64db4632cd [i18n] Updated translations.
* Regenerated .pot files.
* Updated Spanish and Galician translations.
2011-03-04 11:36:56 +01:00
Óscar González Fernández
0d3dff4ceb Some improvements in code
FEA: ItEr71S04BugFixing
2011-03-02 18:56:57 +01:00
Óscar González Fernández
7393d4b9b6 If a LongOperation is executed inside another it's executed directly
Thus there is no problem if inside code executed within a
LongOperation, a LongOperation is submitted again. In this case the
code is executed but no extra modal window is created.

FEA: ItEr71S04BugFixing
2011-03-02 18:03:08 +01:00
Manuel Rego Casasnovas
a0e9118720 [Bug #871] Fixed problem calculating initial date.
* Not all tasks were taking into account calculating initial date. Till now only
  initial tasks were taken into account but depending on constraints it could
  happen that some tasks start before than initial tasks.

FEA: ItEr71S04BugFixing
2011-03-02 10:42:26 +01:00
Manuel Rego Casasnovas
3d2571d362 [Bug #871] Added more tests checking more constraints.
FEA: ItEr71S04BugFixing
2011-03-02 10:42:17 +01:00
Manuel Rego Casasnovas
16b7458d5f [Bug #871] Added more tests to confirm that the bug is fixed.
FEA: ItEr71S04BugFixing
2011-03-01 19:12:31 +01:00
Manuel Rego Casasnovas
9af91d31d7 [Bug #871] Fixed problem in critical path when dependencies are violated by constraints.
FEA: ItEr71S04BugFixing
2011-03-01 19:12:24 +01:00
Manuel Rego Casasnovas
6537c64484 [Bug #871] Detected problem with critical path calculator added test to explain it.
FEA: ItEr71S04BugFixing
2011-03-01 19:12:16 +01:00
Manuel Rego Casasnovas
0df4c9db43 [Bug #789] Fixed several translation issues lately detected.
FEA: ItEr71S04BugFixing
2011-02-23 14:03:31 +01:00
Manuel Rego Casasnovas
79407bac86 Released 1.0.3 version.
* Bump to 1.0.3.
* Updated NEWS file.
* Updated debian package changelog.

FEA: ItEr70S03CommunityMaterialItEr69S03
2011-02-16 08:08:09 +01:00
Lorenzo Tilve
1307d23e42 Fixed bug with project deadline mark
On week zoomlevel when the project deadline happened in current day column it wasn't displayed properly.

FEA: ItEr70S04BugFixing
2011-02-11 12:34:28 +01:00
Lorenzo Tilve
236de1432c Revamped toolbar buttons
It has also been corrected the vibration effect they caused in the toolbar when pressed

FEA: ItEr70S04BugFixing
2011-02-11 12:34:27 +01:00