ading return code property

ading return code property

--- tests/Grace.Tests/CodeCoverageAppVeyor.cmd
+++ tests/Grace.Tests/CodeCoverageAppVeyor.cmd
@@ -14,7 +14,7 @@

 REM Run code coverage analysis
 set EXIT_CODE=
-%opencover% -oldStyle -register:user -target:%dotnet% -output:%coveragefile% -targetargs:%targetargs% -filter:%filter% -skipautoprops -hideskipped:All
+%opencover% -oldStyle -returntargetcode -register:user -target:%dotnet% -output:%coveragefile% -targetargs:%targetargs% -filter:%filter% -skipautoprops -hideskipped:All

 REM publish


Still using old GTK+ on Windows so turn off long long warnings.

--- scripts/checkbuilds.bat
+++ scripts/checkbuilds.bat
@@ -60,7 +60,7 @@
 rem Target 5: GTK+ version using gcc on scintilla\gtk\makefile
 call scite\scripts\clearboth
 cd scintilla\gtk
-make -j
+make -j CXXFLAGS=-Wno-long-long
 if ERRORLEVEL 2 goto ERROR
 cd ..\..
 rem Visual C++ builds


add prfile2

add prfile2

error: pathspec 'modules/distribution/product/src/main/startup-scripts/profileSetup2.bat' did not match any file(s) known to git

--- modules/distribution/product/src/main/startup-scripts/profileSetup2.bat
+++ modules/distribution/product/src/main/startup-scripts/profileSetup2.bat
@@ -0,0 +1,292 @@
+@echo off
+rem ----------------------------------------------------------------------------
+rem  Copyright 2018 WSO2, Inc. http://www.wso2.org
+rem
+rem  Licensed under the Apache License, Version 2.0 (the "License");
+rem  you may not use this file except in compliance with the License.
+rem  You may obtain a copy of the License at
+rem
+rem      http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem  Unless required by applicable law or agreed to in writing, software
+rem  distributed under the License is distributed on an "AS IS" BASIS,
+rem  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem  See the License for the specific language governing permissions and
+rem  limitations under the License.
+
+set usertLocation=%cd%
+set pathToApiManagerXML=..\repository\conf\api-manager.xml
+set pathToAxis2XML=..\repository\conf\axis2\axis2.xml
+set pathToRegistry=..\repository\conf\registry.xml
+set pathToInboundEndpoints=..\repository\deployment\server\synapse-configs\default\inbound-endpoints
+set pathToWebapps=..\repository\deployment\server\webapps
+set pathToJaggeryapps=..\repository\deployment\server\jaggeryapps
+set pathToSynapseConfigs=..\repository\deployment\server\synapse-configs\default
+cd /d %~dp0
+
+rem ----- Process the input commands (two args only)-------------------------------------------
+if ""%1""==""-Dprofile"" (
+	if ""%2""==""api-key-manager"" 	goto keyManager
+	if ""%2""==""api-publisher"" 	goto publisher
+	if ""%2""==""api-store"" 		goto store
+	if ""%2""==""traffic-manager"" 	goto trafficManager
+	if ""%2""==""gateway-worker"" 	goto gatewayWorker
+)
+echo Profile is not specifed properly, please try again
+goto end
+
+:keyManager
+echo Starting to optimize API Manager for the Key Manager profile
+call :disableDataPublisher
+call :disableJMSConnectionDetails
+call :disablePolicyDeployer
+call :disableTransportSenderWS
+call :disableTransportSenderWSS
+call :removeWebSocketInboundEndpoint
+call :removeSecureWebSocketInboundEndpoint
+call :removeSynapseConfigs
+rem ---removing webbapps which are not required for this profile--------
+for /f %%i in ('dir %pathToWebapps% /A:-D /b ^| findstr /v "client-registration#v.*war authenticationendpoint.war oauth2.war throttle#data#v.*war api#identity#consent-mgt#v.*war"') do (
+	del /f %pathToWebapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToWebapps%
+	setlocal enableDelayedExpansion
+	set folderName=%%i
+	set folderName=!folderName:.war=!
+	if exist %pathToWebapps%\!folderName!\ (
+		rmdir /s /q %pathToWebapps%\!folderName!
+		call :Timestamp value
+		echo %value% INFO - Removed the !folderName! directory from %pathToWebapps%
+	)
+	endlocal
+)
+rem ---removing jaggeryapps which are not required for this profile--------
+for /f %%i in ('dir "%pathToJaggeryapps%" /A:D /b') do (
+	rmdir /s /q %pathToJaggeryapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToJaggeryapps%
+)
+goto finishOptimization
+
+:publisher
+echo Starting to optimize API Manager for the API Publisher profile
+call :disableDataPublisher
+call :disableJMSConnectionDetails
+call :disableTransportSenderWS
+call :disableTransportSenderWSS
+call :removeWebSocketInboundEndpoint
+call :removeSecureWebSocketInboundEndpoint
+rem ---removing webbapps which are not required for this profile--------
+for /f %%i in ('dir %pathToWebapps% /A:-D /b ^| findstr /v "api#am#publisher#v.*war"') do (
+	del /f %pathToWebapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToWebapps%
+	setlocal enableDelayedExpansion
+	set folderName=%%i
+	set folderName=!folderName:.war=!
+	if exist %pathToWebapps%\!folderName!\ (
+		rmdir /s /q %pathToWebapps%\!folderName!
+		call :Timestamp value
+		echo %value% INFO - Removed the !folderName! directory from %pathToWebapps%
+	)
+	endlocal
+)
+rem ---removing jaggeryapps which are not required for this profile--------
+for /f %%i in ('dir "%pathToJaggeryapps%" /A:D /b ^| findstr /v "publisher admin"') do (
+	rmdir /s /q %pathToJaggeryapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToJaggeryapps%
+)
+goto finishOptimization
+
+:store
+echo Starting to optimize API Manager for the Developer Portal (API Store) profile
+call :disableDataPublisher
+call :disableJMSConnectionDetails
+call :disablePolicyDeployer
+call :disableTransportSenderWS
+call :disableTransportSenderWSS
+call :removeWebSocketInboundEndpoint
+call :removeSecureWebSocketInboundEndpoint
+rem ---removing webbapps which are not required for this profile--------
+for /f %%i in ('dir %pathToWebapps% /A:-D /b ^| findstr /v "api#am#store#v.*war"') do (
+	del /f %pathToWebapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToWebapps%
+	setlocal enableDelayedExpansion
+	set folderName=%%i
+	set folderName=!folderName:.war=!
+	if exist %pathToWebapps%\!folderName!\ (
+		rmdir /s /q %pathToWebapps%\!folderName!
+		call :Timestamp value
+		echo %value% INFO - Removed the !folderName! directory from %pathToWebapps%
+	)
+	endlocal
+)
+rem ---removing jaggeryapps which are not required for this profile--------
+for /f %%i in ('dir "%pathToJaggeryapps%" /A:D /b ^| findstr /v "store"') do (
+	rmdir /s /q %pathToJaggeryapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToJaggeryapps%
+)
+goto finishOptimization
+
+:trafficManager
+echo Starting to optimize API Manager for the Traffic Manager profile
+call :disableTransportSenderWS
+call :disableTransportSenderWSS
+call :removeWebSocketInboundEndpoint
+call :removeSecureWebSocketInboundEndpoint
+call :disableIndexingConfiguration
+call :removeSynapseConfigs
+rem ---removing webbapps which are not required for this profile--------
+for /f %%i in ('dir %pathToWebapps% /A:-D /b') do (
+	del /f %pathToWebapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToWebapps%
+	setlocal enableDelayedExpansion
+	set folderName=%%i
+	set folderName=!folderName:.war=!
+	if exist %pathToWebapps%\!folderName!\ (
+		rmdir /s /q %pathToWebapps%\!folderName!
+		call :Timestamp value
+		echo %value% INFO - Removed the !folderName! directory from %pathToWebapps%
+	)
+	endlocal
+)
+rem ---removing jaggeryapps which are not required for this profile--------
+for /f %%i in ('dir "%pathToJaggeryapps%" /A:D /b') do (
+	rmdir /s /q %pathToJaggeryapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToJaggeryapps%
+)
+goto finishOptimization
+
+:gatewayWorker
+echo Starting to optimize API Manager for the Gateway worker profile
+call :disablePolicyDeployer
+call :disableIndexingConfiguration
+rem ---removing webbapps which are not required for this profile--------
+for /f %%i in ('dir %pathToWebapps% /A:-D /b ^| findstr /v "am#sample#pizzashack#v.*war"') do (
+	del /f %pathToWebapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToWebapps%
+	setlocal enableDelayedExpansion
+	set folderName=%%i
+	set folderName=!folderName:.war=!
+	if exist %pathToWebapps%\!folderName!\ (
+		rmdir /s /q %pathToWebapps%\!folderName!
+		call :Timestamp value
+		echo %value% INFO - Removed the !folderName! directory from %pathToWebapps%
+	)
+	endlocal
+)
+rem ---removing jaggeryapps which are not required for this profile--------
+for /f %%i in ('dir "%pathToJaggeryapps%" /A:D /b') do (
+	rmdir /s /q %pathToJaggeryapps%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToJaggeryapps%
+)
+goto finishOptimization
+
+:disableDataPublisher
+for /f %%i in ('powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.DataPublisher.Enabled;"') do (
+	if %%i==true (
+		powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.DataPublisher.Enabled='false'; $xml.Save('%pathToApiManagerXML%');"
+		call :Timestamp value
+		echo %value% INFO - Disabled the ^<DataPublisher^> from api-manager.xml file
+	)
+)
+EXIT /B 0
+
+:disableJMSConnectionDetails
+for /f %%i in ('powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.JMSConnectionDetails.Enabled;"') do (
+	if %%i==true (
+		powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.JMSConnectionDetails.Enabled='false'; $xml.Save('%pathToApiManagerXML%');"
+		call :Timestamp value
+		echo %value% INFO - Disabled the ^<JMSConnectionDetails^> from api-manager.xml file
+	)
+)
+EXIT /B 0
+
+:disablePolicyDeployer
+for /f %%i in ('powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.PolicyDeployer.Enabled;"') do (
+	if %%i==true (
+		powershell -Command "$xml = [xml] (Get-Content %pathToApiManagerXML%); $xml.APIManager.ThrottlingConfigurations.PolicyDeployer.Enabled='false'; $xml.Save('%pathToApiManagerXML%');"
+		call :Timestamp value
+		echo %value% INFO - Disabled the ^<PolicyDeployer^> from api-manager.xml file
+	)
+)
+EXIT /B 0
+
+:disableTransportSenderWS
+for /f %%i in ('powershell -Command "& {$xml = [xml] (Get-Content %pathToAxis2XML%); $xml.selectSingleNode('//transportSender[@name=\"ws\"]'); }" ') do (
+	powershell -Command "& { $xml = [xml] (Get-Content %pathToAxis2XML%); $xml.selectNodes('//transportSender[@name=\"ws\"]') | ForEach-Object { $node = $_; $comment = $xml.CreateComment($node.OuterXml); $node=$node.ParentNode.ReplaceChild($comment, $node);}; $xml.Save('%pathToAxis2XML%');}"
+	call :Timestamp value
+	echo %value% INFO - Disabled the ^<transportSender name="ws" class="org.wso2.carbon.websocket.transport.WebsocketTransportSender"^> from axis2.xml file
+	goto skipLoop1
+)
+:skipLoop1
+EXIT /B 0
+
+:disableTransportSenderWSS
+for /f %%i in ('powershell -Command "& {$xml = [xml] (Get-Content %pathToAxis2XML%); $xml.SelectSingleNode('//transportSender[@name=\"wss\"]'); }" ') do (
+	powershell -Command "& { $xml = [xml] (Get-Content %pathToAxis2XML%); $xml.selectNodes('//transportSender[@name=\"wss\"]') | ForEach-Object { $node = $_; $comment = $xml.CreateComment($node.OuterXml); $node=$node.ParentNode.ReplaceChild($comment, $node);}; $xml.Save('%pathToAxis2XML%');}"
+	call :Timestamp value
+	echo %value% INFO - Disabled the ^<transportSender name="wss" class="org.wso2.carbon.websocket.transport.WebsocketTransportSender"^> from axis2.xml file
+	goto skipLoop2
+	)
+:skipLoop2
+EXIT /B 0
+
+:disableIndexingConfiguration
+for /f %%i in ('powershell -Command "$xml = [xml] (Get-Content %pathToRegistry%); $xml.wso2registry.indexingConfiguration.startIndexing;"') do (
+	if %%i==true (
+		powershell -Command "$xml = [xml] (Get-Content %pathToRegistry%); $xml.wso2registry.indexingConfiguration.startIndexing='false'; $xml.Save('%pathToRegistry%');"
+		call :Timestamp value
+		echo %value% INFO - Disabled the ^<indexingConfiguration^> from registry.xml file
+	)
+)
+EXIT /B 0
+
+:removeWebSocketInboundEndpoint
+if exist %pathToInboundEndpoints%\WebSocketInboundEndpoint.xml (
+	del /f %pathToInboundEndpoints%\WebSocketInboundEndpoint.xml
+	call :Timestamp value
+	echo %value% INFO - Removed the WebSocketInboundEndpoint.xml file from %pathToInboundEndpoints%
+)
+EXIT /B 0
+
+:removeSecureWebSocketInboundEndpoint
+if exist %pathToInboundEndpoints%\SecureWebSocketInboundEndpoint.xml (
+	del /f %pathToInboundEndpoints%\SecureWebSocketInboundEndpoint.xml
+	call :Timestamp value
+	echo %value% INFO - Removed the SecureWebSocketInboundEndpoint.xml file from %pathToInboundEndpoints%
+)
+EXIT /B 0
+
+:removeSynapseConfigs
+rem ----removing directories if exists ----
+for /f %%i in ('dir "%pathToSynapseConfigs%" /A:D /b') do (
+	rmdir /s /q %pathToSynapseConfigs%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i directory from %pathToSynapseConfigs%
+)
+rem ----removing the files if exists ------
+for /f %%i in ('dir "%pathToSynapseConfigs%" /A:-D /b ^| find /v "synapse.xml"') do (
+	del /f %pathToSynapseConfigs%\%%i
+	call :Timestamp value
+	echo %value% INFO - Removed the %%i file from %pathToSynapseConfigs%
+)
+EXIT /B 0
+
+:Timestamp
+set "%~1=[%date:~10,14%-%date:~4,2%-%date:~7,2% %time%]"
+EXIT /B 0
+
+:finishOptimization
+echo Finished the optimizations
+goto end
+
+:end
+cd /d %usertLocation%


