Skip to content

Commit 12a683c

Browse files
committed
Релиз 2.4.1.0
1 parent a9d7a2a commit 12a683c

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

Diff for: DeclarativeForms/DeclarativeForms/Form.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public void Open()
387387
if (!isWin)
388388
{
389389
process.StartInfo.FileName = DeclarativeForms._nw;
390-
process.StartInfo.Arguments = DeclarativeForms.pathStartupScript;
390+
process.StartInfo.Arguments = "\u0022" + DeclarativeForms.pathStartupScript + "\u0022";
391391
System.Threading.Thread.Sleep(2000);
392392
}
393393
else

Diff for: DeclarativeForms/DeclarativeForms/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Можно задать все значения или принять номера сборки и редакции по умолчанию
3333
// используя "*", как показано ниже:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.4.0.0")]
36-
[assembly: AssemblyFileVersion("2.4.0.0")]
35+
[assembly: AssemblyVersion("2.4.1.0")]
36+
[assembly: AssemblyFileVersion("2.4.1.0")]

Diff for: DeclarativeForms/DeclarativeForms/Timer.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public DfTimer()
1111
{
1212
ItemKey = "d" + Path.GetRandomFileName().Replace(".", "");
1313
DeclarativeForms.AddToHashtable(ItemKey, this);
14-
Interval = 1000;
1514
}
1615

1716
public PropertyInfo this[string p1]
@@ -27,7 +26,7 @@ public string ItemKey
2726
private set { itemKey = value; }
2827
}
2928

30-
private int interval;
29+
public int interval { get; set; } = 1000;
3130
[ContextProperty("Интервал", "Interval")]
3231
public int Interval
3332
{
@@ -43,7 +42,7 @@ public bool Enabled
4342
private set { enabled = value; }
4443
}
4544

46-
public DfAction tick;
45+
public DfAction tick { get; set; }
4746
[ContextProperty("ПриСрабатыванииТаймера", "Tick")]
4847
public DfAction Tick
4948
{

Diff for: docs/OneScriptDeclarativeForms2_4_1_0.zip

972 KB
Binary file not shown.

Diff for: docs/down.html

+12
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
<p style="margin-left: 40px;">Версия 0.3.0.0 библиотеки вышла 01 октября 2024 г. Её можно считать первой более менее наполненной версией.</p>
2525
<p style="margin-left: 40px;">Справку к версиям можно найти в каталоге ..\OSDFormsRu\, скачав соответствующий релиз с <a href="https://github.com/ahyahy/OneScriptDeclarativeForms" target="_blank">GitHub.</a></p>
2626

27+
<hr style="border-color: lightgray; margin-left: 40px; margin-right: 40px;">
28+
<p style="margin-left: 40px;">Версия 2.4.1.0 -&nbsp;<a href="OneScriptDeclarativeForms2_4_1_0.zip"><big><span style="font-weight: bold;"><button>скачать</button></span></big></a></p>
29+
<div style="margin-left: 40px;"></div>
30+
<div style="margin-left: 40px;">
31+
<details><summary>Описание</summary>
32+
<div style="margin-left: 40px;">
33+
<br>&nbsp;&nbsp;&nbsp;- Исправлена ошибка при использовании пробела в полном имени стартового сценария (для linux)
34+
<br>&nbsp;&nbsp;&nbsp;- Исправлена ошибка обработки события <B>Таймер.ПриСрабатыванииТаймера&nbsp;(Timer.Tick)</B>
35+
</div>
36+
</details>
37+
</div>
38+
2739
<hr style="border-color: lightgray; margin-left: 40px; margin-right: 40px;">
2840
<p style="margin-left: 40px;">Версия 2.4.0.0 -&nbsp;<a href="OneScriptDeclarativeForms2_4_0_0.zip"><big><span style="font-weight: bold;"><button>скачать</button></span></big></a></p>
2941
<div style="margin-left: 40px;"></div>

Diff for: tests/ГенерацияДекларФорм.os

+3-4
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,6 @@
35233523
| {
35243524
| ItemKey = ""d"" + Path.GetRandomFileName().Replace(""."", """");
35253525
| DeclarativeForms.AddToHashtable(ItemKey, this);
3526-
| Interval = 1000;
35273526
| }
35283527
|
35293528
| public PropertyInfo this[string p1]
@@ -3539,7 +3538,7 @@
35393538
| private set { itemKey = value; }
35403539
| }
35413540
|
3542-
| private int interval;
3541+
| public int interval { get; set; } = 1000;
35433542
| [ContextProperty(""Интервал"", ""Interval"")]
35443543
| public int Interval
35453544
| {
@@ -3555,7 +3554,7 @@
35553554
| private set { enabled = value; }
35563555
| }
35573556
|
3558-
| public DfAction tick;
3557+
| public DfAction tick { get; set; }
35593558
| [ContextProperty(""ПриСрабатыванииТаймера"", ""Tick"")]
35603559
| public DfAction Tick
35613560
| {
@@ -16589,7 +16588,7 @@
1658916588
| if (!isWin)
1659016589
| {
1659116590
| process.StartInfo.FileName = DeclarativeForms._nw;
16592-
| process.StartInfo.Arguments = DeclarativeForms.pathStartupScript;
16591+
| process.StartInfo.Arguments = ""\u0022"" + DeclarativeForms.pathStartupScript + ""\u0022"";
1659316592
| System.Threading.Thread.Sleep(2000);
1659416593
| }
1659516594
| else

0 commit comments

Comments
 (0)