diff --git a/.gitignore b/.gitignore index 19a8890..8fcd2b8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ # 6502bench-specific stuff SourceGen/SourceGen-settings -SourceGen/PluginDll +SourceGen/PluginDllCache DIST_Debug DIST_release diff --git a/SourceGen/MainController.cs b/SourceGen/MainController.cs index d8f7698..0e16c2f 100644 --- a/SourceGen/MainController.cs +++ b/SourceGen/MainController.cs @@ -1425,7 +1425,7 @@ namespace SourceGen { typeof(ClipLineFormat), (int)ClipLineFormat.AssemblerSource); - int[] rightWidths = new int[] { 9, 8, 11, 100 }; + int[] rightWidths = new int[] { 16, 8, 18, 100 }; Exporter.ActiveColumnFlags colFlags = Exporter.ActiveColumnFlags.None; if (format == ClipLineFormat.Disassembly) { diff --git a/SourceGen/RuntimeData/Help/advanced.html b/SourceGen/RuntimeData/Help/advanced.html index 8c5900a..1e8db88 100644 --- a/SourceGen/RuntimeData/Help/advanced.html +++ b/SourceGen/RuntimeData/Help/advanced.html @@ -210,9 +210,9 @@ While plugins can use CommonUtil directly, they should avoid doing so. The APIs there are not guaranteed to be stable, so plugins that rely on them may break in a subsequent release of SourceGen.
-Extension scripts are compiled into .DLLs, and saved in the PluginDll +
Extension scripts are compiled into .DLLs, and saved in the PluginDllCache directory, which lives next to the application executable and RuntimeData. If the extension script is the same age or older than the DLL, SourceGen will continue to use the existing DLL.
@@ -225,6 +225,9 @@ would look like "PROJ_MyProject_MyScript.dll".The PluginCommon and CommonUtil DLLs will be copied into the directory, so that code in the sandbox has access to them.
+The contents of the directory are generated as needed, and can be deleted +entirely whenever SourceGen isn't running.
+Extension scripts are executed in an App Domain sandbox. App domains are
diff --git a/SourceGen/Sandbox/PluginDllCache.cs b/SourceGen/Sandbox/PluginDllCache.cs
index 93ad26c..990b5c9 100644
--- a/SourceGen/Sandbox/PluginDllCache.cs
+++ b/SourceGen/Sandbox/PluginDllCache.cs
@@ -25,7 +25,7 @@ using PluginCommon;
namespace SourceGen.Sandbox {
///