The Trunk: SMBase-nice.132.mcz

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

The Trunk: SMBase-nice.132.mcz

commits-2
Nicolas Cellier uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-nice.132.mcz

==================== 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') -----
  recreateInstalledPackagesFromChangeLog
  "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!