-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17811 { film . FILM } is formatted as { film . FILM . } https://pharo.fogbugz.com/f/cases/17811 17807 WorldMorph settings should be able to set both background image and color from the settings https://pharo.fogbugz.com/f/cases/17807 http://files.pharo.org/image/50/50642.zip
- Loading branch information
Jenkins Build Server
authored and
ci
committed
Mar 15, 2016
1 parent
6d0acc8
commit 1612fe1
Showing
8 changed files
with
39 additions
and
25 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
AST-Core.package/BISimpleFormatter.class/instance/private-formatting/formatArray_.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 @@ | ||
formatArray: anArrayNode | ||
anArrayNode statements | ||
do: [ :each | | ||
self visitNode: each. | ||
codeStream nextPut: $.. | ||
self visitNode: each ] | ||
separatedBy: | ||
[ codeStream nextPutAll: ' . ' . | ||
self newLine ] |
5 changes: 5 additions & 0 deletions
5
AST-Tests-Core.package/RBFormatterTest.class/instance/testing/testLiteralDynamicArray.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 @@ | ||
testLiteralDynamicArray | ||
| source tree1 | | ||
source := 'foo ^ { ''film'' . ''FILM''} '. | ||
tree1 := RBParser parseMethod: source. | ||
self assert: ((self formatterClass new format: tree1) occurrencesOf: $.) = 1 |
9 changes: 6 additions & 3 deletions
9
...nk-Core.package/BIConfigurableFormatter.class/instance/private-formatting/formatArray_.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,12 +1,15 @@ | ||
formatArray: anArrayNode | ||
| current | | ||
(anArrayNode statements reject: [ :each | each className = 'RBLiteralValueNode' ]) | ||
ifEmpty: [ | ||
anArrayNode statements | ||
do: [ :each | | ||
self visitNode: each. | ||
(self isLineTooLong: each value asString) | ||
current := each. | ||
self visitNode: each ] | ||
separatedBy: [ | ||
(self isLineTooLong: current value asString) | ||
ifTrue: [ | ||
codeStream nextPut: $.. | ||
self newLine ] | ||
ifFalse: [ codeStream nextPutAll: '. ' ] ] ] | ||
ifFalse: [ codeStream nextPutAll: ' . ' ] ] ] | ||
ifNotEmpty: [ self formatSequenceNodeStatementsFor: anArrayNode ] |
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
9 changes: 0 additions & 9 deletions
9
ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50641.st
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50642.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 @@ | ||
update50642 | ||
"self new update50642" | ||
self withUpdateLog: '17811 { film . FILM } is formatted as { film . FILM . } | ||
https://pharo.fogbugz.com/f/cases/17811 | ||
17807 WorldMorph settings should be able to set both background image and color from the settings | ||
https://pharo.fogbugz.com/f/cases/17807'. | ||
self loadTogether: self script50642 merge: false. | ||
self flushCaches. |
7 changes: 4 additions & 3 deletions
7
ScriptLoader50.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,5 +1,6 @@ | ||
commentForCurrentUpdate | ||
^ '17793 Get coherent diff for metacello packages | ||
https://pharo.fogbugz.com/f/cases/17793 | ||
^ '17811 { film . FILM } is formatted as { film . FILM . } | ||
https://pharo.fogbugz.com/f/cases/17811 | ||
' | ||
17807 WorldMorph settings should be able to set both background image and color from the settings | ||
https://pharo.fogbugz.com/f/cases/17807' |
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