Skip to content

Commit

Permalink
Merge branch 'pascalabcnet:master' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
spectatorBH authored Sep 2, 2023
2 parents 1bb7313 + 81ad1a2 commit 0897ba2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Configuration/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "9";
public const string Build = "0";
public const string Revision = "3347";
public const string Revision = "3349";

public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Version.defs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%MINOR%=9
%REVISION%=3347
%REVISION%=3349
%COREVERSION%=0
%MAJOR%=3
2 changes: 1 addition & 1 deletion Release/pabcversion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.0.3347
3.9.0.3349
2 changes: 1 addition & 1 deletion ReleaseGenerators/PascalABCNET_version.nsh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!define VERSION '3.9.0.3347'
!define VERSION '3.9.0.3349'
2 changes: 2 additions & 0 deletions VisualPascalABCNETLinux/DS/Tools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public class Tools
public static string GetTextFromClipboard()
{
IDataObject dataObject = Clipboard.GetDataObject();
if (dataObject == null)
return "";
if (dataObject.GetDataPresent(DataFormats.Text))
{
// Yes it is, so display it in a text box.
Expand Down
4 changes: 3 additions & 1 deletion VisualPascalABCNETLinux/IB/Debugger/Debugger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,10 @@ public void Start(string fileName, string sourceFileName, string workingDirector

public void NullProcessHandleIfNeed(string fileName)
{
#if DEBUG
Console.WriteLine("null process handle");
if (string.Compare(fileName,this.ExeFileName,true)==0)
#endif
if (string.Compare(fileName,this.ExeFileName,true)==0)
{
FileName = null;
handle = 0;
Expand Down
4 changes: 2 additions & 2 deletions VisualPlugins/TraningControlPlugin/TeacherControlPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public VisualPascalABCPlugin_TeacherControlPlugin(IWorkbench Workbench)
this.Workbench = Workbench;
VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler;

User = new SiteAccessProvider();

if (IsLightPTInWorkingDirectory())
{
IsMechmath = System.Environment.MachineName.ToLower().StartsWith("mil8a-");
Expand All @@ -54,8 +56,6 @@ public VisualPascalABCPlugin_TeacherControlPlugin(IWorkbench Workbench)
}
// RegisterForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler; // Пока форма регистрации никак не связана с компилятором

User = new SiteAccessProvider();

// Регистрация обработчика
this.Workbench.ServiceContainer.RunService.Starting += RunStartingHandler;
this.Workbench.ServiceContainer.RunService.ChangeArgsBeforeRun += ChangeArgsBeforeRunHandler;
Expand Down

0 comments on commit 0897ba2

Please sign in to comment.