[Pkg] Installer: Installer-Core-kph.288.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Sun Feb 15 06:13:38 UTC 2009


A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-kph.288.mcz

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

Name: Installer-Core-kph.288
Author: kph
Time: 15 February 2009, 6:13:31 am
UUID: c4fba760-ba18-4ec8-b975-7659e30bb53f
Ancestors: Installer-Core-kph.287, Installer-Core-kph.286

andreas helped with support for utf encoded file in.

=============== Diff against Installer-Core-kph.287 ===============

Item was changed:
  ----- Method: InstallerMantis>>validChangeSetName: (in category 'action report') -----
  validChangeSetName: aFileName
  
  	| csn prefix |
  
  	csn := super validChangeSetName: aFileName.
  	
  	prefix := 'M' , self bug asString.
  	
  	^ (csn beginsWith: prefix) 
  		ifTrue: [ csn ]
+ 		ifFalse: [ prefix, '-', (csn replaceAll: prefix with: '') ].
+ 		
+ 	!
- 		ifFalse: [ prefix, '-', csn ]!

Item was changed:
+ ----- Method: Installer class>>bug:fix: (in category 'mantis') -----
- ----- Method: Installer class>>bug:fix: (in category 'url') -----
  bug: n fix: filename
  
  	Transcript cr; show: 'Code script in Mantis:', n asString, ' should read Installer mantis bug: ',n asString, ' fix: ', filename printString,'.'.
  	
  	^ self mantis bug: n fix: filename!

Item was changed:
  ----- Method: Installer>>installDefault:from: (in category 'mantis') -----
  installDefault: aFileName from: stream
+ 	"Check for UTF-8 input before filing it in"
+ 	| pos bom |
+ 	pos := stream position.
+ 	bom := stream next: 3.
+ 	((bom at: 1) asInteger = 16rEF 
+ 		and:[(bom at: 2) asInteger = 16rBB]
+ 		and:[(bom at: 3) asInteger = 16rBF]) 
+ 			ifTrue:[stream upToEnd utf8ToSqueak fileIn]
+ 			ifFalse:[stream position: pos; fileIn]
  
+ !
- stream fileIn.!



More information about the Packages mailing list