Skip to content

Commit 9db0342

Browse files
author
Andrey Ovsiankin
committed
Merge branch 'release/v1.6.0'
2 parents 9673f28 + 01f3069 commit 9db0342

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1069
-89
lines changed

Build.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,9 @@
125125
<CallTarget Targets="InstallStdLib" Condition="'$(StandardLibraryPacks)' != ''"/>
126126
<DeleteTree Directories="$(LibFolder)/opm" />
127127

128-
<Exec Command="&quot;$(ToolFolder)/oscript.exe&quot; &quot;$(MSBuildProjectDirectory)\install\unicode-zipper.os&quot; unpack &quot;$(MSBuildProjectDirectory)\install\opm-0.16.2.ospx&quot; &quot;$(LibFolder)\tmp&quot;"/>
128+
<Exec Command="&quot;$(ToolFolder)/oscript.exe&quot; &quot;$(MSBuildProjectDirectory)\install\unicode-zipper.os&quot; unpack &quot;$(MSBuildProjectDirectory)\install\opm-1.0.2.ospx&quot; &quot;$(LibFolder)\tmp&quot;"/>
129129
<Exec Command="&quot;$(ToolFolder)/oscript.exe&quot; &quot;$(MSBuildProjectDirectory)\install\unicode-zipper.os&quot; unpack &quot;$(LibFolder)\tmp\content.zip&quot; &quot;$(LibFolder)/opm&quot;"/>
130130

131-
<Copy SourceFiles="$(MSBuildProjectDirectory)\install\oscript-config.exe" DestinationFolder="$(TempFolder)/%(PlatformItem.BinFolder)" />
132131
<Copy SourceFiles="$(MSBuildProjectDirectory)\install\package-loader.os" DestinationFolder="$(LibFolder)"/>
133132

134133
<DeleteTree Directories="$(LibFolder)\tmp"/>

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pipeline {
44
agent none
55

66
environment {
7-
ReleaseNumber = '1.5.0'
7+
ReleaseNumber = '1.6.0'
88
outputEnc = '65001'
99
}
1010

install/opm-0.16.2.ospx

-402 KB
Binary file not shown.

install/opm-1.0.2.ospx

408 KB
Binary file not shown.

install/oscript-config.exe

-2.09 MB
Binary file not shown.

src/ASPNETHandler/ASPNetApplicationHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void ShowExceptionInfo(Exception exc)
6262
throw new NotImplementedException();
6363
}
6464

65-
public bool InputString(out string result, int maxLen)
65+
public bool InputString(out string result, string prompt, int maxLen, bool multiline)
6666
{
6767
throw new NotImplementedException();
6868
}

src/ASPNETHandler/ASPNetNullApplicationHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void ShowExceptionInfo(Exception exc)
3434
// Непонятно что это, наверное аналог системного диалога, на сервере нет никаких диалогов
3535
}
3636

37-
public bool InputString(out string result, int maxLen)
37+
public bool InputString(out string result, string prompt, int maxLen, bool multiline)
3838
{
3939
// Мы не можем вводить никаких строк на сервере в 1С это недоступно
4040
result = null;

src/NUnitTests/EngineWrapperNUnit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public string[] GetCommandLineArguments()
7171
return commandLineArgs;
7272
}
7373

74-
public bool InputString(out string result, int maxLen)
74+
public bool InputString(out string result, string prompt, int maxLen, bool multiline)
7575
{
7676
result = "";
7777
return false;

src/OneScript.DebugProtocol/EvaluatedVariableLocator.cs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class EvaluatedVariableLocator : IVariableLocator
1818
private int[] _path;
1919
private readonly int _stackFrameIndex;
2020
private readonly string _expression;
21+
private readonly int _threadId;
2122

2223
private Variable[] _variables;
2324

@@ -28,21 +29,24 @@ private EvaluatedVariableLocator(EvaluatedVariableLocator parent, int variableIn
2829
Array.Copy(parent._path, _path, parent._path.Length);
2930
_path[parent._path.Length] = variableIndex;
3031
_expression = parent._expression;
31-
}
32+
_threadId = parent._threadId;
33+
}
3234

33-
public EvaluatedVariableLocator(string expression, int stackFrameIndex)
35+
public EvaluatedVariableLocator(string expression, int threadId, int stackFrameIndex)
3436
{
3537
_stackFrameIndex = stackFrameIndex;
3638
_path = new int[0];
3739
_expression = expression;
38-
}
40+
_threadId = threadId;
41+
}
3942

40-
public EvaluatedVariableLocator(string expression, int stackFrameIndex, int variableIndex)
43+
public EvaluatedVariableLocator(string expression, int threadId, int stackFrameIndex, int variableIndex)
4144
{
4245
_stackFrameIndex = stackFrameIndex;
4346
_path = new int[] { variableIndex };
4447
_expression = expression;
45-
}
48+
_threadId = threadId;
49+
}
4650

4751
public Variable this[int index]
4852
{
@@ -53,7 +57,7 @@ public Variable this[int index]
5357
return _variables[index];
5458
}
5559
}
56-
60+
5761
public int Count
5862
{
5963
get
@@ -85,7 +89,7 @@ void IVariableLocator.Hydrate(IDebuggerService process)
8589
{
8690
if(_variables != null)
8791
return;
88-
var variables = process.GetEvaluatedVariables(_expression, 1, _stackFrameIndex, _path);
92+
var variables = process.GetEvaluatedVariables(_expression, _threadId, _stackFrameIndex, _path);
8993
_variables = variables;
9094
}
9195

src/OneScriptDocumenter/toc_layout.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
* [КоллекцияСовпаденийРегулярногоВыражения]($base_url$/КоллекцияСовпаденийРегулярногоВыражения)
8080
* [СовпадениеРегулярногоВыражения]($base_url$/СовпадениеРегулярногоВыражения)
8181

82+
### Работа с фоновыми заданиями
83+
84+
* [ФоновоеЗадание](/syntax/page/ФоновоеЗадание)
85+
* [МенеджерФоновыхЗаданий](/syntax/page/МенеджерФоновыхЗаданий)
86+
* [БлокировкаРесурса](/syntax/page/БлокировкаРесурса)
87+
8288
### Работа с форматами сериализации
8389

8490
* [ЧтениеXML]($base_url$/ЧтениеXML)

0 commit comments

Comments
 (0)