add reset option to reactor.bat for windows

--- singlenode/bin/reactor.bat
+++ singlenode/bin/reactor.bat
@@ -24,11 +24,43 @@
 IF "%1" == "stop" GOTO STOP
 IF "%1" == "restart" GOTO RESTART
 IF "%1" == "status" GOTO STATUS
+IF "%1" == "reset" GOTO RESET
 GOTO USAGE

 :USAGE
-echo Usage: %0 {start^|stop^|restart^|status}
+echo Usage: %0 {start^|stop^|restart^|status^|reset}
+GOTO :FINALLY
+
+:RESET
+REM checks if there exists a PID that is already running. Alert user but still return success
+attrib -h %~dsp0MyProg.pid >NUL
+if exist %~dsp0MyProg.pid (
+  for /F %%i in (%~dsp0MyProg.pid) do (
+    for /F "TOKENS=2" %%b in ('TASKLIST /FI "PID eq %%i"') DO (
+      set lastPid=%%b
+    )
+    if "%lastPid%" == "%%i" (
+      echo %0 running as process %%i. Stop it first.
+      GOTO :FINALLY
+    ) else (
+      REM If process not running but pid file exists, delete pid file.
+      del %~dsp0MyProg.pid
+    )
+  )
+)
+attrib +h %~dsp0MyProg.pid >NUL
+
+REM ask for confirmation from user
+set /P answer="This deletes all apps, data and logs. Are you sure you want to proceed? (y/n) " %=%
+if NOT "%answer%" == "y" (
+  GOTO :FINALLY
+)
+
+REM delete logs and data directories
+echo Resetting Continuuity Reactor ...
+rmdir /S /Q %CONTINUUITY_HOME%\logs %CONTINUUITY_HOME%\data > NUL 2>&1
+echo Continuuity Reactor reset successfully.
 GOTO :FINALLY


Easily build the tck

Easily build the tck

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

--- build_tck.bat
+++ build_tck.bat
@@ -0,0 +1,2 @@
+@echo off
+%M2_HOME%\bin\mvn.bat -Ptck package assembly:assembly


Delete .bat file

Delete .bat file

--- update_files.bat
+++ update_files.bat
@@ -1,3 +0,0 @@
-@echo off
-python C:\Users\me\Documents\GitHub\tamscenter.github.io\tableify.py %*
-pause


[GladiatorTool] blabla

[GladiatorTool] blabla

--- Scripts/igit.bat
+++ Scripts/igit.bat
@@ -18,7 +18,7 @@
 goto END

 :CLEAN
-for /f "usebackq tokens=2*" %%i in (`git status -s ^| findstr /r "^\??"`) do rm -rf "%%i"
+for /f "usebackq tokens=2*" %%i in (`git status -s ^| findstr /r "^\??"`) do rm -rf "%%i %%j"
 goto END

 :COMMIT


Added JavaCC command for SL0 parser generation.

--- src/build.bat
+++ src/build.bat
@@ -1,6 +1,7 @@
 idltojava -fno-cpp FIPA_Agent_97.idl
 call javacc -OUTPUT_DIRECTORY:jade\lang\acl jade\lang\acl\ACLParser.jj
 call javacc -OUTPUT_DIRECTORY:jade\domain jade\domain\AgentManagementParser.jj
+call javacc -OUTPUT_DIRECTORY:jade\lang\sl jade\lang\sl\SL0Parser.jj
 javac -deprecation jade\Boot.java
 javac -deprecation jade\core\behaviours\ComplexBehaviour.java jade\core\behaviours\NonDeterministicBehaviour.java jade\core\behaviours\SequentialBehaviour.java jade\core\behaviours\SimpleBehaviour.java jade\core\behaviours\SenderBehaviour.java jade\core\behaviours\ReceiverBehaviour.java jade\domain\SearchDFBehaviour.java jade\proto\ProtocolDrivenBehaviour.java jade\proto\Standard.java jade\proto\FipaRequestInitiatorBehaviour.java jade\proto\FipaRequestResponderBehaviour.java jade\proto\FipaContractNetInitiatorBehaviour.java jade\proto\FipaContractNetResponderBehaviour.java jade\proto\FipaQueryResponderBehaviour.java jade\onto\DefaultOntology.java jade\tools\rma\rma.java jade\tools\rma\AMSMainFrame.java jade\tools\DummyAgent\DummyAgent.java jade\tools\sniffer\Sniffer.java jade\tools\SocketProxyAgent\SocketProxyAgent.java
 rmic -d . jade.core.AgentContainerImpl jade.core.AgentPlatformImpl


Update

Update

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -923,9 +923,9 @@
 		echo.
 		echo. Images with characters:
 		type "%%~a"
-		echo.%spacebar%
 	)
 	set "isfirst="
+	echo.%spacebar%
 )
 call:fincalc PNG
 call:fincalc JPG


Update iCatalyst.bat

Update iCatalyst.bat

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -756,7 +756,7 @@
 call:echostd " Finished at - %ftime%"
 1>&2 echo.
 1>&2 echo.-------------------------------------------------------------------------------
-call:listerrfiles
+1>&2 call:listerrfiles
 1>&2 echo. Image optimization is completed.
 1>&2 echo.-------------------------------------------------------------------------------
 if /i "%updatecheck%" equ "true" (
@@ -801,18 +801,20 @@
 set "iserr="
 for %%a in ("%filelisterr%") do if %%~za gtr 0 (
 	set "iserr=1"
-	1>&2 echo.
-	1>&2 echo. Image with characters:
+	echo.
+	echo. Image with characters:
 	type "%%~a"
-	1>&2 echo.
-)
+	echo.
+)
+set "iserr2="
 for /f "tokens=2* delims=:" %%a in ('findstr /e /i /r /c:";error" "%logfile%*" 2^>nul') do (
-	if not defined iserr (set "iserr=1" & 1>&2 echo.)
-	1>&2 echo. Images with errors:
+	if not defined iserr (set "iserr=1" & echo.)
+	if not defined iserr2 (echo. Images with errors:& set "iserr2=1")
 	for /f "tokens=1-2 delims=;" %%c in ("%%~b") do echo.%%~c
-	1>&2 echo.
-)
-if defined iserr (1>&2 echo.-------------------------------------------------------------------------------)
+)
+if defined iserr2 echo.
+if defined iserr (echo.-------------------------------------------------------------------------------)
+set "iserr=" & set "iserr2="
 exit /b

 :readini
@@ -824,48 +826,50 @@

 :helpmsg
 title [Manual] %name% %version%
-1>&2 echo.-------------------------------------------------------------------------------
-1>&2 echo. Image Catalyst - optimization / compression images PNG, JPEG and GIF lossless
-1>&2 echo.
-1>&2 echo. Recommended to examine ReadMe
-1>&2 echo.
-1>&2 echo. call iCatalyst.bat [options] [add folders \ add files]
-1>&2 echo.
-1>&2 echo. Options:
-1>&2 echo.
-1>&2 echo. /png:#	Optimization settings PNG (Non-Interlaced):
-1>&2 echo.	1 - Compression level - Xtreme
-1>&2 echo.	2 - Compression level - Advanced
-1>&2 echo.	0 - Skip (default)
-1>&2 echo.
-1>&2 echo. /jpg:#	Optimization settings JPEG:
-1>&2 echo.	1 - Encoding Process - Baseline
-1>&2 echo.	2 - Encoding Process - Progressive
-1>&2 echo.	3 - uses settings of original images
-1>&2 echo.	0 - Skip (default)
-1>&2 echo.
-1>&2 echo. /gif:#	Optimization settings GIF:
-1>&2 echo.	1 - uses settings of original images
-1>&2 echo.	0 - Skip (default)
-1>&2 echo.
-1>&2 echo. "/outdir:#" Settings save optimized images:
-1>&2 echo.	true  - replace the original image on optimized
-1>&2 echo.	false - open dialog box for saving images (default)
-1>&2 echo.	"full path to folder" - specify the folder to save images.
-1>&2 echo.	for example: "/outdir:C:\temp", if the destination folder does not
-1>&2 echo.	exist, it will be created automatically.
-1>&2 echo.
-1>&2 echo. Add folders \ Add files:
-1>&2 echo. - Specify the full path to the images and / or folders with images.
-1>&2 echo.   For example: "C:\Images" "C:\logo.png"
-1>&2 echo. - The full paths of images should not be special characters.
-1>&2 echo.   For example: "&", "%%", "(", ")" etc.
-1>&2 echo. - The application optimizes images in nested subfolders.
-1>&2 echo.
-1>&2 echo. Examples:
-1>&2 echo. call iCatalyst.bat /gif:1 "/outdir:C:\photos" "C:\images"
-1>&2 echo. call iCatalyst.bat /png:2 /jpg:2 "/outdir:true" "C:\images"
-1>&2 echo.-------------------------------------------------------------------------------
+1>&2 (
+	echo.-------------------------------------------------------------------------------
+	echo. Image Catalyst - optimization / compression images PNG, JPEG and GIF lossless
+	echo.
+	echo. Recommended to examine ReadMe
+	echo.
+	echo. call iCatalyst.bat [options] [add folders \ add files]
+	echo.
+	echo. Options:
+	echo.
+	echo. /png:#	Optimization settings PNG ^(Non-Interlaced^):
+	echo.	1 - Compression level - Xtreme
+	echo.	2 - Compression level - Advanced
+	echo.	0 - Skip ^(default^)
+	echo.
+	echo. /jpg:#	Optimization settings JPEG:
+	echo.	1 - Encoding Process - Baseline
+	echo.	2 - Encoding Process - Progressive
+	echo.	3 - uses settings of original images
+	echo.	0 - Skip ^(default^)
+	echo.
+	echo. /gif:#	Optimization settings GIF:
+	echo.	1 - uses settings of original images
+	echo.	0 - Skip ^(default^)
+	echo.
+	echo. "/outdir:#" Settings save optimized images:
+	echo.	true  - replace the original image on optimized
+	echo.	false - open dialog box for saving images ^(default^)
+	echo.	"full path to folder" - specify the folder to save images.
+	echo.	for example: "/outdir:C:\temp", if the destination folder does not
+	echo.	exist, it will be created automatically.
+	echo.
+	echo. Add folders \ Add files:
+	echo. - Specify the full path to the images and / or folders with images.
+	echo.   For example: "C:\Images" "C:\logo.png"
+	echo. - The full paths of images should not be special characters.
+	echo.   For example: "&", "%%", "(", ")" etc.
+	echo. - The application optimizes images in nested subfolders.
+	echo.
+	echo. Examples:
+	echo. call iCatalyst.bat /gif:1 "/outdir:C:\photos" "C:\images"
+	echo. call iCatalyst.bat /png:2 /jpg:2 "/outdir:true" "C:\images"
+	echo.-------------------------------------------------------------------------------
+)
 if exist "%tmppath%" 1>nul 2>&1 rd /s /q "%tmppath%"
 call:dopause & exit /b


add makefolder.bat - makes a new folder

add makefolder.bat - makes a new folder

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

--- makefolder.bat
+++ makefolder.bat
@@ -0,0 +1,7 @@
+@echo off
+echo Please type the name of the folder you want to make followed by Enter, then Ctrl-Z, and then Enter.
+FOR /F "tokens=*" %%A IN ('TYPE CON') DO SET INPUT=%%A
+mkdir %INPUT%
+pause
+echo Folder created
+pause


Update make.bat: no need to copy notebooks

Jupyter notebooks are no longer stored in the main directory, they are stored in the docs directory now.
So there is no need to copy them any more.

--- docs/make.bat
+++ docs/make.bat
@@ -64,14 +64,6 @@
 	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
 	del /q /s %BUILDDIR%\*
 	echo.Deleted contents of %BUILDDIR%
-	REM the following might be one way to copy notebooks.
-	for /d %%i in (notebooks\*) do rmdir /q /s %%i
-	del /q /s notebooks\*
-	echo.Deleted contents of notebooks
-	REM md %BUILDDIR%\notebooks
-	echo.Copying notebook files
-	robocopy ..\notebooks notebooks /s /e
-	REM this is the end of my additions
 	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
 	if errorlevel 1 exit /b 1
 	echo.


Update make.bat

Update make.bat

--- docs/make.bat
+++ docs/make.bat
@@ -127,9 +127,9 @@
 	echo.
 	echo.Build finished; now you can run "qcollectiongenerator" with the ^
 .qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\SOME-IP_Generator.qhcp
+	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\INSALATA.qhcp
 	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\SOME-IP_Generator.ghc
+	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\INSALATA.ghc
 	goto end
 )


changed docs build dir in make.bat

changed docs build dir in make.bat

--- docs/make.bat
+++ docs/make.bat
@@ -5,7 +5,7 @@
 if "%SPHINXBUILD%" == "" (
 	set SPHINXBUILD=sphinx-build
 )
-set BUILDDIR=_build
+set BUILDDIR=..\..\pyDEA-docs
 set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
 set I18NSPHINXOPTS=%SPHINXOPTS% .
 if NOT "%PAPER%" == "" (


[3.2.x] Added spelling option to make.bat.

Backport of 7582d913e7db7f32e4cdcfafc177aa77cbbf4332 from main

--- docs/make.bat
+++ docs/make.bat
@@ -34,6 +34,7 @@
 	echo.  changes    to make an overview over all changed/added/deprecated items
 	echo.  linkcheck  to check all external links for integrity
 	echo.  doctest    to run all doctests embedded in the documentation if enabled
+	echo.  spelling   to check for typos in documentation
 	goto end
 )

@@ -186,4 +187,13 @@
 	goto end
 )

+if "%1" == "spelling" (
+	%SPHINXBUILD% -b spelling %ALLSPHINXOPTS% %BUILDDIR%/spelling
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Check finished. Wrong words can be found in %BUILDDIR%/^
+spelling/output.txt.
+	goto end
+)
+
 :end


fix Windows build signing

fix Windows build signing

