enable visual leak detector in all projects ( on windows and debug mode only ) 91/16391/3
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Wed, 22 Apr 2015 07:20:57 +0000 (09:20 +0200)
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Wed, 22 Apr 2015 14:07:55 +0000 (15:07 +0100)
commit3fac5574b452d7dcab205cc596871c451a06ecfb
tree82795d32858c6a189f0c7f915cbb21b3380d920c
parent4e3f02430172d49e8a0e0417d746e53ccc998684
enable visual leak detector in all projects ( on windows and debug mode only )
fix ast, elementary_functions, string tests memory leaks.

to use it :
 - install Visual Leak Detector ( https://vld.codeplex.com/releases )
 - add path in Visual Studio Configuration ( https://vld.codeplex.com/wikipage?title=Using%20Visual%20Leak%20Detector&referringTitle=Documentation )
 - add preprocessor flag DEBUG_VLD in Property Manager Configuration of Visual Studio.
 - Rebuild and play !

Change-Id: Icc6d7449a3e8f4f11dcb752f75805e5ba5fa5f3f
126 files changed:
scilab/modules/action_binding/src/c/DllmainAction_Binding.c
scilab/modules/api_scilab/src/c/DllmainApi_scilab.c
scilab/modules/arnoldi/src/c/DllmainArnoldi.c
scilab/modules/ast/src/cpp/ast/runvisitor.cpp
scilab/modules/ast/src/cpp/ast/treevisitor.cpp
scilab/modules/ast/src/cpp/ast/visitor_common.cpp
scilab/modules/ast/tests/unit_tests/insert.tst
scilab/modules/ast/tests/unit_tests/sci_newtype.cpp
scilab/modules/boolean/src/c/DllmainBoolean.c
scilab/modules/cacsd/src/c/DllmainCacsd.c
scilab/modules/call_scilab/src/c/DllmainCall_scilab.c
scilab/modules/commons/src/c/DllmainCommons.c
scilab/modules/completion/src/cpp/DllmainCompletion.cpp
scilab/modules/console/src/c/DllmainConsole.c
scilab/modules/core/sci_gateway/cpp/sci_macr2tree.cpp
scilab/modules/core/src/c/DllmainCore.c
scilab/modules/core/src/cpp/InitScilab.cpp
scilab/modules/data_structures/sci_gateway/cpp/sci_getfield.cpp
scilab/modules/data_structures/src/c/DllmainData_structures.c
scilab/modules/differential_equations/includes/differentialequationfunctions.hxx
scilab/modules/differential_equations/sci_gateway/cpp/sci_bvode.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_daskr.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_dasrt.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_dassl.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_feval.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_impl.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_int2d.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_int3d.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_intg.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_ode.cpp
scilab/modules/differential_equations/sci_gateway/cpp/sci_odedc.cpp
scilab/modules/differential_equations/src/c/DllmainDifferential_equations.c
scilab/modules/differential_equations/src/cpp/differentialequationfunctions.cpp
scilab/modules/dynamic_link/src/c/DllmainDynamic_link.c
scilab/modules/elementary_functions/sci_gateway/c/sci_number_properties.c
scilab/modules/elementary_functions/sci_gateway/cpp/elem_func_gw.cpp
scilab/modules/elementary_functions/src/c/DllmainElementary_functions.c
scilab/modules/external_objects_java/src/cpp/dllMain.cpp
scilab/modules/fftw/src/c/DllmainFttw.c
scilab/modules/fileio/sci_gateway/cpp/sci_getrelativefilename.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_mget.cpp
scilab/modules/fileio/src/c/DllmainFileio.c
scilab/modules/functions/src/c/DllmainFunctions.c
scilab/modules/graphic_export/src/c/DllmainGraphics_export.c
scilab/modules/graphic_objects/Makefile.am
scilab/modules/graphic_objects/Makefile.in
scilab/modules/graphic_objects/includes/DataModel.hxx
scilab/modules/graphic_objects/src/c/graphic_objects.vcxproj
scilab/modules/graphic_objects/src/c/graphic_objects.vcxproj.filters
scilab/modules/graphic_objects/src/cpp/DllmainGraphic_objects.cpp [new file with mode: 0644]
scilab/modules/graphic_objects/src/cpp/ScilabView.cpp
scilab/modules/graphic_objects/src/cpp/dataModel.cpp
scilab/modules/graphic_objects/src/nographic_objects/Dllmainnographic_objects.c [moved from scilab/modules/graphic_objects/src/c/DllmainGraphic_objects.c with 84% similarity]
scilab/modules/graphic_objects/src/nographic_objects/nographic_objects.vcxproj
scilab/modules/graphic_objects/src/nographic_objects/nographic_objects.vcxproj.filters
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/graphics/sci_gateway/c/sci_set.c
scilab/modules/graphics/src/c/DllmainGraphics.c
scilab/modules/graphics/src/c/InitObjects.c
scilab/modules/graphics/src/c/Plo2dn.c
scilab/modules/graphics/src/c/addColor.c
scilab/modules/graphics/src/c/getHandleProperty/get_position_property.c
scilab/modules/gui/sci_gateway/c/sci_figure.c
scilab/modules/gui/sci_gateway/c/sci_uicontrol.c
scilab/modules/gui/src/c/DllmainGUI.c
scilab/modules/gui/src/cpp/GetUicontrolString.cpp
scilab/modules/gui/src/cpp/GetUicontrolTooltipString.cpp
scilab/modules/gui/src/cpp/GetUicontrolUnits.cpp
scilab/modules/hdf5/src/c/DllmainHdf5.c
scilab/modules/helptools/src/c/DllmainHelptools.c
scilab/modules/history_browser/src/c/DllmainHISTORY_BROWSER.c
scilab/modules/history_manager/src/c/DllmainHistory_Manager.c
scilab/modules/integer/src/c/DllmainInteger.c
scilab/modules/interpolation/src/c/DllmainInterpolation.c
scilab/modules/io/sci_gateway/c/sci_getenv.c
scilab/modules/io/src/c/DllmainIo.c
scilab/modules/io/src/c/getenvc.c
scilab/modules/javasci/src/c/DllmainJavasci.c
scilab/modules/jvm/src/c/DllmainJvm.c
scilab/modules/jvm/src/c/JVM.c
scilab/modules/linear_algebra/src/c/DllmainLinear_algebra.c
scilab/modules/linear_algebra/src/c/eigen.c
scilab/modules/localization/src/c/DllmainLocalization.c
scilab/modules/matio/src/c/DllmainMatio.c
scilab/modules/mpi/src/c/DllmainMpi.c
scilab/modules/optimization/src/c/DllmainOptimization.c
scilab/modules/output_stream/src/c/DllmainOutput_Stream.c
scilab/modules/parallel/src/c/DllmainParallel.c
scilab/modules/parameters/src/c/DllmainParameters.c
scilab/modules/polynomials/sci_gateway/cpp/sci_roots.cpp
scilab/modules/polynomials/src/c/DllmainPolynomial.c
scilab/modules/preferences/src/c/DllmainPreferences.c
scilab/modules/randlib/src/c/DllmainRandlib.c
scilab/modules/renderer/src/c/DllmainRenderer.c
scilab/modules/scicos/src/c/DllmainScicos.c
scilab/modules/scicos_blocks/src/c/DllmainScicos_blocks.c
scilab/modules/scinotes/src/c/DllmainSCINOTES.c
scilab/modules/signal_processing/src/c/DllmainSignal_processing.c
scilab/modules/sound/src/c/DllmainSound.c
scilab/modules/sparse/src/c/DllmainSparse.c
scilab/modules/special_functions/src/c/DllmainSpecial_functions.c
scilab/modules/spreadsheet/src/c/DllmainSpreadsheet.c
scilab/modules/statistics/src/c/DllMainStatistics.c
scilab/modules/string/sci_gateway/cpp/sci_ascii.cpp
scilab/modules/string/sci_gateway/cpp/sci_grep.cpp
scilab/modules/string/sci_gateway/cpp/sci_isalphanum.cpp
scilab/modules/string/sci_gateway/cpp/sci_isascii.cpp
scilab/modules/string/sci_gateway/cpp/sci_isdigit.cpp
scilab/modules/string/sci_gateway/cpp/sci_isletter.cpp
scilab/modules/string/sci_gateway/cpp/sci_regexp.cpp
scilab/modules/string/sci_gateway/cpp/sci_strcat.cpp
scilab/modules/string/sci_gateway/cpp/sci_strcmp.cpp
scilab/modules/string/sci_gateway/cpp/sci_strsplit.cpp
scilab/modules/string/sci_gateway/cpp/string_gw.cpp
scilab/modules/string/src/c/DllMainString.c
scilab/modules/string/src/c/pcre_private.c
scilab/modules/symbolic/src/c/DllmainSymbolic.c
scilab/modules/tclsci/src/c/DllMainTclsci.c
scilab/modules/time/src/c/DllmainTime.c
scilab/modules/ui_data/src/c/DllmainUi_data.c
scilab/modules/umfpack/src/c/DllMainUmfpack.c
scilab/modules/windows_tools/src/c/DllmainWindows_Tools.c
scilab/modules/windows_tools/src/c/scilab_windows/DllmainScilab_Windows.c
scilab/modules/xcos/src/c/DllmainXCOS.c
scilab/modules/xml/src/c/DllmainXml.c