create c:\users\vagrant\.ssh path is missing

--- scripts/vagrant-ssh.bat
+++ scripts/vagrant-ssh.bat
@@ -1,4 +1,5 @@
 :: vagrant public key
+if not exist C:\Users\vagrant\.ssh mkdir C:\Users\vagrant\.ssh
 if exist a:\vagrant.pub (
   copy a:\vagrant.pub C:\Users\vagrant\.ssh\authorized_keys
 ) else (


Automated commit by Speedy_Git.bat on вт 06.09.2016 г. 17:10


expose run_complement.bat

expose run_complement.bat

error: pathspec 'run_complement.bat' did not match any file(s) known to git

--- run_complement.bat
+++ run_complement.bat
@@ -0,0 +1,231 @@
+@echo off
+rem %1 is WINPYDIR being prepared
+rem this .bat is placed at root (buildir34, buildir34\FlavorJulia, ...)
+set origin=%~dp0
+set new_winpydir=%1
+
+cd /d %new_winpydir%
+
+call scripts\env.bat
+@echo off
+
+
+rem * ==========================
+rem * When Python has no mingwpy
+rem * ==========================
+if not exist "%WINPYDIR%\Lib\site-packages\mingwpy" set pydistutils_cfg=%WINPYDIR%\..\settings\pydistutils.cfg
+if not exist "%WINPYDIR%\Lib\site-packages\mingwpy" echo [config]>%pydistutils_cfg%
+
+
+rem * ==========================
+rem * configure ipython-parallel
+rem * ==========================
+@echo off
+if exist  "%WINPYDIR%\Lib\site-packages\IPython"  "%WINPYDIR%\Scripts\jupyter-notebook.exe" --generate-config
+
+rem starting Jupyter 5+, use ipcluster
+if exist "%WINPYDIR%\Scripts\ipcluster.exe" "%WINPYDIR%\Scripts\ipcluster.exe" nbextension enable
+
+rem 2018-03-10
+if exist "%WINPYDIR%\Scripts\ipcluster.exe" jupyter nbextension install --sys-prefix --py ipyparallel
+if exist "%WINPYDIR%\Scripts\ipcluster.exe" jupyter nbextension enable --sys-prefix --py ipyparallel
+
+rem    if not exist "ipcluster.exe" echo c.NotebookApp.server_extensions.append('ipyparallel.nbextension')>>"%winpydir%\..\settings\.jupyter\jupyter_notebook_config.py"
+
+@echo off
+rem * ===========================
+echo finish install of jupyterlab
+rem * ===========================
+
+rem other suggestion from https://github.com/nteract/nteract
+rem npm install -g --production windows-build-tools
+
+rem 2018-01-15 node-gyp experience 2018-01-19removetest
+rem npm config set python "C:/WinPython/basedir27/buildZero/winpython-32bit-2.7.x.2/python-2.7.13/python.exe"
+rem npm config set PYTHON "C:/WinP/bd27/buildZero/winpython-32bit-2.7.x.2/python-2.7.13/python.exe"
+
+rem "%WINPYDIR%\..\tools\n\node_modules\npm\bin\node-gyp-bin\node-gyp.cmd" configure --msvs_version=2015
+rem if exist  "%WINPYDIR%\Lib\site-packages\jupyterlab" "%WINPYDIR%\Scripts\jupyter.exe" serverextension enable --py  jupyterlab --sys-prefix
+
+@echo on
+rem * ===================
+echo jupyterlab manager (if npm there)
+rem * ==================
+@echo off
+rem jupyter lab clean
+rem jupyter labextension list
+
+rem 2018-07-07 for jupyterlab-0.32.x: https://www.npmjs.com/package/@jupyter-widgets/jupyterlab-manager
+if exist  "%WINPYDIR%\Lib\site-packages\jupyterlab"  "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build @jupyter-widgets/jupyterlab-manager
+
+
+rem * ==================
+echo finish install of bqplot
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\bqplot" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix bqplot
+if exist  "%WINPYDIR%\Lib\site-packages\bqplot" "%WINPYDIR%\Scripts\jupyter.exe"  labextension install --no-build bqplot
+
+
+rem * ==================
+echo finish install of bokeh for jupyterlab (2017-09-16)
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\bokeh" "%WINPYDIR%\Scripts\jupyter.exe"  labextension install --no-build jupyterlab_bokeh
+
+
+rem * ==================
+echo finish install of ipydatawidgets (2018-03-10)
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\ipydatawidgets" "%WINPYDIR%\Scripts\jupyter.exe" nbextension install --py --sys-prefix  ipydatawidgets
+if exist  "%WINPYDIR%\Lib\site-packages\ipydatawidgets" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py  --sys-prefix  ipydatawidgets
+if exist  "%WINPYDIR%\Lib\site-packages\ipydatawidgets" "%WINPYDIR%\Scripts\jupyter.exe"  labextension install --no-build       jupyterlab-datawidgets
+
+
+rem * ==================
+echo finish install of ipyleaflet
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\ipyleaflet" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix  ipyleaflet
+if exist  "%WINPYDIR%\Lib\site-packages\ipyleaflet" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build jupyter-leaflet
+
+
+rem * ==================
+echo finish install of pythreejs
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\pythreejs" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py  --sys-prefix  pythreejs
+if exist  "%WINPYDIR%\Lib\site-packages\pythreejs" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build jupyter-threejs
+
+
+rem * ==================
+echo finish install of ipyvolume / ipywebrtc
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\ipywebrtc" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py  --sys-prefix  ipywebrtc
+if exist  "%WINPYDIR%\Lib\site-packages\ipyvolume" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py  --sys-prefix  ipyvolume
+
+
+rem * ==================
+echo finish install of ipyvolume / ipywebrtc
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\ipywebrtc" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build jupyter-webrtc
+if exist  "%WINPYDIR%\Lib\site-packages\ipywebrtc" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build ipyvolume
+
+
+rem * ==================
+echo finish install of pdvega
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\vega3" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix vega3
+
+
+rem * ==================
+echo finish install of rise
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\rise" "%WINPYDIR%\Scripts\jupyter.exe" nbextension install rise --py --sys-prefix
+if exist  "%WINPYDIR%\Lib\site-packages\rise" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix rise
+
+
+rem * ==================
+echo finish install of ipympl (2017-10-29)
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\ipympl" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix ipympl
+if exist  "%WINPYDIR%\Lib\site-packages\ipympl" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build jupyter-matplotlib
+
+
+rem * =================
+echo finish install of holoviews jupyterlab 2018-02-27
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\holoviews" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build @pyviz/jupyterlab_pyviz
+
+rem * =================
+echo finish install seaborn iris example
+rem * =================
+if exist  "%WINPYDIR%\Lib\site-packages\seaborn" "%WINPYDIR%\python.exe" -c "import seaborn as sns;sns.set();sns.load_dataset('iris')"
+
+rem * =================
+echo finish install PyQtdoc
+rem * =================
+if exist  "%WINPYDIR%\Scripts\PyQtdoc_win_post_install.bat" "%WINPYDIR%\Scripts\PyQtdoc_win_post_install.bat" "-install"
+
+
+rem * =================
+echo opengl PyQt5 patch 2018-01-06
+rem * ==================
+set qt56p=%WINPYDIR%\Lib\site-packages\PyQt5\Qt\bin
+set qt56dest=%WINPYDIR%\Lib\site-packages\PyQt5\Qt\bin\opengl32sw.dll
+if exist  "%qt56p%" if not exist "%qt56dest%" (
+if "%WINPYARCH%"=="WIN32" copy "C:\WinPython\bd35\patch_qt570\opengl32sw-32\opengl32sw.dll" "%WINPYDIR%\Lib\site-packages\PyQt5\Qt\bin\opengl32sw.dll"
+)
+if not "%WINPYARCH%"=="WIN32" copy "C:\WinPython\bd35\patch_qt570\opengl32sw-64\opengl32sw.dll" "%WINPYDIR%\Lib\site-packages\PyQt5\Qt\bin\opengl32sw.dll"
+)
+
+
+rem * ============================
+echo .spyder3\temp.py suspected of creating issue east of Italia
+echo see https://groups.google.com/forum/#!topic/spyderlib/dH5VXlTc30s
+rem * ============================
+if  exist "%WINPYDIR%\..\settings\.spyder-py3\temp.py" del  "%WINPYDIR%\..\settings\.spyder-py3\temp.py"
+
+
+rem * ====================
+echo patch spyder update reflex (2017-03-25)
+rem * ====================
+%WINPYDIR%\python.exe -c "from winpython.utils import patch_sourcefile;patch_sourcefile(r'%WINPYDIR%\Lib\site-packages\spyderlib\config\main.py', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': True', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': False' )"
+
+
+rem * ===================
+echo 2018-03-25 Jupyterlab simplified wrap-up (https://github.com/jupyter/notebook/pull/3116#issuecomment-355672998)
+rem * ===================
+rem reduce time by building only once
+rem at each extension do:
+rem   "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build
+rem at the end:
+if exist  "%WINPYDIR%\Lib\site-packages\jupyterlab"  "%WINPYDIR%\Scripts\jupyter.exe" lab build
+if exist  "%WINPYDIR%\Lib\site-packages\jupyterlab" jupyter labextension list
+
+
+rem 2018-01-15 node-gyp experience
+rem npm config set python "C:\WinPython\bd27\buildZero\winpython-32bit-2.7.x.2\python-2.7.13"
+rem npm config delete python
+
+
+rem * ===================
+echo remove enum34 from Tensorfow (2017-12-22)
+rem * ===================
+if exist  "%WINPYDIR%\Lib\site-packages\enum" "%WINPYDIR%\scripts\pip.exe" uninstall -y enum34
+
+
+rem * ===================
+echo remove typing from altair (2018-11-01)
+rem * ===================
+if exist  "%WINPYDIR%\Lib\site-packages\typing.py" "%WINPYDIR%\scripts\pip.exe" uninstall -y typing
+
+
+rem * ===================
+echo clear jupyterlab staging (2018-03-09)
+rem * ===================
+if exist "%WINPYDIR%\share\jupyter\lab\staging" rmdir /S /Q "%WINPYDIR%\share\jupyter\lab\staging"
+
+
+rem * ===================
+echo clear Pyside2 QML (2018-04-29 : it's too big)
+rem * ===================
+if exist  "%WINPYDIR%\Lib\site-packages\PySide2\qml"  rmdir /S /Q "%WINPYDIR%\Lib\site-packages\PySide2\qml"
+
+@echo on
+goto the_end
+
+rem ====================
+rem installation via requirements.txt, requirements2.txt and requirements3.txt files
+rem ====================
+
+rem pip install cvxpy --no-index --find-links=C:\WinPython\packages.srcreq --trusted-host=None
+
+set link_srcreq=--find-links=%origin%packages.srcreq
+
+set my_req=%origin%requirements.txt
+if exist %my_req% pip install -r %my_req% --no-index %link_srcreq% --trusted-host=None
+
+set my_req=%origin%requirements2.txt
+if exist %my_req% pip install -r %my_req% --no-index %link_srcreq% --trusted-host=None
+
+set my_req=%origin%requirements3.txt
+if exist %my_req% pip install -r %my_req% --no-index %link_srcreq% --trusted-host=None
+
+:the_end


Update stage_3_disinfect.bat

Update stage_3_disinfect.bat

--- resources/stage_3_disinfect/stage_3_disinfect.bat
+++ resources/stage_3_disinfect/stage_3_disinfect.bat
@@ -11,7 +11,7 @@
 :: PREP AND CHECKS ::
 :::::::::::::::::::::
 set STAGE_3_SCRIPT_VERSION=1.0.0
-set STAGE_3_SCRIPT_DATE=2015-11-23
+set STAGE_3_SCRIPT_DATE=2015-12-xx

 :: Quick check to see if we inherited the appropriate variables from Tron.bat
 if /i "%LOGFILE%"=="" (
@@ -33,6 +33,7 @@
 ::::::::::::::::::::::::
 :: STAGE 3: Disinfect :: // Begin jobs
 ::::::::::::::::::::::::
+call :log "%CUR_DATE% %TIME%   stage_3_disinfect jobs begin..."

 REM :: JOB: RogueKiller
@@ -112,8 +113,8 @@

-
-
+:: Stage complete
+call :log "%CUR_DATE% %TIME%   stage_3_disinfect jobs complete."


batlab: tag the msi and zip for the build on the Windows7 platform with 7

--- nmi_tools/glue/build/build.win.bat
+++ nmi_tools/glue/build/build.win.bat
@@ -200,6 +200,7 @@
 :: 7 indicates that XP is no longer supported, which is currently the case when we build with VC11
 set BUILD_WIN_TAG=
 if "%NMI_PLATFORM%"=="x86_64_Windows10" set BUILD_WIN_TAG=10
+if "%NMI_PLATFORM%"=="x86_64_Windows7" set BUILD_WIN_TAG=7
 if "%2"=="VC9" set BUILD_WIN_TAG=XP
 @echo BUILDID=%BUILDID%
 @echo BUILD_VERSION=%BUILD_VERSION%


Fixed incorrect slashes...

Fixed incorrect slashes...

--- release_zip.bat
+++ release_zip.bat
@@ -3,14 +3,14 @@
 set VERSION=%1

 pushd GW2PAO\bin\x86\Release
-del /Q Logs/*
-del /Q UserData/*
+del /Q Logs\*
+del /Q UserData\*
 del /Q debug.log
 7z a ..\..\..\..\GW2PAO_%VERSION%.zip *
 popd
 pushd GW2PAO\bin\x86\Release_WithoutBrowser
-del /Q Logs/*
-del /Q UserData/*
+del /Q Logs\*
+del /Q UserData\*
 del /Q debug.log
 7z a ..\..\..\..\GW2PAO_%VERSION%_NoBrowser.zip *
 popd


UpdateAllSVN.bat is a script that will do an "svn update" of all the modules used in this project.  Users should set the paths for any computer they will use for this.  Windows stored the computer name in the %HOSTNAME% environment variable so that the paths for that computer are used in the script.

git-svn-id: ff3ca786fa44f6d2d1a794b3b645b1652b118bb4@515 10acb478-4768-415a-8850-bacdb5912d4d

error: pathspec 'UpdateAllSVN.bat' did not match any file(s) known to git

--- UpdateAllSVN.bat
+++ UpdateAllSVN.bat
@@ -0,0 +1,71 @@
+@ECHO OFF
+
+::=======================================================================================================
+IF "%COMPUTERNAME%"=="APLATT-21846S" GOTO APLATT-21846S
+IF "%COMPUTERNAME%"=="BJONKMAN-23080S" GOTO BJONKMAN-23080S
+IF "%COMPUTERNAME%"=="MBUHL-20665S" GOTO MBUHL-20665S
+
+:APLATT-21846S
+@SET AeroDyn=
+@SET ElastoDyn=
+@SET FAST=
+@SET HydroDyn=
+@SET InflowWind=
+@SET MAP=
+@SET NWTC_Library=
+@SET ServoDyn=
+@SET SubDyn=
+GOTO UpdateSVN
+
+:BJONKMAN-23080S
+@SET AeroDyn=
+@SET ElastoDyn=
+@SET FAST=
+@SET HydroDyn=
+@SET InflowWind=
+@SET MAP=
+@SET NWTC_Library=
+@SET ServoDyn=
+@SET SubDyn=
+GOTO UpdateSVN
+
+:MBUHL-20665S
+@SET AeroDyn="M:\CAEtools\Simulators\AeroDyn\branches\Framework"
+@SET ElastoDyn="M:\CAEtools\Simulators\FAST\branches\BJonkman"
+@SET FAST="M:\CAEtools\Simulators\FAST\branches\BJonkman"
+@SET HydroDyn="M:\CAEtools\Simulators\HydroDyn\branches\HydroDyn_Modularization"
+@SET InflowWind="M:\CAEtools\Simulators\InflowWind\branches\modularization"
+@SET MAP="M:\CAEtools\Simulators\MAP\trunk"
+@SET NWTC_Library="M:\CAEtools\Miscellaneous\NWTC_Library\trunk"
+@SET ServoDyn="M:\CAEtools\Simulators\FAST\branches\BJonkman"
+@SET SubDyn="M:\CAEtools\Simulators\SubDyn\branches\v0.4"
+GOTO UpdateSVN
+
+:: Update all the SVN repositories used for this project.
+
+:UpdateSVN
+@ECHO.
+@ECHO Using folder definitions for %HOSTNAME% to update all modules in this project.
+@ECHO.
+
+SVN update %AeroDyn%
+SVN update %ElastoDyn%
+SVN update %FAST%
+SVN update %HydroDyn%
+SVN update %InflowWind%
+SVN update %MAP%
+SVN update %NWTC_Library%
+SVN update %ServoDyn%
+SVN update %SubDyn%
+
+:: Delete temporary environment variables.
+
+@SET AeroDyn=
+@SET ElastoDyn=
+@SET FAST=
+@SET HydroDyn=
+@SET InflowWind=
+@SET MAP=
+@SET NWTC_Library=
+@SET ServoDyn=
+@SET SubDyn=


ADnD Dice Roll - Batch File

ADnD Dice Roll - Batch File

error: pathspec 'dice.bat' did not match any file(s) known to git

--- dice.bat
+++ dice.bat
@@ -0,0 +1,23 @@
+@echo off
+rem (c)gfragkos - 04/04/04
+
+:loop
+cls
+echo ADnD - Roll Dice script - (c)gfragkos 2004                           [q] to exit
+echo.
+set /p var1= Select dice to roll [4,6,8,10,12,20,100]:
+
+if "%var1%" == "q" (
+goto exit_sub
+)
+
+set /a DICE=%var1%
+set /a roll=%random% %% %DICE% + 1 > nul
+echo  d%DICE%: %roll%
+echo.
+pause
+goto loop
+
+:exit_sub
+
+echo on


isodatetime.bat: initial checkin

isodatetime.bat: initial checkin

error: pathspec 'bin/isodatetime.bat' did not match any file(s) known to git

--- bin/isodatetime.bat
+++ bin/isodatetime.bat
@@ -0,0 +1,36 @@
+@echo off
+rem
+rem Print date/time in ISO 8601 format.
+rem
+
+rem Inspired by https://stackoverflow.com/questions/3472631 aschipfl
+rem
+rem There are two nested for /F loops to work around an issue with the
+rem wmic command, whose output is in unicode format; using a single loop
+rem results in additional carriage-return characters which impacts proper
+rem variable expansion.
+rem
+rem Since day and month may also consist of a single digit only, we
+rem prepend a leading zero 0 in the loop construct. Afterwards, the
+rem values are trimmed to always consist of two digits.
+rem
+rem wmic puts columns in alphabetic order, not requested order
+
+for /F "skip=1 delims=" %%F in ('
+    wmic PATH Win32_LocalTime GET Day^,Hour^,^Minute^,Month^,Year /FORMAT:TABLE
+') do (
+    for /F "tokens=1-5" %%L in ("%%F") do (
+        set _DAY=0%%L
+        set _HOUR=0%%M
+        set _MINUTE=0%%N
+        set _MONTH=0%%O
+        set _YEAR=%%P
+    )
+)
+set _MONTH=%_MONTH:~-2%
+set _DAY=%_DAY:~-2%
+set _HOUR=%_HOUR:~-2%
+set _MINUTE=%_MINUTE:~-2%
+set _DATETIME=%_YEAR%-%_MONTH%-%_DAY%T%_HOUR%:%_MINUTE%
+
+echo %_DATETIME%


remove code gen bat script in dotnet cli example

--- examples/csharp/helloworld-from-cli/generate_protos.bat
+++ examples/csharp/helloworld-from-cli/generate_protos.bat
@@ -1,41 +0,0 @@
-@rem Copyright 2016, Google Inc.
-@rem All rights reserved.
-@rem
-@rem Redistribution and use in source and binary forms, with or without
-@rem modification, are permitted provided that the following conditions are
-@rem met:
-@rem
-@rem     * Redistributions of source code must retain the above copyright
-@rem notice, this list of conditions and the following disclaimer.
-@rem     * Redistributions in binary form must reproduce the above
-@rem copyright notice, this list of conditions and the following disclaimer
-@rem in the documentation and/or other materials provided with the
-@rem distribution.
-@rem     * Neither the name of Google Inc. nor the names of its
-@rem contributors may be used to endorse or promote products derived from
-@rem this software without specific prior written permission.
-@rem
-@rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-@rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-@rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-@rem A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-@rem OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-@rem SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-@rem LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-@rem DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-@rem THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-@rem (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-@rem OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-@rem Generate the C# code for .proto files
-
-setlocal
-
-@rem enter this directory
-cd /d %~dp0
-
-set TOOLS_PATH=packages\Grpc.Tools.1.0.0\tools\windows_x86
-
-%TOOLS_PATH%\protoc.exe -I../../protos --csharp_out Greeter  ../../protos/helloworld.proto --grpc_out Greeter --plugin=protoc-gen-grpc=%TOOLS_PATH%\grpc_csharp_plugin.exe
-
-endlocal


Update tron_settings.bat

Update tron_settings.bat

--- resources/functions/tron_settings.bat
+++ resources/functions/tron_settings.bat
@@ -7,7 +7,7 @@

 :: Script version
 set TRON_SETTINGS_SCRIPT_VERSION=1.0.0
-set TRON_SETTINGS_SCRIPT_DATE=2014-02-06
+set TRON_SETTINGS_SCRIPT_DATE=2014-02-07

 :::::::::::::::
@@ -57,6 +57,7 @@
 :: PRESERVE_POWER_SCHEME  (-p)   = Preserve active power scheme. Default is to reset power scheme to Windows defaults at the end of Tron
 :: AUTO_REBOOT_DELAY      (-r)   = Post-run delay (in seconds) before rebooting. Set to 0 to disable auto-reboot
 :: SKIP_ANTIVIRUS_SCANS   (-sa)  = Skip ALL antivirus scans (KVRT, MBAM, SAV). Use per-scanner flags to individually toggle usage
+:: SKIP_APP_PATCHES       (-sap) = Set to yes to skip application patches (don't patch 7-Zip, Java Runtime, Adobe Flash Player and Adobe Reader)
 :: SKIP_CUSTOM_SCRIPTS    (-scs) = Set to yes to forcibly skip Stage 8: Custom Scripts regardless whether or not .bat files exist in the directory
 :: SKIP_DEBLOAT           (-sdb) = Set to yes to skip de-bloat section (OEM bloat removal). Implies -m
 :: SKIP_DEFRAG            (-sd)  = Set to yes to override the SSD detection check and force Tron to always skip defrag regardless of the drive type
@@ -65,7 +66,6 @@
 :: SKIP_EVENT_LOG_CLEAR   (-se)  = Set to yes to skip Event Log backup and clear
 :: SKIP_KASKPERSKY_SCAN   (-sk)  = Set to yes to skip Kaspersky Virus Rescue Tool scan
 :: SKIP_MBAM_INSTALL      (-sm)  = Set to yes to skip Malwarebytes Anti-Malware installation
-:: SKIP_PATCHES           (-sp)  = Set to yes to skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash Player and Adobe Reader)
 :: SKIP_PAGEFILE_RESET    (-spr) = Skip page file settings reset (don't set to "Let Windows manage the page file")
 :: SKIP_SOPHOS_SCAN       (-ss)  = Set to yes to skip Sophos Anti-Virus scan
 :: SKIP_TELEMETRY_REMOVAL (-str) = Set to yes to skip Telemetry Removal (just turn telemetry off instead of removing it)
@@ -84,6 +84,7 @@
 set PRESERVE_POWER_SCHEME=no
 set AUTO_REBOOT_DELAY=0
 set SKIP_ANTIVIRUS_SCANS=no
+set SKIP_APP_PATCHES=no
 set SKIP_CUSTOM_SCRIPTS=no
 set SKIP_DEBLOAT=no
 set SKIP_DEFRAG=no
@@ -92,7 +93,6 @@
 set SKIP_EVENT_LOG_CLEAR=no
 set SKIP_KASPERSKY_SCAN=no
 set SKIP_MBAM_INSTALL=no
-set SKIP_PATCHES=no
 set SKIP_PAGEFILE_RESET=no
 set SKIP_SOPHOS_SCAN=no
 set SKIP_TELEMETRY_REMOVAL=no


Fixed stable build

Fixed stable build

--- scripts/Stable.bat
+++ scripts/Stable.bat
@@ -4,9 +4,11 @@
 SET root=%~dp0
 CD /D %root%
 SET rootdir=%cd%
-SET build1=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net\
-SET build2=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net.Commands\
-SET build3=%root%NadekoInstall_Temp\NadekoBot\src\NadekoBot\
+SET build1=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Core\
+SET build2=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Rest\
+SET build3=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.WebSocket\
+SET build4=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Commands\
+SET build5=%root%NadekoInstall_Temp\NadekoBot\src\NadekoBot\
 SET installtemp=%root%NadekoInstall_Temp\
 ::Deleting traces of last setup for the sake of clean folders, if by some miracle it still exists
 IF EXIST %installtemp% ( RMDIR %installtemp% /S /Q >nul 2>&1)
@@ -31,6 +33,10 @@
 CD /D %build2%
 dotnet restore >nul 2>&1
 CD /D %build3%
+dotnet restore >nul 2>&1
+CD /D %build4%
+dotnet restore >nul 2>&1
+CD /D %build5%
 dotnet restore >nul 2>&1
 dotnet build --configuration Release >nul 2>&1
 ::Attempts to backup old files if they currently exist in the same folder as the batch file


Add script to generate source code

Add script to generate source code

error: pathspec 'script/generate.bat' did not match any file(s) known to git

--- script/generate.bat
+++ script/generate.bat
@@ -0,0 +1,25 @@
+@echo off
+SET ROOT=%~dp0..
+SET JARDIR=%ROOT%\lib
+
+SET GENSRC=%ROOT%\gen\src
+
+MKDIR %ROOT%\gen 2> NULL
+MKDIR %GENSRC% 2> NULL
+
+SET JDBC_CONFIG=%ROOT%\pg.properties
+SET JDBC_URL=jdbc:postgresql:test
+SET ENV=fi.tnie.db.meta.impl.pg.PGEnvironment
+SET ROOT_PACKAGE=fi.tnie.db.build
+
+REM echo %JARDIR%
+
+REM Build java classpath:
+SET META_GEN_CP=%ROOT%\classes
+SET META_GEN_CP=%META_GEN_CP%;%JARDIR%\postgresql-8.4-701.jdbc3.jar
+SET META_GEN_CP=%META_GEN_CP%;%JARDIR%\util.jar
+SET META_GEN_CP=%META_GEN_CP%;%JARDIR%\log4j.jar
+
+REM read to go:
+java -classpath %META_GEN_CP% fi.tnie.db.build.Builder -g %GENSRC% -j %JDBC_CONFIG% -e %ENV% --root-package %ROOT_PACKAGE% -u %JDBC_URL%
+@echo on


Skip defrag on Hyper-V to save 2GB in final VHDX

--- scripts/compact.bat
+++ scripts/compact.bat
@@ -26,7 +26,9 @@
 mkdir C:\Windows\SoftwareDistribution\Download
 net start wuauserv

-cmd /c C:\Windows\Temp\ultradefrag-portable-6.1.0.amd64\udefrag.exe --optimize --repeat C:
+if "%PACKER_BUILDER_TYPE%" neq "hyperv-iso" (
+	cmd /c C:\Windows\Temp\ultradefrag-portable-6.1.0.amd64\udefrag.exe --optimize --repeat C:

-cmd /c %SystemRoot%\System32\reg.exe ADD HKCU\Software\Sysinternals\SDelete /v EulaAccepted /t REG_DWORD /d 1 /f
-cmd /c C:\Windows\Temp\sdelete.exe -q -z C:
+	cmd /c %SystemRoot%\System32\reg.exe ADD HKCU\Software\Sysinternals\SDelete /v EulaAccepted /t REG_DWORD /d 1 /f
+	cmd /c C:\Windows\Temp\sdelete.exe -q -z C:
+)


Removed trailing slash (\)

Removed trailing slash (\)

--- scripts/install.bat
+++ scripts/install.bat
@@ -1,4 +1,4 @@
 ECHO on
 FOR /f %%i IN ('dir /ad /b "C:\" ^|findstr /I "mongo"') DO set dest=%%i
-MOVE C:\%dest% C:\mongodb\
+MOVE C:\%dest% C:\mongodb
 setx MYPATH "%PATH%;C:\mongodb\bin"


add update from scripts

add update from scripts

--- script/after-feature-pull-request.bat
+++ script/after-feature-pull-request.bat
@@ -2,9 +2,22 @@
 setlocal
 cls

+git fetch origin
 git show-branch --list feature-*
 echo.
-SET /P release_branch="Please enter version of release branch: feature-"
+SET /P feature_branch="Please enter version of feature branch: feature-"
+echo.
+echo.
+echo "Switch to feature workspace"
+git checkout -b feature-%feature_branch% origin/feature-%feature_branch%
+echo.
+echo.
+echo "Merge from develop branch"
+git merge develop
+echo.
+echo.
+echo "Switch to develop branch"
+git checkout develop
 echo.
 echo.
 echo Merge feature-%feature_branch% to develop
@@ -25,4 +38,4 @@
 echo.
 echo.
 echo Push the merge with version change to GitHub
-git push origin develop+git push origin develop


docs/make.bat: Run the `sphinx-apidoc` regardless of what output is expected.

--- docs/make.bat
+++ docs/make.bat
@@ -73,17 +73,16 @@
 	exit /b 1
 )

+%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
+if errorlevel 1 exit /b 1
+
 if "%1" == "rst" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	echo.
 	echo.Build finished. The RST pages are in in the current directory.
 	goto end
 )

 if "%1" == "html" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
 	if errorlevel 1 exit /b 1
 	echo.
@@ -92,8 +91,6 @@
 )

 if "%1" == "dirhtml" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
 	if errorlevel 1 exit /b 1
 	echo.
@@ -102,8 +99,6 @@
 )

 if "%1" == "singlehtml" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
 	if errorlevel 1 exit /b 1
 	echo.
@@ -112,8 +107,6 @@
 )

 if "%1" == "pickle" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
 	if errorlevel 1 exit /b 1
 	echo.
@@ -122,8 +115,6 @@
 )

 if "%1" == "json" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
 	if errorlevel 1 exit /b 1
 	echo.
@@ -132,8 +123,6 @@
 )

 if "%1" == "htmlhelp" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
 	if errorlevel 1 exit /b 1
 	echo.
@@ -143,8 +132,6 @@
 )

 if "%1" == "qthelp" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
 	if errorlevel 1 exit /b 1
 	echo.
@@ -157,8 +144,6 @@
 )

 if "%1" == "devhelp" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
 	if errorlevel 1 exit /b 1
 	echo.
@@ -167,8 +152,6 @@
 )

 if "%1" == "epub" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
 	if errorlevel 1 exit /b 1
 	echo.
@@ -177,8 +160,6 @@
 )

 if "%1" == "latex" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
 	if errorlevel 1 exit /b 1
 	echo.
@@ -187,8 +168,6 @@
 )

 if "%1" == "latexpdf" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
 	cd %BUILDDIR%/latex
 	make all-pdf
@@ -199,8 +178,6 @@
 )

 if "%1" == "latexpdfja" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
 	cd %BUILDDIR%/latex
 	make all-pdf-ja
@@ -211,8 +188,6 @@
 )

 if "%1" == "text" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
 	if errorlevel 1 exit /b 1
 	echo.
@@ -221,8 +196,6 @@
 )

 if "%1" == "man" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
 	if errorlevel 1 exit /b 1
 	echo.
@@ -231,8 +204,6 @@
 )

 if "%1" == "texinfo" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
 	if errorlevel 1 exit /b 1
 	echo.
@@ -241,8 +212,6 @@
 )

 if "%1" == "gettext" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
 	if errorlevel 1 exit /b 1
 	echo.
@@ -251,8 +220,6 @@
 )

 if "%1" == "changes" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
 	if errorlevel 1 exit /b 1
 	echo.
@@ -261,8 +228,6 @@
 )

 if "%1" == "linkcheck" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
 	if errorlevel 1 exit /b 1
 	echo.
@@ -272,8 +237,6 @@
 )

 if "%1" == "doctest" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
 	if errorlevel 1 exit /b 1
 	echo.
@@ -283,8 +246,6 @@
 )

 if "%1" == "xml" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
 	if errorlevel 1 exit /b 1
 	echo.
@@ -293,8 +254,6 @@
 )

 if "%1" == "pseudoxml" (
-	%SPHINXAPIDOC% -f -T -e -M -o . .. ../setup.py ../tests ../versioneer.py
-	if errorlevel 1 exit /b 1
 	%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
 	if errorlevel 1 exit /b 1
 	echo.


Correct mistake in windows bat file

Correct mistake in windows bat file

--- ci/msvc_install.bat
+++ ci/msvc_install.bat
@@ -1,8 +1,8 @@
 mkdir build
-#mkdir 3rdparty\build
+REM mkdir 3rdparty\build
 Robocopy "./tools/googletest/googlemock" "./tools/protobuf/gmock" /E /MT:2 /R:0 /DCOPY:T
 Robocopy "./tools/googletest/googletest" "./tools/protobuf/gmock/gtest" /E /MT:2 /R:0 /DCOPY:T
-#Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T
+REM Robocopy "./tools/spdlog/include" "./3rdparty/include" /E /MT:2 /R:0 /DCOPY:T
 IF %ERRORLEVEL% LSS 8 goto build
 goto :eof


Update Socket Library - extensions/socket/buildvc.bat

--- extensions/socket/buildvc.bat
+++ extensions/socket/buildvc.bat
@@ -1,5 +1,5 @@
 cls
-call ../../../src/locatevc.bat
-cl /c /DEBUG ext\socket.c -I"..\..\..\include"
-link /DEBUG socket.obj  ..\..\..\lib\ring.lib /DLL /OUT:socket.dll /SUBSYSTEM:CONSOLE,"5.01"
+call ../../language/src/locatevc.bat
+cl /c /DEBUG ext\socket.c -I"..\..\language\include"
+link /DEBUG socket.obj  ..\..\lib\ring.lib /DLL /OUT:socket.dll /SUBSYSTEM:CONSOLE,"5.01"
 del socket.obj


add more aliases

add more aliases

--- windows/alias.cmd
+++ windows/alias.cmd
@@ -4,8 +4,10 @@

 :: Commands
 DOSKEY s="C:\Program Files\Sublime Text 3\subl.exe" $*
-DOSKEY sb="C:\Program Files\Sublime Text 3\subl.exe" -n /
+DOSKEY sb="C:\Program Files\Sublime Text 3\subl.exe" -n /
 DOSKEY ..=cd ..
+DOSKEY ...=cd ..\..
 DOSKEY c=cd c:\
 DOSKEY d=cd c:\dev
-DOSKEY g=cd c:\git+DOSKEY g=cd c:\git
+DOSKEY gs=git status


Call "adb install" with "-r"

Call "adb install" with "-r"

Replace the existing gnirehtet application on the device, if any.

--- gnirehtet.cmd
+++ gnirehtet.cmd
@@ -95,7 +95,7 @@

 :do_install
     ECHO Installing gnirehtet...
-    CALL %ADB% %serial% install %APK%
+    CALL %ADB% %serial% install -r %APK%
     EXIT /B 0

 :do_uninstall


remove compileGBC.bat

remove compileGBC.bat

--- java/edu/gatech/gritslab/compileGBC.bat
+++ java/edu/gatech/gritslab/compileGBC.bat
@@ -1,2 +0,0 @@
-"C:\Program Files (x86)\Java\jdk1.6.0_17\bin\javac" -g GritsBotConnector.java
-pause


mauvais commit

mauvais commit

--- src/application.bat
+++ src/application.bat
@@ -1,4 +1,13 @@
 ### application.bat - 201x - deboté ###
+<<<<<<< HEAD
 echo "Build : 10:00"
 echo "Copyright company - 201x"
-echo "version 1.2"+echo "version 1.2"
+=======
+version = "2"
+build_hour = "11H00"
+
+echo "Build ${build_hour}"
+echo "Copyright company - 201x"
+echo "version ${version}"
+>>>>>>> dev


Update local Qt upload instructions

Update local Qt upload instructions

[skip ci]

--- maintenance/local-upload/qt/run-win.bat
+++ maintenance/local-upload/qt/run-win.bat
@@ -1,7 +1,9 @@
 REM {
-set TOOLCHAIN=vs-14-2015
+set TOOLCHAIN=vs-14-2015-sdk-8-1
 set PROJECT_DIR=examples/qt-widgets
 .\jenkins.py --verbose --clear-except-download || exit /b 1
+set PROJECT_DIR=examples/qt-core
+.\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-qml
 .\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-location
@@ -14,6 +16,22 @@
 set TOOLCHAIN=vs-12-2013
 set PROJECT_DIR=examples/qt-widgets
 .\jenkins.py --verbose --clear-except-download || exit /b 1
+set PROJECT_DIR=examples/qt-core
+.\jenkins.py --verbose --nocreate || exit /b 1
+set PROJECT_DIR=examples/qt-qml
+.\jenkins.py --verbose --nocreate || exit /b 1
+set PROJECT_DIR=examples/qt-location
+.\jenkins.py --verbose --nocreate || exit /b 1
+set PROJECT_DIR=examples/qt-camera
+.\jenkins.py --verbose --upload --nocreate || exit /b 1
+REM }
+
+REM {
+set TOOLCHAIN=vs-12-2013-win64
+set PROJECT_DIR=examples/qt-widgets
+.\jenkins.py --verbose --clear-except-download || exit /b 1
+set PROJECT_DIR=examples/qt-core
+.\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-qml
 .\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-location
@@ -26,6 +44,8 @@
 set TOOLCHAIN=mingw
 set PROJECT_DIR=examples/qt-widgets
 .\jenkins.py --verbose --clear-except-download || exit /b 1
+set PROJECT_DIR=examples/qt-core
+.\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-qml
 .\jenkins.py --verbose --nocreate || exit /b 1
 set PROJECT_DIR=examples/qt-location


Added skip_no_updates setting.

Added skip_no_updates setting.

--- automate_builds.bat
+++ automate_builds.bat
@@ -24,6 +24,10 @@
 REM Have the build bot email the report when set to 1. If not using mailsend/emailing feature, just set to 0.
 SET auto_build_setting_email_report=1
 SET abs_project_failed_flag=0
+
+REM Set to to 0 to build each project even if there were no changes pulled during the abs_update step.
+REM Using 1 will skip cleaning, building and other steps for projects where update indiccated no changes.
+SET abs_skip_if_no_updates=0

 REM When this is false, 0, the auto_update script will attempt to check the output from the source control update
 REM for any modified files and if no files have been modified cancel the build prematurely, in a non failure
@@ -127,8 +131,17 @@
 					IF 0==!abs_return_value! (
 						REM Continue on to the next build phase.
 					) ELSE (
-						SET abs_project_failed_flag=1
-						(ECHO FAILED: "!pathLocalToCurrent!\%%f"   ERROR: !abs_return_value! [stopping current project])>>!abs_summary_report_file!
+						IF "%%f" == "auto_update.bat" (
+							IF 1==!abs_skip_if_no_updates! (
+								REM This will skip all remaining scripts because abs_return_value is non-zero.
+							) ELSE (
+								REM This will effectively continue looping over the scripts in current project.
+								SET abs_return_value=0
+							)
+						) ELSE (
+							SET abs_project_failed_flag=1
+							(ECHO FAILED: "!pathLocalToCurrent!\%%f"   ERROR: !abs_return_value! [stopping current project])>>!abs_summary_report_file!
+						)
 					)
 				)
 			)
@@ -190,4 +203,4 @@
 )

 GOTO :EOF
-PAUSE+PAUSE


Removed execute bit from testacular.bat

Removed execute bit from testacular.bat


remove testing pause statement

remove testing pause statement

--- resources/stage_0_prep/check_update/check_update_debloat_lists.bat
+++ resources/stage_0_prep/check_update/check_update_debloat_lists.bat
@@ -56,7 +56,7 @@
     ping 127.0.0.1 -n 4 >nul
     goto :wget_check_loop
 )
-pause
+
 :: Reset window title since wget clobbers it
 title Tron v%SCRIPT_VERSION% (%SCRIPT_DATE%)


update of presentation text

update of presentation text

--- bin/_mkproject.bat
+++ bin/_mkproject.bat
@@ -47,7 +47,8 @@
 cls

 echo+
-echo  ASSETS CATEGORY ---
+echo    Active Project: %PROJECTNAME%
+echo    You are in: %MINDBENDER_SILO%
 echo+

 :: List available assets, without their .bat suffix


Fixing whitespace in batch file.

Fixing whitespace in batch file.

--- bin/javadoc-ftl.bat
+++ bin/javadoc-ftl.bat
@@ -1,2 +1 @@
-javadoc -docletpath "%~dp0\..\target\freemarkerdoclet.jar" \
-        -doclet org.ctnitchie.doclet.freemarker.FreemarkerDoclet %*
+javadoc -docletpath "%~dp0\..\target\freemarkerdoclet.jar" -doclet org.ctnitchie.doclet.freemarker.FreemarkerDoclet %*


start javaw

start javaw

git-svn-id: 1f5e550eb8bb531d45c5c6075b0599b1839a23c2@358 3dd849cd-670e-4645-a7cd-dd197c8d0e81

--- jailerGUI.bat
+++ jailerGUI.bat
@@ -17,4 +17,4 @@

 echo %CP%

-java -cp %CP% net.sf.jailer.ui.ExtractionModelFrame %*
+start javaw -cp %CP% net.sf.jailer.ui.ExtractionModelFrame %*


2.7.0-10

2.7.0-10

Restore previous title in console window new method.

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -5,17 +5,13 @@
 setlocal enabledelayedexpansion
 if #thrd# equ #%~1# call:threadwork %4 %5 "%~2" "%~3" & exit /b
 if #updateic# equ #%~1# call:icupdate & exit /b
-if ##secondcall## equ #%~1# goto:main
-set "CMDCMDLINE1=%CMDCMDLINE%" 1>nul 2>nul
-set "paramf=%*" 1>nul 2>nul
-cmd /c ""%~0" #secondcall#"
-exit /b
-:main
 set "name=Image Catalyst"
 set "version=2.6"
+set "oldtitle="
+call:gettitle oldtitle
 title %name% %version%
 set "spacebar=-------------------------------------------------------------------------------"
-if not defined paramf call:helpmsg & exit /b
+if ## equ #%~1# call:helpmsg & exit /b
 set "fullname=%~0"
 set "scrpath=%~dp0"
 set "sconfig=%scrpath%Tools\"
@@ -77,7 +73,9 @@
 	1>&2 echo.
 	1>&2 echo. Check permissions and try again.
 	1>&2 echo.%spacebar%
-	call:dopause & exit /b
+	call:dopause
+	if defined oldtitle title %oldtitle%
+	exit /b
 )

 :settemp
@@ -86,6 +84,7 @@
 	set "tmppath=%tmppath%%rnd%"
 	1>nul 2>&1 md "%tmppath%%rnd%" || (
 		call:errormsg "Can not create temporary directory:" "%tmppath%%rnd%!"
+		if defined oldtitle title %oldtitle%
 		exit /b
 	)
 ) else (
@@ -144,12 +143,13 @@
 if /i "%giftags%" equ "true" (set "giftags=--no-comments --no-extensions --no-names") else (set "giftags=")
 call set "outdir=%outdir%"
 if defined outdir set oparam="/Outdir:%outdir%"
-cscript //nologo //E:JScript "%scripts%pfilter.js" %paramf% %oparam% 1>"%paramfile%" 2>"%filelisterr%"
+cscript //nologo //E:JScript "%scripts%pfilter.js" %* %oparam% 1>"%paramfile%" 2>"%filelisterr%"
 call:readini "%paramfile%"
 if defined perr (
 	set "perr=%perr:~,-1%"
 	set "perr=!perr:;=, !"
 	call:errormsg "Unknown !perr! setting(s^) value."
+	if defined oldtitle title %oldtitle%
 	exit /b
 )
 if not defined params for %%a in ("%filelisterr%") do if %%~za neq 0 (
@@ -161,6 +161,7 @@
 		echo.%spacebar%
 	)
 	call:errormsg
+	if defined oldtitle title %oldtitle%
 	exit /b
 )
 1>nul 2>&1 del /f/q "%paramfile%"
@@ -179,6 +180,7 @@
 	if not exist "!outdir!" (
 		1>nul 2>&1 md "!outdir!" || (
 			call:errormsg "Can not create directory for optimized files:" "!outdir!"
+			if defined oldtitle title %oldtitle%
 			exit /b
 )))

@@ -216,6 +218,7 @@
 if %TotalNumPNG% equ 0 if %TotalNumJPG% equ 0 if %TotalNumGIF% equ 0 (
 	call:clearscreen
 	call:errormsg "No images found. Please check input and try again."
+	if defined oldtitle title %oldtitle%
 	exit /b
 )
 for /l %%a in (1,1,%thread%) do (
@@ -248,7 +251,9 @@
 echo.%spacebar%
 call:setitle
 call:end
-call:dopause & exit /b
+call:dopause
+if defined oldtitle title %oldtitle%
+exit /b

 :checkparams
 set "ispng=%png%" & set "isjpeg=%jpeg%" & set "isgif=%gif%"
@@ -1246,13 +1251,40 @@
 :dopause
 setlocal
 set "x=%~f0"
-1>nul echo.%CMDCMDLINE1% 2>nul && (echo.%CMDCMDLINE1% | 1>nul 2>&1 findstr /ilc:"%x%" && 1>nul 2>&1 pause)
+1>nul echo.%CMDCMDLINE% 2>nul && (echo.%CMDCMDLINE% 2>nul | 1>nul 2>&1 findstr /ilc:"%x%" && 1>nul 2>&1 pause)
 set "x="
 endlocal & exit /b

 :clearscreen
 setlocal
 set "x=%~f0"
-1>nul echo.%CMDCMDLINE1% 2>nul && (echo.%CMDCMDLINE1% 2>nul | 1>nul 2>&1 findstr /ilc:"%x%" && cls)
+1>nul echo.%CMDCMDLINE% 2>nul && (echo.%CMDCMDLINE% 2>nul | 1>nul 2>&1 findstr /ilc:"%x%" && cls)
 set "x="
 endlocal & exit /b
+
+:gettitle
+setlocal
+set "tpid="
+call:getpid tpid || (endlocal & exit /b 1)
+set "ctitle="
+set "titfile=%TEMP%\%RANDOM%%RANDOM%.tasklist.txt"
+1>"%titfile%" 2>nul tasklist /v /nh /fo csv /fi "pid eq %tpid%"
+if errorlevel 1 1>"%titfile%" 2>nul tasklist /v /nh /fo csv /fi "ID  eq %tpid%"
+for /f "usebackq tokens=8,* delims=," %%a in ("%titfile%") do (
+	for /f "tokens=1 delims=-" %%c in ("%%~b") do set "ctitle=%%~c"
+)
+1>nul 2>&1 del /f/q "%titfile%"
+if not defined ctitle (endlocal & exit /b 2)
+endlocal & set "%~1=%ctitle:~,-1%"
+exit /b 0
+
+:getpid
+setlocal
+set "cpid="
+set "pidfile=%TEMP%\%RANDOM%%RANDOM%.ic.wmic.process.txt"
+wmic process get CommandLine,Name,ParentProcessID,ProcessID /format:csv >"%pidfile%"
+for /f "tokens=7,8 delims=," %%a in ('type "%pidfile%" ^| findstr "CommandLine,Name,ParentProcessID,ProcessID" ') do set "cpid=%%a"
+1>nul 2>&1 del /f/q "%pidfile%"
+if not defined cpid endlocal & exit /b 1
+endlocal & set "%~1=%cpid%"
+exit /b 0


Fix issue where CBT.NuGet.dll wasn't included in package because BinDir contained .."

--- src/packall.cmd
+++ src/packall.cmd
@@ -2,11 +2,11 @@
 msbuild /v:m /m /nologo dirs.proj /t:Rebuild

 FOR /F "usebackq" %%A IN (`dir %~dp0*.nuspec /s /b ^| findstr /v /i "CBT.DotNetFx"`) DO (
-	CALL :Pack "%%A"
+	CALL :Pack "%%A" "%~dp0.."
 )

 GOTO :EOF

 :Pack

-"NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~dp0..\bin\Debug\AnyCPU\%~n1"+"NuGet.exe" pack "%~1" -OutputDirectory %~dp0 -Properties "BinDir=%~f2\bin\Debug\AnyCPU\%~n1"


Updating run command to include output type

--- backtest-all-configurations.bat
+++ backtest-all-configurations.bat
@@ -1,2 +1,2 @@
-call java -cp systematic-trading-backtest/target/systematic-trading-backtest-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.systematic.trading.backtest.AllConfigurations
+call java -cp systematic-trading-backtest/target/systematic-trading-backtest-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.systematic.trading.backtest.AllConfigurations elastic-search
 exit


Added flashlight firewall rules to Lantern.bat

--- install/win/Lantern.bat
+++ install/win/Lantern.bat
@@ -10,6 +10,7 @@
 if "%2" == "" goto error
 echo Checked second

+set FLASHLIGHT=%APPDATA%\flashlight.exe
 set BE_HOME=%APPDATA%\byteexec
 set NATTY=%BE_HOME%\natty.exe

@@ -25,20 +26,26 @@
 goto install

 :install
+Rem Create a stub of the flashlight executable if not present
+type nul >>"%FLASHLIGHT%"
 Rem Create the .byteexec folder just in case
 mkdir "%BE_HOME%"
 Rem Create a stub of the natty executable if not present
 type nul >>"%NATTY%"
 if defined NEW_NETSH netsh advfirewall firewall add rule name="Lantern" dir=in action=allow program="%~1\Lantern.exe" enable=yes profile=any
+if defined NEW_NETSH netsh advfirewall firewall add rule name="flashlight" dir=in action=allow program="%FLASHLIGHT%" enable=yes profile=any
 if defined NEW_NETSH netsh advfirewall firewall add rule name="natty" dir=in action=allow program="%NATTY%" enable=yes profile=any
 if defined OLD_NETSH netsh firewall add allowedprogram "%~1\Lantern.exe" "Lantern" ENABLE
+if defined OLD_NETSH netsh firewall add allowedprogram "%FLASHLIGHT%" "flashlight" ENABLE
 if defined OLD_NETSH netsh firewall add allowedprogram "%NATTY%" "natty" ENABLE
 goto :end

 :removeNetSh
 if defined NEW_NETSH netsh advfirewall firewall delete rule name="Lantern" program="%~1\Lantern.exe"
+if defined NEW_NETSH netsh advfirewall firewall delete rule name="flashlight" program="%FLASHLIGHT%"
 if defined NEW_NETSH netsh advfirewall firewall delete rule name="natty" program="%NATTY%"
 if defined OLD_NETSH netsh firewall delete allowedprogram "%~1\Lantern.exe"
+if defined OLD_NETSH netsh firewall delete allowedprogram "%FLASHLIGHT%"
 if defined OLD_NETSH netsh firewall delete allowedprogram "%NATTY%"
 goto :end


added

added

git-svn-id: 4b6d41e9940b00d32d826e7d279a79f5b8ae3021@265 459513c6-d918-8e31-8e7a-abb81885386f

error: pathspec 'mkrelease.bat' did not match any file(s) known to git

--- mkrelease.bat
+++ mkrelease.bat
@@ -0,0 +1,9 @@
+@echo off
+
+tar --exclude=neko/lexer.ml --exclude=.cvsignore --exclude=neko/*.cm* --exclude=neko/*.o* --exclude=*.tgz --exclude=CVS --exclude=libs/mtypes --exclude=bin/* --exclude=*.sln --exclude=*.vcproj --exclude=*.suo --exclude=*.ncb --exclude=debug --exclude=release --exclude=libs/include -zcf neko-1.0.tgz libs neko bin vm LICENSE Makefile
+mkdir neko-1.0
+tar -C neko-1.0 -zxf neko-1.0.tgz
+tar -zcf neko-1.0.tgz neko-1.0
+rm -rf neko-1.0
+
+pause


added

added


removed LIBRARY_BIN from infront of cmake

--- recipes/rsgislib/bld.bat
+++ recipes/rsgislib/bld.bat
@@ -1,5 +1,5 @@

-%LIBRARY_BIN%\cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
+cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
     -D CMAKE_BUILD_TYPE=Release ^
     -D INSTALL_PYTHON_USING_PREFIX=OFF ^
     -D PYTHON_EXE=%PYTHON% ^


Batch file to generate the bootstrapping proto files

error: pathspec 'csharp/protogen.bat' did not match any file(s) known to git

--- csharp/protogen.bat
+++ csharp/protogen.bat
@@ -0,0 +1,9 @@
+pushd ../src
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers/DescriptorProtos google/protobuf/descriptor.proto
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos google/protobuf/unittest.proto
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos google/protobuf/unittest_embed_optimize_for.proto
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos google/protobuf/unittest_import.proto
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos google/protobuf/unittest_mset.proto
+../vsprojects/debug/protoc --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos google/protobuf/unittest_optimize_for.proto
+../vsprojects/debug/protoc -I ../java:. --csharp_out=../csharp/ProtocolBuffers.Test/TestProtos ../java/src/test/java/com/google/protobuf/multiple_files_test.proto
+popd


default to 64 bit compile

default to 64 bit compile

--- make.msvc.bat
+++ make.msvc.bat
@@ -48,7 +48,7 @@
 set CL_FILES="commviewer_win.cpp" /TP "commviewer.cpp"

 :: /MACHINE:X64
-set LINK_OPTS=/OUT:win.xpl /INCREMENTAL:NO /NOLOGO /DLL /MANIFEST:NO /NXCOMPAT /DYNAMICBASE /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /LIBPATH:"SDK\Libraries\Win" /TLBID:1
+set LINK_OPTS=/MACHINE:X64 /OUT:win.xpl /INCREMENTAL:NO /NOLOGO /DLL /MANIFEST:NO /NXCOMPAT /DYNAMICBASE /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /LIBPATH:"SDK\Libraries\Win" /TLBID:1

 :: "libcmt.lib" "SetupAPI.lib" "XPLM_64.lib" "XPLM.lib"
 set LINK_LIBS="user32.lib" "Opengl32.lib" "odbc32.lib" "odbccp32.lib" "XPLM_64.lib" "kernel32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib"


Remove make_version from windows' recipe

--- conda.recipe/bld.bat
+++ conda.recipe/bld.bat
@@ -1,3 +1,2 @@
 cd %RECIPE_DIR%\..
-%PYTHON% make_version.py
 %PYTHON% setup.py install --single-version-externally-managed --record=record.txt


Added newline at the end of file

Added newline at the end of file

--- R7.University/Package.cmd
+++ R7.University/Package.cmd
@@ -35,4 +35,4 @@
 rmdir /Q /S %PACKAGE%

 popd
-endlocal+endlocal


batch file introduced

batch file introduced

error: pathspec 'startGCAnalyzer.bat' did not match any file(s) known to git

--- startGCAnalyzer.bat
+++ startGCAnalyzer.bat
@@ -0,0 +1,2 @@
+@echo off
+java -cp .\lib\*;%GROOVY_HOME%\embeddable\*;.\out\production\GCAnalyzer\ net.milanaleksic.gcanalyzer.GCAnalyzer "resources\gc\gc_log_apache.log"


Add script to launch the test suite with VC++

error: pathspec 'tests/Make-check-cl.bat' did not match any file(s) known to git

--- tests/Make-check-cl.bat
+++ tests/Make-check-cl.bat
@@ -0,0 +1,41 @@
+REM Execute the test suite for Microsoft Visual Studio
+REM
+REM Load Micosoft Visual Studio environement file.
+IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" (
+    call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
+)
+IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" (
+    call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
+)
+
+REM Remove previous results
+DEL *.log *.dat
+
+REM List the expected failure
+set "expectedFailure=test-msnapshot.c"
+
+REM Perform for each test
+for %%f in (test-*.c) do (
+    echo Testing %%f
+    REM Copy the test file as a C++ file as CL.EXE only support C++ file
+    copy %%f test.cpp
+    if ERRORLEVEL 1 EXIT /B 1
+    REM Compile the test suite
+    REM /experimental:preprocessor is mandatory to have a compliant preprocessor
+    REM /Zc:__cplusplus is needed to report the real value of __cplusplus, so that M*LIB uses the C++ atomic, and not its emulation.
+    cl.exe /I.. /O2 /std:c++14 /Zc:__cplusplus /experimental:preprocessor test.cpp > %%f.log 2>&1
+    if ERRORLEVEL 1 (
+        type %%f.log
+        echo BUILD ERROR for %%f
+        if /i "%%f" NEQ "%expectedFailure%" EXIT /B 1
+        )
+    REM Execute it
+    test.exe >> %%f.log 2>&1
+    if ERRORLEVEL 1 (
+        type %%f.log
+        echo RUN ERROR for %%f
+        if /i "%%f" NEQ "%expectedFailure%" EXIT /B 1
+    )
+    type %%f.log
+)
+exit /B 0


build: add vc-set-2012 label

build: add vc-set-2012 label

--- vcbuild.bat
+++ vcbuild.bat
@@ -51,6 +51,7 @@
 set GYP_MSVS_VERSION=2013
 goto select-target

+:vc-set-2012
 @rem Look for Visual Studio 2012
 if not defined VS110COMNTOOLS goto vc-set-2010
 if not exist "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2010


[LTO] Build lld on Windows CI

[LTO] Build lld on Windows CI

lld is necessary to enable LTO for LLVM bitcode files

--- utils/build-windows.bat
+++ utils/build-windows.bat
@@ -97,6 +97,7 @@
 git clone --depth 1 --single-branch --branch swift/master https://github.com/apple/llvm-project llvm-project %exitOnError%
 mklink /D "%source_root%\clang" "%source_root%\llvm-project\clang"
 mklink /D "%source_root%\llvm" "%source_root%\llvm-project\llvm"
+mklink /D "%source_root%\lld" "%source_root%\llvm-project\lld"
 mklink /D "%source_root%\lldb" "%source_root%\llvm-project\lldb"
 mklink /D "%source_root%\compiler-rt" "%source_root%\llvm-project\compiler-rt"
 mklink /D "%source_root%\libcxx" "%source_root%\llvm-project\libcxx"
@@ -165,7 +166,7 @@
     -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-windows-msvc^
     -DLLVM_ENABLE_PDB:BOOL=YES^
     -DLLVM_ENABLE_ASSERTIONS:BOOL=YES^
-    -DLLVM_ENABLE_PROJECTS:STRING=clang^
+    -DLLVM_ENABLE_PROJECTS:STRING=lld;clang^
     -DLLVM_TARGETS_TO_BUILD:STRING="AArch64;ARM;X86"^
     -DLLVM_INCLUDE_BENCHMARKS:BOOL=NO^
     -DLLVM_INCLUDE_DOCS:BOOL=NO^


skip signing of plugin DLL and installer.

--- build_installer.bat
+++ build_installer.bat
@@ -15,11 +15,12 @@
     call tools\plugin_dll_attributes_update.bat "%PLUGIN_DLL%" !PROJECT_VERSION! || goto ERROR_HANDLER

 :SIGN_PLUGIN_DLL
-    echo Signing plugin DLL...
-    call tools\codesign\sign_executable.bat "%PLUGIN_DLL%"
-    if ERRORLEVEL 1 (
-        goto ERROR_HANDLER
-    )
+      echo Skip signing of plugin DLL because cert is not available.
+::    echo Signing plugin DLL...
+::    call tools\codesign\sign_executable.bat "%PLUGIN_DLL%"
+::    if ERRORLEVEL 1 (
+::        goto ERROR_HANDLER
+::    )

 :SAVE_DEBUG_SYMBOLS
     call tools\save_debug_symbols.bat || goto ERROR_HANDLER
@@ -29,12 +30,13 @@
     ISCC inno_setup_data\aimp_control_plugin.iss || goto ERROR_HANDLER

 :SIGN_INSTALLER
-    echo Signing installer...
-    set INSTALLER_FILE=temp_build\Release\distrib\aimp_control_plugin-!PROJECT_VERSION!-setup.exe
-    call tools\codesign\sign_executable.bat %INSTALLER_FILE%
-    if ERRORLEVEL 1 (
-        goto ERROR_HANDLER
-    )
+      echo Skip signing of plugin installer because cert is not available.
+::    echo Signing installer...
+::    set INSTALLER_FILE=temp_build\Release\distrib\aimp_control_plugin-!PROJECT_VERSION!-setup.exe
+::    call tools\codesign\sign_executable.bat %INSTALLER_FILE%
+::    if ERRORLEVEL 1 (
+::        goto ERROR_HANDLER
+::    )

 echo Build successfull.
 exit /B 0


Make reload.bat work

Make reload.bat work

it didn't work, so I copy pasted a stack overflow thing and made it work

--- tgui/reload.bat
+++ tgui/reload.bat
@@ -1,9 +1,8 @@
 @echo off
 REM Get the documents folder from the registry.
-for /f "tokens=3* delims= " %%a in (
-    'reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"'
-) do (
-    set documents=%%a %%b
+@echo off
+for /f "tokens=3*" %%p in ('REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal') do (
+    set DocumentsFolder=%%p
 )
 REM Copy assets to the BYOND cache
-cmd /c copy assets\* "%documents%\BYOND\cache" /y
+cmd /c copy assets\* "%DocumentsFolder%\BYOND\cache" /y


Bumped up Klampt dependency package version

--- winpackage.bat
+++ winpackage.bat
@@ -7,7 +7,7 @@
 :: configuration variables
 SET klamptversion=0.8.2
 :: dependency libraries may be kept back to a prior version
-SET klamptdepversion=0.8.0
+SET klamptdepversion=0.8.2
 ::    this is used for Python build (VS 2015)
 SET VS90COMNTOOLS=%VS140COMNTOOLS%
 SET PYTHON27_32=D:\Python27\python.exe


fixed eol for symfony.bat

fixed eol for symfony.bat

git-svn-id: b349400a064d1b7ba2fe2e12028965f19dc7fbaa@2443 ee427ae8-e902-0410-961c-c3ed070cd9f9

--- data/bin/symfony.bat
+++ data/bin/symfony.bat
@@ -1,39 +1,39 @@
-@echo off
-
-rem *************************************************************
-rem ** symfony CLI for Windows based systems (based on phing.bat)
-rem *************************************************************
-
-rem This script will do the following:
-rem - check for PHP_COMMAND env, if found, use it.
-rem   - if not found detect php, if found use it, otherwise err and terminate
-
-if "%OS%"=="Windows_NT" @setlocal
-
-rem %~dp0 is expanded pathname of the current script under NT
-set SCRIPT_DIR=%~dp0
-
-goto init
-
-:init
-
-if "%PHP_COMMAND%" == "" goto no_phpcommand
-
-IF EXIST ".\symfony" (
-  %PHP_COMMAND% -d html_errors=off ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
-) ELSE (
-  %PHP_COMMAND% -d html_errors=off "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
-)
-goto cleanup
-
-:no_phpcommand
-rem echo ------------------------------------------------------------------------
-rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
-rem echo          executable (e.g. C:\PHP\php.exe).  (assuming php.exe on PATH)
-rem echo ------------------------------------------------------------------------
-set PHP_COMMAND=php.exe
-goto init
-
-:cleanup
-if "%OS%"=="Windows_NT" @endlocal
-rem pause
+@echo off
+
+rem *************************************************************
+rem ** symfony CLI for Windows based systems (based on phing.bat)
+rem *************************************************************
+
+rem This script will do the following:
+rem - check for PHP_COMMAND env, if found, use it.
+rem   - if not found detect php, if found use it, otherwise err and terminate
+
+if "%OS%"=="Windows_NT" @setlocal
+
+rem %~dp0 is expanded pathname of the current script under NT
+set SCRIPT_DIR=%~dp0
+
+goto init
+
+:init
+
+if "%PHP_COMMAND%" == "" goto no_phpcommand
+
+IF EXIST ".\symfony" (
+  %PHP_COMMAND% -d html_errors=off ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
+) ELSE (
+  %PHP_COMMAND% -d html_errors=off "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
+)
+goto cleanup
+
+:no_phpcommand
+rem echo ------------------------------------------------------------------------
+rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
+rem echo          executable (e.g. C:\PHP\php.exe).  (assuming php.exe on PATH)
+rem echo ------------------------------------------------------------------------
+set PHP_COMMAND=php.exe
+goto init
+
+:cleanup
+if "%OS%"=="Windows_NT" @endlocal
+rem pause


Update bld.bat

Update bld.bat

--- libboost-python/bld.bat
+++ libboost-python/bld.bat
@@ -37,6 +37,8 @@
         --build-dir=buildboost ^
         --prefix=%LIBRARY_PREFIX%
 IF errorlevel 1 exit 1
+ECHO dir  %LIBRARY_INC%
+CALL dir  %LIBRARY_INC%
 move %LIBRARY_INC%\boost-1_61\boost %LIBRARY_INC%
 IF errorlevel 1 exit 1


Ensure the windows copy script copies subdirectories

--- Scripts/CopyResources.bat
+++ Scripts/CopyResources.bat
@@ -3,7 +3,7 @@
 set targetDir=%2

 :: Windows resources
-xcopy /Y "%solutionDir%WinResources" "%targetDir%"
+xcopy /Y /E "%solutionDir%WinResources" "%targetDir%"

 :: Game data
-xcopy /Y "%solutionDir%Data" "%targetDir%"+xcopy /Y /E "%solutionDir%Data" "%targetDir%"


Added *.lib to things that are deleted.

Added *.lib to things that are deleted.

--- delbin.bat
+++ delbin.bat
@@ -1 +1 @@
-del /S /Q *.a *.aps *.bsc *.dll *.dsw *.exe *.idb *.ilc *.ild *.ilf *.ilk *.ils *.map *.ncb *.obj *.o *.opt *.pdb *.plg *.res *.sbr *.tds
+del /S /Q *.a *.aps *.bsc *.dll *.dsw *.exe *.idb *.ilc *.ild *.ilf *.ilk *.ils *.lib *.map *.ncb *.obj *.o *.opt *.pdb *.plg *.res *.sbr *.tds


small fix on deploy script

small fix on deploy script

--- deploy.cmd
+++ deploy.cmd
@@ -4,7 +4,7 @@
 set OLDDIR=%CD%
 SET "dir="D:\Archive (no backup)\arccasperdeploy""
 SET url=git@github.com:kaveh096/ArcCASPER.git
-::SET dropbox
+SET msg=""

 :: clean enviroment
 IF NOT EXIST %dir% ( git clone %url% %dir% )
@@ -19,18 +19,30 @@

 :: check if there is new commit to be built
 for /f %%i in ('d:\cygwin64\bin\bash.exe -c "/home/kshahabi/dropbox_uploader.sh list | grep %hash% | wc -l"') do set iscommit=%%i
-if %iscommit%==1 ( exit 0 )
+if %iscommit%==1 (
+  SET "msg=No new code is commited to dev branch"
+  goto :exit
+)

 :: build clean
 set NOREG=1
-msbuild.exe /target:rebuild /p:Configuration=Release /p:Platform=Win32 USC.GISResearchLab.ArcCASPER.sln
-msbuild.exe /target:rebuild /p:Configuration=Release /p:Platform=x64   USC.GISResearchLab.ArcCASPER.sln
+del /Q EvcSolver32.*
+del /Q EvcSolver64.*
+::msbuild.exe /target:rebuild /p:Configuration=Release /p:Platform=Win32 USC.GISResearchLab.ArcCASPER.sln
+::msbuild.exe /target:rebuild /p:Configuration=Release /p:Platform=x64   USC.GISResearchLab.ArcCASPER.sln

 :: post to dropbox
 cd Package
 "c:\Program Files\7-Zip\7z.exe" a -bd ArcCASPER-nigthly-%hash%.zip EvcSolver32.dll EvcSolver64.dll glut32.dll glut64.dll Manual.pdf readme.txt  install.cmd uninstall.cmd
-d:\cygwin64\bin\bash.exe -c "/home/kshahabi/dropbox_uploader.sh upload \"$(cygpath -u \"%CD%\ArcCASPER-nigthly-%hash%.zip\")\" ArcCASPER-nigthly-%hash%.zip"
+if %ERRORLEVEL==0 (
+  d:\cygwin64\bin\bash.exe -c "/home/kshahabi/dropbox_uploader.sh upload \"$(cygpath -u \"%CD%\ArcCASPER-nigthly-%hash%.zip\")\" ArcCASPER-nigthly-%hash%.zip"
+) else (
+  SET "msg=Some of the files are not present"
+  goto :exit
+)

-:: restore current directory
+:: restore current directory and then exit
+:exit
+echo %msg%
 chdir /d %OLDDIR%


Yet again. Tweaking the script.

Yet again. Tweaking the script.

Tweaking again.

--- deploy.cmd
+++ deploy.cmd
@@ -56,9 +56,9 @@

 :: 1. KuduSync
 IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
-    npm install -g hexo-cli
+
     cd %DEPLOYMENT_SOURCE%
-    npm install
+    hexo generate
   call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
   IF !ERRORLEVEL! NEQ 0 goto error
 )


Fixing problem with nuget restore.

Fixing problem with nuget restore.

--- tools/build_dotnet.cmd
+++ tools/build_dotnet.cmd
@@ -72,7 +72,7 @@
 rem -----------------------------------------------------------------------------
 rem -- build csharp language binding project.
 rem -----------------------------------------------------------------------------
-call nuget restore "%build-root%\bindings\dotnet\dotnet-binding\Microsoft.Azure.IoT.Gateway.Test\Microsoft.Azure.IoT.Gateway.Test.csproj" -SolutionDirectory "%build-root%\bindings\dotnet\dotnet-binding\dotnet-binding.sln"
+call nuget restore "%build-root%\bindings\dotnet\dotnet-binding\dotnet-binding.sln"


make.bat: Check for VS2019 and use that if it exists (#239)

--- make.bat
+++ make.bat
@@ -8,6 +8,8 @@
 IF %errorlevel%==0 set GENERATOR=Visual Studio 14
 reg query HKEY_CLASSES_ROOT\VisualStudio.DTE.15.0 >nul 2>nul
 IF %errorlevel%==0 set GENERATOR=Visual Studio 15
+reg query HKEY_CLASSES_ROOT\VisualStudio.DTE.16.0 >nul 2>nul
+IF %errorlevel%==0 set GENERATOR=Visual Studio 16
 set GENERATOR64=%GENERATOR% Win64

 for /f %%i in ('git describe') do set LUVI_TAG=%%i


Updated make.bat

Updated make.bat

--- make.bat
+++ make.bat
@@ -1,2 +1 @@
-python setup.py bdist_egg
-easy_install -U dist\*.egg
+python setup.py install


Use 64-bit build for windows (assuming community or pro edition)

--- make.bat
+++ make.bat
@@ -6,12 +6,12 @@

 :large
 ECHO "Building large"
-cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild
+cmake -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF -DWithZLIB=ON -DWithSharedZLIB=OFF -H. -Bbuild -G"Visual Studio 12 2013 Win64"
 GOTO :build

 :tiny
 ECHO "Building tiny"
-cmake -H. -Bbuild
+cmake -H. -Bbuild -G"Visual Studio 12 2013 Win64"
 GOTO :build

 :build


Add windows make file

Add windows make file

error: pathspec 'make.bat' did not match any file(s) known to git

--- make.bat
+++ make.bat
@@ -0,0 +1,36 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+	set SPHINXBUILD=python -msphinx
+)
+set SOURCEDIR=content
+set BUILDDIR=build
+set SPHINXPROJ=ThisweekinBlenderdev
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+	echo.
+	echo.The Sphinx module was not found. Make sure you have Sphinx installed,
+	echo.then set the SPHINXBUILD environment variable to point to the full
+	echo.path of the 'sphinx-build' executable. Alternatively you may add the
+	echo.Sphinx directory to PATH.
+	echo.
+	echo.If you don't have Sphinx installed, grab it from
+	echo.http://sphinx-doc.org/
+	exit /b 1
+)
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+
+:end
+popd


Fixed build environment for VC++ 6.0

Fixed build environment for VC++ 6.0

--- NTconfig/set_vars.bat
+++ NTconfig/set_vars.bat
@@ -9,9 +9,9 @@
 REM ======================================================================

 REM Set paths to Visual C++, the Platform SDKs, and Perl
-set VC_DIR=C:\Program Files\Microsoft Visual Studio\VC98\Bin
+set VC_DIR=C:\Program Files\Microsoft Visual Studio\VC98
+set VC_BIN=C:\Program Files\Microsoft Visual Studio\VC98\Bin
 set SDK_DIR=C:\Program Files\Microsoft Platform SDK
-set SDK_XP_DIR=C:\Program Files\Microsoft Platform SDK for Windows XP SP2
 set PERL_DIR=C:\Perl\bin
 set DBG_DIR=C:\Program Files\Debugging Tools for Windows

@@ -39,7 +39,19 @@

 REM Put NTConfig in the PATH, since it's got lots of stuff we need
 REM like awk, gunzip, tar, bison, yacc...
-set PATH=%cd%;%SystemRoot%;%SystemRoot%\system32;%PERL_DIR%;%VC_DIR%;%SDK_DIR%;%SDK_XP_DIR%;%DBG_DIR%
+set PATH=%cd%;%SystemRoot%;%SystemRoot%\system32;%PERL_DIR%;%VC_DIR%;%SDK_DIR%;%VC_BIN%;%DBG_DIR%
+
+REM ======================================================================
+REM ====== THIS SHOULD BE REMOVED WHEN Win2K IS NO LONGER SUPPORTED ======
+REM Since we a still stuck in the past (i.e. supporting Win2K) we must
+REM lie to the setenv script, and pretend the DevEnvDir environment
+REM is alredy configured properly (yay! jump to VC2K8, but support
+REM Win2K... *sigh*)
+set MSVCDir=%VC_DIR%
+set DevEnvDir=%ROOT_DRIVE%\Program Files\Microsoft Visual Studio\COMMON\MSDev98\Bin
+SET MSVCVer=6.0
+REM ====== THIS SHOULD BE REMOVED WHEN Win2K IS NO LONGER SUPPORTED ======
+REM ======================================================================

 call vcvars32.bat
 if not defined INCLUDE ( echo . && echo *** Failed to run VCVARS32.BAT! Is Microsoft Visual Studio 6.0 installed? && exit /B 1 )


Update stage_0_prep.bat

Update stage_0_prep.bat

--- resources/stage_0_prep/stage_0_prep.bat
+++ resources/stage_0_prep/stage_0_prep.bat
@@ -164,7 +164,7 @@

 :: JOB: McAfee Stinger
 :: First check if .NET 3.5 is installed, since Stinger relies on it
-reg query "hklm\software\microsoft\net framework setup\ndp\v3.5" /v Install | %FIND% /i "0x1" > nul
+reg query "hklm\software\microsoft\net framework setup\ndp\v3.5" /v Install 2>nul | %FIND% /i "0x1" >nul 2>&1
 if %ERRORLEVEL%==0 (
 	title Tron v%SCRIPT_VERSION% [stage_0_prep] [McAfee Stinger]
 	call functions\log.bat "%CUR_DATE% %TIME%    Launch job 'McAfee Stinger'..."


chore: bump ReportGenerator dep

chore: bump ReportGenerator dep

--- tools/testcoverage.bat
+++ tools/testcoverage.bat
@@ -9,7 +9,7 @@

 cd ../../%destination%

-set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.2.10\tools\net47\ReportGenerator.exe"
+set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.2.11\tools\net47\ReportGenerator.exe"
 set "targetdir=."

 "%reportGenerator%" -reports:coverage.xml -reporttypes:HtmlInline -targetdir:%targetdir%


Fix registry hack

Fix registry hack

--- tools/try_registry.cmd
+++ tools/try_registry.cmd
@@ -7,7 +7,7 @@
 GOTO :eof

 :print
-IF %FLIP%==1 ECHO ,{
+IF %FLIP%==1 ECHO     ,{
 IF %FLIP%==0 (
 SET FLIP=1
 ECHO     {


Updated windows distribution script.

Updated windows distribution script.

--- util/make_dist.bat
+++ util/make_dist.bat
@@ -1,14 +1,14 @@
 @echo off
-set VERSION=3.2.0
+
+set /p VERSION=<..\..\qtcreator-latest\version
 set PLUGIN_NAME=QtcGtest
-set BUILD_DIR=c:\Projects\qt-creator\3.2.0\qtcreator-5.3.1-vc10-release
+set BUILD_DIR=..\..\qtcreator-latest\release-vc10
 del %PLUGIN_NAME%-%VERSION%-win.zip

 rd /Q /S dist
 mkdir dist\lib\qtcreator\plugins
 mkdir dist\share\qtcreator\translations
 copy /Y %BUILD_DIR%\lib\qtcreator\plugins\%PLUGIN_NAME%.dll        dist\lib\qtcreator\plugins
-copy /Y %BUILD_DIR%\lib\qtcreator\plugins\%PLUGIN_NAME%.pluginspec dist\lib\qtcreator\plugins
 copy /Y ..\translation\*.qm                                        dist\share\qtcreator\translations

 cd dist


Add trace-event-viewer.bat

Add trace-event-viewer.bat

error: pathspec 'trace-event-viewer.bat' did not match any file(s) known to git

--- trace-event-viewer.bat
+++ trace-event-viewer.bat
@@ -0,0 +1,3 @@
+@echo off
+setlocal
+python %~dp0trace-event-viewer %*


added haxedoc.exe

added haxedoc.exe

--- doc/MakeRelease.bat
+++ doc/MakeRelease.bat
@@ -2,6 +2,7 @@
 rm -rf haxe-release
 mkdir haxe-release
 mkdir haxe-release\doc
+
 cp ../haxe.exe ../haxesetup.exe CHANGES.txt LICENSE.txt haxeserver.bat haxe-release
 cp -R ../std haxe-release

@@ -10,12 +11,13 @@
 haxe all.hxml
 cd tools
 haxe docview.hxml
-neko docview ../flash.xml ../neko.xml ../js.xml
+haxedoc ../flash.xml ../neko.xml ../js.xml
 mv index.html content ../../doc
+mv haxedoc.exe ../..
 cd ..

 rm -rf CVS .cvsignore */CVS */.cvsignore */*/CVS */*/.cvsignore */*/*/CVS */*/*/.cvsignore
-rm -rf all.n all.js all.swf *.xml tools/docview.n tools/index.html tools/content
+rm -rf all.n all.js all.swf *.xml tools/haxedoc.n tools/index.html tools/content tools/haxedoc.exe

 cd ..\..\..\..\neko\bin
 cp gc.dll neko.dll neko.exe nekoc.exe nekotools.exe *.ndll ../../haxe/doc/haxe-release


updated release notes batch file

updated release notes batch file

--- updateReleaseNotes.cmd
+++ updateReleaseNotes.cmd
@@ -1 +1 @@
-GitReleaseNotes.exe /outputFile RELEASES.md /token %1+GitReleaseNotes.exe /outputFile RELEASES.md


Add NAnt 0.9.1 alpha2 for .NET 4.0 support. Keeping 0.9.0 for
now, since it seems to work best under Linux.

--HG--
branch : engine
extra : convert_revision : charlie%40nunit.org-20110530160541-1ymm1oso0yskhkzg

--- nant.bat
+++ nant.bat
@@ -1,2 +1,2 @@
-tools\nant-0.90\bin\nant.exe %*
+tools\nant-0.91-alpha2\bin\nant.exe %*


Cleanup build folder

Cleanup build folder

--- build_script.cmd
+++ build_script.cmd
@@ -1,9 +1,11 @@
 @echo off
 setlocal
+if "%CI%" == "" (echo local build)
 if "%CI%" == "" (set PACKAGE_BASE=build)
 if "%CI%" == "" (set ELECTRON_OUT=linq-editor-win32-x64)
 if "%CI%" == "" (set OMNISHARP_ZIP=omnisharp-win-x64-netcoreapp1.0.zip)
-if "%CI%" == "" (rmdir /q /s %PACKAGE_BASE%)
+if "%CI%" == "" (rmdir /s /q %ELECTRON_OUT%)
+if "%CI%" == "" (rmdir /s /q %PACKAGE_BASE%)
 if not "%CI%" == "" (call npm install)
 if not "%CI%" == "" (echo {} > typings/tslint.json)
 if not "%CI%" == "" (dotnet restore)


fix vim path

fix vim path

--- vendor/init.bat
+++ vendor/init.bat
@@ -41,7 +41,7 @@

 :: Add git to the path
 @if defined GIT_INSTALL_ROOT (
-    set "PATH=%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\share\vim\vim74;%PATH%"
+    set "PATH=%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\usr\share\vim\vim74;%PATH%"
     :: define SVN_SSH so we can use git svn with ssh svn repositories
     if not defined SVN_SSH set "SVN_SSH=%GIT_INSTALL_ROOT:\=\\%\\bin\\ssh.exe"
 )
@@ -69,11 +69,11 @@
 ) else (
     @echo Creating user startup file: "%CMDER_ROOT%\config\user-startup.cmd"
     (
-    @echo :: use this file to run your own startup commands
+    @echo :: use this file to run your own startup commands
     @echo :: use @ in front of the command to prevent printing the command
-    @echo.
+    @echo.
     @echo :: @call "%%GIT_INSTALL_ROOT%%/cmd/start-ssh-agent.cmd
     @echo :: @set PATH=%%CMDER_ROOT%%\vendor\whatever;%%PATH%%
-    @echo.
+    @echo.
     ) > "%CMDER_ROOT%\config\user-startup.cmd"
 )


chore: use latest npm on Windows (#70)

chore: use latest npm on Windows (#70)

--- .kokoro/test.bat
+++ .kokoro/test.bat
@@ -1,4 +1,4 @@
-@rem Copyright 2018 gRPC authors.
+@rem Copyright 2018 Google LLC. All rights reserved.
 @rem
 @rem Licensed under the Apache License, Version 2.0 (the "License");
 @rem you may not use this file except in compliance with the License.
@@ -17,8 +17,7 @@
 cd /d %~dp0
 cd ..

-call npm install -g npm@5 || goto :error
-
+call npm install -g npm@latest || goto :error
 call npm install || goto :error
 call npm run test || goto :error


added a script for installing the visual studio templates; closes #3

error: pathspec 'Templates/install.cmd' did not match any file(s) known to git

--- Templates/install.cmd
+++ Templates/install.cmd
@@ -0,0 +1,3 @@
+robocopy %~dp0ProjectTemplates "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\CSharp\FxCore\1033" /MIR
+robocopy %~dp0ItemTemplates "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ItemTemplates\CSharp\FxCore" /MIR
+devenv /installvstemplates


Rewrite YC.Core build script

Rewrite YC.Core build script

--- BuildScripts/YC.Core.bat
+++ BuildScripts/YC.Core.bat
@@ -1 +1 @@
-..\tools\Build.Tools\Fake\FAKE.exe ..\tools\Build.Tools\Core.fsx "tools=..\tools\Build.Tools" "solution=..\src\YC.Core.sln"+..\tools\Build.Tools\Fake\FAKE.exe ..\tools\Build.Tools\YC.Core.fsx


Start a sub cmd shell, changing the prompt to show the shell depth level and modes.

error: pathspec 'Batch/subcmd.bat' did not match any file(s) known to git

--- Batch/subcmd.bat
+++ Batch/subcmd.bat
@@ -0,0 +1,73 @@
+@echo off
+:##############################################################################
+:#                                                                            #
+:#  Filename        subcmd.bat                                                #
+:#                                                                            #
+:#  Description     Start a sub-shell, changing the prompt to show the level  #
+:#                                                                            #
+:#  Notes 	    Useful to test complex batch files, that might fail and   #
+:#                  pollute the environment with lots of internal variables.  #
+:#                                                                            #
+:#  History                                                                   #
+:#   2015-11-24 JFL Created this script.                                      #
+:#   2015-12-01 JFL Display the extension and expansion modes in the prompt.  #
+:#   2015-12-07 JFL Restore the initial environment before running the shell. #
+:#   2016-11-11 JFL Fixed the sub shell numbering counter.                    #
+:#   2017-09-04 JFL Fixed the help, and the /E:off invokation.                #
+:#                                                                            #
+:#          Copyright 2017 Hewlett Packard Enterprise Development LP         #
+:# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
+:##############################################################################
+
+:# Important: Do not use any command extensions, as this needs to run even if extensions are off
+setlocal &:# Do not change extensions and expansion now, as we want to record the initial state first.
+set VERSION=2017-09-04
+set SCRIPT=%0
+set ARGS=%*
+goto :main
+
+:help
+echo %SCRIPT% - Start a sub-shell, with a prompt showing the shell level and modes.
+echo.
+echo Usage: %SCRIPT% [CMD_OPTIONS]
+echo.
+echo cmd.exe options:
+echo   /e:[on^|off]   Enable or disable command extensions
+echo   /v:[on^|off]   Enable or disable delayed argument expansion
+goto :eof
+
+:main
+:# Get the initial extension and expansion states
+:# Note: Don't use quotes around set commands in the next two lines, as this will not work if extensions are disabled
+set E0=off
+set V0=off
+set "E0=on" 2>NUL &:# Fails if extensions are disabled
+if "!!"=="" set V0=on
+
+:# Enable extensions to process the command line
+setlocal EnableExtensions EnableDelayedExpansion
+
+set "E="	&:# New extension mode specified
+set "V="	&:# New expansion mode specified
+
+:next_arg
+set "ARG=%~1"
+shift
+if "!ARG!"=="-?" goto :help
+if "!ARG!"=="/?" goto :help
+if /i "!ARG:~0,2!"=="/e" set "E=!ARG:~3!" & goto :next_arg
+if /i "!ARG:~0,2!"=="/v" set "V=!ARG:~3!" & goto :next_arg
+:# Anything else is part of the command line. Fall though
+
+set "CMD=cmd"
+if not defined NSUBCMD set "NSUBCMD=1"
+set /a NSUBCMD+=1
+set "PROMPT=#%NSUBCMD%"
+if not defined E set "E=%E0%" & set "CMD=%CMD% /E:%E0%"
+set "PROMPT=%PROMPT% E:%E%"
+if not defined V set "V=%V0%" & set "CMD=%CMD% /V:%V0%"
+set "PROMPT=%PROMPT% V:%V%"
+
+:# Restore the initial environment, then start the subshell with an updated prompt
+:# Do not quote the NSUBCMD setting, as this fails with /E:off.
+endlocal & endlocal & %CMD% %* /k "set NSUBCMD=%NSUBCMD%& prompt %PROMPT% $P^>"


Added version number

Added version number

--- run-bash.cmd
+++ run-bash.cmd
@@ -1,5 +1,5 @@
 @echo off
-:: Windows Bash Starter
+:: Windows Bash Starter (version 1.0.0)
 :: https://github.com/skrysmanski/windows-bash-starter

 :: Bash script to execute


fix windows install

fix windows install

--- deploy/windows/Install.bat
+++ deploy/windows/Install.bat
@@ -11,9 +11,9 @@
 ::REG DELETE "%USERPOLICY%\System" /V DisableLockWorkstation /F

 :: Disable/enable Blackaning only, UAC
-REG ADD "%MACHINEPOLICY%\System" /V PromptOnSecureDesktop/T REG_DWORD /D 0x0 /F
+REG ADD "%MACHINEPOLICY%\System" /V PromptOnSecureDesktop /T REG_DWORD /D 0x0 /F
 :: However temporary complete disabling while installing bunch on software (after OS reinstall) has sense too.
-::REG ADD "%MACHINEPOLICY%\System" /V EnableLUA /T REG_DWORD /D 0x0 /F
+REG ADD "%MACHINEPOLICY%\System" /V EnableLUA /T REG_DWORD /D 0x0 /F
 ::REG ADD "%MACHINEPOLICY%\System" /V EnableLUA /T REG_DWORD /D 0x1 /F


Updates to CRAN_release procedures for Bioc 3.8, #3233

--- CRAN_Release.cmd
+++ CRAN_Release.cmd
@@ -405,17 +405,14 @@
 install.packages("<pkg>", repos="http://cran.stat.ucla.edu/")
 update.packages(ask=FALSE)   # a repeat sometimes does more, keep repeating until none

-# Follow: https://bioconductor.org/install/#troubleshoot-biocinstaller
+# Follow: https://bioconductor.org/install
 # Ensure no library() call in .Rprofile, such as library(bit64)
-source("http://bioconductor.org/biocLite.R")
-biocLite()   # keep repeating until returns with nothing left to do.   Note: huge number of updates under R-devel (I assume that's false)
-# biocLite("BiocUpgrade")
-# This error means it's up to date: "Bioconductor version 3.4 cannot be upgraded with R version 3.3.2"
-
-avail = available.packages(repos=biocinstallRepos())   # includes CRAN at the end from getOption("repos")
+BiocManager::install()  # rerun to confirm
+BiocManager::valid()
+
+avail = available.packages(repos=BiocManager::repositories())  # includes CRAN at the end from getOption("repos"). And ensure latest Bioc version is in repo path here.
 deps = tools::package_dependencies("data.table", db=avail, which="most", reverse=TRUE, recursive=FALSE)[[1]]
-exclude = c("TCGAbiolinks", # takes loo long: https://github.com/BioinformaticsFMRP/TCGAbiolinks/issues/240
-            "facopy")       # fails for over a year and isn't getting fixed:  Error : object ‘setting.graph.attributes’ is not exported by 'namespace:DOSE'
+exclude = c("TCGAbiolinks")  # takes loo long: https://github.com/BioinformaticsFMRP/TCGAbiolinks/issues/240
 deps = deps[-match(exclude, deps)]
 table(avail[deps,"Repository"])
 length(deps)
@@ -429,9 +426,8 @@
       packageVersion(p) != avail[p,"Version"]) {
     system(paste0("rm -rf ", p, ".Rcheck"))  # Remove last check (of previous version) to move its status() to not yet run

-    install.packages(p, repos=biocinstallRepos(), dependencies=TRUE)    # again, bioc repos includes CRAN here
+    install.packages(p, repos=BiocManager::repositories(), dependencies=TRUE)    # again, bioc repos includes CRAN here
     # To install its dependencies. The package itsef is installed superfluously here because the tar.gz will be passed to R CMD check.
-    # Not using biocLite() because it does not download dependencies and does not appear to pass dependencies= on.
     # If we did download.packages() first and then passed that tar.gz to install.packages(), repos= is set to NULL when installing from
     # local file, so dependencies=TRUE wouldn't know where to get the dependencies. Hence usig install.packages first with repos= set.

@@ -444,6 +440,7 @@
 }
 cat("New downloaded:",new," Already had latest:", old, " TOTAL:", length(deps), "\n")
 length(deps)
+update.packages(repos=BiocManager::repositories())  # double-check all dependencies are latest too

 # Remove the tar.gz no longer needed :
 system("ls *.tar.gz | wc -l")
@@ -560,8 +557,14 @@
   x = c(.fail.cran, .fail.bioc)
   cat("Writing 00check.log for",length(x),"packages to",fnam,":\n")
   cat(paste(x,collapse=" "), "\n")
-  cat(capture.output(sessionInfo()), "\n\n", file=fnam, sep="\n")
+  cat(capture.output(sessionInfo()), "\n", file=fnam, sep="\n")
+  cat("> BiocManager::install()\n", file=fnam, append=TRUE)
+  capture.output(BiocManager::install(), type="message", file=fnam, append=TRUE)
+  cat("> BiocManager::valid()\n", file=fnam, append=TRUE)
+  capture.output(ans<-BiocManager::valid(), type="message", file=fnam, append=TRUE)
+  cat(ans, "\n", file=fnam, append=TRUE, sep="\n")
   for (i in x) {
+    system(paste0("ls | grep '",i,".*tar.gz' >> ",fnam))
     system(paste0("grep -H . ./",i,".Rcheck/00check.log >> ",fnam))
     cat("\n\n", file=fnam, append=TRUE)
   }


float-version.h.in is no good for AppVeyor build of CsoundQt (#793).

--- msvc/build_csoundqt.bat
+++ msvc/build_csoundqt.bat
@@ -2,11 +2,11 @@
 qmake.exe qcs.pro ^
     CONFIG+=html_webengine ^
     CONFIG+=perfThread_build ^
-    USE_DOUBLE=1 ^
+    DEFINES+="USE_DOUBLE=1" ^
     CSOUND_API_INCLUDE_DIR=%~dp0/"../include" ^
     CSOUND_INTERFACES_INCLUDE_DIR=%~dp0/"../interfaces" ^
     CSOUND_LIBRARY_DIR=%~dp0csound-vs\\Release ^
     LIBS+=%~dp0/deps/lib/libsndfile-1.lib ^
     INCLUDEPATH+="%~dp0deps\include"
-nmake.exe
+nmake.exe
 cd ..\..


Improve runtests.bat

Improve runtests.bat

--- runtests.bat
+++ runtests.bat
@@ -1,7 +1,8 @@
 set project=HtmlGenerator
 set github_project_name=html-generator
+set user_name=hbellamy

-set user_path=C:\Users\hughb\
+set user_path=C:\Users\%user_name%\
 set packages_path=%user_path%\.nuget\packages
 set project_path=%user_path%\documents\github\%github_project_name%