Skip to content

Commit 556e7a4

Browse files
committed
Development-dependencies updated
1 parent 0365cc6 commit 556e7a4

File tree

9 files changed

+33
-177
lines changed

9 files changed

+33
-177
lines changed

APLSource/EventCodes.aplc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@
6262

6363
∇ r←Version
6464
:Access Public Shared
65-
r←({⍵}⍕⎕THIS)'3.0.1+25' '2021-03-02'
65+
r←({⍵}⍕⎕THIS)'3.1.0+25' '2024-11-30'
6666
6767

6868
∇ History
6969
:Access Public Shared
70+
⍝ * 3.1.0
71+
⍝ * 819⌶ exchanged against ⎕C for 20.0-readiness
7072
⍝ * 3.0.1
7173
⍝ * Package config corrected
7274
⍝ * 3.0.0
@@ -144,7 +146,7 @@
144146
:Else
145147
'Invalid sort type: either '''' (alpha) or ⍬ (numeric)'⎕SIGNAL 11
146148
:EndIf
147-
:If 0≠≢__start←{1(819⌶)⍕⍵}__start~'*'
149+
:If 0≠≢__start←{2::1(819⌶)⍵ ⋄ 1 ⎕C ⍵}⍕__start~'*'
148150
__allNumbers←(((⍴,__start)↑[2]↑__allNumbers[;1])∧.=__start)⌿__allNumbers
149151
:EndIf
150152

APLSource/TestCases/Test_30.aplf

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
R←Test_30(stopFlag batchFlag);⎕TRAP;errors;TEMP;html;list;version
1+
R←Test_30(stopFlag batchFlag);⎕TRAP;errors;TEMP;html;list;version;ind
22
⍝ Check whether we cover all documented codes according to the latest installed version
33
⎕TRAP←(999 'C' '. ⍝ Deliberate error')(0 'N')
44
R←T._Failed
55

66
list←⌽GetInstalledAPLs ⍬
7-
:Repeat
8-
version←3⊃' 'APLTreeUtils2.Split⊃list
9-
:If 0=≢errors←∆GetErrorsFromHelpPage'http://help.dyalog.com/',version,'/Content/Language/System%20Functions/trap.htm'
10-
list←1↓list
11-
:EndIf
12-
:Until (0<≢errors)∨0=≢list
13-
'Could not find any APL?!'⎕SIGNAL 11/⍨0=≢errors
14-
list←##.EventCodes.List''
15-
→T.PassesIf∧/list[;2]∊errors[;1]
16-
→T.PassesIf∧/errors[;1]∊list[;2]
7+
:If 0=≢ind←'Which version? (Latest?!)'CommTools.Select list
8+
R←T._SkippedByUser
9+
:Else
10+
:Repeat
11+
version←3⊃' 'APLTreeUtils2.Split ind⊃list
12+
:If 0=≢errors←∆GetErrorsFromHelpPage'http://help.dyalog.com/',version,'/Content/Language/System%20Functions/trap.htm'
13+
list←1↓list
14+
:EndIf
15+
:Until (0<≢errors)∨0=≢list
16+
'Could not find any APL?!'⎕SIGNAL 11/⍨0=≢errors
17+
list←##.EventCodes.List''
18+
→T.PassesIf∧/list[;2]∊errors[;1]
19+
→T.PassesIf∧/errors[;1]∊list[;2]
1720

18-
R←T._OK
21+
R←T._OK
22+
:EndIf

APLSource/TestCases/∆GetErrorsFromHelpPage.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:If ∨/'<title>401 Unauthorized</title>'⍷html
1414
errors←''
1515
:Else
16-
html←{⍵↓⍨3⊃{⍵/⍳≢⍵}'<table'⍷⍵}html
16+
html←{⍵↓⍨3⊃{⍵/⍳≢⍵}'<table'⍷⍵}html ⍝ Index Error?! Maybe the documentation is not yet available for the selected version?
1717
buff←(≢'<td class="Dyalog">')↓¨{⍵~⎕TC}¨('<td class="Dyalog">'⍷html)⊂html
1818
bool←(≢buff)⍴1 0
1919
codes←{⍵↑⍨¯1+⍵⍳'<'}¨bool/buff

TestResults/CodeCoverage.cr

9.75 KB
Binary file not shown.

TestResults/CodeCoverage.html

Lines changed: 0 additions & 150 deletions
This file was deleted.

TestResults/CodeCoverage.profile

5.98 KB
Binary file not shown.

apl-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
source: "APLSource/EventCodes.aplc",
2020
tags: "event-constants",
2121
userCommandScript: "",
22-
version: "3.0.1+27",
22+
version: "3.1.0+28",
2323
}

packages_dev/apl-buildlist.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
packageID: [
33
"aplteam-WinReg-5.0.4",
4-
"aplteam-Tester2-3.6.0",
5-
"aplteam-FilesAndDirs-5.7.0",
6-
"aplteam-CommTools-1.7.1",
7-
"aplteam-CodeCoverage-0.10.5",
8-
"aplteam-APLTreeUtils2-1.3.1",
4+
"aplteam-Tester2-3.10.0",
5+
"aplteam-FilesAndDirs-5.8.1",
6+
"aplteam-CommTools-1.8.2",
7+
"aplteam-CodeCoverage-0.10.7",
8+
"aplteam-APLTreeUtils2-1.4.0",
99
"aplteam-OS-3.1.1",
10-
"aplteam-IniFiles-5.0.3",
10+
"aplteam-IniFiles-5.1.0",
1111
],
1212
principal: [
1313
1,

packages_dev/apl-dependencies.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
aplteam-APLTreeUtils2-1.3.1
2-
aplteam-Tester2-3.6.0
3-
aplteam-CodeCoverage-0.10.5
4-
aplteam-FilesAndDirs-5.7.0
1+
aplteam-APLTreeUtils2-1.4.0
2+
aplteam-Tester2-3.10.0
3+
aplteam-CodeCoverage-0.10.7
4+
aplteam-FilesAndDirs-5.8.1
55
aplteam-WinReg-5.0.4
6-
aplteam-CommTools-1.7.1
6+
aplteam-CommTools-1.8.2

0 commit comments

Comments
 (0)