Call to votes: CRLF as official line ending


Call to votes: CRLF as official line ending
#1
Please vote on the proposal below. Please modify the Subject to include your name and vote, in addition to giving your vote in the text.



Move this:

http://www.ldraw.org/Article512.html#termination

Quote:Line Termination

All lines in the file must use the standard DOS/Windows line termination of <CR><LF> (carriage return/line feed). The last two bytes of the file must be <CR><LF>. (In other words, there must be a <CR><LF> line terminator at the end of the last line in the file.)


to

the LDraw.org File Format Version 1.0.1 page.

and add:

Quote:It is recommended that all LDraw-compliant programs also be capable of reading files with the standard Unix line termination of <LF> (line feed).
LEGO ergo sum
Reply
Allen Smith: NO
#2
I vote no. I disagree with requiring a final line terminator at the end of the file.

Bricksmith has generated files without a final line terminator since its inception.

Allen
Reply
Re: Allen Smith: NO
#3
I agree with this, there is no need for a final line separation no mater the format used.

If this was part of the original pre voting discussion then I must have missed that sorry.
Reply
Travis Cobbs: NO
#4
Since Roland has indicated that he will vote no (even though he hasn't yet), I'll just vote NO here to kill this vote (since 2 NO votes prevent passage).
Reply
Re: Call to votes: CRLF as official line ending
#5
I would appreciate that the people who down-voted the proposal, clean up the mess they left, before we dive into new topics like texture. Please bring forward a proposal we can further discuss or vote on.

w.
LEGO ergo sum
Reply
Re: Call to votes: CRLF as official line ending
#6
Calling it a mess is a bit harsh I think Smile

Everyone seems to be ok with the dos format, only hick-up is the 'must end with' bit. So we could probably re-vote with that part of the text removed, or do we need more discussion?
Reply
Re: Call to votes: CRLF as official line ending
#7
I would be happy with the following:



Add this:

Quote:Line Termination

All lines in the file must use the standard DOS/Windows line termination of <CR><LF> (carriage return/line feed). The file is permitted (but not required) to end with a <CR><LF>.


to

the LDraw.org File Format Version 1.0.1 page.

and add:

Quote:It is recommended that all LDraw-compliant programs also be capable of reading files with the standard Unix line termination of <LF> (line feed).
Reply
Re: Call to votes: CRLF as official line ending
#8
In addition to the above, we need to remove the line termination text from the part restrictions document. Whether we remove the "last line must end with <CR><LF>" part is not something I care one way or another about, so I will go along with whatever the consensus is.
Reply
Re: Call to votes: CRLF as official line ending
#9
Here a summary of the new proposal. Have your final say before we pass this to a vote.



Delete:

Quote:Line Termination

All lines in the file must use the standard DOS/Windows line termination of <CR><LF> (carriage return/line feed). The last two bytes of the file must be <CR><LF>. (In other words, there must be a <CR><LF> line terminator at the end of the last line in the file.)


at:

LDraw.org File Format Restrictions for the Official Library

and add:

Quote:Line Termination

All lines in the file must use the standard DOS/Windows line termination of <CR><LF> (carriage return/line feed). The file is permitted (but not required) to end with a <CR><LF>. It is recommended that all LDraw-compliant programs also be capable of reading files with the standard Unix line termination of <LF> (line feed).

to the :

LDraw.org File Format Version 1.0.1 page.
LEGO ergo sum
Reply
Re: Call to votes: CRLF as official line ending
#10
Looks good to me.
Reply
Re: Call to votes: CRLF as official line ending
#11
Perfect
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 6 Guest(s)