-
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.
- Loading branch information
Showing
153 changed files
with
766 additions
and
383 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
2 changes: 1 addition & 1 deletion
2
repository/BaselineOfTode.package/BaselineOfTode.class/instance/initializeTools.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,3 +1,3 @@ | ||
baseline | ||
initialization | ||
initializeTools | ||
Smalltalk at: #'TDStandardTool' ifPresent: [ :cls | cls initializeTools ] |
44 changes: 44 additions & 0 deletions
44
...tory/BaselineOfTode.package/BaselineOfTode.class/instance/pharo30InstallFullTodeClient.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 @@ | ||
initialization | ||
pharo30InstallFullTodeClient | ||
| monoFontName windowProperties bounds | | ||
Smalltalk at: #'TODE_CLIENT_INSTALLED' ifPresent: [ ^ self ]. | ||
Smalltalk os environment | ||
at: 'GS_HOME' | ||
ifAbsent: [ | ||
"Cannot initialize correctly if $GS_HOME is not defined correctly" | ||
^ self ]. | ||
self pharo30InstallTodeClient. | ||
(Smalltalk at: #'World') perform: #'closeAllWindowsDiscardingChanges'. "close all windows" | ||
(Smalltalk at: #'PolymorphSystemSettings') | ||
perform: #'desktopLogoFileName:' | ||
with: | ||
(((Smalltalk at: #'FileSystem') perform: #'workingDirectory') | ||
/ 'GemTalkSystemsLogo.png') pathString. | ||
(Smalltalk at: #'TaskbarMorph') perform: #'showTaskbar:' with: false. | ||
(Smalltalk at: #'NECPreferences') perform: #'enabled:' with: false. | ||
Smalltalk at: #'TODE_CLIENT_INSTALLED' put: true. | ||
(Smalltalk at: #'TDShell') perform: #'resetWorldMenu'. | ||
(Smalltalk at: #'FreeTypeFontProvider') current perform: #'updateFromSystem'. | ||
monoFontName := 'Courier New'. "Windows" | ||
(Smalltalk os perform: #'isUnix') | ||
ifTrue: [ monoFontName := 'DejaVu Sans Mono' ] | ||
ifFalse: [ | ||
(Smalltalk os perform: #'isMacOSX') | ||
ifTrue: [ monoFontName := 'Monaco' ] | ||
ifFalse: [ | ||
"Windows" | ||
monoFontName := 'Consolas' ] ]. | ||
(Smalltalk at: #'StandardFonts') | ||
defaultFont: | ||
((Smalltalk at: #'LogicalFont') | ||
perform: #'familyName:pointSize:' | ||
with: monoFontName | ||
with: 8). | ||
(Smalltalk at: #'StandardFonts') | ||
perform: #'setAllStandardFontsTo:' | ||
with: ((Smalltalk at: #'StandardFonts') perform: #'defaultFont'). | ||
windowProperties := (Smalltalk at: #'TDAbstractWindowProperties') | ||
import: 'jigsaw-medium'. | ||
windowProperties installOn: (Smalltalk at: #'TDTopezGemStoneClient'). | ||
bounds := (windowProperties perform: #'caculateWindowBounds') at: #'transcript'. | ||
(Smalltalk at: #'TDShell') perform: #'resizeTranscript:' with: bounds |
19 changes: 19 additions & 0 deletions
19
repository/BaselineOfTode.package/BaselineOfTode.class/instance/pharo30InstallTodeClient.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,19 @@ | ||
initialization | ||
pharo30InstallTodeClient | ||
"setup paths" | ||
|
||
Deprecation | ||
perform: #'showWarning:' with: false; | ||
perform: #'raiseWarning:' with: false. | ||
(Smalltalk os environment | ||
at: 'GS_HOME' | ||
ifAbsent: [ | ||
"Cannot initialize correctly if $GS_HOME is not defined correctly" | ||
^ self ]) | ||
ifNotNil: [ :gs_home | (Smalltalk at: #'TDShell') perform: #'devKitRoot:' with: gs_home ]. | ||
(Smalltalk os environment at: 'GS_HOME' ifAbsent: [ ]) | ||
ifNotNil: [ :todeRoot | | ||
"support for GsDevKit_home" | ||
(Smalltalk at: #'TDShell') | ||
perform: #'todeRoot:' | ||
with: todeRoot ] |
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
2 changes: 1 addition & 1 deletion
2
repository/BaselineOfTode.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 |
---|---|---|
@@ -1 +1 @@ | ||
SystemOrganization addCategory: #'BaselineOfTode'! | ||
SystemOrganization addCategory: #BaselineOfTode! |
Oops, something went wrong.