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

Marcel Taeumel marcel.taeumel at hpi.de
Mon Apr 11 12:19:17 UTC 2022


Note that this also fixes the line-ending issue in #generateSpur64LeakChecker and #generateSpur32LeakChecker but so does the most recent Squeak Trunk.

Best,
Marcel
Am 11.04.2022 14:18:07 schrieb commits at source.squeak.org <commits at source.squeak.org>:

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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220411/16a7bd27/attachment.html>


More information about the Vm-dev mailing list