Squeak 3.4: should we change to CrLfFileStream as default?
Ned Konz
ned at bike-nomad.com
Sat Nov 16 22:02:31 UTC 2002
On Saturday 16 November 2002 01:49 pm, I wrote:
> There is often discussion here about line-ending related problems.
> I know that some of us have the habit of changing our concrete file
> stream class to CrLfFileStream by changing
> FileStream>>ConcreteStream.
>
> The last time I did this was long ago, and I found some problems
> with that which needed minor fixes. I posted a change set that
> fixed them. See http://swiki.gsug.org:8080/sqfixes/986.html for
> this post. But that was back in 2.9alpha days;
And my (omitted) question was:
Do we want to make CrLfFileStream the standard text stream in 3.4a?
This would have the following benefits:
* text saves/loads from files will use the native text format
* change sets (or .st files) that have been through CVS, FTP, or
WinZip will not be imported with LFs intact
* comparing source with external files will work independently of the
external line endings
* the File editor, FileList, Celeste message saving, Workspace save to
file will all use the native text format.
> Perhaps CrLfFileStream needs to be renamed more accurately, as well
> (as Doug suggested).
Something like NativeFileStream or HostFileStream?
> I'm working on a change set that will again fix the various
> problems that come with changing the concreteFileStream to
> CrLfFileStream.
>
> Thoughts?
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|