Skip to content
Permalink
Browse files

Merge pull request #696 from pharo-spec/cleanup

Cleanups
  • Loading branch information...
guillep committed Aug 14, 2019
2 parents 86c5964 + 357c30f commit 05839d7862554cfb8f0198868dc5e55e99836407
Showing with 80 additions and 3,366 deletions.
  1. +3 −10 src/BaselineOfSpec2/BaselineOfSpec2.class.st
  2. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpCalendarPresenter.class.st
  3. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpDatePresenter.class.st
  4. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpEditableList.class.st
  5. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpInputTextDropList.class.st
  6. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledContainer.class.st
  7. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledDropList.class.st
  8. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledList.class.st
  9. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledPresenter.class.st
  10. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledSliderInput.class.st
  11. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpLabelledTextInput.class.st
  12. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpMethodToolbar.class.st
  13. +10 −0 src/Spec2-Core/SpPresenter.class.st
  14. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpRGBSliders.class.st
  15. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpRGBWidget.class.st
  16. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpSearchableTree.class.st
  17. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpSelectEntity.class.st
  18. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpSliderInput.class.st
  19. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarButtonMorph.class.st
  20. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarDisplayMode.class.st
  21. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarDisplayModeIcon.class.st
  22. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarDisplayModeIconAndLabel.class.st
  23. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarDisplayModeLabel.class.st
  24. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarItemPosition.class.st
  25. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarItemPositionLeft.class.st
  26. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarItemPositionRight.class.st
  27. +1 −1 src/{Spec2-PolyWidgets → Spec2-Core}/SpToolBarMorph.class.st
  28. +6 −0 src/Spec2-Examples/SpPresenter.extension.st
  29. +0 −295 src/Spec2-Inspector/AbstractEyeElement.class.st
  30. +0 −18 src/Spec2-Inspector/AllInstVarsEyeElement.class.st
  31. +0 −6 src/Spec2-Inspector/Bag.extension.st
  32. +0 −23 src/Spec2-Inspector/BagEyeElement.class.st
  33. +0 −56 src/Spec2-Inspector/BasicIndexedEyeElement.class.st
  34. +0 −6 src/Spec2-Inspector/ByteArray.extension.st
  35. +0 −6 src/Spec2-Inspector/Character.extension.st
  36. +0 −28 src/Spec2-Inspector/ClassEyeElement.class.st
  37. +0 −6 src/Spec2-Inspector/CompiledMethod.extension.st
  38. +0 −6 src/Spec2-Inspector/Context.extension.st
  39. +0 −60 src/Spec2-Inspector/ContextTempEyeElement.class.st
  40. +0 −6 src/Spec2-Inspector/DateAndTime.extension.st
  41. +0 −6 src/Spec2-Inspector/Dictionary.extension.st
  42. +0 −83 src/Spec2-Inspector/DynamicEyeElement.class.st
  43. +0 −233 src/Spec2-Inspector/EyeAbstractInspector.class.st
  44. +0 −24 src/Spec2-Inspector/EyeBagInspector.class.st
  45. +0 −13 src/Spec2-Inspector/EyeBasicInspector.class.st
  46. +0 −77 src/Spec2-Inspector/EyeByteArrayInspector.class.st
  47. +0 −32 src/Spec2-Inspector/EyeCharacterInspector.class.st
  48. +0 −41 src/Spec2-Inspector/EyeCollectionInspector.class.st
  49. +0 −72 src/Spec2-Inspector/EyeCompiledMethodInspector.class.st
  50. +0 −51 src/Spec2-Inspector/EyeDateAndTimeInspector.class.st
  51. +0 −24 src/Spec2-Inspector/EyeDictionaryInspector.class.st
  52. +0 −28 src/Spec2-Inspector/EyeFileSystemInspector.class.st
  53. +0 −41 src/Spec2-Inspector/EyeFloatInspector.class.st
  54. +0 −495 src/Spec2-Inspector/EyeInspector.class.st
  55. +0 −396 src/Spec2-Inspector/EyeInspectorNavigator.class.st
  56. +0 −134 src/Spec2-Inspector/EyeInspectorToolBar.class.st
  57. +0 −40 src/Spec2-Inspector/EyeIntegerInspector.class.st
  58. +0 −33 src/Spec2-Inspector/EyeMethodContextInspector.class.st
  59. +0 −68 src/Spec2-Inspector/EyeMorphViewer.class.st
  60. +0 −121 src/Spec2-Inspector/EyePointerExplorer.class.st
  61. +0 −32 src/Spec2-Inspector/EyePointerWrapper.class.st
  62. +0 −19 src/Spec2-Inspector/EyeSetInspector.class.st
  63. +0 −15 src/Spec2-Inspector/EyeStringInspector.class.st
  64. +0 −34 src/Spec2-Inspector/EyeSyntaxTreeInspector.class.st
  65. +0 −145 src/Spec2-Inspector/EyeTreeInspector.class.st
  66. +0 −27 src/Spec2-Inspector/EyeViewHierarchyInspector.class.st
  67. +0 −6 src/Spec2-Inspector/FileReference.extension.st
  68. +0 −6 src/Spec2-Inspector/Float.extension.st
  69. +0 −23 src/Spec2-Inspector/IndexedEyeElement.class.st
  70. +0 −86 src/Spec2-Inspector/InstanceVariableEyeElement.class.st
  71. +0 −6 src/Spec2-Inspector/Integer.extension.st
  72. +0 −8 src/Spec2-Inspector/ManifestSpec2Inspector.class.st
  73. +0 −6 src/Spec2-Inspector/Morph.extension.st
  74. +0 −21 src/Spec2-Inspector/Object.extension.st
  75. +0 −6 src/Spec2-Inspector/OrderedDictionary.extension.st
  76. +0 −56 src/Spec2-Inspector/PointerEyeElement.class.st
  77. +0 −6 src/Spec2-Inspector/RBMethodNode.extension.st
  78. +0 −14 src/Spec2-Inspector/RootEyeElement.class.st
  79. +0 −82 src/Spec2-Inspector/SelfEyeElement.class.st
  80. +0 −6 src/Spec2-Inspector/SequenceableCollection.extension.st
  81. +0 −6 src/Spec2-Inspector/Set.extension.st
  82. +0 −54 src/Spec2-Inspector/SetEyeElement.class.st
  83. +0 −6 src/Spec2-Inspector/SmallDictionary.extension.st
  84. +0 −6 src/Spec2-Inspector/String.extension.st
  85. +0 −38 src/Spec2-Inspector/TEyeInspectorActions.trait.st
  86. +0 −18 src/Spec2-Inspector/ThisContextEyeElement.class.st
  87. +0 −1 src/Spec2-Inspector/package.st
  88. +0 −13 src/Spec2-Pharo7To8Compatibility/LayoutFrame.extension.st
  89. +0 −25 src/Spec2-PolyWidgets-Tests/SpToolBarPresenterTest.extension.st
  90. +0 −1 src/Spec2-PolyWidgets-Tests/package.st
  91. +0 −16 src/Spec2-PolyWidgets/SpPresenter.extension.st
  92. +0 −1 src/Spec2-PolyWidgets/package.st
  93. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpCalendarPresenterTest.class.st
  94. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpDatePresenterTest.class.st
  95. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpEditableListTest.class.st
  96. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpInputTextDropListTest.class.st
  97. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpLabelledContainerTest.class.st
  98. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpLabelledDropListTest.class.st
  99. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpLabelledListTest.class.st
  100. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpLabelledSliderInputTest.class.st
  101. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpLabelledTextInputTest.class.st
  102. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpMethodToolbarTest.class.st
  103. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpRGBSlidersTest.class.st
  104. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpRGBWidgetTest.class.st
  105. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpSearchableTreeTest.class.st
  106. +1 −1 src/{Spec2-PolyWidgets-Tests → Spec2-Tests}/SpSliderInputTest.class.st
  107. +22 −0 src/Spec2-Tests/SpToolBarPresenterTest.class.st
