asv [Tue, 18 Jan 2005 08:37:49 +0000 (08:37 +0000)]
A lot of unneccessary "cout"-s and MESSAGE()-s were removed.
rahuel [Mon, 17 Jan 2005 13:10:47 +0000 (13:10 +0000)]
That graph was wrong : 2 branches of the SwitchNode were executed at the same time ; that is not allowed. It is now corrected : there is only 2 brnaches now.
rahuel [Mon, 17 Jan 2005 13:03:43 +0000 (13:03 +0000)]
Execution of graphs with GOTONodes
asv [Fri, 14 Jan 2005 11:49:54 +0000 (11:49 +0000)]
Allow to create links to/from "default" ports of switch node in LinkBuilder::canCreateEngine() function.
asv [Fri, 14 Jan 2005 07:01:34 +0000 (07:01 +0000)]
A bug was fixed: paste of inline node with EMPTY function raised exception. Now it is fixed.
rahuel [Thu, 13 Jan 2005 15:34:37 +0000 (15:34 +0000)]
Traces
rahuel [Thu, 13 Jan 2005 15:23:17 +0000 (15:23 +0000)]
Debug : an OutPort connected to a Gate may only be connected again to a Gate of an other node
Debug : RemoveLink of a link to an EndSwitchNode was wrong
rahuel [Thu, 13 Jan 2005 13:39:36 +0000 (13:39 +0000)]
Graphs for tests of Switchs
rahuel [Wed, 12 Jan 2005 13:51:03 +0000 (13:51 +0000)]
Loop with negative values
rahuel [Wed, 12 Jan 2005 13:35:31 +0000 (13:35 +0000)]
More than one branch of a switch is activated, the SwitchNode is aborted
rahuel [Wed, 12 Jan 2005 13:33:48 +0000 (13:33 +0000)]
If more than one branch of a switch is activated, the SwitchNode is aborted
rahuel [Wed, 12 Jan 2005 12:59:32 +0000 (12:59 +0000)]
The final values of InPorts of EndSwitchNodes in a loop may be wrong
rahuel [Wed, 12 Jan 2005 12:53:27 +0000 (12:53 +0000)]
Traces
rahuel [Wed, 12 Jan 2005 12:49:31 +0000 (12:49 +0000)]
InitLoop and DoLoop parameters names
rahuel [Wed, 12 Jan 2005 12:46:58 +0000 (12:46 +0000)]
Graph with Switch with two branches and in a Loop
rahuel [Wed, 12 Jan 2005 12:45:43 +0000 (12:45 +0000)]
Graph with C++ Components loaded in the SuperVisionContainer
asv [Wed, 12 Jan 2005 11:37:53 +0000 (11:37 +0000)]
A small bug was fixed: when library is not accessible (library file not found, etc.), the Library dialog with empty list of library nodes was still shown. Now a new method Library::CanImport() is introduced. It is called BEFORE showing the dialog, if it returns false - dialog is not shown.
asv [Tue, 11 Jan 2005 13:38:09 +0000 (13:38 +0000)]
"InitLoop" port name changed to "DoLoop". This change was implemented in the Engine's code as well. "DoLoop" is the correct name of "hidden" port of Loops.
asv [Tue, 11 Jan 2005 13:37:11 +0000 (13:37 +0000)]
The convert obj_ref to different types example was modified. It is prohibited now to convert obj_ref to any type exept string.
asv [Tue, 11 Jan 2005 10:53:17 +0000 (10:53 +0000)]
The following bug was fixed:
for Loop node, removal of an Input Port automatically removes the corresponding Output Port. So for Loops the oldPorts list (removed before creation of new ports) should be filtered to include only Input Ports.
mkr [Tue, 11 Jan 2005 08:17:09 +0000 (08:17 +0000)]
Modifications for automatically rename EndControl node then
StartControl node's name is changed.
asv [Mon, 10 Jan 2005 10:43:27 +0000 (10:43 +0000)]
A constructor and destructor added.
A bug was fixed: replacement of ALL occurances of function name in the node's code, NOT only in "def Func_Name():" line.
asv [Mon, 10 Jan 2005 10:42:16 +0000 (10:42 +0000)]
A constructor with parent argument added, the default static creation function takes QAD_Desktop as a parent.
asv [Mon, 10 Jan 2005 06:20:24 +0000 (06:20 +0000)]
Creation of "read only" graph by GraphE() function was modified. try construct added as it is done in "normal" graph creation in Graph() function.
asv [Mon, 10 Jan 2005 06:17:28 +0000 (06:17 +0000)]
replacement "on the fly" (during the call) of "InitLoop" port by "DoLoop" port is commented out. Please, see the comment in the code (use diff with previous version).
asv [Mon, 10 Jan 2005 06:13:52 +0000 (06:13 +0000)]
Copy/Paste ports and nodes functionality was transfered to SUPERVGUI_Clipboard class. All references to the functions in various classes were modified to reflect this change.
rahuel [Fri, 7 Jan 2005 15:15:05 +0000 (15:15 +0000)]
Gates were not properly handled in Loops ; now they are
Input Values of ports were allowd but were not properly handled : now they are
See GraphInputLoop in examples
See GraphLoopGates and GraphLoopsGates in example
rahuel [Fri, 7 Jan 2005 14:49:51 +0000 (14:49 +0000)]
Test with Loop(s) and with Inputs and Outputs inside the loop and only with links between Gates
rahuel [Fri, 7 Jan 2005 14:48:01 +0000 (14:48 +0000)]
Test with a Loop and with Inputs and Outputs inside the loop
rahuel [Thu, 6 Jan 2005 15:29:28 +0000 (15:29 +0000)]
PAL7120 : debug of destroy of Loop/EndLoop Nodes ; destroy of Switch/EndSwitch Nodes.
rahuel [Tue, 4 Jan 2005 11:55:59 +0000 (11:55 +0000)]
Kill of InLineNodes error (except LoopNodes)
mkr [Wed, 29 Dec 2004 13:35:39 +0000 (13:35 +0000)]
Point 2.3 of "SUPERVISOR: Current state - bugs/improvements":
disable popup menu items "Copy Node" and "Paste Port"
if Loop or Switch node has been copied and then delete
before paste operation.
mkr [Wed, 29 Dec 2004 12:40:59 +0000 (12:40 +0000)]
Point 2.3 of "SUPERVISOR: current status - bugs/improvements" :
correcting naming of the "InLine" nodes during copy/paste.
mkr [Wed, 29 Dec 2004 11:36:50 +0000 (11:36 +0000)]
Point 2.3 of "SUPERVISOR: Current state - bugs/improvements" :
enable popup menu item "Copy Node" on EndLoop and EndSwitch nodes,
disable popup menu items "Paste Port" and "Paste Node" if port and node,
which has been copied, were deleted respectively.
asv [Wed, 29 Dec 2004 11:23:24 +0000 (11:23 +0000)]
The internal predefined port of a LOOP node was renamed from "InitLoop" to "DoLoop" in the Supervisor Engine. This change influenced all graphs that contain Loops - they must be changed, all references to "InitLoop" port must be replaced with "DoLoop" port in PY and XML files.
asv [Wed, 29 Dec 2004 11:20:41 +0000 (11:20 +0000)]
Methods ReRun(), ReRunAt(), ReStart(), ReStartAt() were removed from CNode's interface. These methods are called in GraphSyracuse* python scripts - decided to remove them with the corresponding XML graphs.
asv [Wed, 29 Dec 2004 07:51:03 +0000 (07:51 +0000)]
Error with incorrect popup items ("Edit Function" appeard even for Factory nodes) is fixed.
asv [Tue, 28 Dec 2004 10:57:54 +0000 (10:57 +0000)]
Methods ReStart(), ReRun(), ReStartAt(), ReRunAt() were removed, since they were removed from SUPERV.idl
mkr [Tue, 28 Dec 2004 08:37:12 +0000 (08:37 +0000)]
Remove some warnings from compilation process.
mkr [Tue, 28 Dec 2004 08:34:59 +0000 (08:34 +0000)]
Implementation of point 2.3. from
"SUPERVISOR: Current status - bugs/impovements"
document : Copy/paste nodes, ports.
asv [Tue, 28 Dec 2004 07:01:33 +0000 (07:01 +0000)]
New messages for Library functionality.
asv [Tue, 28 Dec 2004 07:01:10 +0000 (07:01 +0000)]
Import and Export of InLine nodes to Library (external file) is implemented. This integration has all functionality done.
asv [Fri, 24 Dec 2004 13:26:26 +0000 (13:26 +0000)]
An improvement for adding a library node: it will use addNode() function, so creation of a PythonEditPane and LibDlg must take Service::myX, myY as arguments for future modification (on Add node command).
asv [Fri, 24 Dec 2004 13:24:51 +0000 (13:24 +0000)]
A new functionality: Import/Export Inline nodes to Library is implemented. CanvasNode modification: add a popup command to call "Export to Library" on an InLine node.
asv [Fri, 24 Dec 2004 12:55:06 +0000 (12:55 +0000)]
Adding a Node to viewport is unified: one common method addNode() is created in Service to be called form all places where Engine's nodes are created (Paste, Library, etc.)
Messages are modified as usual: new messages were added.
asv [Fri, 24 Dec 2004 05:23:48 +0000 (05:23 +0000)]
IsEqual() is added to Link_Impl
asv [Thu, 23 Dec 2004 13:47:40 +0000 (13:47 +0000)]
An improvement on link creation: if a link already exists between the ports, then on new link creation it is removed, and new link is created. If link already exists - is important check for Input Gate ports, which can accept many incoming links.
mkr [Thu, 23 Dec 2004 13:45:49 +0000 (13:45 +0000)]
Point 2.6 from "SUPERVISOR: Current status - bugs/improvements" :
implementation of "Fit within rectangle" functionality.
asv [Wed, 22 Dec 2004 11:20:26 +0000 (11:20 +0000)]
An improvement on link creation: if a link already exists between the ports, then on new link creation it is removed, and new link is created. If link already exists - is important check for Input Gate ports, which can accept many incoming links.
asv [Tue, 21 Dec 2004 12:59:07 +0000 (12:59 +0000)]
indentation of Python code in Python editor pane is implemented.
mkr [Tue, 21 Dec 2004 08:30:40 +0000 (08:30 +0000)]
Point 2.12 from "SUPERVISOR: Current status - bugs/improvements"
document : Move segment of link.
asv [Mon, 20 Dec 2004 11:40:02 +0000 (11:40 +0000)]
The previous version had syntax error on line 1293, now it was fixed.
rahuel [Fri, 17 Dec 2004 15:34:44 +0000 (15:34 +0000)]
Execution Control and Loops
rahuel [Fri, 17 Dec 2004 15:25:58 +0000 (15:25 +0000)]
Execution Control and Loops
mkr [Thu, 16 Dec 2004 12:33:43 +0000 (12:33 +0000)]
Point 2.8 of "SUPERVISOR: Current status - bugs/improvements":
Adding node to graph window with taking into account zoom factor.
asv [Wed, 15 Dec 2004 12:28:57 +0000 (12:28 +0000)]
PAL7385 (Bugs and Improvements p2.5) was fixed. Output Gate ports added to Loop and EndLoop nodes.
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:55 +0000 (11:20 +0000)]
Removed use of deprecated constants from SUPERV namespace: ReRunEvent, ReStartEvent, ReRunState, ReStartState.
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).
mkr [Tue, 14 Dec 2004 13:30:17 +0000 (13:30 +0000)]
Remove dublicate "Canvas Table" menu item from dataflow view popup menu.
asv [Tue, 14 Dec 2004 11:51:52 +0000 (11:51 +0000)]
"Loading" state is set ONLY for Computing and Factory nodes. Decided NOT to set it for InLine nodes (described in last comment to 2.16).
rahuel [Tue, 14 Dec 2004 09:21:56 +0000 (09:21 +0000)]
Restore IsLoading (CVS problem)
rahuel [Tue, 14 Dec 2004 09:11:28 +0000 (09:11 +0000)]
IsLoading(bool) was missing
asv [Tue, 14 Dec 2004 06:54:32 +0000 (06:54 +0000)]
Bug fix: don't set "Loading" state for MacroNodes in InitialState() function (called for every node before execution).
asv [Tue, 14 Dec 2004 06:53:02 +0000 (06:53 +0000)]
Check for link validity (compatibility of ports' types) is added on link creation.
asv [Tue, 14 Dec 2004 06:52:20 +0000 (06:52 +0000)]
"Loading" state added to presentation of node in array view.
asv [Tue, 14 Dec 2004 06:50:49 +0000 (06:50 +0000)]
Bugs that lead to crashes were fixed (addressed zero item in itemChanged()).
asv [Tue, 14 Dec 2004 06:49:47 +0000 (06:49 +0000)]
Check of types of linked ports compatibility was implemented. 1.16 of "Bugs and Improvements", PAL7380.
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.
mkr [Fri, 10 Dec 2004 13:55:46 +0000 (13:55 +0000)]
Add functionality for Table view based on QCanvas.
rahuel [Fri, 10 Dec 2004 13:07:52 +0000 (13:07 +0000)]
In case of error in a Python InLineNode in the SuperVisionContainer, Kill_impl() ===> Reset of ThreadId
Traces
rahuel [Fri, 10 Dec 2004 13:06:14 +0000 (13:06 +0000)]
In case of error in a Container, Kill_impl() ===> Reset of ThreadId
rahuel [Fri, 10 Dec 2004 13:04:14 +0000 (13:04 +0000)]
Traces
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 12:51:25 +0000 (12:51 +0000)]
2) new Editing() method of Graph added.
3) new IsValid() method of Link added.
asv [Fri, 10 Dec 2004 12:50:30 +0000 (12:50 +0000)]
1) new SUPERV::GraphState -- LoadingState added.
2) new Editing() method of Graph added.
3) new IsValid() method of Link added.
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:53:20 +0000 (07:53 +0000)]
A new popup menu item and new slot are added to the class to display "Edit Ports" dialog. Please, refer to PAL7384 for details.
asv [Thu, 9 Dec 2004 07:42:04 +0000 (07:42 +0000)]
New messages for "Edit Ports" dialog
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 14:06:31 +0000 (14:06 +0000)]
If there is an executor, values of ports are from the Executor.
If there is no Executor, values are from the Editor object.
rahuel [Wed, 8 Dec 2004 13:47:35 +0000 (13:47 +0000)]
Editing() : ASV
rahuel [Wed, 8 Dec 2004 13:45:07 +0000 (13:45 +0000)]
Log files in /tmp/logs/${USER}/ : ASV
rahuel [Wed, 8 Dec 2004 13:42:14 +0000 (13:42 +0000)]
Editing() : ASV
rahuel [Wed, 8 Dec 2004 13:40:54 +0000 (13:40 +0000)]
Remove of CasCatch
rahuel [Wed, 8 Dec 2004 13:39:51 +0000 (13:39 +0000)]
Remove of CasCatch handler and execution of python function in the main thread in the class Container.
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:34:22 +0000 (13:34 +0000)]
SuperVisionContainer method and Main Thread Identification for calls to pthread_kill to manage Python functions execution
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.
rahuel [Wed, 8 Dec 2004 12:58:28 +0000 (12:58 +0000)]
Python execution management : Lock/Unlock
rahuel [Wed, 8 Dec 2004 12:48:08 +0000 (12:48 +0000)]
Executing()/Editing() methods : ASV
rahuel [Wed, 8 Dec 2004 12:45:32 +0000 (12:45 +0000)]
Traces
rahuel [Wed, 8 Dec 2004 12:44:09 +0000 (12:44 +0000)]
*** empty log message ***