The Trunk: SystemReporter-laza.3.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-laza.3.mcz

commits-2
Alexander Lazarević uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-laza.3.mcz

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

Name: SystemReporter-laza.3
Author: laza
Time: 27 January 2011, 10:22:11.885 pm
UUID: 19bc48df-a2cf-7944-b545-e1713a90cf4d
Ancestors: SystemReporter-laza.2

Fix numbering and start output of image parameters with 2, so if present the first one will be the documentpath (aka script)

=============== Diff against SystemReporter-laza.2 ===============

Item was changed:
  ----- Method: SystemReporter>>reportImageParameters: (in category 'reporting') -----
  reportImageParameters: aStream
  | id value |
  self header: 'Image Commandline Parameters' on: aStream.
+ id := 2.
- id := 3.
  [value := (SmalltalkImage current getSystemAttribute: id).
  value = nil or: [id > 1000]] whileFalse: [
  aStream
  nextPut: $#;
+ nextPutAll: (id - 1) printString;
- nextPutAll: id printString;
  tab;
  nextPutAll: value; cr.
  id := id + 1
  ].
  id = 3 ifTrue: [aStream nextPutAll: 'none'; cr]
  !