-
Notifications
You must be signed in to change notification settings - Fork 16
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 #193 from dalehenrich/issue_184
- Loading branch information
Showing
386 changed files
with
1,902 additions
and
960 deletions.
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
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
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
10 changes: 10 additions & 0 deletions
10
repository/Tode-Client-Common.package/TDShell.class/class/lookupPharoScript..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,10 @@ | ||
as yet unclassified | ||
lookupPharoScript: scriptFilename | ||
{(self todeSysLocalPharoPath). | ||
(self todeSysDefaultPharoPath)} | ||
do: [ :rootPath | | ||
| path | | ||
path := rootPath , scriptFilename. | ||
path asFileReference exists | ||
ifTrue: [ ^ path ] ]. | ||
self error: 'The script ' , scriptFilename printString , ' was not found in the local|default/pharo directories' |
3 changes: 3 additions & 0 deletions
3
repository/Tode-Client-Common.package/TDShell.class/class/pharoPath.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 @@ | ||
as yet unclassified | ||
pharoPath | ||
^ 'pharo/' |
3 changes: 3 additions & 0 deletions
3
repository/Tode-Client-Common.package/TDShell.class/class/todeSysDefaultPharoPath.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 @@ | ||
as yet unclassified | ||
todeSysDefaultPharoPath | ||
^self todeSysDefaultPath , self pharoPath |
3 changes: 3 additions & 0 deletions
3
repository/Tode-Client-Common.package/TDShell.class/class/todeSysLocalPharoPath.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 @@ | ||
as yet unclassified | ||
todeSysLocalPharoPath | ||
^self todeSysLocalPath , self pharoPath |
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
13 changes: 13 additions & 0 deletions
13
...y/Tode-Client-Common.package/TDShell.class/instance/deferFlushEventNotificationDuring..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 @@ | ||
built-ins | ||
deferFlushEventNotificationDuring: aBlock | ||
"defer flushEventCache until all windows are closed." | ||
|
||
| shouldFlushEventCache | | ||
shouldFlushEventCache := false. | ||
aBlock | ||
on: TDShouldFlushEventCacheNotification | ||
do: [ :ex | | ||
shouldFlushEventCache := true. | ||
ex resume: false ]. | ||
shouldFlushEventCache | ||
ifTrue: [ self topezClient flushEventCache ]. |
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
18 changes: 10 additions & 8 deletions
18
repository/Tode-Client-Common.package/TDShell.class/instance/windowIsClosing.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,10 +1,12 @@ | ||
accessing | ||
windowIsClosing | ||
| status | | ||
windowStatus ifNil: [ ^ self ]. | ||
windowStatus unregisterShellWindow: self shellWindow. | ||
status := windowStatus. | ||
windowStatus := nil. | ||
status windowIsClosing. | ||
status shellWindows isEmpty | ||
ifTrue: [ self exit ] | ||
| status | | ||
windowStatus ifNil: [ ^ self ]. | ||
self | ||
deferFlushEventNotificationDuring: [ | ||
windowStatus unregisterShellWindow: self shellWindow. | ||
status := windowStatus. | ||
windowStatus := nil. | ||
status close ]. | ||
status shellWindows isEmpty | ||
ifTrue: [ self exit ] |
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
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
3 changes: 3 additions & 0 deletions
3
repository/Tode-Client-Common.package/TDTopezClient.class/instance/clearUserEditFlagFor..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 @@ | ||
as yet unclassified | ||
clearUserEditFlagFor: aWindowId | ||
self windowStatus clearUserEditFlagFor: aWindowId |
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
repository/Tode-Client-Common.package/TDTopezClient.class/instance/eventCache.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 @@ | ||
client element caching | ||
eventCache | ||
eventCache ifNil: [ eventCache := TDEventsCache new ]. | ||
^ eventCache |
3 changes: 3 additions & 0 deletions
3
repository/Tode-Client-Common.package/TDTopezClient.class/instance/retireClientElement..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 @@ | ||
client element caching | ||
retireClientElement: clientElement | ||
self eventCache listAt: #clientElementRetirees add: clientElement clientElementOop |
Oops, something went wrong.