Skip to content

Commit

Permalink
Fix for pharo-project/pharo#14648 (SpNullApplication did not understa…
Browse files Browse the repository at this point in the history
…nd #label:)
  • Loading branch information
sdiepend committed Sep 29, 2023
1 parent 989c418 commit acf91a1
Show file tree
Hide file tree
Showing 287 changed files with 3,159 additions and 2,695 deletions.
4 changes: 2 additions & 2 deletions Iceberg-TipUI/Clipboard.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #Clipboard }
Extension { #name : 'Clipboard' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
Clipboard class >> clipboardText: aText informing: aString [
UIManager inform: aString.
^ self clipboardText: aText
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/CmCommandGroup.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #CmCommandGroup }
Extension { #name : 'CmCommandGroup' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
CmCommandGroup >> commandOrGroupNamed: aString ifFound: aBlock [

^ entries
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/CmCommandGroupDecorator.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #CmCommandGroupDecorator }
Extension { #name : 'CmCommandGroupDecorator' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
CmCommandGroupDecorator >> commandOrGroupNamed: aString ifFound: aBlock [

^ self decoratedGroup commandOrGroupNamed: aString ifFound: aBlock
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/CmUICommandDisplayStrategy.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #CmUICommandDisplayStrategy }
Extension { #name : 'CmUICommandDisplayStrategy' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
CmUICommandDisplayStrategy >> ifVisible: aCmSpecCommand do: aBlock [

self subclassResponsibility
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/CmUIDisableWhenCantBeRun.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #CmUIDisableWhenCantBeRun }
Extension { #name : 'CmUIDisableWhenCantBeRun' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
CmUIDisableWhenCantBeRun >> ifVisible: aCmSpecCommand do: aBlock [
"Always visible"

Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/CmUIHideWhenCantBeRun.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #CmUIHideWhenCantBeRun }
Extension { #name : 'CmUIHideWhenCantBeRun' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
CmUIHideWhenCantBeRun >> ifVisible: aCmSpecCommand do: aBlock [
"Visible if #canBeExecuted"

Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/FTBasicItem.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #FTBasicItem }
Extension { #name : 'FTBasicItem' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
FTBasicItem >> toggle [
self isExpanded
ifTrue: [ self collapseAndRefresh ]
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/FTRootItem.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #FTRootItem }
Extension { #name : 'FTRootItem' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
FTRootItem >> isRoot [
^ true
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/FTTableMorph.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #FTTableMorph }
Extension { #name : 'FTTableMorph' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
FTTableMorph >> selectFirstVisibleRow [
^ self
selectIndex:
Expand All @@ -9,7 +9,7 @@ FTTableMorph >> selectFirstVisibleRow [
ifEmpty: [ 0 ])
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
FTTableMorph >> useFunction: aFilterFunctionClass do: aBlock [
function := aFilterFunctionClass table: self.
aBlock cull: function cull: self
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/FTTreeItem.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #FTTreeItem }
Extension { #name : 'FTTreeItem' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
FTTreeItem >> isRoot [
^ false
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/IceAbstractCredentials.extension.st
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Extension { #name : #IceAbstractCredentials }
Extension { #name : 'IceAbstractCredentials' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceAbstractCredentials >> askForModelClass [
^ self subclassResponsibility
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceAbstractCredentials >> editModelClass [
^ self subclassResponsibility
]
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceAddition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceAddition }
Extension { #name : 'IceAddition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceAddition >> icon [

^ self iconNamed: #changeAdd
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceCheckoutAllPackages.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceCheckoutAllPackages }
Extension { #name : 'IceCheckoutAllPackages' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceCheckoutAllPackages class >> description [
^ 'Checkout ALL packages in the repository'
]
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceCheckoutAlreadyLoadedPackages.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceCheckoutAlreadyLoadedPackages }
Extension { #name : 'IceCheckoutAlreadyLoadedPackages' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceCheckoutAlreadyLoadedPackages class >> description [
^ 'Checkout packages ALREADY LOADED in the image'
]
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceCheckoutDoNotLoadPackages.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceCheckoutDoNotLoadPackages }
Extension { #name : 'IceCheckoutDoNotLoadPackages' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceCheckoutDoNotLoadPackages class >> description [
^ 'DO NOT CHECKOUT any packages, I will load them manually (for experts only)'
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/IceCheckoutStrategy.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Extension { #name : #IceCheckoutStrategy }
Extension { #name : 'IceCheckoutStrategy' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceCheckoutStrategy >> description [

^ self class description
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceCheckoutStrategy class >> description [
^ self subclassResponsibility
]
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceClassDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceClassDefinition }
Extension { #name : 'IceClassDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceClassDefinition >> icon [
^ self iconNamed: #class
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/IceConflictingOperation.extension.st
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Extension { #name : #IceConflictingOperation }
Extension { #name : 'IceConflictingOperation' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceConflictingOperation >> operationIcon [
^ self iconNamed: #changeUpdate
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceConflictingOperation >> preferredColor [

^ self isResolved
Expand Down
10 changes: 6 additions & 4 deletions Iceberg-TipUI/IceCreateBranchCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ I'm a command to create a new branch from a commit.
this is usefull in the case of commiting changes in unsync repositories (so you open a branch and you commit there)
"
Class {
#name : #IceCreateBranchCommand,
#superclass : #IceRepositoryCommand,
#category : #'Iceberg-TipUI-Commands'
#name : 'IceCreateBranchCommand',
#superclass : 'IceRepositoryCommand',
#category : 'Iceberg-TipUI-Commands',
#package : 'Iceberg-TipUI',
#tag : 'Commands'
}

{ #category : #execute }
{ #category : 'execute' }
IceCreateBranchCommand >> execute [
| selection |

Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceDefinition }
Extension { #name : 'IceDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceDefinition >> icon [

self subclassResponsibility
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceDirectoryDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceDirectoryDefinition }
Extension { #name : 'IceDirectoryDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceDirectoryDefinition >> icon [
^ self iconNamed: #emptyPackage
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/IceErrorVisitor.extension.st
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Extension { #name : #IceErrorVisitor }
Extension { #name : 'IceErrorVisitor' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceErrorVisitor >> visitExperimentalFeature: aWarning [

"By default experimental features are just accepted when we are not in an interactive mode".
aWarning resume
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceErrorVisitor >> visitNoCommitMessage: aWarning [
self visitGenericError: aWarning
]
10 changes: 6 additions & 4 deletions Iceberg-TipUI/IceExperimentalFeature.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ Everytime an user tries to use an experimental feature, maybe the UI want to sho
This is useful to guarantee the correct keeping of the changes.
"
Class {
#name : #IceExperimentalFeature,
#superclass : #IceWarning,
#category : #'Iceberg-TipUI-Exceptions'
#name : 'IceExperimentalFeature',
#superclass : 'IceWarning',
#category : 'Iceberg-TipUI-Exceptions',
#package : 'Iceberg-TipUI',
#tag : 'Exceptions'
}

{ #category : #visiting }
{ #category : 'visiting' }
IceExperimentalFeature >> acceptError: aVisitor [

aVisitor visitExperimentalFeature: self
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceExtensionDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceExtensionDefinition }
Extension { #name : 'IceExtensionDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceExtensionDefinition >> icon [
^ self iconNamed: #group
]
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceFileDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #IceFileDefinition }
Extension { #name : 'IceFileDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceFileDefinition >> icon [
^ self iconNamed: #book
]
6 changes: 3 additions & 3 deletions Iceberg-TipUI/IceFileSystemDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Extension { #name : #IceFileSystemDefinition }
Extension { #name : 'IceFileSystemDefinition' }

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceFileSystemDefinition >> canBeBrowsed [

"It can always be browsed through the libgit file system"
^ true
]

{ #category : #'*Iceberg-TipUI' }
{ #category : '*Iceberg-TipUI' }
IceFileSystemDefinition >> canBrowseReferences [

"We do not track file references..."
Expand Down
28 changes: 15 additions & 13 deletions Iceberg-TipUI/IceMergeListWrapper.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,69 @@
I am a morphic list wrapper that wraps iceberg diff tree nodes (potentially with conflicts)
"
Class {
#name : #IceMergeListWrapper,
#superclass : #ListItemWrapper,
#category : #'Iceberg-TipUI-Morphic'
#name : 'IceMergeListWrapper',
#superclass : 'ListItemWrapper',
#category : 'Iceberg-TipUI-Morphic',
#package : 'Iceberg-TipUI',
#tag : 'Morphic'
}

{ #category : #comparing }
{ #category : 'comparing' }
IceMergeListWrapper >> = aWrapper [

^ self item = aWrapper item
]

{ #category : #'morphic-compatibility' }
{ #category : 'morphic-compatibility' }
IceMergeListWrapper >> actualClass [

^ self item value actualClass
]

{ #category : #testing }
{ #category : 'testing' }
IceMergeListWrapper >> asString [

^item value description
]

{ #category : #resolution }
{ #category : 'resolution' }
IceMergeListWrapper >> chooseLocal [

^ item value selectRight
]

{ #category : #resolution }
{ #category : 'resolution' }
IceMergeListWrapper >> chooseRemote [

^ item value selectLeft
]

{ #category : #testing }
{ #category : 'testing' }
IceMergeListWrapper >> contents [
"Answer the contents of the change from the model."

^ item children collect: [ :each | IceMergeListWrapper with: each model: model ]
]

{ #category : #comparing }
{ #category : 'comparing' }
IceMergeListWrapper >> hash [

^ self item hash
]

{ #category : #testing }
{ #category : 'testing' }
IceMergeListWrapper >> icon [

^ item value icon
]

{ #category : #testing }
{ #category : 'testing' }
IceMergeListWrapper >> isConflict [

^ item value isConflict
]

{ #category : #accessing }
{ #category : 'accessing' }
IceMergeListWrapper >> preferredColor [

^ self item value preferredColor
Expand Down
10 changes: 6 additions & 4 deletions Iceberg-TipUI/IceMergeWorkingCopyCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
I'm a command to perform a merge of current image sources with head commit.
"
Class {
#name : #IceMergeWorkingCopyCommand,
#superclass : #IceRepositoryCommand,
#category : #'Iceberg-TipUI-Commands'
#name : 'IceMergeWorkingCopyCommand',
#superclass : 'IceRepositoryCommand',
#category : 'Iceberg-TipUI-Commands',
#package : 'Iceberg-TipUI',
#tag : 'Commands'
}

{ #category : #execute }
{ #category : 'execute' }
IceMergeWorkingCopyCommand >> execute [
| commit |
commit := self repository headCommit.
Expand Down
Loading

0 comments on commit acf91a1

Please sign in to comment.