The Trunk: Monticello-ul.729.mcz

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

The Trunk: Monticello-ul.729.mcz

commits-2
Levente Uzonyi uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ul.729.mcz

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

Name: Monticello-ul.729
Author: ul
Time: 4 October 2020, 7:52:30.808712 pm
UUID: 2c45d8d2-9d9c-414c-8200-19e139a5e661
Ancestors: Monticello-ul.728

Do what Monticello-tobe.729 did, but apply the change to MCReader instead of MCVersionReader and remove the unnecessary override from MCVersionReader:

Include a dot when matching against extensions

Packages of extension-less formats (e.g. tonel) will otherwise match for e.g. the MCStReader in MCReader>>#canReadFileNamed: if their name happens to end on an "st", e.g. "Roassal3-Sunburst"

=============== Diff against Monticello-ul.728 ===============

Item was changed:
  ----- Method: MCReader class>>canReadFileNamed: (in category 'testing') -----
  canReadFileNamed: fileName
+ ^ (fileName endsWith: '.', self extension)!
- ^ (fileName endsWith: self extension)!

Item was removed:
- ----- Method: MCVersionReader class>>canReadFileNamed: (in category 'testing') -----
- canReadFileNamed: fileName
- ^ (fileName endsWith: self extension)!