Skip to content

Commit

Permalink
Merge pull request #215 from OpenSmock/Issue_0214
Browse files Browse the repository at this point in the history
Remove black screen on normal display
  • Loading branch information
Nyan11 authored Dec 11, 2024
2 parents 8e9af98 + bba3b85 commit 1fb705b
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 134 deletions.
4 changes: 3 additions & 1 deletion src/Pyramid-Bloc/PyramidSpaceBuilder.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ PyramidSpaceBuilder >> addOverlayNamed: aString [
{ #category : #'as yet unclassified' }
PyramidSpaceBuilder >> build [

self space: BlSpace new.
self space: (BlSpace new
extent: 4000 @ 2000;
yourself).
self space userData at: #pyramid_isEditor put: true.

self overlays ifEmpty: [ ^ self space ].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
Class {
#name : 'PyramidContainsValidSelectorInterpreterTest',
#superclass : 'TestCase',
#name : #PyramidContainsValidSelectorInterpreterTest,
#superclass : #TestCase,
#instVars : [
'interpreter'
],
#category : 'Pyramid-Toplo-Tests-cases-plugin-theme-management',
#package : 'Pyramid-Toplo-Tests',
#tag : 'cases-plugin-theme-management'
#category : #'Pyramid-Toplo-Tests-cases-plugin-theme-management'
}

{ #category : 'accessing' }
{ #category : #accessing }
PyramidContainsValidSelectorInterpreterTest >> initialize [

super initialize.
interpreter := PyramidContainsValidSelectorInterpreter new.
]

{ #category : 'accessing' }
{ #category : #accessing }
PyramidContainsValidSelectorInterpreterTest >> interpreter [

^ interpreter
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitActionSelector [

| selector element |
Expand All @@ -37,7 +35,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitActionSelector [
self deny: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitAndSelector [
"
left ok + right ok -> true
Expand All @@ -63,7 +61,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitAndSelector [
self assert: self interpreter result.
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitChildSelector [
"
child ok + parent ok -> true
Expand Down Expand Up @@ -97,7 +95,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitChildSelector [
self deny: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitIdSelector [
"
id ok -> true
Expand All @@ -116,7 +114,7 @@ element := ToElement new.
self deny: self interpreter result.
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitNotSelector [

| selector element |
Expand Down Expand Up @@ -171,7 +169,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitNotSelector [
self assert: self interpreter result.
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitOrSelector [
"
left ok + right ok -> true
Expand Down Expand Up @@ -206,7 +204,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitOrSelector [
self assert: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitParentSelector [
"
child ok + parent ok -> true
Expand Down Expand Up @@ -258,7 +256,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitParentSelector [
self deny: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitSiblingSelector [
"
child ok + sibling1 ok + sibling2 ok -> true
Expand Down Expand Up @@ -320,7 +318,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitSiblingSelector [
self deny: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitStyleStampSelector [
"Test is true because stamps is authorized"
| element |
Expand All @@ -332,7 +330,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitStyleStampSelector [
self assert: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitTypeSelector [
"
Return true if type is ok.
Expand All @@ -348,7 +346,7 @@ PyramidContainsValidSelectorInterpreterTest >> testVisitTypeSelector [
self assert: self interpreter result
]

{ #category : 'tests' }
{ #category : #tests }
PyramidContainsValidSelectorInterpreterTest >> testVisitUniversalSelector [
"Test is true universal is authorized"

Expand Down
12 changes: 5 additions & 7 deletions src/Pyramid-Toplo-Tests/PyramidStampCommandTest.class.st
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
Class {
#name : 'PyramidStampCommandTest',
#superclass : 'TestCase',
#name : #PyramidStampCommandTest,
#superclass : #TestCase,
#traits : 'TPyramidCommandTest',
#classTraits : 'TPyramidCommandTest classTrait',
#category : 'Pyramid-Toplo-Tests-cases-plugin-theme-management',
#package : 'Pyramid-Toplo-Tests',
#tag : 'cases-plugin-theme-management'
#category : #'Pyramid-Toplo-Tests-cases-plugin-theme-management'
}

{ #category : 'accessing' }
{ #category : #accessing }
PyramidStampCommandTest >> command [

^ PyramidStampCommand new stamp: #test; yourself
]

{ #category : 'as yet unclassified' }
{ #category : #'as yet unclassified' }
PyramidStampCommandTest >> targetContainers [

^ {
Expand Down
95 changes: 0 additions & 95 deletions src/Pyramid-Toplo-Tests/PyramidThemeCommandTest.class.st

This file was deleted.

2 changes: 1 addition & 1 deletion src/Pyramid-Toplo-Tests/package.st
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Package { #name : 'Pyramid-Toplo-Tests' }
Package { #name : #'Pyramid-Toplo-Tests' }
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
'invalidSelectors',
'ignoredSelectors'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #operating }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Class {
'commandExecutor',
'themeCommand'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidSelectorPossibleStamps.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'theme'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class {
#instVars : [
'projectModel'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidStampCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'stamp'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class {
'styleSheetEditor',
'stampPresenter'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #accessing }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemeCommand.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #PyramidThemeCommand,
#superclass : #PyramidAbstractBlocCommand,
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemeFromSpaceExtension.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Class {
'themeSpaceSelector',
'spaceIsReady'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #asserting }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemePresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class {
'themeSpaceSelector',
'themeElementSelector'
],
#category : #'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #layout }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemePropertyStrategy.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #PyramidThemePropertyStrategy,
#superclass : #PyramidHideEmptyPropertyStrategy,
#category : #'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidThemeSelectorPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class {
'buttonRefreshTheme',
'triggerThemeChangement'
],
#category : 'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #'as yet unclassified' }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-Toplo/PyramidToploThemePlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Class {
'themePresenter',
'themePropertyManager'
],
#category : #'Pyramid-Toplo-plugin-theme-management'
#category : #'Pyramid-Toplo-EXPERIMENTAL-plugin-theme-management'
}

{ #category : #asserting }
Expand Down

0 comments on commit 1fb705b

Please sign in to comment.