--- package/win32/codesign.bat
+++ package/win32/codesign.bat
@@ -1,6 +1,6 @@
 set SIGN_TARGET=%1%

-"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool" sign /sha1 E5D84022D15FD10154AA7A75EC6CA055EE7E52A7 /v /ac "cert\After_10-10-10_MSCV-VSClass3.cer" /s MY /n "RStudio, Inc." /t http://timestamp.VeriSign.com/scripts/timstamp.dll %SIGN_TARGET%
+"C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86\signtool" sign /sha1 E5D84022D15FD10154AA7A75EC6CA055EE7E52A7 /v /ac "cert\After_10-10-10_MSCV-VSClass3.cer" /s MY /n "RStudio, Inc." /t http://timestamp.VeriSign.com/scripts/timstamp.dll %SIGN_TARGET%

-"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool" verify /v /kp %SIGN_TARGET%
+"C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86\signtool" verify /v /kp %SIGN_TARGET%


Added other sources to option number 1

Added other sources to option number 1

Credit is now due, I cannot find the originator

--- Windows/Main.bat
+++ Windows/Main.bat
@@ -13,7 +13,7 @@
 )
 :MENU
 echo Choose An option:
-echo 1. Windows Defender Scan
+echo 1. A bunch of automated things I guess
 echo 2. List Processes
 echo 3. Changing Password Policies
 echo 4. Enable UAC
@@ -22,10 +22,8 @@
 echo 7. Disable Weak services
 echo 8. System Integrity Scan
 echo 9. Powershell rootkit detection
-echo 10. Check startup processes

 CHOICE /C 123456789 /M "Enter your choice:"
-if ERRORLEVEL 10 goto Ten
 if ERRORLEVEL 9 goto Nine
 if ERRORLEVEL 8 goto Eight
 if ERRORLEVEL 7 goto Seven
@@ -36,11 +34,188 @@
 if ERRORLEVEL 2 goto Two
 if ERRORLEVEL 1 goto One
 :One
-REM Windows Defender scan
-echo "SCANNING WITH DEFAULT WINDOWS DEFENDER!"
-cd C:\Program Files\Windows Defender\
-MpCmdRun.exe -Scan 2
-cd C:\
+REM Automation found from all over the interwebs, sources unknown, please open issue.
+REM Turns on UAC
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
+REM Turns off RDP
+reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f
+reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
+
+REM Failsafe
+if %errorlevel%==1 netsh advfirewall firewall set service type = remotedesktop mode = disable
+REM Windows auomatic updates
+reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 3 /f
+
+
+echo Cleaning out the DNS cache...
+ipconfig /flushdns
+echo Writing over the hosts file...
+attrib -r -s C:\WINDOWS\system32\drivers\etc\hosts
+echo > C:\Windows\System32\drivers\etc\hosts
+if %errorlevel%==1 echo There was an error in writing to the hosts file (not running this as Admin probably)
+REM Services
+echo Showing you the services...
+net start
+echo Now writing services to a file and searching for vulnerable services...
+net start > servicesstarted.txt
+echo This is only common services, not nessecarily going to catch 100%
+REM looks to see if remote registry is on
+net start | findstr Remote Registry
+if %errorlevel%==0 (
+	echo Remote Registry is running!
+	echo Attempting to stop...
+	net stop RemoteRegistry
+	sc config RemoteRegistry start=disabled
+	if %errorlevel%==1 echo Stop failed... sorry...
+) else (
+	echo Remote Registry is already indicating stopped.
+)
+REM Remove all saved credentials
+cmdkey.exe /list > "%TEMP%\List.txt"
+findstr.exe Target "%TEMP%\List.txt" > "%TEMP%\tokensonly.txt"
+FOR /F "tokens=1,2 delims= " %%G IN (%TEMP%\tokensonly.txt) DO cmdkey.exe /delete:%%H
+del "%TEMP%\*.*" /s /f /q
+set SRVC_LIST=(RemoteAccess Telephony tlntsvr p2pimsvc simptcp fax msftpsvc)
+	for %%i in %HITHERE% do net stop %%i
+	for %%i in %HITHERE% sc config %%i start= disabled
+netsh advfirewall firewall set rule name="Remote Assistance (DCOM-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Remote Assistance (PNRP-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Remote Assistance (RA Server TCP-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Remote Assistance (SSDP TCP-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Remote Assistance (SSDP UDP-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Remote Assistance (TCP-In)" new enable=no >NUL
+netsh advfirewall firewall set rule name="Telnet Server" new enable=no >NUL
+netsh advfirewall firewall set rule name="netcat" new enable=no >NUL
+dism /online /disable-feature /featurename:IIS-WebServerRole >NUL
+dism /online /disable-feature /featurename:IIS-WebServer >NUL
+dism /online /disable-feature /featurename:IIS-CommonHttpFeatures >NUL
+dism /online /disable-feature /featurename:IIS-HttpErrors >NUL
+dism /online /disable-feature /featurename:IIS-HttpRedirect >NUL
+dism /online /disable-feature /featurename:IIS-ApplicationDevelopment >NUL
+dism /online /disable-feature /featurename:IIS-NetFxExtensibility >NUL
+dism /online /disable-feature /featurename:IIS-NetFxExtensibility45 >NUL
+dism /online /disable-feature /featurename:IIS-HealthAndDiagnostics >NUL
+dism /online /disable-feature /featurename:IIS-HttpLogging >NUL
+dism /online /disable-feature /featurename:IIS-LoggingLibraries >NUL
+dism /online /disable-feature /featurename:IIS-RequestMonitor >NUL
+dism /online /disable-feature /featurename:IIS-HttpTracing >NUL
+dism /online /disable-feature /featurename:IIS-Security >NUL
+dism /online /disable-feature /featurename:IIS-URLAuthorization >NUL
+dism /online /disable-feature /featurename:IIS-RequestFiltering >NUL
+dism /online /disable-feature /featurename:IIS-IPSecurity >NUL
+dism /online /disable-feature /featurename:IIS-Performance >NUL
+dism /online /disable-feature /featurename:IIS-HttpCompressionDynamic >NUL
+dism /online /disable-feature /featurename:IIS-WebServerManagementTools >NUL
+dism /online /disable-feature /featurename:IIS-ManagementScriptingTools >NUL
+dism /online /disable-feature /featurename:IIS-IIS6ManagementCompatibility >NUL
+dism /online /disable-feature /featurename:IIS-Metabase >NUL
+dism /online /disable-feature /featurename:IIS-HostableWebCore >NUL
+dism /online /disable-feature /featurename:IIS-StaticContent >NUL
+dism /online /disable-feature /featurename:IIS-DefaultDocument >NUL
+dism /online /disable-feature /featurename:IIS-DirectoryBrowsing >NUL
+dism /online /disable-feature /featurename:IIS-WebDAV >NUL
+dism /online /disable-feature /featurename:IIS-WebSockets >NUL
+dism /online /disable-feature /featurename:IIS-ApplicationInit >NUL
+dism /online /disable-feature /featurename:IIS-ASPNET >NUL
+dism /online /disable-feature /featurename:IIS-ASPNET45 >NUL
+dism /online /disable-feature /featurename:IIS-ASP >NUL
+dism /online /disable-feature /featurename:IIS-CGI >NUL
+dism /online /disable-feature /featurename:IIS-ISAPIExtensions >NUL
+dism /online /disable-feature /featurename:IIS-ISAPIFilter >NUL
+dism /online /disable-feature /featurename:IIS-ServerSideIncludes >NUL
+dism /online /disable-feature /featurename:IIS-CustomLogging >NUL
+dism /online /disable-feature /featurename:IIS-BasicAuthentication >NUL
+dism /online /disable-feature /featurename:IIS-HttpCompressionStatic >NUL
+dism /online /disable-feature /featurename:IIS-ManagementConsole >NUL
+dism /online /disable-feature /featurename:IIS-ManagementService >NUL
+dism /online /disable-feature /featurename:IIS-WMICompatibility >NUL
+dism /online /disable-feature /featurename:IIS-LegacyScripts >NUL
+dism /online /disable-feature /featurename:IIS-LegacySnapIn >NUL
+dism /online /disable-feature /featurename:IIS-FTPServer >NUL
+dism /online /disable-feature /featurename:IIS-FTPSvc >NUL
+dism /online /disable-feature /featurename:IIS-FTPExtensibility >NUL
+dism /online /disable-feature /featurename:TFTP >NUL
+dism /online /disable-feature /featurename:TelnetClient >NUL
+dism /online /disable-feature /featurename:TelnetServer >NUL
+reg ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /v DoNotTrack /t REG_DWORD /d 1 /f
+reg ADD "HKCU\Software\Microsoft\Internet Explorer\Download" /v RunInvalidSignatures /t REG_DWORD /d 1 /f
+reg ADD "HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings" /v LOCALMACHINE_CD_UNLOCK /t REG_DWORD /d 1 /t
+reg ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v WarnonBadCertRecving /t REG_DWORD /d /1 /f
+reg ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v WarnOnPostRedirect /t REG_DWORD /d 1 /f
+reg ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v WarnonZoneCrossing /t REG_DWORD /d 1 /f
+reg ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v DisablePasswordCaching /t REG_DWORD /d 1 /f
+reg ADD HKCU\SYSTEM\CurrentControlSet\Services\CDROM /v AutoRun /t REG_DWORD /d 1 /f
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\CrashControl /v CrashDumpEnabled /t REG_DWORD /d 0 /f
+REM Common Policies
+REM Restrict CD ROM drive
+reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AllocateCDRoms /t REG_DWORD /d 1 /f
+REM Automatic Admin logon
+reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_DWORD /d 0 /f
+REM Logo message text
+reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v LegalNoticeText /t REG_SZ /d "Lol noobz pl0x don't hax, thx bae"
+REM Logon message title bar
+reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v LegalNoticeCaption /t REG_SZ /d "Dnt hax me"
+REM Wipe page file from shutdown
+reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v ClearPageFileAtShutdown /t REG_DWORD /d 1 /f
+REM LOL this is a key? Disallow remote access to floppie disks
+reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AllocateFloppies /t REG_DWORD /d 1 /f
+REM Prevent print driver installs
+reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers" /v AddPrinterDrivers /t REG_DWORD /d 1 /f
+REM Limit local account use of blank passwords to console
+reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 1 /f
+REM Auditing access of Global System Objects
+reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v auditbaseobjects /t REG_DWORD /d 1 /f
+REM Auditing Backup and Restore
+reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v fullprivilegeauditing /t REG_DWORD /d 1 /f
+REM Do not display last user on logon
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v dontdisplaylastusername /t REG_DWORD /d 1 /f
+REM UAC setting (Prompt on Secure Desktop)
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f
+REM Enable Installer Detection
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableInstallerDetection /t REG_DWORD /d 1 /f
+REM Undock without logon
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v undockwithoutlogon /t REG_DWORD /d 0 /f
+REM Maximum Machine Password Age
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v MaximumPasswordAge /t REG_DWORD /d 15 /f
+REM Disable machine account password changes
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v DisablePasswordChange /t REG_DWORD /d 1 /f
+REM Require Strong Session Key
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v RequireStrongKey /t REG_DWORD /d 1 /f
+REM Require Sign/Seal
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v RequireSignOrSeal /t REG_DWORD /d 1 /f
+REM Sign Channel
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v SignSecureChannel /t REG_DWORD /d 1 /f
+REM Seal Channel
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters /v SealSecureChannel /t REG_DWORD /d 1 /f
+REM Don't disable CTRL+ALT+DEL even though it serves no purpose
+reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DisableCAD /t REG_DWORD /d 0 /f
+REM Restrict Anonymous Enumeration #1
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v restrictanonymous /t REG_DWORD /d 1 /f
+REM Restrict Anonymous Enumeration #2
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v restrictanonymoussam /t REG_DWORD /d 1 /f
+REM Idle Time Limit - 45 mins
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters /v autodisconnect /t REG_DWORD /d 45 /f
+REM Require Security Signature - Disabled pursuant to checklist
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters /v enablesecuritysignature /t REG_DWORD /d 0 /f
+REM Enable Security Signature - Disabled pursuant to checklist
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters /v requiresecuritysignature /t REG_DWORD /d 0 /f
+REM Disable Domain Credential Storage
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v disabledomaincreds /t REG_DWORD /d 1 /f
+REM Don't Give Anons Everyone Permissions
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v everyoneincludesanonymous /t REG_DWORD /d 0 /f
+REM SMB Passwords unencrypted to third party? How bout nah
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters /v EnablePlainTextPassword /t REG_DWORD /d 0 /f
+REM Null Session Pipes Cleared
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters /v NullSessionPipes /t REG_MULTI_SZ /d "" /f
+REM Remotely accessible registry paths cleared
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg\AllowedExactPaths /v Machine /t REG_MULTI_SZ /d "" /f
+REM Remotely accessible registry paths and sub-paths cleared
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg\AllowedPaths /v Machine /t REG_MULTI_SZ /d "" /f
+REM Restict anonymous access to named pipes and shares
+reg ADD HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters /v NullSessionShares /t REG_MULTI_SZ /d "" /f
+REM Allow to use Machine ID for NTLM
+reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v UseMachineId /t REG_DWORD /d 0 /f
+
 goto MENU
 :Two
 REM Listing possible penetrations
@@ -152,8 +327,4 @@
 powershell Invoke-WebRequest -OutFile MBRTKit.exe https://data-cdn.mbamupdates.com/web/mbar-1.09.3.1001.exe
 MBRTKit.exe
 goto MENU
-:Ten
-powershell Get-CimInstance Win32_StartupCommand | Select-Object Name, command, Location, User | Format-List
-pause
-goto MENU
 PAUSE


add BAT file

add BAT file

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

--- make_sample_wav_file.bat
+++ make_sample_wav_file.bat
@@ -0,0 +1,3 @@
+gcc MakeSampleWavFile.cc -o a.exe
+a.exe
+del a.exe