@@ -24,19 +24,14 @@ BaselineOfSpec2 >> baseline: spec [
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-Deprecated'
with: [ spec
requires: #('Spec2-Tests' 'Spec2-PolyWidgets-Tests' 'Spec2-Adapters-Morphic' 'Spec2-Commander2') ];
package: 'Spec2-Inspector'
with: [ spec requires: #('Spec2-PolyWidgets') ];
requires: #('Spec2-Tests' 'Spec2-Adapters-Morphic' 'Spec2-Commander2') ];
package: 'Spec2-Layout';
package: 'Spec2-Transmission';
package: 'Spec2-Adapters-Morphic'
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-PolyWidgets'
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-Adapters-Stub'
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-Examples'
with: [ spec requires: #('Spec2-Inspector') ];
package: 'Spec2-Examples';
package: 'Spec2-Interactions'
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-Commander2'
@@ -51,8 +46,6 @@ BaselineOfSpec2 >> baseline: spec [
with: [ spec requires: #('Spec2-Commander2-ContactBook') ];
package: 'Spec2-Tests'
with: [ spec requires: #('Spec2-Examples') ];
package: 'Spec2-PolyWidgets-Tests'
with: [ spec requires: #('Spec2-Tests' 'Spec2-PolyWidgets') ];
package: 'Spec2-Morphic-Backend-Tests'
with: [ spec requires: #('Spec2-Adapters-Morphic') ];
package: 'Spec2-Backend-Tests'
@@ -85,7 +78,7 @@ BaselineOfSpec2 >> baseline: spec [
for: #'pharo8.x'
do: [ spec
package: 'Spec2-Tools'
with: [ spec requires: #('Spec2-PolyWidgets') ];
with: [ spec requires: #('Spec2-Core') ];
package: 'Spec2-Tools-Tests'
with: [ spec requires: #('Spec2-Tests' 'Spec2-Tools') ];
package: 'Spec2-Examples'
@@ -14,7 +14,7 @@ Class {
'daysButtons',
'whenDaySelectedBlock'
],
#category : #'Spec2-PolyWidgets-Widgets'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -21,7 +21,7 @@ Class {
'#date',
'#displayBlock => SpObservableSlot'
],
#category : #'Spec2-PolyWidgets-Widgets'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -25,7 +25,7 @@ Class {
'addItemBlock',
'okBlock'
],
#category : #'Spec2-PolyWidgets-ListAndTree'
#category : #'Spec2-Core-Widgets'
}

{ #category : #spec }
@@ -12,7 +12,7 @@ Class {
'dropList',
'input'
],
#category : #'Spec2-PolyWidgets-Elementary'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -16,7 +16,7 @@ Class {
'label',
'subwidget'
],
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -11,7 +11,7 @@ I provide shortcuts for the most common methods of the droplist api to avoid the
Class {
#name : #SpLabelledDropList,
#superclass : #SpLabelledContainer,
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -11,7 +11,7 @@ I provide shortcuts for the most common methods of the list api to avoid the use
Class {
#name : #SpLabelledList,
#superclass : #SpLabelledContainer,
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #'api-shortcuts' }
@@ -16,7 +16,7 @@ Class {
'descriptionPresenter',
'labelPresenter'
],
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -11,7 +11,7 @@ I provide shortcuts for the most common methods to avoid the use of the DoesNotU
Class {
#name : #SpLabelledSliderInput,
#superclass : #SpLabelledContainer,
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #'api-shortcuts' }
@@ -11,7 +11,7 @@ I provide shortcuts for the most common methods of the TextInputFieldPresenter a
Class {
#name : #SpLabelledTextInput,
#superclass : #SpLabelledContainer,
#category : #'Spec2-PolyWidgets-Labelled'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -16,7 +16,7 @@ Class {
'#usersModel',
'#method => SpObservableSlot'
],
#category : #'Spec2-PolyWidgets-Widgets'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -115,6 +115,16 @@ SpPresenter class >> iconNamed: aSymbol [
^ Smalltalk ui icons iconNamed: aSymbol
]

{ #category : #'labelled-presenters' }
SpPresenter class >> iconWidth [
^ 24
]

{ #category : #'labelled-presenters' }
SpPresenter class >> labelWidth [
^ 100
]

{ #category : #'instance creation' }
SpPresenter class >> newApplication: anApplication [

@@ -16,7 +16,7 @@ Class {
'greenSlider',
'blueSlider'
],
#category : #'Spec2-PolyWidgets-RGB'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -19,7 +19,7 @@ Class {
'sliders',
'extentForPreview'
],
#category : #'Spec2-PolyWidgets-RGB'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -10,7 +10,7 @@ Class {
'#tree',
'#button'
],
#category : #'Spec2-PolyWidgets-ListAndTree'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -17,7 +17,7 @@ Class {
'#selectDialog => SpObservableSlot',
'#placeholder => SpObservableSlot'
],
#category : #'Spec2-PolyWidgets-Widgets'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -17,7 +17,7 @@ Class {
'slider',
'input'
],
#category : #'Spec2-PolyWidgets-Elementary'
#category : #'Spec2-Core-Widgets'
}

{ #category : #specs }
@@ -8,7 +8,7 @@ Class {
'badgeFont',
'badgeSelector'
],
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -7,7 +7,7 @@ Class {
#classInstVars : [
'uniqueInstance'
],
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -4,7 +4,7 @@ Display the toolbar with icons only
Class {
#name : #SpToolBarDisplayModeIcon,
#superclass : #SpToolBarDisplayMode,
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #configuring }
@@ -4,7 +4,7 @@ Display the toolbar with icons and label only
Class {
#name : #SpToolBarDisplayModeIconAndLabel,
#superclass : #SpToolBarDisplayMode,
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #configuring }
@@ -4,7 +4,7 @@ Display the toolbar with labels only
Class {
#name : #SpToolBarDisplayModeLabel,
#superclass : #SpToolBarDisplayMode,
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #configuring }
@@ -13,7 +13,7 @@ Class {
#classInstVars : [
'uniqueInstance'
],
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -8,7 +8,7 @@ Do not use the class directly, instead use:
Class {
#name : #SpToolBarItemPositionLeft,
#superclass : #SpToolBarItemPosition,
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -8,7 +8,7 @@ Do not use the class directly, instead use:
Class {
#name : #SpToolBarItemPositionRight,
#superclass : #SpToolBarItemPosition,
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -12,7 +12,7 @@ Class {
'displayMode',
'toolbarItemFont'
],
#category : #'Spec2-PolyWidgets-ToolBar'
#category : #'Spec2-Core-Widgets'
}

{ #category : #accessing }
@@ -0,0 +1,6 @@
Extension { #name : #SpPresenter }

{ #category : #'*Spec2-Examples' }
SpPresenter class >> labelledPresenterHeight [
^ self inputTextHeight * 2
]

0 comments on commit 05839d7

Please sign in to comment.
You can’t perform that action at this time.