The Trunk: SystemReporter-dtl.20.mcz

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

The Trunk: SystemReporter-dtl.20.mcz

commits-2
David T. Lewis uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-dtl.20.mcz

==================== Summary ====================

Name: SystemReporter-dtl.20
Author: dtl
Time: 7 November 2012, 11:35:58.387 pm
UUID: fb07b2ef-d22a-4054-a266-1e94e274f3ef
Ancestors: SystemReporter-cmm.19

Display image format and word size in #reportImage:

=============== Diff against SystemReporter-cmm.19 ===============

Item was changed:
  ----- Method: SystemReporter>>reportImage: (in category 'reporting') -----
  reportImage: aStream
  self header: 'Image' on: aStream.
  aStream
  nextPutAll: Smalltalk image imageName; cr;
  nextPutAll: SystemVersion current version; cr;
  nextPutAll: Smalltalk image lastUpdateString; cr;
+ nextPutAll: Smalltalk image currentChangeSetString; cr.
+ [ | imageFormat bitsPerWord |
+ imageFormat := Smalltalk image imageFormatVersion.
+ bitsPerWord := Smalltalk image wordSize * 8.
+ aStream nextPutAll: 'Image format ';
+ nextPutAll: imageFormat asString;
+ nextPutAll: ' (';
+ nextPutAll: bitsPerWord asString;
+ nextPutAll: ' bit)'; cr]
+ on: Warning
+ do: ["primitive not present in VM"].
- nextPutAll: Smalltalk image currentChangeSetString; cr
  !