-
Notifications
You must be signed in to change notification settings - Fork 71
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 #1450 from SeasideSt/pharo13-development
Pharo13 + other development improvements
- Loading branch information
Showing
10 changed files
with
43 additions
and
9 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
4 changes: 3 additions & 1 deletion
4
...easide-Pharo-Welcome.package/GRPharoPlatform.extension/instance/seasideIsAuthorNameSet.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,5 @@ | ||
*seaside-pharo-welcome | ||
seasideIsAuthorNameSet | ||
^ Author fullNamePerSe isEmptyOrNil not | ||
|
||
SystemVersion current major >= 13 ifTrue:[ ^ true. "Author does not exist anymore" ]. | ||
^ (Smalltalk at: #Author) fullNamePerSe isEmptyOrNil not |
4 changes: 3 additions & 1 deletion
4
...Seaside-Pharo-Welcome.package/GRPharoPlatform.extension/instance/seasideSetAuthorName..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,5 @@ | ||
*seaside-pharo-welcome | ||
seasideSetAuthorName: anAuthorName | ||
Author fullName: anAuthorName | ||
|
||
SystemVersion current major >= 13 ifTrue:[ ^ self error: 'Author does not exist anymore.' ]. | ||
(Smalltalk at: #Author) fullName: anAuthorName |
8 changes: 4 additions & 4 deletions
8
...ontrolPanel.class/class/menuCommandOn..st → ...class/class/controlPanelMenuCommandOn..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,10 @@ | ||
world menu | ||
menuCommandOn: aBuilder | ||
controlPanelMenuCommandOn: aBuilder | ||
<worldMenu> | ||
self registerIcons. | ||
|
||
(aBuilder item: #ServerAdapterBrowser) | ||
order: 0.21; | ||
parent: #Tools; | ||
order: 1; | ||
parent: #Seaside; | ||
label: 'Seaside Control Panel'; | ||
icon: (self iconNamed: #adaptorRunningIcon); | ||
action: [ self open ] |
6 changes: 6 additions & 0 deletions
6
...aro100-Tools-Spec2.package/WAPharoControlPanel.class/class/runSeleniumServerInTerminal.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 @@ | ||
commands | ||
runSeleniumServerInTerminal | ||
<script> | ||
|
||
"Only works on Mac at this time" | ||
LibC system: 'osascript -e ''tell app "Terminal" to activate'' && osascript -e ''tell app "Terminal" to do script "npm install selenium-standalone && npx selenium-standalone install && npx selenium-standalone start"''' |
9 changes: 9 additions & 0 deletions
9
...pec2.package/WAPharoControlPanel.class/class/runSeleniumServerInTerminalMenuCommandOn..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 @@ | ||
world menu | ||
runSeleniumServerInTerminalMenuCommandOn: builder | ||
|
||
<worldMenu> | ||
|
||
(builder item: 'Run Selenium Server in Terminal') | ||
parent: #Seaside; | ||
order: 3; | ||
action: [ self runSeleniumServerInTerminal ] |
6 changes: 6 additions & 0 deletions
6
...-Pharo100-Tools-Spec2.package/WAPharoControlPanel.class/class/seasideIcebergRepository.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 @@ | ||
private | ||
seasideIcebergRepository | ||
|
||
^ IceRepository registry | ||
detect: [ :repository | repository workingCopy packages anySatisfy:[ :p | p packageName = 'Seaside-Core' ] ] | ||
ifNone: [ Error signal: 'Could not find the Seaside repository.' ] |
7 changes: 7 additions & 0 deletions
7
...ide-Pharo100-Tools-Spec2.package/WAPharoControlPanel.class/class/seasideMenuCommandOn..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 @@ | ||
world menu | ||
seasideMenuCommandOn: builder | ||
<worldMenu> | ||
|
||
(builder item: #Seaside) | ||
target: self; | ||
order: 1.4 |
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