[Pkg] The Trunk: SMBase-nice.132.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 16 15:09:10 UTC 2013

Nicolas Cellier uploaded a new version of SMBase to project The Trunk:

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

Name: SMBase-nice.132
Author: nice
Time: 16 December 2013, 4:08:19.355 pm
UUID: a70c8bd2-3eee-4e21-b9c6-113f6b194527
Ancestors: SMBase-dtl.131

Use non logging Compiler protocol rather than providing a logged: false argument.

=============== Diff against SMBase-dtl.131 ===============

Item was changed:
  ----- Method: SMSqueakMap class>>recreateInstalledPackagesFromChangeLog (in category 'migration') -----
  	"Clear and recreate the Dictionary with information on installed packages.
  	NOTE: This takes some time to run and will only find packages installed using SM
  	and since the last changelog condense.
  	For packages installed prior to SqueakMap 1.07 there is no timestamp nor counter
  	logged. These packages will be given the time of the replay and a separate count
  	(from -10000 upwards) maintaining correct order of installation."
  	"SMSqueakMap recreateInstalledPackagesFromChangeLog"
  	| changesFile chunk |
  	SMSqueakMap default clearInstalledPackages.
  	changesFile := (SourceFiles at: 2) readOnlyCopy.
  	[changesFile atEnd]
  		whileFalse: [
  			chunk := changesFile nextChunk.
  			((chunk beginsWith: '"Installed') and: [
  				(chunk indexOfSubCollection: 'SMSqueakMap noteInstalledPackage:'
  					startingAt: 10) > 0])
+ 				ifTrue: [Compiler evaluate: chunk]].
- 				ifTrue: [Compiler evaluate: chunk logged: false]].
  	changesFile close!

More information about the Packages mailing list