changelog patch for resource usage view fixes
Lee Baylis <lee-gZngeWTYz/[email protected]> Fri, 28 Nov 2008 15:51:06 +0000
| Newsgroups | gmane.comp.gnome.apps.planner.devel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Planner-dev-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/planner-dev-list
ChangeLog.patch
(text/x-diff, 2 KB)
Index: ChangeLog =================================================================== --- ChangeLog (revision 940) +++ ChangeLog (working copy) @@ -1,3 +1,40 @@ +2008-11-28 Lee Baylis <lee-gZngeWTYz/[email protected]> + + * 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-bCGDfOjggl9Wk0Htik3J/[email protected]> * libplanner/mrp-parser.c: Removed unused function.