Skip to content

Commit

Permalink
Bug fix regarding the '\''Saerch for'\'' field'\''
Browse files Browse the repository at this point in the history
  • Loading branch information
aplteam committed Jul 15, 2019
1 parent 9ad85e1 commit aa74ddd
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 28 deletions.
3 changes: 2 additions & 1 deletion APLSource/Fire-1/GUI-7/CheckSALTedScripts-9e1.aplf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CheckSALTedScripts{
Check whether any SALT managed scripts got changed and if so report them.
This is because Fire changes thenm in the WS but does NOT tell SALT about it.
(0no##.G.ChangedSaltedScript):
m(no),' script',((1<no)/'s'),' managed by SALT got changed,'
m,' Would you like to get ',((1=no)/'a '),'SALT "Save" command',((1<no)/'s'),' printed to []SE?'
Expand Down
6 changes: 5 additions & 1 deletion APLSource/Fire-1/GUI-7/CopyGuiToGlobal-291.aplf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
##.G.Greedyn.Greedy.State
##.G.NamesOnlyIsNamesOnlySearch n
##.G.Containern.Container.State
##.G.LookForList##.G.LookForList,(n.SearchFor.Items,n.SearchFor.Text)~''
txtn.SearchFor.Text
##.G.LookForList##.G.LookForList,(n.SearchFor.Items,txt)~''
n.SearchFor.Items##.G.LookForList
n.SearchFor.SelItems[]0
_{0=: n.SearchFor.SelItems[##.G.LookForList]1}txt
0¨##.G.LookForList:.
G.SearchFor2 might or might not be lowercase version of G.SearchFor depending
↓↓↓↓↓↓↓↓↓↓ on user preferences. That's why this must be done late.
Expand Down
4 changes: 2 additions & 2 deletions APLSource/Fire-1/History-1.aplf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
History
⍝ Contains information regarding the last couple of releases. A full history is available on GitHub. (This line is ignored)
* 7.2.0
* The way Fire processes references pointing to namespaces has been improved.
* 7.2.1
* Bug fix: the "Search for" field lost its memory ot one stage.
\\
For information regarding older version see <https://github.com/aplteam/Fire/releases>
2 changes: 1 addition & 1 deletion APLSource/Fire-1/Version-1.aplf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rVersion
See also `History`
r(1¯1⎕NPARTS⎕THIS)'7.2.0.102' '2019-07-10'
r(1¯1⎕NPARTS⎕THIS)'7.2.1.109' '2019-07-15'
12 changes: 12 additions & 0 deletions APLSource/TestCases-11/Test_ZZZ_996-e1.aplf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RTest_ZZZ_996(stopFlag batchFlag);⎕TRAP;rn;buff;searchFor
Check the "ReleaseNotes.md" for carrying the correct version
⎕TRAP(999 'C' '. ⍝ Deliberate error')(0 'N')
R∆Failed

rn#.APLTreeUtils.ReadUtf8File'Docs\ReleaseNotes.md'
searchFor'# Release Notes '
buffrn1searchFor{()}¨rn
buff(searchFor)buff
PassesIf buff{/3>+\'.'=}1##.Fire.Version

R∆OK
4 changes: 4 additions & 0 deletions Docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[parm]:saveHTML = 0

# Release Notes 7.2.1

The combo box "Search for" did not carry the search terms any more from earlier searches.

# Release Notes 7.2

This release changes the way Fire processes references pointing to namespaces.
Expand Down
Binary file not shown.
Binary file modified Fire.dws
Binary file not shown.
2 changes: 1 addition & 1 deletion Fire.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; This script is best executed by Fire's "Make" utility.

#define MyAppVersion "7.2.0.102"
#define MyAppVersion "7.2.1.109"
#define MyAppName "Fire"
#define MyAppExeName "Fire.dws"
#define MyAppPublisher "APL Team Ltd"
Expand Down
47 changes: 27 additions & 20 deletions Fire_UC.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@
If this is not the case then Fire is copied into []SE from
the same directory the User Command stems from and then started.
Kai Jaeger ⋄ APL Team Ltd
Version 2.4.0 - 2019-06-10
* In case a requiered module is not found an detail error report is provided.
Version 2.3.0 - 2019-06-04
* Fire now goes into `⎕SE._Fire.Fire` while all stuff that is needed but does not exist in ⎕SE
goes into `⎕SE._Fire`. For stuff that exists in `⎕SE` refs are created in `⎕SE._Fire`.
Version 2.2.0 - 2019-03-11
* `GitHubAPIv3` added to the list of to-be-copied stuff.
Version 2.1.1 - 2018-05-26
The -fl option did not get rid of the GUI if Fire was already running.
Version 2.1.0 - 2018-04-26
* Tidied up.
Version 2.0.1 - 2018-04-23
* Minor change regarding the documentation.
Version 2.0.0 - 2017-07-10
* Massive changes: compatible only with Fire 6.0 and later.
* Accepts `.` as an argument. Treated as "Copy current namespace into `Start looking here:`"
Version 1.3.1 - 2017-02-24
* Bug fix for the CommandFolder/WinReg key/separator problem
* Version 2.4.1 - 2019-07-15
* Bug fix: File was always loaded since the introduction of the ⎕SE._Fire level.
* Version 2.4.0 - 2019-06-10
* In case a requiered module is not found an detail error report is provided.
* Version 2.3.0 - 2019-06-04
* Fire now goes into `⎕SE._Fire.Fire` while all stuff that is needed but does not exist in ⎕SE
goes into `⎕SE._Fire`. For stuff that exists in `⎕SE` refs are created in `⎕SE._Fire`.
* Version 2.2.0 - 2019-03-11
* `GitHubAPIv3` added to the list of to-be-copied stuff.
* Version 2.1.1 - 2018-05-26
The -fl option did not get rid of the GUI if Fire was already running.
* Version 2.1.0 - 2018-04-26
* Tidied up.
* Version 2.0.1 - 2018-04-23
* Minor change regarding the documentation.
* Version 2.0.0 - 2017-07-10
* Massive changes: compatible only with Fire 6.0 and later.
* Accepts `.` as an argument. Treated as "Copy current namespace into `Start looking here:`"
* Version 1.3.1 - 2017-02-24
* Bug fix for the CommandFolder/WinReg key/separator problem

rList;⎕IO;⎕ML ⍝ this function usually returns 1 or more namespaces (here only 1)
:Access Shared Public
Expand All @@ -40,11 +42,10 @@
⎕IO0 ⎕ML3 ⎕WX3
r0 0''
flagArgs.Switch'fl'
neededModules'APLTreeUtils' 'Fire' 'FilesAndDirs' 'OS' 'WinReg' 'GitHubAPIv3' to be copied
neededModules'APLTreeUtils' 'FilesAndDirs' 'OS' 'WinReg' 'GitHubAPIv3' to be copied
'_Fire'⎕SE.⎕NS''
dne0=⎕SE.⎕NC¨neededModules do not exist (dne)
:If flag
dne[neededModules'Fire']1 Enforce a load
:Trap 6 ⎕SE._Fire.Fire.Cleanup :EndTrap Get rid of any GUI
⎕SE.⎕EX'_Fire'
'_Fire'⎕SE.⎕NS''
Expand All @@ -56,6 +57,12 @@
:EndIf
CreateRefs(~dne)/neededModules
:EndIf
:If 0=⎕SE._Fire.⎕NC'Fire'
(success msg)ScanPathsFor'Fire'
:If 0=success
msg ⎕SIGNAL 6
:EndIf
:EndIf
:If /bool0=⎕SE._Fire.⎕NC¨neededModules
'Copy operation failed:'
' ',¨bool/neededModules
Expand Down
Binary file modified Make/Make.DWS
Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion publish.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<tool name="Fire"> <version>7.2.0</version> <date>2019-07-10</date> <main>Fire</main> <container>#._Fire</container> <files> <file>Fire_UC.dyalog</file> <file>ReadMe.html</file> <file>HowToInstall.html</file> <file>UsefulRegExes.html</file> </files> <ignoreForNow> <file>conga30ssl32.dll</file> <file>conga30_32.dll</file> <file>conga30ssl64.dll</file> <file>conga30_64.dll</file> </ignoreForNow> <needs> <script>APLTreeUtils</script> <script>FilesAndDirs</script> <script>OS</script> <script>WinReg</script> <script development="true">Tester</script> <script>GitHubAPIv3</script> </needs> <ignoreForNow> <ws copy="Rumba">Rumba</ws> </ignoreForNow> <scriptOnly>0</scriptOnly> <wsid>Fire</wsid> <autoload>1</autoload> <buildid>102</buildid></tool>
<tool name="Fire"> <version>7.2.1</version> <date>2019-07-15</date> <container>#._Fire</container> <ignoreForNow> <file>conga30ssl32.dll</file> <file>conga30_32.dll</file> <file>conga30ssl64.dll</file> <file>conga30_64.dll</file> </ignoreForNow> <needs> <script>APLTreeUtils</script> <script>FilesAndDirs</script> <script>OS</script> <script>WinReg</script> <script development="true">Tester</script> <script>GitHubAPIv3</script> </needs> <ignoreForNow> <ws copy="Rumba">Rumba</ws> </ignoreForNow> <autoload>1</autoload> <buildid>109</buildid></tool>
Expand Down

0 comments on commit aa74ddd

Please sign in to comment.