Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1129.mcz
==================== Summary ====================
Name: Kernel-eem.1129
Author: eem
Time: 14 December 2017, 11:30:57.320228 am
UUID: 862344e3-6b40-4a13-b66d-cae9fd8733e8
Ancestors: Kernel-nice.1128
storeDataOn: can use initialPC to be 64-bit and 32-bit compatible. Necessary for saving projects.
=============== Diff against Kernel-nice.1128 ===============
Item was changed:
----- Method: CompiledCode>>storeDataOn: (in category 'file in/out') -----
storeDataOn: aDataStream
"Store myself on a DataStream. I am a mixture of objects and raw data bytes. Only use this for blocks. Normal methodDictionaries should not be put out using ReferenceStreams. Their fileOut should be attached to the beginning of the file."
| byteLength lits |
"No inst vars of the normal type"
byteLength := self basicSize.
aDataStream
beginInstance: self class
size: byteLength.
lits := self numLiterals + 1. "counting header"
1 to: lits do:
[:ii | aDataStream nextPut: (self objectAt: ii)].
+ self initialPC to: byteLength do:
- lits*4+1 to: byteLength do:
[:ii | aDataStream byteStream nextPut: (self basicAt: ii)].
"write bytes straight through to the file"!
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.983.mcz
==================== Summary ====================
Name: System-eem.983
Author: eem
Time: 14 December 2017, 11:01:48.647576 am
UUID: 777c9ae4-a26b-4cde-b9d7-72873a249042
Ancestors: System-eem.982
Fix an MNU when there are no project detauls during saving. At least that's the case in my image.
=============== Diff against System-eem.982 ===============
Item was changed:
----- Method: Project>>storeOnServer (in category 'file in/out') -----
storeOnServer
"Save to disk as an Export Segment. Then put that file on the server I came from, as a new version. Version is literal piece of file name. Mime encoded and http encoded."
world setProperty: #optimumExtentFromAuthor toValue: world extent.
self validateProjectNameIfOK: [:details |
+ details ifNotNil: [self acceptProjectDetails: details].
- self acceptProjectDetails: details.
self isCurrentProject ifTrue: ["exit, then do the command"
^ self
armsLengthCommand: #storeOnServerAssumingNameValid
withDescription: 'Publishing' translated
].
self storeOnServerWithProgressInfo.
].!
Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.778.mcz
==================== Summary ====================
Name: Tools-eem.778
Author: eem
Time: 14 December 2017, 10:57:02.931453 am
UUID: 264951e6-2942-46c1-a692-e2f6d2007199
Ancestors: Tools-tpr.777
Avoid an MNU in the debugger when no context is selected and one tries to do a doit in the bottom-right-hand (context) inspector.
=============== Diff against Tools-tpr.777 ===============
Item was changed:
----- Method: ContextVariablesInspector>>doItReceiver (in category 'code') -----
doItReceiver
+ ^object ifNotNil: [object receiver]!
- ^object receiver!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1376.mcz
==================== Summary ====================
Name: Morphic-mt.1376
Author: mt
Time: 14 December 2017, 11:10:08.355531 am
UUID: 5385c16f-8e09-024b-9d04-ffe04223e8aa
Ancestors: Morphic-nice.1375
Fixes preference update for #drawCornerResizeHandles.
=============== Diff against Morphic-nice.1375 ===============
Item was changed:
----- Method: CornerGripMorph class>>drawCornerResizeHandles: (in category 'preferences') -----
drawCornerResizeHandles: aBoolean
- | world |
DrawCornerResizeHandles := aBoolean.
+ Project current restoreDisplay.!
- world := self world.
- world invalidRect: world bounds from: world.!
Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.778.mcz
==================== Summary ====================
Name: Collections-mt.778
Author: mt
Time: 14 December 2017, 11:09:04.741531 am
UUID: b85b1a4a-983f-e847-932d-fa9b6ff0a24f
Ancestors: Collections-nice.777
Fixes lazy initialization of byteArrayMap. I renamed "initialize" to "create" because I thought that (1) a special return value of an initialize method would be surprising and (2) the accessor for #byteArrayMap should remain concise.
=============== Diff against Collections-nice.777 ===============
Item was changed:
----- Method: CharacterSet>>byteArrayMap (in category 'accessing') -----
byteArrayMap
"return a ByteArray mapping each ascii value to a 1 if that ascii value is in the set, and a 0 if it isn't. Intended for use by primitives only"
+ ^byteArrayMap ifNil: [byteArrayMap := self createByteArrayMap]!
- ^byteArrayMap ifNil: [self initializeByteArrayMap]!
Item was added:
+ ----- Method: CharacterSet>>createByteArrayMap (in category 'private') -----
+ createByteArrayMap
+ ^ (0 to: 255) asByteArray collect:
+ [:i | (self includes: (Character value: i)) ifTrue: [1] ifFalse: [0]]!
Item was removed:
- ----- Method: CharacterSet>>initializeByteArrayMap (in category 'private') -----
- initializeByteArrayMap
- byteArrayMap := (0 to: 255) asByteArray collect:
- [:i | (self includes: (Character value: i)) ifTrue: [1] ifFalse: [0]]!
David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.233.mcz
==================== Summary ====================
Name: ST80-dtl.233
Author: dtl
Time: 10 December 2017, 1:57:45.015948 pm
UUID: b442c904-3b1e-462a-9b74-14e97e5ee2b0
Ancestors: ST80-nice.232
Move SoundService stop handling in #finalExitActions from Project to MVCProject in order to allow MorphicProject to handle differently (but also call super).
=============== Diff against ST80-nice.232 ===============
Item was changed:
----- Method: MVCProject>>finalExitActions: (in category 'enter') -----
finalExitActions: enteringProject
super finalExitActions: enteringProject.
+ SoundService stop.
self world unCacheWindows.
Sensor flushAllButDandDEvents.
ScheduledControllers := nil.!
Patrick Rein uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-pre.232.mcz
==================== Summary ====================
Name: Multilingual-pre.232
Author: pre
Time: 7 December 2017, 12:21:07.824608 pm
UUID: 8a517ab7-5c79-b84f-976c-6bfb7b07f0d8
Ancestors: Multilingual-pre.231
Adds the signaling of the NoConverterFound exception (was missing from previous commit due to porting from another image).
=============== Diff against Multilingual-pre.231 ===============
Item was changed:
----- Method: TextConverter class>>newForEncoding: (in category 'instance creation') -----
newForEncoding: aString
| class encoding |
aString ifNil: [^ ISO88591TextConverter new].
encoding := aString asLowercase.
class := self allSubclasses
detect: [:each | each encodingNames includes: encoding]
ifNone: [].
class isNil
+ ifTrue: [NoConverterFound signalFor: aString. ^ nil].
- ifTrue: [^ nil].
^ class new!