The Trunk: Collections-tpr.769.mcz

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

The Trunk: Collections-tpr.769.mcz

commits-2
tim Rowledge uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-tpr.769.mcz

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

Name: Collections-tpr.769
Author: tpr
Time: 27 November 2017, 4:16:19.721254 pm
UUID: be0bba64-3ddd-45fa-8627-c842ab821515
Ancestors: Collections-nice.768

Minor changes relating to FilePath use

=============== Diff against Collections-nice.768 ===============

Item was changed:
  ----- Method: String>>asFileName (in category 'converting') -----
  asFileName
+ "Answer a String made up from the receiver that is an acceptable file base
+ name. Does not produce corrected fulll paths if the directory separator etc are included"
- "Answer a String made up from the receiver that is an acceptable file
- name."
 
  | string checkedString |
  string := FileDirectory checkName: self fixErrors: true.
  checkedString := (FilePath pathName: string) asVmPathName.
  ^ (FilePath pathName: checkedString isEncoded: true) asSqueakPathName.
  !

Item was added:
+ ----- Method: String>>vmPathToSqueakPath (in category 'converting') -----
+ vmPathToSqueakPath
+ "convert a file path string received from the vm to a Squeak String"
+
+ ^ (FilePath pathName: self isEncoded: true) asSqueakPathName!