Daily Commit Log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Daily Commit Log

commits-2
Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2016-July/068253.html

Name: System-eem.835
Ancestors: System-eem.834

Fix reading methods from DataStreams on Spur.  Old code used pre-Spur numLits header format, and was not 64-bit aware.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2016-July/068254.html

Name: Kernel-eem.1031
Ancestors: Kernel-eem.1030

Provide support for saving blocks on DataStreams.  The old code only allowed saving contewxts in image segments.  This code allows only the contexts of blocks being saved to be saved, an saves them with nilled senders, and is careful to manage fields beyond the top of stack, storing and reading nils.

With this code the following works, and one can e.g. save a MessageNames as a morph on file and read it in again.

[:a :b| a > b] saveOnFileNamed: 'block.bin'.
(MultiByteBinaryOrTextStream with: ((FileStream readOnlyFileNamed: 'block.bin') binary contentsOfEntireFile)) binary reset fileInObjectAndCode value: 2 value: 1

=============================================