Attack of the Clones 93/17493/12
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Tue, 24 Nov 2015 11:09:39 +0000 (12:09 +0100)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Mon, 14 Dec 2015 16:21:10 +0000 (17:21 +0100)
commit8a3d0f600773eebfa2cbe3b86d11cb5be2ebbf9c
tree1bdefaba9837314b707678b603fac07e57d287b3
parenta4d5adad237afde00fc3d514595ddc7f67ff0dfe
Attack of the Clones

 * check types ref before modify it
 * use more polymorphism stuff
 * clone return this type instead of InternalType

Change-Id: I1a267a1eabc5b8a40592c7292c37cf7fcdedb072
74 files changed:
scilab/modules/api_scilab/includes/api_variable.hxx
scilab/modules/api_scilab/src/cpp/api_internal_error.hxx
scilab/modules/api_scilab/src/cpp/api_list_cpp.cpp
scilab/modules/api_scilab/src/cpp/template/api_boolean.hpp
scilab/modules/api_scilab/src/cpp/template/api_cell.hpp
scilab/modules/api_scilab/src/cpp/template/api_handle.hpp
scilab/modules/api_scilab/src/cpp/template/api_list.hpp
scilab/modules/ast/includes/ast/debuggervisitor.hxx
scilab/modules/ast/includes/symbol/variables.hxx
scilab/modules/ast/includes/types/arrayof.hxx
scilab/modules/ast/includes/types/bool.hxx
scilab/modules/ast/includes/types/cell.hxx
scilab/modules/ast/includes/types/double.hxx
scilab/modules/ast/includes/types/function.hxx
scilab/modules/ast/includes/types/graphichandle.hxx
scilab/modules/ast/includes/types/implicitlist.hxx
scilab/modules/ast/includes/types/int.hxx
scilab/modules/ast/includes/types/internal.hxx
scilab/modules/ast/includes/types/library.hxx
scilab/modules/ast/includes/types/list.hxx
scilab/modules/ast/includes/types/listdelete.hxx
scilab/modules/ast/includes/types/listinsert.hxx
scilab/modules/ast/includes/types/listoperation.hxx
scilab/modules/ast/includes/types/listundefined.hxx
scilab/modules/ast/includes/types/macro.hxx
scilab/modules/ast/includes/types/macrofile.hxx
scilab/modules/ast/includes/types/mlist.hxx
scilab/modules/ast/includes/types/pointer.hxx
scilab/modules/ast/includes/types/polynom.hxx
scilab/modules/ast/includes/types/sparse.hxx
scilab/modules/ast/includes/types/string.hxx
scilab/modules/ast/includes/types/struct.hxx
scilab/modules/ast/includes/types/threadId.hxx
scilab/modules/ast/includes/types/tlist.hxx
scilab/modules/ast/includes/types/types.hxx
scilab/modules/ast/includes/types/types_tools.hxx
scilab/modules/ast/includes/types/user.hxx
scilab/modules/ast/includes/types/void.hxx
scilab/modules/ast/src/cpp/ast/run_OpExp.hpp
scilab/modules/ast/src/cpp/ast/visitor_common.cpp
scilab/modules/ast/src/cpp/types/arrayof.cpp
scilab/modules/ast/src/cpp/types/bool.cpp
scilab/modules/ast/src/cpp/types/cell.cpp
scilab/modules/ast/src/cpp/types/double.cpp
scilab/modules/ast/src/cpp/types/function.cpp
scilab/modules/ast/src/cpp/types/graphichandle.cpp
scilab/modules/ast/src/cpp/types/implicitlist.cpp
scilab/modules/ast/src/cpp/types/library.cpp
scilab/modules/ast/src/cpp/types/list.cpp
scilab/modules/ast/src/cpp/types/listdelete.cpp
scilab/modules/ast/src/cpp/types/listinsert.cpp
scilab/modules/ast/src/cpp/types/listoperation.cpp
scilab/modules/ast/src/cpp/types/listundefined.cpp
scilab/modules/ast/src/cpp/types/macro.cpp
scilab/modules/ast/src/cpp/types/macrofile.cpp
scilab/modules/ast/src/cpp/types/polynom.cpp
scilab/modules/ast/src/cpp/types/sparse.cpp
scilab/modules/ast/src/cpp/types/string.cpp
scilab/modules/ast/src/cpp/types/struct.cpp
scilab/modules/ast/src/cpp/types/threadId.cpp
scilab/modules/ast/src/cpp/types/tlist.cpp
scilab/modules/ast/src/cpp/types/types_tools.cpp
scilab/modules/ast/src/cpp/types/void.cpp
scilab/modules/ast/tests/unit_tests/newtype.hxx
scilab/modules/core/sci_gateway/cpp/sci_what.cpp
scilab/modules/external_objects/src/cpp/EOType.hxx
scilab/modules/fftw/src/cpp/fftw_common.hxx
scilab/modules/fileio/sci_gateway/cpp/sci_mfprintf.cpp
scilab/modules/linear_algebra/src/cpp/scischur.cpp
scilab/modules/scicos/sci_gateway/cpp/sci_callblk.cpp
scilab/modules/scicos/src/cpp/extractblklist.cpp
scilab/modules/scicos/src/cpp/view_scilab/BaseAdapter.hxx
scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp
scilab/modules/xcos/sci_gateway/cpp/sci_xcosCellCreated.cpp