The Trunk: System-ar.214.mcz

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

The Trunk: System-ar.214.mcz

commits-2
Andreas Raab uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ar.214.mcz

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

Name: System-ar.214
Author: ar
Time: 2 January 2010, 11:48:43 am
UUID: f29cb3bf-c6c0-394b-9fac-cc28ee2d0292
Ancestors: System-nice.213

- Flush all MC caches before updating. Solves problems when a previous update failed to load.
- Prepare to remove viewRegistry from Preference.

=============== Diff against System-nice.213 ===============

Item was changed:
  ----- Method: Utilities class>>updateFromServer (in category 'fetching updates') -----
  updateFromServer
+ "Update the image by loading all pending updates from the server."
- "Update the image by loading all pending updates from the server.  Also save local copies of the update files if the #updateSavesFile preference is set to true"
  | config |
+ "Flush all caches. If a previous download failed this is often helpful"
+ MCFileBasedRepository flushAllCaches.
  config := MCMcmUpdater updateFromRepositories: #(
  'http://source.squeak.org/trunk'
  ).
  self setSystemVersionFromConfig: config.
  self inform: 'Update completed.
+ Current update number: ', SystemVersion current highestUpdate.!
- Current update number: ', SystemVersion current highestUpdate.
- "self readServerUpdatesSaveLocally: Preferences updateSavesFile updateImage: true"!

Item was added:
+ ----- Method: Preference class>>initialize (in category 'class initialization') -----
+ initialize
+ "Ensure that all preferences have their type set correctly before removing viewRegistry"
+ self allSubInstancesDo:[:pref| pref type].
+ !