-
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.
Fix browser deprecations in Pharo 11
- Loading branch information
Showing
10 changed files
with
36 additions
and
22 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
5 changes: 5 additions & 0 deletions
5
...Seaside-Pharo-Development.package/WARPackageBasedBrowser.class/instance/packageNameOf..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 @@ | ||
private | ||
packageNameOf: aPackage | ||
^ (aPackage respondsTo: #name) | ||
ifTrue: [ aPackage name ] | ||
ifFalse: [ aPackage packageName ] |
6 changes: 5 additions & 1 deletion
6
...itory/Seaside-Pharo-Development.package/WARPackageBasedBrowser.class/instance/packages.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,7 @@ | ||
private | ||
packages | ||
^ (Smalltalk at: #RPackage) organizer packages | ||
| rPackage | | ||
rPackage := Smalltalk at: #RPackage. | ||
^ ((rPackage respondsTo: #packageOrganizer) | ||
ifTrue: [ rPackage packageOrganizer ] | ||
ifFalse: [ rPackage organizer ]) packages |
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
5 changes: 2 additions & 3 deletions
5
...ide-Pharo-Development.package/WARPackageBasedBrowser.class/instance/systemCategoryList.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,5 +1,4 @@ | ||
accessing | ||
systemCategoryList | ||
^ (self packages | ||
collect: [ :each | each packageName ]) | ||
sorted | ||
|
||
^ (self packages collect: [ :each | (self packageNameOf: each) ]) sorted |
2 changes: 1 addition & 1 deletion
2
...aro-Development.package/WARPackageBasedBrowser.class/instance/systemCategoryListIndex..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,7 +1,7 @@ | ||
accessing | ||
systemCategoryListIndex: anInteger | ||
selectedPackage := ((self packages | ||
sorted: [ :a :b | a packageName <= b packageName ]) at: anInteger). | ||
sorted: [ :a :b | (self packageNameOf: a) <= (self packageNameOf: b) ]) at: anInteger). | ||
selectedClass := nil. | ||
self clearMessageAndProtoclSelection. | ||
self changed: #systemCategoryListIndex |
2 changes: 1 addition & 1 deletion
2
...haro-Development.package/WARPackageBasedBrowser.class/instance/systemCategoryListIndex.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,5 +1,5 @@ | ||
accessing | ||
systemCategoryListIndex | ||
^ (self packages | ||
sorted: [ :a :b | a packageName <= b packageName ]) | ||
sorted: [ :a :b | (self packageNameOf: a) <= (self packageNameOf: b) ]) | ||
indexOf: selectedPackage |
5 changes: 1 addition & 4 deletions
5
repository/Seaside-Pharo-Development.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,4 +1 @@ | ||
SystemOrganization addCategory: #'Seaside-Pharo-Development'! | ||
SystemOrganization addCategory: #'Seaside-Pharo-Development-Core'! | ||
SystemOrganization addCategory: #'Seaside-Pharo-Development-Core-Plugins'! | ||
SystemOrganization addCategory: #'Seaside-Pharo-Development-Core-Profiler'! | ||
self packageOrganizer ensurePackage: #'Seaside-Pharo-Development' withTags: #(#Core #'Core-Plugins' #'Core-Profiler')! |