News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

svn:eol-style changes.

Started by stahta01, October 01, 2015, 02:12:15 AM

Previous topic - Next topic

stahta01

I am trying once more to try to learn how to use Git Attributes file.

And, I seemed to have made some progress; but, there is some line feed issues.

I found some mixed line ending files. Edit: I think this is the most important change.

src\plugins\compilergcc\resources\compilers\options_bfin-elf-gcc.xml
src\plugins\compilergcc\resources\compilers\options_lm32-gcc.xml
src\plugins\compilergcc\resources\compilers\options_lm8-gcc.xml
src\plugins\compilergcc\resources\compilers\options_zpu-gcc.xml
src\plugins\contrib\BrowseTracker\BrowseTrackerToolbar.xrc


I think some files should have CRLF for all systems.  Edit: I think this is the least important change.
The command that I think will fix the sln and bat files with native line-endings.
(Tried to make a patch for this change; but, it wanted to re-write the whole file.)

svn propset svn:eol-style CRLF src/plugins/contrib/SpellChecker/hunspell/src/win_api/Hunspell.sln
svn propset svn:eol-style CRLF src/plugins/contrib/wxContribItems/wxchart/build/msw/wxchart.sln
svn propset svn:eol-style CRLF src/sdk/wxpropgrid/build_wx26/propgrid.sln
svn propset svn:eol-style CRLF src/tools/Jing/jing-20150407.bat


And, I made two patches to convert some files to native or LF EOL.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: stahta01 on October 01, 2015, 02:12:15 AM
I found some mixed line ending files. Edit: I think this is the most important change.
[...]
Applied that (and a few more) in SVN. Thank you.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]