Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
19856 FileReference { #spotterPreviewItemsIn: . #spotterPreviewZipItemsIn: } relies on #doesNotUnderstand: https://pharo.fogbugz.com/f/cases/19856 19854 Rename refactoring from source code by cmd r should support all kind of ast nodes https://pharo.fogbugz.com/f/cases/19854 19850 OrderedCollection Inspector indexes not right for similar items https://pharo.fogbugz.com/f/cases/19850 http://files.pharo.org/image/60/60448.zip
- Loading branch information
Jenkins Build Server
authored and
ci
committed
Mar 20, 2017
1 parent
3cb2c06
commit 508a5ac
Showing
34 changed files
with
105 additions
and
45 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
1 change: 0 additions & 1 deletion
1
GT-InspectorExtensions-Core.package/extension/Dictionary/instance/gtInspectorItemsIn_.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
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ gtInspectorKeysIn: composite | |
|
||
^ composite fastList | ||
title: 'Keys'; | ||
useCache; | ||
display: [ self keys ] |
1 change: 0 additions & 1 deletion
1
...pectorExtensions-Core.package/extension/OrderedDictionary/instance/gtInspectorItemsIn_.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
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
1 change: 0 additions & 1 deletion
1
...nspectorExtensions-Core.package/extension/SmallDictionary/instance/gtInspectorItemsIn_.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
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
NautilusRefactoring.package/NautilusRefactoring.class/instance/method/renameMessageFor_.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 @@ | ||
renameMessageFor: aMethodOrMessageNode | ||
model okToChange ifFalse: [ ^ self ]. | ||
aMethodOrMessageNode ifNil: [ ^ self ]. | ||
self performRefactoringFor: #privateRenameMessageFor: with: aMethodOrMessageNode |
2 changes: 1 addition & 1 deletion
2
...g.package/NautilusRefactoring.class/instance/private-class var/privateAddClassVarFrom_.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,5 @@ | ||
privateAddClassVarFrom: aClass | ||
^ RBAddClassVariableRefactoring | ||
model: environment | ||
variable: (self request: 'Enter the new variable name:' initialAnswer: 'Var') | ||
variable: (self request: self newVariableRequestText initialAnswer: 'Var') | ||
class: aClass theNonMetaClass |
10 changes: 5 additions & 5 deletions
10
...ackage/NautilusRefactoring.class/instance/private-class var/privateRenameClassVarFrom_.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,9 @@ | ||
privateRenameClassVarFrom: aClass | ||
^ self | ||
class: aClass | ||
andClassVariable: [ :class :variable | | ||
|
||
^ self class: aClass andClassVariable: [ :class :variable | | ||
RBRenameClassVariableRefactoring | ||
model: environment | ||
rename: variable | ||
to: (self request: 'Enter the new variable name :' initialAnswer: variable) asSymbol | ||
in: class ] | ||
to: (self request: self newVariableRequestText initialAnswer: variable) asSymbol | ||
in: class | ||
] |
3 changes: 2 additions & 1 deletion
3
.../NautilusRefactoring.class/instance/private-class var/privateRenameClassVarNamed_from_.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 @@ | ||
privateRenameClassVarNamed: variable from: aClass | ||
|
||
^ RBRenameClassVariableRefactoring | ||
model: environment | ||
rename: variable | ||
to: (self request: 'Enter the new variable name :' initialAnswer: variable) asSymbol | ||
to: (self request: self newVariableRequestText initialAnswer: variable) asSymbol | ||
in: aClass |
2 changes: 1 addition & 1 deletion
2
...ing.package/NautilusRefactoring.class/instance/private-inst var/privateAddInstVarFrom_.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,5 @@ | ||
privateAddInstVarFrom: aClass | ||
^ RBAddInstanceVariableRefactoring | ||
model: environment | ||
variable: (self request: 'Enter the new variable name:' initialAnswer: 'inst') | ||
variable: (self request: self newVariableRequestText initialAnswer: 'inst') | ||
class: aClass theNonMetaClass |
16 changes: 8 additions & 8 deletions
16
....package/NautilusRefactoring.class/instance/private-inst var/privateRenameInstVarFrom_.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,9 @@ | ||
privateRenameInstVarFrom: aClass | ||
^ self | ||
class: aClass | ||
andInstVariable: [ :class :variable | | ||
RBRenameInstanceVariableRefactoring | ||
model: environment | ||
rename: variable | ||
to: (self request: 'Enter the new variable name :' initialAnswer: variable) asSymbol | ||
in: class ] | ||
|
||
^ self class: aClass andInstVariable: [ :class :variable | | ||
RBRenameInstanceVariableRefactoring | ||
model: environment | ||
rename: variable | ||
to: (self request: self newVariableRequestText initialAnswer: variable) asSymbol | ||
in: class | ||
] |
3 changes: 2 additions & 1 deletion
3
...ge/NautilusRefactoring.class/instance/private-inst var/privateRenameInstVarNamed_from_.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 @@ | ||
privateRenameInstVarNamed: variable from: aClass | ||
|
||
^ RBRenameInstanceVariableRefactoring | ||
model: environment | ||
rename: variable | ||
to: (self request: 'Enter the new variable name :' initialAnswer: variable) asSymbol | ||
to: (self request: self newVariableRequestText initialAnswer: variable) asSymbol | ||
in: aClass |
13 changes: 13 additions & 0 deletions
13
...ing.package/NautilusRefactoring.class/instance/private-method/privateRenameMessageFor_.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,13 @@ | ||
privateRenameMessageFor: aMethodOrMessageNode | ||
| newMethodName oldMethodName selector oldArguments argumentPermutation | | ||
selector := aMethodOrMessageNode selector. | ||
oldArguments := aMethodOrMessageNode arguments collect: #name. | ||
oldMethodName := RBMethodName selector: selector arguments: oldArguments. | ||
(newMethodName := self requestMethodNameFor: oldMethodName) ifNil: [ RefactoringAborted signal ]. | ||
argumentPermutation := newMethodName arguments collect: [ :each | oldArguments indexOf: each ]. | ||
^ RBRenameMethodRefactoring | ||
model: environment | ||
renameMethod: selector | ||
in: aMethodOrMessageNode methodNode methodClass | ||
to: newMethodName selector | ||
permutation: argumentPermutation |
3 changes: 2 additions & 1 deletion
3
...utilusRefactoring.class/instance/private-source/privateExtractToTemporaryBetween_from_.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,7 +1,8 @@ | ||
privateExtractToTemporaryBetween: anInterval from: aMethod | ||
|
||
^ RBExtractToTemporaryRefactoring | ||
model: environment | ||
extract: anInterval | ||
to: (self request: 'Enter the new variable name:') | ||
to: (self request: self newVariableRequestText) | ||
from: aMethod selector | ||
in: aMethod methodClass |
3 changes: 2 additions & 1 deletion
3
...lusRefactoring.class/instance/private-source/privateRenameTemporaryNamed_Between_from_.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,7 +1,8 @@ | ||
privateRenameTemporaryNamed: oldname Between: anInterval from: aMethod | ||
|
||
^ RBRenameTemporaryRefactoring | ||
model: environment | ||
renameTemporaryFrom: anInterval | ||
to: (self request: 'Enter the new variable name:' initialAnswer: oldname) | ||
to: (self request: self newVariableRequestText initialAnswer: oldname) | ||
in: aMethod methodClass | ||
selector: aMethod selector |
3 changes: 3 additions & 0 deletions
3
...sRefactoring.package/NautilusRefactoring.class/instance/private/newVariableRequestText.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 @@ | ||
newVariableRequestText | ||
|
||
^ 'Enter the new variable name:' |
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
2 changes: 2 additions & 0 deletions
2
...factoring.package/extension/ClassVariable/instance/executeRenameRefactoringBy_inClass_.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,2 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring inClass: aClass | ||
aNautilusRefactoring renameClassVarNamed: self name from: aClass |
2 changes: 2 additions & 0 deletions
2
...actoring.package/extension/GlobalVariable/instance/executeRenameRefactoringBy_inClass_.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,2 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring inClass: aClass | ||
aNautilusRefactoring renameClass: value |
3 changes: 3 additions & 0 deletions
3
NautilusRefactoring.package/extension/RBArgumentNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
aNautilusRefactoring renameTemporaryNamed: self name asString Between: (self start to: self stop) from: self methodNode |
3 changes: 3 additions & 0 deletions
3
NautilusRefactoring.package/extension/RBGlobalNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
self binding variable executeRenameRefactoringBy: aNautilusRefactoring inClass: self methodNode methodClass |
3 changes: 3 additions & 0 deletions
3
...actoring.package/extension/RBInstanceVariableNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
aNautilusRefactoring renameInstVarNamed: self name asString from: self methodNode methodClass |
3 changes: 3 additions & 0 deletions
3
NautilusRefactoring.package/extension/RBMessageNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
aNautilusRefactoring renameMessageFor: self |
3 changes: 3 additions & 0 deletions
3
NautilusRefactoring.package/extension/RBMethodNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
aNautilusRefactoring renameMessageFor: self |
3 changes: 3 additions & 0 deletions
3
NautilusRefactoring.package/extension/RBProgramNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
self inform: self class name, ' not supports rename' |
3 changes: 3 additions & 0 deletions
3
...ilusRefactoring.package/extension/RBTemporaryNode/instance/executeRenameRefactoringBy_.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 @@ | ||
executeRenameRefactoringBy: aNautilusRefactoring | ||
|
||
aNautilusRefactoring renameTemporaryNamed: self name asString Between: (self start to: self stop) from: self methodNode |
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
ScriptLoader60.package/ScriptLoader.class/instance/pharo - updates/update60447.st
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
ScriptLoader60.package/ScriptLoader.class/instance/pharo - updates/update60448.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 @@ | ||
update60448 | ||
"self new update60448" | ||
self withUpdateLog: '19856 FileReference { #spotterPreviewItemsIn: . #spotterPreviewZipItemsIn: } relies on #doesNotUnderstand: | ||
https://pharo.fogbugz.com/f/cases/19856 | ||
19854 Rename refactoring from source code by cmd r should support all kind of ast nodes | ||
https://pharo.fogbugz.com/f/cases/19854 | ||
19850 OrderedCollection Inspector indexes not right for similar items | ||
https://pharo.fogbugz.com/f/cases/19850'. | ||
self loadTogether: self script60448 merge: false. | ||
self flushCaches. |
10 changes: 8 additions & 2 deletions
10
ScriptLoader60.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.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,3 +1,9 @@ | ||
commentForCurrentUpdate | ||
^ '19847 removeLink: needs to invalidate | ||
https://pharo.fogbugz.com/f/cases/19847' | ||
^ '19856 FileReference { #spotterPreviewItemsIn: . #spotterPreviewZipItemsIn: } relies on #doesNotUnderstand: | ||
https://pharo.fogbugz.com/f/cases/19856 | ||
19854 Rename refactoring from source code by cmd r should support all kind of ast nodes | ||
https://pharo.fogbugz.com/f/cases/19854 | ||
19850 OrderedCollection Inspector indexes not right for similar items | ||
https://pharo.fogbugz.com/f/cases/19850' |