![]() |
#1 |
Unangband maintainer
Join Date: Apr 2007
Location: Sydney, Australia
Age: 48
Posts: 872
![]() |
[Un] Line endings - Windows or Unix?
Thoughts please...
I'm not particular, because I use Eclipse, which supports conversion from one to the other. My hunch is windows, because it lowers the bar to contribute...
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more- In UnAngband, the level dives you. ASCII Dreams: http://roguelikedeveloper.blogspot.com Unangband: http://unangband.blogspot.com |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Apr 2007
Posts: 726
![]() |
My emacs supports both and conversion, so no problem for me. I don't know about vi. If we move to CRLF, we should convert all edit and help files --- here is where low-end contributions are most likely to be high-end in quality, as was the case with the options help file by Anne. Or perhaps only move to CRLF in text files and leave *.c in the standard C, that is Unix, format?
|
![]() |
![]() |
![]() |
#3 |
Swordsman
Join Date: Apr 2007
Posts: 441
![]() |
wordpad can handle unix line endings and saves as windows text. I've never moved text files the other direction so I can't speak to that. Vi might not handle windows text, but I'd be surprised if Vim doesn't and that's the version that comes with most linuxes. I'd have to reboot to check, though, and I'm too lazy.
__________________
One Ring to rule them all. One Ring to bind them.
One Ring to bring them all and in the darkness interrupt the movie. |
![]() |
![]() |
![]() |
#4 |
Rookie
Join Date: Oct 2007
Location: Czech Republic
Age: 38
Posts: 18
![]() |
|
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Why not use the svn:eol-style property in the repository so if you check out on Unix, you get LF, and on Windows, you get CRLF? That makes life easier for everyone.
|
![]() |
![]() |
![]() |
#6 | |
Knight
Join Date: Apr 2007
Posts: 726
![]() |
Quote:
About svn:eol-style, indeed some files don't have it. It may be borked due to import from CVS, I don't know. E.g. Code:
svn proplist src/option.c |
|
![]() |
![]() |
![]() |
#7 | ||
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 | |
Unangband maintainer
Join Date: Apr 2007
Location: Sydney, Australia
Age: 48
Posts: 872
![]() |
Quote:
It seems whomever contributed the original option.c file to the tree forgot to set up the svn property list for this file. They may need some svn training... ![]() Sounds like the consensus is Windows + set up the properties correctly. Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more- In UnAngband, the level dives you. ASCII Dreams: http://roguelikedeveloper.blogspot.com Unangband: http://unangband.blogspot.com |
|
![]() |
![]() |
![]() |
#9 | ||
Knight
Join Date: Apr 2007
Posts: 726
![]() |
Quote:
Quote:
I'd say windows-style sources are enough, because non-Windows people are likely to be able to master SVN, while the people that contribute only documentation or game content (e.g. dungeon descriptions) are likely to run Wingdows, SVN or not. |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows v3.0.9 hanging? | JustinH | Vanilla | 1 | August 27, 2008 14:30 |
Opening a savefile in Windows | Zero | Vanilla | 13 | June 28, 2008 05:55 |
Terms/Additional Windows | Rimmer | Vanilla | 4 | March 30, 2008 15:56 |
Tolkien Estate v New Line Cinema | Dragonboneman | Idle chatter | 1 | February 12, 2008 16:39 |
Linux/Unix users: Where should savefiles be stored? | takkaria | Vanilla | 34 | November 3, 2007 11:36 |