-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from dionisiydk/dev
class creation tool fixed
- Loading branch information
Showing
39 changed files
with
149 additions
and
1 deletion.
There are no files selected for viewing
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 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
...onment-Processor-Tests.package/ClyProcessStackTests.class/instance/bottomMethodInStack.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 @@ | ||
helpers | ||
bottomMethodInStack | ||
^#bottomMethod |
8 changes: 8 additions & 0 deletions
8
...nvironment-Processor-Tests.package/ClyProcessStackTests.class/instance/buildStackFrom..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 @@ | ||
helpers | ||
buildStackFrom: processStackSelectors | ||
| processScope | | ||
|
||
self createProcessWith: processStackSelectors. | ||
processScope := environment selectScope: ClyProcessScope of: { process}. | ||
self retrieveContentFrom: processScope. | ||
|
3 changes: 3 additions & 0 deletions
3
...o-Environment-Processor-Tests.package/ClyProcessStackTests.class/instance/contentClass.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 @@ | ||
helpers | ||
contentClass | ||
^ClyProcessStack |
12 changes: 12 additions & 0 deletions
12
...ronment-Processor-Tests.package/ClyProcessStackTests.class/instance/createProcessWith..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,12 @@ | ||
running | ||
createProcessWith: selectors | ||
|
||
| eachContext | | ||
contexts := OrderedCollection new. | ||
selectors do: [ :each | | ||
eachContext := self newContextFor: each. | ||
contexts ifNotEmpty: [ contexts last privSender: eachContext ]. | ||
contexts add: eachContext]. | ||
|
||
process := Process new. | ||
process suspendedContext: contexts first |
3 changes: 3 additions & 0 deletions
3
...Environment-Processor-Tests.package/ClyProcessStackTests.class/instance/method1InStack.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 @@ | ||
helpers | ||
method1InStack | ||
^#method1 |
4 changes: 4 additions & 0 deletions
4
...Environment-Processor-Tests.package/ClyProcessStackTests.class/instance/newContextFor..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 @@ | ||
helpers | ||
newContextFor: aSelector | ||
|
||
^Context sender: nil receiver: self method: self class >> aSelector arguments: #() |
6 changes: 6 additions & 0 deletions
6
....package/ClyProcessStackTests.class/instance/testIncludesAllContextsWhenTheyFitInCache.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,6 @@ | ||
tests | ||
testIncludesAllContextsWhenTheyFitInCache | ||
|
||
self buildStackFrom: #(topMethodInStack method1InStack bottomMethodInStack). | ||
|
||
self assert: actualObjects asArray equals: contexts asArray |
3 changes: 3 additions & 0 deletions
3
...vironment-Processor-Tests.package/ClyProcessStackTests.class/instance/topMethodInStack.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 @@ | ||
helpers | ||
topMethodInStack | ||
^#topMethod |
14 changes: 14 additions & 0 deletions
14
Calypso-Environment-Processor-Tests.package/ClyProcessStackTests.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 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "ClyEnvironmentContentTestCase", | ||
"category" : "Calypso-Environment-Processor-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"process", | ||
"contexts" | ||
], | ||
"name" : "ClyProcessStackTests", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
Calypso-Environment-Processor-Tests.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'Calypso-Environment-Processor-Tests'! |
Empty file.
1 change: 1 addition & 0 deletions
1
Calypso-Environment-Processor-Tests.package/monticello.meta/package
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 @@ | ||
(name 'Calypso-Environment-Processor-Tests') |
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 @@ | ||
{ } |
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 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
3 changes: 3 additions & 0 deletions
3
...ment-Processor.package/ClyAllItemsQuery.extension/instance/fetchContent.fromProcesses..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 @@ | ||
*Calypso-Environment-Processor | ||
fetchContent: anEnvironmentContent fromProcesses: processes | ||
anEnvironmentContent buildFromProcesses: processes |
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyAllItemsQuery.extension/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,3 @@ | ||
{ | ||
"name" : "ClyAllItemsQuery" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyContextScope.class/class/resolveMetadataOf.by..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 @@ | ||
item resolving | ||
resolveMetadataOf: anEnvironmentContent by: anEnvironmentPlugin | ||
anEnvironmentPlugin resolveMetadataOfContexts: anEnvironmentContent |
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyContextScope.class/class/resolvePropertiesOf.by..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 @@ | ||
items resolving | ||
resolvePropertiesOf: anEnvironmentItem by: anEnvironmentPlugin | ||
anEnvironmentPlugin resolvePropertiesOfContext: anEnvironmentItem |
11 changes: 11 additions & 0 deletions
11
Calypso-Environment-Processor.package/ClyContextScope.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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "ClyEnvironmentScope", | ||
"category" : "Calypso-Environment-Processor", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "ClyContextScope", | ||
"type" : "normal" | ||
} |
2 changes: 2 additions & 0 deletions
2
...t-Processor.package/ClyEnvironmentPlugin.extension/instance/resolveMetadataOfContexts..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,2 @@ | ||
*Calypso-Environment-Processor | ||
resolveMetadataOfContexts: anEnvironmentContent |
2 changes: 2 additions & 0 deletions
2
...-Processor.package/ClyEnvironmentPlugin.extension/instance/resolvePropertiesOfContext..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,2 @@ | ||
*Calypso-Environment-Processor | ||
resolvePropertiesOfContext: anEnvironmentItem |
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyEnvironmentPlugin.extension/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,3 @@ | ||
{ | ||
"name" : "ClyEnvironmentPlugin" | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
Calypso-Environment-Processor.package/ClyProcessScope.class/instance/fetchContent.by..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 @@ | ||
queries | ||
fetchContent: anEnvironmentContent by: anEnvironmentQuery | ||
|
||
anEnvironmentQuery fetchContent: anEnvironmentContent fromProcesses: basisObjects |
11 changes: 11 additions & 0 deletions
11
Calypso-Environment-Processor.package/ClyProcessScope.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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "ClyEnvironmentScope", | ||
"category" : "Calypso-Environment-Processor", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "ClyProcessScope", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyProcessStack.class/class/itemScope.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 @@ | ||
description | ||
itemScope | ||
^ClyContextScope |
9 changes: 9 additions & 0 deletions
9
Calypso-Environment-Processor.package/ClyProcessStack.class/instance/buildFromProcess..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 @@ | ||
building | ||
buildFromProcess: aProcess | ||
|
||
| sender | | ||
sender := aProcess suspendedContext. | ||
[ sender notNil ] whileTrue: [ | ||
items add: (ClyEnvironmentItem named: sender method selector with: sender). | ||
sender := sender sender | ||
] |
5 changes: 5 additions & 0 deletions
5
Calypso-Environment-Processor.package/ClyProcessStack.class/instance/buildFromProcesses..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 @@ | ||
building | ||
buildFromProcesses: processes | ||
processes size = 1 ifFalse: [ self error: 'multiple processes are not supported' ]. | ||
|
||
self buildFromProcess: processes first |
3 changes: 3 additions & 0 deletions
3
Calypso-Environment-Processor.package/ClyProcessStack.class/instance/defaultItems.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 @@ | ||
initialization | ||
defaultItems | ||
^OrderedCollection new |
11 changes: 11 additions & 0 deletions
11
Calypso-Environment-Processor.package/ClyProcessStack.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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "ClyEnvironmentContent", | ||
"category" : "Calypso-Environment-Processor", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "ClyProcessStack", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
Calypso-Environment-Processor.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'Calypso-Environment-Processor'! |
Empty file.
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 @@ | ||
(name 'Calypso-Environment-Processor') |
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 @@ | ||
{ } |
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