Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Patches to compile and link C::B against wxWidgets 2.8.0
stahta01:
--- Quote from: Pecan on December 19, 2006, 11:29:09 pm ---
--- Quote from: stahta01 on December 19, 2006, 10:59:52 pm ---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
--- End quote ---
where do you put
--- Code: ---svn propset eol-style native *.cpp
--- End code ---
--- End quote ---
I just run it on the command line in the directory with the problem.
You can leave it out, but using it should prevent this problem from happening again on this file.
As long as you commit the changes it should fix my issue, svn propset eol-style native *.cpp just sets the file to native line endings so the next Mac person or DOS person can't damage the line ending without a lot of work.
The above command my require the new version of SVN to work. I am using 1.4.2 I never noticed it till 1.4 version was installed.
Pecan:
--- Quote from: stahta01 on December 19, 2006, 10:59:52 pm ---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
--- End quote ---
SVN 3401:
-KeyBinder 1.0.9 2006/12/19
-Set all EOL to dos ala TimS instructions & svn propset eol-style native *.h and *.cpp (Thanks Tim)
stahta01:
--- Quote from: Pecan on December 19, 2006, 11:59:00 pm ---SVN 3401:
-KeyBinder 1.0.9 2006/12/19
-Set all EOL to dos ala TimS instructions & svn propset eol-style native *.h and *.cpp (Thanks Tim)
--- End quote ---
Thanks, The following command no longer outputs garbage where it used to before.
svn.exe diff --extensions --unified=1 --extensions --ignore-eol-style > filename-unix.patch
Tim S
heromyth:
--- Quote from: killerbot on November 23, 2006, 11:06:42 pm ---first of all, let's see what wx 2.8 brings . Will it fix some of the bugs we are suffering from the 2.6, if yes, then it light be interesting to use 2.8. If not, then might be best to wait.
--- End quote ---
That's great. It seems that we can do with TinyXML, wxScintilla, wxPropertyGrid and wxFlatNotebook etc. in the same way.
Using wx 2.8, we may remove wxAui from CB SVN :lol:
David Perfors:
No we may not (yet) :P. We have to support wx 2.6 for some time, until we don't support it anymore we have to use the version in svn.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version