1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 03:28:02 +02:00

Bug fixes, installer, [Export]

Fixed a bunch of bugs in aggregate const initializers
Fixed ZIP bugs
Fixed a compilation case where we change protection while reifying a type
Added another project kind - Dynamic Library
Added [Export] for DLL method exporting
Fixed some issues of things being  generated as __NOINLINE incorrectly
Fixed an issue with module extensions with not-yet-demanded on-demand methods
Started adding Installer
This commit is contained in:
Brian Fiete 2019-08-27 08:04:41 -07:00
parent efa22e51fb
commit 09016c8dc0
135 changed files with 3615 additions and 2337 deletions

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.IO;
using Beefy.gfx;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Beefy.gfx;
using Beefy.sys;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Threading;
using System.IO;

View file

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Diagnostics;

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Beefy.widgets;
using Beefy;

View file

@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Text;
using System.IO;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy.utils;
using Beefy.geom;
using System.Diagnostics;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy.utils;
using System.Diagnostics;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Beefy;
using Beefy.utils;

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Beefy;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace Beefy.gfx
{

View file

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace Beefy.gfx
{

View file

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Diagnostics;

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy.gfx;
namespace Beefy.res

View file

@ -4,7 +4,6 @@ using System.Text;
using System.Reflection;
using Beefy.utils;
using Beefy.gfx;
using System.Runtime.InteropServices;
namespace Beefy.res
{

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy;
namespace Beefy.res

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy;
namespace Beefy.res

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Beefy;
namespace Beefy.res

View file

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Text;
using Beefy.widgets;
using Beefy;
using System.Runtime.InteropServices;
namespace Beefy.sys
{

View file

@ -82,6 +82,7 @@ namespace Beefy.theme.dark
public ~this()
{
Debug.Assert(mHasClosed);
Detach();
}
@ -187,11 +188,6 @@ namespace Beefy.theme.dark
if (mWidgetWindow != null)
{
WidgetWindow.sOnMouseDown.Remove(scope => HandleMouseDown, true);
WidgetWindow.sOnMouseWheel.Remove(scope => HandleMouseWheel, true);
WidgetWindow.sOnMenuItemSelected.Remove(scope => HandleSysMenuItemSelected, true);
WidgetWindow.sOnKeyDown.Remove(scope => HandleKeyDown, true);
mWidgetWindow.Close();
}
mCloseEvent();
@ -249,6 +245,18 @@ namespace Beefy.theme.dark
Close();
}
protected override void RemovedFromWindow()
{
base.RemovedFromWindow();
Debug.Assert(mHasClosed);
WidgetWindow.sOnMouseDown.Remove(scope => HandleMouseDown, true);
WidgetWindow.sOnMouseWheel.Remove(scope => HandleMouseWheel, true);
WidgetWindow.sOnMenuItemSelected.Remove(scope => HandleSysMenuItemSelected, true);
WidgetWindow.sOnKeyDown.Remove(scope => HandleKeyDown, true);
}
}
static class DarkTooltipManager

View file

@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices;
namespace Beefy.utils
{

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Beefy.utils

View file

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic;
using System.Text;
using Beefy.gfx;
using System.Runtime.InteropServices;
namespace Beefy.widgets
{

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;
using System.Threading;

View file

@ -852,7 +852,7 @@ namespace Beefy.widgets
newSelection = GetRoot();
while (newSelection.mChildAreaHeight > 0)
{
newSelection = GetRoot().mChildItems[GetRoot().mChildItems.Count - 1];
newSelection = newSelection.mChildItems[newSelection.mChildItems.Count - 1];
}
case KeyCode.PageUp:
int32 numIterations = (int32)(mScrollContentContainer.mHeight / selectedItem.mSelfHeight);