Skip to content

Commit

Permalink
Bug fix regarding exposed names in #
Browse files Browse the repository at this point in the history
  • Loading branch information
aplteam committed Mar 25, 2023
1 parent b7a8848 commit 5d136b7
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 27 deletions.
3 changes: 3 additions & 0 deletions APLSource/Fire/History.apla
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
(
'⍝ Contains information regarding the last release. A full history is available on GitHub. (This line is ignored)'
''
'* 9.5.2 from 2023-03-25'
' * Bug fix: people who do not tick "Options > Object Syntax > Expose GUI Properties" could not use "Replace"'
''
'* 9.5.1 from 2023-03-12'
' * Bug fixes'
' * Bug fix in ListNamespaceTree_'
Expand Down
8 changes: 4 additions & 4 deletions APLSource/Fire/OneByOneComparison/OnRefreshCSS.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
n##.GUI.GetRefTo_n ref
bIsTicked n
⎕THIS.wasTickedb
was#.CursorObj
#.CursorObj1
was# ⎕WG'CursorObj'
# ⎕WS'CursorObj' 1
{}RewriteCSS b
{}WriteStatusMsg n
n.Browser.Size0 0
:If 0<ID
{}n.Browser{6::shy 1:shy.Navigate2'file:///',}n.∆HtmlFilename,'#',ID
:EndIf
{}{0:: n.Browser.Refresh }
{11 6::shy0 n.Browser.Refresh } Do NOT change this even if you think that `Refresh` is niladic
⎕DL 0.1
n.Browser.Size100 100
#.CursorObjwas
# ⎕WS'CursorObj'was
{}⎕NQ n.List'GotFocus'
r0
Done
2 changes: 1 addition & 1 deletion APLSource/Fire/Version.aplf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rVersion
See also `History`
r'Fire' '9.5.1+265' '2023-03-12'
r'Fire' '9.5.2+268' '2023-03-25'
31 changes: 19 additions & 12 deletions APLSource/TestCases/Prepare.aplf
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
Prepare;testPath;testFilename;ask;answer
Useful to prepare test cases for execution
Prepare;testPath;testFilename;ask;answer;options;flag;ind
⎕IO1 ⎕ML1
T⎕NEW Tester2 ⎕THIS
T.exec_after_each_test(⎕THIS),'.After'
testPath(1 ⎕NPARTS''),'TestResults'
testPath##.CiderConfig.HOME,'/TestResults'
testFilenametestPath,'/CodeCoverage'
flag0
:If ⎕NEXISTS testPath
:If ⎕NEXISTS testFilename,'.dcf'
ask{,'; 1=append, 2=replace' a ~(a)1 2: a}
answerask'Coverage file already exists'
:If 2answer
1 ⎕NDELETE testFilename,'.dcf'
:If ⎕NEXISTS testFilename,'.profile'
ind('Code Coverage' 0 1)CommTools.Select'Append' 'Replace' 'Neither'
(3=ind)/0
flag1
:If 2ind
1 CodeCoverage.DeleteFiles T.codeCoverage.filename
:EndIf
:Else
flag0 CommTools.YesOrNo'Code coverage?'
:EndIf
:Else
flag0 CommTools.YesOrNo'Code coverage?'
:EndIf
:If flag
3 ⎕MKDIR testPath
T.codeCoverage⎕NEW CodeCoverage(,'#.',{,'.',}2⎕THIS.##)
T.codeCoverage.filenametestFilename
:EndIf
3 ⎕MKDIR testPath
T.codeCoverage⎕NEW CodeCoverage(,'#.',{,'.',}2⎕THIS.##)
T.codeCoverage.filenametestFilename
Done
12 changes: 7 additions & 5 deletions APLSource/TestCases/RunTests.aplf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
RunTests;htmlFilename
RunTests;htmlFilename;verbose
Prepare
T.Run 1
htmlFilenameCodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename
:If 0 ∆YesOrNo'View CodeCoverage report?'
APLTreeUtils2.GoToWebPage'file://',htmlFilename
:If 0<T.codeCoverage
:AndIf 0 ⎕SE.MakeHelpers.YesOrNo'Put Code Coverage Report on display?'
verbose0 ⎕SE.MakeHelpers.YesOrNo'Detailed report?'
htmlFilenameverbose CodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename
{}APLTreeUtils2.GoToWebPage htmlFilename
CodeCoverage.DeleteFiles T.codeCoverage.filename
:EndIf
Done
1 change: 1 addition & 0 deletions APLSource/TestCases/Test_Misc_014.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#.⎕EX'FireReportGhost'
'FireReportGhost'#.⎕NS''
#.FireReportGhost.⎕FIX #.⎕SRC APLTreeUtils2

#.FireReportGhost.⎕FIX #.⎕SRC APLProcess
#.FireReportGhost.APLTreeUtils2.⎕FX'r←Hello' 'r←''Worlds''' This is NOT a ghost!
#.FireReportGhost.APLProcess.⎕FX'r←Hello' 'r←''World'''
Expand Down
4 changes: 4 additions & 0 deletions Docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ A bump of the minor number indicates added functionality plus possibly bug fixes

A bump of the patch number indicates bug fixes.

## Version 9.5.2 from 2023-03-25

Bug fix: people who do not tick "Options > Object Syntax > Expose GUI Properties" could not use "Replace"

## Version 9.5.1 from 2023-03-12

* Bug fix in `ListNamespaceTree_`
Expand Down
2 changes: 1 addition & 1 deletion packages/apl-buildlist.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ packageID: [ "aplteam-WinReg-5.0.4", "aplteam-OS-3.0.1", "aplteam-GitHubAPIv3-0.7.0", "aplteam-FilesAndDirs-5.3.4", "aplteam-APLTreeUtils2-1.1.3", ], principal: [ 1, 1, 1, 1, 1, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
{ packageID: [ "aplteam-WinReg-5.0.4", "aplteam-OS-3.0.1", "aplteam-GitHubAPIv3-0.7.0", "aplteam-FilesAndDirs-5.4.0", "aplteam-APLTreeUtils2-1.1.3", ], principal: [ 1, 1, 1, 1, 1, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
Expand Down
2 changes: 1 addition & 1 deletion packages/apl-dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aplteam-APLTreeUtils2-1.1.3
aplteam-FilesAndDirs-5.3.4
aplteam-FilesAndDirs-5.4.0
aplteam-WinReg-5.0.4
aplteam-OS-3.0.1
aplteam-GitHubAPIv3-0.7.0
2 changes: 1 addition & 1 deletion packages_dev/apl-buildlist.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ packageID: [ "aplteam-Tester2-3.3.1", "aplteam-Inno-1.0.0", "aplteam-FilesAndDirs-5.3.4", "aplteam-CodeCoverage-0.9.4", "aplteam-APLTreeUtils2-1.1.3", "aplteam-APLProcess-0.4.1", "aplteam-WinSys-5.0.1", "aplteam-OS-3.0.1", "aplteam-IniFiles-5.0.3", "aplteam-Execute-3.0.2", "aplteam-CommTools-1.2.3", ], principal: [ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
{ packageID: [ "aplteam-Tester2-3.3.1", "aplteam-Inno-1.0.0", "aplteam-FilesAndDirs-5.4.0", "aplteam-CommTools-1.3.0", "aplteam-CodeCoverage-0.10.0", "aplteam-APLTreeUtils2-1.1.3", "aplteam-APLProcess-0.4.1", "aplteam-WinSys-5.0.1", "aplteam-OS-3.0.1", "aplteam-IniFiles-5.0.3", "aplteam-Execute-3.0.2", ], principal: [ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, ], url: [ "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", "https://tatin.dev/", ],}
Expand Down
5 changes: 3 additions & 2 deletions packages_dev/apl-dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
aplteam-APLTreeUtils2-1.1.3
aplteam-FilesAndDirs-5.3.4
aplteam-CodeCoverage-0.9.4
aplteam-FilesAndDirs-5.4.0
aplteam-CodeCoverage-0.10.0
aplteam-Tester2-3.3.1
aplteam-APLProcess-0.4.1
aplteam-Inno-1.0.0
aplteam-CommTools-1.3.0

0 comments on commit 5d136b7

Please sign in to comment.