asv [Wed, 15 Dec 2004 11:24:19 +0000 (11:24 +0000)]
1. PAL6170, "Bugs and Improvements" p.2.21: calling of dataflow->Editing() added inside each of edition operations (see list of edition operations in comments of PAL6170). Also removed "Set Value" command from popup of CanvasPort in during execution (in Suspend).
2. removed ReRun(), ReStart() methods from Main as deprecated (p.1.20 of "Bugs and Improvements").
asv [Wed, 15 Dec 2004 11:20:32 +0000 (11:20 +0000)]
The following methods and constants were removed as never being used:
OutNode: Run(3 params), ReRun(), ReStart()
DataFlow: Run(3 params),
InNode: ReStart()
FiniteStateMachine: ReRunnedState.
Also removed use of deprecated constants from SUPERV namespace: ReRunEvent, ReStartEvent, ReRunState, ReStartState.
asv [Wed, 15 Dec 2004 11:16:38 +0000 (11:16 +0000)]
a new private method run() was introduced instead of using CNode_Impl::Run() which was removed. run() is now called from both Run() ("Execute graph") and Start() ("Execute graph step-by-step") to remove code dublication.
asv [Wed, 15 Dec 2004 11:14:49 +0000 (11:14 +0000)]
Run(), ReRun(), ReRunAt(), ReStart(), ReStartAt() methods were removed. ReXXX methods were removed from IDL as never being called. Run() methods was removed, its functionality (basic calling of Executor->Run() ) was moved to Graph_Impl with modification.
asv [Wed, 15 Dec 2004 11:12:40 +0000 (11:12 +0000)]
ReRun(), ReRunAt(), ReStart(), ReStartAt() methods of Graph interface were removed. Also corresponding constants ReRunEvent, ReStartEvent, ReRunState, ReStartState were removed from enumerations.
These methods and constants were not used and only complicated the code.
mkr [Tue, 14 Dec 2004 13:40:57 +0000 (13:40 +0000)]
Inconsistencies between GUI and TUI in SUPERVISOR:
1) add the possibility to create of an InLine node without a
Python function defined (empty, no code);
2) add the possibility to define Python functions in EndLoop and EndSwith
nodes and to create Loop and Switch nodes with empty functions;
3) add the possibilyty to define a function without a body - in this case,
if a function with the same name was already defined in another node,
it's code (body) will be used (executed).
asv [Mon, 13 Dec 2004 14:36:34 +0000 (14:36 +0000)]
A bug was fixed: _Loading field is set to "false" (as it normally should be except for explicid "loading" time) in 2 cases:
1) constructors of InNode (in InitInNode() )
2) before invocation of Python interpreteur during InLine nodes' excution.
asv [Mon, 13 Dec 2004 14:33:09 +0000 (14:33 +0000)]
Unfortunatelly, I have to write a common comment for check-in of many files in SUPERVGUI. Two main things were done during this edition:
1) improvements that were implemented in cvs-PAL were merged here. They mainly concerned Python editor improvements ("Load from file" works with Python functions with blank lines, etc.) and some minor (N4) bugs in SUPERVGUI fixed by SAK.
2) removal of all unused classes, so called non-canvas classes. Only Canvas-bases GUI entities (Node, Port, Link) are left in SUPERVGUI, and the other classes, used in SUPERVISOR previously, are permanentally removed. 2 view modes were removed from SUPERVGUI_Def.h: TABLE and GRAPH. CANVASTABLE, CANVAS, and CONTROLFLOW are now the only implemented modes of dataflow presentation.
rahuel [Fri, 10 Dec 2004 12:53:04 +0000 (12:53 +0000)]
Graphs for test of catch of SIGSEGV and SIGFPE in Containers and in Python InLineNodes. Graph for test of Undefined symbol : there is no way to know that there is that situation ...
asv [Fri, 10 Dec 2004 09:53:57 +0000 (09:53 +0000)]
A special "Loading" state was implemented. It is returned to GUI if the corresponding InNode returns IsLoading()==true.
So,
1) OutNode::State( char* aNodeName ) will return LoadingState in case InNode is Loading
2) InNode::IsLoading( bool b ) pushes to GUI "Executing" state if b == false -- loading is complete.
asv [Thu, 9 Dec 2004 07:41:23 +0000 (07:41 +0000)]
A new dialog class for edition of Ports of an InLine nodes is introduced. This functionality is described in details in "Bugs and improvements in SUPERVISOR" 2.1, and Bug PAL 7384.
rahuel [Wed, 8 Dec 2004 13:37:42 +0000 (13:37 +0000)]
SuperVisionContainer method and Main Thread Identification for calls to pthread_kill to manage Python functions execution
Suspend, Resume and Kill management
rahuel [Wed, 8 Dec 2004 13:31:47 +0000 (13:31 +0000)]
Management of loading of a Component in a Container for Kill, Suspend because it is not possible to call the corresponding method in the Container at that time.
rahuel [Wed, 8 Dec 2004 13:29:58 +0000 (13:29 +0000)]
Management of loading of a Component in a Container for Kill, Suspend because it is not possible to call the corresponding method in the Container at that time.
Kill, Suspend and Resume are now possible for InLineNodes.
But they do not run for MacroNodes : developpement is necessary.
rahuel [Wed, 8 Dec 2004 13:01:36 +0000 (13:01 +0000)]
Management of loading of a Component in a Container for Kill, Suspend because it is not possible to call the corresponding method in the Container at that time.
asv [Thu, 2 Dec 2004 12:25:19 +0000 (12:25 +0000)]
An error message on Export dataflow failed event was changed. Now it is: "Export failed. Backup copy of overwritten file is stored in'%1'" - it must be concatinated with a string (file name) argument on use.
asv [Thu, 2 Dec 2004 12:23:41 +0000 (12:23 +0000)]
Fixed a bug described in VSR's "Bugs and improvements in Supervisor" 1.8: Crash while exporting graph to XML file. When export failed, and export was done to an existing file, then contents of that file were lost.
The fix: if an existing file is selected, then a backup copy of it is made first, then Export().
If Export() succeeds, then backup copy is removed.
If Export() fails, a message box "Export failed. Backup copy of overwritten file is stored in'backup_file_path'" is displayed.
New function SUPERVGUI::createBackupFile()
Called in SUPERVGUI.cxx - export of Supergraph
SUPERVGUI_ControlNode.cxx - export of MacroNode
asv [Thu, 2 Dec 2004 12:18:14 +0000 (12:18 +0000)]
Removed exportDataflow() function. It was called from SUPERVGUI class only, so the code of the function was just moved there, replacing main->exportDataflow() call.