From ef9e79deb35acdc922f54e03af6f87f44949b550 Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Thu, 19 Dec 2024 23:31:54 +0100 Subject: [PATCH] add app menu with self-updating, feedback reporting, and modern about dialog --- .../BaselineOfSwaLint.package/.squot-contents | 1 + .../instance/projectClass.st | 4 ++ .../methodProperties.json | 3 +- .../instance/addModelItemsToWindowMenu..st | 5 +++ .../methodProperties.json | 1 + .../SwaLint.class/class/appMenu..st | 11 ++++++ .../SwaLint.class/class/appName.st | 4 ++ .../class/basicSelfUpdateBranch..st | 4 ++ .../class/defaultFeedbackText.st | 8 ++++ .../class/defaultSelfUpdateBranch.st | 11 ++++++ .../SwaLint.class/class/doSelfUpdate.st | 7 ++++ .../SwaLint.class/class/githubNewIssueUrl.st | 7 ++++ .../class/githubNewIssueUrlWithBody..st | 8 ++++ .../class/githubRepositoryParams.st | 5 +++ .../SwaLint.class/class/githubUrl.st | 6 +++ .../SwaLint.class/class/latestTimeStamp.st | 9 +++++ .../SwaLint.class/class/openUrl..st | 12 ++++++ .../SwaLint.class/class/projectDescription.st | 38 ++++++++++--------- .../SwaLint.class/class/projectLogo.st | 2 +- .../class/projectLogoContents.st | 2 +- .../SwaLint.class/class/selfUpdate.st | 15 ++++++++ .../SwaLint.class/class/selfUpdateBranch..st | 7 ++++ .../SwaLint.class/class/selfUpdateBranch.st | 12 ++++++ .../class/selfUpdateFromMetacello.st | 8 ++++ .../class/selfUpdateGitHubPath.st | 7 ++++ .../SwaLint.class/class/sendFeedback.st | 4 ++ .../SwaLint.class/class/sendFeedbackGitHub.st | 4 ++ .../SwaLint.class/class/showAbout.st | 7 ++++ .../SwaLint.class/class/swaLint.st | 2 +- .../SwaLint.class/class/versionString.st | 2 +- .../SwaLint.class/methodProperties.json | 22 ++++++++++- .../SwaLint.class/properties.json | 1 + .../.squot-contents | 1 + .../instance/aboutSelected.st | 4 +- .../methodProperties.json | 2 +- 35 files changed, 219 insertions(+), 27 deletions(-) create mode 100644 packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/instance/projectClass.st create mode 100644 packages/SwaLint-Core.package/SLDefaultDialog.class/instance/addModelItemsToWindowMenu..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/appMenu..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/appName.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/basicSelfUpdateBranch..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/defaultFeedbackText.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/defaultSelfUpdateBranch.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/doSelfUpdate.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrl.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrlWithBody..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/githubRepositoryParams.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/githubUrl.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/latestTimeStamp.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/openUrl..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/selfUpdate.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch..st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateFromMetacello.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateGitHubPath.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/sendFeedback.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/sendFeedbackGitHub.st create mode 100644 packages/SwaLint-Core.package/SwaLint.class/class/showAbout.st diff --git a/packages/BaselineOfSwaLint.package/.squot-contents b/packages/BaselineOfSwaLint.package/.squot-contents index 239ddebb..a6a7ae1b 100644 --- a/packages/BaselineOfSwaLint.package/.squot-contents +++ b/packages/BaselineOfSwaLint.package/.squot-contents @@ -1,5 +1,6 @@ SquotTrackedObjectMetadata { #objectClassName : #PackageInfo, + #id : UUID [ '754834ba8adc4221ac3980e7f59502f9' ], #objectsReplacedByNames : true, #serializer : #SquotCypressCodeSerializer } \ No newline at end of file diff --git a/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/instance/projectClass.st b/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/instance/projectClass.st new file mode 100644 index 00000000..300076fc --- /dev/null +++ b/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/instance/projectClass.st @@ -0,0 +1,4 @@ +accessing +projectClass + + ^ (self environment classNamed: #MetacelloCypressBaselineProject) ifNil: [super projectClass] \ No newline at end of file diff --git a/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/methodProperties.json b/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/methodProperties.json index d0c2389b..6ab2adb8 100644 --- a/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/methodProperties.json +++ b/packages/BaselineOfSwaLint.package/BaselineOfSwaLint.class/methodProperties.json @@ -3,4 +3,5 @@ }, "instance" : { "baseline:" : "fn 5/18/2018 12:54", - "postLoad" : "BD 6/16/2018 18:09" } } + "postLoad" : "BD 6/16/2018 18:09", + "projectClass" : "ct 5/26/2021 15:29" } } diff --git a/packages/SwaLint-Core.package/SLDefaultDialog.class/instance/addModelItemsToWindowMenu..st b/packages/SwaLint-Core.package/SLDefaultDialog.class/instance/addModelItemsToWindowMenu..st new file mode 100644 index 00000000..7f1ed34c --- /dev/null +++ b/packages/SwaLint-Core.package/SLDefaultDialog.class/instance/addModelItemsToWindowMenu..st @@ -0,0 +1,5 @@ +building +addModelItemsToWindowMenu: menu + + menu addLine. + SwaLint appMenu: menu. \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SLDefaultDialog.class/methodProperties.json b/packages/SwaLint-Core.package/SLDefaultDialog.class/methodProperties.json index b6990608..5af37f63 100644 --- a/packages/SwaLint-Core.package/SLDefaultDialog.class/methodProperties.json +++ b/packages/SwaLint-Core.package/SLDefaultDialog.class/methodProperties.json @@ -11,6 +11,7 @@ "saveTestsSelected:" : "BD 6/29/2018 14:37", "windowColorSpecification" : "NA 6/30/2015 13:23" }, "instance" : { + "addModelItemsToWindowMenu:" : "ct 12/19/2024 23:21", "autoLint" : "BD 7/6/2018 10:57", "browsable" : "NA 7/1/2015 17:05", "buildButtonsWith:" : "fm 6/29/2018 03:17", diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/appMenu..st b/packages/SwaLint-Core.package/SwaLint.class/class/appMenu..st new file mode 100644 index 00000000..e3c8a123 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/appMenu..st @@ -0,0 +1,11 @@ +app - menu +appMenu: menu + + menu + "add: 'about' target: self action: #showAbout;" + add: 'options' target: SLPreferenceBrowser action: #open; + add: 'self-update...' target: self action: #doSelfUpdate; + balloonTextForLastItem: ('download and install the latest updates for {1}' format: {self appName}); + add: 'send feedback...' target: self action: #sendFeedback. + + ^ menu \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/appName.st b/packages/SwaLint-Core.package/SwaLint.class/class/appName.st new file mode 100644 index 00000000..fe98ca15 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/appName.st @@ -0,0 +1,4 @@ +app - accessing +appName + + ^ self swaLint \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/basicSelfUpdateBranch..st b/packages/SwaLint-Core.package/SwaLint.class/class/basicSelfUpdateBranch..st new file mode 100644 index 00000000..c7500b4f --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/basicSelfUpdateBranch..st @@ -0,0 +1,4 @@ +app - self-updating +basicSelfUpdateBranch: aString + + SelfUpdateBranch := aString. \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/defaultFeedbackText.st b/packages/SwaLint-Core.package/SwaLint.class/class/defaultFeedbackText.st new file mode 100644 index 00000000..a30cb552 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/defaultFeedbackText.st @@ -0,0 +1,8 @@ +app - feedback +defaultFeedbackText + + ^ '

Reported from {1} (VM: {2}), for version of {3} last updated at {4}.' asTextFromHtml format: + {SystemVersion current. + ([Smalltalk vm openSmalltalkVMBuildNumber] ifError: [nil]) ifNil: [Smalltalk platformSourceVersion]. + self appName. + self latestTimeStamp} \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/defaultSelfUpdateBranch.st b/packages/SwaLint-Core.package/SwaLint.class/class/defaultSelfUpdateBranch.st new file mode 100644 index 00000000..fa0c5293 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/defaultSelfUpdateBranch.st @@ -0,0 +1,11 @@ +app - self-updating +defaultSelfUpdateBranch + + (self environment classNamed: #MCRepositoryGroup) ifNotNil: [:mcRepositoryGroupClass | + | repoPrefix | + repoPrefix := 'github://{1}/{2}' format: {self githubRepositoryParams first. self githubRepositoryParams second}. + mcRepositoryGroupClass default repositories + detect: [:repo | repo description beginsWith: repoPrefix] + ifFound: [:repo | ^ repo projectVersion]]. + + ^ 'main' \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/doSelfUpdate.st b/packages/SwaLint-Core.package/SwaLint.class/class/doSelfUpdate.st new file mode 100644 index 00000000..01766901 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/doSelfUpdate.st @@ -0,0 +1,7 @@ +app - self-updating +doSelfUpdate + + (Project uiManager confirm: ('Are you sure you would like to install the latest updates for {1}?' withCRs format: {self appName})) ifFalse: [^ false]. + + self selfUpdate. + ^ true \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrl.st b/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrl.st new file mode 100644 index 00000000..63d9cea5 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrl.st @@ -0,0 +1,7 @@ +app - feedback +githubNewIssueUrl + + ^ self githubNewIssueUrlWithBody: '\' withCRs, (String streamContents: [:stream | + (HtmlReadWriter on: stream) + breakLines: false; + nextPutText: self defaultFeedbackText]) \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrlWithBody..st b/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrlWithBody..st new file mode 100644 index 00000000..c0d8ac0d --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/githubNewIssueUrlWithBody..st @@ -0,0 +1,8 @@ +app - feedback +githubNewIssueUrlWithBody: htmlString + + ^ 'https://github.com/{1}/{2}/issues/new?{3}' format: { + self githubRepositoryParams first. + self githubRepositoryParams second. + WebUtils encodeUrlEncodedForm: { + 'body' -> htmlString}} \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/githubRepositoryParams.st b/packages/SwaLint-Core.package/SwaLint.class/class/githubRepositoryParams.st new file mode 100644 index 00000000..a26f823c --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/githubRepositoryParams.st @@ -0,0 +1,5 @@ +app - accessing +githubRepositoryParams + "{owner. name. directory}" + + ^ {'hpi-swa-teaching'. 'SwaLint'. 'packages'} \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/githubUrl.st b/packages/SwaLint-Core.package/SwaLint.class/class/githubUrl.st new file mode 100644 index 00000000..3731e92f --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/githubUrl.st @@ -0,0 +1,6 @@ +app - accessing +githubUrl + + ^ 'https://github.com/{1}/{2}' format: { + self githubRepositoryParams first. + self githubRepositoryParams second} \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/latestTimeStamp.st b/packages/SwaLint-Core.package/SwaLint.class/class/latestTimeStamp.st new file mode 100644 index 00000000..3fd94b50 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/latestTimeStamp.st @@ -0,0 +1,9 @@ +app - accessing +latestTimeStamp + + | packages | + packages := PackageInfo allPackages select: [:ea | '*SwaLint*' match: ea name]. + ^ CurrentReadOnlySourceFiles cacheDuring: + [((packages gather: #methods) collect: + [:method | [TimeStamp fromMethodTimeStamp: method timeStamp] ifError: [TimeStamp new]]) + max] \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/openUrl..st b/packages/SwaLint-Core.package/SwaLint.class/class/openUrl..st new file mode 100644 index 00000000..affd4dad --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/openUrl..st @@ -0,0 +1,12 @@ +app - feedback +openUrl: urlString + + self flag: #moveUpstream. + "Something similar but less convenient is also in TextURL >> #actOnClickFor:." + WebBrowser defaultOrNil ifNotNil: [:browser | + (Project uiManager + confirm: ('Do you want to open this URL in a web browser?\\{1}' withCRs format: {urlString}) + title: 'Open Web Page' translated) ifTrue: [browser openOnUrl: urlString]. + ^ self]. + + (urlString tdbAsTextWithAttribute: (TextURL new url: urlString)) editWithLabel: 'Requested URL'. \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/projectDescription.st b/packages/SwaLint-Core.package/SwaLint.class/class/projectDescription.st index 362fcddf..5cfb0aa4 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/class/projectDescription.st +++ b/packages/SwaLint-Core.package/SwaLint.class/class/projectDescription.st @@ -1,20 +1,24 @@ -accessing +app - accessing projectDescription "Answer... read below..." - ^ ' - - ', self swaLint, ' (v', self versionString, ') written by - Christoph Neijenhuis, - Johannes Dyck, - Tobias Pape, - Nico Rehwaldt and - Arian Treffer, - Jan-Tobias Matysik, - Siegfried Horschig, - Nico Aechtner, - Toni Stachewicz, - Niklas Hoffmann and - Björn Daase. - - See http://swalint.netshed.de for more information.' \ No newline at end of file + ^ ('{1} (v{2}) written by +Christoph Neijenhuis, +Johannes Dyck, +Tobias Pape, +Nico Rehwaldt, +Arian Treffer, +Jan-Tobias Matysik, +Siegfried Horschig, +Nico Aechtner, +Toni Stachewicz, +Niklas Hoffmann, +Björn Daase, and +Christoph Thiede. + +See {3} for more information.' + format: + {self swaLint. + self versionString. + self githubUrl}) + asTextFromHtml \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/projectLogo.st b/packages/SwaLint-Core.package/SwaLint.class/class/projectLogo.st index 327143a3..9ad08119 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/class/projectLogo.st +++ b/packages/SwaLint-Core.package/SwaLint.class/class/projectLogo.st @@ -1,4 +1,4 @@ -accessing +app - accessing projectLogo "the SwaLint logo" diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/projectLogoContents.st b/packages/SwaLint-Core.package/SwaLint.class/class/projectLogoContents.st index bc5a6ff1..2de4883d 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/class/projectLogoContents.st +++ b/packages/SwaLint-Core.package/SwaLint.class/class/projectLogoContents.st @@ -1,4 +1,4 @@ -accessing +app - accessing projectLogoContents "This is a base64 png" diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdate.st b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdate.st new file mode 100644 index 00000000..54cb7349 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdate.st @@ -0,0 +1,15 @@ +app - self-updating +selfUpdate + "SwaLint selfUpdate" + + | squeakVersion | + squeakVersion := SystemVersion current version. + ((Project uiManager + confirm: ('It is recommended to install the latest updates for {1} first.' format: {squeakVersion}) + title: ('Updating {1}' format: {self appName}) + trueChoice: ('Yes, install latest {1} updates now' format: {'Squeak'}) + falseChoice: ('Skip latest {1} updates (not recommended)' format: {'Squeak'})) + ifNil: [^ self]) + ifTrue: [MCMcmUpdater default doUpdate: true]. + + ^ self selfUpdateFromMetacello \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch..st b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch..st new file mode 100644 index 00000000..ab69aa11 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch..st @@ -0,0 +1,7 @@ +app - self-updating +selfUpdateBranch: aString + + self basicSelfUpdateBranch: aString. + + (Project uiManager confirm: 'Would you like to install updates now?' title: ('{1} self-update' format: {self appName})) + ifTrue: [self selfUpdate]. \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch.st b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch.st new file mode 100644 index 00000000..ebce8aba --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateBranch.st @@ -0,0 +1,12 @@ +app - self-updating +selfUpdateBranch + + + ^ SelfUpdateBranch ifNil: [self defaultSelfUpdateBranch] \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateFromMetacello.st b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateFromMetacello.st new file mode 100644 index 00000000..69d1e341 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateFromMetacello.st @@ -0,0 +1,8 @@ +app - self-updating +selfUpdateFromMetacello + + Metacello new + baseline: self appName; + repository: self selfUpdateGitHubPath; + get; + load. \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateGitHubPath.st b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateGitHubPath.st new file mode 100644 index 00000000..0fc842e8 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/selfUpdateGitHubPath.st @@ -0,0 +1,7 @@ +app - self-updating +selfUpdateGitHubPath + + ^ ('github://{1}/{2}:\{1\}/{3}' format: { + self githubRepositoryParams first. + self githubRepositoryParams second. + self githubRepositoryParams third}) format: {self selfUpdateBranch} \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedback.st b/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedback.st new file mode 100644 index 00000000..6673070b --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedback.st @@ -0,0 +1,4 @@ +app - feedback +sendFeedback + + ^ self sendFeedbackGitHub \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedbackGitHub.st b/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedbackGitHub.st new file mode 100644 index 00000000..e6bfa9f8 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/sendFeedbackGitHub.st @@ -0,0 +1,4 @@ +app - feedback +sendFeedbackGitHub + + self openUrl: self githubNewIssueUrl \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/showAbout.st b/packages/SwaLint-Core.package/SwaLint.class/class/showAbout.st new file mode 100644 index 00000000..463f4e57 --- /dev/null +++ b/packages/SwaLint-Core.package/SwaLint.class/class/showAbout.st @@ -0,0 +1,7 @@ +app - accessing +showAbout + + | text | + text := (Text string: Character startOfHeader asString attribute: self projectLogo asTextAnchor) + , String cr , self projectDescription. + ^ text editWithLabel: ('About {1}' format: {self swaLint}) \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/swaLint.st b/packages/SwaLint-Core.package/SwaLint.class/class/swaLint.st index 0b7da289..9b06c00b 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/class/swaLint.st +++ b/packages/SwaLint-Core.package/SwaLint.class/class/swaLint.st @@ -1,4 +1,4 @@ -accessing +app - accessing swaLint ^ 'SwaLint Code Critics' \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/class/versionString.st b/packages/SwaLint-Core.package/SwaLint.class/class/versionString.st index 7b7297dd..6ac86503 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/class/versionString.st +++ b/packages/SwaLint-Core.package/SwaLint.class/class/versionString.st @@ -1,4 +1,4 @@ -accessing +app - accessing versionString ^ '4.2.0' \ No newline at end of file diff --git a/packages/SwaLint-Core.package/SwaLint.class/methodProperties.json b/packages/SwaLint-Core.package/SwaLint.class/methodProperties.json index 30c2bfc3..3b6e57d8 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/methodProperties.json +++ b/packages/SwaLint-Core.package/SwaLint.class/methodProperties.json @@ -12,6 +12,9 @@ "UseOBRefactoryIfAvailable:" : "MT 7/23/2014 21:40", "WorldMenuEntry" : "MT 7/23/2014 21:41", "WorldMenuEntry:" : "MT 7/23/2014 21:41", + "appMenu:" : "ct 12/19/2024 23:26", + "appName" : "ct 12/19/2024 23:08", + "basicSelfUpdateBranch:" : "ct 8/27/2023 20:17", "class:ignoreRule:" : "LG 7/24/2018 20:48", "class:ignoresRule:" : "LG 7/24/2018 20:47", "class:unignoreRule:" : "LG 7/24/2018 20:34", @@ -24,19 +27,36 @@ "debugMode" : "NH 7/15/2015 22:10", "debugMode:" : "NH 7/15/2015 22:11", "debugOut:" : "NH 7/15/2015 22:11", + "defaultFeedbackText" : "ct 8/27/2023 22:35", + "defaultSelfUpdateBranch" : "ct 8/27/2023 20:17", + "doSelfUpdate" : "ct 8/27/2023 23:11", + "githubNewIssueUrl" : "ct 8/27/2023 20:16", + "githubNewIssueUrlWithBody:" : "ct 8/27/2023 20:16", + "githubRepositoryParams" : "ct 12/19/2024 23:05", + "githubUrl" : "ct 12/19/2024 23:17", "hiddenCategory" : "NH 7/15/2015 22:40", "ifColorizeResult:" : "AT 5/9/2008 21:20", "initializePreferences" : "NH 7/15/2015 21:46", "install" : "NA 7/30/2015 16:31", + "latestTimeStamp" : "ct 12/19/2024 23:16", "menuCommandOn:" : "BD 7/13/2018 11:37", "open" : "NA 7/28/2015 13:19", - "projectDescription" : "BD 6/22/2018 13:01", + "openUrl:" : "ct 8/27/2023 20:17", + "projectDescription" : "ct 12/19/2024 23:18", "projectLogo" : "AT 5/8/2008 10:35", "projectLogoContents" : "NR 5/28/2008 14:29", "refresh" : "BD 7/9/2018 18:16", "refreshAllEnvironments" : "BD 7/13/2018 11:56", "registerInWorldMenu" : "topa 4/21/2010 16:54", "registerPlugIn:" : "LS 6/15/2018 16:07", + "selfUpdate" : "ct 12/19/2024 23:08", + "selfUpdateBranch" : "ct 12/19/2024 23:29", + "selfUpdateBranch:" : "ct 8/27/2023 20:18", + "selfUpdateFromMetacello" : "ct 8/27/2023 20:18", + "selfUpdateGitHubPath" : "ct 8/27/2023 20:18", + "sendFeedback" : "ct 8/27/2023 20:17", + "sendFeedbackGitHub" : "ct 11/12/2023 18:55", + "showAbout" : "ct 12/19/2024 23:19", "swaLint" : "topa 4/21/2010 16:53", "try:catch:" : "topa 4/23/2010 15:39", "unload" : "BD 7/13/2018 11:48", diff --git a/packages/SwaLint-Core.package/SwaLint.class/properties.json b/packages/SwaLint-Core.package/SwaLint.class/properties.json index 436f8041..edb8e2c7 100644 --- a/packages/SwaLint-Core.package/SwaLint.class/properties.json +++ b/packages/SwaLint-Core.package/SwaLint.class/properties.json @@ -11,6 +11,7 @@ "DebugMode", "MarkLongRuntimeTests", "OrderByTests", + "SelfUpdateBranch", "UseOBRefactoryIfAvailable", "WorldMenuEntry" ], "commentStamp" : "LG 7/24/2018 20:38", diff --git a/packages/SwaLint-Preferences.package/.squot-contents b/packages/SwaLint-Preferences.package/.squot-contents index 239ddebb..72d9c1b3 100644 --- a/packages/SwaLint-Preferences.package/.squot-contents +++ b/packages/SwaLint-Preferences.package/.squot-contents @@ -1,5 +1,6 @@ SquotTrackedObjectMetadata { #objectClassName : #PackageInfo, + #id : UUID [ '3838eeacfc88474badc38b5e34dd6e39' ], #objectsReplacedByNames : true, #serializer : #SquotCypressCodeSerializer } \ No newline at end of file diff --git a/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/instance/aboutSelected.st b/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/instance/aboutSelected.st index 7897ba9b..0245ccd3 100644 --- a/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/instance/aboutSelected.st +++ b/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/instance/aboutSelected.st @@ -1,6 +1,4 @@ initialization aboutSelected - ^ (PopUpMenu labels: ' OK ' translated) - startUpWithCaption: (SwaLint projectDescription withNoLineLongerThan: 35) - icon: (Smalltalk at: #SwaLint) projectLogo \ No newline at end of file + ^ SwaLint showAbout \ No newline at end of file diff --git a/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/methodProperties.json b/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/methodProperties.json index 2cbd2a54..ee54c4fa 100644 --- a/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/methodProperties.json +++ b/packages/SwaLint-Preferences.package/SLPreferenceBrowser.class/methodProperties.json @@ -3,7 +3,7 @@ "instanceRemoved" : "NR 5/10/2008 10:29", "open" : "NR 5/10/2008 10:23" }, "instance" : { - "aboutSelected" : "topa 4/15/2014 17:58", + "aboutSelected" : "ct 12/19/2024 23:19", "defaultSelected" : "NR 5/7/2008 12:19", "initialize" : "NR 1/17/2008 13:19", "initializeWithModel:" : "NR 12/18/2007 14:40",