shit is so fast I can't even read

shit is so fast I can't even read

--- prefsCleaner.bat
+++ prefsCleaner.bat
@@ -32,7 +32,6 @@
 COPY /B /V /Y prefs.js "prefs-backup-%date:/=-%_%_time::=.%.js"
 CALL :message "Cleaning prefs.js..."
 CALL :cleanup
-CLS
 CALL :message "All done!"
 TIMEOUT 5 >nul
 ENDLOCAL


Copy libpng and zlib for opencv

Copy libpng and zlib for opencv

For some reason there is a bug in the build script that improperly sets
the paths so that the tests can pass when they actually fail at runtime.

--- opencv/bld.bat
+++ opencv/bld.bat
@@ -61,4 +61,9 @@

 rem By default cv.py is installed directly in site-packages
 rem Therefore, we have to copy all of the dlls directly into it!
-xcopy "%LIBRARY_LIB%\opencv*.dll" "%SP_DIR%"+xcopy "%LIBRARY_LIB%\opencv*.dll" "%SP_DIR%"
+
+rem We have to copy libpng.dll and zlib.dll for runtime
+rem dependencies, similar to copying opencv above.
+xcopy "%LIBRARY_BIN%\libpng15.dll" "%SP_DIR%"
+xcopy "%LIBRARY_BIN%\zlib.dll" "%SP_DIR%"


Fixed help for video script.

Fixed help for video script.

--- gear360video.cmd
+++ gear360video.cmd
@@ -95,16 +95,16 @@
   echo "Raw meaning two fisheye images side by side."
   echo -e "Script originally writen for Samsung Gear 360.\n"
   echo -e "Usage:\n$0 infile [outfile]\n"
