Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
(Obsolete: ) Which file reader classes are not touched by "FileServices initialize"?
Last updated at 12:41 pm UTC on 13 January 2022
Status: Squeak 5.3
All reader classes are referenced in "FileService initialize". Thus the check script below gives back an empty collection.

List of classes which are registered by "FileService initialize"


Not entirely sure what this is about; CornerGripMorph etc no longer listed as registered anyway
 FileServices initialize

looks for classes which have the method #fileReaderServicesForFile:suffix:

 registeredByFileServicesInitialize :=
  ((Smalltalk allClasses select:
      [:aClass| 
		(aClass class includesSelector: #fileReaderServicesForFile:suffix:)]) 
	       sorted: [:a :b | a name ≶ b name]) asSet. 


Registered FileReader classes minus the ones done by "FileService initialize"


 (FileServices registeredFileReaderClasses select: [:cls | (registeredByFileServicesInitialize includes: cls) not])  



Result:
 an OrderedCollection(ChangeSorter CornerGripMorph MCMczReader MCMcdReader MCMcmReader)

Comment: CornerGripMorph should not be included

The issue has been resolved in Squeak 5.3