set PATH with quotes!

set PATH with quotes!

--- recipes/postgresql/bld.bat
+++ recipes/postgresql/bld.bat
@@ -8,7 +8,7 @@
 ::    Postgres writes here.  This one comes from the Win7 SDK (.net 4.0), and is known to work.
 if "%ARCH%" == "32" (
    COPY C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe .\
-   set PATH=%CD%;%PATH%
+   set "PATH=%CD%;%PATH%"
 )

 call build.bat


Fix spell

Fix spell

--- bootstrap.bat
+++ bootstrap.bat
@@ -1,7 +1,7 @@
 @echo off
 REM Call MSVC Environment

-if "%ToolChian%"=="" goto EnvironmentSetting
+if "%ToolChain%"=="" goto EnvironmentSetting
 goto DomakeBuildTask

 :EnvironmentSetting
@@ -28,13 +28,13 @@
 :ARM
 if not exist "%VS140COMNTOOLS%..\..\VC\bin\x86_arm" goto VAILDVSNOTFOUD
 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"  x86_arm
-set ToolChian=Visual Studio 2015 ARM
+set ToolChain=Visual Studio 2015 ARM
 goto DomakeBuildTask

 :ARM64
 if not exist "%VS140COMNTOOLS%..\..\VC\bin\x86_arm64" goto VAILDVSNOTFOUD
 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"  x86_arm64
-set ToolChian=Visual Studio 2015 ARM64
+set ToolChain=Visual Studio 2015 ARM64
 goto DomakeBuildTask

 goto :EOF
@@ -46,19 +46,19 @@
 :VS140USE64BIT
 if not exist "%VS140COMNTOOLS%..\..\VC\bin\x86_amd64" goto VS120USE64BIT
 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat"  x86_amd64
-set ToolChian=Visual Studio 2015 x64
+set ToolChain=Visual Studio 2015 x64
 goto DomakeBuildTask

 :VS120USE64BIT
 IF not exist "%VS120COMNTOOLS%..\..\VC\bin\x86_amd64"  goto VS110USE64BIT
 call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat"  x86_amd64
-set ToolChian=Visual Studio 2013 x64
+set ToolChain=Visual Studio 2013 x64
 goto DomakeBuildTask

 :VS110USE64BIT
 if not exist "%VS110COMNTOOLS%..\..\VC\bin\x86_amd64"  goto VAILDVSNOTFOUD
 call "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat"  x86_amd64
-set ToolChian=Visual Studio 2012 x64
+set ToolChain=Visual Studio 2012 x64
 goto DomakeBuildTask

@@ -66,19 +66,19 @@
 :VS140USE32BIT
 if not exist %VS140COMNTOOLS%  goto VS120USE32BIT
 call "%VS140COMNTOOLS%\VsDevCmd.bat"
-set ToolChian=Visual Studio 2015
+set ToolChain=Visual Studio 2015
 goto DomakeBuildTask

 :VS120USE32BIT
 IF not exist "%VS120COMNTOOLS%"  goto VS110USE32BIT
 call "%VS120COMNTOOLS%.\VsDevCmd.bat"
-set ToolChian=Visual Studio 2013
+set ToolChain=Visual Studio 2013
 goto DomakeBuildTask

 :VS110USE32BIT
 if not exist %VS110COMNTOOLS%  goto VAILDVSNOTFOUD
 call "%VS110COMNTOOLS%\VsDevCmd.bat"
-set ToolChian=Visual Studio 2012
+set ToolChain=Visual Studio 2012
 goto DomakeBuildTask

 :VAILDVSNOTFOUD
@@ -86,4 +86,5 @@
 goto :EOF

 :DomakeBuildTask
+echo Use ToolChain: %ToolChain%
 PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0bootstrap.ps1' %*"


Revised /build.

Revised /build.

--- bin/build.cmd
+++ bin/build.cmd
@@ -8,8 +8,15 @@
 // #Sireum
 import org.sireum._

+
+def usage(): Unit = {
+  println("Sireum Runtime /build")
+  println("Usage: ( compile | test | m2 | jitpack )")
+}
+
 if (Os.cliArgs.size != 2) {
-  println("Usage: ( compile | test | m2 )")
+  usage()
+  Os.exit(0)
 }

 val homeBin = Os.path(Os.cliArgs(0))
@@ -26,27 +33,26 @@
   }
 }

+def jitpack(): Unit = {
+  println("Triggering jitpack ...")
+  val r = Os.proc(ISZ(mill.string, "jitPack", "--owner", "sireum", "--repo", "runtime", "--lib", "library")).at(home).run()
+  r match {
+    case r: Os.Proc.Result.Normal =>
+      println(r.out)
+      println(r.err)
+      if (!r.ok) {
+        eprintln(s"Exit code: ${r.exitCode}")
+      }
+    case r: Os.Proc.Result.Exception =>
+      eprintln(s"Exception: ${r.err}")
+    case _: Os.Proc.Result.Timeout =>
+      eprintln("Timout")
+      eprintln()
+  }
+  println()
+}
+
 def compile(): Unit = {
-  def triggerJitPack(): Unit = {
-    if (Os.isMac) {
-      println("Triggering jitpack ...")
-      val r = Os.proc(ISZ(mill.string, "jitPack", "--owner", "sireum", "--repo", "runtime", "--lib", "library")).run()
-      r match {
-        case r: Os.Proc.Result.Normal =>
-          println(r.out)
-          println(r.err)
-          if (!r.ok) {
-            eprintln(s"Exit code: ${r.exitCode}")
-          }
-        case r: Os.Proc.Result.Exception =>
-          eprintln(s"Exception: ${r.err}")
-        case _: Os.Proc.Result.Timeout =>
-          eprintln("Timout")
-          eprintln()
-      }
-      println()
-    }
-  }

   def tipe(): Unit = {
     println("Slang type checking ...")
@@ -55,7 +61,9 @@
     println()
   }

-  triggerJitPack()
+  if (Os.isMac) {
+    jitpack()
+  }
   tipe()
   println("Compiling ...")
   Os.proc(ISZ(mill.string, "all", "runtime.library.jvm.tests.compile")).at(home).console.runCheck()
@@ -79,30 +87,19 @@
 }

 def m2(): Unit = {
-  Os.proc(ISZ(mill.string, "all",
-    "runtime.macros.shared.m2", "runtime.macros.jvm.m2", "runtime.macros.js.m2",
-    "runtime.library.shared.m2", "runtime.library.jvm.m2", "runtime.library.js.m2",
-    "runtime.test.shared.m2", "runtime.test.jvm.m2", "runtime.test.js.m2")).
+  val m2s: ISZ[ISZ[String]] =
+    for (pkg <- ISZ("macros", "library", "test"); plat <- ISZ("shared", "jvm", "js"))
+      yield ISZ("runtime", pkg, plat, "m2")
+
+  Os.proc(ISZ[String](mill.string, "all") ++ (for (m2 <- m2s) yield st"${(m2, ".")}".render)).
     at(home).env(ISZ("SIREUM_SOURCE_BUILD" ~> "false")).console.runCheck()

   val repository = Os.home / ".m2" / "repository"
-  repository.mkdirAll()

   println()
   println("Artifacts")
-  for (cd <- ISZ(
-    Os.cwd.up / "out" / "runtime" / "macros" / "shared" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "macros" / "jvm" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "macros" / "js" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "library" / "shared" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "library" / "jvm" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "library" / "js" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "test" / "shared" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "test" / "jvm" / "m2" / "dest",
-    Os.cwd.up / "out" / "runtime" / "test" / "js" / "m2" / "dest"
-  )
-  ) {
-    for (p <- cd.overlayMove(repository, F, F, _ => T, T).keys) {
+  for (cd <- for (m2 <- m2s) yield st"${(m2, Os.fileSep)}${Os.fileSep}dest".render) {
+    for (p <- (Os.cwd.up / "out" / cd).overlayMove(repository, F, F, _ => T, T).keys) {
       println(s"* $p")
     }
   }
@@ -116,4 +113,9 @@
   case string"compile" => compile()
   case string"test" => test()
   case string"m2" => m2()
+  case string"jitpack" => jitpack()
+  case cmd =>
+    usage()
+    eprintln(s"Unrecognized command: $cmd")
+    Os.exit(-1)
 }


Win32: Get 32-bit Windows build working Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.

--- update_external_sources.bat
+++ update_external_sources.bat
@@ -536,7 +536,7 @@
    REM      set errorCode=1
    REM      goto:eof
    REM   )
-
+
    cd ..

    echo Making 64-bit LLVM
@@ -559,7 +559,7 @@
    )
    REM disable Debug build of LLVM until LunarGLASS cmake files are updated to
    REM handle Debug and Release builds of glslang simultaneously, instead of
-   REM whatever last lands in "./build32/install"
+   REM whatever last lands in "./build/install"
    REM   echo Building 64-bit LLVM: MSBuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug
    REM   msbuild INSTALL.vcxproj /p:Platform=x64 /p:Configuration=Debug
    REM Check for existence of one lib, even though we should check for all results
@@ -658,6 +658,7 @@
    echo *************************
    mkdir build32
    set SPIRV_TOOLS_BUILD_DIR=%SPIRV_TOOLS_DIR%\build32
+
    cd %SPIRV_TOOLS_BUILD_DIR%

    echo Generating 32-bit spirv-tools CMake files for Visual Studio %VS_VERSION% ..


Fixed issue 38, missing percent sign in variable reference.

--- bin/xspec.bat
+++ bin/xspec.bat
@@ -32,7 +32,7 @@

 SET TEST_STYLESHEET="%TEST_DIR%\%TARGET_FILE_NAME%.xsl"
 SET COVERAGE_XML="%TEST_DIR%\%TARGET_FILE_NAME%-coverage.xml"
-SET COVERAGE_HTML="%TEST_DIR\%TARGET_FILE_NAME%-coverage.html"
+SET COVERAGE_HTML="%TEST_DIR%\%TARGET_FILE_NAME%-coverage.html"
 SET RESULT="%TEST_DIR%\%TARGET_FILE_NAME%-result.xml"
 SET HTML="%TEST_DIR%\%TARGET_FILE_NAME%-result.html"


remove old release structure

remove old release structure

--- genEpydoc.bat
+++ genEpydoc.bat
@@ -1,2 +1 @@
-xcopy /y ..\sourceforge\svn\trunk\src\pyparsing.py .
-c:\python27\python c:\python27\scripts\epydoc -v --name pyparsing -o htmldoc --inheritance listed --no-private pyparsing.py
+c:\python27\python c:\python27\scripts\epydoc -v --name pyparsing -o htmldoc --inheritance listed --no-private --no-frames pyparsing.py


Add senv.bat to build and call senvgo

Add senv.bat to build and call senvgo

--- senv.bat
+++ senv.bat
@@ -1 +1,27 @@
-s
+@echo off
+if "%PRGS2%"=="" (
+	echo.PRGS2 not defined
+	goto ko
+)
+pushd "%CD%"
+cd %~dp0
+rem http://stackoverflow.com/questions/15890856/difference-between-dp0-and
+C:\prgs\go\go1.2.1.windows-amd64\bin\go.exe build
+if ERRORLEVEL 1 (
+	echo.build failed
+	popd
+	goto ko
+)
+echo.built
+call %~dp0\senvgo.exe
+call %PRGS2%\env.bat
+popd
+
+
+rem http://stackoverflow.com/questions/4632891/exiting-batch-with-exit-b-x-where-x-1-acts-as-if-command-completed-successfu
+:ok
+@%COMSPEC% /C exit 0 >nul
+goto EOF
+:ko
+@%COMSPEC% /C exit 1 >nul
+:EOF


do not exclude modules when their deps are not resolved. Like aep suggested

--- configure.bat
+++ configure.bat
@@ -56,13 +56,13 @@
     %CALL_SUB% func_detectTools
     IF %LAST_FUNC_RET% == 1 goto RETURN

-    %CALL_SUB% func_testLibs openssl OPENSSL network
-
-    %CALL_SUB% func_testLibs ffmpeg FFMPEG media
-
-    %CALL_SUB% func_testLibs sdl SDL media
-
-    %CALL_SUB% func_testLibs curses CURSES curses
+    %CALL_SUB% func_testLibs openssl OPENSSL
+
+    %CALL_SUB% func_testLibs ffmpeg FFMPEG
+
+    %CALL_SUB% func_testLibs sdl SDL
+
+    %CALL_SUB% func_testLibs curses CURSES

     echo autodetection finished running qmake
     cd %PROJECT_ROOT%
@@ -75,7 +75,6 @@
 :: ----func_test3rdParty Test for 3rdparty libs
 :: param 0 name of lib
 :: param 1 name param to add to project file
-:: param 2 Qxt Package that needs this lib
 ::-----------------------------------------
 :func_testLibs
 echo func_testLibs
@@ -100,8 +99,6 @@

     :lbl_testLibs_error
     echo .....[FAILED]
-    echo .....not creating %2
-    echo QXT_BUILD -= %2 >> %PROJECT_ROOT%\config.in
     SET LAST_FUNC_RET=1

     :lbl_testLibs_end


symbian-camera: Update configure.bat to contain Symbian Camera config.tests

--- configure.bat
+++ configure.bat
@@ -549,6 +549,9 @@
 call :compileTest Symbian_Messaging_Freestyle messaging_freestyle
 call :compileTest callinformation_symbian callinformation_symbian
 call :compileTest IMMERSION immersion
+call :compileTest Symbian_CamAutoFocus_31 symbian_camera_camautofocus
+call :compileTest Symbian_ECamAdvancedSettings_Post31 symbian_camera_ecamadvsettings
+call :compileTest Symbian_DevVideoRecord symbian_camera_devvideorecord
 call :compileTest AdvancedTouchFeedback advancedtouchfeedback
 call :compileTest MDS mds
 call :compileTest MDS_25 mds_25