-  echo "Where infile is a panoramic video file,"
-  echo "output parameter is optional."
-  echo "Video file will be written to a file with appended _pano,"
-  echo -e "example: dummy.mp4 -> dummy_pano.JPG\n"
-  echo "-o|--output  DIR will set the output directory of panoramas"
-  echo "             default: html/data"
-  echo "-s|--speed   optimise for speed (lower quality)"
-  echo "-t|--temp    DIR set temporary directory (default: system's"
-  echo "             temporary directory)"
-  echo "-h|--help    prints help"
+  echo "Where infile is a panoramic video file, output"
+  echo "parameter is optional. Video file will be written"
+  echo "to a file with appended _pano, ex.: dummy.mp4 will"
+  echo -e "be stitched to dummy_pano.mp4.\n"
+  echo "-o|--output DIR will set the output directory of panoramas"
+  echo "                default: html/data"
+  echo "-s|--speed      optimise for speed (lower quality)"
+  echo "-t|--temp DIR   set temporary directory (default: system's"
+  echo "                temporary directory)"
+  echo "-h|--help       prints help"
 }

 check_preconditions() {
@@ -127,7 +127,6 @@
 if [ -z "$1" ]; then
   print_help
   run_command notify-send -a $0 "Please provide an input file."
-  sleep 1
   exit 1
 fi


move PATH setup to /etc

move PATH setup to /etc

--- bin/_batrc.bat
+++ bin/_batrc.bat
@@ -4,14 +4,12 @@
 @set LOCAL=%CD%
 @popd

-@rem ϐ̒ǉ
-@set PATH=%PATH%;%LOCAL%\bin
-@set PATH=%PATH%;%LOCAL%\bin-scripts
-@set PATH=%PATH%;%LOCAL%\bin-UNIX
-@set PATH=%PATH%;%LOCAL%\tools
-@rem set PATH=%PATH%;%LOCAL%\lnk
-@set PATHEXT=%PATHEXT%;.URL
-@set EDITOR=sakura
+@rem [Uʐݒ
+@set USERCONF=%LOCAL%\etc\%USERNAME%\user.init.bat
+@if exist "%USERCONF%" Call "%USERCONF%"
+
+@rem ƃtH_̐ݒ
+@if "%WORK%" == "" set WORK=%HOME%

 @if "%~1" == "--terminal" (
 	rem [ݒ
@@ -19,5 +17,6 @@
 	title BAT-Term
 	prompt [$S$P$S]$_$$$S
 	if exist "%LOCAL%\etc\%USERNAME%\batrc.bat" call "%LOCAL%\etc\%USERNAME%\batrc.bat"
-	cd /d "%HOME%"
+	call alias --load
+	cd /d "%WORK%"
 )


Adding a batch script to run all tests from the 'tests' folder.

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

--- test/runtests.cmd
+++ test/runtests.cmd
@@ -0,0 +1,9 @@
+for %%1 in (
+    Microsoft.Framework.CodeGeneration.Core.FunctionalTest
+    Microsoft.Framework.CodeGeneration.Core.Test
+    Microsoft.Framework.CodeGeneration.Templating.Test
+    ) do (
+        cd %%1
+        k test
+        cd ..
+    )


Don't use powershell for install

Don't use powershell for install

--- packer/vagrant/scripts/windows/git.bat
+++ packer/vagrant/scripts/windows/git.bat
@@ -2,4 +2,4 @@
 powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/git-for-windows/git/releases/download/v2.13.0.windows.1/Git-2.13.0-64-bit.exe', 'C:\Windows\Temp\git.exe')" <NUL
 )

-powershell -Command "Start-Process 'C:\Windows\Temp\git.exe' '/silent' -Wait"
+start /wait C:\Windows\Temp\git.exe /silent


#204 fixed path handling in windows

#204 fixed path handling in windows

--- perfcake/src/main/scripts/perfcake.bat
+++ perfcake/src/main/scripts/perfcake.bat
@@ -136,7 +136,9 @@
 goto error

 :execPerfCake
-%PERFCAKE_JAVA_EXE% -Dlog4j.configurationFile="%PERFCAKE_HOME%\log4j2.xml" -Djava.ext.dirs="%JAVA_HOME%\lib\ext;%JAVA_HOME%\jre\lib\ext;%PERFCAKE_HOME%\lib\ext" -jar "%PERFCAKE_JAR%" %PERFCAKE_CMD_LINE_ARGS%
+cd "%PERFCAKE_HOME%"
+
+%PERFCAKE_JAVA_EXE% -Dlog4j.configurationFile="file:///%PERFCAKE_HOME%\log4j2.xml" -Djava.ext.dirs="%JAVA_HOME%\lib\ext;%JAVA_HOME%\jre\lib\ext;%PERFCAKE_HOME%\lib\ext" -jar "%PERFCAKE_JAR%" %PERFCAKE_CMD_LINE_ARGS%
 if ERRORLEVEL 1 goto error
 goto end


just print the errorlevel within go.bat before exiting

--- build-tools/go.bat
+++ build-tools/go.bat
@@ -4,5 +4,7 @@
 ) ELSE (
   nant\nant-0.92\bin\NAnt.exe -buildfile:windows.build %1 -D:project.build.type=%2
 )
+echo 'errorlevel is ' %errorlevel%
 date /t && time /t
+
 if %errorlevel% neq 0 exit /b %errorlevel%


Treat the preface as a cover

Treat the preface as a cover

--- build/Generate.bat
+++ build/Generate.bat
@@ -38,7 +38,7 @@

 :: Generate a book with the pdf format
 Set PDF_Format=--margin-top 15 --header-spacing 5 --header-left [section] --header-right [subsection] --header-line --margin-bottom 15 --margin-left 25 --footer-spacing 5 --footer-left "Dujing Academy" --footer-right [page]/[topage] --footer-line --footer-font-size 5
-Call wkhtmltopdf.exe %PDF_Format% cover %BookCoverHTML% %Preface%%HTMLExt% %HTMLOutput% %Output%.pdf
+Call wkhtmltopdf.exe %PDF_Format% cover %BookCoverHTML% cover %Preface%%HTMLExt% %HTMLOutput% %Output%.pdf

 :: Generate a book with the mobi format (for the Kindle device)
 If "%4" == "Name" (


symstore

symstore

--- projects/main.bat
+++ projects/main.bat
@@ -23,6 +23,14 @@
 function archive()
 {
 	app.ShellExecute("archive.bat")
+}
+
+function symstore()
+{
+	app.ShellExecute("C:/Program Files (x86)/Windows Kits/10/Debuggers/x64/symstore.exe", "add /s \"../../lumixengine_pdb/\" /compress /r /f ../../lumixengine_data/bin/*.pdb /t LumixEngine", "../../lumixengine_data/bin/")
+	setTimeout(function() {
+		app.ShellExecute("C:/Program Files (x86)/Windows Kits/10/Debuggers/x64/symstore.exe", "add /s \"../../lumixengine_pdb/\" /compress /r /f ../../lumixengine_data/bin/*.exe /t LumixEngine", "../../lumixengine_data/bin/")
+	}, 2000)
 }

 function publishToItchIO()
@@ -73,6 +81,7 @@
    <button style="width:200" onclick="archive();">Archive</button>
    <button style="width:200" onclick="publishToItchIO();">Publish to itch.io</button>
    <button style="width:200" onclick="openInVS();">Open in VS</button>
+   <button style="width:200" onclick="symstore();">Symstore</button>
    <button style="width:200" onclick="cleanAll();">Clean all</button>
 </BODY>
 </HTML>


nuget restore

nuget restore

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

--- nuget-restore.bat
+++ nuget-restore.bat
@@ -0,0 +1,15 @@
+@echo off
+rem initiate the retry number
+set retryNumber=0
+set maxRetries=3
+
+:RESTORE
+nuget restore Launcher/%*
+
+rem problem?
+IF NOT ERRORLEVEL 1 GOTO :EOF
+@echo Oops, nuget restore exited with code %ERRORLEVEL% - let us try again!
+set /a retryNumber=%retryNumber%+1
+IF %reTryNumber% LSS %maxRetries% (GOTO :RESTORE)
+@echo Sorry, we tried restoring nuget packages for %maxRetries% times and all attempts were unsuccessful!
+EXIT /B 1


Update CDBurnerXP.bat

Update CDBurnerXP.bat

--- repository/impressum/cdburnerxp/x64/CDBurnerXP.bat
+++ repository/impressum/cdburnerxp/x64/CDBurnerXP.bat
@@ -27,8 +27,7 @@
 set LOGFILE=

 :: Package to install. Do not use trailing slashes (\)
-set LOCATION=
-set BINARY=CDBurnerXP v4.5.7.6282 x64.exe
+set BINARY=CDBurnerXP v4.5.7.6321 x64.exe
 set FLAGS=/VERYSILENT /LOADINF=settings.cfg

 :: Create the log directory if it doesn't exist


add wait.bat

add wait.bat

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

--- bin/wait.bat
+++ bin/wait.bat
@@ -0,0 +1,15 @@
+@echo off
+setlocal
+
+if "%~1"=="" goto :USAGE
+
+:MAIN
+SET /a WAIT_TIME="%~1"
+ping localhost -n %WAIT_TIME% > nul
+goto :eof
+
+:USAGE
+echo UsageF
+echo    wait time
+echo     time(b)̊ԁA~܂
+goto :eof


AppVeyor msbuild.exe path updated

AppVeyor msbuild.exe path updated

--- build-appveyor.cmd
+++ build-appveyor.cmd
@@ -4,4 +4,4 @@
 ECHO APPVEYOR_BUILD_VERSION : %APPVEYOR_BUILD_VERSION%

 CALL src\.nuget\NuGet.exe restore src\Our.Umbraco.Vorto\packages.config -PackagesDirectory src\packages
-CALL "%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" build\package.proj+CALL "%programfiles(x86)%\MSBuild\14.0\Bin\amd64\MsBuild.exe" build\package.proj


make sure we install all the packages we need

--- build/buildPDF.cmd
+++ build/buildPDF.cmd
@@ -28,8 +28,10 @@

 :end
 popd
-REM Install the url package
+REM Install the packages we need
 mpm --install=url
+mpm --install=parskip
+mpm --install=etoolbox
 REM Build the pdf
 pdflatex.exe resume.tex -halt-on-error


Fix start script for windows

Fix start script for windows

--- scripts/start.bat
+++ scripts/start.bat
@@ -1,7 +1,7 @@
 @ECHO OFF
 echo "zPost Starting IPython notebook"

-..\zpost-py27\bin\activate
+call ..\zpost-py27\Scripts\activate

 REM PARAVIEW_HOME="/Applications/paraview.app"

@@ -9,5 +9,12 @@
 REM set DYLD_LIBRARY_PATH=/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources:%PARAVIEW_HOME%\Contents\Libraries
 REM set PYTHONPATH=%PARAVIEW_HOME%\Contents\Python:%PARAVIEW_HOME%\Contents\Libraries:`pwd`/../python

+set PARAVIEW_HOME=C:\PROGRA~2\ParaView 4.3.1
+set PYTHONPATH=%PARAVIEW_HOME%\lib\paraview-4.3\site-packages\;%PARAVIEW_HOME%\lib\paraview-4.3\site-packages\vtk;%CD%\..\python
+set PATH=%CD%\..\zpost-py27\Scripts;%PATH%;%PARAVIEW_HOME%\bin\;%PARAVIEW_HOME%\lib\site-packages\vtk\
+
+echo %PYTHONPATH%
+echo %PATH%
+
 cd ..\ipynb
 ipython notebook


MONDRIAN: Fix buildJdk16.bat; now 'ant jar' works on windows.

[git-p4: depot-paths = "//open/mondrian/": change = 10708]

--- buildJdk16.bat
+++ buildJdk16.bat
@@ -1,11 +1,16 @@
-# $Id$
-# Called recursively from 'ant release' to build the files which can only be
-# built under JDK 1.6.
+@echo off
+rem $Id$
+rem Called recursively from 'ant release' to build the files which can only be
+rem built under JDK 1.6.

-# Change the following line to point to your JDK 1.6 home.
+rem Change the following line to point to your JDK 1.6 home.
 set JAVA_HOME=C:\jdk1.6.0_01
+
+rem Change the following line to point to your ant home.
+set ANT_HOME=C:\open\thirdparty\ant
+
 set PATH=%JAVA_HOME%\bin;%PATH%
-ant compile.java
+%ANT_HOME%\bin\ant compile.java

-# End buildJdk16.bat
+rem End buildJdk16.bat


Script depended on CVS so no longer works.

--- scripts/ba.bat
+++ scripts/ba.bat
@@ -1,29 +0,0 @@
-rem ba.bat - download and build all of scintilla and scite
-rd /s/q scintilla scite
-cvs export -D NOW scintilla scite
-cd scintilla
-call delbin
-del/q bin\*.a
-call delcvs
-call zipsrc
-cd win32
-nmake -f scintilla.mak
-cd ..
-del/q bin\*.pdb
-cd ..
-cd scite
-del/q bin\*.properties
-del/q bin\SciTE
-call delbin
-call delcvs
-call zipsrc
-cd win32
-nmake -f scite.mak
-cd ..
-call upxsc1
-call zipwscite
-call delbin
-cd ..
-cd scintilla
-call delbin
-cd ..


Modify to build assimp

Modify to build assimp


Modified console .bat file so that the commands are not echoed.

--- jdcp-console.bat
+++ jdcp-console.bat
@@ -1 +1,2 @@
+@echo off
 java -Djava.library.path=lib -Djava.security.manager -Djava.security.auth.login.config=etc/login.config -Djava.security.policy=etc/policy -Dlog4j.configuration=file:./etc/log4j.properties -jar jdcp-console.jar


add plugin-only build scripts

add plugin-only build scripts

--- Build/build_win_plugin.cmd
+++ Build/build_win_plugin.cmd
@@ -5,13 +5,11 @@
 git submodule update > NUL

 echo "Bootstrap Tools"
-msbuild /clp:ErrorsOnly;ShowTimestamp /t:rebuild /p:Configuration=Release /p:Platform="x64" /m /nologo "./Submodules/JUCE/extras/Projucer/Builds/VisualStudio2015/Projucer.sln"
+msbuild /clp:ErrorsOnly;ShowTimestamp /t:build /p:Configuration=Release /p:Platform="x64" /m /nologo "./Submodules/JUCE/extras/Projucer/Builds/VisualStudio2015/Projucer.sln"

 echo "Update Projects"
 "./Submodules/JUCE/extras/Projucer/Builds/VisualStudio2015/x64/Release/Projucer.exe" --resave Projects/Plugin/Plugin.jucer

 echo "Build Plugin 64bit"
-msbuild /clp:ErrorsOnly;ShowTimestamp /t:rebuild /p:Configuration=Release /p:Platform="x64" /m /nologo "./Projects/Plugin/Builds/VisualStudio2015/Plugin.sln"
+msbuild /clp:ErrorsOnly;ShowTimestamp /t:build /p:Configuration=Release /p:Platform="x64" /m /nologo "./Projects/Plugin/Builds/VisualStudio2015/Plugin.sln"

-rem echo "Build Installer"
-rem msbuild /clp:ErrorsOnly;ShowTimestamp /property:Configuration=Release /m /nologo "./Projects/Installer/Installer.wixproj"


Update the MicroBlaze CreateProjectDirectoryStructure.bat file to also copy files into the BSP directory, and to use path variables for the relative paths.

--- Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/CreateProjectDirectoryStructure.bat
+++ Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/CreateProjectDirectoryStructure.bat
@@ -6,6 +6,16 @@
 REM FreeRTOS directory structure to under the Eclipse project directory.
 REM This permits the Eclipse project to be used in 'managed' mode and without
 REM having to setup any linked resources.
+
+REM Files will also be copied into the BSP directory, which can be used to
+REM generate FreeRTOS BSP packages directly from within the Xilinx SDK.
+SET BSP_SOURCE=..\..\KernelAwareBSPRepository\bsp\freertos_v2_00_a\src\Source
+
+REM Standard paths
+SET FREERTOS_SOURCE=..\..\..\..\Source
+SET COMMON_SOURCE=..\..\..\Common\minimal
+SET COMMON_INCLUDE=..\..\..\Common\include
+SET LWIP_SOURCE=..\..\..\Common\ethernet\lwip-1.4.0

 REM Have the files already been copied?
 IF EXIST FreeRTOS_Source Goto END
@@ -30,63 +40,78 @@
     MD lwIP\netif\include
     MD lwIP\netif\include\arch

-    REM Copy the core kernel files.
-    copy ..\..\..\..\Source\tasks.c FreeRTOS_Source
-    copy ..\..\..\..\Source\queue.c FreeRTOS_Source
-    copy ..\..\..\..\Source\list.c FreeRTOS_Source
-    copy ..\..\..\..\Source\timers.c FreeRTOS_Source
+    REM Copy the core kernel files into the SDK projects directory
+    copy %FREERTOS_SOURCE%\tasks.c FreeRTOS_Source
+    copy %FREERTOS_SOURCE%\queue.c FreeRTOS_Source
+    copy %FREERTOS_SOURCE%\list.c FreeRTOS_Source
+    copy %FREERTOS_SOURCE%\timers.c FreeRTOS_Source
+
+    REM Copy the core kernel files into the BSP directory
+    copy %FREERTOS_SOURCE%\tasks.c %BSP_SOURCE%
+    copy %FREERTOS_SOURCE%\queue.c %BSP_SOURCE%
+    copy %FREERTOS_SOURCE%\list.c %BSP_SOURCE%
+    copy %FREERTOS_SOURCE%\timers.c %BSP_SOURCE%

-    REM Copy the common header files
-    copy ..\..\..\..\Source\include\*.* FreeRTOS_Source\include
+    REM Copy the common header files into the SDK projects directory
+    copy %FREERTOS_SOURCE%\include\*.* FreeRTOS_Source\include

-    REM Copy the portable layer files
-    copy ..\..\..\..\Source\portable\GCC\MicroBlazeV8\*.* FreeRTOS_Source\portable\GCC\MicroBlazeV8
+    REM Copy the common header files into the BSP directory
+    copy %FREERTOS_SOURCE%\include\*.* %BSP_SOURCE%\include
+
+    REM Copy the portable layer files into the SDK projects directory
+    copy %FREERTOS_SOURCE%\portable\GCC\MicroBlazeV8\*.* FreeRTOS_Source\portable\GCC\MicroBlazeV8

-    REM Copy the basic memory allocation files
-    copy ..\..\..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang
+    REM Copy the portable layer files into the BSP projects directory
+    copy %FREERTOS_SOURCE%\portable\GCC\MicroBlazeV8\*.* %BSP_SOURCE%\portable\GCC\MicroBlazeV8
+
+    REM Copy the basic memory allocation files into the SDK projects directory
+    copy %FREERTOS_SOURCE%\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang
+
+    REM Copy the basic memory allocation files into the BSP directory
+    copy %FREERTOS_SOURCE%\portable\MemMang\heap_2.c %BSP_SOURCE%\portable\MemMang

     REM Copy the files that define the common demo tasks.
-    copy ..\..\..\Common\minimal\dynamic.c         Demo_Source
-    copy ..\..\..\Common\minimal\BlockQ.c          Demo_Source
-    copy ..\..\..\Common\minimal\death.c           Demo_Source
-    copy ..\..\..\Common\minimal\blocktim.c        Demo_Source
-    copy ..\..\..\Common\minimal\semtest.c         Demo_Source
-    copy ..\..\..\Common\minimal\PollQ.c           Demo_Source
-    copy ..\..\..\Common\minimal\GenQTest.c        Demo_Source
-    copy ..\..\..\Common\minimal\QPeek.c           Demo_Source
-    copy ..\..\..\Common\minimal\recmutex.c        Demo_Source
-    copy ..\..\..\Common\minimal\sp_flop.c         Demo_Source
-    copy ..\..\..\Common\minimal\flash.c           Demo_Source
-    copy ..\..\..\Common\minimal\comtest_strings.c Demo_Source
-    copy ..\..\..\Common\minimal\TimerDemo.c       Demo_Source
+    copy %COMMON_SOURCE%\dynamic.c         Demo_Source
+    copy %COMMON_SOURCE%\BlockQ.c          Demo_Source
+    copy %COMMON_SOURCE%\death.c           Demo_Source
+    copy %COMMON_SOURCE%\blocktim.c        Demo_Source
+    copy %COMMON_SOURCE%\semtest.c         Demo_Source
+    copy %COMMON_SOURCE%\PollQ.c           Demo_Source
+    copy %COMMON_SOURCE%\GenQTest.c        Demo_Source
+    copy %COMMON_SOURCE%\QPeek.c           Demo_Source
+    copy %COMMON_SOURCE%\recmutex.c        Demo_Source
+    copy %COMMON_SOURCE%\sp_flop.c         Demo_Source
+    copy %COMMON_SOURCE%\flash.c           Demo_Source
+    copy %COMMON_SOURCE%\comtest_strings.c Demo_Source
+    copy %COMMON_SOURCE%\TimerDemo.c       Demo_Source

     REM Copy the common demo file headers.
-    copy ..\..\..\Common\include\dynamic.h         Demo_Source\include
-    copy ..\..\..\Common\include\partest.h         Demo_Source\include
-    copy ..\..\..\Common\include\BlockQ.h          Demo_Source\include
-    copy ..\..\..\Common\include\death.h           Demo_Source\include
-    copy ..\..\..\Common\include\blocktim.h        Demo_Source\include
-    copy ..\..\..\Common\include\semtest.h         Demo_Source\include
-    copy ..\..\..\Common\include\PollQ.h           Demo_Source\include
-    copy ..\..\..\Common\include\GenQTest.h        Demo_Source\include
-    copy ..\..\..\Common\include\QPeek.h           Demo_Source\include
-    copy ..\..\..\Common\include\recmutex.h        Demo_Source\include
-    copy ..\..\..\Common\include\flop.h            Demo_Source\include
-    copy ..\..\..\Common\include\flash.h           Demo_Source\include
-    copy ..\..\..\Common\include\comtest_strings.h Demo_Source\include
-    copy ..\..\..\Common\include\serial.h          Demo_Source\include
-    copy ..\..\..\Common\include\comtest.h         Demo_Source\include
-    copy ..\..\..\Common\include\TimerDemo.h       Demo_Source\include
+    copy %COMMON_INCLUDE%\dynamic.h         Demo_Source\include
+    copy %COMMON_INCLUDE%\partest.h         Demo_Source\include
+    copy %COMMON_INCLUDE%\BlockQ.h          Demo_Source\include
+    copy %COMMON_INCLUDE%\death.h           Demo_Source\include
+    copy %COMMON_INCLUDE%\blocktim.h        Demo_Source\include
+    copy %COMMON_INCLUDE%\semtest.h         Demo_Source\include
+    copy %COMMON_INCLUDE%\PollQ.h           Demo_Source\include
+    copy %COMMON_INCLUDE%\GenQTest.h        Demo_Source\include
+    copy %COMMON_INCLUDE%\QPeek.h           Demo_Source\include
+    copy %COMMON_INCLUDE%\recmutex.h        Demo_Source\include
+    copy %COMMON_INCLUDE%\flop.h            Demo_Source\include
+    copy %COMMON_INCLUDE%\flash.h           Demo_Source\include
+    copy %COMMON_INCLUDE%\comtest_strings.h Demo_Source\include
+    copy %COMMON_INCLUDE%\serial.h          Demo_Source\include
+    copy %COMMON_INCLUDE%\comtest.h         Demo_Source\include
+    copy %COMMON_INCLUDE%\TimerDemo.h       Demo_Source\include

     REM Copy the required lwIP files
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\api\*.c                       lwIP\api
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\core\*.c                      lwIP\core
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\core\ipv4\*.c                 lwIP\core\ipv4
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\ipv4\lwip\*.h         lwIP\include\ipv4\lwip
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\lwip\*.h              lwIP\include\lwip
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\netif\*.h             lwIP\include\netif
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\src\netif\etharp.c                lwIP\netif
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\ports\MicroBlaze-Ethernet-Lite    lwip\netif
-    copy ..\..\..\Common\ethernet\lwip-1.4.0\ports\MicroBlaze-Ethernet-Lite\include\arch lwip\netif\include\arch
+    copy %LWIP_SOURCE%\src\api\*.c                       lwIP\api
+    copy %LWIP_SOURCE%\src\core\*.c                      lwIP\core
+    copy %LWIP_SOURCE%\src\core\ipv4\*.c                 lwIP\core\ipv4
+    copy %LWIP_SOURCE%\src\include\ipv4\lwip\*.h         lwIP\include\ipv4\lwip
+    copy %LWIP_SOURCE%\src\include\lwip\*.h              lwIP\include\lwip
+    copy %LWIP_SOURCE%\src\include\netif\*.h             lwIP\include\netif
+    copy %LWIP_SOURCE%\src\netif\etharp.c                lwIP\netif
+    copy %LWIP_SOURCE%\ports\MicroBlaze-Ethernet-Lite    lwip\netif
+    copy %LWIP_SOURCE%\ports\MicroBlaze-Ethernet-Lite\include\arch lwip\netif\include\arch

 : END


Updating to use bower update when deploying instead of bower install

--- deploy.cmd
+++ deploy.cmd
@@ -108,7 +108,7 @@
 :: 4. Install bower packages
 IF EXIST "%DEPLOYMENT_TARGET%\bower.json" (
   pushd "%DEPLOYMENT_TARGET%"
-  call :ExecuteCmd ./node_modules/.bin/bower install
+  call :ExecuteCmd ./node_modules/.bin/bower update
   IF !ERRORLEVEL! NEQ 0 goto error
   popd
 )


add dedupe

add dedupe

--- deploy.cmd
+++ deploy.cmd
@@ -1,4 +1,4 @@
-call npm install
+call npm install --dedupe
 IF "%ERRORLEVEL%" NEQ "0" goto error

 call bower install


Updated to changes in run.sh

Updated to changes in run.sh

git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@107360 13f79535-47bb-0310-9956-ffa450edef68

--- trunk/res/run.bat
+++ trunk/res/run.bat
@@ -1,3 +1,4 @@
 @echo off

-java -jar avalon-loader.jar %1 %2 %3 %4 %5 %6 %7 %8 %9+set JAMES_CLASSPATH=avalon-loader.jar;../lib/xerces.jar;../lib/mail_1_2.jar;../lib/activation.jar;../lib/dnsjava.jar;../lib/town.jar
+java -cp %CLASSPATH%;%JAMES_CLASSPATH% %AVALON_JVM_FLAGS% AvalonLoader %1 %2 %3 %4 %5 %6 %7 %8 %9


Fix relative path problem

Fix relative path problem

--- link_to_plugin_folder.bat
+++ link_to_plugin_folder.bat
@@ -1,9 +1,6 @@
 REM Run me under administrative privileges
-pushd %~dp0
-
-mklink "C:\Program Files (x86)\Notepad++\plugins\jN\includes\emmet.js" "dist\emmet.js"
-mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\emmet\" "dist\emmet"
-mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\dialog\" "dist\dialog"
-mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\FileStream\" "dist\FileStream\"
-
-popd
+mklink "C:\Program Files (x86)\Notepad++\plugins\jN\includes\emmet.js" "%~dp0dist\emmet.js"
+mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\emmet\" "%~dp0dist\emmet"
+mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\dialog\" "%~dp0dist\dialog"
+mklink /D "C:\Program Files (x86)\Notepad++\plugins\jN\includes\FileStream\" "%~dp0dist\FileStream"
+pause


try skipping activeqt since building it fails on appveyor

--- recipe/bld.bat
+++ recipe/bld.bat
@@ -30,7 +30,9 @@
      -qt-freetype ^
      -system-libjpeg ^
      -system-libpng ^
-     -system-zlib
+     -system-zlib ^
+     -skip activeqt
+if errorlevel 1 exit /b 1

 :: re-enable echoing which is disabled by configure
 echo on


changed build number

changed build number

--- commands/build.cmd
+++ commands/build.cmd
@@ -4,7 +4,7 @@
    set config=Debug
 )
 set nuget=nuget\.nuget\NuGet.exe
-set version=0.9.0.74
+set version=0.9.0.75
 set outputDirectory=..\Packages\%config%

 %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild ..\sources\NUnit.That.Resharper.Plugin.sln /t:Rebuild /p:Configuration="%config%" /m /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false


Build Master:2017-02-28T19:21:49.097Z

Build Master:2017-02-28T19:21:49.097Z

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

 for /F %%f in ('git.exe diff --name-only %PREVIOUS_SCM_COMMIT_ID% %SCM_COMMIT_ID% ^| grep package.json') do (
     SET PACKAGEJSON=%%~f
-    echo !PACKAGEJSON!
-    echo "NPM Install: %DEPLOYMENT_SOURCE%\!PACKAGEJSON:~-12!"
-    pushd "%DEPLOYMENT_SOURCE%\!PACKAGEJSON:~-12!"
+    SET PKGFOLDER=!DEPLOYMENT_SOURCE!\!PACKAGEJSON:package.json=!
+    echo "NPM Install: !PKGFOLDER!\package.json"
+    pushd "!PKGFOLDER!"
     npm install --production --progress=false --cache-min=432000
     npm install --save json-loader --progress=false --cache-min=432000
     IF !ERRORLEVEL! NEQ 0 goto error


:chart_with_upwards_trend: Use the xunit console runner for test coverage

--- coverage.cmd
+++ coverage.cmd
@@ -37,7 +37,16 @@
 )
 ::@echo %report_exe%

+@FOR /r %%F IN (*xunit.console.exe) DO @SET xunit_exe=%%F
+@IF NOT EXIST "%xunit_exe%" (
+   echo Unable to find xUnit console runner.
+   EXIT /B 2
+)
+::@echo %xunit_exe%
+
 @SET results_path=%~dp0test\TestResults
+@SET test_assemblies=%~dp0test\Castle.Core.AsyncInterceptor.Tests\bin\%config%\net47\Castle.Core.AsyncInterceptor.Tests.dll
+::@SET test_assemblies=%test_assemblies% %~dp0test\More.Tests\bin\%config%\net47\More.Tests.dll
 @SET xunit_results=%results_path%\Xunit.Tests.html
 @SET coverage_filter=+[Castle.Core.AsyncInterceptor*]* -[*.Tests]*
 @SET coverage_results=%results_path%\Test.Coverage.xml
@@ -51,19 +60,15 @@
    EXIT /B 2
 )

