-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into equation-solving
- Loading branch information
Showing
34 changed files
with
184 additions
and
8 deletions.
There are no files selected for viewing
Empty file.
8 changes: 8 additions & 0 deletions
8
packages/Algernon.package/ALGGitProjectType.class/class/algertemList.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
as yet unclassified | ||
algertemList | ||
|
||
(Smalltalk classNamed: #SquitBrowser) ifNil: | ||
[^ {}]. | ||
|
||
^ SquotWorkingCopy registered | ||
collect: [ :each | ALGItem withAlgertype: (self with: each) ] |
4 changes: 4 additions & 0 deletions
4
packages/Algernon.package/ALGGitProjectType.class/class/icon.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
icon | ||
|
||
^ #GitProject |
4 changes: 4 additions & 0 deletions
4
packages/Algernon.package/ALGGitProjectType.class/instance/algertemChildrenList.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
children | ||
algertemChildrenList | ||
|
||
^ {} |
11 changes: 11 additions & 0 deletions
11
packages/Algernon.package/ALGGitProjectType.class/instance/createActionOpenInGitBrowser.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
actions | ||
createActionOpenInGitBrowser | ||
|
||
^ ALGAction | ||
withName: 'open' | ||
rank: 5 | ||
target: self | ||
selector: #openGitBrowser | ||
args: OrderedCollection new | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
packages/Algernon.package/ALGGitProjectType.class/instance/createListOfAlgeractions.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions | ||
createListOfAlgeractions | ||
|
||
^ self createSortedListFrom: { | ||
self createActionOpenInGitBrowser } |
4 changes: 4 additions & 0 deletions
4
packages/Algernon.package/ALGGitProjectType.class/instance/hasChildren.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
children | ||
hasChildren | ||
|
||
^ true |
9 changes: 9 additions & 0 deletions
9
packages/Algernon.package/ALGGitProjectType.class/instance/openGitBrowser.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
actions | ||
openGitBrowser | ||
|
||
| squitBrowser | | ||
|
||
squitBrowser := SquitBrowser new. | ||
squitBrowser projectIndex: (squitBrowser projectList indexOf: self typeObject). | ||
|
||
ToolBuilder open: squitBrowser |
4 changes: 4 additions & 0 deletions
4
packages/Algernon.package/ALGGitProjectType.class/instance/typeName.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
typeName | ||
|
||
^ 'Git Project' |
11 changes: 11 additions & 0 deletions
11
packages/Algernon.package/ALGGitProjectType.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"class" : { | ||
"algertemList" : "LH 6/11/2022 22:08", | ||
"icon" : "LH 5/28/2022 19:21" }, | ||
"instance" : { | ||
"algertemChildrenList" : "LH 5/31/2022 18:06", | ||
"createActionOpenInGitBrowser" : "LH 6/8/2022 16:19", | ||
"createListOfAlgeractions" : "LH 5/31/2022 02:20", | ||
"hasChildren" : "LH 5/31/2022 18:05", | ||
"openGitBrowser" : "LH 5/31/2022 02:42", | ||
"typeName" : "LH 5/28/2022 19:44" } } |
14 changes: 14 additions & 0 deletions
14
packages/Algernon.package/ALGGitProjectType.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "Algernon", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"action" ], | ||
"name" : "ALGGitProjectType", | ||
"pools" : [ | ||
], | ||
"super" : "ALGType", | ||
"type" : "normal" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/Algernon.package/ALGItemProvider.class/class/resetItems.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
resetItems | ||
|
||
DefaultItems := nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/AlgernonTests.package/ALGTest.class/instance/tearDown.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
running | ||
tearDown | ||
self algInstance deactivate. | ||
self algInstance delete. | ||
(self currentSystemWindows difference: self previouslyOpenedWindows) | ||
do: [:each | each delete]. | ||
self restorePreferences. | ||
Algernon currentInstance: self previousAlgernonSingleton. | ||
ALGCore allInstances do: [:each | each delete]. | ||
Algernon currentInstance: self previousAlgernonSingleton. | ||
self restorePreferences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
7 changes: 7 additions & 0 deletions
7
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/expectedFailures.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
helpers | ||
expectedFailures | ||
|
||
(Smalltalk classNamed: #SquitBrowser) ifNil: | ||
[^ ALGTestGitProjectType methodsInCategory: #testing]. | ||
|
||
^ {} |
3 changes: 3 additions & 0 deletions
3
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/mockWorkingCopy..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
mockWorkingCopy: anObject | ||
mockWorkingCopy := anObject |
3 changes: 3 additions & 0 deletions
3
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/mockWorkingCopy.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
mockWorkingCopy | ||
^ mockWorkingCopy |
9 changes: 9 additions & 0 deletions
9
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/setUp.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
helpers | ||
setUp | ||
|
||
(Smalltalk classNamed: #SquitBrowser) ifNotNil: | ||
[self setUpTestWorkingCopy]. | ||
|
||
super setUp. | ||
|
||
ALGItemProvider resetItems |
13 changes: 13 additions & 0 deletions
13
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/setUpTestWorkingCopy.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
helpers | ||
setUpTestWorkingCopy | ||
|
||
| workingCopy | | ||
workingCopy := SquotWorkingCopy newOnObjectMemory. | ||
workingCopy name: 'Test Working Copy'. | ||
workingCopy repository: (SquitRepository new initializeInDirectory: FileSystem memory root). | ||
workingCopy repository unitOfWork activateDuring: | ||
[workingCopy loadedHistorian: (workingCopy repository historianNamed: 'master')]. | ||
workingCopy register. | ||
self mockWorkingCopy: workingCopy. | ||
|
||
ALGItemProvider resetItems |
7 changes: 7 additions & 0 deletions
7
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/tearDown.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
helpers | ||
tearDown | ||
|
||
(Smalltalk classNamed: #SquitBrowser) ifNotNil: | ||
[self tearDownTestWorkingCopy]. | ||
|
||
super tearDown |
5 changes: 5 additions & 0 deletions
5
...ges/AlgernonTests.package/ALGTestGitProjectType.class/instance/tearDownTestWorkingCopy.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
helpers | ||
tearDownTestWorkingCopy | ||
|
||
SquotWorkingCopy unregister: self mockWorkingCopy. | ||
self mockWorkingCopy: nil |
9 changes: 9 additions & 0 deletions
9
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/testGitProjectOpen.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
testing | ||
testGitProjectOpen | ||
|
||
self assert: | ||
[self runQuery: 'Test Working Copy'. | ||
self activateCurrentItemAction. | ||
World doOneCycle. | ||
World doOneCycle] | ||
opensNewWindow: 'Git Browser: Test Working Copy (master)' |
5 changes: 5 additions & 0 deletions
5
...s/AlgernonTests.package/ALGTestGitProjectType.class/instance/testGitProjectTypeAppears.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
testing | ||
testGitProjectTypeAppears | ||
|
||
self runQuery: 'Test Working Copy'. | ||
self deny: (self getResultItemForType: 'Git Project') isNil |
4 changes: 4 additions & 0 deletions
4
packages/AlgernonTests.package/ALGTestGitProjectType.class/instance/testHasChildren.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
testing | ||
testHasChildren | ||
|
||
self assert: ALGGitProjectType algertemList first hasChildren |
14 changes: 14 additions & 0 deletions
14
packages/AlgernonTests.package/ALGTestGitProjectType.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"expectedFailures" : "LH 6/12/2022 00:59", | ||
"mockWorkingCopy" : "LH 6/12/2022 00:09", | ||
"mockWorkingCopy:" : "LH 6/12/2022 00:09", | ||
"setUp" : "LH 6/12/2022 01:00", | ||
"setUpTestWorkingCopy" : "LH 6/12/2022 00:11", | ||
"tearDown" : "LH 6/12/2022 00:59", | ||
"tearDownTestWorkingCopy" : "LH 6/12/2022 00:48", | ||
"testGitProjectOpen" : "LH 6/12/2022 00:04", | ||
"testGitProjectTypeAppears" : "LH 6/12/2022 00:05", | ||
"testHasChildren" : "LH 6/12/2022 00:07" } } |
14 changes: 14 additions & 0 deletions
14
packages/AlgernonTests.package/ALGTestGitProjectType.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "AlgernonTests", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"mockWorkingCopy" ], | ||
"name" : "ALGTestGitProjectType", | ||
"pools" : [ | ||
], | ||
"super" : "ALGTestTypes", | ||
"type" : "normal" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters