mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Small changes, IDE fixes
This commit is contained in:
parent
093eaa64c0
commit
a8df8c0e47
10 changed files with 141 additions and 18 deletions
|
@ -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 = "-workspace=c:\\beef\\BeefTools\\LogViewer"
|
||||
DebugCommandArguments = "-proddir=C:\\Beef_website\\BeefTools\\BeefInstall\\StubUI"
|
||||
DebugWorkingDirectory = "c:\\Beef\\IDE\\Tests\\EmptyTest"
|
||||
EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
|
||||
|
||||
|
@ -56,7 +56,7 @@ TargetName = "BeefIDE_d2"
|
|||
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib"
|
||||
CLibType = "Dynamic"
|
||||
BeefLibType = "DynamicDebug"
|
||||
DebugCommandArguments = "-workspace=c:\\_beef\\testapp"
|
||||
DebugCommandArguments = "-workspace=c:\\beef\\ide\\mintest"
|
||||
DebugWorkingDirectory = "$(ProjectDir)\\dist"
|
||||
EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ Projects = {mintest = {Path = "."}, minlib = {Path = "minlib"}, LibA = {Path = "
|
|||
StartupProject = "mintest"
|
||||
|
||||
[Configs.Debug.Win32]
|
||||
BfOptimizationLevel = "OgPlus"
|
||||
InitLocalVariables = true
|
||||
IntermediateType = "ObjectAndIRCode"
|
||||
ConfigSelections = {mintest2 = {Enabled = false}}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
//♀Farts
|
||||
//Ãjaxa̐ḁ
|
||||
|
||||
|
@ -177,6 +176,9 @@ namespace Hey.Dude.Bro
|
|||
|
||||
public static int Main(String[] args)
|
||||
{
|
||||
int* iPtr = null;
|
||||
*iPtr = 123;
|
||||
|
||||
Blurg.Hey();
|
||||
|
||||
/*while (true)
|
||||
|
|
|
@ -92,8 +92,50 @@ class Bloozer
|
|||
int mA;
|
||||
}
|
||||
|
||||
enum Zorf : IDisposable
|
||||
{
|
||||
case A;
|
||||
case B;
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class IFaceA
|
||||
{
|
||||
public static void Fart()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class Zlips : IFaceA, IDisposable
|
||||
{
|
||||
static void Fart()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
PrintF("Disposed");
|
||||
}
|
||||
}
|
||||
|
||||
class Testo
|
||||
{
|
||||
public this()
|
||||
{
|
||||
PrintF("Testo this %p\n", this);
|
||||
}
|
||||
|
||||
public ~this()
|
||||
{
|
||||
PrintF("Testo ~this %p\n", this);
|
||||
}
|
||||
}
|
||||
|
||||
class Blurg
|
||||
{
|
||||
|
@ -107,14 +149,79 @@ class Blurg
|
|||
|
||||
}
|
||||
|
||||
void TestIt(int a, int b, int c)
|
||||
void TestIt(String a, String b)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
TestStruct GetTS()
|
||||
{
|
||||
return .();
|
||||
}
|
||||
|
||||
static void Test(int a, int b)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static void Test(int a, int b, int c)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void Use<T>(T val) where T : IFaceA
|
||||
{
|
||||
IFaceA.Fart();
|
||||
}
|
||||
|
||||
public static void Hey()
|
||||
{
|
||||
Loop:
|
||||
for (int i < 10)
|
||||
{
|
||||
defer
|
||||
{
|
||||
//for ()
|
||||
JLoop: for (int j < 5)
|
||||
{
|
||||
//continue Loop;
|
||||
}
|
||||
|
||||
//break JLoop;
|
||||
|
||||
int z = 3;
|
||||
|
||||
/*void Zorg()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Zorg();*/
|
||||
//return;
|
||||
|
||||
//break Loop;
|
||||
}
|
||||
}
|
||||
|
||||
defer
|
||||
{
|
||||
scope:: Testo();
|
||||
|
||||
int i = 0;
|
||||
if (i == 0)
|
||||
scope:: Testo();
|
||||
if (i == 1)
|
||||
scope:: Testo();
|
||||
}
|
||||
|
||||
|
||||
|
||||
int aaaaaa = 123;
|
||||
if (aaaaaa == 123)
|
||||
return;//A
|
||||
|
||||
int bbbbbbb = 222;
|
||||
return;//B
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -9430,6 +9430,14 @@ namespace IDE
|
|||
|
||||
void ShowStartupFile()
|
||||
{
|
||||
bool hasSourceShown = false;
|
||||
WithSourceViewPanels(scope [&] (panel) =>
|
||||
{
|
||||
hasSourceShown = true;
|
||||
});
|
||||
if (hasSourceShown)
|
||||
return;
|
||||
|
||||
if (mWorkspace.mStartupProject != null)
|
||||
{
|
||||
bool didShow = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue