rahuel [Wed, 16 Feb 2005 14:34:32 +0000 (14:34 +0000)]
GatePorts in Switch
rahuel [Wed, 16 Feb 2005 14:32:15 +0000 (14:32 +0000)]
Trace
rahuel [Wed, 16 Feb 2005 14:31:04 +0000 (14:31 +0000)]
Debug for GatePorts in Switch
rahuel [Wed, 16 Feb 2005 14:27:11 +0000 (14:27 +0000)]
That graphs was wrong : OutPort with ObjRef type was connected to a GatePort without any reason. Now they run
rahuel [Wed, 16 Feb 2005 14:24:19 +0000 (14:24 +0000)]
New Switch tests with Gates
rahuel [Tue, 15 Feb 2005 15:14:14 +0000 (15:14 +0000)]
It was possible to create more than one link from OutPorts of a Switch to the same InPort of the EndSwitch
rahuel [Tue, 15 Feb 2005 15:12:45 +0000 (15:12 +0000)]
In RemoveInPort, if the OutPort was a SwitchPort and if it is not connected, it must be changed to be a InLinePort
rahuel [Tue, 15 Feb 2005 13:28:34 +0000 (13:28 +0000)]
Debug : Links between SwitchNodes and EndSwitchNodes was masked.
rahuel [Tue, 15 Feb 2005 13:26:23 +0000 (13:26 +0000)]
After the destroy of a note we call UnValid instead of IsValid() and there is no error even if the graph is not valid
rahuel [Tue, 15 Feb 2005 13:22:46 +0000 (13:22 +0000)]
Call of ValidSwitchs during validation step
rahuel [Tue, 15 Feb 2005 13:20:32 +0000 (13:20 +0000)]
Traces
rahuel [Tue, 15 Feb 2005 13:18:18 +0000 (13:18 +0000)]
Debug for SwitchNodes in SomeDataReady ( see comments)
Traces and Comments
Debug : some CORBA types was missing for InLinesNodes in DataReady_ExecuteAction
Debugs for SwitchNodes (see comments)
rahuel [Tue, 15 Feb 2005 13:09:44 +0000 (13:09 +0000)]
Valid change of signature : bool argument that means that we have to execute CheckLoop/CheckSwitch or not.
If there is an error at the creation of a link in LoadXml, we continue to load the graph (see comments)
In Valid(), we check now the switches of the graph
rahuel [Tue, 15 Feb 2005 13:06:13 +0000 (13:06 +0000)]
IsValid change of signature : bool argument that means that we have to execute CheckLoop/CheckSwitch or not.
rahuel [Tue, 15 Feb 2005 13:01:35 +0000 (13:01 +0000)]
Method for CheckSwitch feature
rahuel [Tue, 15 Feb 2005 12:58:51 +0000 (12:58 +0000)]
Traces
Methods and fields for CheckSwitch feature
rahuel [Tue, 15 Feb 2005 12:56:36 +0000 (12:56 +0000)]
Debug in RemoveInPort (Kind field)
rahuel [Tue, 15 Feb 2005 12:55:24 +0000 (12:55 +0000)]
Debug in RemoveOutPort
New methods for CheckSwitch feature
rahuel [Tue, 15 Feb 2005 12:52:25 +0000 (12:52 +0000)]
Debugs of ReNameNode (see comments)
Debugs of RemoveNode (see Comments)
PAL7990
Debug in AddLink (see Comments)
New ValidSwitchs method
rahuel [Tue, 15 Feb 2005 12:44:15 +0000 (12:44 +0000)]
CheckSwitch step during validation of graphs
rahuel [Tue, 15 Feb 2005 12:43:05 +0000 (12:43 +0000)]
Value of GatePorts
rahuel [Tue, 15 Feb 2005 12:41:01 +0000 (12:41 +0000)]
CheckSwitch during the validation of graphs
rahuel [Tue, 15 Feb 2005 12:37:11 +0000 (12:37 +0000)]
There was a bug in the fori node (3 output arguments in Initfori function instead of 2).
rahuel [Tue, 15 Feb 2005 12:35:07 +0000 (12:35 +0000)]
New tests of SIGSEGV management
rahuel [Tue, 15 Feb 2005 12:32:50 +0000 (12:32 +0000)]
Many new tests of Switches
rahuel [Tue, 15 Feb 2005 12:27:57 +0000 (12:27 +0000)]
*** empty log message ***
rahuel [Tue, 15 Feb 2005 12:26:01 +0000 (12:26 +0000)]
Many tests of Switch Control and behavior : Validity before execution and control of SwitchPorts at execution time
rahuel [Tue, 15 Feb 2005 12:19:54 +0000 (12:19 +0000)]
Ir is now possible to have an Input Value inside a loop and execution take care now of that behavior (before there was a hangup).
rahuel [Tue, 15 Feb 2005 12:16:09 +0000 (12:16 +0000)]
New tests for Switch behavior and Control
rahuel [Tue, 15 Feb 2005 12:12:53 +0000 (12:12 +0000)]
*** empty log message ***
rahuel [Tue, 15 Feb 2005 12:06:00 +0000 (12:06 +0000)]
Different steps of an edition of a graph
admin [Fri, 28 Jan 2005 12:14:59 +0000 (12:14 +0000)]
This commit was generated by cvs2git to create branch
'JR_ASV_2_1_0_deb_with_KERNEL_Head'.
Cherrypick from master 2005-01-28 12:14:58 UTC asv <asv@opencascade.com> 'New example graphs from Jean Rahuel. Most of them test correct exectution of Switch nodes.':
examples/GraphGOTO1.py
examples/GraphGOTO1.xml
examples/GraphGOTOAborted.py
examples/GraphGOTOAborted.xml
examples/GraphLoopSwitchOfSwitch.py
examples/GraphLoopSwitchOfSwitch.xml
examples/GraphLoopSwitchOfSwitchNOTValid.py
examples/GraphLoopSwitchOfSwitchNOTValid.xml
examples/GraphLoopSwitchs.py
examples/GraphLoopSwitchs.xml
examples/GraphSwitchCheckBranch.py
examples/GraphSwitchCheckBranch.xml
examples/GraphSwitchCheckBranch1.py
examples/GraphSwitchCheckBranch1.xml
examples/GraphSwitchCheckDefault1NOTValid.py
examples/GraphSwitchCheckDefault1NOTValid.xml
examples/GraphSwitchCheckDefault2NOTValid.py
examples/GraphSwitchCheckDefault2NOTValid.xml
examples/GraphSwitchCheckDefault2NOTValid1.py
examples/GraphSwitchCheckDefault2NOTValid1.xml
examples/GraphSwitchCheckDefault2NOTValid2.py
examples/GraphSwitchCheckDefault2NOTValid2.xml
examples/GraphSwitchOutputNOTValid.py
examples/GraphSwitchOutputNOTValid.xml
asv [Thu, 20 Jan 2005 15:35:13 +0000 (15:35 +0000)]
Modifications from last integration into PAL CVS were taken from there and merged into this version. It was a bug with incorrect order of libraries. Please, see comment to PAL7687 for details.
asv [Thu, 20 Jan 2005 15:33:59 +0000 (15:33 +0000)]
Modifications from last integration into PAL CVS were taken from there and merged into this version. Nothing is lost!
asv [Thu, 20 Jan 2005 12:59:27 +0000 (12:59 +0000)]
A modification caused by change of SALOMEDS::Tool interface (accept std::string parameter instead of CORBA::String)
asv [Thu, 20 Jan 2005 12:51:48 +0000 (12:51 +0000)]
Changes were made to make the code compilable with head version of KERNEL. It is compilable and working: execution of InLine nodes works.
Control of execution of Inline nodes - does not work (Kill, Suspend, Resume), because it was implemented using signals, that were caught and handled in Container.
asv [Thu, 20 Jan 2005 11:50:05 +0000 (11:50 +0000)]
Minor changes in various source files to remove compilation warnings (unused variables, non void function reaches end of control of execution, etc..)
mkr [Thu, 20 Jan 2005 10:14:15 +0000 (10:14 +0000)]
Correct Thread placing if any node was deleted
in Full view.
mkr [Wed, 19 Jan 2005 13:59:36 +0000 (13:59 +0000)]
Fix the following cases:
1) closing dataflow window in Table view leads to exception,
2) node's deletion in Full view and then switching to Table
view leads to exception,
3) remove unnecessary COUTs and MESSAGEs.
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.