-cd "%~dp0test\Castle.Core.AsyncInterceptor.Tests"
+::@echo "%xunit_exe%" %test_assemblies% -noshadow -html "%xunit_results%"
+::@"%xunit_exe%" %test_assemblies% -noshadow -html "%xunit_results%"

-::@echo dotnet.exe xunit -framework net47 -configuration %config% -nobuild -noshadow -html %xunit_results%
-::@dotnet.exe xunit -framework net47 -configuration %config% -nobuild -noshadow -html %xunit_results%
-
-@echo "%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net47 -configuration %config% -nobuild -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
-@"%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net47 -configuration %config% -nobuild -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
+@echo "%cover_exe%" -register:user "-target:%xunit_exe%" "-targetargs:%test_assemblies% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
+@"%cover_exe%" -register:user "-target:%xunit_exe%" "-targetargs:%test_assemblies% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
 @IF ERRORLEVEL 1 (
    echo Error executing the xunit tests
    EXIT /B 2
 )

-cd "%~dp0"
-
 @echo "%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html
 @"%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html


IDEX-3052 Allow to find Java in Windows Registry if not defined

--- assembly-sdk/src/assembly/bin/setenv.bat
+++ assembly-sdk/src/assembly/bin/setenv.bat
@@ -18,6 +18,13 @@
 @echo off
 set CHE_LOCAL_CONF_DIR=%CATALINA_HOME%\conf\

+if not "%JAVA_HOME%"=="" goto javaHomeAlreadyDefined
+
+FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B
+FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B
+
+:javaHomeAlreadyDefined
+
 if "%JAVA_OPTS%"=="" (set JAVA_OPTS=-Xms256m -Xmx1048m -XX:MaxPermSize=256m -server)

 if "%CHE_LOGS_DIR%"=="" (set CHE_LOGS_DIR=%CATALINA_HOME%\logs)


Fixed check for wrong file

Fixed check for wrong file

--- golang/install.cmd
+++ golang/install.cmd
@@ -1,4 +1,4 @@
-IF NOT EXIST "%WEBROOT_PATH%server.go" (
+IF NOT EXIST "%WEBROOT_PATH%app.go" (
 	cp app.go %WEBROOT_PATH%
 )


Work on the CLI feature

Work on the CLI feature

--- script/pop.bat
+++ script/pop.bat
@@ -16,7 +16,7 @@
 )

 SET SCRIPT_DIR=%~dp0