fixed

fixed

--- BuildScript/BuildNF.CMake.Debug.bat
+++ BuildScript/BuildNF.CMake.Debug.bat
@@ -1,5 +1,5 @@
 cd ..
 cd cmake
-cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_TOOLS_ONLY=OFF
+cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_TOOLS_ONLY=OFF -DCMAKE_BUILD_TYPE=Debug
 cd ..
 cd BuildScript


Run tests separately

Run tests separately

--- test.cmd
+++ test.cmd
@@ -5,8 +5,10 @@

 if not exist TestResults mkdir TestResults || goto :eof

-"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests -xml TestResults\NeinLinq.result.xml" -output:TestResults\NeinLinq.report.xml -register:user -filter:+[NeinLinq]* -returntargetcode || goto :eof
-"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests.EF6 -xml TestResults\NeinLinq.EF6.result.xml" -output:TestResults\NeinLinq.EF6.report.xml -register:user -filter:+[NeinLinq.EF6]* -returntargetcode || goto :eof
-"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests.EFCore -xml TestResults\NeinLinq.EFCore.result.xml" -output:TestResults\NeinLinq.EFCore.report.xml -register:user -filter:+[NeinLinq.EFCore]* -returntargetcode || goto :eof
+"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests --configuration Release --framework net461 -xml TestResults\NeinLinq.netframework.result.xml" -output:TestResults\NeinLinq.netframework.report.xml -register:user -filter:+[NeinLinq]* -returntargetcode || goto :eof
+"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests --configuration Release --framework netcoreapp1.0 -xml TestResults\NeinLinq.netcoreapp.result.xml" -output:TestResults\NeinLinq.netcoreapp.report.xml -register:user -filter:+[NeinLinq]* -returntargetcode || goto :eof
+"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests.EF6 --configuration Release --framework net461 -xml TestResults\NeinLinq.EF6.netframework.result.xml" -output:TestResults\NeinLinq.EF6.netframework.report.xml -register:user -filter:+[NeinLinq.EF6]* -returntargetcode || goto :eof
+"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests.EFCore --configuration Release --framework net461 -xml TestResults\NeinLinq.EFCore.netframework.result.xml" -output:TestResults\NeinLinq.EFCore.netframework.report.xml -register:user -filter:+[NeinLinq.EFCore]* -returntargetcode || goto :eof
+"%opencover%" -target:dotnet.exe -targetargs:"test test\NeinLinq.Tests.EFCore --configuration Release --framework netcoreapp1.0 -xml TestResults\NeinLinq.EFCore.netcoreapp.result.xml" -output:TestResults\NeinLinq.EFCore.netcoreapp.report.xml -register:user -filter:+[NeinLinq.EFCore]* -returntargetcode || goto :eof

-"%reportgenerator%" -reports:TestResults\NeinLinq.report.xml;TestResults\NeinLinq.EF6.report.xml;TestResults\NeinLinq.EFCore.report.xml -targetdir:TestResults\report -reporttypes:Badges;Html || goto :eof
+"%reportgenerator%" -reports:TestResults\*.report.xml -targetdir:TestResults\report -reporttypes:Badges;Html || goto :eof


Added routine TrimRightSlash. Improved routine condquote2.

--- Batch/Library.bat
+++ Batch/Library.bat
@@ -217,7 +217,7 @@
 if '%1'=='call' %*& exit /b

 setlocal EnableExtensions EnableDelayedExpansion
-set "VERSION=2018-03-01"
+set "VERSION=2018-11-19"
 set "SCRIPT=%~nx0"				&:# Script name
 set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
 set "SFULL=%~f0"				&:# Script full pathname
@@ -2135,6 +2135,28 @@

 :#----------------------------------------------------------------------------#
 :#                                                                            #
+:#  Function        TrimRightSlash                                            #
+:#                                                                            #
+:#  Description     Remove the trailing \ of a pathname, if any               #
+:#                                                                            #
+:#  Note                                                                      #
+:#                                                                            #
+:#  History                                                                   #
+:#   2014-06-23 JFL Created this routine.                                     #
+:#                                                                            #
+:#----------------------------------------------------------------------------#
+
+:TrimRightSlash     %1=VARNAME
+%FUNCTION% EnableDelayedExpansion
+set "VARNAME=%~1"
+%UPVAR% %VARNAME%
+set "%VARNAME%=!%VARNAME%!::" &:# Note that :: cannot appear in a pathname
+set "%VARNAME%=!%VARNAME%:\::=::!"
+set "%VARNAME%=!%VARNAME%:::=!"
+%RETURN%
+
+:#----------------------------------------------------------------------------#
+:#                                                                            #
 :#  Function        ReplaceXxxx						      #
 :#                                                                            #
 :#  Description     Replace tricky characters                                 #
@@ -2342,11 +2364,12 @@
 :#		    Added support for empty pathnames.                        #
 :#   2016-11-09 JFL Fixed this routine, which was severely broken :-(	      #
 :#   2016-11-21 JFL Fixed the "!" quoting, and added "|&<>" quoting.	      #
-:#                                                                            #
-:#----------------------------------------------------------------------------#
-
-:# Quote file pathnames that require it. %1=Input variable. %2=Opt. output variable.
-:condquote
+:#   2018-11-19 JFL Improved routine condquote2.                              #
+:#                                                                            #
+:#----------------------------------------------------------------------------#
+
+:# Quote file pathnames that require it.
+:condquote	 %1=Input variable. %2=Opt. output variable.
 %FUNCTION% EnableExtensions EnableDelayedExpansion
 set "RETVAR=%~2"
 if not defined RETVAR set "RETVAR=%~1" &:# By default, change the input variable itself
@@ -2365,12 +2388,12 @@
 set "%RETVAR%=!P!"
 %RETURN%

-:condquote2
-%FUNCTION%
-setlocal enableextensions enabledelayedexpansion
-set RETVAR=%~2
-if "%RETVAR%"=="" set RETVAR=%~1
-set "P=!%~1!"
+:# Simpler version not using the %FUNCTION%/%RETURN% macros
+:condquote2	 %1=Input variable. %2=Opt. output variable.
+setlocal EnableExtensions Disabledelayedexpansion
+set "RETVAR=%~2"
+if not defined RETVAR set "RETVAR=%~1" &:# By default, change the input variable itself
+call set "P=%%%~1%%"
 :# If the value is empty, don't go any further.
 if not defined P set "P=""" & goto :condquote_ret
 :# Remove double quotes inside P. (Fails if P is empty)
@@ -2378,7 +2401,9 @@
 :# If the value is empty, don't go any further.
 if not defined P set "P=""" & goto :condquote_ret
 :# Look for any special character that needs quoting
-echo."%P%"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"@" /C:"," /C:";" /C:"[" /C:"]" /C:"{" /C:"}" /C:"=" /C:"'" /C:"+" /C:"`" /C:"~" >NUL
+:# Added "@" that needs quoting ahead of commands.
+:# Added "|&<>" that are not valid in file names, but that do need quoting if used in an argument string.
+echo."%P%"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"[" /C:"]" /C:"{" /C:"}" /C:"^^" /C:"=" /C:";" /C:"!" /C:"'" /C:"+" /C:"," /C:"`" /C:"~" /C:"@" /C:"|" /C:"&" /C:"<" /C:">" >NUL
 if not errorlevel 1 set P="%P%"
 :condquote_ret
 :# Contrary to the general rule, do NOT enclose the set commands below in "quotes",


TSI-112 added missing RestorePackages script

error: pathspec 'content-management/_tools/RestorePackages.cmd' did not match any file(s) known to git

--- content-management/_tools/RestorePackages.cmd
+++ content-management/_tools/RestorePackages.cmd
@@ -0,0 +1,12 @@
+@ECHO OFF
+:Init
+SET EnableNuGetPackageRestore=true
+SET location=%~dp0
+SET name=%~n0
+IF %1.==. GOTO Usage
+:Command
+"%location%nuget.exe" restore %1
+GOTO End
+:Usage
+ECHO usage: %name% ^<solution file^>
+:End


Changed loading initial.properties to init.properties

git-svn-id: 4a0daf30c0bbd291b3bc5fe8f058bf11ee523347@1088 7d282ba1-3ae6-0310-8f9b-c9008a0864d2

--- win-stuff/scripts/Run.bat
+++ win-stuff/scripts/Run.bat
@@ -1 +1 @@
-java -cp "jars/tigase-server.jar;libs/*" -Djdbc.drivers=com.mysql.jdbc.Driver tigase.server.XMPPServer --property-file etc/initial.properties
+java -cp "jars/tigase-server.jar;libs/*" -Djdbc.drivers=com.mysql.jdbc.Driver tigase.server.XMPPServer --property-file etc/init.properties


Finally remove distro

Finally remove distro


[MIRROR] Makes TGUI's reload.bat account for spaces in username (#3991)

* Makes reload.bat account for spaces in username (#32768)

* Makes TGUI's reload.bat account for spaces in username


Fix Clean-Solution.bat when machine's PowerShell ExecutionPolicy prevents scripts from running

--- scripts/Clean-Solution.bat
+++ scripts/Clean-Solution.bat
@@ -1,5 +1,5 @@
 @echo off
-powershell -noprofile -file "%~dp0\Clean-Solution.ps1"
+powershell -noprofile -ExecutionPolicy Unrestricted -file "%~dp0\Clean-Solution.ps1"

 :exit
 echo.


Add GIT tagging

Add GIT tagging

--- MediaCaptureReader/Package/pack.cmd
+++ MediaCaptureReader/Package/pack.cmd
@@ -12,6 +12,13 @@
     set BUILD="%ProgramFiles(x86)%\MSBuild\12.0\Bin\msbuild.exe"
 )

+if exist "%ProgramFiles%\Git\cmd\git.exe" (
+    set GIT="%ProgramFiles%\Git\cmd\git.exe"
+)
+if exist "%ProgramFiles(x86)%\Git\cmd\git.exe" (
+    set GIT="%ProgramFiles(x86)%\Git\cmd\git.exe"
+)
+
 REM Clean
 call .\clean.cmd

@@ -23,3 +30,6 @@
 REM Pack
 %OUTPUT%nuget.exe pack MMaitre.MediaCaptureReader.nuspec -OutputDirectory %OUTPUT%Packages -Prop NuGetVersion=%VERSION% -NoPackageAnalysis
 %OUTPUT%nuget.exe pack MMaitre.MediaCaptureReader.Symbols.nuspec -OutputDirectory %OUTPUT%Symbols -Prop NuGetVersion=%VERSION% -NoPackageAnalysis
+
+REM Tag
+%GIT% tag --force %VERSION%


Fixed wired version of libs

Fixed wired version of libs

git-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@2016 3625ad7b-9c83-922f-a72b-73d79161f2ea

--- server/script/shutdown.bat
+++ server/script/shutdown.bat
@@ -44,6 +44,6 @@
 set WWW_PATH=%ORIENTDB_HOME%/www
 REM set JAVA_OPTS=-Xms1024m -Xmx1024m

-call %JAVA% -client %JAVA_OPTS% -Dorientdb.config.file="%CONFIG_FILE%" -cp "%ORIENTDB_HOME%\lib\orientdb-server-0.9.24-SNAPSHOT.jar" com.orientechnologies.orient.server.OServerShutdownMain %CMD_LINE_ARGS%
+call %JAVA% -client %JAVA_OPTS% -Dorientdb.config.file="%CONFIG_FILE%" -cp "%ORIENTDB_HOME%\lib\orientdb-server-@VERSION@.jar" com.orientechnologies.orient.server.OServerShutdownMain %CMD_LINE_ARGS%

 :end


Update bld_cxx.bat

Update bld_cxx.bat

--- recipes/gz-gui/bld_cxx.bat
+++ recipes/gz-gui/bld_cxx.bat
@@ -1,3 +1,4 @@
+rmdir /s /q build
 mkdir build
 cd build


fix manual build of postgres solution

fix manual build of postgres solution

--- recipes/postgresql/bld.bat
+++ recipes/postgresql/bld.bat
@@ -14,8 +14,8 @@
    set ARCH=x64
 )

-call perl mkvcbuild.pl
-call msbuild pgsql.sln /p:Configuration=Release /p:Platform="%ARCH%"
+perl mkvcbuild.pl
+call msbuild %SRC_DIR%\pgsql.sln /p:Configuration=Release /p:Platform="%ARCH%" /verbosity:detailed
 if errorlevel 1 exit 1
 call install.bat "%LIBRARY_PREFIX%"
 if errorlevel 1 exit 1


docs/make.bat: Save `readme.rst` from being destroyed during `make.bat clean`.

