• Maurice van der Pot's avatar
    Fixed bug #382548. Planner now correctly detects loops that would be · 37d81612
    Maurice van der Pot authored
    2008-03-15  Maurice van der Pot  <griffon26@kfk4ever.com>
    
    	* libplanner/mrp-task-manager.c:
    	(remove_parent_predecessors_from_dependency_graph),
    	(remove_parent_from_dependency_graph),
    	(add_parent_predecessors_to_dependency_graph),
    	(add_parent_to_dependency_graph),
    	(task_manager_build_dependency_graph),
    	(task_manager_do_forward_pass), (task_manager_do_backward_pass),
    	(check_move_traverse_recursive), (check_move_traverse),
    	(mrp_task_manager_check_move):
    	Fixed bug #382548. Planner now correctly detects loops that would be created
    	by indenting a task that is a predecessor of the task that would become its
    	parent, so it will no longer crash trying to undo an invalid action.
    	* tests/task-test.c: (main):
    	Added regression tests for bug #382548 and related issues.
    
    
    svn path=/trunk/; revision=894
    37d81612
Name
Last commit
Last update
..
files Loading commit data...
python Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
calendar-test.c Loading commit data...
scheduler-test.c Loading commit data...
self-check.c Loading commit data...
self-check.h Loading commit data...
task-test.c Loading commit data...
time-test.c Loading commit data...