Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Patches to compile and link C::B against wxWidgets 2.8.0
Pecan:
I seem to be having lots of luck with this
http://www.gammon.com.au/downloads/dlutilities.htm
Download utilities
It allows use of wildcards, like: *.h and *.cpp
--- Code: ---unix2dos Version 1.01 (Gammon Software Solutions) 13-Mar-98
Processing wildcard "*.h"
cbkeybinder.h
debugging.h
keybinder.h
keybinderdef.h
menuutils.h
5 files converted.
2542 total lines converted.
0 errors.
0 warnings.
C:\Usr\Proj\cbKeyBinder\RC3>E:\User\Downloads\_Pending\Unix2Dos\unix2dos.exe *.c
pp
unix2dos Version 1.01 (Gammon Software Solutions) 13-Mar-98
Processing wildcard "*.cpp"
cbkeybinder.cpp
keybinder.cpp
menuutils.cpp
3 files converted.
4251 total lines converted.
0 errors.
0 warnings.
--- End code ---
It also contains the a source code link.
--- Code: ---Converting text files to/from Unix/Dos/Mac
* http://www.gammon.com.au/files/pennmush/unix2dos.zip - 19K - program to convert unix text files to DOS format
* http://www.gammon.com.au/files/pennmush/dos2unix.zip - 19K - program to convert DOS text files to Unix format
* http://www.gammon.com.au/files/pennmush/mac2unix.zip - 19K - program to convert Macintosh text files to Unix format
* http://www.gammon.com.au/files/pennmush/unix2mac.zip - 19K - program to convert Unix text files to Macintosh format
* http://www.gammon.com.au/files/pennmush/unix2dos.c - 7K - source code used to compile above 4 conversion programs
--- End code ---
Pecan:
--- Quote from: stahta01 link=topic=4495.msg37214#msg37214 ---The file has two types of line endings in it; it makes doing diffs in Windows very hard to do.
Tim S
--- End quote ---
See if svn 3399 fixed the line ending situation in keyBinder.
stahta01:
--- Quote from: Pecan on December 19, 2006, 10:22:43 pm ---
--- Quote from: stahta01 link=topic=4495.msg37214#msg37214 ---The file has two types of line endings in it; it makes doing diffs in Windows very hard to do.
Tim S
--- End quote ---
See if svn 3399 fixed the line ending situation in keyBinder.
--- End quote ---
No, look at this method void wxKeyConfigPanel::OnProfileEditing(wxCommandEvent &) around line 2289.
It still has Mac line Endings there.
Tim S
Pecan:
--- Quote from: stahta01 on December 19, 2006, 10:39:29 pm ---
--- Quote from: Pecan on December 19, 2006, 10:22:43 pm ---
--- Quote from: stahta01 link=topic=4495.msg37214#msg37214 ---The file has two types of line endings in it; it makes doing diffs in Windows very hard to do.
Tim S
--- End quote ---
See if svn 3399 fixed the line ending situation in keyBinder.
--- End quote ---
No, look at this method void wxKeyConfigPanel::OnProfileEditing(wxCommandEvent &) around line 2289.
It still has Mac line Endings there.
Tim S
--- End quote ---
Well.. I'm sorry. I've done all I know how to do. I've run all those files through unix2dos and it says it converted them. I'm stumped..
stahta01:
I edited the source you liked to in order to make an dos2mac command
I then ran the below commands and it looks to fix the problem.
dos2mac *.cpp
mac2unix *.cpp
unix2dos *.cpp
svn propset eol-style native *.cpp
Tim S
Uploaded the changed source to http://www.savefile.com/projects/1039215
pick DOS2UNIX.zip
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version