--- docs/make.bat
+++ docs/make.bat
@@ -48,8 +48,10 @@

 if "%1" == "clean" (
 	move index.rst index.rst.saved
+	move readme.rst readme.rst.saved
 	del /q /s *.rst
         move index.rst.saved index.rst
+        move readme.rst.saved readme.rst
 	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
 	del /q /s %BUILDDIR%
 	goto end


added make.bat file

added make.bat file

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

--- docs/make.bat
+++ docs/make.bat
@@ -0,0 +1,170 @@
+@ECHO OFF
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+	set SPHINXBUILD=sphinx-build
+)
+set BUILDDIR=_build
+set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
+if NOT "%PAPER%" == "" (
+	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
+)
+
+if "%1" == "" goto help
+
+if "%1" == "help" (
+	:help
+	echo.Please use `make ^<target^>` where ^<target^> is one of
+	echo.  html       to make standalone HTML files
+	echo.  dirhtml    to make HTML files named index.html in directories
+	echo.  singlehtml to make a single large HTML file
+	echo.  pickle     to make pickle files
+	echo.  json       to make JSON files
+	echo.  htmlhelp   to make HTML files and a HTML help project
+	echo.  qthelp     to make HTML files and a qthelp project
+	echo.  devhelp    to make HTML files and a Devhelp project
+	echo.  epub       to make an epub
+	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
+	echo.  text       to make text files
+	echo.  man        to make manual pages
+	echo.  changes    to make an overview over all changed/added/deprecated items
+	echo.  linkcheck  to check all external links for integrity
+	echo.  doctest    to run all doctests embedded in the documentation if enabled
+	goto end
+)
+
+if "%1" == "clean" (
+	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
+	del /q /s %BUILDDIR%\*
+	goto end
+)
+
+if "%1" == "html" (
+	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
+	goto end
+)
+
+if "%1" == "dirhtml" (
+	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
+	goto end
+)
+
+if "%1" == "singlehtml" (
+	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
+	goto end
+)
+
+if "%1" == "pickle" (
+	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished; now you can process the pickle files.
+	goto end
+)
+
+if "%1" == "json" (
+	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished; now you can process the JSON files.
+	goto end
+)
+
+if "%1" == "htmlhelp" (
+	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished; now you can run HTML Help Workshop with the ^
+.hhp project file in %BUILDDIR%/htmlhelp.
+	goto end
+)
+
+if "%1" == "qthelp" (
+	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished; now you can run "qcollectiongenerator" with the ^
+.qhcp project file in %BUILDDIR%/qthelp, like this:
+	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Astropy.qhcp
+	echo.To view the help file:
+	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Astropy.ghc
+	goto end
+)
+
+if "%1" == "devhelp" (
+	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished.
+	goto end
+)
+
+if "%1" == "epub" (
+	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The epub file is in %BUILDDIR%/epub.
+	goto end
+)
+
+if "%1" == "latex" (
+	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
+	goto end
+)
+
+if "%1" == "text" (
+	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The text files are in %BUILDDIR%/text.
+	goto end
+)
+
+if "%1" == "man" (
+	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Build finished. The manual pages are in %BUILDDIR%/man.
+	goto end
+)
+
+if "%1" == "changes" (
+	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.The overview file is in %BUILDDIR%/changes.
+	goto end
+)
+
+if "%1" == "linkcheck" (
+	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Link check complete; look for any errors in the above output ^
+or in %BUILDDIR%/linkcheck/output.txt.
+	goto end
+)
+
+if "%1" == "doctest" (
+	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
+	if errorlevel 1 exit /b 1
+	echo.
+	echo.Testing of doctests in the sources finished, look at the ^
+results in %BUILDDIR%/doctest/output.txt.
+	goto end
+)
+
+:end


fix path in apidoc target

fix path in apidoc target

--- docs/make.bat
+++ docs/make.bat
@@ -77,7 +77,7 @@
 :sphinx_ok

 if "%1" == "apidoc" (
-	%SPHINXAPIDOC% ../pywincffi --output-dir sources/modules --separate --force
+	%SPHINXAPIDOC% ../pywincffi --output-dir source/modules --separate --force
 	if errorlevel 1 exit /b 1
 	echo.
 	echo.API docs generated


Add missing bld.bat

Add missing bld.bat

error: pathspec 'recipes/xorg-libxp/bld.bat' did not match any file(s) known to git

--- recipes/xorg-libxp/bld.bat
+++ recipes/xorg-libxp/bld.bat
@@ -0,0 +1,17 @@
+:: Trailing semicolon in this variable as set by current (2017/01)
+:: conda-build breaks us. Manual fix:
+set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out"
+:: Delegate to the Unixy script. We need to translate the key path variables
+:: to be Unix-y rather than Windows-y, though.
+set "saved_recipe_dir=%RECIPE_DIR%"
+FOR /F "delims=" %%i IN ('cygpath.exe -u -p "%PATH%"') DO set "PATH_OVERRIDE=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -m "%LIBRARY_PREFIX%"') DO set "LIBRARY_PREFIX_M=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%LIBRARY_PREFIX%"') DO set "LIBRARY_PREFIX_U=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%PREFIX%"') DO set "PREFIX=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%PYTHON%"') DO set "PYTHON=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%RECIPE_DIR%"') DO set "RECIPE_DIR=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%SP_DIR%"') DO set "SP_DIR=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%SRC_DIR%"') DO set "SRC_DIR=%%i"
+FOR /F "delims=" %%i IN ('cygpath.exe -u "%STDLIB_DIR%"') DO set "STDLIB_DIR=%%i"
+bash -x %saved_recipe_dir%\build.sh
+if errorlevel 1 exit 1


fixed batch file

fixed batch file

--- busted.bat
+++ busted.bat
@@ -15,8 +15,8 @@
   if "%*"=="--help" set TRUE=1
   if "%*"=="--version" set TRUE=1
   if defined TRUE  (
-    pushd %~dp0 && (call "%cmd%" bootstrap.lua %*) && popd
+    pushd %~dp0 && (call "%cmd%" bootstrap %*) && popd
   ) else (
-    pushd %~dp0 && (call "%cmd%" bootstrap.lua --cwd="%cwd%\\" %*) && popd
+    pushd %~dp0 && (call "%cmd%" bootstrap --cwd="%cwd%\\" %*) && popd
   )
 )


インストーラ作成スクリプトで、バージョン0.3.1の指定

インストーラ作成スクリプトで、バージョン0.3.1の指定

--- createmsi.bat
+++ createmsi.bat
@@ -1,12 +1,12 @@
 @echo off

-javapackager -deploy -native msi ^
+"%JAVA_HOME%"\bin\javapackager -deploy -native msi ^
 -v ^
 -outdir dist -outfile Calendar ^
 -srcdir dist -srcfiles Calendar.jar ^
 -appclass calendar.Calendar ^
 -name "Calendar" ^
--BappVersion=0.2.0 ^
+-BappVersion=0.3.1 ^
 -title "Calendar" ^
 -vendor Takahashi ^
 -description "Calendar on desktop"


Added packer box build instructions

Added packer box build instructions

--- ServerSetupScripts/Windows/Chocolatey/Vagrant.bat
+++ ServerSetupScripts/Windows/Chocolatey/Vagrant.bat
@@ -34,3 +34,11 @@
 #Add if required
 vagrant box add mwrock/Windows2012R2 --provider virtualbox
 vagrant box add jacqinthebox/windowsserver2016core --provider virtualbox
+
+# For Vagrant Boxes Run Something Like This
+#mkdir c:\packer
+#cd c:\packer
+#git clone https://github.com/mwrock/packer-templates.git
+#cd packer-templates
+#To run a build, run this command
+#packer build -force-only virtalbox-iso .\vbox-2012r2.json


point cmake to the build protobuf

point cmake to the build protobuf

--- scripts/appveyor-cmake.bat
+++ scripts/appveyor-cmake.bat
@@ -2,4 +2,4 @@
 mkdir build

 cd %APPVEYOR_BUILD_FOLDER%\build
-cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\install-dist\ -DwxWidgets_ROOT_DIR=%APPVEYOR_BUILD_FOLDER%\install-dist\wx\ -DRIDE_BUILD_COMMIT=%APPVEYOR_REPO_COMMIT% -DRIDE_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER% -DRIDE_BUILD_BRANCH=%APPVEYOR_REPO_BRANCH% -DRIDE_BUILD_REPO=%APPVEYOR_REPO_NAME% $CMAKEOSXARG ..
+cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\install-dist\ -DPROTOBUF_SRC_ROOT_FOLDER=%APPVEYOR_BUILD_FOLDER%\install-dist\proto\ -DwxWidgets_ROOT_DIR=%APPVEYOR_BUILD_FOLDER%\install-dist\wx\ -DRIDE_BUILD_COMMIT=%APPVEYOR_REPO_COMMIT% -DRIDE_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER% -DRIDE_BUILD_BRANCH=%APPVEYOR_REPO_BRANCH% -DRIDE_BUILD_REPO=%APPVEYOR_REPO_NAME% $CMAKEOSXARG ..


Print at least something

Print at least something

--- scripts/lorawan-server.bat
+++ scripts/lorawan-server.bat
@@ -18,5 +18,6 @@
     set FILES=!FILES! "%%A\ebin"
 )

+echo Server started at http://localhost:8080
 set ERL_ARGS="-lager log_root "log""
 cd %ROOT_DIR% && %ERL_DIR% -noinput +Bd -sname lorawan -pa !FILES! -s lorawan_app %ERL_ARGS% -config releases/{{release_version}}/sys.config


Update batch script example

Update batch script example

--- scripts/slack-uploader.bat
+++ scripts/slack-uploader.bat
@@ -1,4 +1,5 @@
-set filedate=!date:~10,4!-!date:~6,2!-!date:~4,2!
+@echo off
+set filedate=%date:~10,4%-%date:~7,2%-%date:~4,2%
 java -jar ./build/libs/slack-uploader-shadow-minified.jar \
     -a SLACK_TOKEN \
     -t "Title %filedate%" \


