• 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
data Loading commit data...
docs Loading commit data...
dotnet Loading commit data...
eds-backend Loading commit data...
examples Loading commit data...
libegg Loading commit data...
libplanner Loading commit data...
po Loading commit data...
python Loading commit data...
src Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.win32 Loading commit data...
NEWS Loading commit data...
README Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32 Loading commit data...
configure.in Loading commit data...
libplanner-1.pc.in Loading commit data...
omf.make Loading commit data...
xmldocs.make Loading commit data...