aboutsummaryrefslogtreecommitdiff
path: root/contrib/checkSpace.pl
Commit message (Collapse)AuthorAge
* Catch a few more K&R violations with make check-spacesNick Mathewson2012-06-23
| | | | | | | | | | | | | | | | | | | | | We now catch bare {s that should be on the previous line with a do, while, if, or for, and elses that should share a line with their preceding }. That is, if (foo) { and if (foo) { ... } else are now detected. We should think about maybe making Tor uncrustify-clean some day, but configuring uncrustify is an exercise in bizarreness, and reformatting huge gobs of Tor is always painful.
* Update check-spaces to remove false positive for timercmp macroSebastian Hahn2011-11-24
| | | | | | The timercmp macro uses triggers a "space between function name and opening parentheses" warning for the check spaces script. Work around this by simply disabling the check for all "functions" named 'op()'.
* Add a rule to detect misplaced labels during check-spacesSebastian Hahn2010-08-16
|
* Patch from karsten to detect unnecessary \n's.Mike Perry2010-02-22
| | | | Also fix a spacing issue.
* checkSpace.pl doesn't need to worry about svn tags anymoreSebastian Hahn2009-05-05
|
* Add country-code support to configured node lists to implement the ↵Nick Mathewson2008-09-25
| | | | | | ever-popular "no exits in Monaco" feature (ExcludeExitNodes {MC}). Also allow country codes and IP ranges in ExitNodes. (EntryNodes needs more work.) Based on code by Robert Hogan. Needs more testing. svn:r16966
* r17472@catbus: nickm | 2008-01-05 22:10:19 -0500Nick Mathewson2008-01-06
| | | | | | | Another test for the increasingly bad check-spaces style checker to check: #else\n#if is almost a sure sign of a failure to use #elif. Fortunately, we only did that 3 times. svn:r13039
* r8969@totoro: nickm | 2006-10-09 09:58:38 -0400Nick Mathewson2006-10-09
| | | | | | | Another patch to checkSpace.pl: allow type (WINAPI *fn)() svn:r8668
* r8933@totoro: nickm | 2006-10-07 20:33:16 -0400Nick Mathewson2006-10-08
| | | | | | | whitespace fixes; add changelog for last commit. svn:r8644
* r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700Nick Mathewson2006-08-10
| | | | | | | whitespace fixes svn:r7011
* Apply checkSpace.pl to checkSpace.pl.Nick Mathewson2006-07-25
| | | | svn:r6901
* Allow wide lines if they have svn id tags in them. (This matters for svk: ↵Nick Mathewson2006-07-25
| | | | | | those tags can be *big*.) svn:r6900
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* crank the max line limit down to 150 chars.Roger Dingledine2005-12-10
| | | | svn:r5550
* In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson2005-12-09
| | | | | | 160-character-per-line limit; this will creep down. svn:r5548
* even better function start checks; give dmalloc a chance of working.Nick Mathewson2005-09-30
| | | | svn:r5162
* Make checkSpace.pl enforce our ctags-friendly function declaration rulesNick Mathewson2005-09-30
| | | | svn:r5159
* make whitespace checker handle non-C too.Nick Mathewson2005-06-11
| | | | svn:r4412
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* correct multiple internal spacesNick Mathewson2004-11-28
| | | | svn:r3004
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* Enhancements to whitespace borkage detectorNick Mathewson2004-11-22
| | | | svn:r2944
* More whitespace normalizationNick Mathewson2004-11-10
| | | | svn:r2768
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
target; fix a braino in dirserv.c svn:r2758