windows test runner [#55731864]

windows test runner
[#55731864]

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

--- bin/test_win.bat
+++ bin/test_win.bat
@@ -0,0 +1,4 @@
+@echo off
+SET GOPATH=c:\jenkins\workspace\go-cli-build-windows2
+go test -i ./src/cf/...
+go test -v ./src/cf/...


nuget push

nuget push

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

--- nugetpush.cmd
+++ nugetpush.cmd
@@ -0,0 +1 @@
+nuget push distribution\*.nupkg


Updated toolkit version

Updated toolkit version

--- build-vs2019.cmd
+++ build-vs2019.cmd
@@ -4,7 +4,7 @@
 set DEVENV=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe

 echo Setting up environment
-call "%VSPATH%\VC\Auxiliary\Build\vcvarsall.bat" x86 8.1 -vcvars_ver=14.0
+call "%VSPATH%\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.19041.0 -vcvars_ver=14.29

 echo Cleaning up last build
 "%DEVENV%" .\vs2015\dukat.sln /clean "Release"


BuildDeps.cmd: better control for zlib and zziplib version. Fix typo in theora path check.

--- tools/Windows/BuildDeps.cmd
+++ tools/Windows/BuildDeps.cmd
@@ -833,7 +833,7 @@
     svn checkout http://svn.xiph.org/tags/theora/libtheora-1.1.1/ "%DEPS%\theora"
 )

-IF NOT EXIST "%DEPS%\theora\%WIN32_OR_X64%\Release_SSE2\libtheora_static.lib". (
+IF NOT EXIST "%DEPS%\theora\win32\VS2008\%WIN32_OR_X64%\Release_SSE2\libtheora_static.lib". (
     cd "%DEPS%\theora\win32\VS2008"
     cecho {0D}Building Theora. Please be patient, this will take a while.{# #}{\n}
     MSBuild libtheora_static.sln /p:configuration=Debug /t:libtheora_static /clp:ErrorsOnly /nologo /m:%NUMBER_OF_PROCESSORS%
@@ -1051,23 +1051,24 @@
 )

 :: ZLIB
-IF NOT EXIST "%DEPS%\zlib-1.2.8.tar.gz". (
+set ZLIB_VERSION=1.2.8
+IF NOT EXIST "%DEPS%\zlib-%ZLIB_VERSION%.tar.gz". (
    CD "%DEPS%"
    rmdir /S /Q "%DEPS%\zlib"
-   cecho {0D}Downloading zlib 1.2.8{# #}{\n}
-   wget http://zlib.net/zlib-1.2.8.tar.gz
-   IF NOT EXIST "%DEPS%\zlib-1.2.8.tar.gz". GOTO :ERROR
-) ELSE (
-   cecho {0D}zlib 1.2.8 already downloaded. Skipping.{# #}{\n}
+   cecho {0D}Downloading zlib %ZLIB_VERSION%{# #}{\n}
+   wget http://zlib.net/zlib-%ZLIB_VERSION%.tar.gz
+   IF NOT EXIST "%DEPS%\zlib-%ZLIB_VERSION%.tar.gz". GOTO :ERROR
+) ELSE (
+   cecho {0D}zlib %ZLIB_VERSION% already downloaded. Skipping.{# #}{\n}
 )

 IF NOT EXIST "%DEPS%\zlib". (
     cd "%DEPS%"
-    cecho {0D}Extracting zlib 1.2.7 package to "%DEPS%\zlib"{# #}{\n}
+    cecho {0D}Extracting zlib %ZLIB_VERSION% package to "%DEPS%\zlib"{# #}{\n}
     mkdir zlib
-    7za e -y zlib-1.2.7.tar.gz
-    7za x -y -ozlib zlib-1.2.7.tar
-    del /Q zlib-1.2.7.tar
+    7za e -y zlib-%ZLIB_VERSION%.tar.gz
+    7za x -y -ozlib zlib-%ZLIB_VERSION%.tar
+    del /Q zlib-%ZLIB_VERSION%.tar
 )

 IF NOT EXIST "%DEPS%\zlib\lib\Release\zlibstat.lib". (
@@ -1076,7 +1077,7 @@
     mkdir lib\Release
     mkdir lib\Debug
     mkdir include
-    cd zlib-1.2.7
+    cd zlib-%ZLIB_VERSION%
     IF NOT %ERRORLEVEL%==0 GOTO :ERROR

     IF %VS_ARCH%==x64 (
@@ -1089,42 +1090,43 @@

     cd ..\..
     cd contrib\vstudio\%VC_VER%
-    cecho {0D}Building zlib 1.2.7{# #}{\n}
-    MSBuild zlibvc.sln /p:configuration="Release" /nologo /m:%NUMBER_OF_PROCESSORS%
-    MSBuild zlibvc.sln /p:configuration="Debug" /nologo /m:%NUMBER_OF_PROCESSORS%
+    cecho {0D}Building zlib %ZLIB_VERSION%{# #}{\n}
+    MSBuild zlibvc.sln /p:configuration="Release" /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%
+    MSBuild zlibvc.sln /p:configuration="Debug" /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%
     cd ..\..\..
     copy /Y contrib\vstudio\%VC_VER%\%VS_ARCH%\ZlibStatRelease\zlibstat.lib ..\lib\Release
     copy /Y contrib\vstudio\%VC_VER%\%VS_ARCH%\ZlibStatDebug\zlibstat.lib ..\lib\Debug
     copy /Y *.h ..\include\
 ) ELSE (
-   cecho {0D}zlib 1.2.8 already built. Skipping.{# #}{\n}
+   cecho {0D}zlib %ZLIB_VERSION% already built. Skipping.{# #}{\n}
 )

 :: ZZIPLIB
-IF NOT EXIST "%DEPS%\zziplib-0.13.59.tar.bz2". (
+set ZZIPLIB_VERSION=0.13.59
+IF NOT EXIST "%DEPS%\zziplib-%ZZIPLIB_VERSION%.tar.bz2". (
     cd "%DEPS%"
     rmdir /S /Q "%DEPS%\zziplib"
-    cecho {0D}Downloading zziplib 0.13.59{# #}{\n}
-    wget http://sourceforge.net/projects/zziplib/files/zziplib13/0.13.59/zziplib-0.13.59.tar.bz2/download
-    IF NOT EXIST "%DEPS%\zlib-1.2.7.tar.gz". GOTO :ERROR
-) ELSE (
-    cecho {0D}zziplib 0.13.59 already downloaded. Skipping.{# #}{\n}
+    cecho {0D}Downloading zziplib %ZZIPLIB_VERSION%{# #}{\n}
+    wget http://sourceforge.net/projects/zziplib/files/zziplib13/%ZZIPLIB_VERSION%/zziplib-%ZZIPLIB_VERSION%.tar.bz2/download
+    IF NOT EXIST "%DEPS%\zziplib-%ZZIPLIB_VERSION%.tar.bz2". GOTO :ERROR
+) ELSE (
+    cecho {0D}zziplib %ZZIPLIB_VERSION% already downloaded. Skipping.{# #}{\n}
 )

 IF NOT EXIST "%DEPS%\zziplib". (
     CD "%DEPS%"
-    cecho {0D}Extracting zziplib 0.13.59 package to "%DEPS%\zziplib"{# #}{\n}
+    cecho {0D}Extracting zziplib %ZZIPLIB_VERSION% package to "%DEPS%\zziplib"{# #}{\n}
     mkdir zziplib
-    7za e -y zziplib-0.13.59.tar.bz2
-    7za x -y -ozziplib zziplib-0.13.59.tar
-    del /Q zziplib-0.13.59.tar
+    7za e -y zziplib-%ZZIPLIB_VERSION%.tar.bz2
+    7za x -y -ozziplib zziplib-%ZZIPLIB_VERSION%.tar
+    del /Q zziplib-%ZZIPLIB_VERSION%.tar
 )

 IF NOT EXIST "%DEPS%\zziplib\lib\zziplib.lib". (
    cd "%DEPS%\zziplib"
    mkdir lib
    mkdir include\zzip
-   cd zziplib-0.13.59\msvc8
+   cd zziplib-%ZZIPLIB_VERSION%\msvc8

    :: Use a custom project file as zziblib does not ship with vs2008 project files.
    :: Additionally its include/lib paths are not proper for it to find our zlib build and it has weird lib name postfixes.
@@ -1132,15 +1134,15 @@
    cecho {0D}Building zziplib from premade project %TOOLS%\Mods\vs2008-zziplib.vcproj{# #}{\n}
    copy /Y "%TOOLS%\Mods\vs2008-zziplib.vcproj" zziplib.vcproj
    IF NOT %GENERATOR%==%GENERATOR_VS2008% VCUpgrade /nologo zziplib.vcproj
-   MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Release /nologo /m:%NUMBER_OF_PROCESSORS%
-   MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Debug /nologo  /m:%NUMBER_OF_PROCESSORS%
+   MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Release /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%
+   MSBuild zziplib.%VCPROJ_FILE_EXT% /p:configuration=Debug /nologo /clp:ErrorsOnly /m:%NUMBER_OF_PROCESSORS%

    :: Copy results to lib/include
    copy /Y zziplib.lib ..\..\lib
    copy /Y zziplibd.lib ..\..\lib
    copy /Y ..\zzip\*.h ..\..\include\zzip
 ) ELSE (
-   cecho {0D}zziplib 0.13.59 already built. Skipping.{# #}{\n}
+   cecho {0D}zziplib %ZZIPLIB_VERSION% already built. Skipping.{# #}{\n}
 )

 echo.


export all symbols

export all symbols

--- recipes/libmamba/bld.bat
+++ recipes/libmamba/bld.bat
@@ -2,10 +2,13 @@
 cd build

 cmake .. ^
-	%CMAKE_ARGS% ^
-	-DBUILD_SHARED=ON ^
-	-DBUILD_STATIC=OFF ^
-	-DBUILD_BINDINGS=OFF ^
-	-G "Ninja"
+    %CMAKE_ARGS% ^
+    -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
+    -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
+    -DBUILD_SHARED=ON ^
+    -DBUILD_STATIC=OFF ^
+    -DBUILD_BINDINGS=OFF ^
+    -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ^
+    -G "Ninja"

 ninja install


Portable build script.

Portable build script.

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

--- Build/build_portable.bat
+++ Build/build_portable.bat
@@ -0,0 +1,24 @@
+@ECHO OFF
+
+SET /p APPLICATION_VERSION=Tabster Version:
+
+SET BUILD_DIRECTORY=%CD%
+
+SET ZIP_ARCHIVE="%BUILD_DIRECTORY%\Tabster %APPLICATION_VERSION%.zip"
+
+pushd..
+
+SET SOLUTION_DIRECTORY=%CD%
+
+SET VS_BUILD_DIRECTORY=%SOLUTION_DIRECTORY%\Tabster\bin\Portable\
+
+::build
+ECHO.
+ECHO Building Solution...
+C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "%SOLUTION_DIRECTORY%\Tabster.sln" /p:Configuration=Portable
+
+::compress
+ECHO.
+ECHO Compressing...
+7z a -r %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\*.exe"
+7z a -r %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\*.dll"


A QOL Thing (#11)

A QOL Thing (#11)

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

--- Setup.bat
+++ Setup.bat
@@ -0,0 +1,6 @@
+cd %CD%
+python RUN_THIS.py
+pause
+cd %CD%\engine\Resources
+python buildResourcePack.py
+pause


Add a helpful comment for folks unfamiliar with the SHIFT construct.

* contrib/client-side/diff3wrap.bat

--- contrib/client-side/diff3wrap.bat
+++ contrib/client-side/diff3wrap.bat
@@ -3,6 +3,8 @@
 REM Configure your favorite diff3/merge program here.
 SET DIFF3="C:\Program Files\Funky Stuff\My Merge Tool.exe"

+REM We only have access to nine parameters at a time.  We use SHIFT to slide
+REM our nine-parameter window a little bit so we can get to what we need.
 SET MINE=%9
 SHIFT
 SET OLDER=%9


deploy only modules necessary

deploy only modules necessary

--- build/deploy.cmd
+++ build/deploy.cmd
@@ -14,14 +14,21 @@
 xcopy %DEPLOYMENT_SOURCE%\index.html %DEPLOYMENT_TARGET%\index.html*
 xcopy %DEPLOYMENT_SOURCE%\web.config %DEPLOYMENT_TARGET%\web.config*
 xcopy %DEPLOYMENT_SOURCE%\server.js %DEPLOYMENT_TARGET%\server.js*
-%DEPLOYMENT_SOURCE%\build\7za.exe a -t7z %DEPLOYMENT_SOURCE%\deploy.7z %DEPLOYMENT_SOURCE%\node_modules
-IF "%ERRORLEVEL%" NEQ "0" goto error
+xcopy %DEPLOYMENT_SOURCE%\node_modules\fs\* %DEPLOYMENT_TARGET%\node_modules\fs /s /i
+xcopy %DEPLOYMENT_SOURCE%\node_modules\path\* %DEPLOYMENT_TARGET%\node_modules\path /s /i
+xcopy %DEPLOYMENT_SOURCE%\node_modules\express\* %DEPLOYMENT_TARGET%\node_modules\express /s /i
+xcopy %DEPLOYMENT_SOURCE%\node_modules\serve-favicon\* %DEPLOYMENT_TARGET%\node_modules\serve-favicon /s /i
+xcopy %DEPLOYMENT_SOURCE%\node_modules\serialize-javascript\* %DEPLOYMENT_TARGET%\node_modules\serialize-javascript /s /i
+xcopy %DEPLOYMENT_SOURCE%\node_modules\vue-server-renderer\* %DEPLOYMENT_TARGET%\node_modules\vue-server-renderer /s /i

-%DEPLOYMENT_SOURCE%\build\7za.exe -y x %DEPLOYMENT_SOURCE%\deploy.7z -o%DEPLOYMENT_TARGET%
-IF "%ERRORLEVEL%" NEQ "0" goto error
+:: %DEPLOYMENT_SOURCE%\build\7za.exe a -t7z %DEPLOYMENT_SOURCE%\deploy.7z %DEPLOYMENT_SOURCE%\node_modules
+:: IF "%ERRORLEVEL%" NEQ "0" goto error

-del /q %DEPLOYMENT_SOURCE%\deploy.7z
-IF "%ERRORLEVEL%" NEQ "0" goto error
+:: %DEPLOYMENT_SOURCE%\build\7za.exe -y x %DEPLOYMENT_SOURCE%\deploy.7z -o%DEPLOYMENT_TARGET%
+:: IF "%ERRORLEVEL%" NEQ "0" goto error
+
+:: del /q %DEPLOYMENT_SOURCE%\deploy.7z
+:: IF "%ERRORLEVEL%" NEQ "0" goto error

 :: call npm install --prefix %DEPLOYMENT_TARGET%/node_modules
 :: IF "%ERRORLEVEL%" NEQ "0" goto error


fs-events windows

fs-events windows

--- build/deploy.cmd
+++ build/deploy.cmd
@@ -4,20 +4,18 @@
 call npm run build
 IF "%ERRORLEVEL%" NEQ "0" goto error

-:: del /q %DEPLOYMENT_TARGET%\*
-for /d %%D in (%DEPLOYMENT_TARGET%\*) do (
-    :: if /I not "%%~nxD"=="node_modules" del /S /Q "%%~D"
-    del /s /q "%%~D"
+for %%D in (%DEPLOYMENT_TARGET%\*) do (
+    if "%%~nxD" == "node_modules" (
+        del /S /Q "%%~D"
+        IF "%ERRORLEVEL%" NEQ "0" goto error
+    )
 )
-:: for /d %%i in (%DEPLOYMENT_TARGET%\*) do if /i not "%%~nxi"=="node_modules" del /s /q "%%i"
-IF "%ERRORLEVEL%" NEQ "0" goto error

-xcopy %DEPLOYMENT_SOURCE%\dist\* %DEPLOYMENT_TARGET%\dist /s /i
-xcopy %DEPLOYMENT_SOURCE%\index.html %DEPLOYMENT_TARGET%\index.html*
-xcopy %DEPLOYMENT_SOURCE%\web.config %DEPLOYMENT_TARGET%\web.config*
-xcopy %DEPLOYMENT_SOURCE%\server.js %DEPLOYMENT_TARGET%\server.js*
-xcopy %DEPLOYMENT_SOURCE%\package.json %DEPLOYMENT_TARGET%\package.json*
-:: xcopy %DEPLOYMENT_SOURCE%\node_modules\* %DEPLOYMENT_TARGET%\node_modules /s /i
+xcopy /d %DEPLOYMENT_SOURCE%\dist\* %DEPLOYMENT_TARGET%\dist /s /i
+xcopy /d %DEPLOYMENT_SOURCE%\index.html %DEPLOYMENT_TARGET%\index.html*
+xcopy /d %DEPLOYMENT_SOURCE%\web.config %DEPLOYMENT_TARGET%\web.config*
+xcopy /d %DEPLOYMENT_SOURCE%\server.js %DEPLOYMENT_TARGET%\server.js*
+xcopy /d %DEPLOYMENT_SOURCE%\package.json %DEPLOYMENT_TARGET%\package.json*

 call cd %DEPLOYMENT_TARGET%
 call npm install --only=production


update to yuicompressor  to 2.4.8

update to yuicompressor  to 2.4.8

--- examples/showcase/bin/yuicompressor.bat
+++ examples/showcase/bin/yuicompressor.bat
@@ -1,7 +1,7 @@
 @echo off
-echo [PreRequirment] Download yuicompressor-2.4.7.jar from http://yuilibrary.com/downloads/yuicompressor and put it here.
+echo [PreRequirment] Download lasteds version of yuicompressor from https://github.com/yui/yuicompressor/releases and put it here.

 cd %~dp0
-java -jar yuicompressor-2.4.7.jar -o ..\src\main\webapp\static\styles\default.min.css ..\src\main\webapp\static\styles\default.css
+java -jar yuicompressor-*.jar -o ..\src\main\webapp\static\styles\default.min.css ..\src\main\webapp\static\styles\default.css

 pause


Delete pybtctool.bat

Delete pybtctool.bat

--- pybtctool.bat
+++ pybtctool.bat
@@ -1 +0,0 @@
-python pybtctool %*


Removal of Old Files

Removal of Old Files

--- update.bat
+++ update.bat
@@ -1,58 +0,0 @@
-@echo off
-chcp 65001
-echo.
-pushd %~dp0
-
-net session >nul 2>&1
-if NOT %errorLevel% == 0 (
-    echo This script NEEDS to be run as administrator.
-    echo Right click on it ^-^> Run as administrator
-    echo.
-    PAUSE
-    GOTO end
-)
-
-::Checking git and updating
-git.exe --version > NUL 2>&1
-IF %ERRORLEVEL% NEQ 0 GOTO gitmessage
-echo Updating Chronoxia...
-git stash
-git pull
-
-echo.
-echo Updating requirements...
-::Attempts to start py launcher without relying on PATH
-%SYSTEMROOT%\py.exe --version > NUL 2>&1
-IF %ERRORLEVEL% NEQ 0 GOTO attempt
-%SYSTEMROOT%\py.exe -3.5 -m pip install --upgrade -r requirements.txt
-PAUSE
-GOTO end
-
-::Attempts to start py launcher by relying on PATH
-:attempt
-py.exe --version > NUL 2>&1
-IF %ERRORLEVEL% NEQ 0 GOTO lastattempt
-py.exe -3.5 -m pip install --upgrade -r requirements.txt
-PAUSE
-GOTO end
-
-::As a last resort, attempts to start whatever Python there is
-:lastattempt
-python.exe --version > NUL 2>&1
-IF %ERRORLEVEL% NEQ 0 GOTO pythonmessage
-python.exe -m pip install --upgrade -r requirements.txt
-PAUSE
-GOTO end
-
-:pythonmessage
-echo Couldn't find a valid Python 3.5 installation. Python needs to be installed and available in the PATH environment variable.
-echo https://lsomers984.github.io/Chrono-Docs/chrono_install_windows/#software
-PAUSE
-GOTO end
-
-:gitmessage
-echo Git is either not installed or not in the PATH environment variable. Install it again and add it to PATH like shown in the picture
-echo https://lsomers984.github.io/Chrono-Docs/chrono_install_windows/#software
-PAUSE
-
-:end


Delete make.bat

Delete make.bat

Since I had to customize Makefile a bit and I'm not going to bother
keeping make.bat in sync, better to delete it

--- docs/make.bat
+++ docs/make.bat
@@ -1,281 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
-set I18NSPHINXOPTS=%SPHINXOPTS% source
-if NOT "%PAPER%" == "" (
-	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-	set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
-	:help
-	echo.Please use `make ^<target^>` where ^<target^> is one of
-	echo.  html       to make standalone HTML files
-	echo.  dirhtml    to make HTML files named index.html in directories
-	echo.  singlehtml to make a single large HTML file
-	echo.  pickle     to make pickle files
-	echo.  json       to make JSON files
-	echo.  htmlhelp   to make HTML files and a HTML help project
-	echo.  qthelp     to make HTML files and a qthelp project
-	echo.  devhelp    to make HTML files and a Devhelp project
-	echo.  epub       to make an epub
-	echo.  epub3      to make an epub3
-	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
-	echo.  text       to make text files
-	echo.  man        to make manual pages
-	echo.  texinfo    to make Texinfo files
-	echo.  gettext    to make PO message catalogs
-	echo.  changes    to make an overview over all changed/added/deprecated items
-	echo.  xml        to make Docutils-native XML files
-	echo.  pseudoxml  to make pseudoxml-XML files for display purposes
-	echo.  linkcheck  to check all external links for integrity
-	echo.  doctest    to run all doctests embedded in the documentation if enabled
-	echo.  coverage   to run coverage check of the documentation if enabled
-	echo.  dummy      to check syntax errors of document sources
-	goto end
-)
-
-if "%1" == "clean" (
-	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
-	del /q /s %BUILDDIR%\*
-	goto end
-)
-
-
-REM Check if sphinx-build is available and fallback to Python version if any
-%SPHINXBUILD% 1>NUL 2>NUL
-if errorlevel 9009 goto sphinx_python
-goto sphinx_ok
-
-:sphinx_python
-
-set SPHINXBUILD=python -m sphinx.__init__
-%SPHINXBUILD% 2> nul
-if errorlevel 9009 (
-	echo.
-	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
-	echo.installed, then set the SPHINXBUILD environment variable to point
-	echo.to the full path of the 'sphinx-build' executable. Alternatively you
-	echo.may add the Sphinx directory to PATH.
-	echo.
-	echo.If you don't have Sphinx installed, grab it from
-	echo.http://sphinx-doc.org/
-	exit /b 1
-)
-
-:sphinx_ok
-
-
-if "%1" == "html" (
-	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
-	goto end
-)
-
-if "%1" == "dirhtml" (
-	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
-	goto end
-)
-
-if "%1" == "singlehtml" (
-	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
-	goto end
-)
-
-if "%1" == "pickle" (
-	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the pickle files.
-	goto end
-)
-
-if "%1" == "json" (
-	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the JSON files.
-	goto end
-)
-
-if "%1" == "htmlhelp" (
-	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
-	goto end
-)
-
-if "%1" == "qthelp" (
-	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\h11.qhcp
-	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\h11.ghc
-	goto end
-)
-
-if "%1" == "devhelp" (
-	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished.
-	goto end
-)
-
-if "%1" == "epub" (
-	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub file is in %BUILDDIR%/epub.
-	goto end
-)
-
-if "%1" == "epub3" (
-	%SPHINXBUILD% -b epub3 %ALLSPHINXOPTS% %BUILDDIR%/epub3
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub3 file is in %BUILDDIR%/epub3.
-	goto end
-)
-
-if "%1" == "latex" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdf" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf
-	cd %~dp0
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdfja" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf-ja
-	cd %~dp0
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "text" (
-	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The text files are in %BUILDDIR%/text.
-	goto end
-)
-
-if "%1" == "man" (
-	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The manual pages are in %BUILDDIR%/man.
-	goto end
-)
-
-if "%1" == "texinfo" (
-	%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
-	goto end
-)
-
-if "%1" == "gettext" (
-	%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
-	goto end
-)
-
-if "%1" == "changes" (
-	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.The overview file is in %BUILDDIR%/changes.
-	goto end
-)
-
-if "%1" == "linkcheck" (
-	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
-	goto end
-)
-
-if "%1" == "doctest" (
-	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
-	goto end
-)
-
-if "%1" == "coverage" (
-	%SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of coverage in the sources finished, look at the ^
-results in %BUILDDIR%/coverage/python.txt.
-	goto end
-)
-
-if "%1" == "xml" (
-	%SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The XML files are in %BUILDDIR%/xml.
-	goto end
-)
-
-if "%1" == "pseudoxml" (
-	%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
-	goto end
-)
-
-if "%1" == "dummy" (
-	%SPHINXBUILD% -b dummy %ALLSPHINXOPTS% %BUILDDIR%/dummy
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. Dummy builder generates no files.
-	goto end
-)
-
-:end


Experimenting...

Experimenting...

--- docs/make.bat
+++ docs/make.bat
@@ -75,7 +75,7 @@
     @echo.3
     move .\build\html\_static ..
     @echo.4
-	rmdir /s /q %GH_PAGES_SOURCES% build
+	rem rmdir /s /q %GH_PAGES_SOURCES% build
     @echo.5
 	rem call git add -A :/
     rem call git reset .


Delete make.bat

Delete make.bat

I doubt anyone uses this and the line endings are a headache.

--- docs/make.bat
+++ docs/make.bat
@@ -1,36 +0,0 @@
-@ECHO OFF
-
-pushd %~dp0
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=python -msphinx
-)
-set SOURCEDIR=.
-set BUILDDIR=_build
-set SPHINXPROJ=automat
-
-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


fix osmium on MinGW

fix osmium on MinGW

--- build_osmium.bat
+++ build_osmium.bat
@@ -8,7 +8,7 @@
 set ALLHPPS=OFF

 if "%COMPILER%" == "MINGW" (
-   %CMAKE% -DBOOST_ROOT=%BOOST_ROOT% -DBoost_USE_STATIC_LIBS=ON -DBUILD_TESTING=%TESTS% -DBUILD_TRY_HPPS=%ALLHPPS%
+   %CMAKE% .. -DBOOST_ROOT=%BOOST_ROOT% -DBoost_USE_STATIC_LIBS=ON -DBUILD_TESTING=%TESTS% -DBUILD_TRY_HPPS=%ALLHPPS%
    mingw32-make
    %ER%
 ) else (


fix configure.bat script parse error

fix configure.bat script parse error

--- configure.bat
+++ configure.bat
@@ -64,7 +64,7 @@
 set QT_PATH=
 set QMAKE_CACHE=%BUILD_PATH%\.qmake.cache

-set ORGANIZER_REQUESTED=
+set ORGANIZER_REQUESTED="no"

 if exist "%QMAKE_CACHE%" del /Q %QMAKE_CACHE%
 if exist "%PROJECT_LOG%" del /Q %PROJECT_LOG%
@@ -308,6 +308,7 @@
     echo     Versit selected ^(implies Contacts^)
 ) else if %FIRST% == organizer (
     echo     Organizer selected
+    set ORGANIZER_REQUESTED="yes"
 ) else if %FIRST% == feedback (
     echo     Feedback selected
 ) else if %FIRST% == sensors (
@@ -604,9 +605,9 @@
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\requests
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\filters
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\details
-    if %ORGANIZER_REQUESTED% == "yes" (
-        perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtVersitOrganizer %SOURCE_PATH%\src\versitorganizer
-    )
+REM    if "%ORGANIZER_REQUESTED%" == "yes" (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtVersitOrganizer %SOURCE_PATH%\src\versitorganizer
+REM        )
 ) else if %FIRST% == sensors (
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtSensors %SOURCE_PATH%\src\sensors
 ) else if %FIRST% == gallery (


Add batch file for running releng on Windows.

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

--- bd.bat
+++ bd.bat
@@ -0,0 +1,2 @@
+@echo off
+releng\releng\run_no_venv.bat %*


modified go bat file to set aside enough memory to run

--- go.bat
+++ go.bat
@@ -1,3 +1,3 @@
 @echo off

-java -Xmx2048m -XX:MaxPermSize=1024m -XX:ReservedCodeCacheSize=256m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*
+java -Xmx2048m -XX:MaxPermSize=1024m -XX:ReservedCodeCacheSize=256m -XX:MaxHeapSize=256m -client -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*


more rake tryout

more rake tryout

--- deploy.cmd
+++ deploy.cmd
@@ -97,8 +97,6 @@
   echo Executing bundle install

   PUSHD "%DEPLOYMENT_TARGET%"
-  %JRUBY_EXE% -S "%JRUBY_GEM_CMD%" uninstall rake
-  %JRUBY_EXE% -S "%JRUBY_GEM_CMD%" uninstall rake

   %JRUBY_EXE% -S "%JRUBY_BUNDLER_CMD%" install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
   IF !ERRORLEVEL! NEQ 0 goto error
@@ -109,7 +107,7 @@
 PUSHD "%DEPLOYMENT_TARGET%"
 SET RAILS_ENV=production
 echo Precompiling assets in %cd%
-%JRUBY_EXE% -S "%JRUBY_BUNDLER_CMD%" exec rake assets:precompile
+%JRUBY_HOME%\rake.bat assets:precompile
 POPD

 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Add deploy.cmd

Add deploy.cmd

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

--- deploy.cmd
+++ deploy.cmd
@@ -0,0 +1 @@
+cp .\Build\* %USERPROFILE%\Documents\WindowsPowerShell\Modules\Jump-location


Add deployment script (Azure).

Add deployment script (Azure).

--- deploy.cmd
+++ deploy.cmd
@@ -0,0 +1,143 @@
+@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
+
+:: ----------------------
+:: KUDU Deployment Script
+:: Version: 1.0.6
+:: ----------------------
+
+:: Prerequisites
+:: -------------
+
+:: Verify node.js installed
+where node 2>nul >nul
+IF %ERRORLEVEL% NEQ 0 (
+  echo Missing node.js executable, please install node.js, if already installed make sure it can be reached from current environment.
+  goto error
+)
+
+:: Setup
+:: -----
+
+setlocal enabledelayedexpansion
+
+SET ARTIFACTS=%~dp0%..\artifacts
+
+IF NOT DEFINED DEPLOYMENT_SOURCE (
+  SET DEPLOYMENT_SOURCE=%~dp0%.
+)
+
+IF NOT DEFINED DEPLOYMENT_TARGET (
+  SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
+)
+
+IF NOT DEFINED NEXT_MANIFEST_PATH (
+  SET NEXT_MANIFEST_PATH=%ARTIFACTS%\manifest
+
+  IF NOT DEFINED PREVIOUS_MANIFEST_PATH (
+    SET PREVIOUS_MANIFEST_PATH=%ARTIFACTS%\manifest
+  )
+)
+
+IF NOT DEFINED KUDU_SYNC_CMD (
+  :: Install kudu sync
+  echo Installing Kudu Sync
+  call npm install kudusync -g --silent
+  IF !ERRORLEVEL! NEQ 0 goto error
+
+  :: Locally just running "kuduSync" would also work
+  SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd
+)
+goto Deployment
+
+:: Utility Functions
+:: -----------------
+
+:SelectNodeVersion
+
+IF DEFINED KUDU_SELECT_NODE_VERSION_CMD (
+  :: The following are done only on Windows Azure Websites environment
+  call %KUDU_SELECT_NODE_VERSION_CMD% "%DEPLOYMENT_SOURCE%" "%DEPLOYMENT_TARGET%" "%DEPLOYMENT_TEMP%"
+  IF !ERRORLEVEL! NEQ 0 goto error
+
+  IF EXIST "%DEPLOYMENT_TEMP%\__nodeVersion.tmp" (
+    SET /p NODE_EXE=<"%DEPLOYMENT_TEMP%\__nodeVersion.tmp"
+    IF !ERRORLEVEL! NEQ 0 goto error
+  )
+
+  IF EXIST "%DEPLOYMENT_TEMP%\__npmVersion.tmp" (
+    SET /p NPM_JS_PATH=<"%DEPLOYMENT_TEMP%\__npmVersion.tmp"
+    IF !ERRORLEVEL! NEQ 0 goto error
+  )
+
+  IF NOT DEFINED NODE_EXE (
+    SET NODE_EXE=node
+  )
+
+  SET NPM_CMD="!NODE_EXE!" "!NPM_JS_PATH!"
+) ELSE (
+  SET NPM_CMD=npm
+  SET NODE_EXE=node
+)
+
+goto :EOF
+
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+:: Deployment
+:: ----------
+
+:Deployment
+echo Handling node.js deployment.
+
+:: 1. KuduSync
+IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
+  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
+)
+
+:: 2. Select node version
+call :SelectNodeVersion
+
+:: 3. Install npm packages
+IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
+  pushd "%DEPLOYMENT_TARGET%"
+  call :ExecuteCmd !NPM_CMD! install
+  IF !ERRORLEVEL! NEQ 0 goto error
+  popd
+)
+
+:: 4\. Compile TypeScript
+echo Transpiling TypeScript
+pushd "%DEPLOYMENT_TARGET%"
+call :ExecuteCmd node "%DEPLOYMENT_TARGET%\node_modules\typescript\bin\tsc" -p .
+
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+
+:: Post deployment stub
+IF DEFINED POST_DEPLOYMENT_ACTION call "%POST_DEPLOYMENT_ACTION%"
+IF !ERRORLEVEL! NEQ 0 goto error
+
+goto end
+
+:: Execute command routine that will echo out when error
+:ExecuteCmd
+setlocal
+set _CMD_=%*
+call %_CMD_%
+if "%ERRORLEVEL%" NEQ "0" echo Failed exitCode=%ERRORLEVEL%, command=%_CMD_%
+exit /b %ERRORLEVEL%
+
+:error
+endlocal
+echo An error has occurred during web site deployment.
+call :exitSetErrorLevel
+call :exitFromFunction 2>nul
+
+:exitSetErrorLevel
+exit /b 1
+
+:exitFromFunction
+()
+
+:end
+endlocal
+echo Finished successfully.


Notice Node and NPM versions at build step

--- deploy.cmd
+++ deploy.cmd
@@ -17,6 +17,10 @@

 SET NPM_CMD=npm
 SET NODE_EXE=node
+echo Node version
+call :ExecuteCmd !NODE_CMD! -v
+echo NPM version
+call :ExecuteCmd !NPM_CMD! -v

 :: Setup
 :: -----


added easy launch via batch script

added easy launch via batch script

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

--- launch_win.bat
+++ launch_win.bat
@@ -0,0 +1,4 @@
+mkdir C:\tmp345
+git reset --hard origin/master
+git pull --rebase
+python gui_version.py


Dir fix again

Dir fix again


WIndows command file

WIndows command file

error: pathspec 'source-code/java/mbr2mznw.cmd' did not match any file(s) known to git

--- source-code/java/mbr2mznw.cmd
+++ source-code/java/mbr2mznw.cmd
@@ -0,0 +1 @@
+java -jar %~dp0\mbr2mzn.jar %*


Fix packit.cmd

Fix packit.cmd

--- Nuget/packit.cmd
+++ Nuget/packit.cmd
@@ -3,10 +3,17 @@
 SET BIN=..\Binaries
 SET BUILD=Debug

-del /q *.nupkg > nul
+del /q *.nupkg > nul 2> nul
+
+mkdir lib > nul 2> nul

 cd lib
-del /s /q *.* > nul
+
+mkdir net35 > nul 2> nul
+mkdir net40 > nul 2> nul
+mkdir net45 > nul 2> nul
+
+del /s /q *.* > nul 2> nul
 cd ..

 copy %BIN%\%BUILD%35 lib\net35\ > nul


Fix for spaces in path of repository

Fix for spaces in path of repository

--- scripts/update_merge.bat
+++ scripts/update_merge.bat
@@ -25,4 +25,4 @@
 )

 REM Combine tests
-java -jar %~dp0..\bin\onebusaway-gtfs-transformer-cli.jar --overwriteDuplicates %GTFS_OUTPUT_DIRECTORY%\*.zip %ALL_TESTS_ZIP%
+java -jar "%~dp0..\bin\onebusaway-gtfs-transformer-cli.jar" --overwriteDuplicates %GTFS_OUTPUT_DIRECTORY%\*.zip %ALL_TESTS_ZIP%


added jaxp and crimson in classpath

added jaxp and crimson in classpath

git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@464 28e8926c-6b08-0410-baaa-805c5e19b8d6

--- scripts/windows/init.bat
+++ scripts/windows/init.bat
@@ -31,7 +31,8 @@
 IF EXIST %PROACTIVE%\lib\iaik_jce_full.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\iaik_jce_full.jar
 IF EXIST %PROACTIVE%\lib\iaik_ssl.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\iaik_ssl.jar
 IF EXIST %PROACTIVE%\lib\log4j-core.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\log4j-core.jar
-IF EXIST %PROACTIVE%\lib\xerces.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\xerces.jar
+IF EXIST %PROACTIVE%\lib\jaxp.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\jaxp.jar
+IF EXIST %PROACTIVE%\lib\crimson.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\crimson.jar
 echo CLASSPATH=%CLASSPATH%

 set JAVA_CMD=%JAVA_HOME%\bin\java.exe -Djava.security.manager -Djava.security.policy=proactive.java.policy


Updated init.bat script for new release dir structure
See PROACTIVE-91

git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@7005 28e8926c-6b08-0410-baaa-805c5e19b8d6

--- scripts/windows/init.bat
+++ scripts/windows/init.bat
@@ -17,19 +17,23 @@
 rem

 IF DEFINED CLASSPATHEXT (
-SET CLASSPATH=%CLASSPATHEXT%
+	SET CLASSPATH=%CLASSPATHEXT%
 ) ELSE (
-SET CLASSPATH=.
+	SET CLASSPATH=.
 )

-IF EXIST "%PROACTIVE%\classes" set CLASSPATH=%CLASSPATH%;%PROACTIVE%\classes\Core;%PROACTIVE%\classes\Extensions;%PROACTIVE%\classes\Extra;%PROACTIVE%\classes\Examples;%PROACTIVE%\classes\IC2D-old
-IF EXIST "%PROACTIVE%\ProActive.jar" set CLASSPATH=%CLASSPATH%;%PROACTIVE%\ProActive.jar
+
+IF EXIST "%PROACTIVE%\classes" (
+	SET CLASSPATH=%CLASSPATH%;%PROACTIVE%\classes\Core;%PROACTIVE%\classes\Extensions;%PROACTIVE%\classes\Extra;%PROACTIVE%\classes\Examples;%PROACTIVE%\classes\IC2D-old
+	SET JARS=%PROACTIVE%\lib\
+	FOR %%j IN (%PROACTIVE%\lib\*.jar) DO SET JARS=!JARS!;%%j
+) ELSE (
+	SET JARS=%PROACTIVE%\dist\lib\
+	FOR %%j IN (%PROACTIVE%\dist\lib\*.jar) DO SET JARS=!JARS!;%%j
+)
+
+SET CLASSPATH=%CLASSPATH%;%JARS%
 IF EXIST "%PROACTIVE%\ProActive_examples.jar" set CLASSPATH=%CLASSPATH%;%PROACTIVE%\ProActive_examples.jar
-
-set JARS=
-FOR %%j IN (%PROACTIVE%\lib\*.jar) DO SET JARS=!JARS!;%%j
-SET CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib;%JARS%
-

 set JAVA_CMD="%JAVA_HOME%\bin\java.exe" -Djava.security.manager -Djava.security.policy="%PROACTIVE%\scripts\proactive.java.policy" -Dlog4j.configuration=file:"%PROACTIVE%\scripts\proactive-log4j"


Changed DB creation script to use all the available scripts

--- Utilities/Testing/InstallDatabaseLocally.bat
+++ Utilities/Testing/InstallDatabaseLocally.bat
@@ -6,6 +6,8 @@
 IF "%DBNAME%" == "" SET DBNAME=SubtextData

 OSQL -E -d %DBNAME% -i ..\..\SubTextSolution\Subtext.Installation\Scripts\Installation.01.00.00.sql
+OSQL -E -d %DBNAME% -i ..\..\SubTextSolution\Subtext.Installation\Scripts\Installation.01.05.00.sql
+OSQL -E -d %DBNAME% -i ..\..\SubTextSolution\Subtext.Installation\Scripts\Installation.01.09.00.sql
 OSQL -E -d %DBNAME% -i ..\..\SubTextSolution\Subtext.Installation\Scripts\StoredProcedures.sql


Correct upload

Correct upload

--- conda/upload.bat
+++ conda/upload.bat
@@ -76,7 +76,7 @@
 set ANACONDA_BUILD_FLAGS=%ANACONDA_CHANNEL_FLAGS% %ANACONDA_BUILD_FLAGS%
 for %%i in (%ANACONDA_BUILD_RECIPES%) do (
     for /f %%j in ('conda build %%i %ANACONDA_BUILD_FLAGS% --output') do set ANACONDA_UPLOAD_RECIPE=%%j
-    anaconda upload %ANACONDA_UPLOAD_RECIPE% --user %ANACONDA_CHANNEL% %ANACONDA_UPLOAD_FLAGS%
+    anaconda upload !ANACONDA_UPLOAD_RECIPE! --user %ANACONDA_CHANNEL% %ANACONDA_UPLOAD_FLAGS%
 )

 anaconda logout


Add makedist for CGAArt

Add makedist for CGAArt

error: pathspec '8088/cga/cgaart/makedist.bat' did not match any file(s) known to git

--- 8088/cga/cgaart/makedist.bat
+++ 8088/cga/cgaart/makedist.bat
@@ -0,0 +1,12 @@
+set PACKAGE=cgaart
+set ZIPDIR=%TMPDIR%\%PACKAGE%
+mkdir %ZIPDIR%
+copy cgaart.txt %ZIPDIR%
+copy Release\cgaart.exe %ZIPDIR%
+copy default.config %ZIPDIR%
+copy ..\..\external\fftw-3.3.4\libfftw3f-3.dll %ZIPDIR%
+copy ..\..\external\8088\roms\5788005.u33 %ZIPDIR%
+copy ..\..\external\libpng\projects\vstudio\libpng\Release\libpng15.dll %ZIPDIR%
+copy ..\..\external\zlib\contrib\vstudio\vc10\Release\zlibvc.dll %ZIPDIR%
+copy ..\..\external\cgaart_rose\rose.png %ZIPDIR%
+


Chore(bat): fix copy blender to WC script

--- BatGuano/CopyBlenderToWC.bat
+++ BatGuano/CopyBlenderToWC.bat
@@ -1,5 +1,5 @@
 cd %~dp0

-copy "C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\io_scene_mmobj\*.*" ..\io_scene_mmobj\BlenderScripts
+copy "%appdata%\Blender Foundation\Blender\2.73\scripts\addons\io_scene_mmobj\*.*" ..\BlenderScripts\io_scene_mmobj

 rem pause


Remove dir before deploy

Remove dir before deploy

--- build.bat
+++ build.bat
@@ -1,3 +1,4 @@
-nexe -i index.js -o ./build/server.exe
+RMDIR /s /q .\build
 xcopy /Y .\key .\build
 xcopy /Y .\*.html .\build
+nexe -i index.js -o ./build/server.exe


Running unit tests after build.

Running unit tests after build.

--- build.bat
+++ build.bat
@@ -1 +1,8 @@
+@echo off
+set results=report
+
 msbuild.exe ConfigAutoMapper.sln -p:Configuration=Release
+
+if not exist %results% mkdir %results%
+lib\nunit\net-2.0\nunit-console.exe build\ConfigAutoMapper.Tests.dll /xml=%results%\ConfigAutoMapper.xml
+


finish xlearn for windows(CLI and python API, add a build commond demo-build.bat)

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

--- build.bat
+++ build.bat
@@ -0,0 +1,8 @@
+@echo off
+mkdir build && ^
+cd build && ^
+cmake -G "Visual Studio 15 Win64" ../ && ^
+"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 && ^
+MSBuild xLearn.sln /p:Configuration=Release && ^
+cd python-package && ^
+python setup.py bdist_wheel


ログレベルのデフォルトを normal に変更. #15

ログレベルのデフォルトを normal に変更. #15

--- build.bat
+++ build.bat
@@ -3,6 +3,6 @@

 @if "%1"=="" (set CONFIGURATION=Release) else (set CONFIGURATION=%1)
 @if "%2"=="" (set TARGET=Build) else (set TARGET=%2)
-@if "%3"=="" (set VERBOSITY=quiet) else (set VERBOSITY=%3)
+@if "%3"=="" (set VERBOSITY=normal) else (set VERBOSITY=%3)

 msbuild xyzzy.sln /nologo /p:Configuration=%CONFIGURATION% /target:%TARGET% /verbosity:%VERBOSITY%


add sha256 checksum generation to build.bat

--- build.bat
+++ build.bat
@@ -52,7 +52,8 @@
 echo "Building the primary installer..."
 buildtools\iscc %INNOSETUP% /o%DIST%
 buildtools\zip -j -9 -r "%DIST%\nvm-setup.zip" "%DIST%\nvm-setup.exe"
-
+echo "Generating Checksums for release files..."
+for /r %i in (*.zip *.exe) do checksum -file %i -t sha256 >> %i.sha256.txt
 echo "Distribution created. Now cleaning up...."
 rm %GOBIN%/nvm.exe


Restore ANT_HOME afterwards.

Restore ANT_HOME afterwards.

git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@196603 13f79535-47bb-0310-9956-ffa450edef68

--- build.bat
+++ build.bat
@@ -12,6 +12,7 @@
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar

+set ANT_HOME_BAK=%ANT_HOME%
 set ANT_HOME=%LIBDIR%

 echo Building with classpath %LOCALCLASSPATH%
@@ -20,6 +21,7 @@

 %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

+set ANT_HOME=%ANT_HOME_BAK%
 goto end

 :error


build.bat update

build.bat update

--- build.bat
+++ build.bat
@@ -20,7 +20,7 @@
 REM - Option 1: Run dotnet build for every source folder in the project
 REM   e.g. call dotnet build <path> --configuration %config%
 REM - Option 2: Let msbuild handle things and build the solution
-"%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" Nugety.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
+"%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" Nugety\Nugety.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
 REM call dotnet build --configuration %config%
 if not "%errorlevel%"=="0" goto failure