fix Windows warning about string functions and merge os_xxxx.h in one file 01/15801/5
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Tue, 13 Jan 2015 09:32:52 +0000 (10:32 +0100)
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Tue, 13 Jan 2015 14:39:29 +0000 (15:39 +0100)
commit3f10a3921a3b0499583e8068abc491fc55114946
treed2d08686667377eb7ae690e5bf19c94208ace5e1
parentb6437494e532cc3cd21c721f6079d7fb78c5c256
fix Windows warning about string functions and merge os_xxxx.h in one file

Change-Id: I828fd64bbbe04030faa7a70a6b0259f573d0dcd7
301 files changed:
scilab/modules/api_scilab/src/cpp/api_error.cpp
scilab/modules/api_scilab/src/cpp/api_string.cpp
scilab/modules/ast/includes/ast/runvisitor.hxx
scilab/modules/ast/includes/operations/types_addition.hxx
scilab/modules/ast/includes/operations/types_transposition.hxx
scilab/modules/ast/includes/types/arrayof.hxx
scilab/modules/ast/includes/types/tostring_common.hxx
scilab/modules/ast/src/cpp/ast/runvisitor.cpp
scilab/modules/ast/src/cpp/operations/types_addition.cpp
scilab/modules/ast/src/cpp/operations/types_and.cpp
scilab/modules/ast/src/cpp/operations/types_or.cpp
scilab/modules/ast/src/cpp/parse/parser.cpp
scilab/modules/ast/src/cpp/symbol/context.cpp
scilab/modules/ast/src/cpp/system_env/configvariable.cpp
scilab/modules/ast/src/cpp/system_env/home.cpp
scilab/modules/ast/src/cpp/system_env/sci_home.cpp
scilab/modules/ast/src/cpp/system_env/sci_path.cpp
scilab/modules/ast/src/cpp/system_env/sci_tmpdir.cpp
scilab/modules/ast/src/cpp/system_env/setenvvar.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/library.cpp
scilab/modules/ast/src/cpp/types/list.cpp
scilab/modules/ast/src/cpp/types/macro.cpp
scilab/modules/ast/src/cpp/types/overload.cpp
scilab/modules/ast/src/cpp/types/singlepoly.cpp
scilab/modules/ast/src/cpp/types/string.cpp
scilab/modules/ast/src/cpp/types/threadId.cpp
scilab/modules/ast/src/cpp/types/tlist.cpp
scilab/modules/ast/src/cpp/types/tostring_common.cpp
scilab/modules/ast/src/cpp/types/types.cpp
scilab/modules/ast/src/cpp/types/types_tools.cpp
scilab/modules/boolean/sci_gateway/cpp/sci_and.cpp
scilab/modules/boolean/sci_gateway/cpp/sci_or.cpp
scilab/modules/call_scilab/call_scilab.vcxproj
scilab/modules/call_scilab/src/c/SendScilabJobs.c
scilab/modules/call_scilab/src/c/call_scilab.c
scilab/modules/commons/Makefile.am
scilab/modules/commons/Makefile.in
scilab/modules/commons/src/c/commons.vcxproj
scilab/modules/commons/src/c/fileutils.c
scilab/modules/completion/src/c/completeLine.c
scilab/modules/completion/src/c/completion.c
scilab/modules/completion/src/c/completion_generic.c
scilab/modules/completion/src/c/getCommonPart.c
scilab/modules/completion/src/c/getPartLine.c
scilab/modules/completion/src/cpp/EOFieldsGetter.hxx
scilab/modules/completion/src/cpp/HandleFieldsGetter.hxx
scilab/modules/completion/src/cpp/StructFieldsGetter.hxx
scilab/modules/completion/src/cpp/UnknownMlistFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLAttrFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLDocFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLElemFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLListFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLNsFieldsGetter.hxx
scilab/modules/completion/src/cpp/XMLSetFieldsGetter.hxx
scilab/modules/console/src/c/GetCommandLine.c
scilab/modules/console/src/c/dropFiles.c
scilab/modules/console/src/c/prompt.c
scilab/modules/console/src/c/promptecho.c
scilab/modules/console/src/c/windows/TermCompletion.c
scilab/modules/console/src/c/windows/TermConsole.c
scilab/modules/console/src/c/windows/TermLine.c
scilab/modules/console/src/cpp/ConsoleRead.cpp
scilab/modules/console/src/cpp/scilabRead.cpp
scilab/modules/core/sci_gateway/cpp/sci_getscilabmode.cpp
scilab/modules/core/sci_gateway/cpp/sci_intppty.cpp
scilab/modules/core/sci_gateway/cpp/sci_warning.cpp
scilab/modules/core/src/c/GetXmlFileEncoding.c
scilab/modules/core/src/c/InitializePreferences.c
scilab/modules/core/src/c/commandwords.c
scilab/modules/core/src/c/getcommandlineargs.c
scilab/modules/core/src/c/getdynamicDebugInfo_Windows.c
scilab/modules/core/src/c/getmodules.c
scilab/modules/core/src/c/getos.c
scilab/modules/core/src/c/getversion.c
scilab/modules/core/src/c/loadversion.c
scilab/modules/core/src/c/readGateway.c
scilab/modules/core/src/c/saveCWDInPreferences.c
scilab/modules/core/src/c/transposeMatrix.c
scilab/modules/core/src/cpp/backtrace_print.cpp
scilab/modules/dynamic_link/src/c/dynamiclibrary_others.c
scilab/modules/dynamic_link/src/c/dynamiclibrary_windows.c
scilab/modules/elementary_functions/sci_gateway/cpp/sci_size.cpp
scilab/modules/external_objects_java/src/cpp/ScilabJavaEnvironment.hxx
scilab/modules/fftw/sci_gateway/c/sci_fftw_flags.c
scilab/modules/fftw/src/c/fftwlibname.c
scilab/modules/fileio/sci_gateway/c/sci_fprintfMat.c
scilab/modules/fileio/sci_gateway/c/sci_fscanfMat.c
scilab/modules/fileio/sci_gateway/cpp/sci_filesep.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_findfiles.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_mclose.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_mget.cpp
scilab/modules/fileio/sci_gateway/cpp/sci_mput.cpp
scilab/modules/fileio/src/c/FindFileExtension.c
scilab/modules/fileio/src/c/URIFileToFilename.c
scilab/modules/fileio/src/c/copyfile_others.c
scilab/modules/fileio/src/c/copyfile_windows.c
scilab/modules/fileio/src/c/createtempfilename.c
scilab/modules/fileio/src/c/dlManager.c
scilab/modules/fileio/src/c/do_xxscanf.c
scilab/modules/fileio/src/c/fileinfo.c
scilab/modules/fileio/src/c/filesmanagement.c
scilab/modules/fileio/src/c/findfiles.c
scilab/modules/fileio/src/c/fprintfMat.c
scilab/modules/fileio/src/c/fscanfMat.c
scilab/modules/fileio/src/c/getlongpathname.c
scilab/modules/fileio/src/c/getshortpathname.c
scilab/modules/fileio/src/c/isdir.c
scilab/modules/fileio/src/c/removedir.c
scilab/modules/fileio/src/cpp/expandPathVariable.cpp
scilab/modules/fileio/src/cpp/filemanager.cpp
scilab/modules/fileio/src/cpp/mgetl.cpp
scilab/modules/fileio/src/cpp/newest.cpp
scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp
scilab/modules/functions/sci_gateway/cpp/sci_execstr.cpp
scilab/modules/functions_manager/src/cpp/funcmanager.cpp
scilab/modules/graphic_export/sci_gateway/cpp/sci_xend.cpp
scilab/modules/graphic_objects/src/cpp/FigureList.cpp
scilab/modules/graphics/sci_gateway/c/sci_delete.c
scilab/modules/graphics/sci_gateway/c/sci_light.c
scilab/modules/graphics/sci_gateway/c/sci_set.c
scilab/modules/graphics/src/c/InitObjects.c
scilab/modules/graphics/src/c/SetProperty.c
scilab/modules/graphics/src/c/StringMatrix.c
scilab/modules/graphics/src/c/getHandleProperty/SetHashTable.c
scilab/modules/graphics/src/c/getHandleProperty/getPropertyAssignedValue.c
scilab/modules/graphics/src/c/getHandleProperty/get_auto_ticks_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_axes_reverse_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_axes_visible_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_tight_limits_property.c
scilab/modules/graphics/src/c/getHandleProperty/setGetHashTable.c
scilab/modules/graphics/src/c/getHandleProperty/set_alignment_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_anti_aliasing_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_arc_drawing_method_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_border_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_box_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_cdata_mapping_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_clip_state_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_constraints_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_data_mapping_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_figure_style_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_grid_position_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_image_type_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_layout_options_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_layout_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_light_type_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_mark_size_unit_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_menubar_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_rotation_style_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_scrollable_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_tabtitle_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_text_box_mode_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_tics_direction_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_tics_style_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_toolbar_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_view_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_x_location_property.c
scilab/modules/graphics/src/c/getHandleProperty/set_y_location_property.c
scilab/modules/graphics/src/c/name2rgb.c
scilab/modules/gui/includes/SetUicontrol.h
scilab/modules/gui/sci_gateway/c/sci_ClipBoard.c
scilab/modules/gui/sci_gateway/c/sci_figure.c
scilab/modules/gui/sci_gateway/c/sci_messagebox.c
scilab/modules/gui/sci_gateway/c/sci_toolbar.c
scilab/modules/gui/sci_gateway/c/sci_uicontrol.c
scilab/modules/gui/sci_gateway/c/sci_uimenu.c
scilab/modules/gui/sci_gateway/cpp/sci_datatip_set_orient.cpp
scilab/modules/gui/sci_gateway/cpp/sci_displaytree.cpp
scilab/modules/gui/sci_gateway/cpp/sci_uigetfile.cpp
scilab/modules/gui/sci_gateway/cpp/sci_uiputfile.cpp
scilab/modules/gui/src/c/buildMainWindowTitle.c
scilab/modules/gui/src/c/getMainWindowTitle.c
scilab/modules/gui/src/c/messageboxoptions.c
scilab/modules/gui/src/cpp/GetScreenProperty.hxx
scilab/modules/hdf5/sci_gateway/cpp/sci_export_to_hdf5.cpp
scilab/modules/hdf5/src/c/h5_fileManagement.c
scilab/modules/hdf5/src/cpp/H5NamedObjectsList.hxx
scilab/modules/history_manager/src/c/getCommentDateSession.c
scilab/modules/history_manager/src/cpp/HistoryManager.cpp
scilab/modules/history_manager/src/cpp/HistorySearch.cpp
scilab/modules/io/sci_gateway/cpp/sci_file.cpp
scilab/modules/io/sci_gateway/cpp/sci_genlib.cpp
scilab/modules/io/src/c/getenvc.c
scilab/modules/io/src/c/setenvc.c
scilab/modules/io/src/cpp/loadlib.cpp
scilab/modules/jvm/src/c/InitializeJVM.c
scilab/modules/jvm/src/c/getJvmOptions.c
scilab/modules/jvm/src/c/loadClasspath.c
scilab/modules/jvm/src/c/loadLibrarypath.c
scilab/modules/jvm/src/c/loadOnUseClassPath.c
scilab/modules/jvm/src/c/system_getproperty.c
scilab/modules/jvm/src/c/system_setproperty.c
scilab/modules/localization/sci_gateway/c/sci_gettext.c
scilab/modules/localization/sci_gateway/cpp/sci_setdefaultlanguage.cpp
scilab/modules/localization/src/c/InitializeLocalization.c
scilab/modules/localization/src/c/LanguagePreferences_Windows.c
scilab/modules/localization/src/c/getLcidString.c
scilab/modules/localization/src/c/getLocaleInfo_Windows.c
scilab/modules/localization/src/c/setgetlanguage.c
scilab/modules/matio/sci_gateway/c/sci_matfile_listvar.c
scilab/modules/matio/src/c/CreateCharVariable.c
scilab/modules/matio/src/c/CreateStructVariable.c
scilab/modules/mexlib/src/cpp/mexlib.cpp
scilab/modules/output_stream/src/cpp/scilab_sprintf.cpp
scilab/modules/parameters/src/c/parameters.c
scilab/modules/preferences/src/c/getScilabPreference.c
scilab/modules/renderer/src/cpp/RendererFontManager.cpp
scilab/modules/scicos/src/c/ezxml.c
scilab/modules/scicos/src/c/ezxml.h
scilab/modules/scicos_blocks/src/c/bouncexy.c
scilab/modules/scicos_blocks/src/c/canimxy.c
scilab/modules/scicos_blocks/src/c/canimxy3d.c
scilab/modules/scicos_blocks/src/c/cevscpe.c
scilab/modules/scicos_blocks/src/c/cfscope.c
scilab/modules/scicos_blocks/src/c/cmat3d.c
scilab/modules/scicos_blocks/src/c/cmatview.c
scilab/modules/scicos_blocks/src/c/cmscope.c
scilab/modules/scicos_blocks/src/c/cscope.c
scilab/modules/scicos_blocks/src/c/cscopxy.c
scilab/modules/scicos_blocks/src/c/cscopxy3d.c
scilab/modules/scicos_blocks/src/cpp/affich2.cpp
scilab/modules/scinotes/src/c/ScilabKeywords.c
scilab/modules/sound/sci_gateway/c/sci_beep.c
scilab/modules/spreadsheet/sci_gateway/c/gw_csv_helpers.c
scilab/modules/spreadsheet/sci_gateway/c/sci_csvDefault.c
scilab/modules/spreadsheet/sci_gateway/c/sci_csvRead.c
scilab/modules/spreadsheet/sci_gateway/c/sci_csvTextScan.c
scilab/modules/spreadsheet/sci_gateway/c/sci_csvWrite.c
scilab/modules/spreadsheet/src/c/checkCsvWriteFormat.c
scilab/modules/spreadsheet/src/c/csvDefault.c
scilab/modules/spreadsheet/src/c/csvRead.c
scilab/modules/spreadsheet/src/c/getRange.c
scilab/modules/spreadsheet/src/c/ripole/olestream-unwrap.c
scilab/modules/spreadsheet/src/c/ripole/pldstr.c
scilab/modules/spreadsheet/src/c/utftolatin.c
scilab/modules/string/Makefile.am
scilab/modules/string/Makefile.in
scilab/modules/string/includes/os_strdup.h [deleted file]
scilab/modules/string/includes/os_stricmp.h [deleted file]
scilab/modules/string/includes/os_string.h [new file with mode: 0644]
scilab/modules/string/includes/os_swprintf.h [deleted file]
scilab/modules/string/includes/os_wcsdup.h [deleted file]
scilab/modules/string/includes/os_wcsicmp.h [deleted file]
scilab/modules/string/includes/stricmp.h [deleted file]
scilab/modules/string/sci_gateway/cpp/sci_grep.cpp
scilab/modules/string/sci_gateway/cpp/sci_regexp.cpp
scilab/modules/string/sci_gateway/cpp/sci_strchr.cpp
scilab/modules/string/sci_gateway/cpp/sci_string.cpp
scilab/modules/string/sci_gateway/cpp/sci_strrchr.cpp
scilab/modules/string/sci_gateway/cpp/sci_strstr.cpp
scilab/modules/string/sci_gateway/cpp/sci_strtod.cpp
scilab/modules/string/sci_gateway/cpp/sci_strtok.cpp
scilab/modules/string/sci_gateway/cpp/sci_tokens.cpp
scilab/modules/string/src/c/os_wcsdup.c
scilab/modules/string/src/c/pcre_private.c
scilab/modules/string/src/c/string.vcxproj
scilab/modules/string/src/c/string.vcxproj.filters
scilab/modules/string/src/c/stringToComplex.c
scilab/modules/string/src/c/stringToDouble.c
scilab/modules/string/src/c/stringsCompare.c
scilab/modules/string/src/c/stringsstrrev.c
scilab/modules/string/src/c/stristr.c
scilab/modules/string/src/c/strsubst.c
scilab/modules/string/src/c/tokens.c
scilab/modules/string/src/cpp/stripblanks.cpp
scilab/modules/tclsci/sci_gateway/c/sci_TCL_EvalStr.c
scilab/modules/tclsci/sci_gateway/c/sci_TCL_GetVar.c
scilab/modules/tclsci/sci_gateway/c/sci_TCL_GetVersion.c
scilab/modules/tclsci/src/c/InitTclTk.c
scilab/modules/tclsci/src/c/ScilabEval.c
scilab/modules/tclsci/src/c/TCL_ArrayDim.c
scilab/modules/tclsci/src/c/TCL_ArrayGetVar.c
scilab/modules/tclsci/src/c/TCL_Command.c
scilab/modules/types/sci_gateway/cpp/sci_inspectorShowItem.cpp
scilab/modules/types/sci_gateway/cpp/sci_inspectorShowUnreferencedItem.cpp
scilab/modules/ui_data/src/c/PutScilabVariable.c
scilab/modules/ui_data/src/cpp/BrowseVarManager.cpp
scilab/modules/windows_tools/sci_gateway/c/sci_mcisendstring.c
scilab/modules/windows_tools/src/c/FindFileAssociation.c
scilab/modules/windows_tools/src/c/createGUID.c
scilab/modules/windows_tools/src/c/registry.c
scilab/modules/windows_tools/src/c/scilab_windows/FilesAssociations.c
scilab/modules/windows_tools/src/c/scilab_windows/FindScilab.c
scilab/modules/windows_tools/src/c/scilab_windows/TextToPrint.c
scilab/modules/windows_tools/src/c/scilab_windows/WndThread.c
scilab/modules/windows_tools/src/c/scilab_windows/console.c
scilab/modules/windows_tools/src/c/scilab_windows/getVideoAdapters.c
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.vcxproj
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.vcxproj.filters
scilab/modules/windows_tools/src/c/scilab_windows/spawncommand.c
scilab/modules/windows_tools/src/cpp/scilab_windows/SetScilabEnvironmentVariables.cpp [moved from scilab/modules/windows_tools/src/c/scilab_windows/SetScilabEnvironmentVariables.c with 98% similarity]
scilab/modules/windows_tools/src/cpp/scilab_windows/SetScilabEnvironmentVariables.h [moved from scilab/modules/windows_tools/src/c/scilab_windows/SetScilabEnvironmentVariables.h with 100% similarity]
scilab/modules/windows_tools/src/cpp/scilab_windows/getScilabDirectory.cpp [moved from scilab/modules/windows_tools/src/c/scilab_windows/getScilabDirectory.c with 95% similarity]
scilab/modules/windows_tools/src/cpp/scilab_windows/getScilabDirectory.h [moved from scilab/modules/windows_tools/src/c/scilab_windows/getScilabDirectory.h with 100% similarity]
scilab/modules/xml/sci_gateway/cpp/sci_htmlWrite.cpp
scilab/modules/xml/sci_gateway/cpp/sci_percent_foo_i_XMLList.cpp
scilab/modules/xml/sci_gateway/cpp/sci_xmlWrite.cpp
scilab/modules/xml/src/cpp/extraction.hxx