-
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' of origin into 114-no-changes-info
- Loading branch information
Showing
82 changed files
with
362 additions
and
104 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
4 changes: 1 addition & 3 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/codeOfSelectedChange.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,4 @@ | ||
updating | ||
codeOfSelectedChange | ||
|
||
^ self hasSelectedMethodChangeListItem | ||
ifTrue: [self diffFromPriorSourceFor: self selectedChangeListItem string] | ||
ifFalse: [self selectedChangeListItem string] | ||
^ self diffFromPriorSourceFor: self selectedChangeListItem string |
8 changes: 0 additions & 8 deletions
8
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/diffFromPriorSourceFor..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
4 changes: 0 additions & 4 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/hasChanges.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../ChangesReloaded-Core.package/CRBrowser.class/instance/hasSelectedMethodChangeListItem.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
4 changes: 0 additions & 4 deletions
4
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/noChangesInfoString.st
This file was deleted.
Oops, something went wrong.
9 changes: 2 additions & 7 deletions
9
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/priorSourceOrNil.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,9 +1,4 @@ | ||
misc | ||
priorSourceOrNil | ||
| aClass aSelector changeRecords | | ||
(aClass := self selectedClass) ifNil: [^ nil]. | ||
(aSelector := self selectedMessageName) ifNil: [^ nil]. | ||
changeRecords := aClass changeRecordsAt: aSelector. | ||
changeRecords ifNil: [^ nil]. | ||
changeRecords ifEmpty: [^ nil]. | ||
^ changeRecords first string | ||
|
||
^ self selectedChangeListItem priorSourceOrNil |
6 changes: 0 additions & 6 deletions
6
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/selectedClass.st
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/ChangesReloaded-Core.package/CRBrowser.class/instance/selectedMessageName.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
8 changes: 3 additions & 5 deletions
8
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 |
---|---|---|
@@ -1,10 +1,8 @@ | ||
updating | ||
updateCodePane | ||
|
||
self contents: (self hasChanges | ||
ifTrue: [self hasSelectedChangeListItem | ||
ifTrue: [self codeOfSelectedChange asText] | ||
ifFalse: ['']] | ||
ifFalse: [self noChangesInfoString]). | ||
self contents: (self hasSelectedChangeListItem | ||
ifTrue: [self codeOfSelectedChange asText] | ||
ifFalse: ['']). | ||
|
||
self contentsChanged. |
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
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRChangeListItem.class/class/stringToIntArray..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 @@ | ||
categories & attributes | ||
stringToIntArray: aString | ||
|
||
^ ((aString findBetweenSubStrs: ' ') collect: [:each | each asInteger]) asArray |
7 changes: 7 additions & 0 deletions
7
...s/ChangesReloaded-Core.package/CRChangeListItem.class/instance/classCommentPriorSource.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 @@ | ||
misc | ||
classCommentPriorSource | ||
|
||
| aClass | | ||
(aClass := Smalltalk classNamed: (self attributes at: #class)) | ||
ifNil: [^'']. | ||
^ aClass comment asString |
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
12 changes: 12 additions & 0 deletions
12
packages/ChangesReloaded-Core.package/CRChangeListItem.class/instance/methodPriorSource.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,12 @@ | ||
misc | ||
methodPriorSource | ||
|
||
| aSelector aClass changeRecords | | ||
|
||
aSelector := (self attributes at: #method). | ||
(aClass := Smalltalk classNamed: (self attributes at: #class)) | ||
ifNil: [^ '']. | ||
(changeRecords := aClass changeRecordsAt: aSelector) | ||
ifNil: [^ '']; | ||
ifEmpty: [^ '']. | ||
^ changeRecords first string |
8 changes: 8 additions & 0 deletions
8
packages/ChangesReloaded-Core.package/CRChangeListItem.class/instance/priorSourceOrNil.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 @@ | ||
misc | ||
priorSourceOrNil | ||
|
||
^ self category caseOf: { | ||
[#method] -> [self methodPriorSource]. | ||
[#classComment] -> [self classCommentPriorSource] | ||
} | ||
otherwise: [nil] |
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
Empty file.
7 changes: 7 additions & 0 deletions
7
...oaded-Core.package/CRMethodRenamedEvent.class/class/class.oldName.newName.permutation..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 @@ | ||
instance creation | ||
class: aClass oldName: anOldName newName: aNewName permutation: aPermutation | ||
|
||
^ (self class: aClass) | ||
oldName: anOldName; | ||
newName: aNewName; | ||
permutation: aPermutation |
5 changes: 5 additions & 0 deletions
5
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/instance/logString.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 @@ | ||
triggering | ||
logString | ||
|
||
^ '(RBRenameMethodRefactoring renameMethod: #{1} in: {2} to: #{3} permutation: #({4})) execute' | ||
format: {self oldName. self item. self newName. self permutation joinSeparatedBy: ' '} |
3 changes: 3 additions & 0 deletions
3
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/instance/permutation..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,3 @@ | ||
accessing | ||
permutation: t1 | ||
permutation := t1 |
3 changes: 3 additions & 0 deletions
3
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/instance/permutation.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,3 @@ | ||
accessing | ||
permutation | ||
^ permutation |
4 changes: 4 additions & 0 deletions
4
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/instance/trigger..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 @@ | ||
triggering | ||
trigger: anEventManager | ||
|
||
SystemChangeNotifier uniqueInstance evaluated: self logString |
8 changes: 8 additions & 0 deletions
8
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/methodProperties.json
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 @@ | ||
{ | ||
"class" : { | ||
"class:oldName:newName:permutation:" : "abd 7/6/2021 00:34" }, | ||
"instance" : { | ||
"logString" : "abd 7/14/2021 11:23", | ||
"permutation" : "", | ||
"permutation:" : "", | ||
"trigger:" : "abd 7/6/2021 00:38" } } |
14 changes: 14 additions & 0 deletions
14
packages/ChangesReloaded-Core.package/CRMethodRenamedEvent.class/properties.json
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,14 @@ | ||
{ | ||
"category" : "ChangesReloaded-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"permutation" ], | ||
"name" : "CRMethodRenamedEvent", | ||
"pools" : [ | ||
], | ||
"super" : "RenamedEvent", | ||
"type" : "normal" } |
8 changes: 8 additions & 0 deletions
8
...ages/ChangesReloaded-Core.package/RBAddMethodChange.extension/instance/executeSilently.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 @@ | ||
*ChangesReloaded-Core | ||
executeSilently | ||
|
||
| undo | | ||
undo := self asUndoOperation. | ||
undo name: self name. | ||
self primitiveExecute. | ||
^ undo |
5 changes: 5 additions & 0 deletions
5
packages/ChangesReloaded-Core.package/RBAddMethodChange.extension/methodProperties.json
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 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"executeSilently" : "abd 7/10/2021 12:03" } } |
2 changes: 2 additions & 0 deletions
2
packages/ChangesReloaded-Core.package/RBAddMethodChange.extension/properties.json
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,2 @@ | ||
{ | ||
"name" : "RBAddMethodChange" } |
9 changes: 9 additions & 0 deletions
9
...gesReloaded-Core.package/RBCompositeRefactoryChange.extension/instance/executeSilently.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,9 @@ | ||
*ChangesReloaded-Core | ||
executeSilently | ||
| undos undo | | ||
undos := changes collect: [ :each | each class = RBAddMethodChange | ||
ifTrue: [each executeSilently] | ||
ifFalse: [each execute]]. | ||
undo := self copy. | ||
undo changes: undos reversed. | ||
^ undo |
5 changes: 5 additions & 0 deletions
5
...s/ChangesReloaded-Core.package/RBCompositeRefactoryChange.extension/methodProperties.json
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 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"executeSilently" : "abd 7/10/2021 12:09" } } |
2 changes: 2 additions & 0 deletions
2
packages/ChangesReloaded-Core.package/RBCompositeRefactoryChange.extension/properties.json
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,2 @@ | ||
{ | ||
"name" : "RBCompositeRefactoryChange" } |
4 changes: 4 additions & 0 deletions
4
...sReloaded-Core.package/RBRefactoringManager.extension/instance/addRefactoringSilently..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 @@ | ||
*ChangesReloaded-Core | ||
addRefactoringSilently: aRefactoring | ||
RBRefactoryChangeManager instance performChangeSilently: aRefactoring changes. | ||
refactorings add: aRefactoring class name |
5 changes: 5 additions & 0 deletions
5
packages/ChangesReloaded-Core.package/RBRefactoringManager.extension/methodProperties.json
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 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"addRefactoringSilently:" : "abd 7/10/2021 11:54" } } |
2 changes: 2 additions & 0 deletions
2
packages/ChangesReloaded-Core.package/RBRefactoringManager.extension/properties.json
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,2 @@ | ||
{ | ||
"name" : "RBRefactoringManager" } |
3 changes: 3 additions & 0 deletions
3
...loaded-Core.package/RBRefactoryChangeManager.extension/instance/performChangeSilently..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,3 @@ | ||
*ChangesReloaded-Core | ||
performChangeSilently: aRefactoringChange | ||
self ignoreChangesWhile: [ self addUndo: aRefactoringChange executeSilently ] |
5 changes: 5 additions & 0 deletions
5
...ges/ChangesReloaded-Core.package/RBRefactoryChangeManager.extension/methodProperties.json
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 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"performChangeSilently:" : "abd 7/10/2021 11:55" } } |
Oops, something went wrong.