Skip to content

Commit

Permalink
Development packages updated
Browse files Browse the repository at this point in the history
  • Loading branch information
aplteam committed Jan 7, 2025
1 parent 5baa5b1 commit 8af9a1f
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 28 deletions.
8 changes: 4 additions & 4 deletions APLSource/Cider/CloseProject.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
3. One or more alias names like `[my-alias]`
4. One or more paths of currently open projects
5. A mixture of 2, 3 and 4
`x` can be a Boolean that defaults to 1, meaning "perform checks, if any"; see "CheckForDropboxConflicts" as
an example.
A 0 as left argument would therefore prevent checks from being performed.
`performChecks` can be a Boolean that defaults to 1, meaning "perform checks, if any".
See "CheckForDropboxConflicts" as an example.
A 0 as left argument would therefore prevent such checks from being performed.\\
Returns the number of projects closed.
r0
performChecks{0<⎕NC : 1}'performChecks'
Expand All @@ -21,7 +21,7 @@
:Else
closed''
list[;2]F.NormalizePath list[;2]
projectsprojects
projects,projects
:For project :In projects
projectproject
:If /'[]'project
Expand Down
24 changes: 15 additions & 9 deletions APLSource/Cider/History.apla
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
(
'* 0.46.0 ⋄ 2024-12-28'
'* 0.46.0 ⋄ 2025-01-07'
' * When a project is opened and a file .linkconfig is found in the project''s source folder, its content is'
' now checked. If it contains nothing but stop & trace vectors and Link''s version number, then that file'
' is now ignored, and any Link-related settings in Cider''s project config file are evaluated.'
' * New command ]Cider.LinkConfig added that allows printing, editing and deleting a Link config file'
' now checked. If it contains nothing but stop & trace vectors and Link''s version number, then any '
' Link-related settings in Cider''s project config file are evaluated, and the user is told to reconcile'
' the two sources of Link options, and eventually to delete the LINK section in the project config file.'
' '
' If the file `linkconfig` contains more than just the Link version number and Stop and Trace vectors, '
' then the LINK section in the project config file (if any) will be ignored, and the user will be told'
' to delete it.'
' * New command ]Cider.LinkConfig added that allows printing, editing and deleting a file `linkconfig`.'
' * A Cider project config file does not have to have a LINK section anymore because there might be a Link'
' configuration file be used instead.'
' * `CloseProject`: minor syntax change insofar as no project list can be provided anymore via the left argument'
' Almost certainly used only by the ]CloseProject user command'
' * `CloseProject` now processes the name of an unqualified namespace name by trying to find it in the namespace'
' it was called from.'
' * `CloseProject`: minor syntax change insofar as no project list can be provided anymore via the left '
' argument. Was almost certainly only used by the `]CloseProject` user command.'
' * `CloseProject` now processes the name of an unqualified namespace name by trying to find it in the '
' namespace it was called from.'
' * Development packages updated.'
' * Bug fixes'
' * `]ListTatinDependencies` did not always report the folder that was investigated (#93)'
' * `]ListTatinDependencies` had a problem with -full: only obe level of sub-folders was investigated (#94)'
' * `]ListTatinDependencies` had a problem with -full: only one level of sub-folders was investigated (#94)'
' * `ReadProjectConfigFile` now injects `dependencies` into the config file when undefined.'
' * The `TatinVars` namespace was created as a ref pointing to another namespace `TatinVars` which was'
' then deleted. That can cause confusion. Now the namespace is copied.'
Expand Down
2 changes: 1 addition & 1 deletion tatin-packages_dev/apl-buildlist.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
packageID: [
"aplteam-Tester2-3.11.0",
"aplteam-Tester2-3.11.1",
"aplteam-FilesAndDirs-5.8.1",
"aplteam-CommTools-2.0.0",
"aplteam-CodeCoverage-0.10.7",
Expand Down
2 changes: 1 addition & 1 deletion tatin-packages_dev/apl-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ aplteam-FilesAndDirs-5.8.1
aplteam-CodeCoverage-0.10.7
aplteam-CommTools-2.0.0
aplteam-APLProcess-0.7.0
aplteam-Tester2-3.11.0
aplteam-Tester2-3.11.1
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,31 @@

⎕IO1 ⎕ML1

rVersion;buff;history;date
rVersion;buff
:Access Public shared
Returns the version number from the package config file
Returns the version number from TatinVars (if we can)
See also `History`
buff(⎕JSON('Dialect' 'JSON5')((⊃⊃⎕CLASS ⎕THIS).##).TatinVars.CONFIG).version
historyHistory
date{¯1+' '}''{()+1}history[1;]
r'Tester2'buff date
Done
:If 0<⎕NC'TatinVars.CONFIG'
buff(⎕JSON('Dialect' 'JSON5')TatinVars.CONFIG).version
:ElseIf 0<##.⎕NC'TatinVars.CONFIG'
buff(⎕JSON('Dialect' 'JSON5')##.TatinVars.CONFIG).version
:Else
When a script is not loaded with Tatin, there will be no namespace `TatinVars`
In such cases we cannot provide a version number.
buff''
:EndIf
Originally this was <name>, <vVersion-numer>, <version-date>
We cannot provide the version date anymore
r'Tester2' buff ''

rHistory
:Access Public shared
* 3.11.1 ⋄ 2024-12-30
Bug fixes
* In `Version`: if for some reason it cannot find `TatinVars` it should return
an empty vector for the version number rather than crashing.
* Reports were intended to honour ⎕PW but got one char too long
* 3.11.0 ⋄ 2024-12-25
* `ListTestFunctions` enhanced
* `Version` extracts the version number now from the package config file
Expand Down Expand Up @@ -477,7 +489,7 @@
:If ps.guiFlag
_parms.ref2Guips.ref2Guips CreateGui
:EndIf
ShowLog{'--- Test framework "Tester2" version ',(2),' from ',(3),' ----'}Version
ShowLog{'--- Test framework "Tester2" version ',(2),' ----'}Version
_refProcessIniFiles _ref ps
ps.returnCodes
initialFlag0 Tells whether `Initial was executed or not
Expand Down Expand Up @@ -793,7 +805,7 @@
ProcessTestCases(ref ps);cw;max;noOf;length2;length;i;testFns;currentGroup;testNo;continueFlag;rc;comment;desc;marker
cwmaxnoOfps.list
length2+/¨ps.list
length2length+'(',max,'/',max,') '
length2¯1+length+'(',max,'/',max,') '
:If ps.guiFlag
:If 0<ps.list
ps.ref2Gui.∆n.Grid.Values(noOf,1ps.ref2Gui.∆n.Grid.Values)ps.ref2Gui.∆n.Grid.Values
Expand Down Expand Up @@ -846,7 +858,8 @@
:EndIf
ps AddReturnCodeToGrid rc i
comment2ref GetFirstCommentLine testFns
desc(⎕PW-length2){<:'...',-4 }(~ps.guiFlag)comment
TODO⍝ desc←(⎕PW-length2){⍺<≢⍵:'...',⍨⍵↑⍨⍺-4 ⋄ ⍵}⍣(~ps.guiFlag)⊢comment
desccomment
:If rc0 1
marker('*✓'[1+rc=0])
:Else
Expand All @@ -872,7 +885,8 @@
ps.errCounter+1
ps.totalCounter+1
comment2ref GetFirstCommentLine testFns
desc(⎕PW-length2){<:'...',-4 }(~ps.guiFlag)comment
TODO⍝ desc←(⎕PW-length2){⍺<≢⍵:'...',⍨⍵↑⍨⍺-4 ⋄ ⍵}⍣(~ps.guiFlag)⊢comment
desccomment
marker'#'
¯2 ShowLog marker' ',desc
i AddToGui(length2(lengthmarker,' ',testFns),' (',(cw 0i),'/',max,')'),'',desc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
api: "Tester2",
assets: "html/",
date: 20241225.140351,
date: 20241231.084147,
description: "Dyalog APL test framework",
documentation: "",
files: "",
Expand All @@ -21,5 +21,5 @@
tags: "test,test-framework",
uri: "https://tatin.dev/",
userCommandScript: "",
version: "3.11.0+48",
version: "3.11.1+52",
}

0 comments on commit 8af9a1f

Please sign in to comment.