- 17 Dec, 2009 33 commits
-
-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' - Align all trailing comments to the code rather than to each other - Force exactly one newline at the end of the file - Force exactly one whitespace before trailing continuation characters "\" I tuned the configuration file a few times until I tested that the process converges to a stable results (a second run does not change the code!). git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16479 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16478 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' - Align all trailing comments to the code rather than to each other - Force exactly one newline at the end of the file - Force exactly one whitespace before trailing continuation characters "\" I tuned the configuration file a few times until I tested that the process converges to a stable results (a second run does not change the code!). git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16476 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
This solves observed instabilities (more whitespaces were added eveery time) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16474 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16473 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' - Align all trailing comments to the code rather than to each other I tested that the results seem stable (a second run does not change the code!) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16472 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' - Align all trailing comments to the code rather than to each other I tested that the results seem stable (a second run does not change the code!) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16471 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16470 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
Realign all tariling single line comments to the code: this fixes all previously observed instabilities (the code was changed each time, eg adding more and more spaces!). git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16469 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
Now they are all realigned to the code (they do not align to each other) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16468 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
diff ./RelationalObjectTable_tmp.h ./RelationalObjectTable.h 302c302 < protected: // TEMPORARY? For the RelationalObjectTableTest friend only --- > protected: // TEMPORARY? For the RelationalObjectTableTest friend only 330c330 < protected: // TEMPORARY? For the RelationalObjectTableTest friend only --- > protected: // TEMPORARY? For the RelationalObjectTableTest friend only New spaces were added each time! git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16467 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16466 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16448 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16446 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16445 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16444 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16443 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
(this should be the starting point for then making real changes...) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16442 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16441 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
(cool.cfg and the script directory were both wrong) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16440 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
(this should be the starting point for then making real changes...) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16439 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16438 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16437 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16436 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16435 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16434 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
keep changes commented out (they are all only additions) Even like this, it does still make non-trivial (and not always wanted) changes git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16433 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16432 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16431 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16430 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16429 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16428 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16427 4525493e-7705-40b1-a816-d608a930855b
-
- 16 Dec, 2009 7 commits
-
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16426 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
/* COOLCPPCLEAN-NOINDENT-START */ and /* COOLCPPCLEAN-NOINDENT-END */ tags git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16425 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16424 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16422 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16420 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
(fix code indentation and remove unnecessary trailing whitespaces using emacs) git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16415 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
(fix code indentation and remove unnecessary trailing whitespaces using emacs) In the end I decided to process also the CoolKernel API. These changes should have no impact at all on binary compatibility. git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16413 4525493e-7705-40b1-a816-d608a930855b
-