Commit graph

736 commits

Author SHA1 Message Date
Óscar González Fernández
f4f40cd9b7 [Bug #793] Fix bug
CONTENTS_CHANGED event doesn't work well when the node has children as
the new content.

When TreeViewStateSnapshot.openIfRequired(Treeitem) tries to open the
previously opened element, the associated Treeitem has the _loaded
property set to true. As you can see in [1] this avoids the children
to be rendered.

Instead a INTERVAL_REMOVED and INTERVAL_ADDED are fired so the the
Treeitems for the elements moved are removed and recreated completely
avoiding that problem.

This introduces a new issue: the node loses its selection status but
can be fixed using a similar approach to TreeViewStateSnapshot.

[1] org.zkoss.zul.Tree.renderItem0(Renderer, Treeitem, Object)
2011-01-06 21:29:16 +01:00
Manuel Rego Casasnovas
105dce1397 Update Spanish and Galician translation.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-05 13:54:01 +01:00
Manuel Rego Casasnovas
3f13746dbd Update keys.pot files.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-05 13:54:01 +01:00
Manuel Rego Casasnovas
146cc38239 Changed "advance" for "progress" as it was a wrong translation and difficult to understand by final users.
FEA: ItEr67S04BugFixing
2011-01-05 13:54:01 +01:00
Manuel Rego Casasnovas
4648aa8754 Fixed critical path to take into account backwards planning.
FEA: ItEr67OTS05AdaptacionCaminhoCriticoPlanificacionBackwards
2011-01-05 10:21:06 +01:00
Manuel Rego Casasnovas
b89537e74f [Bug #789] Fixed problem with static strings and translations.
FEA: ItEr67S04BugFixing
2011-01-04 22:36:37 +01:00
Lorenzo Tilve
6e2614839f Day zoomlevel shows different column style for project non workable days
In company view default calendar is shown

FEA: ItEr67S06WaterMarkProjectCalendar
2011-01-04 17:14:47 +01:00
Lorenzo Tilve
70aa231264 [Bug #759] Fixed problem with first watermark column width in week view
FEA: ItEr67S04BugFixing
2011-01-04 17:14:47 +01:00
Manuel Rego Casasnovas
edfc986b0d Small fixes in debian/ folder and bump to version 0.9.2.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-04 16:07:27 +01:00
Manuel Rego Casasnovas
2d887e2a2f Fixed translation issues.
FEA: ItEr67S03CommunityMaterialItEr66S03
2011-01-03 17:51:43 +01:00
Manuel Rego Casasnovas
dd0b85a1b9 Improved i18n scripts in order to generate keys.pot files with relative paths.
* Updated keys.pot files.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 14:11:46 +01:00
Manuel Rego Casasnovas
7a19c3f830 Updated Debian package and bump version to 0.9.1.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 00:20:49 +01:00
Manuel Rego Casasnovas
283f2fd985 Updated Spanish and Galician translations.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-22 23:53:11 +01:00
Óscar González Fernández
0d7761ef7a [Bug #763] Fix bug
The order of the forces applied varies depending on the constraints
having priority or not. This works because the weak forces only use
the constraints of the task and if you have constraints for one point
you don't have them for the other.

FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Óscar González Fernández
7bcf3efe6c Avoid updating the date if it's the same
FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Óscar González Fernández
6cd735f009 Remove unnecessary code
The global end constraints are applied in the dominating forces when
appropriate.

FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Óscar González Fernández
d4628bf37c [Bug #772] Fix bug
Enforcing restrictions on the source because it can be affected too
when doing backwards allocation.

FEA: ItEr66S04BugFixing
2010-12-21 17:45:54 +01:00
Óscar González Fernández
edf8bab805 [Bug #769] Fix bug
Ensuring that the variable with the resulting restrictions is not
null. When the task is fixed, this variable was not intialized.

FEA: ItEr66S04BugFixing
2010-12-21 15:35:56 +01:00
Óscar González Fernández
18bec6f9f3 [Bug #762] Fix bug
Sometimes in backward allocation after doing a resize the finish date
ends up being the same as before. In this case the TaskComponent is
not notified of the change. So now after resizing the properties of
the task are always updated.

FEA: ItEr66S04BugFixing
2010-12-21 00:06:10 +01:00
Manuel Rego Casasnovas
68b799fda0 Renamed "order" in some missing strings at ganttzk module.
FEA: ItEr65S06BugFixing
2010-12-17 08:46:15 +01:00
Susana Montes Pedreira
9a7090406a Fix bug
it updates the task dependencies  and its start constraint
type when the task is resized.

FEA : ItEr65S06BugFixing
2010-12-16 13:09:31 +01:00
Lorenzo Tilve
7c36182be7 [Bug #758] Fix bug
Changed deadline styles from zigzag to stright line and adapted background-positioning

FEA: ItEr65S06BugFixing
2010-12-16 11:02:09 +01:00
Óscar González Fernández
745fad2d7c [Bug #753] Fix bug
The parents recalculations were recalculating the secondary point,
this caused that a posterior recalculation for the secondary point of
the same task would say it has not modified the task. This caused the
depending recalculations to not be executed.

Now when doing the parent recalculation only the primary point is
modified.

FEA: ItEr65S06BugFixing
2010-12-15 17:15:09 +01:00
Óscar González Fernández
ec11dab825 Notify when a constraint is satisfied too
FEA: ItEr65S06BugFixing
2010-12-15 13:24:00 +01:00
Susana Montes Pedreira
4bf30c6c2f it changes the version and add it to NavalPlan interface.
FEA : ItEr65S03NavalPlanVersionItEr64S08
2010-12-15 12:05:49 +01:00
Óscar González Fernández
1ca56bd7f8 Fix bug
The global constraints to apply depend on the point,
globalStartConstraints can't always be applied.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 01:29:51 +01:00
Óscar González Fernández
e1fbe76a4d Fix variable name
Not always is the start date.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 01:26:49 +01:00
Óscar González Fernández
297d3e6106 The shrinking must be applied to the end too
This is needed because we also have backwards scheduling now.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 00:56:31 +01:00
Óscar González Fernández
12a2dc372d Remove method from adapter
getSmallestBeginDateFromChildrenFor can be implemented in
GanttDiagramGraph. Thus there is less duplication.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-15 00:35:37 +01:00
Óscar González Fernández
2f498a9070 Support backwards scheduling
The implementation is the same as for forward scheduling but some
parametrizations. Lots of refactorings to make it possible.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:42:40 +01:00
Óscar González Fernández
1b1d11aff7 Calculate Recalculations correctly when doing backwards scheduling
The code has been simplified thank to TaskSource not needing to be a
static class anymore.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
5e1b41d9b7 Add more expressive accessors like isForwardScheduled
Access to scheduleBackwards is encapsulated now.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
347fd6c069 Add new DependencyType START_END
It's necessary to implement reverse.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
f91cd28325 Remove unused methods
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
6b30b570f9 Pull up methods
This refactoring facilitates the reversal of the dependency type

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
e3718f4290 Update the correct date when moving explicitly a task
If the current constraint modifies the end date, the end date is the
one that must be modified.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:06 +01:00
Óscar González Fernández
f1f79c5e82 Make the type of the constraint depend on the type of the scheduling done
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
4c384cdbfb Let provide a not after than constraint
This constraint comes from the deadline of the order.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
403b98f416 Indicate to GanttDiagramGraph if the scheduling is backwards or not
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:27:05 +01:00
Óscar González Fernández
48043d070e Create the end constraint in the same way as the start constraint
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:01 +01:00
Óscar González Fernández
8821f6a7a5 Pull up fixed task rule
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-14 21:26:01 +01:00
Lorenzo Tilve
a51b07f95c Removed wrong auto closed div
FEA: ItEr65S06BugFixing
2010-12-13 22:30:13 +01:00
Lorenzo Tilve
d3dd859411 Rebuilt the graphical behaviour of embed combobox for progress view configuration
FEA: ItEr64S04AdvancesVisualization
2010-12-09 09:55:40 +01:00
Lorenzo Tilve
b3be811ffe Changed listbox to compact combobox for selecting advances calculation mode
FEA: ItEr64S04AdvancesVisualization
2010-12-03 13:13:37 +01:00
Susana Montes Pedreira
4fd2832262 [Bug #744] Fix bug
it checks progress and reported hours were being shown before.

FEA : ItEr64S03BugFixing
2010-12-02 09:33:12 +01:00
Óscar González Fernández
1c3403ad20 Even if the dates are not changed, new PositionRestrictions must be returned
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:36:30 +01:00
Óscar González Fernández
73abbcc5e6 Report the constraints violations to the original constraints
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:31:59 +01:00
Óscar González Fernández
1c5152be0f Allow more flexibility in the application of the checks after applying the constraints
A new method checkSatisfiesResult has been extracted so it can be
overridden by subclasses.  Applying the final check is optional now.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:31:59 +01:00
Óscar González Fernández
4a5a7aba4e Apply backwards forces too
It takes into account the constraints on tasks' end date.

FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:31:54 +01:00
Óscar González Fernández
46fedd3478 Now the algorithm for positioning the task is based on Constraints
FEA: ItEr64OTS03PlanificacionHaciaAtras
2010-12-01 15:23:21 +01:00