[Vm-dev] VM Maker: VMMaker.oscog-mt.3179.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 11 12:17:45 UTC 2022


Marcel Taeumel uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-mt.3179.mcz

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

Name: VMMaker.oscog-mt.3179
Author: mt
Time: 11 April 2022, 2:17:27.587592 pm
UUID: c6fbcb07-2a19-ed4f-8b40-9c119a70882a
Ancestors: VMMaker.oscog-mt.3178

Make default file-out encoding explicit and thus more robust.

=============== Diff against VMMaker.oscog-mt.3178 ===============

Item was changed:
  ----- Method: VMMaker class>>fileNamed: (in category 'file utilities') -----
  fileNamed: aFilename
+ 	"Always output files in utf-8 and unix lf format.
- 	"Always output files in unix lf format.
  		A single format is friendlier to e.g. external version control systems.
  		The Microsoft and old MacOS classic C compilers all accept lf format files."
  
  	^(MultiByteFileStream fileNamed: aFilename)
+ 		converter: UTF8TextConverter new;
  		lineEndConvention: #lf;
  		yourself!

Item was changed:
  ----- Method: VMMaker class>>forceNewFileNamed: (in category 'file utilities') -----
  forceNewFileNamed: aFilename
+ 	"Always output files in utf-8 and unix lf format.
- 	"Always output files in unix lf format.
  		A single format is friendlier to e.g. external version control systems.
  		The Microsoft and old MacOS classic C compilers all accept lf format files."
  
  	^(MultiByteFileStream forceNewFileNamed: aFilename)
+ 		converter: UTF8TextConverter new;
  		lineEndConvention: #lf;
  		yourself!

Item was changed:
  ----- Method: VMMaker class>>oldFileNamed: (in category 'file utilities') -----
  oldFileNamed: aFilename
+ 	"Always output files in utf-8 and unix lf format.
- 	"Always output files in unix lf format.
  		A single format is friendlier to e.g. external version control systems.
  		The Microsoft and old MacOS classic C compilers all accept lf format files."
  
  	^(MultiByteFileStream oldFileNamed: aFilename)
+ 		converter: UTF8TextConverter new;
  		lineEndConvention: #lf;
  		yourself!



More information about the Vm-dev mailing list