Commit Graph

319 Commits

Author SHA1 Message Date
Lars Kühne 5ce6ad4df6 ModifierCheck to ModifierOrderCheck 2002-12-29 08:46:55 +00:00
Lars Kühne 58ce4c4097 fixed bug #648708, Misleading doc for checkUnusedThrows
Renamed property checkUnusedThrows to allowUndeclaredRTE to better reflect the meaning of the property.
2002-12-27 09:31:33 +00:00
Lars Kühne dc3bffc48f added gui screenshot to writingchecks.html 2002-12-26 16:26:22 +00:00
Rick Giles e1ca997de2 updated links to Checker 2002-12-26 13:36:47 +00:00
Rick Giles 2a24f17202 added docs for Checker and TreeWalker 2002-12-26 13:30:02 +00:00
Lars Kühne 11b2c4e8a9 added meta tag to aid search engines as requested in bug #652835 2002-12-26 08:54:51 +00:00
Rick Giles 58af01acc8 moved property tabWidth 2002-12-25 12:05:32 +00:00
Oliver Burn 5bcb30c9c2 minor tweaks 2002-12-24 04:03:49 +00:00
Oliver Burn 3f96260618 added some links to the api 2002-12-24 03:53:58 +00:00
Oliver Burn c13d2a9d2f Making printer friendly 2002-12-24 03:34:56 +00:00
Oliver Burn b5c434adc2 wordage 2002-12-24 03:31:13 +00:00
Lars Kühne 4591d6cce6 ups, I should concentrate more 2002-12-23 06:15:06 +00:00
Lars Kühne 0c507aa72b added documentation for IllegalInstantiation.classes 2002-12-23 06:13:52 +00:00
Lars Kühne 4979d67612 make it easy for the user to configure sun code conventions 2002-12-22 22:56:48 +00:00
Lars Kühne eb0e9d478c added DOCTYPE declaration and fixed document structure 2002-12-22 22:45:26 +00:00
Lars Kühne 333be33007 added check for tab characters 2002-12-22 12:20:51 +00:00
Lars Kühne e3c72076fd added required jars.
We should add some version info, but I don't know what exactly is required.
2002-12-22 12:08:45 +00:00
Rick Giles 62be57af36 Minor spelling correction 2002-12-22 12:00:20 +00:00
Lars Kühne b0dfa0580b fixed minor spelling error 2002-12-22 11:54:10 +00:00
Lars Kühne 966f7cc5eb create correct version number 2002-12-22 11:50:28 +00:00
Lars Kühne 194f604d1a added 3rd party tools from current home page
replaced upgrade procedure
2002-12-22 11:29:16 +00:00
Rick Giles 227f634b85 Minor edit changes. It's a great developer-to-developer read. 2002-12-22 11:18:58 +00:00
Lars Kühne 694549424d link to config.html as Rick suggested 2002-12-22 09:41:45 +00:00
Lars Kühne 2674c0cb24 VisibilityModifier didn't have the set of allowed names that were mentioned in the docs,
which is OK since that can be done by pattern matching.
Replaced the f-pattern with serialVersionUID and fixed the docs and tests accordingly.
2002-12-22 08:34:45 +00:00
Rick Giles 74342723b7 AvoidStarImport documentation 2002-12-21 17:00:07 +00:00
Rick Giles ae448434e9 XHTML validated 2002-12-21 11:16:59 +00:00
Rick Giles 3f3e33ccfa version 3.0 documentation.
please double-check examples.
unvalidated - validator site is currently unavailable.
2002-12-20 13:30:15 +00:00
Rick Giles 76f87ceec9 added to Package Names.
"Writing Checks - Integrating your Check" could have a link to this.
2002-12-20 11:00:11 +00:00
Lars Kühne 0b6e44780f made this a sample configuration file that enforces everything I could find
in Sun docs plus a few best practices
2002-12-20 06:39:40 +00:00
Lars Kühne 4b4fee6d47 added integration and fixed a few minor issues 2002-12-19 22:20:52 +00:00
Rick Giles d66b4752df added Parent Module links 2002-12-19 18:58:39 +00:00
Rick Giles e16a7d7872 huh? spellchecker magic? 2002-12-19 18:34:47 +00:00
Rick Giles 3f437ea751 added package names XML document 2002-12-19 18:11:26 +00:00
Rick Giles 67f9f881a6 version 3.0 documentation 2002-12-19 17:09:29 +00:00
Rick Giles 1ad759e6e7 LeftCurly docs.
Have completed a first pass of all checks - almost as much fun as
marking exams.
2002-12-19 11:14:45 +00:00
Rick Giles f1d485ff49 configure for LeftCurly 2002-12-19 11:01:13 +00:00
Rick Giles 55df1e950d version 3.0 documentation 2002-12-19 10:52:55 +00:00
Rick Giles 8ccfddcd2d version 3.0 documentation and minor corrections 2002-12-19 00:04:37 +00:00
Rick Giles 5231c6334c version 3.0 documentation and minor changes 2002-12-18 20:59:58 +00:00
Rick Giles c803de8b13 version 3.0 documentation 2002-12-18 18:05:35 +00:00
Rick Giles 3411c89f4c Removed redundant configuration 2002-12-18 16:17:50 +00:00
Rick Giles b69da28d37 added RedundantImport 2002-12-18 15:17:56 +00:00
Rick Giles ab335def94 version 3.0 documentation 2002-12-18 14:37:18 +00:00
Rick Giles 86d25d78aa Removed "acceptable" adjective" for tokens 2002-12-18 11:04:53 +00:00
Rick Giles db76ce4905 Removed "acceptable" adjective for a Check's tokens.
Spelling corrections.
2002-12-18 09:43:32 +00:00
Rick Giles 0f53fe215f version 3.0 documentation 2002-12-18 00:56:19 +00:00
Lars Kühne 71b822ec3a lots of stuff added 2002-12-17 23:02:02 +00:00
Rick Giles e56a2c1543 version 3.0 documentation 2002-12-17 21:53:21 +00:00
Rick Giles a1518aee35 Removed reference to "default tokens" - just confuses the issue. 2002-12-17 20:55:12 +00:00
Rick Giles 9b84d05630 Added section XML Details.
XHTML validated.
Ready for "proof-reading"...
2002-12-17 19:25:11 +00:00
Rick Giles 94b4bfc10f added section Treewalker Checks 2002-12-17 12:14:27 +00:00
Rick Giles 0fc6f9aad0 Properties section. 2002-12-17 00:12:53 +00:00
Rick Giles 9086d3588a Modules section 2002-12-16 17:10:43 +00:00
Rick Giles 4cc94a581c dropped suffix "Check" 2002-12-16 00:57:03 +00:00
Rick Giles 4564aecb5c Changed configuration XML element "config" to "module".
Dropped suffix "Check" in Check configurations.
2002-12-16 00:22:14 +00:00
Rick Giles 04483a77e8 Start on Configuration documentation. 2002-12-15 15:59:26 +00:00
Lars Kühne 469acd6705 fixed more typos 2002-12-15 12:30:02 +00:00
Rick Giles 39d8deed5d Added FileLengthCheck.
Improved defaults for tokens property.
Removed "Check" from config names in XML.
Will start overview next.
2002-12-15 12:26:29 +00:00
Lars Kühne 9117c94188 changed order of Checks/FileSetChecks chapters
fixed typos
2002-12-15 12:26:17 +00:00
Rick Giles c4a1f37d6a prototype for v. 3 check documentation
Comments? Should it be continued for other categories?
Help - What to say about tokens?
Note that MethodLengthCheck documentation has property ignorePattern -
could be a good thing for ignoring comments and blank lines. Should it be
implemented?
2002-12-14 12:39:49 +00:00
Lars Kühne 298563ba53 small additions 2002-12-14 10:45:10 +00:00
Rick Giles 03a5b03421 DTD for XMLLogger output 2002-12-13 15:37:26 +00:00
Lars Kühne 4bbae6fd46 added intro and FileSetChecks chapter. Not sure that FileSetCheck chapter
is at the right position, it's hard to understand the example without the
i18n chapter in Checks. I'll think about having the Checks chapter first.
2002-12-13 06:56:21 +00:00
Rick Giles b25fe8281b restore original LineLengthCheck ignorePattern property 2002-12-12 11:39:05 +00:00
Lars Kühne af34ba7204 started 'visitors in action' 2002-12-12 06:12:47 +00:00
Oliver Burn 12acba75f4 hopefully fix problems people have been having with encoding 2002-12-12 02:22:05 +00:00
Lars Kühne 677eab6dc3 Logging errors chapter 2002-12-11 07:02:29 +00:00
Lars Kühne a8fb948d68 gui chapter 2002-12-11 06:01:09 +00:00
Rick Giles 9dd70608be ignorePattern "^ *\* *[^ ]+$" is too restrictive.
Is there a better one?
2002-12-11 00:44:32 +00:00
Lars Kühne 29a657abe3 grammar chapter 2002-12-10 21:54:32 +00:00
Lars Kühne b91ba2c137 started writing a 'how to write a check' document 2002-12-10 21:23:27 +00:00
Rick Giles 9e27ad14fe XHTML-ized and CSS validated 2002-12-10 13:57:45 +00:00
Lars Kühne b852b1bad4 fixed Ville's last name and added HiddenFieldCheck to new features 2002-12-10 05:58:36 +00:00
Rick Giles 294da7f458 attempt to correct "Skyttä" 2002-12-10 01:00:17 +00:00
Rick Giles 9523899ac0 minor spelling correction 2002-12-10 00:43:20 +00:00
Lars Kühne f1e8474f25 added releasenotes for release 3.0, please check that I did not forget anything 2002-12-08 14:21:34 +00:00
Oliver Burn 8dd310c982 Changes to get the header check going again. I like the
change that was made for the properties, it leverages
off the work we did in the 2.4 release to allow properties
to be overriden in the ANT file.
It is now possible to run the checkstyle task from any
directory - nothing is now location specific. This includes
the location of the header file or the DTDs. Good to
finally reach this milestone.
2002-12-07 12:18:57 +00:00
Oliver Burn 9646bb8505 Not used anymore - that is a legacy file. 2002-12-07 12:16:48 +00:00
Rick Giles 730ade67d5 changed to regular expressions for @author and @version tags
- thanks to Lars for suggestion
2002-12-07 12:02:32 +00:00
Oliver Burn 12231e14b8 Changed the loading of package names to use the new
technique used by the configuration loader. So this means
that all the XML files are now validated against a DTD.
2002-12-07 09:51:33 +00:00
Oliver Burn 2386d3e852 Implemented proper error handling for parse errors. 2002-12-07 07:09:13 +00:00
Oliver Burn 52fa475168 Changed to make the XML be validated using the DTD. The
DTD is located using a technique that gets it from the JAR
file. Idea "borrowed" from Struts.
2002-12-07 03:28:36 +00:00
Oliver Burn d287d70b77 Cool! Used the ignoreFormat property to fix up checkstyle errors. Very nice. 2002-12-06 23:56:37 +00:00
Rick Giles 3088559eda start on real DTD incorporation 2002-12-06 16:15:08 +00:00
Rick Giles 88f46c600c start on real DTD incorporation 2002-12-06 16:04:58 +00:00
Rick Giles c98995d134 updated DTD 2002-12-06 15:40:41 +00:00
Oliver Burn 1b7dd85b3f Finish the conversion job. 2002-12-06 06:31:06 +00:00
Rick Giles 5f0d69b64d included OperatorWrapCheck with assignment tokens, now that
BeanUtils conversion of String arrays has been remedied.
2002-12-05 23:51:20 +00:00
Rick Giles 16ba5b35f9 modified for config XML and mapping names to full class names - see
posting to checkstyle-devel@lists.sourceforge.net
2002-12-05 18:54:28 +00:00
Oliver Burn a9d73e7c59 Commented out the header check 2002-11-26 06:04:45 +00:00
Oliver Burn 3e5b819aa9 Added a parameter to the HeaderCheck to actually
specify a file. Unfortunately this is relative and hence can
only be used from the root directory. Will uncomment in
a minute.
2002-11-26 05:58:22 +00:00
Oliver Burn d0b47d4be4 A working version - now to compare to ours...... 2002-11-25 01:10:46 +00:00
Oliver Burn 934ea59e7e Removed bad checks 2002-11-25 01:05:07 +00:00
Oliver Burn f7705b69c6 Work in progress to build a complete set 2002-11-25 00:55:22 +00:00
Oliver Burn bed61e1afd Fix indentation 2002-11-25 00:42:52 +00:00
Oliver Burn 91aa657832 putting back the checkstyle settings back and now getting 67 odd errors. :-( 2002-11-22 12:37:00 +00:00
Rick Giles cf7e4c19e3 renamed XML element "set-property" to "property" 2002-11-18 10:03:05 +00:00
Rick Giles 3c0608f33a Wrapped GlobalProperties and CheckConfiguration[] into a Configuration
class. TODO: Integrate with CheckStyleTask
2002-11-15 18:18:52 +00:00
Rick Giles 4a638fc0e6 Added global-property to DTD.
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00
Rick Giles 6f36f2811d added DTD for checkstyle configuration 2002-11-12 23:20:51 +00:00