[squeak-dev] The Trunk: Monticello-bf.534.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Mar 25 15:05:15 UTC 2013


Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.534.mcz

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

Name: Monticello-bf.534
Author: bf
Time: 25 March 2013, 4:04:22.764 pm
UUID: c45273fb-83e7-4fa8-b8e7-6c12120c0c49
Ancestors: Monticello-nice.533, Monticello-cg.529

Merge Monticello-cg.529:
allow colons and slashes in a package's name (MCVersion generated an invalid filename for those). 
Needed to be able to load monticello packages as written by ST/X. (Does not affect squeak/pharo operation, as those packages do not normally contain such characters)

=============== Diff against Monticello-nice.533 ===============

Item was changed:
  ----- Method: MCVersion>>fileName (in category 'accessing') -----
  fileName
+ 	|rawName cookedName|
+ 
+ 	rawName := info name.
+ 	"care for invalid filename characters"
+ 	cookedName := rawName copy 
+ 						replaceAll: $/ with: $_;
+ 						replaceAll: $: with: $_..
+ 	^ (cookedName, '.', self writerClass extension) asMCVersionName!
- 	^ (info name, '.', self writerClass extension) asMCVersionName!



More information about the Squeak-dev mailing list