[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Wed Jul 6 21:55:02 UTC 2016


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

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


More information about the Squeak-dev mailing list