1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-06 16:25:59 +02:00

Fixed pause issue running post-build scripts, added curl diagnostics

This commit is contained in:
Brian Fiete 2019-09-04 07:00:38 -07:00
parent c5dca50e50
commit 43c82515fe
5 changed files with 37 additions and 21 deletions

View file

@ -27,7 +27,7 @@ TargetDirectory = "$(WorkspaceDir)/dist"
TargetName = "BeefIDE_d"
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib"
CLibType = "Dynamic"
DebugCommandArguments = "-proddir=C:\\Beef\\IDE\\Tests\\Test1 -test=scripts\\HotSwap_Lambdas01.txt -testNoExit"
DebugCommandArguments = "-test=scripts\\Minidump.txt -testNoExit -verbosity=Diagnostic"
DebugWorkingDirectory = "c:\\Beef\\IDE\\Tests\\EmptyTest"
EnvironmentVars = ["_NO_DEBUG_HEAP=1"]

View file

@ -51,7 +51,7 @@ namespace IDE
Minimal,
Normal,
Detailed,
Diagnostics
Diagnostic
}
class DeferredUserRequest
@ -6290,8 +6290,8 @@ namespace IDE
mVerbosity = .Normal;
else if (value == "detailed")
mVerbosity = .Detailed;
//else if (value == "diagnostic")
//mVerbosity = .Diagnostic;
else if (value == "diagnostic")
mVerbosity = .Diagnostic;
case "-workspace","-proddir":
var relDir = scope String(value);
if ((relDir.EndsWith("\\")) || relDir.EndsWith("\""))
@ -10461,7 +10461,16 @@ namespace IDE
}
else
cmd.Append(msg);
if ((cmd == "msg") || (cmd == "dbgEvalMsg") || (cmd == "log"))
bool isOutput = (cmd == "msg") || (cmd == "dbgEvalMsg") || (cmd == "log");
if (cmd == "msgLo")
{
if (mVerbosity <= .Diagnostic)
continue;
isOutput = true;
}
if (isOutput)
{
if (deferredMsgType != cmd)
{

View file

@ -893,18 +893,20 @@ namespace IDE
if (gApp.mLastActiveSourceViewPanel != null)
{
var sourceViewPanel = gApp.mLastActiveSourceViewPanel;
if (sourceViewPanel.HasFocus())
{
if (sourceViewPanel.[Friend]mOldVerLoadExecutionInstance != null)
return false;
if (!sourceViewPanel.mDeferredResolveResults.IsEmpty)
return false;
if (sourceViewPanel.[Friend]mOldVerLoadExecutionInstance != null)
return false;
if (!sourceViewPanel.mDeferredResolveResults.IsEmpty)
return false;
if (sourceViewPanel.[Friend]mWantsFastClassify)
return false;
if (sourceViewPanel.[Friend]mWantsFullClassify)
return false;
if (sourceViewPanel.[Friend]mWantsFullRefresh)
return false;
if (sourceViewPanel.[Friend]mWantsFastClassify)
return false;
if (sourceViewPanel.[Friend]mWantsFullClassify)
return false;
if (sourceViewPanel.[Friend]mWantsFullRefresh)
return false;
}
}
if ((gApp.mBfResolveCompiler != null) && (gApp.mBfResolveCompiler.IsPerformingBackgroundOperation()))