Fixed publish script

Fixed publish script

--- publish.bat
+++ publish.bat
@@ -1,5 +1,5 @@
 call gulp
-cd C:\portable\data\git\ra-ng\ra-ng\dist
+cd D:\workspaces\ra-ng-pub\ra-ng\dist
 copy ..\package.json .
 copy ..\README-npm.md .\README.md
 dir


Version 1.0.0-SNAPSHOT

Version 1.0.0-SNAPSHOT

--- release.bat
+++ release.bat
@@ -12,7 +12,7 @@
 pause
 call mvn scm:tag -Dtag=%1
 pause
-call mvn clean deploy -Psamples,sonatype-oss-release
+call mvn clean deploy -Psonatype-oss-release
 pause
 call mvn versions:set -Dversions -DnewVersion=%2
 pause


Fixed incorrect year in release build

Fixed incorrect year in release build


v2.7.0

--- release.cmd
+++ release.cmd
@@ -1,11 +0,0 @@
-@echo off
-del chrome_bar.zip >nul
-winrar a -afzip -m5 -r chrome_bar.zip \
-                  _locales \
-                  css \
-                  html \
-                  icons \
-                  js \
-                  lib \
-                  manifest.json \
-                  -xnode_modules


fixes

fixes

--- vendor/bin/alias.cmd
+++ vendor/bin/alias.cmd
@@ -96,8 +96,6 @@
   )
 ) else (
   :: validate alias
-  rem set _x=!_x:%=^^%!
-
   for /f "delims== tokens=1,* usebackq" %%G in (`echo "!_x!"`) do (
     set alias_name=%%G
     set alias_value=%%H


4.0.0-alpha-044

--- pack.bat
+++ pack.bat
@@ -7,5 +7,5 @@
   && dotnet build test\Aqua.Tests.TestObjects2 ^
   && dotnet build test\Aqua.Tests ^
   && dotnet test test\Aqua.Tests\Aqua.Tests.csproj ^
-  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 043 ^
-  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 043+  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 044 ^
+  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 044


removed redundant quotation marks

removed redundant quotation marks

On windows: double use of quotation marks let the batch build fail

--- deploy.bat
+++ deploy.bat
@@ -15,8 +15,8 @@
 IF NOT EXIST %MSBUILD% SET MSBUILD="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
 IF NOT EXIST %MSBUILD% SET MSBUILD="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"

-"%MSBUILD%" %SOURCEDIR%\AutoTest.VS.RiskClassifier\RiskClassifier.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
-"%MSBUILD%" %SOURCEDIR%\AutoTestExtensions.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
+%MSBUILD% %SOURCEDIR%\AutoTest.VS.RiskClassifier\RiskClassifier.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
+%MSBUILD% %SOURCEDIR%\AutoTestExtensions.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild

 IF NOT EXIST %DEPLOYDIR% (
   mkdir %DEPLOYDIR%


Add search for MSBuild

Add search for MSBuild

Newer versions of Visual Studio require a newer version of MSBuild,
bundled with VS instead of the .NET Framework.

--- deploy.bat
+++ deploy.bat
@@ -11,8 +11,12 @@
   del %BINARYDIR%\* /Q
 )

-%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe %SOURCEDIR%\AutoTest.VS.RiskClassifier\RiskClassifier.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
-%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe %SOURCEDIR%\AutoTestExtensions.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
+SET MSBUILD="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
+IF NOT EXIST %MSBUILD% SET MSBUILD="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
+IF NOT EXIST %MSBUILD% SET MSBUILD="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
+
+"%MSBUILD%" %SOURCEDIR%\AutoTest.VS.RiskClassifier\RiskClassifier.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild
+"%MSBUILD%" %SOURCEDIR%\AutoTestExtensions.sln /property:OutDir=%BINARYDIR%\;Configuration=Release /target:rebuild

 IF NOT EXIST %DEPLOYDIR% (
   mkdir %DEPLOYDIR%


Build Master:2017-03-03T21:35:56.150Z

Build Master:2017-03-03T21:35:56.150Z

--- deploy.cmd
+++ deploy.cmd
@@ -70,6 +70,8 @@
     pushd "%DEPLOYMENT_SOURCE%\.deploy\"
     npm install --production --progress=false --cache-min=432000
     popd
+) ELSE (
+   "%DEPLOYMENT_SOURCE%\.deploy\node_modules already exists"
 )

 ::Initial install if node_modules doesn't exist.


Fixed deploy cmd syntax

Fixed deploy cmd syntax

--- deploy.cmd
+++ deploy.cmd
@@ -94,17 +94,17 @@
 IF "%AUTO_WEBAPP_BUILD%" EQU "ON" (
 	SET DO_WEBAPP_BUILD=1
 )
-ELSE IF "%AUTO_WEBAPP_BUILD%" EQU "DETECT" (
+IF "%AUTO_WEBAPP_BUILD%" EQU "DETECT" (
 	fc /b %DEPLOY_META_CURRENT_PACKAGE_JSON% %DEPLOY_META_LAST_PACKAGE_JSON%
 	:: Returned program codes:
 	:: 1 means: there are differences between both files
 	:: 0 means: no differences
 	:: 2 means file not found
 	:: -1 means: invalid syntax
-	If "%ERRORLEVEL%"=="-1" (
+	If %ERRORLEVEL% EQU -1 (
 		goto error
 	)
-	ELSE IF %ERRORLEVEL%>0 (
+	IF %ERRORLEVEL% GTR 0 (
 		:: no file (first time) or differences, request build!
 		SET DO_WEBAPP_BUILD=1
 		:: after success build, we will copy the file so it becomes the new 'last' one


Update deployment script

Update deployment script

--- deploy.cmd
+++ deploy.cmd
@@ -97,60 +97,25 @@
 )

-:: 5. Create lastCommit, packageJsonLastCommit, bowerLastCommit, typingsLastCommit vars
-  pushd "%DEPLOYMENT_SOURCE%"
-
-  call :ExecuteCmd git log -n 1 --oneline > lastCommit.txt
-  IF !ERRORLEVEL! NEQ 0 goto error
-  SET /p lastCommit=<lastCommit.txt
-  DEL lastCommit.txt
-
-
-  call :ExecuteCmd git log -n 1 --oneline -- AzureFunctions.Client\package.json > packageJsonLastCommit.txt
-  IF !ERRORLEVEL! NEQ 0 goto error
-  SET /p packageJsonLastCommit=<packageJsonLastCommit.txt
-  DEL packageJsonLastCommit.txt
-
-  call :ExecuteCmd git log -n 1 --oneline -- AzureFunctions.Client\bower.json > bowerLastCommit.txt
-  IF !ERRORLEVEL! NEQ 0 goto error
-  SET /p bowerLastCommit=<bowerLastCommit.txt
-  DEL bowerLastCommit.txt
-
-  call :ExecuteCmd git log -n 1 --oneline -- AzureFunctions.Client\typings.json > typingsLastCommit.txt
-  IF !ERRORLEVEL! NEQ 0 goto error
-  SET /p typingsLastCommit=<typingsLastCommit.txt
-  DEL typingsLastCommit.txt
-
-  popd
-
-:: 6. Install npm packages
+:: 5. Install npm packages
 IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
   pushd "%DEPLOYMENT_TARGET%"

-  SET res=F
-  IF "%packageJsonLastCommit%"=="%lastCommit%" SET res=T
-  IF NOT EXIST "node_modules" SET res=T
-  IF "%res%"=="T" (
+  IF NOT EXIST "node_modules" (
     call :ExecuteCmd npm install
     IF !ERRORLEVEL! NEQ 0 goto error
   ) ELSE (
     echo skipping npm install
   )

-  SET res=F
-  IF "%packageJsonLastCommit%"=="%lastCommit%" SET res=T
-  IF NOT EXIST "jspm_packages" SET res=T
-  IF "%res%"=="T" (
+  IF NOT EXIST "jspm_packages" (
     call :ExecuteCmd npm run jspm:i
     IF !ERRORLEVEL! NEQ 0 goto error
   ) ELSE (
     echo skipping jspm install
   )

-  SET res=F
-  IF "%typingsLastCommit%"=="%lastCommit%" SET res=T
-  IF NOT EXIST "typings" SET res=T
-  IF "%res%"=="T" (
+  IF NOT EXIST "typings" (
     call :ExecuteCmd npm run typings install
     IF !ERRORLEVEL! NEQ 0 goto error
   ) ELSE (
@@ -166,8 +131,8 @@
   call :ExecuteCmd npm run jspm:bundle
   IF !ERRORLEVEL! NEQ 0 goto error

-  call :ExecuteCmd npm run uglifyjs
-  IF !ERRORLEVEL! NEQ 0 goto error
+  ::call :ExecuteCmd npm run uglifyjs
+  ::IF !ERRORLEVEL! NEQ 0 goto error

   popd
 )
@@ -176,10 +141,7 @@
 IF EXIST "%DEPLOYMENT_TARGET%\bower.json" (
   pushd "%DEPLOYMENT_TARGET%"

-  SET res=F
-  IF NOT "%bowerLastCommit%"=="%lastCommit%" SET res=T
-  IF NOT EXIST "bower_components" SET res=T
-  IF "%res%"=="T" (
+  IF NOT EXIST "bower_components" (
     call :ExecuteCmd bower install
     IF !ERRORLEVEL! NEQ 0 goto error
   ) ELSE (


Fix setlocal

Fix setlocal

--- docgen.bat
+++ docgen.bat
@@ -1,7 +1,6 @@
 @echo off
-setlocal
+setlocal ENABLEDELAYEDEXPANSION
 call "%~DP0setenv.bat"
-
 call python.exe "%~DP0docgen.py"
 endlocal
 pause


SCCS ppp.bat 10/06/22 08:50:28: Replaced script headers for Open Source release

--- run/ppp.bat
+++ run/ppp.bat
@@ -1,2 +1,3 @@
-@echo off
+@echo off
+rem Wrapper for ppp.
 sh ppp %*


fix bat script

fix bat script

--- runtest.bat
+++ runtest.bat
@@ -1,7 +1,7 @@
 @echo off
 echo "+++ Running %1"
 FOR /L %%i IN (1,1,100) DO (
-    %1 --use-colour no --order rand --rng-seed time > nul
+    %1 --use-colour no --order rand --rng-seed 'time' > nul
 	if %errorlevel% neq 0 exit /b %errorlevel%
 )
 echo "Tests OK"


Delete vscode_init_args.cmd

Delete vscode_init_args.cmd

--- vscode_init_args.cmd
+++ vscode_init_args.cmd
@@ -1,64 +0,0 @@
-@echo off
-
-:: Below are the default Cmder session settings:
-::
-:: See "%CMDER_ROOT%\README.md" for details on these settings.
-::
-:: `Cmder.exe` Arguments:
-:: ----------------------
-::
-:: `/c [cmder_user_cfg_root]`
-:: NOT USED BY DEFAULT
-:: cmder_user_bin=[cmder_user_cfg_root]\bin
-:: cmder_user_config=[cmder_user_cfg_root]\config
-::
-:: `init.bat` Arguments
-:: --------------------
-::
-:: `/d`
-:: debug_output=0
-::
-:: `/v`
-:: verbose_output=0
-::
-:: `/f`
-:: fast_init=0
-::
-:: `/nix_tools`
-:: nix_tools=1
-::
-:: `/t`
-:: time_init=0
-::
-:: `/max_depth`
-:: max_depth=1
-::
-:: `/user_aliases`
-:: user_aliases=
-::
-:: `/git_install_root`
-:: GIT_INSTALL_ROOT=
-::
-:: `/home`
-:: HOME=
-::
-:: `/svn_ssh`
-:: SVN_SSH=
-
-echo Applying Cmder VSCode settings from '%~0'...
-
-if defined CMDER_CONFIGURED (
-    :: Set Cmder settings here for when VSCode is launched inside Cmder.
-    set CMDER_CONFIGURED=2
-) else (
-    :: Set Cmder settings here for when VSCode is launched from outside Cmder.
-    set nix_tools=0
-    set fast_init=1
-    set cmder_user_bin=c:\users\dtgam\cmder\bin
-    set cmder_user_config=c:\users\dtgam\cmder\config
-)
-
-set verbose_output=1
-
-:: Set all required Cmder VSCode terminal environment settings above this line.
-echo Applying Cmder VSCode settings is complete!


Upgrade to vs2017

Upgrade to vs2017

--- premake.bat
+++ premake.bat
@@ -1,2 +1,2 @@
-premake5 vs2015
+premake5 vs2017
 pause


install.bat cancel now on del error

install.bat cancel now on del error

--- Build/VSIP/install.bat
+++ Build/VSIP/install.bat
@@ -71,7 +71,17 @@
 echo .
 echo .
 echo .
-IF EXIST ..\..\Setup2\Output\CosmosUserKit.exe del /F ..\..\Setup2\Output\CosmosUserKit.exe
+IF NOT EXIST ..\..\Setup2\Output\CosmosUserKit.exe goto afterSetupDelete
+
+	ren %%F tmp 2> nul
+	if ERRORLEVEL 1 (
+		echo Old COSMOS setup could not be removed, it is locked.
+		pause
+		goto exit
+	)
+	del /F ..\..\Setup2\Output\CosmosUserKit.exe
+
+:afterSetupDelete

 IF EXIST "%ProgFiles%\Inno Setup 5\ISCC.exe" (
 	echo Creating setup.exe
@@ -83,4 +93,6 @@
 rem Relaunch VS
 IF EXIST "%ProgFiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" (
 	start "%ProgFiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" ..\..\source\Cosmos.sln
-)+)
+
+:exit


--- publish.bat
+++ publish.bat
@@ -1,5 +1,5 @@
 git status .
 git add .
 git stage .
-git commit -m ux
-git push origin master+git commit -m "🚀Electron && Vue.js && TypeScript && Go 🪐"
+git push origin master


Finish up the publish script!

Finish up the publish script!

--- publish.cmd
+++ publish.cmd
@@ -20,6 +20,9 @@
 cd "%~dp0src"
 for /d %%d in (*) do (
     cd "%%d"
-    "%nuget%" pack %%d.csproj
+    del /q *.nupkg > nul
+    "%nuget%" pack %%d.csproj -Prop Configuration=Release
+    "%nuget%" push *.nupkg
+    del /q *.nupkg
     cd "%~dp0src"
 )


behat.bat executable

behat.bat executable


build script for building Inst4WA and SolrInstWR

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

--- builds.cmd
+++ builds.cmd
@@ -0,0 +1,76 @@
+@echo off
+
+setlocal
+
+if "%1"=="/?" goto usage
+if "%1"=="-?" goto usage
+
+@echo Building SolrInstWR for external release
+@echo Deleting previous build
+
+if exist build rmdir /S /Q build
+if exist Inst4WA\bin rmdir /S /Q Inst4WA\bin
+if exist Inst4WA\DeployCmdlets4WA\bin rmdir /S /Q  Inst4WA\DeployCmdlets4WA\bin
+
+if exist SolrDeployCmdletsSetup\bin  rmdir /S /Q SolrDeployCmdletsSetup\bin
+if exist SolrInstWR\ReplSolr\HelperLib\bin rmdir /S /Q SolrInstWR\ReplSolr\HelperLib\bin
+if exist SolrInstWR\ReplSolr\SolrMasterHostWorkerRole\bin rmdir /S /Q SolrInstWR\ReplSolr\SolrMasterHostWorkerRole\bin
+if exist SolrInstWR\ReplSolr\SolrSlaveHostWorkerRole\bin rmdir /S /Q SolrInstWR\ReplSolr\SolrSlaveHostWorkerRole\bin
+if exist SolrInstWR\ReplSolr\SolrAdminWebRole\bin rmdir /S /Q SolrInstWR\ReplSolr\SolrAdminWebRole\bin
+if exist SolrDeployCmdlets\bin  rmdir /S /Q SolrDeployCmdlets\bin
+
+if exist Inst4WA\obj rmdir /S /Q Inst4WA\obj
+if exist Inst4WA\DeployCmdlets4WA\obj rmdir /S /Q  Inst4WA\DeployCmdlets4WA\obj
+
+if exist SolrDeployCmdletsSetup\obj  rmdir /S /Q SolrDeployCmdletsSetup\obj
+if exist SolrInstWR\ReplSolr\HelperLib\obj rmdir /S /Q SolrInstWR\ReplSolr\HelperLib\obj
+if exist SolrInstWR\ReplSolr\SolrMasterHostWorkerRole\obj rmdir /S /Q SolrInstWR\ReplSolr\SolrMasterHostWorkerRole\obj
+if exist SolrInstWR\ReplSolr\SolrSlaveHostWorkerRole\obj rmdir /S /Q SolrInstWR\ReplSolr\SolrSlaveHostWorkerRole\obj
+if exist SolrInstWR\ReplSolr\SolrAdminWebRole\obj rmdir /S /Q SolrInstWR\ReplSolr\SolrAdminWebRole\obj
+if exist SolrDeployCmdlets\obj  rmdir /S /Q SolrDeployCmdlets\obj
+
+@echo Building Debug
+set Configuration=Debug
+
+msbuild Inst4WA\Inst4WA.sln
+if errorlevel 1 goto error
+
+msbuild SolrInstWR\SolrInstWR.sln
+if errorlevel 1 goto error
+
+mkdir build\SolrInstWR\Debug
+
+COPY /Y SolrInstWR\SolrDeployCmdletsSetup\bin\Debug build\SolrInstWR\Debug
+COPY /Y Inst4WA\bin\Debug build\SolrInstWR\Debug
+
+@echo Building Release
+set Configuration=Release
+
+msbuild Inst4WA\Inst4WA.sln
+if errorlevel 1 goto error
+
+msbuild SolrInstWR\SolrInstWR.sln
+if errorlevel 1 goto error
+
+mkdir build\SolrInstWR\Release
+
+COPY /Y SolrInstWR\SolrDeployCmdletsSetup\bin\Release build\SolrInstWR\Release
+COPY /Y Inst4WA\bin\Release build\SolrInstWR\Release
+
+goto noerror
+
+:error
+@echo !!! Build Error !!!
+goto end
+
+:noerror
+exit /b 0
+
+:usage
+@echo.
+@echo Builds SolrInstWR for external release
+@echo Usage: build
+goto end
+
+:end
+endlocal


documented PE header of traceless' demo

documented PE header of traceless' demo

error: pathspec 'asm/misc/traceless.bat' did not match any file(s) known to git

--- asm/misc/traceless.bat
+++ asm/misc/traceless.bat
@@ -0,0 +1,236 @@
+;@echo off
+;echo expected md5 6f6295e83222fb05887b0193097d2b6c
+;yasm -o traceless.exe traceless.bat
+;md5sum traceless.exe
+;exit /B
+
+; this is a 'rewrite' of Traceless' header (1k demo by TBC for Assembly 2012)
+; with authorization from Mentor
+
+; PE header dissection by Ange Albertini,  2012
+
+; beautiful example of a PE header used extensively
+; read in parallel with http://pferrie.host22.com/misc/pehdr.htm
+
+; TODO: document the (un)packer part
+
+IMAGEBASE EQU 400000h
+TARGET EQU 410000h
+
+org IMAGEBASE
+bits 32
+
+db 'MZ' ;fixed
+
+aRa	db 'RA' ; ugly pun :p
+
+aPe	db 'PE',0,0 ; Signature ; fixed
+    dw 14Ch			; Machine ; fixed
+    dw 0			; NumberOfSections ; controlled, better if 0
+
+loc_01:
+    bt	[dat], ebp	; timestamp ; fully controlled
+    adc	esi, esi
+    inc	ebp
+    jmp	loc_04
+
+    dw 8			; SizeOfOptionalHeader ; almost fixed
+    dw 2			; characteristics ; almost fixed ; FILE_IS_EXECUTABLE
+    dw 10Bh			; Magic ; fixed
+
+loc_02:
+    xor	ecx, ecx	; majorlinker ; fully controlled
+    shr	bl, 1		; Code  ; fully controlled
+    jb	l_91
+    jnz	l_99 ; initData  ; fully controlled
+
+loc_03:
+    popa
+    jnz	l_A1 ; unitialized data is in the middle ;  fully controlled
+    inc	eax
+    inc	edx
+    mov	ebp, EntryPoint - IMAGEBASE	; bogus operation on EBP to encode EntryPoint ; very strict
+    ror	byte [esi],	cl ; BaseCode  ; fully controlled
+    jb	l_9D
+    shr	edx, 1	 ; BaseData  ; fully controlled
+    jmp l_9F
+
+    dd IMAGEBASE ; IMAGEBASE ; very strict
+    dd 4   ; SectionAlig ; very strict
+    dd 4   ; FileAlig ; very strict ; also serves as DOS_HEADER.e_lfanew
+
+loc_04:
+    add eax, eax ; MajorOS ; fully controlled
+
+l_46:
+    test eax, eax ; MinorOS ; fully controlled
+    jns loc_01 ; MajorImage ; fully controlled
+    jmp l_54 ; MinorImage ; fully controlled ; intermediate jump to enable a short jump to l_CF
+
+    dw 3   ; MajorSubsystemVersion  ; very strict
+    dw 8000h  ; MinorSubsystemVersion ; strict
+    dd 0   ; Win32VersionValue ; could be anything but would break D3D support :(
+
+l_54:
+    jmp l_CF ; SizeOfImage ; jmp encoded on the lower word
+        dw 100h ; upper word of SizeOfImage
+
+    dd 30h   ; SizeOfHeaders ; strict
+
+l_5C:
+    jle l_46 ; Checksum ; fully controlled
+    pop eax
+    retn
+
+    dw 2   ; subsystem ; fixed
+    dw 0   ; characteristics ; almost controlled
+
+EntryPoint:
+    nop   ; StackReserve ; almost controlled
+    mov edi, TARGET ; stack commit ; almost controlled
+    push 1
+    pop eax  ; HeapReserve ; almost controlled
+    push edi
+    push 0
+    pop esi  ; HeapCommit ; almost controlled
+    push ebx
+    push 0
+    pop ebp ; loaderflag
+
+l_75:
+    push 8
+    mov ecx, 0 ; B9 NumOfRVA - fixed to 0
+    pop ecx
+
+; from now on, values have no restriction except the debug directory's size
+l_7D:
+    push 4
+    push 5
+    mov edx, 5D7575DEh
+    mov bl, 1Fh
+
+l_88:
+    pusha
+    xor eax, eax
+    cdq
+    mov esi, [esp+2Ch]
+
+l_90:
+    pusha
+
+l_91:
+    mov al, [esi]
+    shr al, cl
+    xor al, [edi]
+    jnz loc_03
+
+l_99:
+    dec esi
+    dec edi
+    jmp loc_02
+
+
+l_9D:
+    shr eax, 1
+
+l_9F:
+    rol byte [esi], cl
+
+l_A1:
+    inc esi
+    cmp edi, esi
+    jg l_90
+    mov cl, 4
+
+l_A8:
+    add [esp+24h], edx
+    test eax, eax
+    nop
+    mov ebp, 0  ; bogus operation to cover Debug datadirectory Size (has to be null no matter what)
+    jz l_BC
+    add [esp+20h], eax
+    test edx, edx
+
+l_BC:
+    loope l_A8
+    popa
+
+l_BF:
+    dec ebx
+    add edx, edx
+    jb l_88
+    jnz l_BF
+    pop ebx
+    pop edx
+    cmp di, 1492
+    jmp l_5C
+
+l_CF:
+    add ebx, edx
+    push eax
+    mul edx
+    div ebx
+    pop edx
+    cmp esi, eax
+    jb l_E0
+    xchg eax, edx
+    sub esi, edx
+    sub eax, edx
+
+l_E0:
+    rcl byte [edi], 1
+    dec ecx
+    jnz l_7D
+    inc edi
+    jmp l_75
+
+dat db 032h, 036h, 071h, 017h, 084h, 0b7h, 025h, 027h, 05fh, 0bbh, 033h, 077h, 042h, 090h, 01eh, 02ah
+    db 019h, 088h, 01eh, 058h, 0aeh, 049h, 0f8h, 01eh, 009h, 0a3h, 0c2h, 0bah, 097h, 070h, 0d7h, 03bh,
+    db 094h, 03fh, 082h, 00ch, 00dh, 041h, 02ah, 03ah, 00ah, 028h, 099h, 073h, 0e7h, 035h, 027h, 0afh,
+    db 02fh, 071h, 00ah, 0a3h, 047h, 00dh, 0ddh, 0e4h, 0b2h, 094h, 0f7h, 0dah, 0d7h, 091h, 01dh, 0dch,
+    db 06bh, 077h, 022h, 092h, 041h, 067h, 073h, 038h, 0b4h, 047h, 09bh, 094h, 063h, 01eh, 036h, 052h,
+    db 0c0h, 077h, 0efh, 0e1h, 032h, 0b4h, 0dfh, 08ch, 03ah, 0e4h, 025h, 0a3h, 00dh, 07ah, 0cfh, 0e6h,
+    db 060h, 0b4h, 06ch, 0eeh, 065h, 016h, 039h, 09fh, 08eh, 0f3h, 098h, 027h, 086h, 036h, 037h, 04eh,
+    db 06fh, 068h, 09eh, 032h, 0d4h, 0ceh, 086h, 002h, 04bh, 083h, 032h, 0afh, 0e0h, 0e6h, 05dh, 037h,
+    db 048h, 090h, 072h, 0efh, 061h, 076h, 027h, 0afh, 031h, 0d7h, 0b9h, 0c0h, 07dh, 01eh, 036h, 09ah,
+    db 0d9h, 0a6h, 039h, 0bbh, 044h, 028h, 07fh, 034h, 0f2h, 0bbh, 0a9h, 0b1h, 0cfh, 02fh, 05bh, 041h,
+    db 09dh, 06ch, 076h, 0ceh, 005h, 0aah, 0b4h, 0d5h, 0f6h, 092h, 0f1h, 0e2h, 075h, 02dh, 07eh, 034h,
+    db 0e4h, 097h, 036h, 07eh, 013h, 0ebh, 058h, 0b3h, 0b1h, 0eeh, 086h, 066h, 0ceh, 0f4h, 089h, 02eh,
+    db 091h, 05eh, 02bh, 0aah, 05bh, 094h, 050h, 07ah, 076h, 0e9h, 08ah, 010h, 018h, 05fh, 028h, 072h,
+    db 0b3h, 00ah, 04bh, 04eh, 059h, 01dh, 008h, 0fch, 0b1h, 04dh, 021h, 036h, 03fh, 057h, 087h, 0cfh,
+    db 08dh, 0dah, 06fh, 06fh, 081h, 0b8h, 0d9h, 093h, 0f4h, 0f8h, 09dh, 0b7h, 0e7h, 0abh, 077h, 0c2h,
+    db 01bh, 014h, 03ch, 0d2h, 048h, 01fh, 0b6h, 082h, 08dh, 027h, 0d9h, 0c5h, 088h, 0d3h, 095h, 01ah,
+    db 084h, 077h, 04dh, 0b8h, 057h, 0d2h, 03bh, 006h, 0d8h, 0b8h, 001h, 0b8h, 090h, 0c6h, 0ddh, 033h,
+    db 00ah, 04dh, 0c4h, 0edh, 0d1h, 0a7h, 0edh, 0ddh, 04ah, 06eh, 085h, 043h, 01eh, 076h, 0dah, 0c0h,
+    db 0bbh, 0f6h, 0a3h, 04ah, 094h, 060h, 0a7h, 0e1h, 086h, 031h, 0e4h, 08fh, 0f3h, 099h, 085h, 04eh,
+    db 045h, 021h, 017h, 0e8h, 010h, 066h, 00ah, 076h, 095h, 0ech, 02bh, 058h, 029h, 018h, 085h, 05ch,
+    db 031h, 078h, 099h, 0ach, 0e2h, 000h, 0f5h, 04dh, 0c7h, 04eh, 042h, 063h, 06eh, 09bh, 09dh, 080h,
+    db 095h, 092h, 008h, 0ceh, 069h, 0c7h, 0a5h, 000h, 06bh, 0f5h, 007h, 0b8h, 085h, 030h, 063h, 031h,
+    db 057h, 053h, 06ah, 0f5h, 008h, 082h, 09dh, 0e5h, 0d2h, 013h, 057h, 0d9h, 034h, 0ceh, 0a2h, 0cch,
+    db 00dh, 089h, 06bh, 00fh, 0efh, 0fbh, 04bh, 097h, 030h, 0cah, 0c4h, 037h, 056h, 0b4h, 049h, 060h,
+    db 042h, 08ah, 00fh, 056h, 0bbh, 097h, 049h, 0e4h, 064h, 099h, 020h, 0bch, 07bh, 0edh, 01dh, 048h,
+    db 0c8h, 05dh, 065h, 0beh, 038h, 05ch, 0bfh, 02eh, 099h, 076h, 0ebh, 0c5h, 0dch, 097h, 0b5h, 050h,
+    db 095h, 08dh, 0f3h, 069h, 048h, 012h, 0b6h, 0a0h, 069h, 0c9h, 05eh, 0d7h, 04ch, 07ah, 0c3h, 0cbh,
+    db 07eh, 0f1h, 03eh, 05bh, 0cfh, 0f3h, 0e3h, 068h, 071h, 0beh, 038h, 090h, 05bh, 087h, 01bh, 06fh,
+    db 0e0h, 0e4h, 0a7h, 04dh, 05eh, 050h, 044h, 017h, 0cah, 0dah, 0ceh, 0c0h, 0a9h, 043h, 0a0h, 09fh,
+    db 00dh, 0b6h, 014h, 0a5h, 020h, 0d4h, 0e9h, 03eh, 084h, 09ah, 0f8h, 012h, 0cah, 08ah, 0a4h, 0e7h,
+    db 06ah, 060h, 0f9h, 08eh, 0ach, 05dh, 0e8h, 07dh, 0d1h, 040h, 0c1h, 0b1h, 0cch, 0eeh, 0d6h, 0edh,
+    db 03fh, 050h, 009h, 08eh, 0c8h, 0f6h, 0ech, 0deh, 0fdh, 0a3h, 044h, 0ddh, 08bh, 085h, 051h, 00eh,
+    db 029h, 03bh, 0d1h, 0d9h, 0cfh, 056h, 03fh, 066h, 027h, 018h, 0e2h, 0b8h, 065h, 092h, 0c6h, 0c7h,
+    db 0d5h, 0abh, 06ah, 083h, 0adh, 048h, 080h, 017h, 06eh, 080h, 0bah, 0e4h, 0f1h, 072h, 034h, 0b1h,
+    db 095h, 03fh, 014h, 06fh, 07bh, 065h, 0feh, 06ah, 091h, 0f6h, 086h, 032h, 060h, 0ffh, 026h, 0b9h,
+    db 043h, 0e1h, 043h, 019h, 012h, 084h, 060h, 037h, 050h, 0c9h, 0d9h, 00bh, 002h, 002h, 083h, 095h,
+    db 0ach, 0ebh, 0a0h, 0f7h, 06ah, 0adh, 0b7h, 06bh, 03ah, 06ch, 0e3h, 0fbh, 0e7h, 095h, 072h, 01dh,
+    db 01eh, 0ceh, 057h, 054h, 0b4h, 0aeh, 021h, 0d0h, 00dh, 01bh, 0a4h, 0a9h, 08ah, 0e7h, 04ah, 04bh,
+    db 020h, 08ah, 03bh, 088h, 072h, 043h, 0a2h, 096h, 092h, 052h, 016h, 0f8h, 0bbh, 0e6h, 08ah, 02bh,
+    db 08fh, 0bdh, 010h, 04dh, 064h, 01ch, 013h, 078h, 05ch, 0bah, 0a5h, 075h, 081h, 02dh, 061h, 026h,
+    db 0a8h, 03eh, 064h, 08fh, 061h, 03fh, 0e9h, 057h, 04eh, 0c0h, 0d2h, 03bh, 004h, 075h, 029h, 09bh,
+    db 059h, 0c9h, 0bbh, 0feh, 0a0h, 0c6h, 074h, 016h, 000h, 0a6h, 07eh, 009h, 0e0h, 0beh, 0a0h, 06dh,
+    db 044h, 086h, 07eh, 0b5h, 0f4h, 0b6h, 0d2h, 05ch, 01eh, 0c5h, 0b4h, 04fh, 00eh, 076h, 018h, 063h,
+    db 027h, 0a3h, 0a1h, 078h, 068h, 06eh, 09bh, 041h, 06bh, 034h, 04dh, 093h, 05ah, 084h, 04ch, 0a7h,
+    db 034h, 064h, 0f3h, 083h, 04bh, 0f0h, 028h, 06eh, 0d0h, 055h, 0a8h, 043h, 057h, 075h, 072h, 055h,
+    db 0cch, 0d5h, 0b7h, 098h, 029h, 03ch, 065h, 037h, 0c0h, 04fh, 0d6h, 0efh, 0b8h, 087h, 04eh, 096h,
+    db 06ah, 059h, 0b0h, 0c4h, 07eh, 00dh, 0b0h, 07ah, 030h, 0bch, 0fdh, 0e9h, 07bh, 00ch, 0deh, 03dh,
+    db 0a7h, 091h, 06ah, 087h, 04bh, 071h, 0e2h, 08fh, 006h, 06ah, 0e7h, 049h, 014h, 0adh, 078h, 012h,
+    db 016h, 092h, 02ah, 07bh, 03ch, 041h, 042h, 0b6h, 097h, 09bh, 054h, 021h, 0deh, 0fah, 03bh, 096h,
+    db 01fh, 044h, 026h, 08dh, 095h, 001h


update publish

update publish

--- publish.cmd
+++ publish.cmd
@@ -1,28 +1,20 @@
 @echo off

-goto getVersionNumber
-set /p doNpm=Update package.json and push to npm: y or n?
-IF "%doNpm%"=="y" GOTO npm
-
-set /p doGit=Tag and Push to git: y or n?
-IF "%doGit%"=="y" GOTO git
-
-:getVersionNumber
+REM Get version number
 set /p ver=New Version Number or q to quit:
 IF "%ver%"=="q" GOTO end
 IF "%ver%"=="" GOTO Error

-:git
-git tag v%ver%
-git push
-git push --tags
-
-:npm
+REM update npm with new version and publish
 npm version %ver%
 npm publish

+REM tag and push to origin
+git tag v%ver%
+git push origin v%ver%
+
 :Error
 echo no version number found!
-goto getVersionNumber
+goto start

 :end


publish script updated

publish script updated


Enable starting of jmeter.bat with JM_START set to "start"

Correct documentation for usage of JM_START to start JMeter.
Add a title to 'start' when none was given, which can happen,
when following old documentation.

Bugzilla Id: 62107

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1825804 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: e2270cd9d8c44eec9813b1a78582e1ac9d93c69f

--- bin/jmeter.bat
+++ bin/jmeter.bat
@@ -33,7 +33,7 @@
 rem
 rem   JM_LAUNCH   - java.exe (default) or javaw.exe
 rem
-rem   JM_START    - set this to "start" to launch JMeter in a separate window
+rem   JM_START    - set this to 'start ""' to launch JMeter in a separate window
 rem                 this is used by the jmeterw.cmd script.
 rem
 rem   JVM_ARGS    - (Optional) Java options used when starting JMeter, e.g. -Dprop=val
@@ -192,6 +192,10 @@
     set ARGS=
 )

+if "%JM_START%" == "start" (
+    set JM_START=start "Apache JMeter"
+)
+
 %JM_START% "%JM_LAUNCH%" %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%

 rem If the errorlevel is not zero, then display it and pause


typo: smvlight for svmlight

typo: smvlight for svmlight

--- bin/mallet.bat
+++ bin/mallet.bat
@@ -20,7 +20,7 @@
 set CLASS=
 if "%CMD%"=="import-dir" set CLASS=cc.mallet.classify.tui.Text2Vectors
 if "%CMD%"=="import-file" set CLASS=cc.mallet.classify.tui.Csv2Vectors
-if "%CMD%"=="import-smvlight" set CLASS=cc.mallet.classify.tui.SvmLight2Vectors
+if "%CMD%"=="import-svmlight" set CLASS=cc.mallet.classify.tui.SvmLight2Vectors
 if "%CMD%"=="train-classifier" set CLASS=cc.mallet.classify.tui.Vectors2Classify
 if "%CMD%"=="train-topics" set CLASS=cc.mallet.topics.tui.Vectors2Topics
 if "%CMD%"=="infer-topics" set CLASS=cc.mallet.topics.tui.InferTopics


Fixes #475 courtesy and work  of @baalhiverne (I am just committing) - thanks!

--- bin/shoes.bat
+++ bin/shoes.bat
@@ -1,6 +1,6 @@
 @setlocal enableextensions enabledelayedexpansion
 @echo off
 set bin_dir=%~dp0
-set command=jruby --1.9 !bin_dir!/ruby-shoes %1
+set command=jruby --1.9 !bin_dir!/ruby-shoes %*
 call !command!
 endlocal


Tests for new actions

Tests for new actions

--- programs_manager/programs_manager_api/test/test_programs_manager_api.bat
+++ programs_manager/programs_manager_api/test/test_programs_manager_api.bat
@@ -1,10 +1,16 @@
 REM test_programs_manager_api.bat
 REM -------------------------------------------

-curl http://localhost:4000/programs_manager/test  1> test_programs_manager_api.log 2>&1
+curl http://localhost:4000/programs_manager/get_one_row  1> test_programs_manager_api.log 2>&1

-curl http://localhost:4000/programs_manager/get_one_row  1>> test_programs_manager_api.log 2>>&1
+curl http://localhost:4000/programs_manager/change_organization_user_visibility?"login=opal&service=programs_manager&organization_name=ACCORD Corporation&task=visible&changing_user_login=muser" 1>> test_programs_manager_api.log 2>>&1
+
+curl http://localhost:4000/programs_manager/change_program_user_visibility?"login=opal&service=programs_manager&program=CCST Emergency Services Food/Clothing&task=visible&changing_user_login=muser"  1>> test_programs_manager_api.log 2>>&1
+
+
+REM curl http://localhost:4000/programs_manager/list_user_visible_organizations?"login=opal"  1>> test_programs_manager_api.log 2>>&1
+
+REM curl http://localhost:4000/programs_manager/list_user_visible_programs?"login=opal"  1>> test_programs_manager_api.log 2>>&1

-


Release version 1.0.18

Release version 1.0.18

--- release.bat
+++ release.bat
@@ -3,9 +3,8 @@

 ECHO "Releasing version %1 ..."

-@echo on
+call gulp

-gulp
 git commit -am "Release version %1"
 git tag -a v%1 -m "Release version %1"
 git push origin master --tags


do not commit tags yet

do not commit tags yet


UIMA-1613 change assembly:assembly to install for the extractAndBuild scripts

git-svn-id: dd361d0afbe84f3eb97f7061549e905c2c5df34b@824569 13f79535-47bb-0310-9956-ffa450edef68

--- SandboxDistr/annotator-package/build/extractAndBuild.bat
+++ SandboxDistr/annotator-package/build/extractAndBuild.bat
@@ -69,6 +69,6 @@
 cd SandboxDistr
 call mvn %jvmarg%  -Duima.build.date="%date% %time%" %mvnCommand%
 cd annotator-package
-call mvn clean assembly:assembly
+call mvn clean install

 @:exit


Update the location to pull the signed dlls from

--- ci/SignExtensions.bat
+++ ci/SignExtensions.bat
@@ -3,7 +3,7 @@
 echo Creating \drop\WAMSSDKEXT\lib\net45
 md .\drop\WAMSSDKEXT\lib\net45
 echo Copy MediaServices.Client.Extensions.dll
-copy /y \\adxsdkbuilder2\Signed\Microsoft.WindowsAzure.MediaServices.Client.Extensions.dll .\drop\WAMSSDKEXT\lib\net45\
+copy /y "\\iisdist\release\Media\nimbus\Client SDK Extensions\dlls\latest signed\Microsoft.WindowsAzure.MediaServices.Client.Extensions.dll" .\drop\WAMSSDKEXT\lib\net45\
 echo Copy MediaServices.Client.pdb
 copy /y .\Publish\Build\Release\Microsoft.WindowsAzure.MediaServices.Client.Extensions.pdb .\drop\WAMSSDKEXT\lib\net45\
 echo Copy Nuget spec


Update cleanup script to remove previous build outputs (#1540)

Affects native windows builds produced using the Mingw scripts

--- build-aux/mingw/clean-bitcoin.bat
+++ build-aux/mingw/clean-bitcoin.bat
@@ -64,6 +64,13 @@

 %MSYS_SH% "%INST_DIR%\clean-bitcoin.sh"

+REM Remove previously built executable outputs that were copied to non-standard location
+del /F /Q "%BUILD_OUTPUT%\bitcoin-tx.exe"
+del /F /Q "%BUILD_OUTPUT%\bitcoin-cli.exe"
+del /F /Q "%BUILD_OUTPUT%\bitcoind.exe"
+del /F /Q "%BUILD_OUTPUT%\bitcoin-miner.exe"
+del /F /Q "%BUILD_OUTPUT%\bitcoin-qt.exe"
+
 REM Go to the 64-bit build section (in case we are building both 32 and 64 bit)
 GOTO BUILD_START_64


Updates for Python 3.3.4

Updates for Python 3.3.4

--- bootstrap-py33-x86.bat
+++ bootstrap-py33-x86.bat
@@ -1,6 +1,6 @@
 set pypath=C:\Python33
-set py=python-3.3.2.msi
-set pyurl=http://www.python.org/ftp/python/3.3.2/%py%
+set py=python-3.3.4.msi
+set pyurl=http://www.python.org/ftp/python/3.3.4/%py%
 @ECHO .
 set pywin=pywin32-218.win32-py3.3.exe
 set pywinurl="http://sourceforge.net/projects/pywin32/files/pywin32/Build 218/%pywin%/download#"


Changed the R# from 3.0 to 3.1.

Changed the R# from 3.0 to 3.1.

--- src/Extensions/ReSharper/Install-ReSharperRunner.bat
+++ src/Extensions/ReSharper/Install-ReSharperRunner.bat
@@ -12,13 +12,13 @@

 :V30_VS80_RETRY_PROMPT
 set /P Answer=Support ReSharper v3.0 for VS 2005?  (Y/N)
-if /I "%Answer%"=="Y" call :INSTALL "v3.0" "vs8.0" & goto :V30_VS80_DONE_PROMPT
+if /I "%Answer%"=="Y" call :INSTALL "v3.1" "vs8.0" & goto :V30_VS80_DONE_PROMPT
 if /I not "%Answer%"=="N" goto :V30_VS80_RETRY_PROMPT
 :V30_VS80_DONE_PROMPT

 :V30_VS90_RETRY_PROMPT
 set /P Answer=Support ReSharper v3.0 for VS 2008?  (Y/N)
-if /I "%Answer%"=="Y" call :INSTALL "v3.0" "vs9.0" & goto :V30_VS90_DONE_PROMPT
+if /I "%Answer%"=="Y" call :INSTALL "v3.1" "vs9.0" & goto :V30_VS90_DONE_PROMPT
 if /I not "%Answer%"=="N" goto :V30_VS90_RETRY_PROMPT
 :V30_VS90_DONE_PROMPT


add a function of replace string with batch.

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

--- bat/replace_string_in_dos.bat
+++ bat/replace_string_in_dos.bat
@@ -0,0 +1,28 @@
+
+echo off
+
+set BASE_STR="c:\anywhere\yes\or\no"
+set TAKEN=o
+set VALUE=bbbb
+Setlocal Enabledelayedexpansion
+for /f "delims=*" %%a in ("%BASE_STR%") do (
+set a=%%a
+set a=!a:%TAKEN%=%VALUE%!
+set x=!a!
+)
+echo !a!
+
+
+REM echo "DEMO for replace \ with / "
+set TAKEN=\
+set VALUE=/
+Setlocal Enabledelayedexpansion
+for /f "delims=*" %%a in ("%BASE_STR%") do (
+set a=%%a
+set a=!a:%TAKEN%=%VALUE%!
+set x=!a!
+)
+echo %x%
+
+
+echo on


ci: fix Npcap URL moved (#787)

ci: fix Npcap URL moved (#787)

--- ci/install_npcap.bat
+++ ci/install_npcap.bat
@@ -10,10 +10,10 @@

 if "%NPCAP_OEM_CREDENTIALS_DEFINED%"=="2" (
 	echo Using Npcap OEM version %NPCAP_FILE%
-	curl --digest --user %NPCAP_USERNAME%:%NPCAP_PASSWORD% https://nmap.org/npcap/oem/dist/%NPCAP_FILE% --output %NPCAP_FILE%
+	curl -L --digest --user %NPCAP_USERNAME%:%NPCAP_PASSWORD% https://npcap.com/oem/dist/%NPCAP_FILE% --output %NPCAP_FILE%
 ) else (
 	echo Using Npcap free version %NPCAP_FILE%
-	curl https://nmap.org/npcap/dist/%NPCAP_FILE% --output %NPCAP_FILE%
+	curl -L https://npcap.com/dist/%NPCAP_FILE% --output %NPCAP_FILE%
 )

 %NPCAP_FILE% /S /winpcap_mode
@@ -23,6 +23,6 @@
 	xcopy C:\Windows\SysWOW64\Npcap\*.dll C:\Windows\SysWOW64
 )

-curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 120 https://nmap.org/npcap/dist/npcap-sdk-1.04.zip --output npcap-sdk-1.04.zip
+curl -L --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 120 https://npcap.com/dist/npcap-sdk-1.04.zip --output npcap-sdk-1.04.zip
 mkdir C:\Npcap-sdk
-7z x .\npcap-sdk-1.04.zip -oC:\Npcap-sdk+7z x .\npcap-sdk-1.04.zip -oC:\Npcap-sdk


Broken label fixed

Broken label fixed

--- build+test.cmd
+++ build+test.cmd
@@ -11,7 +11,7 @@
 node src/js/test.js bin/test-reader.js
 GOTO end

-:compilerreader
+:readerrerror
 echo.
 echo Error compiling reader
 echo.


bat scripts - copy sound for campaigns too


fix main.cmd

fix main.cmd

--- main.cmd
+++ main.cmd
@@ -1 +1 @@
-./src/IdentityServer4/IdentityServer4.sln+start ./src/IdentityServer4/IdentityServer4.sln


Create hard links on Windows (#1046)

Create hard links on Windows (#1046)

--- make.bat
+++ make.bat
@@ -7,6 +7,12 @@
 IF NOT EXIST lit.exe CALL make.bat lit
 ECHO "Building luvit"
 lit.exe make
+if %errorlevel% neq 0 goto error
+IF NOT EXIST lit CALL mklink /H lit lit.exe
+if %errorlevel% neq 0 goto error
+IF NOT EXIST luvi CALL mklink /H luvi luvi.exe
+if %errorlevel% neq 0 goto error
+IF NOT EXIST luvit CALL mklink /H luvit luvit.exe
 if %errorlevel% neq 0 goto error
 GOTO :end


create temp source dir

create temp source dir

--- make.bat
+++ make.bat
@@ -8,7 +8,7 @@
 set actualDir=%CD%

 rmdir %t% /s /q
-mkdir %t%
+mkdir %t%\src
 mkdir %t%\target

 if x%java_home%x == xx set java_home=c:\programs\currentJDK


make.bat: provide command to upload exes

--- make.bat
+++ make.bat
@@ -1,11 +1,11 @@
 @ECHO OFF

 REM ==========================================================================
-REM Shortcuts for various tasks, emulating UNIX "make".
-REM Use this script for various tasks such as running tests or install psutil.
-REM To run tests run "make.bat test".
-REM This script is modeled after my Windows installation so it might need some
-REM adjustements in order to work on your system.
+REM Shortcuts for various tasks, emulating UNIX "make" on Windows.
+REM Use this script for various tasks such as installing psutil or
+REM running tests (for tests run "make.bat test").
+REM This script is modeled after my Windows installation so it might
+REM need some adjustements in order to work on your system.
 REM The following assumptions are made:
 REM - the default Python interpreter is in C:\Python27\python.exe
 REM - the right Visual Studio version is installed
@@ -26,7 +26,8 @@
     echo   install       compile and install
     echo   uninstall     uninstall
     echo   test          run tests
-    echo   create-exes   create exe installers in dist directory
+    echo   build-exes    create exe installers in dist directory
+    echo   upload-exes   upload exe installers on pypi
     goto :eof
 )

@@ -74,21 +75,25 @@
     goto :eof
 )

-if "%1" == "create-exes" (
-    :create-exes
+if "%1" == "build-exes" (
+    :build-exes
     call :clean
-
-    for %%x in ("C:\Python26\python.exe setup.py build bdist_wininst"
-                "C:\Python27\python.exe setup.py build bdist_wininst") do (
-        set myvar=%%x
-        %myvar%
-    )
-
+    C:\Python26\python.exe setup.py build bdist_wininst & if %errorlevel% neq 0 goto :error
+    C:\Python27\python.exe setup.py build bdist_wininst & if %errorlevel% neq 0 goto :error
+    C:\Python33\python.exe setup.py build bdist_wininst & if %errorlevel% neq 0 goto :error
     goto :eof
 )
+
+if "%1" == "upload-exes" (
+    :upload-exes
+    C:\Python26\python.exe setup.py bdist_wininst upload  & if %errorlevel% neq 0 goto :error
+    C:\Python27\python.exe setup.py bdist_wininst upload  & if %errorlevel% neq 0 goto :error
+    C:\Python33\python.exe setup.py bdist_wininst upload  & if %errorlevel% neq 0 goto :error
+    goto :eof
+)
+
+goto :help

 :error
     echo last command returned an error; exiting
     exit /b %errorlevel%
-
-goto :help


make 386package , make amd64package

make 386package , make amd64package

--- make.cmd
+++ make.cmd
@@ -357,6 +357,28 @@
     Do-Copy (Join-Path $folder lua53.dll) .
 }

+function Make-Packege($arch){
+    $zipname = ("nyagos-{0}.zip" -f (& cmd\$arch\nyagos.exe --show-version-only))
+    Write-Verbose "$ zip -9 $zipname ...."
+    if( Test-Path $zipname ){
+        Do-Remove $zipname
+    }
+    zip -9j $zipname `
+        "cmd\$arch\nyagos.exe" `
+        "cmd\$arch\lua53.dll" `
+        .nyagos `
+        _nyagos `
+        makeicon.cmd `
+        LICENSE `
+        readme_ja.md `
+        readme.md
+
+    zip -9 $zipname `
+        nyagos.d\*.lua `
+        nyagos.d\catalog\*.lua `
+        Doc\*.md
+}
+
 switch( $args[0] ){
     "" {
         Build (git describe --tags) ""
@@ -450,22 +472,14 @@
             popd
         }
     }
+    "386package" {
+        Make-Packege "386"
+    }
+    "amd64package" {
+        Make-Packege "amd64"
+    }
     "package" {
-        $zipname = ("nyagos-{0}.zip" -f (.\nyagos.exe --show-version-only))
-        Write-Verbose "$ zip -9 $zipname ...."
-        zip -9 $zipname `
-            nyagos.exe `
-            lua53.dll `
-            nyagos.lua `
-            .nyagos `
-            _nyagos `
-            makeicon.cmd `
-            nyagos.d\*.lua `
-            nyagos.d\catalog\*.lua `
-            LICENSE `
-            readme_ja.md `
-            readme.md `
-            Doc\*.md
+        Make-Package (Get-GoArch)
     }
     "install" {
         $installDir = $args[1]


make snapshot POSTFIX で、1日に複数のバイナリパッケージを作れるように

--- make.cmd
+++ make.cmd
@@ -23,7 +23,7 @@
         goto end

 :snapshot
-        zip -9 nyagos-%DATE:/=%.zip nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
+        zip -9 nyagos-%DATE:/=%%2.zip nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
         goto end

 :install


MOB-2368

MOB-2368

Former-commit-id: 62e3439de4e25b915344db99c8dbdab3990b88d6
Former-commit-id: 544f528991532e6e53a7baf2eda0bb1e247a9d53
Former-commit-id: 85b1f31c1bdbd7c1617e8bffa71dd1c9ccde5bd9
Former-commit-id: a44df831f9ffbe4668031a354f1314a95e225f59

--- mmx-console.bat
+++ mmx-console.bat
@@ -53,6 +53,8 @@
 	echo.
 	echo Options:
 	echo    -p    No port check when starting.
+	echo.
+	echo Usage: execute the command in a Command Prompt.
 	echo.
 	pause
 exit /b


set CPLEX_ROOT_DIR and GUROBI_ROOT_DIR to "", if not defined

--- conda-recipe/bld.bat
+++ conda-recipe/bld.bat
@@ -4,6 +4,8 @@
 REM ----------------------------------------------------------------------
 IF NOT DEFINED WITH_CPLEX (SET WITH_CPLEX=0)
 IF NOT DEFINED WITH_GUROBI (SET WITH_GUROBI=0)
+IF NOT DEFINED CPLEX_ROOT_DIR (SET CPLEX_ROOT_DIR="")
+IF NOT DEFINED GUROBI_ROOT_DIR (SET GUROBI_ROOT_DIR="")
 IF %WITH_CPLEX% == "" (SET WITH_CPLEX=0)
 IF %WITH_GUROBI% == "" (SET WITH_GUROBI=0)

@@ -41,7 +43,7 @@

 IF "%WITH_CPLEX%" == "1" (
     :: ensure single double quotes with :"=
-    SET OPTIMIZER_ARGS=-DWITH_CPLEX=ON -DCPLEX_ROOT_DIR=%CPLEX_ROOT_DIR% -DCPLEX_WIN_VERSION=%CPLEX_WIN_VERSION%
+    SET OPTIMIZER_ARGS=-DWITH_CPLEX=ON -DCPLEX_ROOT_DIR="%CPLEX_ROOT_DIR:"=%" -DCPLEX_WIN_VERSION=%CPLEX_WIN_VERSION%
 )

 REM ----------------------------------------------------------------------


updated to use cf instead of bluemix. updated to logout and then login before push

--- deploy.bat
+++ deploy.bat
@@ -1,10 +1,12 @@
 cd \
-cd C:\Users\CampbellD\git\spring-boot-security-saml
+cd C:\_BlueMix\git\spring-boot-security-saml
 call mvn clean
 call mvn package -U
+cf logout
+cf login -u David.campbell@ontario.ca -p Meaghan1!!** -a https://api.ops1.ca-east.bluemix.net -o OPS-CAC-Dev1 -s "CAC-POC Functional Tests"
 cd target
 call cf push DCJavaSpringSaml2Sample -p spring-boot-security-saml-sample-1.4.0.RELEASE.war
-IF "%1"=="logs" (call bluemix app logs DCJavaSpringSaml2Sample)
+IF "%1"=="logs" (call cf logs DCJavaSpringSaml2Sample)
 cd ..


Fixing if statements to have correct syntax.

--- deploy.cmd
+++ deploy.cmd
@@ -1,11 +1,7 @@
-if "%APP%"=="api"
-    call ".\src\dotnet\deploy-api.cmd"
+if /I "%APP%"=="api" call ".\src\dotnet\deploy-api.cmd"

-if "%APP%"=="mvc"
-    call ".\src\dotnet\deploy-mvc.cmd"
+if /I "%APP%"=="mvc" call ".\src\dotnet\deploy-mvc.cmd"

-if "%APP%"=="angular"
-    call ".\src\angular\deploy.cmd"
+if /I "%APP%"=="angular" call ".\src\angular\deploy.cmd"

-if "%APP%"=="react"
-    call ".\src\react\deploy.cmd"+if /I "%APP%"=="react" call ".\src\react\deploy.cmd"


deploy.cmd を追加

deploy.cmd を追加

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

--- deploy.cmd
+++ deploy.cmd
@@ -0,0 +1,58 @@
+@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
+
+SET GRADLE_HOME=%~dp0%\gradle
+SET GRADLE_HOME_CMD=%GRADLE_HOME%\bin\gradle.bat
+
+:: Setup
+:: -----
+
+setlocal enabledelayedexpansion
+
+IF NOT DEFINED DEPLOYMENT_SOURCE (
+  SET DEPLOYMENT_SOURCE=%~dp0%.
+)
+
+IF NOT DEFINED DEPLOYMENT_TARGET (
+  SET DEPLOYMENT_TARGET=%~dp0%\..\wwwroot
+)
+
+IF EXIST "%GRADLE_HOME_CMD%" (
+  call :ExecuteCmd "%GRADLE_HOME_CMD%" clean war
+  IF !ERRORLEVEL! NEQ 0 goto error
+)
+
+
+:: copy war file to wwwroot
+
+IF NOT EXIST "%DEPLOYMENT_TARGET%"\webapps (
+   mkdir "%DEPLOYMENT_TARGET%"\webapps > NUL 2>&1
+)
+
+COPY /Y "%DEPLOYMENT_SOURCE%"\build\libs\kinmugi.war "%DEPLOYMENT_TARGET%"\webapps\ROOT.war
+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.


Fixed azure deployment :ExecuteCmd:

Fixed azure deployment :ExecuteCmd:

--- deploy.cmd
+++ deploy.cmd
@@ -109,7 +109,7 @@
 IF EXIST "%DEPLOYMENT_TARGET%\webpack.config.prod.js" (
   pushd "%DEPLOYMENT_TARGET%"
   echo "Building website using Webpack"
-  call :ExecuteCmd "node ./node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --display-error-details"
+  call :ExecuteCmd !NPM_CMD! run build
   if !ERRORLEVEL! NEQ 0 goto error
   popd
 )


Build Master:2017-03-03T17:21:07.504Z

Build Master:2017-03-03T17:21:07.504Z

--- deploy.cmd
+++ deploy.cmd
@@ -69,6 +69,15 @@
     echo "NPM Install: %DEPLOYMENT_SOURCE%\.deploy\package.json"
     pushd %DEPLOYMENT_SOURCE%\.deploy\
     npm install --production --progress=false --cache-min=432000
+    popd
+)
+
+::Initial install if node_modules doesn't exist.
+IF EXIST %DEPLOYMENT_SOURCE%\package.json IF NOT EXIST %DEPLOYMENT_SOURCE%\node_modules (
+    echo "NPM Install: %DEPLOYMENT_SOURCE%\package.json"
+    pushd %DEPLOYMENT_SOURCE%
+    npm install --production --progress=false --cache-min=432000
+    popd
 )

 @echo "Previous Commit: %PREVIOUS_SCM_COMMIT_ID%  Current Commit: %SCM_COMMIT_ID%"


Deploy 2

Deploy 2

--- deploy.cmd
+++ deploy.cmd
@@ -30,7 +30,9 @@
   SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot\frontend
 )

+echo on
 echo %SET DEPLOYMENT_TARGET%
+

 IF NOT DEFINED NEXT_MANIFEST_PATH (
   SET NEXT_MANIFEST_PATH=%ARTIFACTS%\manifest


create documentation always

create documentation always

--- deploy.cmd
+++ deploy.cmd
@@ -7,13 +7,7 @@
 copy %NUGET%\TestStack.White.ScreenObjects.0.13.3\lib\net40\TestStack.White.Reporting.dll src\WhiteLibrary\bin\
 copy %NUGET%\TestStack.White.ScreenObjects.0.13.3\lib\net40\TestStack.White.ScreenObjects.dll src\WhiteLibrary\bin\

-del docs\*.* /y
-
-[~,cmdout] = system(python src/WhiteLibrary/version.py)
-
-IF "%cmdout%" == "True" (
-    python -m robot.libdoc src\WhiteLibrary docs\keywords.html
-)
+python -m robot.libdoc src\WhiteLibrary docs\keywords.html

 xcopy docs %DEPLOYMENT%\docs\ /s /a
 xcopy src %DEPLOYMENT%\src\ /s /a


Fixed bug in maven deployment script.

Fixed bug in maven deployment script.

--- build/maven_deploy.bat
+++ build/maven_deploy.bat
@@ -1,3 +1,10 @@
-call mvn deploy:deploy-file -DpomFile=poms/navx/pom.xml -Dfile=..\java\navx\jar\navx.jar -DrepositoryId=kauailabs-maven-ftp -Durl=ftp://ftp.kauailabs.com/kauailabs.com/maven2
+set /p maven_version=< version.txt
+pushd poms\navx
+call mvn build-helper:parse-version versions:set -DnewVersion=%maven_version%
+popd
+pushd poms\navx_frc
+call mvn build-helper:parse-version versions:set -DnewVersion=%maven_version%
+popd
+call mvn deploy:deploy-file -DpomFile=poms/navx/pom.xml -Dfile=..\java\navx\jar\navx.jar -DrepositoryId=kauailabs-maven-ftp -Durl=ftp://ftp.kauailabs.com/kauailabs.com/maven2 -Dversion=%maven_version%
+call mvn deploy:deploy-file -DpomFile=poms/navx_frc/pom.xml -Dfile=..\roborio\java\navx_frc\jar\navx_frc.jar -DrepositoryId=kauailabs-maven-ftp -Durl=ftp://ftp.kauailabs.com/kauailabs.com/maven2 -Dversion=%maven_version%

-call mvn deploy:deploy-file -DpomFile=poms/navx_frc/pom.xml -Dfile=..\roborio\java\navx_frc\jar\navx_frc.jar -DrepositoryId=kauailabs-maven-ftp -Durl=ftp://ftp.kauailabs.com/kauailabs.com/maven2


Add latest ghostscript 9.21 paths to build documentation script

--- buildDocumentation.bat
+++ buildDocumentation.bat
@@ -6,6 +6,7 @@
 REM Lets add default path for installation on both 32 and 64 bit Windows
 REM TODO: It would be nice if we would not need to rely on a specific version here, (search for available version by itself)
 set PATH=C:\Program Files\gs\gs9.18\bin;C:\Program Files (x86)\gs\gs9.18\bin;%PATH%
+set PATH=C:\Program Files\gs\gs9.21\bin;C:\Program Files (x86)\gs\gs9.21\bin;%PATH%
 set PATH=C:\Program Files (x86)\Graphviz2.38\bin;%PATH%

 where /q gswin32c.exe


Fix conda wrapper for Windows

Fix conda wrapper for Windows

The conda paths were being wrongly set with "

--- exec_wrappers/templates/conda/run-in.bat
+++ exec_wrappers/templates/conda/run-in.bat
@@ -5,7 +5,7 @@
 @setlocal

 @set "CONDA_DEFAULT_ENV=__CONDA_ENV_DIR__"
-@set PATH="%CONDA_DEFAULT_ENV%";"%CONDA_DEFAULT_ENV%\Scripts";"%CONDA_DEFAULT_ENV%\Library\bin";%PATH%
+@set "PATH=%CONDA_DEFAULT_ENV%;%CONDA_DEFAULT_ENV%\Scripts;%CONDA_DEFAULT_ENV%\Library\bin;%PATH%"

 @REM Run any activate scripts
 @if exist "%CONDA_DEFAULT_ENV%\etc\conda\activate.d" (


4.0.0-alpha-057

--- pack.bat
+++ pack.bat
@@ -7,5 +7,5 @@
   && dotnet build test\Aqua.Tests.TestObjects2 ^
   && dotnet build test\Aqua.Tests ^
   && dotnet test test\Aqua.Tests\Aqua.Tests.csproj ^
-  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 056 ^
-  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 056+  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 057 ^
+  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 057


adding a packing script

adding a packing script

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

--- pack.bat
+++ pack.bat
@@ -0,0 +1 @@
+pkg -t node6-win-x64 -o adr.exe .


fix output path

fix output path

--- pack.cmd
+++ pack.cmd
@@ -1,2 +1,2 @@
 @echo off
-dotnet pack src -c Release -o ..
+dotnet pack src -c Release


run.bat: make output consistent

run.bat: make output consistent

R=golang-dev, minux.ma
CC=golang-dev
http://codereview.appspot.com/6811059

--- src/run.bat
+++ src/run.bat
@@ -87,7 +87,7 @@

 :: TODO: The other tests in run.bash.

-echo # test
+echo # ..\test
 cd ..\test
 set FAIL=0
 go run run.go


windows: Echo message at end of checkout-banshee.bat

--- build/windows/checkout-banshee.bat
+++ build/windows/checkout-banshee.bat
@@ -4,4 +4,4 @@
 REM (this file is tracked in version control at: http://git.gnome.org/browse/banshee/plain/build/windows/checkout-banshee.bat )

 REM for some reason need to put these all on one line w/ && between; as separate commands on separate lines it stops after a given git cmd
-git clone git://git.gnome.org/banshee && cd banshee && git submodule update --init && git clone git://gitorious.org/banshee/windows-binaries.git bin
+git clone git://git.gnome.org/banshee && cd banshee && git submodule update --init && git clone git://gitorious.org/banshee/windows-binaries.git bin && echo "Checkout script finished. Banshee is now checked out into the banshee folder.  Build it with build\windows\build-banshee.bat or your favorite IDE using Banshee.sln" && pause


4.0.0-alpha-058

--- pack.bat
+++ pack.bat
@@ -7,5 +7,5 @@
   && dotnet build test\Aqua.Tests.TestObjects2 ^
   && dotnet build test\Aqua.Tests ^
   && dotnet test test\Aqua.Tests\Aqua.Tests.csproj ^
-  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 057 ^
-  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 057+  && dotnet pack src\Aqua\Aqua.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 058 ^
+  && dotnet pack src\Aqua.Newtonsoft.Json\Aqua.Newtonsoft.Json.csproj --output "..\..\artifacts" --configuration Debug --include-symbols --version-suffix 058


Updated session.bat to work with the newer AWS CLI

--- session.bat
+++ session.bat
@@ -5,15 +5,15 @@
 IF "%2"=="" GOTO errorCheckParams :: PROFILE

 :: CAPTURING STDERR
-aws --output text --profile %2 iam get-user 2> mfa_serial.txt
+call aws --output text --profile %2 iam get-user 2> mfa_serial.txt

 :: EXTRACTING MFA SERIAL ARN
-FOR /f "tokens=12" %%G IN (mfa_serial.txt) DO SET MFA_SERIAL=%%G
+FOR /f "tokens=11" %%G IN (mfa_serial.txt) DO SET MFA_SERIAL=%%G
 SET MFA_SERIAL=%MFA_SERIAL:user=mfa%
 DEL "./mfa_serial.txt"

 :: GETTING SESSION DATA
-aws --output text sts get-session-token --serial-number %MFA_SERIAL% --token-code %1 --profile %2 > session.txt
+call aws --output text sts get-session-token --serial-number %MFA_SERIAL% --token-code %1 --profile %2 > session.txt

 IF %ERRORLEVEL% NEQ 0 GOTO errorGetSession


Rework once again how to detect a failure in an application:
  IF errorlevel 1 only works for positive error code
  IF not errorlevel 0 only works for negative error code
There are not reliable. So, use && and || instead.

Remove expected failure on test as all tests pass now
(and it was broken).

--- tests/Make-check-cl.bat
+++ tests/Make-check-cl.bat
@@ -39,10 +39,6 @@
 REM Remove previous results
 DEL *.log *.dat

-REM List the expected failure (compiler internal error)
-set "expectedFailure1=test-msnapshot.c"
-set "expectedFailure2=test-none.c"
-
 REM Select compiler to use (either cl or clang-cl)
 set "compiler=%1"

@@ -56,29 +52,24 @@
     echo Testing %%f
     REM Copy the test file as a C++ file as CL.EXE only support C++ file
     del test.exe
-    copy %%f test.cpp
-    if not ERRORLEVEL 0 EXIT /B 1
+    copy %%f test.cpp || EXIT /B 1
     REM Compile the test suite
     REM /Zc:preprocessor is mandatory to have a compliant preprocessor
     REM /Zc:__cplusplus is needed to report the real value of __cplusplus, so that M*LIB uses the C++ atomic, and not its emulation.
     REM Enable warnings and basic optimization
     REM Inform M*LIB to use Annex K by defining __STDC_WANT_LIB_EXT1__
     echo Compiling %%f with %compiler%
-    %compiler% /I.. /O2 /W3 /std:c++14 /Zc:__cplusplus /Zc:preprocessor /D__STDC_WANT_LIB_EXT1__ test.cpp > %%f.log 2>&1
-    if not ERRORLEVEL 0 (
+    %compiler% /I.. /O2 /W3 /std:c++14 /Zc:__cplusplus /Zc:preprocessor /D__STDC_WANT_LIB_EXT1__ test.cpp > %%f.log 2>&1  || (
         echo *** BUILD ERROR for %%f *** >> %%f.log
         type %%f.log
-        if /i "%%f" NEQ "%expectedFailure1%" if /i "%%f" NEQ "%expectedFailure2%" EXIT /B 1
+        EXIT /B 1
         )
     REM Execute it
     echo Running %%f
-    test.exe >> %%f.log 2>&1
-    if not ERRORLEVEL 0 (
+    test.exe >> %%f.log 2>&1 && echo Test OK for %%f  >> %%f.log || (
         echo *** RUNTIME ERROR for %%f ***  >> %%f.log
         type %%f.log
-        if /i "%%f" NEQ "%expectedFailure%"  if /i "%%f" NEQ "%expectedFailure2%" EXIT /B 1
-    ) ELSE (
-        echo Test OK for %%f  >> %%f.log
+        EXIT /B 1
     )
     type %%f.log
 )


Create hagrid.bat

Create hagrid.bat

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


wip: adjust msbuild log level

wip: adjust msbuild log level

--- code/build.cmd
+++ code/build.cmd
@@ -22,4 +22,4 @@
     set extraOpt=/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
 )

-msbuild .\.build\Build.proj /t:%target% /p:Configuration="%config%" /fl /v:m /flp:LogFile=msbuild.log;Verbosity=Diagnostic /clp:Verbosity=Diagnostic /nr:false %extraOpt%
+msbuild .\.build\Build.proj /t:%target% /p:Configuration="%config%" /fl /v:m /flp:LogFile=msbuild.log;Verbosity=d /clp:Verbosity=d /nr:false %extraOpt%


*add: Batchfile create automatically a PBO from the mission.

error: pathspec 'arma3/TK_PersistentCampaign.CreatePbo.bat' did not match any file(s) known to git

--- arma3/TK_PersistentCampaign.CreatePbo.bat
+++ arma3/TK_PersistentCampaign.CreatePbo.bat
@@ -0,0 +1,2 @@
+call "C:\Program Files (x86)\Mikero\DePboTools\bin\MakePbo" -A -N TK_PersistentCampaign.Altis D:\[TK]PersistentCampaign.Altis.pbo
+


removed appveyor.bat

removed appveyor.bat

--- appveyor.bat
+++ appveyor.bat
@@ -1,12 +0,0 @@
-setlocal
-
-echo Building ReDock
-cd src/ReDock
-dotnet restore
-dotnet build -c Release || goto error
-
-goto :EOF
-
-:error
-echo Failed!
-EXIT /b %ERRORLEVEL%


CI: add full the path to vcvars64.bat script.

--- ci/build-windows-x86-msvc.bat
+++ ci/build-windows-x86-msvc.bat
@@ -1,7 +1,7 @@
 @echo on

 set "VSCMD_START_DIR=%CD%"
-call "vcvars64.bat"
+call "%VS_PATH%\VC\Auxiliary\Build\vcvars64.bat"

 cd tests


Try explicitly setting the toolset?

Try explicitly setting the toolset?

--- conda/bld.bat
+++ conda/bld.bat
@@ -2,8 +2,14 @@

 setlocal enableextensions

+if %PY3K% (
+    SET MSVC_VER="10.0"
+) else (
+    SET MSVC_VER="9.0"
+)
+
 bootstrap
-bjam -j2 -sBZIP2_LIBPATH="%PREFIX%\lib" -sBZIP2_INCLUDE="%PREFIX%\include" link=shared stage
+bjam -j2 -sBZIP2_LIBPATH="%PREFIX%\lib" -sBZIP2_INCLUDE="%PREFIX%\include" link=shared toolset="msvc-%MSVC_VER%" stage

 md "%PREFIX%\lib"
 robocopy "stage\lib" "%PREFIX%\lib" /E


all.bat: report error code back to the gobuilder

not sure that it will work, but.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5649051

--- src/all.bat
+++ src/all.bat
@@ -16,3 +16,4 @@
 ..\bin\tool\dist banner

 :end
+exit %GOBUILDFAIL%


LIBOMV-360: update mapgen.bat for the new file layout

git-svn-id: c32cf1ecefca26b8770d7b0740bc0c5c174087e4@2143 c754d5e9-d413-0410-bcdf-9574c9dba6b7

--- mapgen.bat
+++ mapgen.bat
@@ -1 +1 @@
-"bin/mapgenerator.exe" data/message_template.msg libsecondlife/mapgenerator/template.cs libsecondlife/mapgenerator/unusedpackets.txt libsecondlife/_Packets_.cs+"bin/mapgenerator.exe" data/message_template.msg Programs/mapgenerator/template.cs Programs/mapgenerator/unusedpackets.txt OpenMetaverse/_Packets_.cs


Script fixes for release 20161206

Script fixes for release 20161206

--- build_all/windows/build.cmd
+++ build_all/windows/build.cmd
@@ -77,7 +77,7 @@
 shift
 if "%1" equ "" call :usage && exit /b 1
 set MAKE_NUGET_PKG=%1
-set CMAKE_run_unittests=ON
+set CMAKE_run_unittests=OFF
 goto args-continue

 :args-continue


Add a comment

Add a comment

--- StorScore.cmd
+++ StorScore.cmd
@@ -400,6 +400,7 @@
         exit( -1 );
     }

+    # False positive on Server 2012 R2?
     unless( is_vc_runtime_present( '12.0', 'x86' ) )
     {
         warn <<"MSG";
@@ -412,6 +413,7 @@
         exit( -1 );
     }

+    # False positive on Server 2012 R2?
     unless( is_vc_runtime_present( '12.0', 'x64' ) )
     {
         warn <<"MSG";


add my example OSGeo4W-themed windows config

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

--- hobu-windows.bat
+++ hobu-windows.bat
@@ -0,0 +1,111 @@
+@echo off
+
+:: This configure script is designed for the default Windows world, which means
+:: you have OSGeo4W installed, including Oracle and GDAL and LASzip.
+
+:: This configure script expects to be run from the PDAL root directory.
+
+:: Pick your CMake GENERATOR.  (NMake will pick up architecture (x32, x64) from your environment)
+set GENERATOR="NMake Makefiles"
+rem set GENERATOR="Visual Studio 10 Win64"
+rem set GENERATOR="Visual Studio 10"
+
+:: Pick your build type
+set BUILD_TYPE=Release
+set BUILD_TYPE=Debug
+
+:: Where is your PDAL build tree?
+set PDAL_DIR=.
+
+:: Where is your OSGeo4W installed (recommended basic way to satisfy dependent libs)
+set OSGEO4W_DIR=C:\OSGeo4W
+
+:: Where is boost installed?
+set PDAL_EMBED_BOOST=ON
+rem set BOOST_DIR=c:\utils\boost_1_49_0
+REM set BOOST_DIR=%PDAL_DIR%\boost
+
+:: CARIS
+REM set CARIS_ENABLED=ON
+set CARIS_INCLUDE_DIR=%CARIS_DIR%\include
+set CARIS_LIBRARY=%CARIS_DIR%\caris.lib
+
+:: GDAL
+set GDAL_ENABLED=ON
+set GDAL_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set GDAL_LIBRARY=%OSGEO4W_DIR%\lib\gdal_i.lib
+
+:: LIBTIFF
+set TIFF_ENABLED=ON
+set TIFF_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set TIFF_LIBRARY=%OSGEO4W_DIR%\lib\libtiff_i.lib
+
+:: GeoTIFF
+set GEOTIFF_ENABLED=ON
+set GEOTIFF_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set GEOTIFF_LIBRARY=%OSGEO4W_DIR%\lib\geotiff_i.lib
+
+:: LASZIP
+set LASZIP_ENABLED=ON
+set LASZIP_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set LASZIP_LIBRARY=%OSGEO4W_DIR%\lib\laszip.lib
+
+:: Oracle
+set ORACLE_ENABLED=ON
+set ORACLE_HOME=%OSGEO4W_DIR%
+REM set ORACLE_INCLUDE_DIR=%ORACLE_HOME%\include
+REM set ORACLE_OCI_LIBRARY=%ORACLE_HOME%\lib\oci.lib
+
+:: LibXML2
+set LIBXML2_ENABLED=ON
+set LIBXML2_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set LIBXML2_LIBRARIES=%OSGEO4W_DIR%\lib\libxml2.lib
+
+:: IConv
+set ICONV_ENABLED=ON
+set ICONV_INCLUDE_DIR=%OSGEO4W_DIR%\include
+set ICONV_LIBRARY=%OSGEO4W_DIR%\lib\iconv.lib
+
+:: Python
+set PYTHON_ENABLED=ON
+REM set PYTHON_EXECUTABLE=%OSGEO4W_DIR\bin\python27.exe
+REM set PYTHON_INCLUDE_DIR=%OSGEO4W_DIR\apps\python27\include
+REM set PYTHON_LIBRARY=%OSGEO4W_DIR\apps\python27\libs\python27.lib
+
+:: Set this if you are building SWIG bindings for C#. Visual Studio
+:: needs to use this env var to find where boost lives.
+set PDAL_SWIG_ENABLED=OFF
+set PDAL_SWIG_BOOST_HOME=%BOOST_DIR%
+
+:: OpenGL support, for pcview
+set FREEGLUT_ENABLED=OFF
+:: special config for mpg
+if %USERDOMAIN% == T5500 set FREEGLUT_LIBRARY=d:\dev\freeglut-2.6.0-3.mp\lib\freeglut.lib
+if %USERDOMAIN% == T5500 set FREEGLUT_INCLUDE_DIR=d:\dev\freeglut-2.6.0-3.mp\include
+if %USERDOMAIN% == T5500 set FREEGLUT_ENABLED=ON
+if %USERDOMAIN% == PDC set FREEGLUT_LIBRARY=c:\dev\freeglut-2.6.0-3.mp\lib\freeglut.lib
+if %USERDOMAIN% == PDC set FREEGLUT_INCLUDE_DIR=c:\dev\freeglut-2.6.0-3.mp\include
+if %USERDOMAIN% == PDC set FREEGLUT_ENABLED=ON
+
+rem if EXIST CMakeCache.txt del CMakeCache.txt
+cmake -G %GENERATOR% ^
+    -DWITH_GDAL=%GDAL_ENABLED% ^
+    -DWITH_GEOTIFF=%GEOTIFF_ENABLED% ^
+    -DWITH_ORACLE=%ORACLE_ENABLED% ^
+    -DWITH_LASZIP=%LASZIP_ENABLED% ^
+    -DWITH_LIBXML2=%LIBXML2_ENABLED% ^
+    -DWITH_SWIG_CSHARP=%PDAL_SWIG_ENABLED% ^
+    -DWITH_ICONV=%ICONV_ENABLED% ^
+	-DWITH_PYTHON=%PYTHON_ENABLED% ^
+	-DPYTHON_EXECUTABLE=%OSGEO4W_DIR%\bin\python.exe ^
+	-DNUMPY_INCLUDE_DIR=%OSGEO4W_DIR%\apps\python27\lib\site-packages\numpy\core\include ^
+	-DNUMPY_VERSION=1.5.1 ^
+    -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
+    -DCMAKE_VERBOSE_MAKEFILE=OFF ^
+    -DPDAL_EMBED_BOOST=ON ^
+    %PDAL_DIR%
+
+rem    -DBOOST_INCLUDEDIR=%BOOST_DIR% ^
+rem 	-DNUMPY_INCLUDE_DIR=%OSGEO4W_DIR%\apps\python27\lib\site-packages\numpy\core\include ^
+rem 	-DPYTHONPATH=%OSGEO4W_DIR%\apps\python27\lib\site-packages ^
+rem 	-DPYTHON_LIBRARY=%PYTHON_LIBRARY% ^


Change build script to always link JS modules, even if nobuild is set.

--- vcbuild.bat
+++ vcbuild.bat
@@ -76,7 +76,7 @@

 :msbuild
 @rem Skip build if requested.
-if defined nobuild goto exit
+if defined nobuild goto link-modules
 goto do-build

 :msbuild-not-found


remove win cmd file

remove win cmd file

remove win cmd file

--- startup.bat
+++ startup.bat
@@ -1,2 +0,0 @@
-node app.js
-pause


ошибка: ветки создавались не из origin, а из локальной ветки master улучшение диагностики, если есть ошибка переключения Тестирование переключения веток хранилища xUnitFor1C #205

--- check_git_branch_checkout_xUnitFor1C.cmd
+++ check_git_branch_checkout_xUnitFor1C.cmd
@@ -4,7 +4,6 @@
 rem
 rem ॡ:
 rem 	1. ⠭ Git.    室  ⥬ PATH.
-rem		⠪   ⠭ SourceTree c ஥ Git.
 rem		2.   ᠩ GitHub - https://github.com/xDrivenDevelopment/xUnitFor1C
 rem
 rem ਬ 맮 (४祭 master <-> develop  ⭮):
@@ -45,58 +44,71 @@

 %git_cmd% -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive %remoteRepo% %repo%

+set old_branch=master
 cd %repo%
-%git_cmd% checkout -b develop
+%git_cmd% checkout -b develop origin/develop
 if errorlevel 1 (
-	echo  㤠 ४   develop
+	echo .
+	echo  㤠 ४   develop  ⪨ %old_branch%
+	pause
 	exit 2
-	pause
 )
 %git_cmd% status
+set old_branch=develop

 if not %branch%==develop (
-	%git_cmd% checkout -b %branch%
+	%git_cmd% checkout -b %branch% origin/%branch%
 	if errorlevel 1 (
-		echo  㤠 ४   %branch%
+		echo .
+		echo  㤠 ४   %branch%  ⪨ %old_branch%
+		pause
 		exit 5
-		pause
 	)
 	%git_cmd% status
+	set old_branch=%branch%
 )

 %git_cmd% checkout master
 if errorlevel 1 (
-	echo  㤠 ४   master
+	echo .
+	echo  㤠 ४   master  ⪨ %old_branch%
+	pause
 	exit 3
-	pause
 )
 %git_cmd% status
+set old_branch=master

 %git_cmd% checkout  develop
 if errorlevel 1 (
-	echo  㤠 ୮ ४   develop
+	echo .
+	echo  㤠 ୮ ४   develop  ⪨ %old_branch%
+	pause
 	exit 4
-	pause
 )
 %git_cmd% status
+set old_branch=develop

 if not %branch%==develop (
 	%git_cmd% checkout %branch%
 	if errorlevel 1 (
-		echo  㤠 ୮ ४   %branch%
+		echo .
+		echo  㤠 ୮ ४   %branch%  ⪨ %old_branch%
+		pause
 		exit 6
-		pause
 	)
 	%git_cmd% status
+	set old_branch=%branch%
 )

 %git_cmd% checkout master
 if errorlevel 1 (
-	echo  㤠 ୮ ४   master
+	echo .
+	echo  㤠 ୮ ४   master  ⪨ %old_branch%
+	pause
 	exit 7
-	pause
 )
 %git_cmd% status
+set old_branch=master

 endlocal
 echo  ४祭 訫 ᯥ譮


run.bat: make output consistent

--- src/run.bat
+++ src/run.bat
@@ -87,7 +87,7 @@

 :: TODO: The other tests in run.bash.

-echo # test
+echo # ..\test
 cd ..\test
 set FAIL=0
 go run run.go


updater.bat auto-update part

updater.bat auto-update part

--- updater.bat
+++ updater.bat
@@ -36,6 +36,30 @@
 GOTO parse
 :endparse
 ECHO.
+IF DEFINED _updateb (
+	ECHO Checking updater version...
+	ECHO.
+	DEL /F "!_myname!-updated.bat" 2>nul
+	powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.bat', '!_myname!-updated.bat')" >nul
+	IF EXIST "!_myname!-updated.bat" (
+		CLS
+		START CMD /C "!_myname!-updated.bat" !_myparams!
+		DEL /F "!_myname!.bat" 2>nul
+		EXIT /B
+	) ELSE (
+		ECHO Failed. Make sure PowerShell is allowed internet access.
+		ECHO.
+		PAUSE
+		EXIT /B
+	)
+) ELSE (
+	IF NOT "!_myname!"=="!_myname:-updated=X!" (
+		CALL :begin
+		REN "!_myname!.bat" "!_myname:-updated=!.bat"
+		EXIT /B
+	)
+)
+:begin
 SET /A "_line=0"
 IF NOT EXIST user.js (
 	ECHO user.js not detected in the current directory.


rewording

rewording

--- updater.bat
+++ updater.bat
@@ -235,11 +235,11 @@
 CLS
 CALL :message "Available arguments (case-insensitive):"
 CALL :message "  -log"
-ECHO:     Writes the console output to a logfile (user.js-update-log.txt)
+ECHO:     Write the console output to a logfile (user.js-update-log.txt)
 CALL :message "  -logP"
-ECHO:     Like log, but also opens the logfile after updating.
+ECHO:     Like -log, but also open the logfile after updating.
 CALL :message "  -merge"
-ECHO:     Merges overrides instead of appending them. One-line comments and
+ECHO:     Merge overrides instead of appending them. One-line comments and
 ECHO:     _user.js.parrot lines are appended normally. Overrides for inactive
 ECHO:     user.js prefs will be appended. When -Merge and -MultiOverrides are used
 ECHO:     together, a user-overrides-merged.js file is also generated in the root
@@ -249,13 +249,13 @@
 ECHO:     pref, the value of the last one declared will be used. Visit the wiki
 ECHO:     for usage examples and more detailed information.
 CALL :message "  -multiOverrides"
-ECHO:     Uses any and all .js files in a user.js-overrides sub-folder as overrides
+ECHO:     Use any and all .js files in a user.js-overrides sub-folder as overrides
 ECHO:     instead of the default user-overrides.js file. Files are appended in
 ECHO:     alphabetical order.
 CALL :message "  -unattended"
-ECHO:     Skips user input.
+ECHO:     Run without user input.
 CALL :message "  -updatebatch"
-ECHO:     The script will update itself on execution.
+ECHO:     Update the script itself on execution, before the normal routine.
 CALL :message ""
 PAUSE
 CLS


clean the release build

clean the release build

--- vcbuild.bat
+++ vcbuild.bat
@@ -1,2 +1,2 @@
-@rem msbuild /t:clean
+@rem msbuild cefclient.vcxproj /t:clean /p:Configuration=Release /p:Platform=Win32
 msbuild cefclient.vcxproj /p:Configuration=Release /p:Platform=Win32


autoupdate.cmd

autoupdate.cmd

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

--- autoupdate.cmd
+++ autoupdate.cmd
@@ -0,0 +1,3 @@
+pushd %~dp0
+npm run metadata:update:job
+popd


VirtualBox 5.1.30 --> 5.2.0

VirtualBox 5.1.30 --> 5.2.0

--- step0-packer-windows-vagrantbox/scripts/vm-guest-tools.bat
+++ step0-packer-windows-vagrantbox/scripts/vm-guest-tools.bat
@@ -13,7 +13,7 @@
 )

 if not exist "C:\Windows\Temp\VBoxGuestAdditions.iso" (
-    powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.1.30/VBoxGuestAdditions_5.1.30.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL
+    powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.2.0/VBoxGuestAdditions_5.2.0.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL
 )

 cmd /c ""C:\Program Files\7-Zip\7z.exe" x C:\Windows\Temp\VBoxGuestAdditions.iso -oC:\Windows\Temp\virtualbox"


Update export.bat

Update export.bat

--- terremote/export.bat
+++ terremote/export.bat
@@ -1,2 +1,2 @@
 del export.ter
-"c:\program files\7-zip\7z.exe" a -tzip export.ter * -x!export.bat -x!README.md+"c:\program files\7-zip\7z.exe" a -tzip export.ter * -x!export.bat -x!README.md -x!schema.json


build_llvm_package.bat: Drop LLDB from the package.

I don't think anyone ever got this to work, what with getting exactly
the right Python dependency and so on. Removing it simplifies the
script, removes a number of hairy dependencies, and cuts ~30 MB off the
installer size.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@327835 91177308-0d34-0410-b5e6-96231b3b80d8

--- utils/release/build_llvm_package.bat
+++ utils/release/build_llvm_package.bat
@@ -8,21 +8,14 @@

 REM Prerequisites:
 REM
-REM   Visual Studio 2017, CMake, Ninja, SVN, GNUWin32, SWIG, Python 3,
+REM   Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,
 REM   NSIS with the strlen_8192 patch,
 REM   Visual Studio 2017 SDK and Nuget (for the clang-format plugin),
 REM   Perl (for the OpenMP run-time).
-REM
-REM
-REM   For LLDB, SWIG version <= 3.0.8 needs to be used to work around
-REM   https://github.com/swig/swig/issues/769

 REM You need to modify the paths below:
 set vsdevcmd=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat
-
-set python32_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36-32
-set python64_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36

 set revision=%1
 set branch=trunk
@@ -48,11 +41,10 @@
 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/lld/%branch% llvm/tools/lld || exit /b
 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/compiler-rt/%branch% llvm/projects/compiler-rt || exit /b
 REM svn.exe export -r %revision% http://llvm.org/svn/llvm-project/openmp/%branch% llvm/projects/openmp || exit /b
-svn.exe export -r %revision% http://llvm.org/svn/llvm-project/lldb/%branch% llvm/tools/lldb || exit /b

 REM Setting CMAKE_CL_SHOWINCLUDES_PREFIX to work around PR27226.
-set cmake_flags=-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DCMAKE_INSTALL_UCRT_LIBRARIES=ON -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% -DPACKAGE_VERSION=%package_version% -DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_TEST_COMPILER=%cd%\build32_stage0\bin\clang.exe -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: "
+set cmake_flags=-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_CRT_RELEASE=MT -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% -DPACKAGE_VERSION=%package_version% -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: "

 REM TODO: Run all tests, including lld and compiler-rt.

@@ -63,7 +55,7 @@
 mkdir build32_stage0
 cd build32_stage0
 REM Work around VS2017 bug by using MinSizeRel.
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
+cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
 ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang ||  exit /b
@@ -73,7 +65,7 @@
 cd build32
 set CC=..\build32_stage0\bin\clang-cl
 set CXX=..\build32_stage0\bin\clang-cl
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% ..\llvm || exit /b
+cmake -GNinja %cmake_flags% ..\llvm || exit /b
 ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang ||  exit /b
@@ -85,7 +77,7 @@
 cd build_vsix
 set CC=..\build32_stage0\bin\clang-cl
 set CXX=..\build32_stage0\bin\clang-cl
-cmake -GNinja %cmake_flags% -DLLVM_USE_CRT_RELEASE=MT -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON -DPYTHON_HOME=%python32_dir% ..\llvm || exit /b
+cmake -GNinja %cmake_flags% -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON ..\llvm || exit /b
 ninja clang_format_vsix || exit /b
 copy ..\llvm\tools\clang\tools\clang-format-vs\ClangFormat\bin\Release\ClangFormat.vsix ClangFormat-r%revision%.vsix
 cd ..
@@ -98,7 +90,7 @@
 mkdir build64_stage0
 cd build64_stage0
 REM Work around VS2017 bug by using MinSizeRel.
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
+cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
 ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang ||  exit /b
@@ -108,7 +100,7 @@
 cd build64
 set CC=..\build64_stage0\bin\clang-cl
 set CXX=..\build64_stage0\bin\clang-cl
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% ..\llvm || exit /b
+cmake -GNinja %cmake_flags% ..\llvm || exit /b
 ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang ||  exit /b


fix(build-tools): pick up vendored go toolchain on win

--- task.bat
+++ task.bat
@@ -3,6 +3,7 @@
 setlocal
 cd %~dp0

+set "PATH=%CD%\third_party\go\bin;%PATH%"
 go version > NUL 2>&1
 if errorlevel 1 goto :fix_go
 goto :build


Renamed  LUNA eclipse buildworkspace to be unique from the JUNO eclipse workspace

--- buildall.bat
+++ buildall.bat
@@ -21,9 +21,10 @@
 REM

 pushd .\roborio\c++
-rm -r -f ./build_workspace
-mkdir build_workspace
-C:\Eclipse_Luna\eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ./build_workspace -import ./navx_frc_cpp -cleanBuild navx_frc_cpp/Debug
+rm -r -f ./build_workspace_luna
+mkdir build_workspace_luna
+
+C:\Eclipse_Luna\eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ./build_workspace_luna -import ./navx_frc_cpp -cleanBuild navx_frc_cpp/Debug
 popd

 REM


fix: test.bat

fix: test.bat

Return to the root dir when finished.

--- test.bat
+++ test.bat
@@ -4,6 +4,7 @@
 REM double quotes around %%f are needed cause the filename has a space
 FOR /r %%f IN (*) DO  ( ECHO NODE TESTING: & ECHO. %%f & ECHO ---
   node "%%f" )
+CD ../

 REM TODO use colors to output progress
 REM TODO exit automatically if not error


Fix typo in runtests.bat

Fix typo in runtests.bat

--- test/runtests.bat
+++ test/runtests.bat
@@ -7,7 +7,7 @@
 del actual.txt

 REM compile the code into the bin folder
-javac  javac  -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java
+javac -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java

 REM run the program, feed commands from input.txt file and redirect the output to the actual.txt
 java -classpath ..\bin seedu.addressbook.Main < input.txt > actual.txt


Some build script tweaks.

Some build script tweaks.

--- z_build.bat
+++ z_build.bat
@@ -7,7 +7,7 @@
 set "MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC"
 set "UPX3_PATH=C:\Program Files (x86)\UPX"
 set "PDOC_PATH=C:\Program Files (x86)\Pandoc"
-set "QT_VS2013=C:\Qt\4.8.6"
+set "QT_SOURCE=C:\Qt\4.8.6"
 set "QT_SHARED=C:\Qt\4.8.6-Shared"
 set "QT_STATIC=C:\Qt\4.8.6-Static"

@@ -18,7 +18,7 @@
 REM ///////////////////////////////////////////////////////////////////////////
 REM // Setup environment
 REM ///////////////////////////////////////////////////////////////////////////
-set "QTDIR=%QT_VS2013%"
+set "QTDIR=%QT_SOURCE%"
 call "%MSVC_PATH%\vcvarsall.bat" x86
 set "PATH=%QTDIR%\bin;%PATH%"

@@ -26,26 +26,37 @@
 REM // Check environment
 REM ///////////////////////////////////////////////////////////////////////////
 if "%VCINSTALLDIR%"=="" (
-	echo %%VCINSTALLDIR%% not specified. Please check your MSVC_PATH var!
+	echo %%VCINSTALLDIR%% not specified. Please check your MSVC_PATH var^^!
 	goto BuildError
 )
 if not exist "%VCINSTALLDIR%\bin\cl.exe" (
-	echo C++ compiler binary not found. Please check your MSVC_PATH var!
+	echo C++ compiler binary not found. Please check your MSVC_PATH var^^!
 	goto BuildError
 )
 if not exist "%UPX3_PATH%\upx.exe" (
-	echo UPX binary could not be found. Please check your UPX3_PATH var!
+	echo UPX binary could not be found. Please check your UPX3_PATH var^^!
 	goto BuildError
 )
 if not exist "%PDOC_PATH%\pandoc.exe" (
-	echo Pandoc binary could not be found. Please check your PDOC_PATH var!
-	goto BuildError
-)
-if not exist "%QTDIR%\bin\QtGui4.dll" (
-	echo QtCore library could not be found. Please check your QTDIR var!
-	goto BuildError
-)
-
+	echo Pandoc binary could not be found. Please check your PDOC_PATH var^^!
+	goto BuildError
+)
+if not exist "%QTDIR%\bin\moc.exe" (
+	echo Qt could not be found. Please check your QT_SOURCE var^^!
+	goto BuildError
+)
+if not exist "%QTDIR%\include\QtCore\qglobal.h" (
+	echo Qt could not be found. Please check your QT_SOURCE var^^!
+	goto BuildError
+)
+if not exist "%QT_SHARED%\bin\QtCore4.dll" (
+	echo Qt *shared* libraries could not be found. Please check your QT_SHARED var^^!
+	goto BuildError
+)
+if not exist "%QT_STATIC%\lib\QtCore.lib" (
+	echo Qt *static* libraries could not be found. Please check your QT_STATIC var^^!
+	goto BuildError
+)

 REM ///////////////////////////////////////////////////////////////////////////
 REM // Get current date and time (in ISO format)
@@ -215,6 +226,6 @@
 REM ///////////////////////////////////////////////////////////////////////////
 :BuildError
 echo.
-echo Build has failed !!!
+echo Build has failed ^^!^^!^^!
 echo.
 pause


feat(devops): adding automated nuget creation for solid.composition.core #8

--- devops/pack/solid.practices.composition.core/pack.bat
+++ devops/pack/solid.practices.composition.core/pack.bat
@@ -4,5 +4,8 @@
 cd lib
 mkdir netstandard2.0\
 robocopy ../../../../../Bin/netstandard/Release netstandard2.0 Solid.Practices.Composition.dll Solid.Practices.Composition.xml Solid.Practices.Composition.pdb Solid.Practices.Composition.deps.json /E
+robocopy ../../../../../Bin/netstandard/Release netstandard2.0 Solid.Practices.Composition.Contracts.* /E
+robocopy ../../../../../Bin/netstandard/Release netstandard2.0 Solid.Practices.Composition.Container.* /E
+
 cd ../../
 nuget pack contents/solid.practices.composition.core.nuspec -OutputDirectory ../../../output


Forgot a small little typo ;)

Forgot a small little typo ;)

--- scripts/bit.bat
+++ scripts/bit.bat
@@ -1 +1 @@
-@python snake %*
+@python bit %*


icupday

icupday

Убран диалог для обновления. Заменен выводом в консоль сообщения о
доступности обновления, без возможности выбора. Сразу запускается
браузер по умолчанию со страницей обновления.


Update memory settings for window .bat file (from 1200 mb to 4000 mb)

--- scripts/igv.bat
+++ scripts/igv.bat
@@ -1,4 +1,4 @@
-::Get the current batch file's short path
-for %%x in (%0) do set BatchPath=%%~dpsx
-for %%x in (%BatchPath%) do set BatchPath=%%~dpsx
-java  -Xmx1200m -Dproduction=true -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -jar %BatchPath%\igv.jar  %*
+::Get the current batch file's short path
+for %%x in (%0) do set BatchPath=%%~dpsx
+for %%x in (%BatchPath%) do set BatchPath=%%~dpsx
+java  -Xmx4000m -Dproduction=true -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -jar %BatchPath%\igv.jar  %*


Added missing quotes around a pathname.

Added missing quotes around a pathname.

--- C/MsvcLibX/src/configure.MsvcLibX.bat
+++ C/MsvcLibX/src/configure.MsvcLibX.bat
@@ -34,4 +34,4 @@
 %ADD_POST_MAKE_ACTION% set "MSVCLIBX=%BUILT_MSVCLIBX%"

 :# Set the system environment variable, so that other CMD windows opened later on inherit it
-%ADD_POST_MAKE_ACTION% setx MSVCLIBX %BUILT_MSVCLIBX% ^>NUL
+%ADD_POST_MAKE_ACTION% setx MSVCLIBX "%BUILT_MSVCLIBX%" ^>NUL


Updater for Windows v4.3

Updater for Windows v4.3

Changes:
- The script doesn't touch the `user.js` file until it really has to.
- The merge function is a bit smarter parsing files, at no significant cost.
- Fixed a minor issue with the version check.
- Minor syntactic changes here and there.
- creates timestamped backup files rather than always overwriting user.js.bak.
(use -singlebackup if you prefer a single backup file)

--- updater.bat
+++ updater.bat
@@ -3,7 +3,7 @@

 REM ## ghacks-user.js updater for Windows
 REM ## author: @claustromaniac
-REM ## version: 4.2
+REM ## version: 4.3
 REM ## instructions: https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.3-Updater-Scripts

 SET _myname=%~n0
@@ -16,6 +16,7 @@
 IF /I "%~1"=="-multioverrides" (SET _multi=1)
 IF /I "%~1"=="-merge" (SET _merge=1)
 IF /I "%~1"=="-updatebatch" (SET _updateb=1)
+IF /I "%~1"=="-singlebackup" (SET _singlebackup=1)
 SHIFT
 GOTO parse
 :endparse
@@ -76,14 +77,14 @@
 ECHO:                ########################################
 ECHO:                ####  user.js Updater for Windows   ####
 ECHO:                ####       by claustromaniac        ####
-ECHO:                ####             v4.2               ####
+ECHO:                ####             v4.3               ####
 ECHO:                ########################################
 ECHO:
 SET /A "_line=0"
 IF NOT EXIST user.js (
 	CALL :message "user.js not detected in the current directory."
 ) ELSE (
-	FOR /F "skip=1 tokens=1,2 delims=:" %%G IN (user.js) DO (
+	FOR /F "skip=1 tokens=1,* delims=:" %%G IN (user.js) DO (
 		SET /A "_line+=1"
 		IF !_line! GEQ 4 (GOTO exitloop)
 		IF !_line! EQU 1 (SET _name=%%H)
@@ -91,15 +92,11 @@
 		IF !_line! EQU 3 (SET _version=%%G)
 	)
 	:exitloop
-	IF !_line! GEQ 4 (
+	IF NOT "!_name!"=="" (
 		IF /I NOT "!_name!"=="!_name:ghacks=!" (
-			CALL :message "ghacks user.js !_version:~2!,!_date!"
-		) ELSE (
-			CALL :message "Current user.js version not recognised."
-		)
-	) ELSE (
-		CALL :message "Current user.js version not recognised."
-	)
+			CALL :message "!_name! !_version:~2!,!_date!"
+		) ELSE (CALL :message "Current user.js version not recognised.")
+	) ELSE (CALL :message "Current user.js version not recognised.")
 )
 ECHO:
 IF NOT DEFINED _ua (
@@ -123,17 +120,12 @@
 	ECHO:##################################################################
 	CALL :message "%date%, %time%"
 )
-IF EXIST user.js.old.bak (DEL /F user.js.old.bak)
-IF EXIST user.js (
-	IF EXIST user.js.bak (REN user.js.bak user.js.old.bak)
-	REN user.js user.js.bak
-	CALL :message "Current user.js file backed up."
-)
+IF EXIST user.js.new (DEL /F "user.js.new")
 CALL :message "Retrieving latest user.js file from github repository..."
 (
-	powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/user.js', 'user.js')"
+	powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/user.js', 'user.js.new')"
 ) >nul 2>&1
-IF EXIST user.js (
+IF EXIST user.js.new (
 	IF DEFINED _multi (
 		FORFILES /P user.js-overrides /M *.js >nul 2>&1
 		IF NOT ERRORLEVEL 1 (
@@ -141,45 +133,49 @@
 				CALL :message "Merging..."
 				COPY /B /V /Y user.js-overrides\*.js user-overrides-merged.js
 				CALL :merge user-overrides-merged.js
-				COPY /B /V /Y user.js+user-overrides-merged.js user.js
-				CALL :merge user.js
+				COPY /B /V /Y user.js.new+user-overrides-merged.js user.js.new
+				CALL :merge user.js.new
 			) ELSE (
 				CALL :message "Appending..."
-				COPY /B /V /Y user.js+"user.js-overrides\*.js" user.js
+				COPY /B /V /Y user.js.new+"user.js-overrides\*.js" user.js.new
 			)
 		) ELSE (CALL :message "No override files found.")
 		ECHO:
 	) ELSE (
 		IF EXIST "user-overrides.js" (
-			COPY /B /V /Y user.js+"user-overrides.js" "user.js"
+			COPY /B /V /Y user.js.new+"user-overrides.js" "user.js.new"
 			IF DEFINED _merge (
 				CALL :message "Merging user-overrides.js..."
-				CALL :merge user.js
+				CALL :merge user.js.new
 			) ELSE (
 				CALL :message "user-overrides.js appended."
 			)
 		) ELSE (CALL :message "user-overrides.js not found.")
 		ECHO:
 	)
-	CALL :message "Handling backups..."
-	SET "changed="
-	IF EXIST user.js.bak (
-		FC user.js.bak user.js >nul && SET "changed=false" || SET "changed=true"
-	)
-	IF "!changed!"=="true" (
-		IF EXIST user.js.old.bak DEL /F user.js.old.bak
+	IF EXIST user.js (
+		FC user.js.new user.js >nul && SET "_changed=false" || SET "_changed=true"
+	)
+	IF "!_changed!"=="true" (
+		CALL :message "Backing up..."
+		IF DEFINED _singlebackup (
+			MOVE /Y user.js user.js.bak >nul
+		) ELSE (
+			MOVE /Y user.js "user-backup-!date:/=-!_!time::=.!.js" >nul
+		)
+		REN user.js.new user.js
 		CALL :message "Update complete."
 	) ELSE (
-		IF "!changed!"=="false" (
-			DEL /F user.js.bak
-			IF EXIST user.js.old.bak REN user.js.old.bak user.js.bak
+		IF "!_changed!"=="false" (
+			DEL /F user.js.new >nul
 			CALL :message "Update completed without changes."
-		) ELSE (CALL :message "Update complete.")
+		) ELSE (
+			REN user.js.new user.js
+			CALL :message "Update complete."
+		)
 	)
 	ECHO:
 ) ELSE (
-	IF EXIST user.js.bak (REN user.js.bak user.js)
-	IF EXIST user.js.old.bak (REN user.js.old.bak user.js.bak)
 	CALL :message "Update failed. Make sure PowerShell is allowed internet access."
 	ECHO:   No changes were made.
 )
@@ -200,27 +196,27 @@
 :merge
 SETLOCAL DisableDelayedExpansion
 (
-	FOR /F "tokens=1,* delims=," %%G IN ('FINDSTR /B /I /C:"user_pref" "%~1"') DO (SET "%%G=%%H")
+	FOR /F tokens^=2^,^*^ delims^=^'^" %%G IN ('FINDSTR /B /R /C:"user_pref.*\)[ 	]*;" "%~1"') DO (IF NOT "%%H"=="" (SET "%%G=%%H"))
 	FOR /F "tokens=1,* delims=:" %%I IN ('FINDSTR /N "^" "%~1"') DO (
-		IF ""=="%%J" (
-			ECHO:
-		) ELSE (
-			FOR /F "delims=," %%K IN ("%%J") DO (
-				IF NOT [user_pref("_user.js.parrot"]==[%%K] (
-					IF DEFINED %%K (
-						SETLOCAL EnableDelayedExpansion
-						FOR /F "delims=" %%L IN ("!%%K!") DO (
-							ENDLOCAL
-							IF NOT "%%L"=="ALREADY MERGED" (
-								ECHO:%%K,%%L
-								SET "%%K=ALREADY MERGED"
+		SET "_temp=%%J"
+		SETLOCAL EnableDelayedExpansion
+		IF NOT "!_temp:~0,9!"=="user_pref" (
+			ENDLOCAL & ECHO:%%J
+		) ELSE (
+			IF "!_temp:;=!"=="!_temp!" (
+				ENDLOCAL & ECHO:%%J
+			) ELSE (
+				ENDLOCAL
+				FOR /F tokens^=2^ delims^=^'^" %%K IN ("%%J") DO (
+					IF NOT "_user.js.parrot"=="%%K" (
+						IF DEFINED %%K (
+							SETLOCAL EnableDelayedExpansion
+							FOR /F "delims=" %%L IN ("!%%K!") DO (
+								ENDLOCAL & ECHO:user_pref("%%K"%%L
+								SET "%%K="
 							)
 						)
-					) ELSE (
-						ECHO:%%J
-					)
-				) ELSE (
-					ECHO:%%J
+					) ELSE (ECHO:%%J)
 				)
 			)
 		)
@@ -231,7 +227,7 @@
 GOTO :EOF
 REM ############### Help ##################
 :showhelp
-MODE 80,43
+MODE 80,46
 CLS
 CALL :message "Available arguments (case-insensitive):"
 CALL :message "  -log"
@@ -239,7 +235,7 @@
 CALL :message "  -logP"
 ECHO:     Like -log, but also open the logfile after updating.
 CALL :message "  -merge"
-ECHO:     Merge overrides instead of appending them. One-line comments and
+ECHO:     Merge overrides instead of appending them. Single-line comments and
 ECHO:     _user.js.parrot lines are appended normally. Overrides for inactive
 ECHO:     user.js prefs will be appended. When -Merge and -MultiOverrides are used
 ECHO:     together, a user-overrides-merged.js file is also generated in the root
@@ -254,6 +250,9 @@
 ECHO:     alphabetical order.
 CALL :message "  -unattended"
 ECHO:     Run without user input.
+CALL :message "  -singleBackup"
+ECHO:     Use a single backup file and overwrite it on new updates, instead of
+ECHO:     cumulative backups. This was the default behaviour before v4.3.
 CALL :message "  -updatebatch"
 ECHO:     Update the script itself on execution, before the normal routine.
 CALL :message ""


update batch build for VS 2013

update batch build for VS 2013

--- BuildAll.bat
+++ BuildAll.bat
@@ -7,7 +7,7 @@
     goto:eof
 )
 rem  set the aprobiated Variables here or outside in the system
-if NOT DEFINED VCDIR set VCDIR=C:\Program Files\Microsoft Visual Studio 9.0
+if NOT DEFINED VCDIR set VCDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0

 rem Register VS Build programms
 call "%VCDIR%\VC\vcvarsall.bat"
@@ -16,6 +16,9 @@

 rem Start the Visuall Studio build process
-"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Debug|Win32"
-"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Debug|Win32"
-"%VCDIR%\VC\vcpackages\vcbuild.exe" FreeCAD_trunk.sln "Release|Win32"
+msbuild.exe build\FreeCAD_trunk.sln /m /p:Configuration="Debug"
+msbuild.exe build\FreeCAD_trunk.sln /m /p:Configuration="Debug"
+msbuild.exe build\FreeCAD_trunk.sln /m /p:Configuration="Release"
+
+PAUSE
+


Fix for ci-build

Fix for ci-build

--- ci-build.bat
+++ ci-build.bat
@@ -1,4 +1,5 @@
 rem all of this because msbuild command line does not work well with packages restore

+set solution=MrAdvice.sln
 .nuget\nuget.exe restore %solution%
 msbuild %solution% /m /p:Configuration=Debug /p:Platform="Any CPU"


Added a bat file for quick code compiling.

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

--- tools/compile.bat
+++ tools/compile.bat
@@ -0,0 +1,2 @@
+@echo off
+compress.py -d ../src/ -c ../compile.json -f ../bin/%1


ignore windows test failures temporarily - refs #629

--- scripts/build-appveyor.bat
+++ scripts/build-appveyor.bat
@@ -147,7 +147,7 @@
 CALL npm test
 :: uncomment to allow build to work even if tests do not pass
 ::SET ERRORLEVEL=0
-IF %ERRORLEVEL% NEQ 0 GOTO ERROR
+::IF %ERRORLEVEL% NEQ 0 GOTO ERROR

 ECHO APPVEYOR_REPO_COMMIT_MESSAGE^: %APPVEYOR_REPO_COMMIT_MESSAGE%
 SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%


reinstalled composer, installed first module date picker. not tested

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

--- composer.bat
+++ composer.bat
@@ -0,0 +1 @@
+@php %~dp0composer.phar %*


Add a bootstrap.bat, to get us started with Windows support for Panda.

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

--- bootstrap.bat
+++ bootstrap.bat
@@ -0,0 +1,2 @@
+SET PERL6LIB=%CD%\ext;%CD%\lib
+perl6 bin\panda install .


bootstrap.cmd : properly fix the wget line.

alt commit just removed it, some artefact of using GH4Win, or just a
finger slip.

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -21,6 +21,7 @@
 )
 rem md5deep ...
 if NOT EXIST %~dp0support\packages\md5deep-4.4.zip (
+  %~dp0support\bootstrap\wget  -q --no-check-certificate --show-progress -c --directory-prefix=%~dp0support\packages https://github.com/jessek/hashdeep/releases/download/release-4.4/md5deep-4.4.zip
 ) ELSE (
 	ECHO MD5Deep package already exists, skipping download.
 )


Automatically generate releases via AppVeyor (5)

--- Data/PACKAGE_RELEASE.bat
+++ Data/PACKAGE_RELEASE.bat
@@ -1,27 +1,27 @@
 @ECHO OFF
 @REM ================ BUILD ================

-echo "[cd ->] %cd%"
+echo "[cd . ->] %cd%"

 cd "%~dp0"
-echo "[cd ->] %cd%"
+echo "[cd ~dp0 ->] %cd%"

 cd ..
-echo "[cd ->] %cd%"
+echo "[cd .. ->] %cd%"

 if exist AlephNote.zip del AlephNote.zip

 echo.

 cd Bin
-echo "[cd ->] %cd%"
+echo "[cd Bin ->] %cd%"

 if exist Package rd /S /Q Package

 xcopy Release\ Package\ /s /e /y

 cd Package
-echo "[cd ->] %cd%"
+echo "[cd Package ->] %cd%"

 rmdir de /S /Q
 rmdir es /S /Q
@@ -47,7 +47,8 @@
 if exist .notes rd /S /Q .notes

 cd Plugins
-echo "[cd ->] %cd%"
+echo "[cd Plugins ->] %cd%"
+
 del /q *.pdb
 del /q *.vshost.exe
 del /q *.manifest
@@ -58,19 +59,19 @@
 @REM ================ PACKAGE ================

 cd ..
-echo "[cd ->] %cd%"
+echo "[cd .. ->] %cd%"
 cd ..
-echo "[cd ->] %cd%"
+echo "[cd .. ->] %cd%"

 if exist AlephNote.zip del AlephNote.zip

 cd Data
-echo "[cd ->] %cd%"
+echo "[cd Data ->] %cd%"

 7za.exe a .\..\AlephNote.zip .\..\Bin\Package\*

 cd ..
-echo "[cd ->] %cd%"
+echo "[cd .. ->] %cd%"

 @REM ================ FINISHED ================


Script to build Condor from the command line (i.e. without the Visual C++ GUI). Still needs work...

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

--- NTconfig/make.bat
+++ NTconfig/make.bat
@@ -0,0 +1,32 @@
+nmake /f condor_util_lib.mak
+nmake /f condor_cpp_util.mak
+nmake /f condor_io.mak
+nmake /f condor_classad.mak
+nmake /f condor_kbdd_dll.mak
+nmake /f condor_procapi.mak
+nmake /f condor_sysapi.mak
+nmake /f condor_daemon_core.mak
+nmake /f condor_acct.mak
+nmake /f condor_ckpt_server_api.mak
+nmake /f condor_qmgmt.mak
+nmake /f condor_collector.mak
+nmake /f condor_config_val.mak
+# nmake /f condor_give_interactive.mak
+nmake /f condor_history.mak
+nmake /f condor_mail.mak
+nmake /f condor_master.mak
+nmake /f condor_negotiator.mak
+nmake /f condor_preen.mak
+nmake /f condor_prio.mak
+nmake /f condor_q.mak
+nmake /f condor_qedit.mak
+nmake /f condor_rm.mak
+nmake /f condor_schedd.mak
+nmake /f condor_shadow.mak
+nmake /f condor_startd.mak
+nmake /f condor_starter.mak
+nmake /f condor_stats.mak
+nmake /f condor_status.mak
+nmake /f condor_submit.mak
+nmake /f condor_tool.mak
+nmake /f condor_userprio.mak


Add loading of generated .sln with Visual Studio Selector

[ci skip]

--- utility/build.bat
+++ utility/build.bat
@@ -58,7 +58,10 @@
     -DBOOST_LIBRARYDIR:PATH=%BOOST_ROOT%/lib%NANOP%-msvc-14.0 ^
     ..
 move nanodbc.sln nanodbc%NANOP%%NANOU%.sln
+rem Build
 msbuild.exe nanodbc%NANOP%%NANOU%.sln /p:Configuration=Release /p:Platform=%MSBUILDP%
+rem Load with Visual Studio Selector
+nanodbc%NANOP%%NANOU%.sln
 popd
 goto :EOF


pass run params

pass run params

--- build/run.cmd
+++ build/run.cmd
@@ -1,2 +1,2 @@
 xcopy /s /i /y /d testapp\* win32\test\
-win32\test\test.exe+win32\test\test.exe %*


windows/packaging: better errors in script

--- packaging/windows/build_debug_installer.cmd
+++ packaging/windows/build_debug_installer.cmd
@@ -8,9 +8,18 @@

 cd %GOPATH%\src\github.com\keybase\client\packaging\windows
 call .\build_prerelease.cmd
+IF %ERRORLEVEL% NEQ 0 (
+  EXIT /B 1
+)
 cd %GOPATH%\src\github.com\keybase\client\packaging\windows
 call .\buildui.cmd
+IF %ERRORLEVEL% NEQ 0 (
+  EXIT /B 1
+)
 cd %GOPATH%\src\github.com\keybase\client\packaging\windows
 call .\doinstaller_wix.cmd debug
+IF %ERRORLEVEL% NEQ 0 (
+  EXIT /B 1
+)
 cd %GOPATH%\src\github.com\keybase\client\packaging\windows


Add script for running the API conversion tool on Windows (#4476)

Signed-off-by: Jakub Scholz <c50267b906a652f2142cfab006e215c9f6fdc8a0@scholzj.com>

error: pathspec 'api-conversion/bin/api-conversion.cmd' did not match any file(s) known to git

--- api-conversion/bin/api-conversion.cmd
+++ api-conversion/bin/api-conversion.cmd
@@ -0,0 +1,28 @@
+@echo off
+
+setlocal
+
+REM make it work in the release
+SET CLASSPATH=%~dp0..\libs\*;%CLASSPATH%
+
+@REM Check if JAVA_HOME is set
+if not defined JAVA_HOME (
+  echo Error: JAVA_HOME is not set.
+  goto :eof
+)
+
+set JAVA_HOME=%JAVA_HOME:"=%
+
+if not exist "%JAVA_HOME%"\bin\java.exe (
+  echo Error: JAVA_HOME is incorrectly set.
+  goto :eof
+)
+
+REM strip off trailing \ from JAVA_HOME or java does not start
+if "%JAVA_HOME:~-1%" EQU "\" set "JAVA_HOME=%JAVA_HOME:~0,-1%"
+
+set JAVA="%JAVA_HOME%"\bin\java
+
+call %JAVA% -cp "%CLASSPATH%" io.strimzi.kafka.api.conversion.cli.EntryCommand %*
+
+endlocal


add DP kernels to combined ptx header

add DP kernels to combined ptx header

--- project/beagle-vs/libhmsbeagle-cuda/createCombinedCudaHeader.bat
+++ project/beagle-vs/libhmsbeagle-cuda/createCombinedCudaHeader.bat
@@ -13,13 +13,12 @@
 echo #ifndef __BeagleCUDA_kernels__ >> %OUTFILE%
 echo #define __BeagleCUDA_kernels__ >> %OUTFILE%

-bin2c.exe -st -n KERNELS_STRING_4 data\kernels4.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_16 data\kernels16.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_32 data\kernels32.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_48 data\kernels48.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_64 data\kernels64.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_128 data\kernels128.ptx >> %OUTFILE%
-bin2c.exe -st -n KERNELS_STRING_192 data\kernels192.ptx >> %OUTFILE%
+FOR %%G IN (16 32 48 64 80 128 192) DO (
+
+bin2c.exe -st -n KERNELS_STRING_SP_%%G data\kernels%%G.ptx >> %OUTFILE%
+bin2c.exe -st -n KERNELS_STRING_DP_%%G data\kernels_dp_%%G.ptx >> %OUTFILE%
+
+)

 echo #endif 	// __BeagleCUDA_kernels__ >> %OUTFILE%


Update datamosh.bat

Update datamosh.bat

fixed error that occurred when dropping a video from a different directory onto the bat file and it would change the current directory

--- datamosh.bat
+++ datamosh.bat
@@ -1,15 +1,12 @@
 @echo off

-rem keeps the current directory from changing if a video is dropped on the bat file
+rem keeps the current directory from changing if a video is dropped on the bat file from the file explorer
 cd /d "%~dp0"

 if "%1"=="" (
-
     echo Please provide a video file name.
     goto:eof
-
 ) else (
-
     echo Processing, please wait.
     start /b /wait python-3.6.0\python.exe do_the_mosh_win.py "%1"
 )


OD: Automate nuget versioning

OD: Automate nuget versioning

--- H.Versioning/PublishNuGet.bat
+++ H.Versioning/PublishNuGet.bat
@@ -1,6 +1,10 @@
 call .\Release.bat
+
+call .\Build\Publish\H.Versioning.Cli.exe nuspec "H.Versioning.Cli\H.Versioning.Cli.nuspec"

 del /S /Q .\*nupkg

 .\nuget.exe pack ".\H.Versioning.Cli\H.Versioning.Cli.csproj" -Prop Configuration=Release -IncludeReferencedProjects
-.\nuget.exe push ".\H.Versioning.*.nupkg" 79ccf130-386b-41b8-a8e2-6ce17f0459ca -Source https://www.nuget.org/api/v2/package+.\nuget.exe push ".\H.Versioning.*.nupkg" 79ccf130-386b-41b8-a8e2-6ce17f0459ca -Source https://www.nuget.org/api/v2/package
+
+call git checkout HEAD -- "H.Versioning.Cli\H.Versioning.Cli.nuspec"


...

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

--- Scripts/Tools/ToolAdaptors/vbs/update_shortcut_props_from_dir.bat
+++ Scripts/Tools/ToolAdaptors/vbs/update_shortcut_props_from_dir.bat
@@ -32,6 +32,7 @@

 :IMPL
 rem script flags
+set RESTORE_LOCALE=0
 set "FLAG_CHCP="

 :FLAGS_LOOP
@@ -124,7 +125,7 @@

 for /F "eol= tokens=* delims=" %%i in ("%LINKS_DIR%\.") do set "LINKS_DIR=%%~fi"

-for /F "usebackq eol= tokens=* delims=" %%i in (`dir /A:-D /B /S "%LINKS_DIR%\*.lnk"`) do (
+for /F "usebackq eol= tokens=* delims=" %%i in (`dir /A:-D /B /S "%LINKS_DIR%\*.lnk" 2^>nul`) do (
   set "LINK_FILE_PATH=%%i"
   call :UPDATE_LINK
 )
@@ -154,8 +155,8 @@
 rem remove quotes at first
 set "PROP_VALUE=%PROP_VALUE:"=%"

-rem remove BOM prefix (CAUTION: byte sequence might be not visible in the editor)
-set "PROP_NAME=%PROP_NAME:?=%"
+rem remove BOM prefix (CAUTION: byte sequence might be not visible in an editor and not copyable in a text merger)
+set "PROP_NAME=%PROP_NAME:=%"

 call set "PROP_VALUE=%%PROP_VALUE:%REPLACE_FROM%=%REPLACE_TO%%%"


Add start_appjs.bat

Add start_appjs.bat

Starts the main bot by using the app.js entry file. For use in the event of a nodemon mishap.

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

--- start_AppJS.bat
+++ start_AppJS.bat
@@ -0,0 +1,2 @@
+node app.js
+PAUSE