changelog patch for resource usage view fixes



Apologies all, I accidentally attached the whole changelog to my last mail instead of just the patch.

The patch alone is attached this time.

Thanks,
lee
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 940)
+++ ChangeLog	(working copy)
@@ -1,3 +1,40 @@
+2008-11-28  Lee Baylis <lee leebaylis co uk>
+
+	* libplanner/mrp-assignment.c (assignment_edge_compare),
+	(mrp_assignment_edges_insert_sorted_from_assignment),
+	(mrp_assignment_edges_insert_sorted_from_assignment_list),
+	(mrp_assignment_edges_plot_units_in_use),
+	(mrp_assignment_edges_calculate_max_units_in_use),
+	(mrp_assignment_edges_remove_to_last_before),
+	(mrp_assignment_edges_remove_from_first_after),
+	(mrp_assignment_edge_get_delta_units):
+	  Moved and changed Date struct from planner-usage-row to become
+		MrpAssignmentEdge struct;
+	  Introduced functions for creating and manipulating lists of 
+		MrpAssignmentEdge objects.
+	* libplanner/mrp-assignment.h:
+	* libplanner/mrp-resource.c (mrp_resource_get_assignment_edges),
+	(mrp_resource_allocation_status),
+	(mrp_resource_test_if_overallocated),
+	(resource_get_edges_with_units_in_use),
+	(mrp_resource_get_max_units_used_between),
+	(mrp_resource_get_available_units_between),
+	(mrp_resource_get_available_units_during):
+	  Moved logic for calculating overallocation from planner-usage-row;
+	  Introduced functions for listing and analysing a resource's 
+		MrpAssignmentEdge objects;
+	  Introduced resource overallocation test function.
+	* libplanner/mrp-resource.h:
+	* src/planner-usage-row.c (usage_row_realize),
+	(usage_row_draw_resource_ival), (usage_row_draw_resource),
+	(usage_row_draw_assignment): 
+	  Moved Date & date_type structs and the date_compare 
+		function to mrp-assignment;
+	  Moved code which initialised Dates to mrp-assignment;
+	  Replaced 12 color variables with 4 color_scheme structs 
+		and matched them to overallocation scenarios;
+	  Moved logic for calculating overallocation to mrp-resource.
+
 2008-11-05  Maurice van der Pot  <griffon26 kfk4ever com>
 
 	* libplanner/mrp-parser.c: Removed unused function.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]