-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into 93-untrack-system-changes
- Loading branch information
Showing
39 changed files
with
151 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ language: smalltalk | |
sudo: false | ||
|
||
smalltalk: | ||
- Squeak-trunk | ||
- Squeak-trunk |
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
8 changes: 0 additions & 8 deletions
8
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/buildChangeListSpecWith..st
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...Reloaded-Core.package/CRBrowser.class/instance/buildSingleSelectionChangeListSpecWith..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,8 @@ | ||
building | ||
buildSingleSelectionChangeListSpecWith: aBuilder | ||
|
||
^ aBuilder pluggableListSpec new | ||
model: self; | ||
list: #displayedChangeDescriptions; | ||
getIndex: #changeListSelectionIndex; | ||
setIndex: #changeListSelectionIndex: |
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
8 changes: 8 additions & 0 deletions
8
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/changeListSelectionIndex..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,8 @@ | ||
accessing | ||
changeListSelectionIndex: anInteger | ||
|
||
changeListSelectionIndex := anInteger. | ||
self displayedChangeListItems do: [:each | each isSelected: false]. | ||
self hasValidChangeListSelectionIndex | ||
ifTrue: [(self displayedChangeListItems at: anInteger) isSelected: true]. | ||
self updateAfterChangeSelection |
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/changeListSelectionIndex.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,4 @@ | ||
accessing | ||
changeListSelectionIndex | ||
|
||
^ changeListSelectionIndex |
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/codePaneFraction.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,4 @@ | ||
building | ||
codePaneFraction | ||
|
||
^ 0.45 |
8 changes: 8 additions & 0 deletions
8
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/codePaneFrame.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,8 @@ | ||
building | ||
codePaneFrame | ||
|
||
^ LayoutFrame new | ||
leftFraction: 0 offset: 0; | ||
topFraction: 1 - self codePaneFraction offset: 0; | ||
rightFraction: 1 offset: 0; | ||
bottomFraction: 1 offset: 0 |
4 changes: 2 additions & 2 deletions
4
...ages/ChangesReloaded-Core.package/CRBrowser.class/instance/displayedChangeDescriptions.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,6 +1,6 @@ | ||
accessing | ||
displayedChangeDescriptions | ||
|
||
^ self isHistoryListItemSelected | ||
ifFalse: [OrderedCollection new] | ||
^ self hasValidHistoryListSelectionIndex | ||
ifFalse: [SortedCollection new] | ||
ifTrue: [self selectedHistoryListItem changeDescriptions] |
4 changes: 2 additions & 2 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/displayedChangeListItems.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,6 +1,6 @@ | ||
accessing | ||
displayedChangeListItems | ||
|
||
^ self isHistoryListItemSelected | ||
ifFalse: [OrderedCollection new] | ||
^ self hasValidHistoryListSelectionIndex | ||
ifFalse: [SortedCollection new] | ||
ifTrue: [self selectedHistoryListItem history] |
5 changes: 5 additions & 0 deletions
5
...ChangesReloaded-Core.package/CRBrowser.class/instance/hasValidChangeListSelectionIndex.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 @@ | ||
accessing | ||
hasValidChangeListSelectionIndex | ||
|
||
^ self hasValidHistoryListSelectionIndex | ||
and: [self changeListSelectionIndex between: 1 and: self selectedHistoryListItem history size] |
2 changes: 1 addition & 1 deletion
2
...ass/instance/isHistoryListItemSelected.st → ...ance/hasValidHistoryListSelectionIndex.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,4 @@ | ||
accessing | ||
isHistoryListItemSelected | ||
hasValidHistoryListSelectionIndex | ||
|
||
^ self historyListSelectionIndex between: 1 and: self historyList size |
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
3 changes: 2 additions & 1 deletion
3
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/initialize.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,6 @@ | ||
initializing | ||
initialize | ||
|
||
self initializeHistoryList. | ||
self historyListSelectionIndex: 0. | ||
self initializeHistoryList | ||
self changeListSelectionIndex: 0 |
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
6 changes: 6 additions & 0 deletions
6
...gesReloaded-Core.package/CRBrowser.class/instance/isAnyDisplayedChangeListItemSelected.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 @@ | ||
accessing | ||
isAnyDisplayedChangeListItemSelected | ||
|
||
^ self hasValidHistoryListSelectionIndex | ||
ifTrue: [self selectedHistoryListItem hasSelectedChangeListItem] | ||
ifFalse: [false] |
4 changes: 0 additions & 4 deletions
4
...ages/ChangesReloaded-Core.package/CRBrowser.class/instance/isChangeListItemSelectedAt..st
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/refreshChangeList.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 @@ | ||
updating | ||
refreshChangeList | ||
|
||
self changed: #displayedChangeDescriptions. | ||
self refreshChangeListSelectionIndex |
4 changes: 0 additions & 4 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/refreshChangeListItems.st
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
.../ChangesReloaded-Core.package/CRBrowser.class/instance/refreshChangeListSelectionIndex.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,8 @@ | ||
updating | ||
refreshChangeListSelectionIndex | ||
|
||
self selectedDisplayedChangeListItems | ||
ifEmpty: [self changeListSelectionIndex: 0] | ||
ifNotEmpty: [self changeListSelectionIndex: | ||
(self displayedChangeListItems indexOf: | ||
self selectedDisplayedChangeListItems first)] |
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/refreshHistoryList.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,4 @@ | ||
updating | ||
refreshHistoryList | ||
|
||
self changed: #historyDescriptions |
4 changes: 0 additions & 4 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/refreshHistoryListItems.st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/repaintChangeListSelection.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,4 @@ | ||
updating | ||
repaintChangeListSelection | ||
|
||
self changed: #changeListSelectionIndex |
4 changes: 0 additions & 4 deletions
4
...ages/ChangesReloaded-Core.package/CRBrowser.class/instance/repaintChangeListSelections.st
This file was deleted.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
...ChangesReloaded-Core.package/CRBrowser.class/instance/selectedDisplayedChangeListItems.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 @@ | ||
accessing | ||
selectedDisplayedChangeListItems | ||
|
||
^ self isAnyDisplayedChangeListItemSelected | ||
ifTrue: [self selectedHistoryListItem selectedChangeListItems] | ||
ifFalse: [SortedCollection new] |
7 changes: 4 additions & 3 deletions
7
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/updateAfterChangeSelection.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,6 +1,7 @@ | ||
updating | ||
updateAfterChangeSelection | ||
|
||
self repaintChangeListSelections. | ||
self refreshHistoryListItems. | ||
self repaintHistoryListSelection | ||
self repaintChangeListSelection. | ||
self refreshHistoryList. | ||
self repaintHistoryListSelection. | ||
self updateCodePane |
3 changes: 2 additions & 1 deletion
3
...ages/ChangesReloaded-Core.package/CRBrowser.class/instance/updateAfterHistorySelection.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,6 @@ | ||
updating | ||
updateAfterHistorySelection | ||
|
||
self refreshChangeListItems. | ||
self refreshChangeList. | ||
self repaintChangeListSelection. | ||
self repaintHistoryListSelection |
7 changes: 7 additions & 0 deletions
7
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/updateCodePane.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 @@ | ||
updating | ||
updateCodePane | ||
|
||
self selectedDisplayedChangeListItems | ||
ifEmpty: [self contents: ''] | ||
ifNotEmpty: [self contents: self selectedDisplayedChangeListItems first string]. | ||
self contentsChanged |
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/wantsOptionalButtons.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,4 @@ | ||
building | ||
wantsOptionalButtons | ||
|
||
^ false |
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
14 changes: 8 additions & 6 deletions
14
packages/ChangesReloaded-Core.package/CRHistoryListItem.class/instance/description.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,11 +1,13 @@ | ||
accessing | ||
description | ||
|
||
| description numberOfSelectedChangeListItems numberOfChangeListItems prefix | | ||
| description prefix | | ||
prefix := self hasSelectedChangeListItem | ||
ifTrue: [| indexOfSelectedChangeListItem | | ||
indexOfSelectedChangeListItem := self history indexOf: self selectedChangeListItems first. | ||
indexOfSelectedChangeListItem > 1 | ||
ifTrue: [(indexOfSelectedChangeListItem - 1) asString , ' omitted:'] | ||
ifFalse: ['Latest:']] | ||
ifFalse: ['Ignored:']. | ||
description := self className , ' ' , self selector. | ||
numberOfSelectedChangeListItems := (self history select: [:each | each isSelected]) size. | ||
numberOfChangeListItems := self history size. | ||
numberOfSelectedChangeListItems = numberOfChangeListItems | ||
ifFalse: [prefix := '[' , numberOfSelectedChangeListItems , '/' , numberOfChangeListItems , ']'] | ||
ifTrue: [prefix := '[all]']. | ||
^ prefix , ' ' , description |
6 changes: 6 additions & 0 deletions
6
...hangesReloaded-Core.package/CRHistoryListItem.class/instance/hasSelectedChangeListItem.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 @@ | ||
accessing | ||
hasSelectedChangeListItem | ||
|
||
^ self history | ||
ifEmpty: [false] | ||
ifNotEmpty: [self history anySatisfy: [:each | each isSelected]] |
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
6 changes: 0 additions & 6 deletions
6
...ges/ChangesReloaded-Tests.package/CRBrowserTest.class/instance/testLoadSelectedChanges.st
This file was deleted.
Oops, something went wrong.
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