-REM php %SCRIPT_DIR%pop.php %EXT% %*
+php %SCRIPT_DIR%pop.php %EXT% %*

 if "%1" == "install" (
     FOR /f "delims=" %%i IN ('dir /B ..\vendor\Popcorn\src\Pop\*%EXT%') DO (


Auto stash before merge of "master" and "origin/master"

error: pathspec 'BinPackingProblem/Data/allCombinations.bat' did not match any file(s) known to git

--- BinPackingProblem/Data/allCombinations.bat
+++ BinPackingProblem/Data/allCombinations.bat
@@ -0,0 +1 @@
+Release\\BinPackingProblemConsole.exe test.2Dset 60 50 -d 2 -o W -t GBA -s MinA "result.csv"


Add quote-remover for addpath.bat

Add quote-remover for addpath.bat

--- inpath_addpath.bat
+++ inpath_addpath.bat
@@ -3,7 +3,7 @@
 @goto end

 :add
-@set PATH=%1;%PATH%
+@set PATH=%~1;%PATH%
 @goto end

 :end


Updated NuGet Package version

Updated NuGet Package version

--- buildReleaseNuGetPackages.cmd
+++ buildReleaseNuGetPackages.cmd
@@ -1,4 +1,4 @@
-set ENETVER=8.31.2
+set ENETVER=9.31.1
 echo "Start building Electron.NET dev stack..."
 echo "Restore & Build API"
 cd ElectronNet.API


Fix folder lower-case

Fix folder lower-case

--- scripts/build.bat
+++ scripts/build.bat
@@ -1,8 +1,8 @@
 @echo off
 setlocal
 for %%i in ("%~dp0.") do set file_dir=%%~dpnxi
-for %%i in ("%file_dir%\..\Src\.") do set src_dir=%%~dpnxi
-for %%i in ("%file_dir%\..\Bin\.") do set bin_dir=%%~dpnxi
+for %%i in ("%file_dir%\..\src\.") do set src_dir=%%~dpnxi
+for %%i in ("%file_dir%\..\bin\.") do set bin_dir=%%~dpnxi
 set VbCodeLines="%bin_dir%\VbCodeLines.exe"
 set Vb6="%ProgramFiles%\Microsoft Visual Studio\VB98\VB6.EXE"
 if not exist %Vb6% set Vb6="%ProgramFiles(x86)%\Microsoft Visual Studio\VB98\VB6.EXE"


working package rename cmd file

working package rename cmd file

--- foundation/bin/packageRename.cmd
+++ foundation/bin/packageRename.cmd
@@ -19,11 +19,11 @@
 call :fixpath "%3"
 set LOG_DIR=%_FIXPATH:~1%

-set CLASSPATH=%THIS%..\lib\java\internal\packageRename.jar
-set JAVA_ARGS=%THIS%..\config\packageRename.properties %SRC_DIR% %DEST_DIR% %LOG_DIR%
+set CLASSPATH=%THIS%..\jlib\package-rename.jar
+set JAVA_ARGS=%SRC_DIR% %DEST_DIR% %THIS%..\config\package-rename.properties

 @echo on
-%JAVA_HOME%\bin\java %JVM_ARGS% -classpath %CLASSPATH% org.eclipse.persistence.tools.PackageRenamer %JAVA_ARGS%
+%JAVA_HOME%\bin\java %JVM_ARGS% -classpath %CLASSPATH% utilities.MigrateTopLinkToEclipseLink %JAVA_ARGS%
 pause
 @echo off
 @endlocal


修改 java 编译脚本

修改 java 编译脚本

--- sdk/java/test.bat
+++ sdk/java/test.bat
@@ -1,9 +1,9 @@
 @ECHO OFF
 SET CLASSPATH=.;lib\commons-lang-2.4.jar;lib\commons-logging-1.1.1.jar;lib\ezmorph-1.0.6.jar;lib\json-lib-0.9.jar;lib\commons-beanutils-1.8.2.jar
 javac -d . HttpApi.java
+jar cvf HttpApi.jar com/test/HttpApi.class
+
+SET CLASSPATH=.;lib\commons-lang-2.4.jar;lib\commons-logging-1.1.1.jar;lib\ezmorph-1.0.6.jar;lib\json-lib-0.9.jar;lib\commons-beanutils-1.8.2.jar;HttpApi.jar
 javac test.java
-
-jar cvf HttpApi.jar com/test/HttpApi.class
-SET CLASSPATH=.;lib\commons-lang-2.4.jar;lib\commons-logging-1.1.1.jar;lib\ezmorph-1.0.6.jar;lib\json-lib-0.9.jar;lib\commons-beanutils-1.8.2.jar;HttpApi.jar
 java test
 PAUSE


added optional trailing letters to help remember params

--- win32-example.cmd
+++ win32-example.cmd
@@ -22,58 +22,59 @@
  "-@ 0 means File 1 receives all the below changes."^
  ^
  "Write on the console which mask Link is currently wearing."^
- -m^
+ -mask^
  ^
- -m 0x00 "Sets our preference:  Link is wearing no mask on his face."^
- -F^
- -F 0^
- -N^
- -N 0x0A0A0A0A0A0A0A0A "File 1's name:  AAAAAAAA"^
- -D^
- -D 2 "Read the GitHub wiki if you want to know what this does. :)"^
- -z^
- -z 0x7FFF^
- -Z^
- -Z -3^
- -f 0 13 "Woodfall:  13 stray fairies"^
- -f 1 14 "Snowhead:  14"^
- -f 2 15^
- -f 3 255 "Ikana:  too many :)"^
- -k 0 63^
- -k 1 127^
- -k 2 128^
- -k 3 255^
- -r 500^
- -R 9001^
- -d 0 0xC0^
- -d 1 0x30^
- -d 2 0x0C^
- -d 3 0x03^
- -p^
- -p 4 "Change this to 0 for Fierce Deity Link.  Again, RTFM on GitHub."^
- -L 0^
- -L 1^
- -L 1 0x130^
- -L 0 0x140^
+ -mask 0x00 "Sets our preference:  Link is wearing no mask on his face."^
+ -Fairy^
+ -Fairy 0^
+ -Name^
+ -Name 0x0A0A0A0A0A0A0A0A "File 1's name:  AAAAAAAA"^
+ -Day^
+ -Day 2 "Read the GitHub wiki if you want to know what this does. :)"^
+ -zeldaTime^
+ -zeldaTime 0x7FFF^
+ -ZeldaVectorTimeRate^
+ -ZeldaVectorTimeRate -3^
+ ^
+ -fairies 0 13 "Woodfall:  13 stray fairies"^
+ -keys 0 9^
+ -dungeonProgress 0 7^
+ -fairies 1 14 "Snowhead:  14"^
+ -keys 1 9^
+ -dungeonProgress 1 7^
+ -fairies 2 15^
+ -keys 2 9^
+ -dungeonProgress 2 7^
+ -fairies 3 255 "Ikana:  too many stray fairies :)"^
+ -keys 3 9^
+ -dungeonProgress 3 7^
+ -keys 9 19 "bug in ROM that reads keys[9] as double-defense heart containers"^
+ ^
+ -rupees 500^
+ -RazorSwordHP 9001^
+ -playAsForm^
+ -playAsForm 4 "Change this to 0 for Fierce Deity Link.  Again, RTFM on wiki."^
+ -LifeHP(current) 1 0x140^
+ -LifeHP(maximal) 0 0x140^
+ -MagicNow 1 0^
+ -MagicMax 0 +127^
  -M 1^
  -M 0^
- -M 1 0^
- -M 0 0x7F^
- -o 1000001111111111^
- -U^
- -U 0xFFFFE01B^
+ -owlStatues 1000001111111111^
+ -Upgrades^
+ -Upgrades 0xFFFFE01B^
  ^
- -l 0 4 2 0 "Day 1 winning lottery ticket numbers:  420"^
- -l 1 4 2 0 "Day 2 winning lottery ticket numbers:  420"^
- -l 2 4 2 0^
+ -lottery 0 4 2 0^
+ -lottery 1 4 2 0^
+ -lottery 2 4 2 0^
  ^
- -E 0x0022^
+ -EquipSwordAndShield 0x0034^
  ^
  -I it 0 0 00 -I it 1 0 01 -I it 2 0 02 -I it 3 0 03 -I it 4 0 04 -I it 5 0 05^
  -I it 0 1 06 -I it 1 1 07 -I it 2 1 08 -I it 3 1 09 -I it 4 1 0A -I it 5 1 0B^
  -I it 0 2 0C -I it 1 2 0D -I it 2 2 0E -I it 3 2 0F -I it 4 2 10 -I it 5 2 11^
  -I it 0 3 12 -I it 1 3 16 -I it 2 3 20 -I it 3 3 25 -I it 4 3 27 -I it 5 3 15^
- -I masks^
+ -Inventory masks^
  ^
  -i 1 50 "Have 50 arrows."^
  -i 6 40 -i 7 40 "Have 40 bombs and bombchu."^


Remove an excess \ in the build script, it broke the dependency build :|

--- maketools/build_dependencies.bat
+++ maketools/build_dependencies.bat
@@ -36,7 +36,7 @@
 echo "Cmake command: %CMAKE_CMD%"

 set "COMMON_TOOLS=%MSVS_VER%COMNTOOLS"
-set DEVENV="!%COMMON_TOOLS%!\..\IDE\devenv.exe"
+set DEVENV="!%COMMON_TOOLS%!..\IDE\devenv.exe"

 echo "Using %DEVENV% compiler"


update version numbering

update version numbering

--- lib/installJar.bat
+++ lib/installJar.bat
@@ -1,2 +1,2 @@
-mvn install:install-file -DgroupId=at.ngmpps -DartifactId=DPC -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=./DPC-2.1-SNAPSHOT.jar
+mvn install:install-file -DgroupId=at.ngmpps -DartifactId=DPC -Dversion=3.2-SNAPSHOT -Dpackaging=jar -Dfile=./DPC-3.2-SNAPSHOT.jar


src: add race.bat

src: add race.bat

R=golang-dev, dave, alex.brainman
CC=golang-dev
https://codereview.appspot.com/7133064

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

--- src/race.bat
+++ src/race.bat
@@ -0,0 +1,52 @@
+:: Copyright 2013 The Go Authors. All rights reserved.
+:: Use of this source code is governed by a BSD-style
+:: license that can be found in the LICENSE file.
+
+:: race.bash tests the standard library under the race detector.
+:: http://golang.org/doc/articles/race_detector.html
+
+@echo off
+
+setlocal
+
+if exist make.bat goto ok
+echo race.bat must be run from go\src
+:: cannot exit: would kill parent command interpreter
+goto end
+:ok
+
+call make.bat --dist-tool >NUL
+if errorlevel 1 goto fail
+.\cmd\dist\dist env -wp >env.bat
+if errorlevel 1 goto fail
+call env.bat
+del env.bat
+
+if %GOHOSTARCH% == amd64 goto continue
+echo Race detector is only supported on windows/amd64.
+goto fail
+
+:continue
+call make.bat --no-banner --no-local
+if %GOBUILDFAIL%==1 goto end
+echo # go install -race std
+go install -race std
+if errorlevel 1 goto fail
+echo # go test -race -short -std
+go test -race -short std
+if errorlevel 1 goto fail
+echo # go test -race -run=nothingplease -bench=.* -benchtime=.1s -cpu=4 std
+go test -race -run=nothingplease -bench=.* -benchtime=.1s -cpu=4 std
+if errorlevel 1 goto fail
+goto succ
+
+:fail
+set GOBUILDFAIL=1
+echo Fail.
+goto end
+
+:succ
+echo All tests passed.
+
+:end
+


DEV | enhanced coverage commands

DEV | enhanced coverage commands

--- run_coverage.cmd
+++ run_coverage.cmd
@@ -3,5 +3,5 @@
 nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
 nuget install coveralls.net -Version 0.412.0 -OutputDirectory tools

-.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:.\tools\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe -targetargs:".\Alfred.Tests\bin\Release\Alfred.Tests.dll" -filter:"+[*]* -[*.Tests]*" -register:user
+.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:.\tools\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe -targetargs:".\Alfred.Tests\bin\Release\Alfred.Tests.dll" -filter:"+[Alfred.*]* -[*.Tests]*" -register:user
 .\tools\coveralls.net.0.412\tools\csmacnz.Coveralls.exe --opencover -i .\results.xml


add idempotency and debug handling

add idempotency and debug handling

--- scripts/chef.bat
+++ scripts/chef.bat
@@ -1,6 +1,23 @@
+@setlocal EnableDelayedExpansion EnableExtensions
+@for %%i in (a:\_packer_config*.cmd) do @call "%%~i"
+@if defined PACKER_DEBUG (@echo on) else (@echo off)
+
+title Installing Chef Client. Please wait...
+
+:: Download chef client
 if not exist "C:\Windows\Temp\chef.msi" (
-  powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.getchef.com/chef/install.msi', 'C:\Windows\Temp\chef.msi')" <NUL
+  echo ==^> Downloading Chef Client
+  powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.chef.io/chef/install.msi', 'C:\Windows\Temp\chef.msi')" > NUL
+  @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.chef.io/chef/install.msi', 'C:\Windows\Temp\chef.msi')"
 )

-msiexec /qb /i C:\Windows\Temp\chef.msi
-powershell -Command "Start-Sleep 1" <NUL+:: Install chef client
+REG QUERY HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\1945256682812F8459C51AA05AD1CF7D > NUL
+if not %errorlevel% equ 0 (
+  echo ==^> Installing Chef Client
+  msiexec /qb /i C:\Windows\Temp\chef.msi
+  @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: msiexec /qb /i C:\Windows\Temp\chef.msi
+)
+
+:: Sleep
+powershell -Command "Start-Sleep 1" <NUL


Update chef-client source to getchef.com

--- scripts/chef.bat
+++ scripts/chef.bat
@@ -1,5 +1,5 @@
 if not exist "C:\Windows\Temp\chef.msi" (
-  powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.opscode.com/chef/install.msi', 'C:\Windows\Temp\chef.msi')" <NUL
+  powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.getchef.com/chef/install.msi', 'C:\Windows\Temp\chef.msi')" <NUL
 )

 msiexec /qb /i C:\Windows\Temp\chef.msi


Ensure that EnableDynamicHttpCompression.cmd has an EXIT 0 to force the indication of success.

--- Scripts/EnableDynamicHttpCompression.cmd
+++ Scripts/EnableDynamicHttpCompression.cmd
@@ -3,3 +3,5 @@
 REM Enable Dynamic HTTP Compression for application/* mime types.
 %windir%\system32\inetsrv\appcmd.exe set config /section:urlCompression /doDynamicCompression:True /commit:apphost
 %windir%\system32\inetsrv\appcmd.exe set config /section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/*',enabled='True']" /commit:apphost
+
+EXIT 0


CAmbio nombres del los jugadores de ataque


Silent copy

Silent copy

--- scripts/blynk-ser.bat
+++ scripts/blynk-ser.bat
@@ -40,7 +40,7 @@

 rem Create exe
 if not exist %SCRIPTS_PATH%\com2tcp.exe (
-    copy %SCRIPTS_PATH%\com2tcp.bin %SCRIPTS_PATH%\com2tcp.exe
+    copy %SCRIPTS_PATH%\com2tcp.bin %SCRIPTS_PATH%\com2tcp.exe > NUL
 )

 rem Do the job


Update versions in process.bat

Update versions in process.bat

--- msvc-scripts/process.bat
+++ msvc-scripts/process.bat
@@ -2,7 +2,7 @@

 cscript msvc-scripts/rep.vbs //Nologo s/@HAVE_AMD64_ASM_V@/0/ < src\libsodium\include\sodium\crypto_stream_salsa20.h.in > src\libsodium\include\sodium\crypto_stream_salsa20.h

-cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/0.4.3/ < src\libsodium\include\sodium\version.h.in > tmp
+cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/0.4.5/ < src\libsodium\include\sodium\version.h.in > tmp
 cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/4/ < tmp > tmp2
-cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/3/ < tmp2 > src\libsodium\include\sodium\version.h
+cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/4/ < tmp2 > src\libsodium\include\sodium\version.h
 del tmp tmp2


Update win to use new oq command

Update win to use new oq command

--- windows/nsis-installer/oq-console.bat
+++ windows/nsis-installer/oq-console.bat
@@ -5,8 +5,8 @@
 set PYTHONPATH=%mypath%\lib
 set OQ_SITE_CFG_PATH=%mypath%

-doskey oq-engine=python.exe -m openquake.engine.bin.openquake_cli $*
-doskey oq-lite=python.exe -m openquake.commonlib.commands $*
+doskey oq=python.exe -m openquake.commands.__main__ $*
+doskey oq-engine=python.exe -m openquake.commonlib.commands engine $*

 echo OpenQuake environment loaded
 cmd /k


Fixup resources build path

Fixup resources build path

--- source/build.bat
+++ source/build.bat
@@ -36,6 +36,7 @@
 echo.

 if not exist ..\output mkdir ..\output
+if not exist ..\output\resources mkdir ..\output\resources

 rem Compile supplementary plane string handing extensions
 echo Compile SMP string extensions


* fixed: empty list of changes in case if the pathlist consist only of not orthan externals not connected to each other.

git-svn-id: 8286f1aa0849172a171b18e797a5983a17159a76@141 699b1267-f50e-4533-8e1b-323e5631ef88

--- Scripts/Tools/ToolAdaptors/totalcmd/tortoisesvn/TortoiseProcByNestedWC.bat
+++ Scripts/Tools/ToolAdaptors/totalcmd/tortoisesvn/TortoiseProcByNestedWC.bat
@@ -683,22 +683,30 @@
 exit /b 0

 :FILTER_PATHFILE_BY_NOT_ORPHAN_EXTERNALS
+rem don't use empty pathfiles
 call "%%CONTOOLS_ROOT%%/get_filesize.bat" "%%TORTOISEPROC_PATHFILE_ANSI_CRLF_TMP%%"
 if %ERRORLEVEL% EQU 0 exit /b 1

-rem don't filter by empty externals list
+rem apply the pathlist if empty externals list
 if not exist "%WORKINGSET_PATH_EXTERNALS_PATHS_TMP%" exit /b 0
 call "%%CONTOOLS_ROOT%%/get_filesize.bat" "%%WORKINGSET_PATH_EXTERNALS_PATHS_TMP%%"
 if %ERRORLEVEL% EQU 0 exit /b 0

 findstr.exe /I /X /G:"%WORKINGSET_PATH_EXTERNALS_PATHS_TMP%" "%TORTOISEPROC_PATHFILE_ANSI_CRLF_TMP%" > "%TORTOISEPROC_PATHFILE_NOT_ORTHAN_EXTERNALS_ANSI_CRLF_TMP%"

-rem continue if nothing has filtered
+rem apply the pathlist if the pathlist consist only of orthan externals not connected to each other
 call "%%CONTOOLS_ROOT%%/get_filesize.bat" "%%TORTOISEPROC_PATHFILE_NOT_ORTHAN_EXTERNALS_ANSI_CRLF_TMP%%"
 if %ERRORLEVEL% EQU 0 exit /b 0

+rem get list of orthan externals
 findstr.exe /I /V /X /G:"%WORKINGSET_PATH_EXTERNALS_PATHS_TMP%" "%TORTOISEPROC_PATHFILE_ANSI_CRLF_TMP%" > "%TORTOISEPROC_PATHFILE_FILTERED_ANSI_CRLF_TMP%"

+rem apply the pathlist if the pathlist consist only of not orthan externals not connected to each other.
+call "%%CONTOOLS_ROOT%%/get_filesize.bat" "%%TORTOISEPROC_PATHFILE_FILTERED_ANSI_CRLF_TMP%%"
+if %ERRORLEVEL% EQU 0 exit /b 0
+
+rem restore not orphan external path (having versined changes) in the only orphan externals pathlist if all its not orphan parent paths were removed
+rem in the first filter because have had no versioned changes
 type "%TORTOISEPROC_PATHFILE_FILTERED_ANSI_CRLF_TMP%" | "%GNUWIN32_ROOT%/bin/sed.exe" "s/\\/\\\\/g" > "%TORTOISEPROC_PATHFILE_FILTER_ANSI_CRLF_TMP%"

 findstr.exe /B /I /V /L /G:"%TORTOISEPROC_PATHFILE_FILTER_ANSI_CRLF_TMP%" "%TORTOISEPROC_PATHFILE_NOT_ORTHAN_EXTERNALS_ANSI_CRLF_TMP%" >> "%TORTOISEPROC_PATHFILE_FILTERED_ANSI_CRLF_TMP%"


#144: Jube can now run the tomcat image on windows.

--- images/fabric8/tomcat-8.0/src/main/distro/start.bat
+++ images/fabric8/tomcat-8.0/src/main/distro/start.bat
@@ -38,7 +38,8 @@
 call %APP_BASE%\bin\catalina.bat start

 rem see if we got started
-timeout /T 2 > NUL
+rem need to use ping as timeout causing issue when being controlled from Java/Jube
+ping -n 2 127.0.0.1 > NUL
 for /F "tokens=2 delims= " %%A in ('tasklist /FI "WINDOWTITLE eq %APP_BASENAME%" /NH') do set PID=%%A
 if "%PID%" == "No" (
    echo Could not start Tomcat
@@ -52,7 +53,9 @@
 goto :END

 :END1
-set ERROR_CODE=1
+rem exit with error code 1
+endlocal
+exit /B 1

 :END
-
+endlocal


Update BuildSalt.bat

Update BuildSalt.bat

--- pkg/windows/BuildSalt.bat
+++ pkg/windows/BuildSalt.bat
@@ -80,5 +80,5 @@
 @ echo %InsDir%

 done:
--if [%Version%] == [] pause
+if [%Version%] == [] pause
 cls


Fix Admin detect

Fix Admin detect

--- pkg/windows/clean_env.bat
+++ pkg/windows/clean_env.bat
@@ -8,7 +8,7 @@
 echo Administrative permissions required. Detecting permissions ...
 echo ---------------------------------------------------------------------
 net session >nul 2>&1
-if errorlevel 1 (
+if %errorLevel%==0 (
     echo Success: Administrative permissions confirmed.
 ) else (
     echo Failure: This script must be run as Administrator


Because the run script will be generated in building, So original run.cmd could be removed from repository's.

git-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@1148 6f19259b-4bc3-4df7-8a09-765794883524

--- EdkNt32Pkg/run.cmd
+++ EdkNt32Pkg/run.cmd
@@ -1,20 +0,0 @@
-@REM
-@REM Copyright (c) 2006, Intel Corporation
-@REM All rights reserved. This program and the accompanying materials
-@REM are licensed and made available under the terms and conditions of the BSD License
-@REM which accompanies this distribution.  The full text of the license may be found at
-@REM http://opensource.org/licenses/bsd-license.php
-@REM
-@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-@REM
-
-@echo off
-
-:start_secmain
-pushd .
-cd Build\DEBUG\MYTOOLS\IA32
-SecMain.exe
-popd
-@echo on
-


Windows MSVC: Define vcvars in mach.bat

Windows MSVC: Define vcvars in mach.bat

--- mach.bat
+++ mach.bat
@@ -1,2 +1,19 @@
 @echo off
+
+SET VS_VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat
+IF EXIST "%VS_VCVARS%" (
+  IF NOT DEFINED VisualStudioVersion (
+    IF EXIST "%ProgramFiles(x86)%" (
+      call "%VS_VCVARS%" x64
+    ) ELSE (
+      ECHO 32-bit Windows is currently unsupported.
+      EXIT /B
+    )
+  )
+) ELSE (
+  ECHO Visual Studio 2015 is not installed.
+  ECHO Download and install Visual Studio 2015 from https://www.visualstudio.com/
+  EXIT /B
+)
+
 python mach %*


Ensuring the data directory is created prior to spinning up the db.

--- startmongo.bat
+++ startmongo.bat
@@ -1 +1,2 @@
+mkdir .\data
 c:\Programming\mongodb\bin\mongod.exe --dbpath .\data


Updated test_scaleup command script

Updated test_scaleup command script

--- test_scaleup.cmd
+++ test_scaleup.cmd
@@ -1,20 +1,18 @@
-#PBS -l walltime=00:00:20,nodes=2:westmere:ppn=12
+#PBS -l nice=-18,walltime=03:00:00,nodes=11:ppn=12
 #PBS -A o0num
+#PBS -m ae
 #PBS -M s_kaul01@uni-muenster.de
-#PBS -m ae
 #PBS -q math
-#PBS -N test_scaleup_128_466
+#PBS -N week_21_tests_S
 #PBS -j oe
-#PBS -t 16
+# #PBS -t 32
 #PBS -o data/${PBS_JOBNAME%-*}/$PBS_JOBID/logdata/runlog.log
 cd $PBS_O_WORKDIR
 mkdir -p data/${PBS_JOBNAME%-*}/$PBS_JOBID/logdata/
-# export LD_LIBRARY_PATH=/Applic.PALMA/compiler/gcc/4.7.2/lib64:$LD_LIBRARY_PATH
-### ${PBS_JOBNAME%-*} deletes "-" and the array-id from the jobname

-ulimit -q 13107200
-time mpiexec -np $PBS_ARRAYID ./elliptic_msfem ../build/msfem.param -global.datadir data/${PBS_JOBNAME%-*}/$PBS_JOBID
+MPIHOME=/Applic.PALMA/mpi/openmpi/gcc4.7.2/1.6.3 likwid-mpirun  -d -mpi=openmpi -np $PBS_ARRAYID  -nperdomain N:12 -- "./elliptic_msfem ../build/msfem.param -global.datadir data/${PBS_JOBNAME%-*}/$PBS_JOBID"
+
+# mpiexec -np $PBS_ARRAYID ./elliptic_msfem ../build/msfem.param -global.datadir data/${PBS_JOBNAME%-*}/$PBS_JOBID
+# mpirun -np $PBS_ARRAYID amplxe-cl -result-dir data/$PBS_JOBID/ampl-xe -collect hotspots -- ./elliptic_msfem ../build/msfem.param

-# mpiexec -np $PBS_ARRAYID /scratch/tmp/s_kaul01/external/bin/hpcrun -o data/${PBS_JOBNAME%-*}/$PBS_JOBID/hpctool_measurements ./elliptic_msfem ../build/msfem.param -global.datadir data/${PBS_JOBNAME%-*}/$PBS_JOBID
-# /scratch/tmp/s_kaul01/external/bin/hpcprof -M stats -S elliptic_msfem.hpcstruct -I ../dune/+ -I ../src/+ -I ../../dune-fem/dune/+ -I ../../dune-spgrid/dune/+ -I ../../dune-common/dune/+ -I ../../dune-grid/dune/+ -I ../../dune-localfunctions/dune/+ -I ../../dune-stuff/dune/+ -I ../../dune-geometry/dune/+ -I ../../dune-istl/dune/+ -o data/${PBS_JOBNAME%-*}/$PBS_JOBID/hpctool_database data/${PBS_JOBNAME%-*}/$PBS_JOBID/hpctool_measurements/


Ensure starter scripts keep the current directory

If a `source` directory is found in the User profile (via
%USERPROFILE%\Source) the VS 2017 Command Prompt script will change to
this directory in its clean-up routines.

This fix uses the VSCMD_START_DIR variable which is provided as an
escape-hatch for this behavior, in `..\core\vsdevcmd_end.bat`.

--- phpsdk-starter.bat
+++ phpsdk-starter.bat
@@ -2,6 +2,9 @@

 setlocal enableextensions enabledelayedexpansion

+rem make sure we end up where we started (for VS2017)
+set "VSCMD_START_DIR=%CD%"
+
 rem this will be eventually overridden by phpsdk_setvars, but nothing wrong to use the same name here
 set PHP_SDK_ROOT_PATH=%~dp0
 set PHP_SDK_ROOT_PATH=%PHP_SDK_ROOT_PATH:~0,-1%


Add .cmd/mpushd.cmd.

Add .cmd/mpushd.cmd.

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

--- .cmd/mpushd.cmd
+++ .cmd/mpushd.cmd
@@ -0,0 +1,8 @@
+@ECHO OFF
+IF NOT DEFINED PROJECT_ROOT (
+	ECHO "PROJECT_ROOT not defined, please setup your environment"
+	GOTO :eof
+)
+
+PUSHD "%PROJECT_ROOT%\%1"
+


removed build file

removed build file

--- Build/build.bat
+++ Build/build.bat
@@ -1,30 +0,0 @@
-@echo Off
-set config=%1
-if "%config%" == "" (
-   set config=Release
-)
-
-set version=
-if not "%PackageVersion%" == "" (
-   set version=-Version %PackageVersion%
-)
-
-echo Build
-%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Zirpl.FluentReflection.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
-if not "%errorlevel%"=="0" goto failure
-
-echo Unit tests
-call %nuget% install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
-packages\NUnit.Runners.2.6.4\tools\nunit-console.exe /config:%config% /framework:net-4.5 Zirpl.FluentReflection.Tests\bin\%config%\Zirpl.FluentReflection.Tests.dll
-if not "%errorlevel%"=="0" goto failure
-
-echo Package
-mkdir .nuget\bin\%config%\
-call %nuget% pack ".nuget\Zirpl.FluentReflection.nuspec" -symbols -o .nuget\bin\%config%\ -p Configuration=%config% %version%
-if not "%errorlevel%"=="0" goto failure
-
-:success
-exit 0
-
-:failure
-exit -1


Add ThemeSelector to the pull batch file.

--- ThirdPartyPull.cmd
+++ ThirdPartyPull.cmd
@@ -1 +1,2 @@
-git subtree pull --squash --prefix=ThirdParty/WPFFutures https://github.com/FineRedMist/WPFFutures.git master+git subtree pull --squash --prefix=ThirdParty/WPFFutures https://github.com/FineRedMist/WPFFutures.git master
+git subtree pull --squash --prefix=ThirdParty/ThemeSelector https://github.com/FineRedMist/ThemeSelector.git master


Corrections and updates to match Makefile.

--- topographica-win/create_installer/prepare_for_installer.bat
+++ topographica-win/create_installer/prepare_for_installer.bat
@@ -44,10 +44,11 @@
 del /Q /F topographica.bat

-REM **** Things the Makefile deletes CEBHACKALERT: this line doesn't seem to be working any more!
-del /S /Q /F .#* *\.#* *\*~ .cvsignore ChangeLog.txt *\.cvsignore *\*\.cvsignore *\*\*\.cvsignore
+REM **** Things the Makefile deletes
+del /s /Q /F .#* *~ .cvsignore
+del ChangeLog.txt
 del etc\topographica.elc ImageSaver*.ppm countalerts* annotate.out emacslog
-del current_profile testsnapshot.typ script topo\tests\*.ty_*DATA timing*
+del current_profile topo\tests\testsnapshot.typ script topo\tests\*.ty_*DATA timing* topo\tests\testplotfilesaver*.png
 del examples\disparity_energy.ty
 del examples\face_space.ty
 del examples\goodhill_network90.ty
@@ -61,7 +62,7 @@
 del examples\leaky_lissom_or.ty
 del examples\lgn_lateral.ty*
 del examples\lissom_oo_od.ty
-del examples\lissom_oo_or_dy.ty
+del examples\lissom_oo_or_dy_photo.ty
 del examples\lissom_oo_or_noshrinking_adapthomeo.ty
 del examples\lissom_oo_or_noshrinking_latswitch.ty
 del examples\lissom_or_homeomaxent.ty
@@ -74,6 +75,9 @@
 del examples\sullivan_neurocomputing04.ty
 del examples\sullivan_nn06.ty
 del examples\*.typ
+rmdir /Q /S Output
+rmdir /Q /S images
+

 REM CEBHACKALERT: need to make clean topo/tests/reference


Añadido auto-start para Windows

Añadido auto-start para Windows

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

--- start_windows.bat
+++ start_windows.bat
@@ -0,0 +1,2 @@
+python server.py
+pause


Win32: Fix msvcbuild.bat to clean temporary files on error too.

--- src/msvcbuild.bat
+++ src/msvcbuild.bat
@@ -19,6 +19,6 @@
 %LSLINK% /DLL /OUT:sys.dll /DEF:isa/isapi/isapi_dll.def *.obj %LUA%/src/lua*.lib kernel32.lib user32.lib winmm.lib shell32.lib advapi32.lib ws2_32.lib
 @if errorlevel 1 goto :END

+:END
+
 @del *.obj *.manifest *.lib *.exp
-
-:END


Fix x64 perf run break

Fix x64 perf run break

After the checkin to add legacy JIT testing support for x86 we broke x64
runs.  THe issue is that we do not pass anything in to the TEST_ENV
variable on x64 and when a variable is empty and you attempt to use the
if exists syntax you fail.  I have added a nonsense file name that we
set this to before we go through the args loop. I was not able to find a
better solution and want to get the lab unblocked, but any batch masters
feel free to solve this the right way.

--- tests/scripts/run-xunit-perf.cmd
+++ tests/scripts/run-xunit-perf.cmd
@@ -10,6 +10,7 @@
 set TEST_FILE_EXT=exe
 set TEST_ARCH=x64
 set TEST_CONFIG=Release
+set TEST_ENV=thisfilewillnotexist

 goto :ARGLOOP


Removed powershell console when starting launcher

--- launcher.cmd
+++ launcher.cmd
@@ -1 +1 @@
-powershell -ExecutionPolicy Bypass -File launcher.ps1
+powershell -ExecutionPolicy Bypass -nologo -Noninteractive -File launcher.ps1


remove windows dev files

remove windows dev files

--- ui/watch.bat
+++ ui/watch.bat
@@ -1,33 +0,0 @@
-rmdir %~dp0node_modules /s /q
-rmdir %~dp0..\node_modules /s /q
-rmdir %~dp0..\app\node_modules /s /q
-
-call yarn install
-
-echo f | xcopy /s /y %~dp0dist %~dp0..\app\dist
-
-call %~dp0node_modules\.bin\node-sass --output %~dp0..\app\dist\css --sourcemap=none %~dp0scss\
-
-start /min %~dp0node_modules\.bin\node-sass --output %~dp0..\app\dist\css --sourcemap=none --watch %~dp0scss\ &
-
-call %~dp0node_modules\.bin\webpack --config webpack.dev.config.js --progress --colors
-
-start /min %~dp0node_modules\.bin\webpack --config webpack.dev.config.js --progress --colors --watch
-
-call yarn build:langs
-
-cp %~dp0build\lang\en.json %~dp0..\app\dist\lang\en.json
-
-cd %~dp0..\app
-
-call yarn install
-
-cd ..\
-
-call yarn install
-
-start /min %~dp0..\node_modules\.bin\electron app
-
-exit 0
-
-


lein.bat should be in PATH not in current folder because there is a folder change when calling cljminecraft scripts

--- lein_jar.bat
+++ lein_jar.bat
@@ -1,5 +1,5 @@
 @rem needs this lein.bat https://github.com/technomancy/leiningen/blob/master/bin/lein.bat
-	@rem put it in PATH or near this .bat file
+	@rem put it in PATH

 @echo off
 set JAVA_CMD="c:\program files\java\jdk1.6.0_31\bin\java.exe"


Update chain_reaction_Fission.bat

Update chain_reaction_Fission.bat

--- ARTifacts/Chain_Reactions/chain_reaction_Fission.bat
+++ ARTifacts/Chain_Reactions/chain_reaction_Fission.bat
@@ -1,10 +1,10 @@
-:: Chain Reaction 02
+:: Chain Reaction - Fission
 ::
 :: NOTE it is a BAD idea to execute scripts from a repo that you do not control.
 :: NOTE We recommend executing from a server that you control.
 :: NOTE Thank You :)
 ::
-:: This particular Chain Reaction focuses on enumeration.
+:: This particular Chain Reaction focuses on Discovery.

 :: Tactic: Discovery
 :: Technique: Remote System Discovery https://attack.mitre.org/wiki/Technique/T1018


add pause command to create.bat at the end

--- create.bat
+++ create.bat
@@ -17,3 +17,4 @@
 echo|set /p=%DOMAIN% > tmp/domain.txt

 vagrant up
+pause


Уточнён скрипт обновлния стабильной версии

--- stable_update.bat
+++ stable_update.bat
@@ -20,6 +20,6 @@

 copy /Y Sources\Bin\mrefal.cppsr.exe            Bin\mrefal.cpp.exe
 copy /Y Sources\Bin\mrefal.sr.exe               Bin\mrefal.exe
-copy /Y Sources\Bin\mrefal.rsl                  Bin\mrefal.rsl
+copy /Y Sources\Bin\MRefal.r5.rsl               Bin\mrefal.rsl
 copy /Y Sources\Compiler.sr\srefc.exe           Bin\srefc.exe
 copy /Y Sources\Utilities\exe\FS-Extent.cpp.exe Bin\FS-Extent.cpp.exe


Removing .cvsignore files.

Removing .cvsignore files.

--- delcvs.bat
+++ delcvs.bat
@@ -6,3 +6,4 @@
 rmdir /S /Q src\CVS
 rmdir /S /Q vcbuild\CVS
 rmdir /S /Q win32\CVS
+del /S /Q .cvsignore


Updates to deploy script

Updates to deploy script

--- deploy.cmd
+++ deploy.cmd
@@ -1,7 +1,4 @@
 @echo off
-
-echo Cleaning up existing folders
-rm -f -r %HOME%\site\wwwroot\gopath\

 echo Creating folders
 MKDIR %HOME%\site\wwwroot\gopath
@@ -18,7 +15,7 @@

 echo Copy files
 xcopy %DEPLOYMENT_SOURCE%\site\repository %HOME%\site\wwwroot\gopath\src\%FOLDER% /Y
-xcopy %DEPLOYMENT_SOURCE%\site\repository\Web.Config %HOME%\site\wwwroot\Web.Config /Y
+xcopy /r %DEPLOYMENT_SOURCE%\site\repository\Web.Config %HOME%\site\wwwroot\Web.Config /Y

 echo Set env variables
 SET GOPATH=%HOME%\site\wwwroot\gopath
@@ -32,3 +29,5 @@
 sed -i 's/GOAPPBINARY/%FOLDER%.exe/g' %HOME%\site\wwwroot\Web.Config

 echo Finished
+
+exit /b 1


JSPM packages deployment

JSPM packages deployment

--- deploy.cmd
+++ deploy.cmd
@@ -1,28 +1,154 @@
-::Deployment
+@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
+
+:: ----------------------
+:: KUDU Deployment Script
+:: Version: 0.2.2
+:: ----------------------
+
+:: 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
+
+echo 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
+
+echo 2. Select node version
 call :SelectNodeVersion
-
-:: 3. Install npm packages
+
+echo 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. Build the webclient
-IF EXIST "%DEPLOYMENT_TARGET%\Gulpfile.js" (
-  pushd "%DEPLOYMENT_TARGET%"
-  echo "Building web site using Gulp"
-  call :ExecuteCmd ".\node_modules\.bin\gulp.cmd"
-  if !ERRORLEVEL! NEQ 0 goto error
-  popd
-)+
+echo 4. Execute Gulp
+IF EXIST "Gulpfile.js" (
+    call .\node_modules\.bin\gulp build
+    IF !ERRORLEVEL! NEQ 0 goto error
+)
+
+echo 5. Install JSPM
+call :ExecuteCmd !NPM_CMD! install jspm
+IF !ERRORLEVEL! NEQ 0 goto error
+
+echo 5. Install JSPM packages
+call :ExecuteCmd jspm install -y
+IF !ERRORLEVEL! NEQ 0 goto error
+
+
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+
+:: 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.


Fixes the examples and external directory creation. (#269)

--- releaseWindows.bat
+++ releaseWindows.bat
@@ -105,8 +105,6 @@
 mkdir .\cpp\Windows_64\hazelcast\lib\shared
 mkdir .\cpp\Windows_64\hazelcast\lib\tls\shared
 mkdir .\cpp\Windows_64\hazelcast\include\hazelcast
-mkdir .\cpp\Windows_64\external\include
-mkdir .\cpp\Windows_64\examples

 xcopy /S /Q hazelcast\include\hazelcast\* cpp\Windows_64\hazelcast\include\hazelcast\
 xcopy /S /Q hazelcast\generated-sources\include\hazelcast\* cpp\Windows_64\hazelcast\include\hazelcast\
@@ -116,7 +114,7 @@
 copy ReleaseStatic64\Release\HazelcastClient*  cpp\Windows_64\hazelcast\lib\static\
 copy ReleaseStatic64TLS\Release\HazelcastClient*  cpp\Windows_64\hazelcast\lib\tls\static\

-echo "Linking to external libraries and examples for 32-bit release"
+echo "Linking to external libraries and examples for 64-bit release"
 pushd cpp\Windows_64
 mklink /j examples ..\examples
 mklink /j external ..\external


change script

change script

--- script/finish-feature-branch.bat
+++ script/finish-feature-branch.bat
@@ -42,7 +42,7 @@
 echo.
 echo.
 echo Start Pull Request for Feature to master
-git request-pull feature-%feature_branch% origin master
+git request-pull feature-%feature_branch% origin develop

 echo Now Please Go To GitHub and Do a Pull Request on feature-%feature_branch%
 echo Or continue with the after-festure-pull-request.bat


Fix Issue 474 were ToolRuntime dir wasn't getting deleted

--- init-tools.cmd
+++ init-tools.cmd
@@ -28,6 +28,8 @@
   echo Tools are already initialized.
   goto :EOF
 )
+
+if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"

 :: Download nuget
 if NOT exist "%PACKAGES_DIR%\NuGet.exe" (


Rename batch label

Rename batch label

--- test-coverage.bat
+++ test-coverage.bat
@@ -32,19 +32,24 @@
 @Rem OpenCover Command
 @set OpenCoverCommand=%OpenCoverNugetPackage%

-@if "%appveyor%" == "True" goto start_build
+@if "%appveyor%" == "True" goto start-opencover

 @rem use OpenCover release build for local build and coverage reports
 @set OpenCoverCommand=%OpenCoverReleaseBuild%

-@rem copy OpenCover release build into SharpDevelop bin&src
+@rem copy OpenCover release build into SharpDevelop bin
 @del /Q /S E:\GitHub\SharpDevelop\bin\Tools\OpenCover\*
 @del /Q /S E:\GitHub\SharpDevelop\src\Tools\OpenCover\*
 @xcopy E:\GitHub\opencover\main\bin\Release\* E:\GitHub\SharpDevelop\src\Tools\OpenCover\ /S
 @xcopy E:\GitHub\opencover\main\bin\Release\* E:\GitHub\SharpDevelop\bin\Tools\OpenCover\ /S
-@if "%pause%" == "True" pause

-:start_build
+@Rem Local Build?
+@if not exist "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" goto start-opencover
+@"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" DBCL.sln /t:Clean,Build
+@Rem if not exist "E:\cov-analysis-win64-7.7.0.4\bin\cov-build.exe" goto start-opencover
+@Rem E:\cov-analysis-win64-7.7.0.4\bin\cov-build --dir cov-int "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" DBCL.sln /t:Clean,Build
+
+:start-opencover

 @Rem OpenCover Options
 @set OpenCoverOptions=-register:user -threshold:1 -mergebyhash -hideskipped:All
@@ -62,13 +67,6 @@
 @echo OpenCover     Options: %OpenCoverOptions%
 @%OpenCoverCommand% -version
 @echo.
-
-@Rem Local Build?
-@if "%appveyor%" == "True" goto run-all-tests
-@if not exist "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" goto run-all-tests
-@if not exist "E:\cov-analysis-win64-7.7.0.4\bin\cov-build.exe" goto run-all-tests
-@Rem E:\cov-analysis-win64-7.7.0.4\bin\cov-build --dir cov-int "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" DBCL.sln /t:Clean,Build
-@"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" DBCL.sln /t:Clean,Build

 :run-all-tests
 @call :run-single-test "Extensions"  "+[DBCL]DD.Extends*"


Do a more thorough cleaning of the build environment.


Update bld.bat

Update bld.bat

--- recipes/cppad/bld.bat
+++ recipes/cppad/bld.bat
@@ -1,8 +1,5 @@
 mkdir build
 cd build
-
-set "CC=clang-cl.exe"
-set "CXX=clang-cl.exe"

 cmake ^
     -G "NMake Makefiles" ^


merging from master and copying files to proper locations

--- recipes/msmpi/bld.bat
+++ recipes/msmpi/bld.bat
@@ -6,6 +6,12 @@

 msbuild.exe /p:Platform=%PLATFORM% /p:Configuration=Release

-robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_PREFIX%\ *.* /s /e
+robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_BIN%\ *.exe /s /e
+robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_BIN%\ *.dll /s /e
+
+robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_INC%\ *.h /s /e
+robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_INC%\ *.f /s /e
+
+robocopy %SRC_DIR%\out\Release-%PLATFORM%\ %LIBRARY_LIB%\ *.lib /s /e

 dir /s /b


Add tbb to appveyor

Add tbb to appveyor

--- buildscripts/incremental/setup_conda_environment.cmd
+++ buildscripts/incremental/setup_conda_environment.cmd
@@ -26,5 +26,6 @@
 if "%BUILD_DOC%" == "yes" (%PIP_INSTALL% sphinx_bootstrap_theme)
 @rem Install dependencies for code coverage (codecov.io)
 if "%RUN_COVERAGE%" == "yes" (%PIP_INSTALL% codecov)
-
+@rem Install TBB
+%CONDA_INSTALL% tbb tbb-devel
 if %errorlevel% neq 0 exit /b %errorlevel%


Allows windows dependency build to have different version number than main

--- winpackage.bat
+++ winpackage.bat
@@ -5,7 +5,9 @@
 :: (assumes zip and pscp command line tools are available.  See the GnuWin32 zip tool and PuTTy)

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

 :: zip dependency libraries
 ::   release
-set depfolder=Klampt-%klamptversion%.win32-deps-vs2015
+set depfolder=Klampt-%klamptdepversion%.win32-deps-vs2015
 mkdir %depfolder%
 cd Cpp\Dependencies
 for %%I in (assimp--3.0.1270-sdk\lib\assimp_release-dll_win32\* Assimp32.dll glpk_4_61.dll glpk_4_61.lib glew32.dll glew32.lib KrisLibrary.lib ode_double.lib tinyxml_STL.lib) do copy /Y %%I ..\..\%depfolder%
@@ -119,7 +121,7 @@
 if %errorlevel% neq 0 exit /b %errorlevel%

 ::   debug
-set depfolder=Klampt-%klamptversion%.win32-deps-vs2015d
+set depfolder=Klampt-%klamptdepversion%.win32-deps-vs2015d
 mkdir %depfolder%
 cd Cpp\Dependencies
 for %%I in (assimp--3.0.1270-sdk\lib\assimp_debug-dll_win32\* Assimp32d.dll  glpk_4_61.dll glpk_4_61.lib glew32.dll glew32.lib KrisLibraryd.lib ode_doubled.lib ode-0.14\lib\DebugDoubleLib\ode.pdb tinyxmld_STL.lib) do copy /Y %%I ..\..\%depfolder%
@@ -131,7 +133,7 @@
 if %errorlevel% neq 0 exit /b %errorlevel%

 ::   release x64
-set depfolder=Klampt-%klamptversion%.win64-deps-vs2015
+set depfolder=Klampt-%klamptdepversion%.win64-deps-vs2015
 mkdir %depfolder%
 cd Cpp\Dependencies
 for %%I in (assimp--3.0.1270-sdk\lib\assimp_release-dll_x64\* x64\Assimp64.dll glpk_4_61.dll glpk_4_61.lib glew32.dll glew32.lib x64\KrisLibrary.lib x64\ode_double.lib x64\tinyxml_STL.lib) do copy /Y %%I ..\..\%depfolder%
@@ -143,7 +145,7 @@
 if %errorlevel% neq 0 exit /b %errorlevel%

 ::   debug x64
-set depfolder=Klampt-%klamptversion%.win64-deps-vs2015d
+set depfolder=Klampt-%klamptdepversion%.win64-deps-vs2015d
 mkdir %depfolder%
 cd Cpp\Dependencies
 for %%I in (assimp--3.0.1270-sdk\lib\assimp_release-dll_x64\* x64\Assimp64d.dll glpk_4_61.dll glpk_4_61.lib glew32.dll glew32.lib x64\KrisLibraryd.lib x64\ode_doubled.lib x64\tinyxmld_STL.lib) do copy /Y %%I ..\..\%depfolder%
@@ -161,10 +163,10 @@
 :: Qt5 doesn't have a 64-bit version
 :: pscp msvc64/Klampt-%klamptversion%-win64.msi hauser@motion.pratt.duke.edu:software/
 if %errorlevel% neq 0 exit /b %errorlevel%
-pscp Klampt-%klamptversion%.win32-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
-pscp Klampt-%klamptversion%.win32-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
-pscp Klampt-%klamptversion%.win64-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
-pscp Klampt-%klamptversion%.win64-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptdepversion%.win32-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptdepversion%.win32-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptdepversion%.win64-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptdepversion%.win64-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
 if %errorlevel% neq 0 exit /b %errorlevel%

 :: upload wheels to motion website


Added a full build batch script.

Added a full build batch script.

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

--- full-build-1.6.bat
+++ full-build-1.6.bat
@@ -0,0 +1,5 @@
+setlocal
+echo Setting JAVA_HOME to %JAVA6_HOME%.
+set JAVA_HOME=%JAVA6_HOME%
+call mvn clean install -Pall -DperformRelease
+endlocal


windows start script

windows start script

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

--- juno-start.bat
+++ juno-start.bat
@@ -0,0 +1,2 @@
+SET dir=%~dp0
+perl %dir%/bin/ircd %dir% NOFORK


batch file to easily elevate the project on startup One only needs to run as administrator through the right-click context menu instead of starting Visual Studio as administrator first and then loading the project.

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

--- yugioh.sln.bat
+++ yugioh.sln.bat
@@ -0,0 +1,2 @@
+@echo off
+start "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" ".\%~n0"


VS120COMNTOOLS

--- Build/Build.cmd
+++ Build/Build.cmd
@@ -1,5 +1,5 @@
 @echo on
-call "%VS100COMNTOOLS%vsvars32.bat"
+call "%VS120COMNTOOLS%vsvars32.bat"

 msbuild.exe /ToolsVersion:4.0 "..\GongSolutions.Wpf.DragDrop (NET35).sln" /p:StrongName=True /p:configuration=Release
 msbuild.exe /ToolsVersion:4.0 "..\GongSolutions.Wpf.DragDrop (NET4).sln" /p:StrongName=True /p:configuration=Release


Create numbrute.bat

Create numbrute.bat

Initial Commit

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

--- numbrute.bat
+++ numbrute.bat
@@ -0,0 +1,55 @@
+@echo off
+REM ---------------------------------------------------------
+REM Brute Force Numeric Password cracker
+REM ++++++++++++++++++++++++++++++++++++
+REM https://github.com/thecodeisclear/numeric-brute-7z
+REM This code is provided as-is without any warranty. While
+REM sufficient testing has been done on the piece of code
+REM it is advised to backup any data prior to execution
+REM ---------------------------------------------------------
+setlocal enableDelayedExpansion
+
+
+set starttime=%date%_%time%
+REM change the path to the location of 7z.exe. Below path is an example
+REM from the 7zip portable app
+set PATH=D:\Prog\7z\App\7-Zip;%PATH%
+REM change the archive name to point to the file of your choice
+set archive=sample.7z
+REM change the file2xtr to a sample file from the input archive
+REM by attempting to extract only 1 file, the process is much faster
+REM if the input file is within a folder in the archive, include it
+REM in the folder variable and the filename in file2xtr
+set file2xtr=sample.txt
+REM folder will be blank unless the sample file to extract lies within
+REM a folder of the archive ending with a \
+set "folder="
+REM starting counter for the script
+set strtNum=0
+REM ending counter for the script
+set endNum=999
+
+REM -----------------
+REM Do not edit below
+REM -----------------
+
+
+for /L %%X in (%strtNum%, 1, %endNum%) do (
+
+	7Z E %archive% %folder%%file2xtr% -P%%X >nul 2>&1
+	if exist %file2xtr% (
+		call filesize.bat %file2xtr% %%X
+		if exist %file2xtr% (
+			echo .
+			echo - - - - - - - - - - - - - Password found: %%X
+			echo .
+			goto END
+		)
+	)
+
+)
+echo : : : : : : : : : : : : : Password not found. Please try with a different range
+echo .
+:END
+echo Started @ %starttime%
+echo Finished @ %date%_%time%


cleanup

cleanup

--- plugin/compile.bat
+++ plugin/compile.bat
@@ -1,4 +0,0 @@
-path=Q:\scripting
-spcomp servertools.sp
-copy servertools.smx D:\csgods\csgo\addons\sourcemod\plugins\ /Y
-pause


mvn convenient command line tool

mvn convenient command line tool

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

--- batch/maven.bat
+++ batch/maven.bat
@@ -0,0 +1,91 @@
+@echo off
+
+call :debug start ...
+
+setlocal enabledelayedexpansion
+
+call :debug test maven installation ...
+call mvn --version>nul 2>&1 && set mvnfound=true
+if not defined mvnfound goto :mvnnotfound
+
+set commands=install get deploy
+rem maven get -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version|
+rem maven install -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext
+rem maven deploy -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext -i:repositoryId
+
+call :debug supported commands: !commands!
+
+call :debug parse arguments ...
+set repoUrl=http://repo1.maven.org/maven2/
+for %%c in (%*) do (
+	set arg=%%c
+	set opt=!arg:~0,2!
+	set val=!arg:~3!
+	if "x!arg!" equ "xinstall" (
+		set command=install
+	) else if "x!arg!" equ "xget" (
+		set command=get
+	) else if "x!opt!" equ "x-r" (
+		set repoUrl=!val!
+	) else if "x!opt!" equ "x-m" (
+		for /f "tokens=1,2,3,4,5 delims=:" %%m in ("!val!") do (
+			set groupId=%%m
+			set artifactId=%%n
+			set version=%%o
+			set packaging=%%p
+		)
+	) else if "x!opt!" equ "x-f" (
+		set file=!val!
+	) else if "x!opt!" equ "x-i" (
+		set repositoryId=%%q
+	)
+)
+
+call :debug command: !command!
+call :debug repoUrl: !repoUrl!
+call :debug groupId: !groupId!
+call :debug artifactId: !artifactId!
+call :debug version: !version!
+call :debug packaging: !packaging!
+call :debug repositoryId: !repositoryId!
+call :debug file: !file!
+
+if not defined command goto :usage
+for %%c in (!commands!) do (
+	call :debug supported command: %%c
+	if "x%%c" equ "x!command!" (
+		call :debug command [!command!] is going to be executed ...
+		goto :!command!
+	)
+)
+goto :usage
+
+:debug
+if defined debug echo %*
+goto :eof
+
+:usage
+echo usage:
+echo   %~n0 get -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version
+echo   %~n0 install -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext
+echo   %~n0 deploy -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext -i:repositoryId
+goto :exit
+
+:install
+mvn install:install-file -DgroupId=!groupId! -DartifactId=!artifactId! -Dversion=!version! -Dpackaging=!packaging! -Dfile=!file!
+goto :exit
+
+:deploy
+mvn deploy:deploy-file -DgroupId=!groupId! -DartifactId=!artifactId! -Dversion=!version! -Dpackaging=!packaging! -Dfile=!file! -Durl=!repoUrl! -DrepositoryId=!repositoryId!
+goto :exit
+
+:get
+mvn dependency:get -DrepoUrl=!repoUrl! -Dartifact=!groupId!:!artifactId!:!version!
+goto :exit
+
+:mvnnotfound
+echo mvn not in PATH, program is going to exit.
+goto :exit
+
+:exit
+endlocal


Run compile.ps1 with Unrestricted execution policy

The default PowerShell execution policy prevents compile.ps1 from running. We fixed this for release.ps1, but didn't realize compile.ps1 was failing as well.

--- bin/compile.bat
+++ bin/compile.bat
@@ -1,2 +1,2 @@
 @echo off
-powershell.exe %~dp0\compile.ps1 %1 %2 %3
+powershell.exe -ExecutionPolicy Unrestricted %~dp0\compile.ps1 %1 %2 %3


Updated comments

Updated comments

--- src/process_version2/process.bat
+++ src/process_version2/process.bat
@@ -36,7 +36,7 @@
 rem * and limitations under the License.
 rem *
 rem * Last updates: 2001-07-14
-rem *               2008-02-04 ( "Microsoft Vista ready" ),
+rem *               2008-02-04 ( "Microsoft Vista ready" )
 rem *               2009-08-24 ( "htdocs" )
 rem *
 pushd


added cmake build batch file as example

added cmake build batch file as example

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

--- build-cmake.bat
+++ build-cmake.bat
@@ -0,0 +1,6 @@
+mkdir ./cmake-build
+cd ./cmake-build
+  cmake -DCMAKE_INSTALL_PREFIX=..\cmake-install -DRAW_PARSER_SOURCE_DIR=C:\Users\pawi002\ROMCON\raw-parser\ -G"MinGW Makefiles" -DPFNET_GRAPHVIZ=OFF -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ..
+  mingw32-make -j
+  mingw32-make install
+cd ..


#21 Removal of StkObjectUtil.h from build script file because of integration with StkObject.h.

--- build/build.bat
+++ build/build.bat
@@ -147,14 +147,12 @@
 copy "..\src\commonfunc\StkGeneric.h" deployment
 copy "..\src\commonfunc\StkProperties.h" deployment
 copy "..\src\commonfunc\StkObject.h" deployment
-copy "..\src\commonfunc\StkObjectUtil.h" deployment
 copy "..\src\commonfunc\Release\commonfunc.lib" deployment
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\commonfunc.lib
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\msgproc.h
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\StkGeneric.h
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\StkProperties.h
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\StkObject.h
-%SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\StkObjectUtil.h
 %SEVENZIP% a ..\build\deployment\commonfunc.zip ..\build\deployment\commonfunc.pdf
 %SEVENZIP% a ..\build\deployment\commonfunc.zip buildver.txt
 del ..\build\deployment\commonfunc.lib
@@ -162,7 +160,6 @@
 del ..\build\deployment\StkGeneric.h
 del ..\build\deployment\StkProperties.h
 del ..\build\deployment\StkObject.h
-del ..\build\deployment\StkObjectUtil.h
 del ..\build\deployment\commonfunc.pdf

 echo Building stkthread.sln...


Make sourceID the third column

Make sourceID the third column

--- dr2/lib/stilts-band-merging.cmd
+++ dr2/lib/stilts-band-merging.cmd
@@ -210,5 +210,5 @@
 addcol -desc "Distance from the optical axis" rAxis "toFloat( maximum(array(NULL_rAxisDist?0:rAxisDist, NULL_iAxisDist?0:iAxisDist, NULL_haAxisDist?0:haAxisDist)) )"

 # Remove obsolete columns
-keepcols 'sourceID ra dec posErr l b mergedClass mergedClassStat pStar pGalaxy pNoise pSaturated rmi rmha r rErr rPeakMag rPeakMagErr rAperMag1 rAperMag1Err rAperMag3 rAperMag3Err rGauSig rEll rPA rClass rClassStat rErrBits rMJD rSeeing rDetectionID rCCD rX rY rPlaneX rPlaneY i iErr iPeakMag iPeakMagErr iAperMag1 iAperMag1Err iAperMag3 iAperMag3Err iGauSig iEll iPA iClass iClassStat iErrBits iMJD iSeeing iDetectionID iCCD iX iY iPlaneX iPlaneY iXi iEta ha haErr haPeakMag haPeakMagErr haAperMag1 haAperMag1Err haAperMag3 haAperMag3Err haGauSig haEll haPA haClass haClassStat haErrBits haMJD haSeeing haDetectionID haCCD haX haY haPlaneX haPlaneY haXi haEta brightNeighb deblend saturated vignetted truncated badPix errBits nBands reliable night seeing rAxis fieldID fieldGrade'
-
+keepcols 'ra dec sourceID posErr l b mergedClass mergedClassStat pStar pGalaxy pNoise pSaturated rmi rmha r rErr rPeakMag rPeakMagErr rAperMag1 rAperMag1Err rAperMag3 rAperMag3Err rGauSig rEll rPA rClass rClassStat rErrBits rMJD rSeeing rDetectionID rCCD rX rY rPlaneX rPlaneY i iErr iPeakMag iPeakMagErr iAperMag1 iAperMag1Err iAperMag3 iAperMag3Err iGauSig iEll iPA iClass iClassStat iErrBits iMJD iSeeing iDetectionID iCCD iX iY iPlaneX iPlaneY iXi iEta ha haErr haPeakMag haPeakMagErr haAperMag1 haAperMag1Err haAperMag3 haAperMag3Err haGauSig haEll haPA haClass haClassStat haErrBits haMJD haSeeing haDetectionID haCCD haX haY haPlaneX haPlaneY haXi haEta brightNeighb deblend saturated vignetted truncated badPix errBits nBands reliable night seeing rAxis fieldID fieldGrade'
+


path fix

path fix

--- src/visu/wxvisu_PageXmlTABLE.bat
+++ src/visu/wxvisu_PageXmlTABLE.bat
@@ -1 +1 @@
-C:\Anaconda2\python.exe c:\local\meunier\git\DLA\src\visu\wxvisu\wxvisu.py %0.ini %1+C:\Anaconda2\python.exe c:\local\meunier\git\TranskribusDU\src\visu\mpxml_viewer.bat.py %0.ini %1


fix certificate utility

fix certificate utility

--- bin/createOPCUACertificate.cmd
+++ bin/createOPCUACertificate.cmd
@@ -1,6 +1,6 @@

 SET BASE=%~dp0%
-echo applicationUri %1%
-echo output         %2%
+echo applicationUri %1
+echo output         %2

-node %BASE%\crypto_create_CA.js --new --applicationUri %1% --prefix %2%+node %BASE%\crypto_create_CA.js certificate --selfSigned --applicationUri %1 -o %2


Remove --offline option from astroml recipe

astroml doesn't use astropy-helpers

--- recipe_templates/astroml/bld.bat
+++ recipe_templates/astroml/bld.bat
@@ -1,4 +1,4 @@
-"%PYTHON%" setup.py install --ofline
+"%PYTHON%" setup.py install
 if errorlevel 1 exit 1

 :: Add more build steps here, if they are necessary.


Remove platform=windows from Meson build configuration as it's no longer valid.

--- buildscript/modules/mesa3d.cmd
+++ buildscript/modules/mesa3d.cmd
@@ -45,7 +45,7 @@
 :configmesabuild
 @rem Configure Mesa build.
 @if %pythonver%==2 set buildcmd=%pythonloc% %pythonloc:~0,-10%Scripts\scons.py build=release platform=windows machine=%longabi% libgl-gdi
-@if %pythonver% GEQ 3 set buildcmd=%mesonloc% . .\build\windows-%longabi% --backend=vs2017 -Dplatforms=windows
+@if %pythonver% GEQ 3 set buildcmd=%mesonloc% . .\build\windows-%longabi% --backend=vs2017
 @set /p osmesa=Do you want to build off-screen rendering drivers (y/n):
 @echo.
 @if %pythonver%==2 if /I "%osmesa%"=="y" set buildcmd=%buildcmd% osmesa


*** empty log message ***

*** empty log message ***

--- make_uname.bat
+++ make_uname.bat
@@ -1,5 +1,15 @@
 @echo off
 REM This builds all the libraries for 1 uname
-
-REM FOR %%u IN (src srccd srccontrols srcpplot srcgl srcim srcole srctuio srcledc srcview srclua3 srclua5 srcconsole) DO call make_uname_lib.bat %%u %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+if defined TECGRAF_INTERNAL goto tec_internal
+goto tec_default
+
+:tec_internal
+FOR %%u IN (src srccd srccontrols srcpplot srcgl srcim srcole srctuio srcledc srcview srclua3 srclua5 srcconsole) DO call make_uname_lib.bat %%u %1 %2 %3 %4 %5 %6 %7 %8 %9
+goto end
+
+:tec_default
 FOR %%u IN (src srccd srccontrols srcpplot srcgl srcim srcimglib srcole srctuio srcledc srcview srclua5 srcconsole) DO call make_uname_lib.bat %%u %1 %2 %3 %4 %5 %6 %7 %8 %9
+goto end
+
+:end


auto open the site

auto open the site

--- run-iisexpress.cmd
+++ run-iisexpress.cmd
@@ -1 +1,2 @@
+start http://localhost:8080/examples/example.html
 "c:\program files\iis express\iisexpress.exe" /path:"%CD%"


Update command line options for new windows services

--- start-services.bat
+++ start-services.bat
@@ -1,2 +1,2 @@
-START /B qdb\bin\qdbd.exe -a 127.0.0.1:28360 --security=false --transient -r qdb/db
-START /B qdb\bin\qdbd.exe -a 127.0.0.1:28361 --security=true --cluster-private-file=cluster-secret-key.txt --user-list=users.txt --transient -r qdb/securedb
+START /B qdb\bin\qdbd.exe -a 127.0.0.1:28360 --security=false --storage-engine=transient -r qdb/db
+START /B qdb\bin\qdbd.exe -a 127.0.0.1:28361 --security=true --cluster-private-file=cluster-secret-key.txt --user-list=users.txt --storage-engine=transient -r qdb/securedb


Update src/buildvcstatic.bat

Update src/buildvcstatic.bat


Firebase Opensource: Updated cpp to use windows kokoro build setup from unity

PiperOrigin-RevId: 272102843

--- test_windows.bat
+++ test_windows.bat
@@ -1,22 +1,83 @@
-:: Make a directory to work in
-mkdir windows_build
-cd windows_build
+@echo off

-:: Configure cmake with tests enabled
-:: TODO: Configure the dependencies for Database and Remote Config tests.
-cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON^
- -DFIREBASE_INCLUDE_REMOTE_CONFIG=OFF -DFIREBASE_INCLUDE_DATABASE=OFF
+REM !/bin/bash
+REM
+REM Copyright 2019 Google LLC
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM     http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM
+REM Builds and packs firebase unity meant to be used on a Windows environment.

-:: Check for errors, and return if there were any
-if %errorlevel% neq 0 exit /b %errorlevel%
+SETLOCAL

-:: Build the SDK and the tests
-cmake --build .
+SET status=0
+set PROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER:\=/%

-:: Again, check for errors, and return if there were any
-if %errorlevel% neq 0 exit /b %errorlevel%
+IF EXIST "C:\Program Files (x86)\OpenSSL-Win32" (
+  SET OPENSSL_x32=C:/Program Files ^(x86^)/OpenSSL-Win32
+) ELSE (
+  ECHO ERROR: Cant find open ssl x32
+  EXIT /B -1
+)

-:: Run the tests
-ctest --verbose
+IF EXIST "C:\Program Files\OpenSSL-Win64" (
+  SET OPENSSL_x64=C:/Program Files/OpenSSL-Win64
+) ELSE (
+  ECHO ERROR: Cant find open ssl x64
+  EXIT /B -1
+)

-exit /b %ERRORLEVEL%+CALL :BUILD x32, "%OPENSSL_x32%", ""
+if %errorlevel% neq 0 (SET status=%errorlevel%)
+
+CALL :BUILD x64, "%OPENSSL_x64%", "-A x64"
+if %errorlevel% neq 0 (SET status=%errorlevel%)
+
+EXIT /B %status%
+
+:BUILD
+  ECHO #################################################################
+  DATE /T
+  TIME /T
+  ECHO Building config '%~1' with option '%~3'.
+  ECHO #################################################################
+
+  @echo on
+
+  mkdir windows_%~1
+  pushd windows_%~1
+
+  cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER% -DOPENSSL_ROOT_DIR="%~2" %~3
+
+  :: Check for errors, and return if there were any
+  if %errorlevel% neq 0 (
+    popd
+    @echo off
+    exit /b %errorlevel%
+  )
+
+  cmake --build . --config Release
+
+  :: Again, check for errors, and return if there were any
+  if %errorlevel% neq 0 (
+    popd
+    @echo off
+    exit /b %errorlevel%
+  )
+
+  :: Run the tests
+  ctest --verbose
+
+  popd
+  @echo off
+EXIT /B %errorlevel%


rev number

rev number

--- bat/bat_get_kam_folder.bat
+++ bat/bat_get_kam_folder.bat
@@ -23,8 +23,8 @@

 REM Replace ' with nothing to get the version info
 REM @SET kam_revision=%verinfo:'=%
-@SET kam_revision=9
+@SET kam_revision=8105

 REM Now we can have a constant with the right folder name
-@SET kam_folder=%BetaVersionsDir%\kam%YYYY%-%MM%-%DD% (%kam_version% rev%kam_revision%)
+@SET kam_folder=%BetaVersionsDir%\kam%YYYY%-%MM%-%DD% (%kam_version% r%kam_revision%)
 echo kam_folder: "%kam_folder%"


fixed bug in windows script

fixed bug in windows script

--- run.bat
+++ run.bat
@@ -2,12 +2,12 @@
 SET BASEDIR=%~dp0.
 cd %BASEDIR%

-FOR /F "delims=|" %%I IN ('DIR /B /O:D') DO SET LATEST_JAR=%%I
+FOR /F "delims=|" %%I IN ('DIR datasetutils*.jar /B /O:D') DO SET LATEST_JAR=%%I
 echo %LATEST_JAR%

 java -cp .;%LATEST_JAR% com.sforce.dataset.util.UpgradeChecker

-FOR /F "delims=|" %%I IN ('DIR /B /O:D') DO SET LATEST_JAR=%%I
+FOR /F "delims=|" %%I IN ('DIR datasetutils*.jar /B /O:D') DO SET LATEST_JAR=%%I
 echo %LATEST_JAR%

 java -Xmx1G -jar %LATEST_JAR% --server true


updata

updata

--- run.cmd
+++ run.cmd
@@ -8,5 +8,6 @@

 docker run --name columns -d --platform=linux -v %CD%:/srv/jekyll -p 4000:4000 jekyll/jekyll:3.8.3 jekyll s --watch --drafts --incremental  --destination /tmp --unpublished
+:: docker run --platform linux --name columns -d -p 4000:4000 --entrypoint jekyll wcshub.azurecr.io/columns:20180723-jekyll-3.8.1 s --watch --drafts --incremental --source /home/source --destination /tmp --unpublished

 :: docker run --name columns -d -p 4000:4000 --entrypoint jekyll andrew0928/columns:20180723-jekyll-3.8.1 s --watch --drafts --incremental --source /home/source --destination /tmp --unpublished


fixed main.bat

fixed main.bat

--- projects/main.bat
+++ projects/main.bat
@@ -44,7 +44,7 @@
 	if %errorlevel%==11 call :download_godot
 	if %errorlevel%==12 call :create_project_static_physx
 	if %errorlevel%==13 call :push_to_itch_io
-	if %errorlevel%==13 call :create_project_with_app
+	if %errorlevel%==14 call :create_project_with_app
 goto :begin

 :plugins


# sprint-25-6.2.0 OpenGL under Windows is optional.

--- modules/visor-trial/ggvisorui.bat
+++ modules/visor-trial/ggvisorui.bat
@@ -108,7 +108,7 @@
 :: set JVM_OPTS_VISOR=%JVM_OPTS_VISOR% -Djava.net.preferIPv4Stack=true

 :: Force to use OpenGL
-set JVM_OPTS_VISOR=%JVM_OPTS_VISOR% -Dsun.java2d.opengl=True
+:: set JVM_OPTS_VISOR=%JVM_OPTS_VISOR% -Dsun.java2d.opengl=True

 ::
 :: Starts Visor Dashboard.


I'dd rather not have the console open at all times.

git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@2445 5fb7f6ec-07c1-534a-b4ca-9155e429e800

--- bin/Spoon.bat
+++ bin/Spoon.bat
@@ -61,4 +61,4 @@
 REM ** Run...    **
 REM ***************

-java %OPT% be.ibridge.kettle.spoon.Spoon %1 %2 %3 %4 %5 %6 %7 %8 %9
+start javaw %OPT% be.ibridge.kettle.spoon.Spoon %1 %2 %3 %4 %5 %6 %7 %8 %9


- standalone.cmd for JBoss

- standalone.cmd for JBoss

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

--- standalone-jrebel.cmd
+++ standalone-jrebel.cmd
@@ -0,0 +1,4 @@
+@echo off
+set REBEL_HOME=C:\jrebel
+set JAVA_OPTS=-javaagent:%REBEL_HOME%\jrebel.jar -Xms256m -Xmx512m -XX:MaxPermSize=256m %JAVA_OPTS%
+call "%~dp0\standalone.bat" %*