Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18598 avoid DNU when reapplying rules targeting a package https://pharo.fogbugz.com/f/cases/18598 18601 #haltIfNil and deprecated:transformWith: have wrong visual https://pharo.fogbugz.com/f/cases/18601 18593 Remove Pharo references to Smalltalk evaluate: https://pharo.fogbugz.com/f/cases/18593 15859 review rule RBUncommonMessageSendRule https://pharo.fogbugz.com/f/cases/15859 http://files.pharo.org/image/60/60115.zip
- Loading branch information
Jenkins Build Server
authored and
ci
committed
Jun 26, 2016
1 parent
d8eeee3
commit 0194d49
Showing
13 changed files
with
50 additions
and
50 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
3 changes: 2 additions & 1 deletion
3
Kernel.package/UndefinedObject.class/instance/testing/haltIfNil.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,2 +1,3 @@ | ||
haltIfNil | ||
self halt | ||
<debuggerCompleteToSender> | ||
Halt now |
4 changes: 0 additions & 4 deletions
4
Kernel.package/UndefinedObject.class/instance/testing/ifNil_ifNotNilDo_.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
Kernel.package/UndefinedObject.class/instance/testing/ifNotNilDo_ifNil_.st
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
....package/RBUncommonMessageSendRule.class/instance/private/isUnknownCapitalizedMessage_.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 @@ | ||
isUnknownCapitalizedMessage: aSelector | ||
^ aSelector first isUppercase and: [ aSelector isSelectorSymbol not ] |
2 changes: 1 addition & 1 deletion
2
Refactoring-Critics.package/RBUncommonMessageSendRule.class/instance/running/checkMethod_.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 @@ | ||
checkMethod: aMethod | ||
aMethod messages do: [ :each | | ||
(each isEmpty or: [ each first isUppercase or: [ literalNames includes: each ] ]) ifTrue: [ | ||
(each isEmpty or: [ (self isUnknownCapitalizedMessage: each) or: [ literalNames includes: each ] ]) ifTrue: [ | ||
result | ||
addMethod: aMethod; | ||
addSearchString: each ] ] |
2 changes: 1 addition & 1 deletion
2
...ing-Tests-Critics.package/RBSmalllintTest.class/instance/tests/testUncommonMessageSend.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,2 +1,2 @@ | ||
testUncommonMessageSend | ||
self ruleFor: self currentSelector | ||
self ruleFor: self currentSelector plusSelectors: {#uncommonMessageSend2} |
5 changes: 5 additions & 0 deletions
5
...ests-Critics.package/RBSmalllintTestObject.class/instance/methods/uncommonMessageSend2.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 @@ | ||
uncommonMessageSend2 | ||
|a| | ||
a:=3 | ||
Object new. | ||
^ a |
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
18 changes: 0 additions & 18 deletions
18
ScriptLoader60.package/ScriptLoader.class/instance/pharo - updates/update60114.st
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
ScriptLoader60.package/ScriptLoader.class/instance/pharo - updates/update60115.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,15 @@ | ||
update60115 | ||
"self new update60115" | ||
self withUpdateLog: '18598 avoid DNU when reapplying rules targeting a package | ||
https://pharo.fogbugz.com/f/cases/18598 | ||
18601 #haltIfNil and deprecated:transformWith: have wrong visual | ||
https://pharo.fogbugz.com/f/cases/18601 | ||
18593 Remove Pharo references to Smalltalk evaluate: | ||
https://pharo.fogbugz.com/f/cases/18593 | ||
15859 review rule RBUncommonMessageSendRule | ||
https://pharo.fogbugz.com/f/cases/15859'. | ||
self loadTogether: self script60115 merge: false. | ||
self flushCaches. |
19 changes: 8 additions & 11 deletions
19
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,15 +1,12 @@ | ||
commentForCurrentUpdate | ||
^ '18614 add a "Debug" menu for halt / breakpoints | ||
https://pharo.fogbugz.com/f/cases/18614 | ||
^ '18598 avoid DNU when reapplying rules targeting a package | ||
https://pharo.fogbugz.com/f/cases/18598 | ||
18599 use sendsAnySelectorOf: in RBBadMessageRule | ||
https://pharo.fogbugz.com/f/cases/18599 | ||
18601 #haltIfNil and deprecated:transformWith: have wrong visual | ||
https://pharo.fogbugz.com/f/cases/18601 | ||
18611 Fix warnings that refer to inexistant methods (maxExternalObjects & maxExternalObjectsSilently:) | ||
https://pharo.fogbugz.com/f/cases/18611 | ||
18593 Remove Pharo references to Smalltalk evaluate: | ||
https://pharo.fogbugz.com/f/cases/18593 | ||
18305 MCWorkingCopyBrowser class>>#order would benefit to have a comment | ||
https://pharo.fogbugz.com/f/cases/18305 | ||
18605 add DoOnlyOnceIconStyler | ||
https://pharo.fogbugz.com/f/cases/18605' | ||
15859 review rule RBUncommonMessageSendRule | ||
https://pharo.fogbugz.com/f/cases/15859' |
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