• 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
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
Makefile.win32 Loading commit data...
mrp-application.c Loading commit data...
mrp-application.h Loading commit data...
mrp-assignment.c Loading commit data...
mrp-assignment.h Loading commit data...
mrp-calendar.c Loading commit data...
mrp-calendar.h Loading commit data...
mrp-day.c Loading commit data...
mrp-day.h Loading commit data...
mrp-error.c Loading commit data...
mrp-error.h Loading commit data...
mrp-file-module.c Loading commit data...
mrp-file-module.h Loading commit data...
mrp-group.c Loading commit data...
mrp-group.h Loading commit data...
mrp-marshal.list Loading commit data...
mrp-mpx.c Loading commit data...
mrp-object.c Loading commit data...
mrp-object.h Loading commit data...
mrp-old-xml.c Loading commit data...
mrp-old-xml.h Loading commit data...
mrp-parser.c Loading commit data...
mrp-parser.h Loading commit data...
mrp-paths-gnome.c Loading commit data...
mrp-paths-win32.c Loading commit data...
mrp-paths.h Loading commit data...
mrp-private.h Loading commit data...
mrp-project.c Loading commit data...
mrp-project.h Loading commit data...
mrp-property.c Loading commit data...
mrp-property.h Loading commit data...
mrp-relation.c Loading commit data...
mrp-relation.h Loading commit data...
mrp-resource.c Loading commit data...
mrp-resource.h Loading commit data...
mrp-sql.c Loading commit data...
mrp-sql.h Loading commit data...
mrp-storage-module-factory.c Loading commit data...
mrp-storage-module-factory.h Loading commit data...
mrp-storage-module-xml.c Loading commit data...
mrp-storage-module-xml.h Loading commit data...
mrp-storage-module.c Loading commit data...
mrp-storage-module.h Loading commit data...
mrp-storage-mrproject.c Loading commit data...
mrp-storage-mrproject.h Loading commit data...
mrp-storage-sql.c Loading commit data...
mrp-storage-sql.h Loading commit data...
mrp-task-manager.c Loading commit data...
mrp-task-manager.h Loading commit data...
mrp-task.c Loading commit data...
mrp-task.h Loading commit data...
mrp-time.c Loading commit data...
mrp-time.h Loading commit data...
mrp-types.c Loading commit data...
mrp-types.h Loading commit data...
mrp-xml.c Loading commit data...
mrp-xsl.c Loading commit data...
planner.h Loading commit data...