Commit Graph

47 Commits

Author SHA1 Message Date
Daniel Marjamäki cfddc8f537 Updated runastyle scripts
[ci skip]
2018-06-20 09:56:25 +02:00
orbitcowboy e3977f7e51 Formatted test/cfg files and updated 'runastyle' script. The generated test files are exclued, since they are not style-compliant. 2018-03-31 13:49:47 +02:00
Daniel Marjamäki bccfc967e7 runastyle: dont run astyle on generated cfg tests 2018-03-19 20:38:36 +01:00
amai2012 e4fd389075 Format platform files using xmllint 2018-02-16 09:08:38 +01:00
PKEuS b684e1f202 Updated AStyle to version 3.0.1 2018-01-08 20:20:33 +01:00
Daniel Marjamäki 4c490b599b Tools: Add simple tool to triage daca results 2018-01-01 09:22:11 +01:00
PKEuS 8f22e4924c Updated AStyle to version 2.05.1
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Martin Ettl 77869b7812 test/cfg: Improved testing of functions from standard namespace. Added test/cfg/*.c* files to astyle script and formatted code. 2015-08-14 01:36:44 +02:00
Thomas Jarosch 6bab620d0a runastyle: Output detected version on mismatch 2014-12-18 16:02:26 +01:00
Thomas Jarosch b96b468d7a runastyle: Move astyle binary name into a variable
So it's easy to adjust the path to the exact
used astyle version of cppcheck.
2014-12-18 15:59:04 +01:00
Daniel Marjamäki 9cbab3d8f1 Revert "Updated Artistic Style from version 2.03 to 2.05"
This reverts commit b1329bfb40.
2014-11-20 14:19:53 +01:00
orbitcowboy b1329bfb40 Updated Artistic Style from version 2.03 to 2.05 2014-11-20 10:03:48 +01:00
Daniel Marjamäki 2bba3b4c9d runastyle: updated script 2014-10-16 06:38:18 +02:00
Daniel Marjamäki b90ae22734 runastyle: use xmllint to format cfg files. TODO: use other tool? use tabs instead of spaces for indentation in cfg files? 2014-10-14 06:46:22 +02:00
Daniel Marjamäki d6ee5ca865 runastyle: remove trailing spaces in cfg files 2014-08-15 16:01:39 +02:00
Daniel Marjamäki 0023dec567 runastyle: don't strip trailing spaces in cfg files. After a 'runastyle;git commit;git push', I get changes if I run runastyle again.
[ci skip]
2014-06-25 06:20:04 +02:00
Matthias Krüger e8dd3e83cf runastyle: add line which strips trailing whitspaces from cfg files (and run it on the files) 2014-03-21 01:28:40 +01:00
Mika Attila 10415df93e runastyle: Ignore user's default options file
If we pass --options=none to astyle, it ignores the user's
default options file, and only uses the command line parameters.
This way, if the user has a default options file, it won't conflict
with the style set by the script.
2014-01-16 01:29:33 +01:00
Daniel Marjamäki 14c8140536 democlient: simple working democlient 2014-01-01 15:55:18 +01:00
Daniel Marjamäki 79972d52fc runastyle: archive has been removed 2013-10-13 17:44:48 +02:00
PKEuS a9a5dc0354 Updated to AStyle 2.03, require this version 2013-08-07 16:27:37 +02:00
Daniel Marjamäki b51ed802f0 updated runastyle scripts 2013-07-07 11:05:32 +02:00
Daniel Marjamäki b0951c5928 updated runastyle scripts 2013-07-07 11:04:05 +02:00
Daniel Marjamäki bdd92b6898 runastyle: removed sed command that mess with the make 2013-01-24 19:44:42 +01:00
Daniel Marjamäki d7c7f8c9af astyle: Added --convert-tabs option 2012-10-13 08:18:11 +02:00
Daniel Marjamäki cebe4d98b4 runastyle: extra conversion of tabs to spaces in test folder 2012-10-03 20:14:23 +02:00
XhmikosR 9b5c245899 tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-29 13:49:16 +02:00
Reijo Tomperi 5bb956b0ff Fixing #3515 (Add samples/id/good|bad.cpp)
http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 15:52:31 +02:00
Reijo Tomperi 3066bb3430 Start fixing #3515 (Add samples/id/good|bad.cpp)
http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-17 23:03:21 +02:00
Daniel Marjamäki 6f8e42a5af changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
Reijo Tomperi b13bd7ad06 Fix #2843, Astyle script does not recognize Astyle 2.02
http://sourceforge.net/apps/trac/cppcheck/ticket/2843
2011-06-22 21:41:14 +03:00
Reijo Tomperi 8b8ea6fcbf Add some comments to runastyle script 2011-06-22 14:20:36 +03:00
Kimmo Varis 2e755fac84 Run Astyle recursively for gui/test.
GUI's tests are now in separate subdirectories. To avoid adding
each subdirectory to the Astyle scripts run Astyle recursively.
2011-06-10 14:22:18 +03:00
Reijo Tomperi 2525b9db40 Add check to runastyle to enforce correct astyle version usage. 2011-02-11 23:37:38 +02:00
Kimmo Varis aa6341dbed Astyle: add option to convert to linux EOLs. 2011-02-09 14:13:37 +02:00
Kimmo Varis 2684b230f1 GUITEST: Add first GUI test testing TranslationHandler. 2011-02-08 23:42:50 +02:00
Pete Johns 4ca795056f Fixed syntax error
"./runastyle: line 4: --suffix=none: command not found"
2010-09-20 21:16:09 +10:00
Daniel Marjamäki 6e676fdd98 astyle: prevent creating backup files 2010-08-29 09:35:21 +02:00
Kimmo Varis 7b58455ff5 Improve Astyle scripts to use variables.
Using variables for style and options makes it easier to edit the
scripts. Also avoids copy/paste errors when editing scripts.
2010-07-31 17:28:24 +03:00
Kimmo Varis 056c21367e Ticket #1914 Improve Astyle for parenthesis style
Tell Astyle to remove extra spaces around parenthesis.
2010-07-31 15:43:23 +03:00
Kimmo Varis 66098b1c33 Ticket #1899 Update Astyle flags to match older Astyle behavior. 2010-07-30 22:06:24 +03:00
Daniel Marjamäki c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Daniel Marjamäki 09859c1019 refactoring the folder structure 2009-10-25 12:49:06 +01:00
Vesa Pikki b39c15410b Began implementing a simple Qt based GUI.
Also modified astyle scripts to format gui code aswell.
2009-03-01 07:38:21 +00:00
Daniel Marjamäki 21ae5f2721 runastyle : also set the code style in the tools 2009-01-08 06:23:21 +00:00
Reijo Tomperi e435a1f1d6 Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file. 2009-01-06 14:18:36 +00:00
Daniel Marjamäki 5bd5b68b59 runastyle: Added script for running "astyle" with the options I have chosen against all cpp and h files 2009-01-05 15:52:02 +00:00