Commit Graph

87 Commits

Author SHA1 Message Date
Lars Kühne c23d3ef0d5 make it easier to read varformat table when following the links from cmdline.html 2002-01-20 08:41:59 +00:00
Lars Kühne 8d66c2d693 now refers to sourceforge for uptodate lists, also removed bugs known to be fixed 2002-01-20 08:36:19 +00:00
Lars Kühne 5a9a68e619 removed hashmarks from @see tags, they resulted in errors during javadoc generation 2002-01-20 08:27:55 +00:00
Lars Kühne 7f16f80c83 included all links except the javadoc link in left menu 2002-01-20 08:21:11 +00:00
Lars Kühne df523818b2 refer to checkstyle version 1.4 and sourceforge homepage 2002-01-20 08:15:00 +00:00
Lars Kühne b127875884 display code in medium size, extra small is almost unreadable (at least in Mozilla) 2002-01-17 06:43:41 +00:00
Lars Kühne eaf23591a5 added secions 'Related Tools' and 'Download' 2002-01-17 06:42:26 +00:00
Oliver Burn 62f7c400e1 The start of the new home page/documentation. 2002-01-16 11:47:36 +00:00
Oliver Burn f0d7921279 Added a default constructor to XMLLogger so it can be used by the ANT task.
Also updated build.xml to use the plain logger.
2002-01-15 23:51:49 +00:00
Oliver Burn 2727473656 Changed the defaults for member/static/parameter regexps to match the Sun coding
standard. The intent of this change is to make it easier for people to use
checkstyle out-of-the-box to check the Sun coding standard.
2002-01-15 12:54:03 +00:00
Lars Kühne d7de3bef0b Added tests to WS around DIV and MOD. All multiplicative expressions are now covered. 2002-01-15 06:04:46 +00:00
Oliver Burn 3af1c99a0c Removed support for assert keyword. It breaks the parser on legal java
prior to JDK 1.4.
2002-01-14 05:07:22 +00:00
Oliver Burn cb0fdf5428 Fixed a bug with JavaDoc checking in class/instance initialisers. 2002-01-14 04:33:15 +00:00
Oliver Burn 8d6fa332a9 Re-factored VerifierImpl to be called Verifier. The original intention of
the interface was to allow different verifiers to be swapped in. Considering
how much work would be required to create a verifier from scratch, people
are more likely to just want to extend VerifierImpl.
2002-01-14 02:56:15 +00:00
Oliver Burn f8ea4c69a2 Removed all evidence of the java.tree.g file. 2002-01-14 01:33:42 +00:00
Oliver Burn 1104baffa4 Moved the final tests out of java.tree.g. Yahoo! 2002-01-14 01:18:50 +00:00
Oliver Burn 5ab5020a27 Moved all the checking for {}'s into java.g. 2002-01-14 00:26:43 +00:00
Oliver Burn 8d1cba0676 Moved more tests into java.g and improved some tests. 2002-01-13 07:52:23 +00:00
Oliver Burn 3335cdeb4d Moved the reference checking to java.g 2002-01-13 06:34:38 +00:00
Oliver Burn a54d892da1 removed unused method reportIdentifier() 2002-01-13 05:02:06 +00:00
Oliver Burn 1c35230164 large refactoring of moving checking into java.g (from java.tree.g). Solved
all the hard problems - only some easy checks to migrate
2002-01-11 23:58:08 +00:00
Oliver Burn bd7cfcb3e5 Refactoring: removed unused methods reportStartMethodBlock() and
reportEndMethodBlock()
2002-01-11 13:45:54 +00:00
Oliver Burn 171df8e6e1 added a toString() method to help debugging 2002-01-11 13:42:55 +00:00
Oliver Burn b7157a9946 moved with tests into java.g 2002-01-11 12:26:23 +00:00
Oliver Burn 16d7e573b0 Moved the checking for ws around "if"s to java.g. Also refactored
calls to verifyWSAfterEnd() to use verifyWSAfterBegin() where
appropriate.
2002-01-11 11:56:55 +00:00
Oliver Burn 3188792cad Now have two methods for checking if ws around some text. One takes the column
where the text starts, and the other where the text ends. Needed because the
parser is different places either gives the start or the end.
2002-01-11 11:49:57 +00:00
Oliver Burn e3c3cdcea3 tightened up checking the STAR in multiplicativeExpression. Possible source of
a NPE reported by Lars.
2002-01-11 10:47:02 +00:00
Oliver Burn d16d3f310d <ignore>removed trailing whitespace</ignore> 2002-01-11 10:46:03 +00:00
Lars Kühne 75e9d8486e support jdk 1.4 assert statements, rfe 500122 2002-01-10 06:18:41 +00:00
Oliver Burn 047f8cef4b Started migrating the whitespace tests from java.tree.g to java.g 2002-01-09 15:06:03 +00:00
Oliver Burn 0b7bf27706 Now support ignoring whether whitespace is after a type cast. As requested by
Lars.
2002-01-08 04:18:02 +00:00
Lars Kühne c8756ab481 fix bug 499072, inner classes require author tag 2002-01-06 15:27:44 +00:00
Lars Kühne 9982fc546a javadoc checkscope tests 2002-01-06 12:53:48 +00:00
Lars Kühne 6eaab74faa javadoc checkscope documentation 2002-01-06 12:50:43 +00:00
Lars Kühne 17d3b314bb javadoc checkscope implementation 2002-01-06 12:48:59 +00:00
Oliver Burn 7d82fd670a Added support to check that commas ';' in "for" statements are followed by
whitespace (ala the Sun coding standard).
2002-01-06 11:06:07 +00:00
Oliver Burn b7f1d0d1b7 Added support to check that commas ',' are followed by whitespace (ala the Sun
coding standard). This mainly involved refactoring the code I just wrote for
checking casts.
2002-01-06 10:31:32 +00:00
Oliver Burn edf2c95634 Made Checker & Configuration public so they can be used outside the package.
A requested feature to that Checkstyle can be integrated into IDE's like
NetBeans, JBuilder.
2002-01-06 07:40:36 +00:00
Oliver Burn d87ea06ebb Added support for checking the file length does not exceed a specified max. 2002-01-06 07:08:20 +00:00
Oliver Burn 637bf620e5 Support testing for the max method and constructor lengths 2002-01-06 06:40:19 +00:00
Oliver Burn 0957b67c1d Support setting the max method and constructor lengths 2002-01-06 06:30:29 +00:00
Oliver Burn a3d490b41f Updated documentation for the new checks on method and constructor lengths 2002-01-06 06:29:19 +00:00
Oliver Burn efcb63fd74 Added support to check that casts are followed by whitespace, as recommended
in the Sun coding standard. Can be turned off with all other whitespace checks.
May want to specifically be able to turn off this feature.
2002-01-05 13:18:22 +00:00
Oliver Burn 084dadd339 patch to make paths relative 2001-12-20 01:47:41 +00:00
Oliver Burn 75ed66a66d patch to clean up running unit tests 2001-12-20 01:40:55 +00:00
Oliver Burn ad29236445 Included patch to check for whitespace around return statements. 2001-12-11 06:34:45 +00:00
Oliver Burn 518c2079d0 fixed (maybe?) a parse error 2001-12-10 02:22:25 +00:00
Oliver Burn 4fade39e72 patch for ignoring whitespace between Javadoc and declarations 2001-12-03 00:42:42 +00:00
Oliver Burn 11be0e3198 fork the ANTLR task 2001-12-03 00:29:21 +00:00
Oliver Burn 82de45f06f Incorporate changes made to the ANTLR Java grammar 2001-11-26 12:25:45 +00:00