-
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.
Issue #4: giving it one more try .. initial TDShell is a client-side …
…class used by todeIt script to execute tode commands, so it will have most if not all of the magic needed to properly login ... then we'll see
- Loading branch information
1 parent
d5a4df9
commit 6d01260
Showing
160 changed files
with
2,019 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
24 changes: 24 additions & 0 deletions
24
src/GsDevKit_stones-Tode.package/TDShell.class/class/basicResizeTranscript..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,24 @@ | ||
transcript | ||
basicResizeTranscript: transcriptBounds | ||
(World systemWindows | ||
detect: [ :each | | ||
(each model isKindOf: ThreadSafeTranscript) | ||
ifTrue: [ | ||
each == Transcript | ||
ifTrue: [ true ] | ||
ifFalse: [ | ||
each delete. | ||
false ] ] | ||
ifFalse: [ false ] ] | ||
ifNone: [ | ||
Smalltalk | ||
at: #Transcript | ||
ifAbsent: [ | ||
| oldTranscript | | ||
oldTranscript := Transcript. | ||
ThreadSafeTranscript install. | ||
self topezClientClass notifier dependents | ||
do: [ :client | client remapTranscriptClientForwarderFrom: oldTranscript to: Transcript ] ]. | ||
Transcript open ]) | ||
extent: transcriptBounds extent; | ||
position: transcriptBounds origin |
23 changes: 23 additions & 0 deletions
23
src/GsDevKit_stones-Tode.package/TDShell.class/class/cleanForDeploy.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,23 @@ | ||
deployment | ||
cleanForDeploy | ||
"self cleanForDeploy" | ||
|
||
| utils block | | ||
utils := MCFileTreeFileUtils current. | ||
block := [ :dir | | ||
(dir exists) | ||
ifTrue: [ | ||
utils deleteAll: dir ] ]. | ||
(MCCacheRepository respondsTo: #checkCacheDirectory) | ||
ifTrue: [ | ||
"Pharo 1.4" | ||
MCCacheRepository checkCacheDirectory ] | ||
ifFalse: [ | ||
"Pharo2.0" | ||
MCCacheRepository resetIfInvalid ]. | ||
block value: MCCacheRepository cacheDirectory. | ||
block value: MCGitHubRepository cacheDirectory. | ||
MCRepositoryGroup default repositoriesDo: [ :rep | rep flushCache ]. | ||
MCDirectoryRepository defaultDirectoryName: nil. | ||
MCGitHubRepository flushDownloadCache. | ||
self resetWorldMenu. |
16 changes: 16 additions & 0 deletions
16
src/GsDevKit_stones-Tode.package/TDShell.class/class/clientScriptsFiles..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,16 @@ | ||
home | ||
clientScriptsFiles: stoneName | ||
self useTodeSys | ||
ifTrue: [ | ||
| map | | ||
map := Dictionary new. | ||
{(self todeSysStonePath: stoneName). | ||
(self todeSysLocalClientScriptsPath). | ||
(self todeSysDefaultClientScriptsPath)} | ||
do: [ :rootPath | | ||
| reference | | ||
reference := rootPath asFileReference. | ||
reference exists | ||
ifTrue: [ reference files do: [ :fileRef | map at: fileRef basename put: fileRef ] ] ]. | ||
^ map values ]. | ||
^ self todeRoot , '/' , self clientScriptsPath asFileReference files |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/clientScriptsPath.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 @@ | ||
home-private | ||
clientScriptsPath | ||
^ 'client/tode-scripts/' |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/clientServerBootstrapScriptsPath.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 @@ | ||
home-private | ||
clientServerBootstrapScriptsPath | ||
^ 'client/server-bootstrap-scripts/' |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/currentShell..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 | ||
currentShell: aTDShell | ||
currentShell := aTDShell |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/currentShell.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 | ||
currentShell | ||
^ currentShell |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/debugMode..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 | ||
debugMode: aBool | ||
^ DebugMode := aBool |
4 changes: 4 additions & 0 deletions
4
src/GsDevKit_stones-Tode.package/TDShell.class/class/debugMode.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 | ||
debugMode | ||
DebugMode ifNil: [ DebugMode := false ]. | ||
^ DebugMode |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/defaultAdornmentColor.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 | ||
defaultAdornmentColor | ||
^ Color lightYellow |
5 changes: 5 additions & 0 deletions
5
src/GsDevKit_stones-Tode.package/TDShell.class/class/devKitRoot..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 @@ | ||
home-private | ||
devKitRoot: aString | ||
DevKitRoot := aString. | ||
TodePath := '/tode/'. | ||
self resetWorldMenu |
4 changes: 4 additions & 0 deletions
4
src/GsDevKit_stones-Tode.package/TDShell.class/class/devKitRoot.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 @@ | ||
home | ||
devKitRoot | ||
DevKitRoot ifNil: [ DevKitRoot := '/opt/git/gsDevKit' ]. | ||
^ DevKitRoot |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/enableDebugger..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 | ||
enableDebugger: aBool | ||
EnableDebugger := aBool |
4 changes: 4 additions & 0 deletions
4
src/GsDevKit_stones-Tode.package/TDShell.class/class/enableDebugger.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 | ||
enableDebugger | ||
EnableDebugger ifNil: [ EnableDebugger := false ]. | ||
^ EnableDebugger |
8 changes: 8 additions & 0 deletions
8
src/GsDevKit_stones-Tode.package/TDShell.class/class/ensureTranscriptWindow.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 @@ | ||
system menu | ||
ensureTranscriptWindow | ||
Smalltalk | ||
at: #TDTopezGemStoneClient | ||
ifPresent: [ :cl | | ||
| bounds | | ||
bounds := cl windowProperties caculateWindowBounds at: #transcript. | ||
self resizeTranscript: bounds ] |
8 changes: 8 additions & 0 deletions
8
src/GsDevKit_stones-Tode.package/TDShell.class/class/forSessionNamed..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 @@ | ||
instance creation | ||
forSessionNamed: aSessionName | ||
| sessionDescription | | ||
sessionDescription := TDSessionDescription importFrom: self gsDevKitSessionDescriptionPath , aSessionName. | ||
^ self new | ||
sessionDescription: sessionDescription; | ||
batchMode: true; | ||
yourself |
10 changes: 10 additions & 0 deletions
10
src/GsDevKit_stones-Tode.package/TDShell.class/class/gsDevKitSessionDescriptionPath.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 @@ | ||
home | ||
gsDevKitSessionDescriptionPath | ||
^ (Smalltalk os environment | ||
at: 'GS_SYS_SESSIONS' | ||
ifAbsent: [ | ||
| clientDescriptionsPath "allow new client to connect to an old gsDevKitHome structure" | | ||
clientDescriptionsPath := 'client/descriptions/'. | ||
self useTodeSys | ||
ifTrue: [ ^ self todeClientSysLocalPath , clientDescriptionsPath ]. | ||
^ self todeRoot , '/' , clientDescriptionsPath ]) , '/' |
44 changes: 44 additions & 0 deletions
44
src/GsDevKit_stones-Tode.package/TDShell.class/class/importSessionDescriptionFrom.for..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,44 @@ | ||
system menu | ||
importSessionDescriptionFrom: file for: aBuilder | ||
| sessionDescription | | ||
[ sessionDescription := TDSessionDescription importFrom: file fullName ] | ||
on: Error | ||
do: [ :ex | | ||
Transcript | ||
cr; | ||
show: 'Error importing session description from: ' , file fullName printString , ': ' , ex description. | ||
^ self ]. | ||
(aBuilder item: sessionDescription name asSymbol) | ||
parent: #'Open Shell'; | ||
action: [ | ||
| window | | ||
window := TDShell openOnSessionDescription: sessionDescription. | ||
currentShell := window model cliShell. | ||
self ensureTranscriptWindow ]. | ||
(aBuilder item: sessionDescription name asSymbol) | ||
parent: #'Project List'; | ||
action: [ | ||
| window | | ||
window := TDShell openOnSessionDescription: sessionDescription. | ||
currentShell := window model cliShell. | ||
currentShell ifNil: [ ^ self ]. | ||
currentShell evaluate: 'project list'. | ||
self ensureTranscriptWindow ]. | ||
(aBuilder item: sessionDescription name asSymbol) | ||
parent: #Workspace; | ||
action: [ | ||
| window | | ||
window := TDShell openOnSessionDescription: sessionDescription. | ||
currentShell := window model cliShell. | ||
currentShell ifNil: [ ^ self ]. | ||
currentShell evaluate: 'ws'. | ||
self ensureTranscriptWindow ]. | ||
(aBuilder item: sessionDescription name asSymbol) | ||
parent: #'Edit Description'; | ||
action: [ self new openWorkspace: sessionDescription editTemplate styling: true label: sessionDescription name ]. | ||
(aBuilder item: sessionDescription name asSymbol) | ||
parent: #'Test Login'; | ||
action: [ | ||
| answer | | ||
answer := TDShell testLoginForSessionDescription: sessionDescription. | ||
self new openWorkspace: answer label: 'testLogin: ' , sessionDescription name ] |
7 changes: 7 additions & 0 deletions
7
src/GsDevKit_stones-Tode.package/TDShell.class/class/initialize.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 @@ | ||
initialization | ||
initialize | ||
"self initialize" | ||
|
||
Smalltalk addToStartUpList: self. | ||
false | ||
ifTrue: [ self startUp: true ] |
16 changes: 16 additions & 0 deletions
16
src/GsDevKit_stones-Tode.package/TDShell.class/class/lookupClientScripts.stoneName..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,16 @@ | ||
home | ||
lookupClientScripts: scriptFilename stoneName: stoneName | ||
self useTodeSys | ||
ifTrue: [ | ||
{(self todeSysStonePath: stoneName). | ||
(self todeSysLocalClientScriptsPath). | ||
(self todeSysDefaultClientScriptsPath)} | ||
do: [ :rootPath | | ||
| path | | ||
path := rootPath , scriptFilename. | ||
path asFileReference exists | ||
ifTrue: [ ^ path ] ]. | ||
self | ||
error: | ||
'The script ' , scriptFilename printString , ' was not found in the stone|local|default/client/scripts directories' ]. | ||
^ self todeRoot , '/' , self clientScriptsPath , scriptFilename |
10 changes: 10 additions & 0 deletions
10
src/GsDevKit_stones-Tode.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 @@ | ||
home | ||
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' |
14 changes: 14 additions & 0 deletions
14
src/GsDevKit_stones-Tode.package/TDShell.class/class/lookupServerScripts..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,14 @@ | ||
home | ||
lookupServerScripts: scriptFilename | ||
self useTodeSys | ||
ifTrue: [ | ||
{(self todeSysLocalServerScriptsPath). | ||
(self todeSysDefaultServerScriptsPath)} | ||
do: [ :rootPath | | ||
| path | | ||
path := rootPath , scriptFilename. | ||
path asFileReference exists | ||
ifTrue: [ ^ path ] ]. | ||
self | ||
error: 'The script ' , scriptFilename printString , ' was not found in the local|default/server/scripts directories' ]. | ||
^ self todeRoot , '/' , self serverScriptsPath , scriptFilename |
16 changes: 16 additions & 0 deletions
16
src/GsDevKit_stones-Tode.package/TDShell.class/class/lookupWindowLayout..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,16 @@ | ||
home | ||
lookupWindowLayout: windowLayoutFilename | ||
self useTodeSys | ||
ifTrue: [ | ||
{(self todeSysLocalWindowLayoutPath). | ||
(self todeSysDefaultWindowLayoutPath)} | ||
do: [ :rootPath | | ||
| path | | ||
path := rootPath , windowLayoutFilename. | ||
path asFileReference exists | ||
ifTrue: [ ^ path ] ]. | ||
self | ||
error: | ||
'The window layout ' , windowLayoutFilename printString | ||
, ' was not found in the local|default/client/windowLayout directories' ]. | ||
^ self todeRoot , '/' , self windowLayoutPath , windowLayoutFilename |
6 changes: 6 additions & 0 deletions
6
src/GsDevKit_stones-Tode.package/TDShell.class/class/onServer.do..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 @@ | ||
server blocks | ||
onServer: sessionName do: aBlock | ||
| shell | | ||
shell := (Smalltalk at: #TDShell) forSessionNamed: sessionName. | ||
[ shell onServerDo: aBlock ] | ||
ensure: [ shell windowIsClosing ] |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/open..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 @@ | ||
instance creation | ||
open: aSessionName | ||
^ self openFrom: self gsDevKitSessionDescriptionPath, aSessionName |
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 @@ | ||
instance creation | ||
open | ||
| sessionDescription | | ||
sessionDescription := TDSessionDescription seaside. | ||
^ self new openOnSessionDescription: sessionDescription |
5 changes: 5 additions & 0 deletions
5
src/GsDevKit_stones-Tode.package/TDShell.class/class/openFrom..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 @@ | ||
instance creation | ||
openFrom: filepath | ||
| sessionDescription | | ||
sessionDescription := TDSessionDescription importFrom: filepath. | ||
^ self openOnSessionDescription: sessionDescription |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/openOnSessionDescription..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 @@ | ||
instance creation | ||
openOnSessionDescription: sessionDescription | ||
^ self new openOnSessionDescription: sessionDescription |
12 changes: 12 additions & 0 deletions
12
src/GsDevKit_stones-Tode.package/TDShell.class/class/openSessionDescription.evaluate..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 @@ | ||
instance creation | ||
openSessionDescription: sessionDescription evaluate: aCommand | ||
| shell console | | ||
shell := self new. | ||
shell openOnSessionDescription: sessionDescription. | ||
console := shell console. | ||
console | ||
nextPutAll: aCommand; | ||
cr; | ||
flush; | ||
processCommand: aCommand. | ||
^ shell |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.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 @@ | ||
home-private | ||
pharoPath | ||
^ 'pharo/' |
9 changes: 9 additions & 0 deletions
9
src/GsDevKit_stones-Tode.package/TDShell.class/class/pharoWorldMenuOn..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 @@ | ||
system menu | ||
pharoWorldMenuOn: aBuilder | ||
<todeWorldMenu> | ||
(aBuilder item: #'Pharo World Menu') | ||
parent: #Pharo; | ||
order: 2; | ||
target: self; | ||
icon: (Smalltalk ui icons pharoIcon scaledToSize: 16 @ 16); | ||
action: [ self restorePharoWorldMenu ] |
11 changes: 11 additions & 0 deletions
11
src/GsDevKit_stones-Tode.package/TDShell.class/class/resetWorldMenu.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 @@ | ||
system menu | ||
resetWorldMenu | ||
"self resetWorldMenu" | ||
|
||
WorldState | ||
desktopMenuTitle: nil; | ||
desktopMenuPragmaKeyword: nil. | ||
WorldState | ||
desktopMenuTitle: 'tODE'; | ||
desktopMenuPragmaKeyword: 'todeWorldMenu'. | ||
World resetWorldMenu |
5 changes: 5 additions & 0 deletions
5
src/GsDevKit_stones-Tode.package/TDShell.class/class/resizeTranscript..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 @@ | ||
transcript | ||
resizeTranscript: transcriptBounds | ||
NonInteractiveTranscript isInstalled | ||
ifTrue: [ ^ self ]. | ||
self basicResizeTranscript: transcriptBounds |
8 changes: 8 additions & 0 deletions
8
src/GsDevKit_stones-Tode.package/TDShell.class/class/restorePharoWorldMenu.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 @@ | ||
system menu | ||
restorePharoWorldMenu | ||
"self restorePharoWorldMenu" | ||
|
||
WorldState | ||
desktopMenuTitle: nil; | ||
desktopMenuPragmaKeyword: nil. | ||
World resetWorldMenu |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/serverScriptsPath.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 @@ | ||
home-private | ||
serverScriptsPath | ||
^ 'server/scripts/' |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/sessionDescription..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 @@ | ||
instance creation | ||
sessionDescription: sessionDescription | ||
^ self new sessionDescription: sessionDescription |
6 changes: 6 additions & 0 deletions
6
src/GsDevKit_stones-Tode.package/TDShell.class/class/sessionDescription.debugMode..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 @@ | ||
instance creation | ||
sessionDescription: sessionDescription debugMode: aBool | ||
| shell | | ||
shell := self sessionDescription: sessionDescription. | ||
shell debugMode: aBool. | ||
^ shell |
3 changes: 3 additions & 0 deletions
3
src/GsDevKit_stones-Tode.package/TDShell.class/class/sessionDescription.evaluate..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 @@ | ||
instance creation | ||
sessionDescription: sessionDescription evaluate: script | ||
^ self sessionDescription: sessionDescription evaluate: script debugMode: true |
Oops, something went wrong.