Xcos: improve the error reporting to be Xcos only. 03/3803/9
authorClément DAVID <clement.david@scilab.org>
Thu, 31 Mar 2011 09:09:34 +0000 (11:09 +0200)
committerSylvestre Ledru <sylvestre.ledru@scilab.org>
Wed, 15 Jun 2011 15:02:01 +0000 (17:02 +0200)
commit078e7be0de9dc84c0adc9d5609958673d1f96009
tree1ba661dfc1affa14a22af435ca352640e6898b0a
parentf21e973f6891dfc7064898a62df3343e122e9786
Xcos: improve the error reporting to be Xcos only.

Errors: flow checking
type and size checking
Coserror reports

Fix setvalue.sci to reflect scicos_getvalue after ae58a748

Bug: 5444
Bug: 9336
Change-Id: I26a56c32677535b017435bbfb92e4ca98d480a27
64 files changed:
scilab/CHANGES_5.4.X
scilab/modules/scicos/macros/scicos_auto/scicos_simulate.sci
scilab/modules/scicos/macros/scicos_scicos/bad_connection.sci
scilab/modules/scicos/macros/scicos_scicos/c_pass2.sci
scilab/modules/scicos/macros/scicos_scicos/delete_unconnected.sci
scilab/modules/scicos/macros/scicos_scicos/do_delete1.sci
scilab/modules/scicos/macros/scicos_scicos/get_errorcmd.sci
scilab/modules/scicos/macros/scicos_scicos/hilite_modelica_block.sci
scilab/modules/scicos/macros/scicos_scicos/hilite_mult_objs.sci
scilab/modules/scicos/macros/scicos_scicos/hilite_obj.sci
scilab/modules/scicos/macros/scicos_scicos/hilite_path.sci
scilab/modules/scicos/macros/scicos_scicos/prt_align.sci
scilab/modules/scicos/macros/scicos_scicos/scicos_flat.sci
scilab/modules/scicos/macros/scicos_scicos/setvalue.sci
scilab/modules/scicos/macros/scicos_scicos/unhilite_modelica_block.sci
scilab/modules/scicos/macros/scicos_scicos/unhilite_obj.sci
scilab/modules/xcos/Makefile.am
scilab/modules/xcos/Makefile.in
scilab/modules/xcos/macros/closeDiagramPath.sci [deleted file]
scilab/modules/xcos/macros/errorDiagramPath.sci [deleted file]
scilab/modules/xcos/macros/openDiagramPath.sci [deleted file]
scilab/modules/xcos/macros/xcosClearBlockWarning.sci [deleted file]
scilab/modules/xcos/macros/xcosCodeGeneration.sci
scilab/modules/xcos/macros/xcos_close.sci [deleted file]
scilab/modules/xcos/macros/xcos_compile.sci
scilab/modules/xcos/macros/xcos_open.sci [deleted file]
scilab/modules/xcos/macros/xcos_simulate.sci
scilab/modules/xcos/sci_gateway/c/gw_xcos.c
scilab/modules/xcos/sci_gateway/cpp/sci_warnBlockByUID.cpp
scilab/modules/xcos/sci_gateway/cpp/sci_xcosDiagramClose.cpp [deleted file]
scilab/modules/xcos/sci_gateway/cpp/sci_xcosDiagramOpen.cpp [deleted file]
scilab/modules/xcos/sci_gateway/xcos_gateway.xml
scilab/modules/xcos/src/cpp/xcosUtilities.cpp
scilab/modules/xcos/src/java/org/scilab/modules/xcos/Xcos.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BasicBlockInfo.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/DiagramElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/InputPortElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/LinkElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/OutputPortElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/link/BasicLink.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/port/BasicPort.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosMessages.java
scilab/modules/xcos/src/jni/Xcos.cpp
scilab/modules/xcos/src/jni/Xcos.giws.xml
scilab/modules/xcos/src/jni/Xcos.hxx
scilab/modules/xcos/tests/nonreg_tests/bug_5444.tst
scilab/modules/xcos/tests/nonreg_tests/bug_5444.xcos
scilab/modules/xcos/tests/unit_tests/error_blocks_with_undefined_input.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_blocks_with_undefined_input_on_sb.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_from_without_goto.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_from_without_goto_on_sb.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_goto_same_tag.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_goto_same_tag_on_sb.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_on_block.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_port_block_on_diagram.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_ports_with_incompatible_size.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_ports_with_incompatible_size_on_sb.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_ports_with_negative_size.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_ports_with_negative_size_on_sb.xcos [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_reporting.tst [new file with mode: 0644]
scilab/modules/xcos/tests/unit_tests/error_unconnected_sb_input.xcos [new file with mode: 0644]