[squeak-dev] The Trunk: System-bf.446.mcz
leves at elte.hu
Tue Jul 12 09:02:09 UTC 2011
On Tue, 12 Jul 2011, Bert Freudenberg wrote:
> On 11.07.2011, at 22:08, Levente Uzonyi wrote:
>> On Mon, 11 Jul 2011, commits at source.squeak.org wrote:
>>> Bert Freudenberg uploaded a new version of System to project The Trunk:
>>> Item was added:
>>> + ----- Method: SmalltalkImage>>okayToSave (in category 'snapshot and quit') -----
>>> + okayToSave
>>> + | wasCog isCog |
>>> + [wasCog := self imageFormatVersionFromFile allMask: 1]
>>> + on: Error do: [:ignore | "probably save-as to non-existing file" ^ true ].
>> You can also omit the argument.
>>> + isCog := Smalltalk isRunningCog.
>>> + ^wasCog = isCog or: [
>>> + self confirm: 'Images saved under Cog cannot be opened on an interpreter again!!
>>> + Really save?']
>> It's not entirely true.
> Right. It should say "possibly".
>> The latest release of Unix and Mac interpreter VMs can read Cog images.
> The bleeding-edge Mac VMs do not run on older systems. 4.2.5 is the latest stable Mac VM, but it cannot read Cog images.
Right, the latest stable Cocoa interpreter (184.108.40.206) should be able to
open Cog images. I'm not sure if there will be a 4.2.6 Carbon VM...
> The VMs officially packaged in various Linux distros cannot read Cog images either.
The latest stable release is 220.127.116.117, which has this feature, so the
Linux packages should be updated somehow.
>> Also if there were a new Windows VM released using the current VMMaker, it would also be able to open images saved with Cog. The proof is the VM that I built a few month ago (http://leves.web.elte.hu/squeak/SqueakVM-Win32-4.4.9-2358-non-official-bin.zip ), because I had to read old ImageSegments into a Cog image which were not readable by Cog VMs.
> Sounds good.
> - Bert -
More information about the Squeak-dev